MCPcopy Create free account

hub / github.com/catamphetamine/anychan / functions

Functions1,013 in github.com/catamphetamine/anychan

↓ 162 callersFunctiondispatch
(action)
src/utility/thread/onThreadExpired.test.js:14
↓ 88 callersFunctionuseMessages
({ useSelector }: { useSelector?: TypedUseSelectorHook<any> } = {})
src/hooks/useMessages.ts:8
↓ 74 callersMethodget
(fieldName: string)
src/types/State.ts:11
↓ 47 callersFunctionlog
(...args: any[])
src/pages/Thread/useAutoUpdate.ts:648
↓ 36 callersFunctionuseDataSource
()
src/hooks/useDataSource.ts:7
↓ 34 callersFunctionaddSubscribedThread
({ thread, subscribedThread, subscribedThreadState, userData, dispatch, subscribedThreadsUpdater, timer
src/utility/subscribedThread/addSubscribedThread.ts:13
↓ 34 callersFunctionmatchesPattern
( string: string, pattern: string, { asteriskExcludeCharacter, asteriskOneOrMoreCharacters }: { aste
src/utility/matchesPattern.ts:10
↓ 34 callersFunctionshowError
(content: NotificationContent, options?: NotificationOptions)
src/redux/notifications.ts:18
↓ 31 callersMethodreplace
(data: UserDataJsonEncoded)
src/UserData/UserData.ts:158
↓ 28 callersMethodlogEvent
(event: LogEventName, parameters?: object)
src/utility/SubscribedThreadsUpdater/SubscribedThreadsUpdater.ts:267
↓ 28 callersMethodreplace
(settings: UserSettingsJson)
src/utility/settings/UserSettings.ts:105
↓ 28 callersMethodset
(fieldName: string, value: any)
src/types/State.ts:12
↓ 25 callersFunctionencodeDate
( date: Date, { granularity = 'seconds' }: { granularity?: keyof typeof GRANULARITY } = {} )
src/UserData/compression.ts:3
↓ 24 callersFunctionnotify
(content: NotificationContent, options?: NotificationOptions)
src/redux/notifications.ts:14
↓ 21 callersFunctionuseUserData
()
src/hooks/useUserData.ts:7
↓ 19 callersFunctionuseSettings
()
src/hooks/useSettings.ts:7
↓ 18 callersFunctioncorrectGrammarRu
(text)
src/api/utility/correctGrammar.test.js:7
↓ 18 callersMethodfocus
(fieldName?: string)
src/types/State.ts:8
↓ 16 callersMethodmatchKey
(key: string)
src/UserData/UserData.ts:313
↓ 14 callersFunctiongetProxyUrl
({ userSettings }: { userSettings: UserSettings })
src/utility/proxy/getProxyUrl.ts:5
↓ 14 callersFunctiongetValueForErrorCount
(errorCount)
src/utility/thread/getNextUpdateAtForThread.test.js:86
↓ 14 callersFunctionuseLocale
({ useSelector = useSelectorDefault }: UseLocaleParameters = {})
src/hooks/useLocale.ts:11
↓ 13 callersFunctiongetDateWithoutMilliseconds
(date: Date)
src/utility/getDateWithoutMilliseconds.ts:3
↓ 12 callersFunctionuseSetting
(getter: (settings: UserSettingsJson) => any, { useSelector = useSelectorDefault }: { useSelector?: TypedUseSe
src/hooks/useSetting.ts:14
↓ 10 callersMethodgetThreadsToUpdateNowAndNextUpdateTime
()
src/utility/SubscribedThreadsUpdater/SubscribedThreadsUpdater.ts:633
↓ 10 callersFunctionisThreadPage
(route: Route)
src/utility/routes/isThreadPage.ts:3
↓ 10 callersMethodschedule
(delay = 0)
src/UserData/UserDataCleaner.ts:144
↓ 10 callersMethodstop
()
src/utility/SubscribedThreadsUpdater/SubscribedThreadsUpdater.ts:182
↓ 10 callersFunctionuseBackground
()
src/hooks/useBackground.ts:3
↓ 10 callersFunctionuseSettingUpdater
(key: K)
src/hooks/useSettingUpdater.ts:7
↓ 9 callersFunctiondecodeDate
( value: number, { granularity = 'seconds' }: { granularity?: keyof typeof GRANULARITY } = {} )
src/UserData/compression.ts:17
↓ 9 callersFunctiondoesSubscribedThreadHaveNewComments
(subscribedThread: SubscribedThread, { type, userData }: { type?: 'reply', userData: UserData })
src/utility/subscribedThread/doesSubscribedThreadHaveNewComments.ts:10
↓ 9 callersFunctionencode
(object)
src/UserData/types/map.test.js:11
↓ 9 callersFunctionescapeRegExpPattern
(string: string)
src/utility/transformDataSourceLink.ts:138
↓ 9 callersFunctionisChannelPage
(route: Route)
src/utility/routes/isChannelPage.ts:3
↓ 9 callersMethodstart
()
src/utility/SubscribedThreadsUpdater/SubscribedThreadsUpdater.ts:156
↓ 9 callersFunctionvalidateArgumentsCount
(expectedArgsCount: number)
src/UserData/collection.validateOperationArguments.ts:11
↓ 8 callersFunctiongetNextUpdateAtForThread
(prevUpdateAt: number, { refreshErrorDate, refreshErrorCount, ...options }: { refreshErrorDate?: Date, re
src/utility/thread/getNextUpdateAtForThread.ts:9
↓ 8 callersFunctiongetThreadUrl
(channelId: ChannelId, threadId: ThreadId)
src/utility/getThreadUrl.ts:3
↓ 8 callersFunctiongetUnderlyingCollectionType
(type: UserDataCollection['type'])
src/UserData/collection.utility.ts:31
↓ 8 callersFunctionisCollectionTypeSplitByChannel
(type: UserDataCollection['type'])
src/UserData/collection.utility.ts:63
↓ 8 callersFunctionisCollectionTypeSplitByChannelAndThread
(type: UserDataCollection['type'])
src/UserData/collection.utility.ts:54
↓ 8 callersFunctionisDeployedOnDataSourceDomain
(dataSource: DataSource)
src/utility/dataSource/isDeployedOnDataSourceDomain.ts:5
↓ 8 callersMethodmerge
(data: UserDataJsonEncoded)
src/UserData/UserData.ts:215
↓ 8 callersFunctiononUnknownCollectionType
()
src/UserData/collection.validateOperationArguments.ts:21
↓ 8 callersFunctionuseMessage
( messageLabel: string, parameters?: Record<string, any>, options?: Record<string, any> )
src/hooks/useMessage.ts:9
↓ 7 callersFunctiongetCommentUrl
(channelId: ChannelId, threadId: ThreadId, commentId: CommentId)
src/utility/getCommentUrl.ts:3
↓ 7 callersFunctiongetMessages
(language: string)
src/messages/getMessages.ts:5
↓ 7 callersFunctiononSubscribedThreadFetched
(thread: Thread, { min, userData, timer = new Timer() }: { min?: boolean, userData: UserData, timer?: Ti
src/utility/subscribedThread/onSubscribedThreadFetched.ts:29
↓ 7 callersMethodremove
({ ifExists }: { ifExists?: boolean } = {})
src/utility/SubscribedThreadsUpdater/SubscribedThreadsUpdater.StatusRecord.ts:181
↓ 7 callersMethodreset
()
src/types/State.ts:15
↓ 7 callersFunctiontoAbsoluteUrl
(url: string)
src/api/utility/convertAttachmentUrlsToAbsolute.ts:7
↓ 7 callersFunctionuseOriginalDomain
()
src/hooks/useOriginalDomain.ts:5
↓ 6 callersMethod_onDataAccess
()
src/UserData/UserData.ts:407
↓ 6 callersFunctionaddBasePath
(path: string)
src/utility/getBasePath.ts:26
↓ 6 callersFunctioncreate
()
src/UserData/types/list.test.js:4
↓ 6 callersFunctioncreateSubscribedThreadRecord
(thread: Thread, { addedAt, userData }: Parameters)
src/utility/subscribedThread/createSubscribedThreadRecord.ts:19
↓ 6 callersFunctioncreateSubscribedThreadStateRecord
(thread: Thread, { refreshedAt, userData }: { refreshedAt: Date, userData: UserData })
src/utility/subscribedThread/createSubscribedThreadStateRecord.ts:11
↓ 6 callersFunctiondispatch
(action)
src/utility/subscribedThread/addSubscribedThread.test.js:15
↓ 6 callersFunctiongetChannelUrl
(channelId: ChannelId)
src/utility/getChannelUrl.ts:3
↓ 6 callersFunctiongetSettings
({ userSettings, settings, ...rest }: { userSettings?: UserSettings, settings?: UserSettingsJson })
src/utility/settings/getSettings.ts:11
↓ 6 callersFunctiongetStoragePrefix
({ dataSource, multiDataSource }: { dataSource: DataSource, multiDataSource: boolean })
src/utility/storage/getStoragePrefix.ts:5
↓ 6 callersFunctiononHeightDidChange
()
src/pages/Channel/ChannelPinnedThread.tsx:53
↓ 6 callersFunctionreplaceQuotesRu
(text)
src/api/utility/replaceQuotes.test.js:3
↓ 6 callersMethodsetStatus
(status: Status)
src/utility/SubscribedThreadsUpdater/SubscribedThreadsUpdater.ts:262
↓ 5 callersFunctionaddUserDataExternalChangeListener
({ dispatch, userData }: { dispatch: Dispatch, userData: UserData })
src/UserData/addUserDataExternalChangeListener.ts:6
↓ 5 callersFunctionapplyBackground
(backgroundObjectOrBackgroundId: Background | Background['id'] | undefined, type: 'dark' | 'light', { dispatch
src/utility/background.ts:124
↓ 5 callersMethodclear
(fieldName: string)
src/types/State.ts:10
↓ 5 callersFunctiondecode
(object)
src/UserData/types/map.test.js:16
↓ 5 callersFunctiongetAdditionalBackgroundsFromSettings
(type: 'dark' | 'light', { userSettings }: { userSettings: UserSettings })
src/utility/background.ts:20
↓ 5 callersMethodgetCollectionData
* Returns non-decoded collection data. * @param {object} collection * @return {any} Collection data (encoded). Returns `undefined` if the collecti
src/UserData/UserData.ts:362
↓ 5 callersMethodgetCollectionDataChunks
* Returns non-decoded collection data chunks.
src/UserData/UserData.ts:350
↓ 5 callersFunctiongetCommentLengthLimit
({ mode, channelLayout }: { mode: Mode; channelLayout?: ChannelLayout; })
src/utility/comment/getCommentLengthLimit.ts:32
↓ 5 callersFunctiongetContentForText
(text: string)
dataSources/non-imageboards/example/api/utility/getContentForText.ts:5
↓ 5 callersFunctiongetLanguageFromLocale
(locale: string)
src/utility/getLanguageFromLocale.ts:5
↓ 5 callersFunctiongetMethodName
(operation: UserDataOperation, collectionName: keyof UserDataCollections)
src/UserData/getMethodName.ts:17
↓ 5 callersMethodgetNextCleanUpDelay
()
src/UserData/UserDataCleaner.ts:120
↓ 5 callersFunctiononUnsupportedOperationForCollectionType
()
src/UserData/collection.validateOperationArguments.ts:17
↓ 5 callersFunctionreportError
(error: Error)
src/utility/reportError.ts:1
↓ 5 callersFunctionretryAfter
(delay: number)
src/utility/announcement.ts:35
↓ 5 callersFunctionroundTimestamp
( timestamp: number, { granularity = 'seconds' }: { granularity?: keyof typeof GRANULARITY } = {} )
src/utility/roundTimestamp.ts:8
↓ 5 callersFunctionshouldShowAuthorId
(post: Comment)
src/components/Comment/CommentAuthor.tsx:213
↓ 5 callersMethodupdate
()
src/utility/SubscribedThreadsUpdater/SubscribedThreadsUpdater.ts:218
↓ 5 callersFunctionuseSetting
(getter: (settings: UserSettingsJson) => unknown)
src/hooks/useLoadChannelPage.ts:48
↓ 5 callersFunctionuseUpdateSetting
()
src/hooks/useUpdateSetting.ts:10
↓ 5 callersFunctionuseUrlBasePath
()
src/hooks/useUrlBasePath.ts:6
↓ 4 callersFunctionapplySettings
({ userSettings, settings, ...rest }: { userSettings?: UserSettings, settings?: UserSettingsJson, dispat
src/utility/settings/applySettings.ts:16
↓ 4 callersFunctioncompareDates
(a: Date, b: Date)
src/utility/subscribedThread/sortSubscribedThreads.ts:274
↓ 4 callersFunctionconvertPictureUrlsToAbsolute
(picture: Picture, { toAbsoluteUrl }: { toAbsoluteUrl: (url: string) => string })
src/api/utility/convertAttachmentUrlsToAbsolute.ts:30
↓ 4 callersFunctiondoesKeyBelongToCollection
(key: string, collection: UserDataCollection)
src/UserData/collection.utility.ts:91
↓ 4 callersFunctionexclusiveExecution
(func: Function, { name, timer = new Timer(), timeout = TIMEOUT, condition, attemptsCount = 1 }: Paramete
src/utility/exclusiveExecution.ts:28
↓ 4 callersFunctionfindIndexByIdOrClosestPreviousOne
( objects: Object[], id: Id, getObjectId: ((object: Object) => Id) = ((object: Object) => object.id) )
src/utility/findIndexByIdOrClosestPreviousOne.ts:8
↓ 4 callersFunctiongetBasePath
({ dataSource, dataSourceAlias }: { dataSource: DataSource, dataSourceAlias?: string })
src/utility/getBasePath.ts:13
↓ 4 callersFunctiongetCollectionDataValidationFunction
( collection: UserDataCollection, { target }: { target?: 'item' } = {} )
src/UserData/UserData.getCollectionDataValidationFunction.ts:8
↓ 4 callersFunctiongetDataSourceAbsoluteUrl
( dataSource: DataSource, relativeUrl: string, { channelContainsExplicitContent }: { channelContainsExplici
src/utility/dataSource/getDataSourceAbsoluteUrl.ts:3
↓ 4 callersFunctiongetDefaultBackgroundId
(type: 'dark' | 'light')
src/utility/settings/settingsDefaults.ts:57
↓ 4 callersFunctiongetMetadataFromKey
(key: string, collection: UserDataCollection)
src/UserData/collection.utility.ts:98
↓ 4 callersFunctiongetNewCommentsCount
(thread: Thread, { fromCommentIndex, userData }: { fromCommentIndex?: number, userData: UserData })
src/utility/thread/getNewCommentsCount.ts:5
↓ 4 callersFunctiongetNewRepliesCount
(thread: Thread, { fromCommentIndex, userData }: { fromCommentIndex?: number, userData: UserData })
src/utility/thread/getNewRepliesCount.ts:5
↓ 4 callersFunctiongetThread
({ channelId, threadId, archived, // `threadBeforeRefresh` could be passed when refreshing a thread. // `
src/api/getThread.ts:27
next →1–100 of 1,013, ranked by callers