Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HiDeoo/YaTA
/ functions
Functions
584 in github.com/HiDeoo/YaTA
⨍
Functions
584
◇
Types & classes
393
↓ 2 callers
Method
getValidationState
* Returns the validation state. * @param question - The question to validate. * @param options - The options to validate. * @return The val
src/components/PollEditor.tsx:366
↓ 2 callers
Method
installTheme
* Installs the proper theme.
src/containers/App.tsx:188
↓ 2 callers
Method
isFilesDataTransfer
* Defines if a drag event data contains file(s). * @param event - The event. * @return `true` if the event is a file(s) data transfer.
src/components/DropOverlay.tsx:143
↓ 2 callers
Method
isProcessing
* Returns if currently processing or not. * @return `true` when processing.
src/components/LogsExporter.tsx:217
↓ 2 callers
Method
isReadable
* Checks if the color combination is readable.
src/libs/ChatterColor.ts:51
↓ 2 callers
Function
isRejectedMessage
(log: Log)
src/store/ducks/logs.ts:410
↓ 2 callers
Function
isResolved
(preview: UnresolvedPreview | Preview)
src/libs/PreviewProvider.ts:44
↓ 2 callers
Function
isSameDay
(lDate: Date, rDate: Date)
src/utils/date.ts:45
↓ 2 callers
Method
isSortingDesc
* Checks if currently sorting in descending order. * @param sortOrder - The current sort order. * @return `true` when sorting in descending ord
src/containers/StreamList.tsx:170
↓ 2 callers
Method
isTwitch
* Determines if the emote provider is the official Twitch one. * @return `true` if Twitch.
src/libs/EmotesProvider.ts:148
↓ 2 callers
Method
manageAutoModMessage
* Approves or denies a message rejected by AutoMod. * @param messageId - The ID of the rejected message. * @param action - The action to either
src/libs/Twitch.ts:441
↓ 2 callers
Function
markRejectedMessageAsHandled
(id: string)
src/store/ducks/logs.ts:288
↓ 2 callers
Method
openChannel
* Opens a specific Twitch channel. * @param channel - The channel.
src/libs/Twitch.ts:215
↓ 2 callers
Function
openReportOnGithub
* Opens a report on Github. * @param params The report parameters of the issue.
src/utils/bugs.ts:30
↓ 2 callers
Method
openVideoPlayer
* Opens the video player of a specific channel. * @param channel - The channel.
src/libs/Twitch.ts:304
↓ 2 callers
Method
openViewerCard
* Opens the viewer card of a specific user. * @param channel - The channel. * @param username - The user.
src/libs/Twitch.ts:224
↓ 2 callers
Method
parseRawMessage
* Parses a message. * @param message - The received message. * @param userstate - The associated user state. * @param self - Defines if the m
src/containers/Chat.tsx:1331
↓ 2 callers
Method
parseSubMessage
* Parses a sub or resub message. * @param message - The received message. * @param userstate - The associated user state. * @return The parse
src/containers/Chat.tsx:990
↓ 2 callers
Method
playSound
* Plays a specific sound. * @param soundId - The sound id. * @see `play`
src/libs/Sound.ts:101
↓ 2 callers
Method
playTwitchClip
* Plays a Twitch clip. * @param slug - The clip slug.
src/components/Player.tsx:127
↓ 2 callers
Method
reconnect
* Reconnects to the Twitch PubSub.
src/libs/PubSub.ts:208
↓ 2 callers
Function
renderShorcuts
( all: ReturnType<typeof getShortcuts>, current: ShortcutImplementations, global = false, disabled = f
src/utils/shortcuts.tsx:15
↓ 2 callers
Method
serialize
* Serializes a notice. * @return The serialized notice.
src/libs/Notice.ts:54
↓ 2 callers
Method
setAuthDetails
* Sets the Twitch token and user id to use for authenticated calls. * @param userId - The user id or null to invalidate. * @param token - The to
src/libs/Twitch.ts:72
↓ 2 callers
Method
setHeaderComponents
* Sets the header components. * @return Element to render.
src/containers/Channel.tsx:433
↓ 2 callers
Method
setUpTwitchApi
* Sets up the Twitch API.
src/containers/App.tsx:201
↓ 2 callers
Method
shouldHighlightAllMentions
* Checks if all mentions should be highlighted or not. * @return `true` when highlighting all mentions.
src/libs/Resources.ts:202
↓ 2 callers
Method
stopMonitoringViewerCount
* Stops monitoring the viewer count.
src/containers/Channel.tsx:686
↓ 2 callers
Function
subDays
(date: Date, amount: number)
src/utils/date.ts:16
↓ 2 callers
Method
updateButtonIcon
* Updates the emote provider button icon.
src/containers/EmotePicker.tsx:312
↓ 2 callers
Method
updateDelayBetweenThrottledSounds
* Updates the delay between throttled sounds.
src/containers/Chat.tsx:1310
↓ 2 callers
Method
updateHighlights
* Updates highlights, highlights ignored users and highlights permanent users used when parsing messages.
src/containers/Chat.tsx:1317
↓ 2 callers
Method
updateSoundVolumes
* Updates sound volumes.
src/containers/Chat.tsx:1303
↓ 2 callers
Method
whisper
* Sends a whisper. * @param username - The recipient. * @param whisper - The whisper to send. * @param [command] - The command used to send t
src/containers/Channel.tsx:1157
↓ 1 callers
Method
addBots
* Adds known bots. * @param bots - The bots.
src/libs/Resources.ts:174
↓ 1 callers
Method
appendToInputValue
* Appends text to the input value. * @param text - The text to append. * @param [focus=true] - `true` to focus the input when done.
src/containers/Channel.tsx:564
↓ 1 callers
Method
asKeyStore
(key: JsonWebKey)
src/@types/node-jose/index.d.ts:14
↓ 1 callers
Method
blockUser
* Blocks a user. * @param targetId - The id of the user to block.
src/libs/Twitch.ts:722
↓ 1 callers
Function
configureStore
()
src/store/index.ts:26
↓ 1 callers
Function
convertMarkerToString
(marker: SerializedMarker)
src/utils/logs.ts:43
↓ 1 callers
Function
convertNoticeToString
(notice: SerializedNotice)
src/utils/logs.ts:52
↓ 1 callers
Function
convertNotificationToString
(notification: SerializedNotification)
src/utils/logs.ts:61
↓ 1 callers
Function
convertWhisperToString
(whisper: SerializedMessage)
src/utils/logs.ts:70
↓ 1 callers
Method
createClip
* Creates a clip. * @param channelId - The channel id. * @param [withDelay=false] - Add a delay before capturing the clip. * @return The ne
src/libs/Twitch.ts:542
↓ 1 callers
Method
createMarker
* Creates a stream marker. * @param channelId - The id of the channel. * @param description - A description of the marker.
src/libs/Twitch.ts:398
↓ 1 callers
Method
createPoll
* Creates a new poll. * @param title - The poll title. * @param options - The poll options. * @param multi - `true` when multiple answers
src/libs/StrawPoll.ts:34
↓ 1 callers
Method
createVerify
(keystore: KeyStore)
src/@types/node-jose/index.d.ts:9
↓ 1 callers
Function
durationToString
(duration: string)
src/utils/time.ts:13
↓ 1 callers
Function
enumIncludes
(theEnum: Enum, value: string)
src/utils/typescript.ts:33
↓ 1 callers
Method
fetch
* Fetches an URL. * @param endpoint - The endpoint to fetch. * @param [method=RequestMethod.Get] - The request method. * @param [body] - T
src/libs/Imgur.ts:44
↓ 1 callers
Method
fetch
* Fetches an URL. * @param url - The URL to fetch. * @return The response.
src/libs/Robotty.ts:49
↓ 1 callers
Method
fetchAuthenticatedUserStreams
* Fetches all online followed streams for the current authenticated user. * @param [offset=0] - The offset to use while fetching streams. * @pa
src/libs/Twitch.ts:692
↓ 1 callers
Method
fetchBadges
* Fetches Twitch badges. * @param channelId - The id of the channel. * @return The badges.
src/libs/Twitch.ts:317
↓ 1 callers
Method
fetchChannelVideos
* Fetches videos for a channel. * @param channelId - The channel id. * @param [limit=10] - Number of videos to return. * @param [type=Broa
src/libs/Twitch.ts:516
↓ 1 callers
Method
fetchChatters
* Fetches chatters of a specific channel. * @param channel - The channel. * @return The chatter.
src/libs/Twitch.ts:615
↓ 1 callers
Method
fetchCheermotes
* Fetches cheermotes. * @param channelId - The id of the channel. * @return The cheermotes.
src/libs/Twitch.ts:558
↓ 1 callers
Method
fetchClip
* Fetches details about a clip. * @param clipId - The clip ID. * @return The clip details.
src/libs/Twitch.ts:577
↓ 1 callers
Method
fetchEmoteData
* Fetches emote data. * @param emoteId - The emote id. * @return The emote data.
src/libs/Ivr.ts:43
↓ 1 callers
Method
fetchEmoteDetails
* Fetches emote details. * @param emoteId - The emote id. * @return The emote details.
src/libs/Ivr.ts:19
↓ 1 callers
Method
fetchEmoteSetData
* Fetches emote set data. * @param emoteId - The emote id. * @return The emote set data.
src/libs/Ivr.ts:54
↓ 1 callers
Method
fetchEmoteSets
* Fetches emote sets. * @param emoteSetIds - The list of emote set ids to fetch. * @return The associated emotes.
src/libs/Twitch.ts:412
↓ 1 callers
Method
fetchEmotes
* Fetches Ffz emotes for a specific channel. * @param channel - The name of the channel. * @return The emotes provider.
src/libs/Ffz.ts:19
↓ 1 callers
Method
fetchEmotesAndBots
* Fetches Bttv emotes & bots for a specific channel. * @param channelId - The channel id. * @return The emotes provider and bots details.
src/libs/Bttv.ts:19
↓ 1 callers
Method
fetchExternalResources
* Fetches external resources (if not yet fetched) for a specific channel. * @param channelId - The channel id.
src/containers/Chat.tsx:1240
↓ 1 callers
Method
fetchFollowersCount
* Fetches the total number of followers of a specific user. * @param targetId - The target user id. * @return The total number of followers.
src/libs/Twitch.ts:679
↓ 1 callers
Method
fetchJWK
* Fetches Twitch public JWK. * @return The JWK.
src/libs/Twitch.ts:889
↓ 1 callers
Method
fetchPoll
* Fetches details about a specific poll. * @param id - The poll id. * @return The poll.
src/libs/StrawPoll.ts:19
↓ 1 callers
Method
fetchPronoun
* Fetches pronoun for a specific user. * @param username - The user name. * @return The pronoun.
src/libs/Pronouns.ts:20
↓ 1 callers
Method
fetchPronouns
* Fetches all pronouns. * @return The pronouns.
src/libs/Pronouns.ts:35
↓ 1 callers
Method
fetchRecentMessages
* Fetches recent messages for a specific channel. * @param channel - The name of the channel. * @return The recent message.
src/libs/Robotty.ts:17
↓ 1 callers
Method
fetchSchedule
* Fetches the schedule of a specific channel. * @param channelId - The id of the channel. * @return The schedule of a channel if any.
src/libs/Twitch.ts:745
↓ 1 callers
Method
fetchSubscriptionStatus
* Fetches subscription status for a channel of a specific user. * @param username - The username. * @param channel - The channel. * @return
src/libs/Ivr.ts:32
↓ 1 callers
Method
fetchTopClips
* Returns the top clips for a specific channel. * @param channelId - The ID of the channel. * @param period - The period to include. * @par
src/libs/Twitch.ts:466
↓ 1 callers
Method
fetchVideo
* Fetches details about a video. * @param videoId - The video id. * @return The video details.
src/libs/Twitch.ts:596
↓ 1 callers
Method
fromAnonGiftPaidUpgrade
* Creates a new notification from an anongiftpaidupgrade user notice which corresponds to a user continuing the gift * sub they got from an unknown
src/libs/Notification.ts:91
↓ 1 callers
Method
fromAnonSubGift
* Creates a new notification from an anonsubgift user notice which corresponds to an unknown user gifting to a * specific user. * @param tags -
src/libs/Notification.ts:50
↓ 1 callers
Method
fromAnonSubMysteryGift
* Creates a new notification from an anonsubmysterygift user notice which corresponds to an unknown user gifting to * multiple random users. * @
src/libs/Notification.ts:62
↓ 1 callers
Method
fromBitsBadgeTier
* Creates a new notification from a bitsbadgetier user notice. * @param tags - The notice tags. * @return The new notice.
src/libs/Notification.ts:140
↓ 1 callers
Method
fromCharity
* Creates a new notice from a charity user notice. * @param tags - The notice tags. * @return The new notice.
src/libs/Notice.ts:17
↓ 1 callers
Method
fromExtendedSub
* Creates a new notification from a extendsub user notice. * @param tags - The notice tags. * @return The new notice.
src/libs/Notification.ts:157
↓ 1 callers
Method
fromGiftPaidUpgrade
* Creates a new notification from a giftpaidupgrade user notice which corresponds to a user continuing the gift sub * they got from a known user.
src/libs/Notification.ts:75
↓ 1 callers
Method
fromPrimePaidUpgrade
* Creates a new notification from a primepaidupgrade user notice which corresponds to a user upgrading their Prime * sub to a normal paid one. *
src/libs/Notification.ts:106
↓ 1 callers
Method
fromRewardGift
* Creates a new notification from a rewardgift user notice. * @param tags - The notice tags. * @return The new notice.
src/libs/Notification.ts:129
↓ 1 callers
Method
fromSubMysteryGift
* Creates a new notification from a submysterygift user notice which corresponds to a known user gifting to some * random users. * @param tags
src/libs/Notification.ts:40
↓ 1 callers
Method
generateColor
* Generates a color for the chatter. * @return The new generated color.
src/libs/Chatter.ts:72
↓ 1 callers
Method
getAuthHeader
* Returns an auth header that can be used for authenticated request. * @param api - The API to get an auth token for. * @return The header.
src/libs/Twitch.ts:902
↓ 1 callers
Method
getAuthTokens
* Returns the auth response token. * @param hash - The URL hash to parse * @return The parsed tokens.
src/libs/Twitch.ts:109
↓ 1 callers
Method
getAuthURL
* Returns the Twitch authentication URL. * @param redirect - The optional channel to use when redirecting the user after authentication. * @retu
src/libs/Twitch.ts:82
↓ 1 callers
Method
getAuthenticatedUserToken
* Returns the token of the current authenticated user. * @return The token.
src/libs/Twitch.ts:784
↓ 1 callers
Method
getBadges
* Gets the badges. * @return The badges.
src/libs/Resources.ts:69
↓ 1 callers
Function
getChatterNote
(state: ApplicationState, id: string)
src/store/selectors/notes.ts:12
↓ 1 callers
Method
getCheermotes
* Gets the cheermotes. * @return The cheermotes.
src/libs/Resources.ts:113
↓ 1 callers
Function
getDaysBetween
(lDate: Date, rDate: Date)
src/utils/date.ts:55
↓ 1 callers
Method
getDialogIcon
* Returns the dialog icon. * @param initialView - The intiial view of the stack. * @return The icon.
src/components/Settings.tsx:208
↓ 1 callers
Method
getEmoteTag
* Returns the HTML tag for an emote. * @param id - The emote id. * @param name - The emote name. * @return The emote tag.
src/libs/EmotesProvider.ts:189
↓ 1 callers
Method
getEmoteUrlWithSize
* Returns the emote URL at a specific size. * If the size do not exists, the `1x` URL will be returned. * @param id - The emote ID. * @param
src/libs/EmotesProvider.ts:244
↓ 1 callers
Method
getEmoticonsMap
* Returns the emoticons map. * @return The emoticons map.
src/libs/Resources.ts:105
↓ 1 callers
Method
getHandler
* Returns the handler of a command. * @param description - The command descriptor. * @return The handler.
src/libs/Command.ts:283
↓ 1 callers
Method
getHighlights
* Gets the highlights. * @return The highlights.
src/libs/Resources.ts:141
↓ 1 callers
Method
getInitialView
* Returns the initial view. * @return The initial view.
src/components/Settings.tsx:177
← previous
next →
101–200 of 584, ranked by callers