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
↓ 1 callers
Method
sanitizeTwitchEmotes
* Sanitizes Twitch emotes by removing smilies. * @param emotes - The emotes to sanitize. * @return The sanitized emotes.
src/libs/EmotesProvider.ts:80
↓ 1 callers
Function
sanitizeUrlForPreview
(urlToSanitize: string)
src/utils/html.ts:74
↓ 1 callers
Method
serialize
* Serializes a chat message. * @return The serialized chat message.
src/libs/Message.ts:94
↓ 1 callers
Method
setBadges
* Sets the badges. * @param badges - The badges.
src/libs/Resources.ts:61
↓ 1 callers
Method
setCheermotes
* Sets the cheermotes. * @param cheermotes - The cheermotes.
src/libs/Resources.ts:77
↓ 1 callers
Method
setEmoticonsSetId
* Sets the emoticons set id. * @param id - The emoticons set id.
src/libs/Resources.ts:85
↓ 1 callers
Method
setHighlightAllMentions
* Defines if we should highlight all mentions or not. * @param highlightAllMentions - `true` to highlight all mentions.
src/libs/Resources.ts:133
↓ 1 callers
Method
setHighlights
* Sets the highlights, highlights ignored users and highlights permanent users. * @param highlights - The highlights. * @param ignoredUsers - Th
src/libs/Resources.ts:123
↓ 1 callers
Method
setSelfReplyReference
* Sets the reply reference for a message sent by the current user. * @param userstate - The associated userstate.
src/containers/Chat.tsx:1396
↓ 1 callers
Method
shouldAlwaysHighlight
* Check if a message should always be highlighted. * @param username - The username. * @return `true` when highlighted.
src/libs/Resources.ts:194
↓ 1 callers
Method
shouldHighlightNotification
* Defines which notification event should be highlighted. * @return `true` to highlight.
src/components/Notification.tsx:89
↓ 1 callers
Method
shouldIgnoreHighlights
* Check if highlights from a specific user should be ignored. * @param username - The username. * @return `true` when ignored.
src/libs/Resources.ts:185
↓ 1 callers
Function
shouldRotateLogs
* Determines if logs should be rotated. * @param state - The state holding the logs. * @return `true` when logs should be rotated.
src/store/ducks/logs.ts:19
↓ 1 callers
Method
startCommercial
* Starts a commercial on a channel. * @param channelId - The id of the channel. * @param duration - The commercial duration.
src/libs/Twitch.ts:384
↓ 1 callers
Method
startMonitoringViewerCount
* Starts monitoring the viewer count.
src/containers/Channel.tsx:667
↓ 1 callers
Function
startWithWhiteSpace
(str: string)
src/utils/string.ts:44
↓ 1 callers
Function
subMonths
(date: Date, amount: number)
src/utils/date.ts:31
↓ 1 callers
Method
timeout
* Timeouts a user. * @param username - The name of the user to timeout. * @param duration - The duration of the timeout in seconds.
src/libs/Command.ts:265
↓ 1 callers
Function
toBase64Url
(base64: string)
src/utils/string.ts:63
↓ 1 callers
Method
udpateVolumes
* Updates the sound volumes. * @param settings - The new settings.
src/libs/Sound.ts:47
↓ 1 callers
Method
unblockUser
* Unblocks a user. * @param targetId - The id of the user to unblock.
src/libs/Twitch.ts:736
↓ 1 callers
Method
updateChannelInformations
* Updates a channel informations. * @param channelId - The id of the channel to update. * @param title - The channel status / title. * @par
src/libs/Twitch.ts:369
↓ 1 callers
Method
updateColor
* Updates the message color. * @param newColor - The new color.
src/libs/Message.ts:85
↓ 1 callers
Method
upload
* Uploads a file. * @param file - The file to upload.
src/components/DropOverlay.tsx:328
↓ 1 callers
Method
uploadAnonymousFile
* Uploads an anonymous image. * @param file - The file to upload. * @return The upload data.
src/libs/Imgur.ts:19
↓ 1 callers
Method
validateInputValue
* Validates the input value to determine if the message can be sent or not.
src/components/Input.tsx:487
↓ 1 callers
Method
verify
(token: string)
src/@types/node-jose/index.d.ts:10
↓ 1 callers
Method
verifyIdToken
* Validates an ID token. * @param token - The ID token received during authentication. * @return The verified ID token.
src/libs/Twitch.ts:154
↓ 1 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/libs/Command.ts:256
Function
ChannelDetails
({ id, name })
src/components/ChannelDetails.tsx:18
Function
Dialog
({ disableDialogAnimations, ...restProps })
src/containers/Dialog.tsx:11
Function
ExternalButton
(props)
src/components/ExternalButton.tsx:9
Function
ExternalLink
({ children, ...restProps })
src/components/ExternalLink.tsx:6
Function
HeaderTooltip
(props)
src/components/HeaderTooltip.tsx:7
Function
Login
({ location })
src/components/Login.tsx:229
Function
NonIdealState
({ details, extra, retry = false, small = false, title = 'Something went wrong!', ...restProps }:
src/components/NonIdealState.tsx:35
Function
SettingsAbout
(props)
src/components/SettingsAbout.tsx:67
Function
SettingsInput
(props)
src/components/SettingsInput.tsx:7
Function
SettingsView
({ children, ...restProps })
src/components/SettingsView.tsx:17
Function
SettingsViewPicker
({ pushView })
src/components/SettingsViewPicker.tsx:22
Function
SettingsViewSection
({ children, title })
src/components/SettingsViewSection.tsx:35
Function
Spinner
({ size, large = false, small = false, ...props })
src/components/Spinner.tsx:9
Function
Wrapper
({ storeConfiguration })
src/components/Wrapper.tsx:15
Function
addAction
(action: SerializedAction)
src/store/ducks/settings.ts:557
Function
addChatter
(chatter: SerializedChatter, logId: string)
src/store/ducks/chatters.ts:174
Method
addEmotesProvider
* Adds an emotes provider. * @param provider - The provider.
src/libs/Resources.ts:149
Function
addHighlight
(highlight: SerializedHighlight)
src/store/ducks/settings.ts:473
Function
addHighlightsIgnoredUsers
(usernames: string[])
src/store/ducks/settings.ts:517
Function
addHighlightsPermanentUsers
(usernames: string[])
src/store/ducks/settings.ts:537
Function
addLog
(log: Log)
src/store/ducks/logs.ts:216
Function
addMarker
()
src/store/ducks/logs.ts:271
Function
addPotentialChatter
(chatter: SerializedChatter, logId?: string)
src/store/ducks/chatters.ts:233
Function
addToHistory
(message: string)
src/store/ducks/app.ts:159
Function
appReducer
(state = initialState, action)
src/store/ducks/app.ts:43
Function
chattersReducer
(state = initialState, action)
src/store/ducks/chatters.ts:34
Function
clearChatters
()
src/store/ducks/chatters.ts:224
Function
clearLogs
()
src/store/ducks/logs.ts:255
Method
componentDidCatch
* Lifecycle: componentDidCatch. * @param error - The error.
src/containers/ErrorBoundary.tsx:52
Method
componentDidMount
* Lifecycle: componentDidMount.
src/components/DropOverlay.tsx:173
Method
componentDidMount
* Lifecycle: componentDidMount.
src/components/ChannelDetailsVideos.tsx:38
Method
componentDidMount
* Lifecycle: componentDidMount.
src/components/Help.tsx:63
Method
componentDidMount
* Lifecycle: componentDidMount.
src/components/ChannelDetailsSchedule.tsx:78
Method
componentDidMount
* Lifecycle: componentDidMount.
src/components/ChannelDetailsOverview.tsx:146
Method
componentDidMount
* Lifecycle: componentDidMount.
src/containers/StreamList.tsx:180
Method
componentDidMount
* Lifecycle: componentDidMount.
src/containers/Channel.tsx:179
Method
componentDidMount
* Lifecycle: componentDidMount.
src/containers/SettingsChangelog.tsx:99
Method
componentDidMount
* Lifecycle: componentDidMount.
src/containers/Chat.tsx:99
Method
componentDidMount
* Lifecycle: componentDidMount.
src/containers/Auth.tsx:29
Method
componentDidMount
* Lifecycle: componentDidMount.
src/containers/App.tsx:93
Method
componentDidUpdate
* Lifecycle: componentDidUpdate. * @param prevProps - The previous props. * @param prevState - The previous state.
src/components/PollEditor.tsx:128
Method
componentDidUpdate
* Lifecycle: componentDidUpdate. * @param prevProps - The previous props.
src/components/Chatters.tsx:92
Method
componentDidUpdate
* Lifecycle: componentDidUpdate.
src/components/Logs.tsx:60
Method
componentDidUpdate
* Lifecycle: componentDidUpdate. * @param prevProps - The previous props.
src/components/Input.tsx:228
Method
componentDidUpdate
* Lifecycle: componentDidUpdate. * @param prevProps - The previous props.
src/components/StreamOmnibar.tsx:31
Method
componentDidUpdate
* Lifecycle: componentDidUpdate. * @param prevProps - The previous props. * @param prevState - The previous state.
src/containers/Channel.tsx:193
Method
componentDidUpdate
* Lifecycle: componentDidUpdate. * @param prevProps - The previous props. * @param prevState - The previous state.
src/containers/EmotePicker.tsx:142
Method
componentDidUpdate
* Lifecycle: componentDidUpdate. * @param prevProps - The previous props.
src/containers/Chat.tsx:207
Method
componentDidUpdate
* Lifecycle: componentDidUpdate. * @param prevProps - The previous props.
src/containers/EmoteDetails.tsx:93
Method
componentDidUpdate
* Lifecycle: componentDidUpdate. * @param prevProps - The previous props.
src/containers/ChatterDetails.tsx:252
Method
componentDidUpdate
* Lifecycle: componentDidUpdate. * @param prevProps - The previous props.
src/containers/App.tsx:107
Method
componentDidUpdate
* Lifecycle: componentDidUpdate. * @param prevProps - The previous props. * @param prevState - The previous state.
src/containers/Search.tsx:111
Method
componentWillUnmount
* Lifecycle: componentWillUnmount.
src/components/DropOverlay.tsx:196
Method
componentWillUnmount
* Lifecycle: componentWillUnmount.
src/components/Help.tsx:70
Method
componentWillUnmount
* Lifecycle: componentWillUnmount.
src/containers/Channel.tsx:237
Method
componentWillUnmount
* Lifecycle: componentWillUnmount.
src/containers/Chat.tsx:229
Method
constructor
* Creates a new instance of the component. * @param props - The props of the component.
src/components/History.tsx:60
Method
constructor
* Creates a new instance of the component. * @class * @param props - The props of the component.
src/components/CommandsHelp.tsx:92
Method
constructor
* Creates a new instance of the component. * @param props - The props of the component.
src/components/Logs.tsx:46
Method
constructor
* Creates a new instance of the component. * @class * @param props - The props of the component.
src/components/ViewStack.tsx:26
Method
constructor
* Creates a new instance of the component. * @class * @param props - The props of the component.
src/containers/Channel.tsx:163
Method
constructor
* Creates a new instance of the component. * @param props - The props of the component.
src/containers/EmotePicker.tsx:127
Method
constructor
* Creates a new instance of the component. * @param props - The props of the component.
src/containers/Chat.tsx:79
Method
constructor
* Creates a new instance of the component. * @param props - The props of the component.
src/containers/App.tsx:59
Method
constructor
* Creates a new instance of the component. * @param props - The props of the component.
src/containers/Search.tsx:95
Method
constructor
* Creates a new rejected message. * @class * @param username - The name of the sender. * @param messageId - The rejected message ID. * @pa
src/libs/RejectedMessage.ts:27
Method
constructor
* Creates a new notice. * @class * @param message - The received message. * @param event - The associated event if any. * @param linkify -
src/libs/Notice.ts:46
Method
constructor
* Creates a new instance of the class. * @class * @param hexForeground - The foreground hexadecimal color. * @param hexBackground - The backg
src/libs/ChatterColor.ts:43
Method
constructor
* Creates a new chatter instance. * @class * @param userstate - The associated user state. * @param theme - The current theme.
src/libs/Chatter.ts:57
Method
constructor
* Creates a new instance of the class. * @class * @param message - A message containing a command validated by * `Command.isCommand()`.
src/libs/Command.ts:190
Method
constructor
* Creates a new action instance. * @class * @param type - The action type. * @param name - The action name. * @param text - The action tex
src/libs/Action.ts:92
← previous
next →
301–400 of 584, ranked by callers