MCPcopy Create free account

hub / github.com/HiDeoo/YaTA / functions

Functions584 in github.com/HiDeoo/YaTA

↓ 94 callersFunctiontheme
(path: string)
src/styled/index.ts:64
↓ 67 callersFunctioncreateAction
(type: T, payload?: P)
src/utils/redux.ts:12
↓ 67 callersFunctionsize
(pathAndUnit: string, mutation: number | 'double' = 0)
src/styled/index.ts:76
↓ 59 callersMethodserialize
()
src/utils/typescript.ts:13
↓ 48 callersMethodaddLog
* Adds a log entry. * @param log - The log entry to add.
src/libs/Command.ts:246
↓ 44 callersFunctionifProp
(needle: string | object, pass: Pass, fail: Fail)
src/styled/index.ts:99
↓ 33 callersMethodmanager
* Returns the manager instance. * @class
src/libs/Sound.ts:19
↓ 22 callersMethodfetch
* Fetches an URL. * @param api - The Twitch API to use. * @param endpoint - The endpoint to fetch. * @param [searchParams={}] - Additional
src/libs/Twitch.ts:830
↓ 12 callersMethodfocus
* Focus the input field.
src/components/Input.tsx:295
↓ 12 callersMethodgetProviderId
()
src/libs/PreviewProvider.ts:7
↓ 12 callersMethodgetTwitchClient
* Returns the Twitch client instance if defined and connected. * @return The Twitch client or null.
src/containers/Channel.tsx:1053
↓ 11 callersMethodaddHandler
(type: PubSubEvent, handler: (...args: any) => void)
src/libs/PubSub.ts:94
↓ 11 callersMethodcallHandler
* Calls the handler associated to a specific event. * @param type - The event type. * @param args - The handler arguments.
src/libs/PubSub.ts:305
↓ 11 callersFunctionisMessage
(log: Log)
src/store/ducks/logs.ts:365
↓ 11 callersMethodparse
(message: string)
src/libs/PreviewProvider.ts:8
↓ 11 callersMethodvalidate
* Validates an action. * @param editing - Defines if we're editing or creating a new action. * @param type - The current type. * @param na
src/libs/Action.ts:44
↓ 8 callersMethodcreatePotentialChatter
* Creates a potential chatter which represents a user with only its username known. * @param username - The chatter username. * @return The pote
src/libs/Chatter.ts:19
↓ 8 callersFunctionpadTimeUnit
(timeUnit: string | number)
src/utils/time.ts:49
↓ 7 callersFunctionisNotification
(log: Log)
src/store/ducks/logs.ts:383
↓ 7 callersFunctionprop
(path: string)
src/styled/index.ts:54
↓ 7 callersMethodtimeout
* Timeouts a user. * @param duration - The duration of the timeout in seconds.
src/containers/ChatterDetails.tsx:687
↓ 6 callersMethodgetEmoteTagUrls
* Returns the URLs used by the HTML tag for an emote. * @param id - The emote id. * @return The emote tag URLs.
src/libs/EmotesProvider.ts:201
↓ 6 callersMethodplay
* Plays a specific sound. * @param soundId - The sound id. * @param [throttled] - Defines if the sound should be throttled or not.
src/libs/Sound.ts:82
↓ 6 callersMethodtoggleUI
* Toggles a UI and focus the chat input if closing it. * @param ui - The UI to toggle.
src/containers/Channel.tsx:763
↓ 5 callersMethodgetDescriptor
* Returns the descriptor of the command. * @return The descriptor.
src/libs/Command.ts:160
↓ 5 callersMethodgetStateMenuIcon
* Returns the menu icon for a specicic room state key. * @param key - The key. * @return The icon name.
src/components/ModerationMenuItems.tsx:102
↓ 5 callersMethodsay
* Sends a message. * @param message - The message to send. * @param ignoreHistory - Defines if the message should not be added to the history.
src/containers/Channel.tsx:1131
↓ 5 callersMethodtimeout
* Timeouts a user. * @param duration - The duration of the timeout in seconds.
src/components/Message.tsx:495
↓ 4 callersMethodaddToHistory
* Adds a message to the history. * @param message - The message to add.
src/libs/Command.ts:238
↓ 4 callersMethodconnect
* Connects to the Twitch PubSub. * @param channelId - The current channel ID.
src/libs/PubSub.ts:102
↓ 4 callersMethodcreateRow
(type: RowType, name?: string)
src/components/Chatters.tsx:275
↓ 4 callersMethodgetChannelId
* Returns the channel ID if any. * @return The channel ID.
src/containers/Channel.tsx:425
↓ 4 callersMethodgetEmotesProvider
* Gets a specific emotes provider. * @param prefix - The provider prefix. * @return The emotes provider.
src/libs/Resources.ts:166
↓ 4 callersMethodgetRejectedMessageInternalId
* Returns the internal ID of a rejected message based on a message ID. * @param messageId - The message ID. * @return The rejected message ID.
src/libs/RejectedMessage.ts:12
↓ 4 callersMethodgetUrl
* Returns the URL for a request. * @param api - The Twitch API to use. * @param endpoint - The endpoint to fetch. * @param [searchParams]
src/libs/Twitch.ts:800
↓ 4 callersMethodisConnected
* Returns if the PubSub is connected or in the process of connecting. * @return `true` when connected.
src/libs/PubSub.ts:74
↓ 4 callersMethodmarkAsProcessing
* Marks the form as processing or not. * @param [type] - Type of processing or undefined to mark as not processing.
src/components/LogsExporter.tsx:324
↓ 4 callersMethodsay
* Sends a message. * @param message - The message to send. * @param ignoreHistory - Defines if the message should not be added to the * histo
src/libs/Command.ts:229
↓ 4 callersMethodsendHelpNotice
* Sends a help notice about the command.
src/libs/Command.ts:272
↓ 4 callersMethodsortBy
* Updates the sort order. * @param type - The new sort type.
src/containers/StreamList.tsx:334
↓ 4 callersMethodtoHex
* Converts a color to its hexadecimal string representation. * @param color - The color to convert. * @return The hexadecimal string representat
src/libs/ChatterColor.ts:30
↓ 3 callersMethodaddEmotesProvider
* Adds (or updates) an emotes provider. * @param provider - The emotes provider to add.
src/containers/Chat.tsx:1214
↓ 3 callersFunctioncloneDate
* Clones a date. * @param date - The date to clone. * @return A new instance of the date.
src/utils/date.ts:6
↓ 3 callersFunctionconvertMessagesToString
(messages: SerializedMessage | SerializedMessage[])
src/utils/logs.ts:19
↓ 3 callersMethoddisconnect
* Disconnects from the Twitch PubSub.
src/libs/PubSub.ts:115
↓ 3 callersFunctionescape
(html: string | string[])
src/utils/html.ts:27
↓ 3 callersMethodfetch
* Fetches an URL. * @param endpoint - The endpoint to fetch. * @param [searchParams={}] - Additional search parameters. * @param [method=R
src/libs/Ivr.ts:84
↓ 3 callersMethodfetchRelationship
* Fetches the follow relationship between the current user and another user. * @param targetId - The target user id. * @return The follow relat
src/libs/Twitch.ts:650
↓ 3 callersMethodfetchStream
* Fetches details about a stream. * @param channelId - The channel id. * @return The stream details.
src/libs/Twitch.ts:496
↓ 3 callersMethodgetContrast
* Returns the constrast between two colors.. * The contrast is a number between 1 & 21 (1 being not readable, 21 most readable). * @param [color
src/libs/ChatterColor.ts:153
↓ 3 callersMethodgetIntent
* Returns the intent for a specific action key. * @param key - The action key. * @return The intent.
src/containers/SettingsActions.tsx:237
↓ 3 callersMethodgetRowsToRender
* Returns the rows to render based on if we're filtering or not the results. * @return The rows to render.
src/components/CommandsHelp.tsx:185
↓ 3 callersMethodgetSizePath
* Returns the size path used by the provider. * @param size - The size. * @return The size path.
src/libs/EmotesProvider.ts:272
↓ 3 callersMethodisBot
* Defines if a user is a known bot. * @param username - The username. * @return `true` if the user is a known bot.
src/libs/Resources.ts:211
↓ 3 callersMethodisCommand
* Checks if a message is a command (starting by a `/` or a `.`). * @param message - A message potentially containing a command.
src/libs/Command.ts:29
↓ 3 callersMethodisFfz
* Determines if the emote provider is the Ffz one. * @return `true` if Ffz.
src/libs/EmotesProvider.ts:254
↓ 3 callersMethodisFiltering
* Defines if the emotes set is currently filtered or not. * @return `true` when filtering.
src/containers/EmotePicker.tsx:371
↓ 3 callersFunctionisMarker
(log: Log)
src/store/ducks/logs.ts:401
↓ 3 callersFunctionisNotice
(log: Log)
src/store/ducks/logs.ts:374
↓ 3 callersMethodisSortingByViewers
* Checks if currently sorting by viewers. * @param sortOrder - The current sort order. * @return `true` when sorting by viewers.
src/containers/StreamList.tsx:161
↓ 3 callersMethodisTwitchPrefix
* Defines if a prefix is the Twitch one. * @param prefix - The prefix. * @return `true` when the prefix is the Twitch one.
src/libs/EmotesProvider.ts:108
↓ 3 callersFunctionisWhisper
(log: Log)
src/store/ducks/logs.ts:392
↓ 3 callersMethodsetChannel
* Sets the current channel if necessary.
src/containers/Channel.tsx:413
↓ 3 callersMethodtogglePauseAutoScroll
* Pauses or un-pauses the auto scroll. * @param pause - `true` when pausing.
src/components/Logs.tsx:164
↓ 3 callersMethodvalidateValue
* Validates an action value. * @param editing - Defines if we're editing or creating a new action. * @param value - The value to validate.
src/libs/Action.ts:77
↓ 2 callersMethodcreate
* Creates and returns a new `Player` instance for the application.
src/components/Player.tsx:79
↓ 2 callersFunctionendWithWhiteSpace
(str: string)
src/utils/string.ts:53
↓ 2 callersMethodequals
* Checks if two colors are equals. * @param color1 - The first color. * @param color2 - The second color. * @return `true` when the colors ar
src/libs/ChatterColor.ts:17
↓ 2 callersFunctionescapeArray
(html: string[])
src/utils/html.ts:8
↓ 2 callersMethodfetch
* Fetches an URL. * @param endpoint - The endpoint to fetch. * @param [method=RequestMethod.Get] - The request method. * @param [body] - T
src/libs/StrawPoll.ts:68
↓ 2 callersMethodfetch
* Fetches an URL. * @param url - The URL to fetch. * @return The response.
src/libs/Ffz.ts:69
↓ 2 callersMethodfetch
* Fetches an URL. * @param url - The URL to fetch. * @param additionalHeaders - Additional headers to pass down to the query. * @return Th
src/libs/Bttv.ts:69
↓ 2 callersMethodfetch
* Fetches an URL. * @param endpoint - The endpoint to fetch. * @return The response.
src/libs/Pronouns.ts:60
↓ 2 callersMethodfetchChannelInformations
* Fetches informations about a channel. * @param channelId - The channel id. * @return The channel informations.
src/libs/Twitch.ts:350
↓ 2 callersMethodfetchStreams
* Fetches streams for the current user which consist of online streams and its own online stream if streaming. * @return The streams.
src/libs/Twitch.ts:629
↓ 2 callersMethodfetchUserByName
* Fetches details about a specific user using its name. * @param name - The user name. * @return The user details.
src/libs/Twitch.ts:333
↓ 2 callersMethodfindReadableColor
* Finds the lighter or darker readable color. * @param dark - Defines if we're searching for the darker or lighter color. * @return The readable
src/libs/ChatterColor.ts:91
↓ 2 callersMethodfocusFilterInput
* Focuses the filter input.
src/containers/StreamList.tsx:317
↓ 2 callersMethodgetAuthenticatedUserId
* Returns the ID of the current authenticated user. * @return The user ID.
src/libs/Twitch.ts:772
↓ 2 callersMethodgetEmotesProviders
* Gets all emotes provider. * @return The emotes providers.
src/libs/Resources.ts:157
↓ 2 callersMethodgetEmotesSet
* Returns the emotes set to display. * @return The emotes set.
src/containers/EmotePicker.tsx:361
↓ 2 callersMethodgetExportableLogs
* Returns the processed logs ready to be exported. * @return The exportable logs.
src/components/LogsExporter.tsx:296
↓ 2 callersMethodgetFfzEmote
* Returns a specific Ffz emote based on its ID. * @param id - The emote ID. * @return The emote if existing.
src/libs/EmotesProvider.ts:263
↓ 2 callersMethodgetFilteredEmotesSet
* Returns the filtered emotes set. * @param filter - The filter. * @return The emotes set.
src/containers/EmotePicker.tsx:380
↓ 2 callersMethodgetFilteredStreams
* Returns the filtered streams. * @param streams - The streams to filter. * @param filter- The filter to use. * @return The filtered stream
src/containers/StreamList.tsx:144
↓ 2 callersMethodgetMysteryGiftNotificationTitle
* Returns the notification title for mystery gifts. * @param tags - The notice tags. * @param anonymous - `true` when the gift is anonymous.
src/libs/Notification.ts:183
↓ 2 callersFunctiongetNormalizedUTCDate
* Normalizes a date by removing the time and timezone informations. * @param date - The date to normalize. * @returns The normalized date.
src/utils/date.ts:76
↓ 2 callersMethodgetOptionsValues
* Returns the options values. * @param options - The options. * @return The options values.
src/components/PollEditor.tsx:406
↓ 2 callersMethodgetPaymentString
* Returns the string representation of a payment. * @param payment - The payment method. * @return The string representation.
src/containers/Chat.tsx:1198
↓ 2 callersMethodgetPreviewProviders
* Returns all the available preview providers. * @return The providers keyed by provider id.
src/libs/Resources.ts:219
↓ 2 callersMethodgetProvider
* Returns the current emote provider. * @return The provider.
src/containers/EmotePicker.tsx:328
↓ 2 callersMethodgetProviderIcon
* Returns the emote provider icon if possible. * @param prefix - The emote provider prefix. * @param [random=false] - Defines if the icon shou
src/containers/EmotePicker.tsx:338
↓ 2 callersFunctiongetReportParameters
* Returns the report parameters to include in every reports. * @return The report parameters.
src/utils/bugs.ts:40
↓ 2 callersMethodgetRowsToRender
* Returns the rows to render based on if we're filtering or not the results. * @return The rows to render.
src/components/Chatters.tsx:235
↓ 2 callersMethodgetSortedStreams
* Returns the sorted streams. * @param streams - The streams to sort. * @param sortOrder- The sort order. * @param hideOffline - Defines i
src/containers/StreamList.tsx:121
↓ 2 callersFunctiongetStartOfDay
* Returns the start of the day for a date. * @param date - The date. * @returns A new date at the start of the day.
src/utils/date.ts:64
↓ 2 callersMethodgetStreamTitle
* Returns the title of a stream depending on if it's a channel or a stream. * @param stream - The stream. * @return The title.
src/components/StreamOmnibar.tsx:130
↓ 2 callersMethodgetTwitchEmbedUrl
* Returns the URL to use to embed Twitch content. * @param url - The Twitch URL to embed. * @return The parent parameter.
src/libs/Twitch.ts:190
↓ 2 callersMethodgetTwitchTemplatedUrl
* Returns an URL based on a URL template returned by Twitch. * @param templateUrl - The URL template. * @param params - An object describing t
src/libs/Twitch.ts:200
↓ 2 callersMethodgetUsage
* Returns a command usage. * @param descriptor - The command descriptor. * @return The command usage.
src/libs/Command.ts:144
next →1–100 of 584, ranked by callers