MCPcopy Create free account

hub / github.com/Asvarox/allkaraoke / functions

Functions1,524 in github.com/Asvarox/allkaraoke

↓ 159 callersFunctiongenerateNote
(start: number, length = 1, data: Partial<Note> = {})
src/modules/utils/test-utils.ts:5
↓ 146 callersMethodgetSongElement
(songID: string)
tests/components/songs-table.ts:21
↓ 74 callersFunctionregister
( name: string, onActive: (e?: Event) => void, help?: string, isDefault = false, { propNam
src/modules/hooks/use-keyboard-nav.ts:79
↓ 55 callersMethodenterTheGame
()
tests/page-objects/landing-page.ts:10
↓ 50 callersFunctioncreateDataSequence
(start: number, end: number, length: number, repeats = 5)
src/modules/utils/test-utils.ts:55
↓ 43 callersFunctionnavigate
(page: Page, targetTestId: string, remoteMic?: Page)
tests/steps/navigate-with-keyboard.ts:25
↓ 41 callersFunctionconvertTxtToSong
( text: string, videoLink?: string, author?: string, authorUrl?: string, sourceUrl?: string, )
src/modules/songs/utils/convert-txt-to-song.ts:131
↓ 40 callersFunctionuseSettingValue
(value: Setting<T>)
src/routes/settings/settings-state.ts:100
↓ 39 callersMethodgetItem
(key: string)
src/modules/utils/storage.ts:44
↓ 39 callersMethodgoToSingSong
()
tests/page-objects/main-menu-page.ts:18
↓ 38 callersFunctiongenerateSong
(tracks: Section[][], data: Partial<Song> = {})
src/modules/utils/test-utils.ts:32
↓ 38 callersFunctioninitialise
(page: Page, context: BrowserContext, browser: Browser)
tests/page-objects/initialise.ts:31
↓ 37 callersFunctionappendFrequencyToPlayerNotes
( playerNotes: PlayerNote[], record: FrequencyRecord, note: Note, beatLength: number, )
src/modules/game-engine/game-state/helpers/append-frequency-to-player-notes.ts:8
↓ 37 callersFunctioninitTestMode
({ context }: { page: Page; context: BrowserContext })
tests/helpers.ts:28
↓ 36 callersMethodensureSongLanguageIsSelected
(language: string)
tests/page-objects/song-languages-page.ts:24
↓ 36 callersMethodsetItem
(key: string, value: string)
src/modules/utils/storage.ts:40
↓ 32 callersMethodgoToInputSelectionPage
()
tests/page-objects/main-menu-page.ts:30
↓ 32 callersFunctionmockSongs
({ page }: { page: Page; context: BrowserContext })
tests/helpers.ts:15
↓ 31 callersMethodcontinueAndGoToSongList
()
tests/page-objects/song-languages-page.ts:78
↓ 30 callersMethodgoToPlaylist
(name: string)
tests/page-objects/song-list-page.ts:137
↓ 29 callersFunctiongetPropertyValueFromTxt
( txt: string, keys: knownSongTxtKeys[], type: 'string' | 'number' | 'array' = 'string', )
src/modules/songs/utils/convert-txt-to-song.ts:73
↓ 29 callersFunctionisNotesSection
(section: Section | undefined | null)
src/modules/songs/utils/is-notes-section.ts:3
↓ 25 callersFunctiontoTxtValue
(key: knownSongTxtKeys, value: string | string[] | number | undefined)
src/modules/songs/utils/convert-song-to-txt.ts:6
↓ 24 callersFunctiongeneratePlayerNote
( note: Note, distance: number, startOffset: number = 0, length: number = 1, isPerfect = false, vi
src/modules/utils/test-utils.ts:14
↓ 24 callersFunctionuseKeyboardNav
(options: Options = {}, debug = false)
src/modules/hooks/use-keyboard-nav.ts:27
↓ 23 callersFunctionfetch
(request, env, executionContext)
worker/index.ts:63
↓ 22 callersMethodexpectPlaylistToBeSelected
(name: string)
tests/page-objects/song-list-page.ts:161
↓ 22 callersFunctionisE2E
()
src/modules/utils/is-e2-e.ts:3
↓ 22 callersMethodsend
(payload: NetworkMessages)
src/modules/remote-mic/network/server/transport/interface.ts:7
↓ 21 callersMethodgoToMainMenu
()
tests/page-objects/edit-songs-page.ts:52
↓ 21 callersMethodgoToSongList
()
tests/page-objects/post-game-high-scores-page.ts:34
↓ 21 callersFunctionuseSmoothNavigate
()
src/modules/hooks/use-smooth-navigate.ts:25
↓ 20 callersFunctiongenerateSection
(start: number, _length: number, notesCount: number)
src/modules/utils/test-utils.ts:49
↓ 20 callersMethodgoToManageSongs
()
tests/page-objects/main-menu-page.ts:54
↓ 20 callersFunctiononChange
()
src/routes/remote-mic/components/confrim-wifi-modal.tsx:30
↓ 19 callersFunctionopenAndConnectRemoteMicDirectly
( page: Page, browser: Browser, name: string, closeMicSelectionMenu = true, )
tests/steps/open-and-connect-remote-mic.ts:35
↓ 18 callersFunctionconvertSongToTxt
(song: Song)
src/modules/songs/utils/convert-song-to-txt.ts:22
↓ 18 callersMethodexpectPlayerNameToBe
(playerNumber: number, playerName: string)
tests/page-objects/advanced-connection-page.ts:59
↓ 18 callersMethodpressEnterOnRemoteMic
()
tests/page-objects/remote-mic/remote-mic-main-page.ts:51
↓ 17 callersFunctionclearString
(str: string)
src/modules/utils/clear-string.ts:5
↓ 17 callersFunctioncolorSet
(fillBase: tinycolor.Instance, strokeBase: tinycolor.Instance)
src/modules/game-engine/drawing/styles.ts:31
↓ 17 callersMethodgoNext
()
tests/page-objects/song-preview-page.ts:20
↓ 16 callersMethodaddSongToFavouriteList
(songID: string)
tests/page-objects/remote-mic/remote-mic-song-list-page.ts:23
↓ 16 callersMethodexpectAnyPlayerToHaveMicAssigned
(micColor: micColorType, playerName: string)
tests/page-objects/remote-mic/remote-mic-change-mic-color-page.ts:20
↓ 16 callersMethodgoBackToMainMenu
()
tests/page-objects/song-list-page.ts:188
↓ 16 callersMethodkeys
()
src/modules/utils/storage.ts:60
↓ 16 callersMethodplayTheSong
(skipIntro = true, calibration = true, unverifiedSong = false)
tests/page-objects/song-preview-page.ts:32
↓ 16 callersMethodselectAdvancedSetup
()
tests/page-objects/input-selection-page.ts:34
↓ 15 callersMethodexpectPlayerToBeAssigned
(micColor: micColorType)
tests/page-objects/remote-mic/remote-mic-main-page.ts:31
↓ 15 callersMethodfocusSong
(songID: string)
tests/page-objects/song-list-page.ts:51
↓ 15 callersFunctiongetPingTime
()
src/modules/remote-mic/network/utils.ts:3
↓ 15 callersMethodgetPlayerScoreElement
(playerNumber: number)
tests/page-objects/game-page.ts:97
↓ 15 callersMethodgetSongLyricsForPlayerElement
(playerNumber: number)
tests/page-objects/game-page.ts:129
↓ 15 callersMethodgetTableCell
(rowNumber: number, cellNumber: number)
tests/components/songs-table.ts:78
↓ 15 callersMethodgoToSelectSongLanguage
()
tests/page-objects/manage-songs-page.ts:14
↓ 15 callersFunctiontuple
(val: T)
src/modules/utils/tuple.ts:2
↓ 15 callersFunctionuseEventEffect
( event: GameEvent<T> | GameEvent<T>[], effect: T, dependencies: unknown[] = [], )
src/modules/game-events/hooks.ts:30
↓ 14 callersMethodconnect
( clientId: string, roomId: string, onConnect: () => void, onClose: (reason: transportCloseRea
src/modules/remote-mic/network/client/transport/interface.ts:6
↓ 14 callersMethodentries
()
tests/page-objects/history-page.ts:18
↓ 14 callersMethodgetColumnHeader
(columnName: columnNameType)
tests/components/songs-table.ts:74
↓ 14 callersMethodon
(event: string, callback: (data: any) => void)
src/modules/remote-mic/network/server/transport/interface.ts:9
↓ 14 callersMethodopenPreviewForSong
(songID: string)
tests/page-objects/song-list-page.ts:61
↓ 13 callersFunctiongenerateSongTxt
(trackSections: Section[][], data: Partial<Song> = {}, unknownProps: string[] = [])
src/modules/songs/utils/convert-txt-to-song.test.ts:11
↓ 13 callersFunctionnavigateWithKeyboard
(page: Page, targetTestId: string, remoteMic?: Page)
tests/steps/navigate-with-keyboard.ts:103
↓ 13 callersFunctionuseBackground
(shouldBeVisible: boolean, theme: backgroundTheme = 'regular')
src/modules/elements/background-context.ts:10
↓ 13 callersFunctionuseEventListenerSelector
( event: GameEvent<any> | GameEvent<any>[], selector: () => S, dependencies: unknown[] = [], )
src/modules/game-events/hooks.ts:44
↓ 12 callersFunctionalpha
(color: tinycolor.Instance, a: number)
src/modules/game-engine/drawing/styles.ts:29
↓ 12 callersFunctiongenerateUnverifiedSongRecord
(overrides: Partial<UnverifiedSongRecord> = {})
functions/test-utils.ts:3
↓ 12 callersMethodsearch
(text: string)
tests/page-objects/admin-unverified-songs-page.ts:57
↓ 12 callersMethodsearchSongs
(songID: string)
tests/components/songs-table.ts:29
↓ 12 callersMethodskipScoresAnimation
()
tests/page-objects/post-game-results-page.ts:14
↓ 12 callersFunctionuseBackgroundMusic
(play: boolean)
src/modules/hooks/use-background-music.ts:4
↓ 12 callersFunctionuseQueryParam
(param: string)
src/modules/hooks/use-query-param.ts:4
↓ 12 callersFunctionuseSongIndex
(includeDeleted = false)
src/modules/songs/hooks/use-song-index.ts:5
↓ 11 callersFunctionfixDiacritics
(txt: string, language: string)
src/routes/convert/steps/utils/fix-diacritics.ts:68
↓ 11 callersFunctiongetFirstNoteStartFromSections
(sections: Section[])
src/modules/songs/utils/notes-selectors.ts:9
↓ 11 callersMethodgoToHighScoresStep
()
tests/page-objects/post-game-results-page.ts:58
↓ 11 callersFunctionrandomInt
(from: number, to: number)
src/modules/utils/random-value.ts:5
↓ 10 callersMethodclear
()
src/modules/utils/storage.ts:68
↓ 10 callersMethodclose
()
scripts/youtube-duration-client.ts:85
↓ 10 callersFunctionconnectRemoteMic
(remoteMicPage: Page, closeMicSelectionMenu = true)
tests/steps/open-and-connect-remote-mic.ts:6
↓ 10 callersFunctiondefineMutation
( handler: (context: RpcContext, ...args: TArgs) => TReturn | Promise<TReturn>, options?: { permission?: '
src/modules/remote-mic/network/rpc/define.ts:16
↓ 10 callersFunctiongetSongIdWithNew
(song: SongGroup['songs'][number], songGroup: SongGroup)
src/routes/sing-a-song/song-selection/utils/get-song-id-with-new.ts:3
↓ 10 callersMethodgoToEditSongs
()
tests/page-objects/manage-songs-page.ts:10
↓ 10 callersMethodselectSmartphones
()
tests/page-objects/input-selection-page.ts:10
↓ 9 callersFunctioncalculateScore
(playerNotes: PlayerNote[], song: Song, trackNumber: number)
src/modules/game-engine/game-state/helpers/calculate-score.ts:124
↓ 9 callersFunctioncb
(callback?: Callback)
src/modules/hooks/use-keyboard.ts:31
↓ 9 callersFunctioncn
(...inputs: ClassValue[])
src/utils/cn.ts:4
↓ 9 callersFunctiondrawSprite
( destCtx: CanvasRenderingContext2D, sprite: SpriteNames, fragment: keyof typeof smallNoteFragments, d
src/modules/game-engine/drawing/elements/cache/cached-sprites.ts:59
↓ 9 callersMethodexpectIssueToBeSelected
(issue: issueType)
tests/page-objects/rate-unfinished-song-page.ts:65
↓ 9 callersFunctionfetchWorker
(url: string, init?: RequestInit)
functions/admin/unverified-songs.test.ts:19
↓ 9 callersMethodgoToFavouriteList
()
tests/page-objects/remote-mic/remote-mic-song-list-page.ts:47
↓ 9 callersMethodgoToSettings
()
tests/page-objects/remote-mic/remote-components/remote-tab-bar.ts:18
↓ 9 callersFunctionopenAndConnectRemoteMicWithCode
(page: Page, browser: Browser, name: string)
tests/steps/open-and-connect-remote-mic.ts:56
↓ 9 callersFunctionpack
(data: T)
src/modules/remote-mic/network/utils.ts:7
↓ 9 callersMethodremovePlayer
(playerId: string)
src/modules/remote-mic/network/server/transport/interface.ts:32
↓ 9 callersFunctionupsertUnverifiedSong
(kvNamespace: KVNamespace, record: UnverifiedSongRecord)
functions/unverified-songs-store.ts:103
↓ 8 callersFunctioncallPagesHandler
( handler: PagesLikeHandler, request: Request, env: WorkerEnv, executionContext: ExecutionContext, p
worker/index.ts:52
↓ 8 callersMethodchooseSongForPreview
(songID: string)
tests/page-objects/remote-mic/remote-mic-song-list-page.ts:121
↓ 8 callersFunctioncreateRequest
(init: RequestInit = {})
functions/admin/unverified-songs.test.ts:11
next →1–100 of 1,524, ranked by callers