Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ad3lre/echo
/ functions
Functions
11,285 in github.com/ad3lre/echo
⨍
Functions
11,285
◇
Types & classes
321
↓ 6 callers
Function
runVoiceJoinMediaPreflightInteractive
()
frontend/src/features/voice/voiceJoinMediaPreflightFlow.ts:23
↓ 6 callers
Function
runWithPgQueryContext
(ctx: PgQueryContext, fn: () => T)
backend/src/db/pgQueryContext.ts:13
↓ 6 callers
Function
safe
(s: string)
frontend/src/features/chat/viewModel/messageBodyMarkdown.ts:399
↓ 6 callers
Function
safeParseIsoDate
(value: unknown)
backend/src/services/discordImport.ts:304
↓ 6 callers
Function
sanitizeString
(value: unknown, fallback = '')
frontend/vite-plugins/consoleLogDevPlugin.ts:53
↓ 6 callers
Function
sanitizeUploadKeyFilename
(name: string)
frontend/src/api/echo/uploads.ts:189
↓ 6 callers
Function
saveImportState
( pool: pg.Pool, serverId: string, patch: { metadataImported?: boolean; rolesImported?: boolean;
backend/src/services/discordImport.ts:590
↓ 6 callers
Function
saveState
()
bot/src/uptimeMonitor.ts:120
↓ 6 callers
Function
scheduleAttentionRefresh
(reason: string, channelId?: string)
frontend/src/services/orchestration/echoHistoryOrchestration.ts:255
↓ 6 callers
Function
selectEchoMessageAuthorDeleted
( pool: pg.Pool, channelId: string, messageId: string, )
backend/src/domain/echoMessagesDal.ts:1238
↓ 6 callers
Function
selectSelfPresence
(input: { userId?: string | null | undefined; authoritativeStatusesByUserId?: | Record<string, string
frontend/src/services/domain/presence.ts:153
↓ 6 callers
Function
selectedShapeAttrs
()
frontend/src/features/paper/composables/usePaperShapeActions.ts:33
↓ 6 callers
Function
sendOutboundPollMessage
(opts: { channelId: string; content: string; mentions?: MentionEntity[]; replyTo?: ReplyTo; poll: Po
frontend/src/services/realtime/socketOutboundPollSend.ts:24
↓ 6 callers
Function
sendSocketMessage
( socket: IoClientSocket, channelId: string, content: string, )
backend/src/tests/echo.spamFilter.integration.ts:31
↓ 6 callers
Function
sessionAcceptsIncomingVersion
( nextVersion: string | undefined, lastWorkspaceEventVersion: string, workspaceVersion: string, )
frontend/src/services/domain/workspaceSession.ts:110
↓ 6 callers
Function
setBugHunterRecordingEnabled
(enabled: boolean)
frontend/src/observability/bugHunterTrace.ts:116
↓ 6 callers
Function
setCachedChannelMeta
( channelId: string, meta: EchoChannelMeta, )
backend/src/domain/echoChannelMetaCache.ts:74
↓ 6 callers
Function
setCachedMemberRoleIds
( serverId: string, userId: string, roleIds: ReadonlySet<string>, )
backend/src/domain/echoMemberRoleIdsCache.ts:54
↓ 6 callers
Function
setEnv
(next: Record<string, string | undefined>)
backend/src/tests/storageMode.config.test.ts:12
↓ 6 callers
Function
setEnv
(next: Record<string, string | undefined>)
backend/src/tests/productionConfigGates.test.ts:12
↓ 6 callers
Function
setText
(id: string, text: string)
marketing/src/lib/statusMonitor.ts:181
↓ 6 callers
Function
shiftMentionsForReplacement
( content: string, mentions: MentionEntity[], start: number, end: number, insertedLength: number, )
frontend/src/features/chat/editor/composerModel.ts:75
↓ 6 callers
Function
shouldAppToastClearBottomChrome
( input: AppToastClearsBottomChromeInput, )
frontend/src/features/layout/appToastShellPosition.ts:41
↓ 6 callers
Function
shouldMarkOffline
( lastHeartbeatAtMs: number, nowMs: number, staleAfterMinutes: number, )
backend/src/domain/echoPresenceAuthority.ts:113
↓ 6 callers
Function
shouldPostDiscordBridgeSyncNotice
( previousInbound: boolean, previousOutbound: boolean, nextInbound: boolean, nextOutbound: boolean, )
backend/src/services/discordBridgeSyncNotice.ts:56
↓ 6 callers
Function
shouldRecycleEchoSocketOnAuthChange
( next: EchoSocketAuthKey, prev: EchoSocketAuthKey | undefined, )
frontend/src/services/realtime/echoSocketSessionLifecycle.ts:238
↓ 6 callers
Function
shouldReplaceHistoryLeavingExploreForDmPath
( currentParsed: EchoParsedPath, desiredParsed: EchoParsedPath, )
frontend/src/features/layout/urlNavigation.ts:347
↓ 6 callers
Function
shouldSkipRel
Relative POSIX path from repo root — subtree/file skipped in walk and line totals.
scripts/generate-tree-md.mjs:59
↓ 6 callers
Function
signMediaCdnReadToken
( secret: string, storageKey: string, opts?: { ttlMs?: number; scope?: MediaCdnReadScope; au
shared/mediaCdnSigning.ts:26
↓ 6 callers
Function
sinkFor
(store: Record<string, RM[]>)
frontend/src/services/realtime/__tests__/socketRemoteMessagePatchApply.test.ts:16
↓ 6 callers
Function
splitTextWithEmoji
(text: string)
frontend/src/utils/twemoji.ts:191
↓ 6 callers
Function
startOAuthFlow
(authorizeUrl: string)
frontend/src/platform/desktopBridge.ts:126
↓ 6 callers
Function
stopCallRingtone
()
frontend/src/audio/callRingtonePlayer.ts:77
↓ 6 callers
Function
str
(v: unknown)
backend/src/services/linkUnfurl/linkUnfurlOembed.ts:16
↓ 6 callers
Function
stubChild
(name: string, testId: string)
frontend/src/features/layout/components/AppLayoutMainSurface.test.ts:16
↓ 6 callers
Function
stubMsg
(id: string)
frontend/src/services/domain/echoMessageReadState.test.ts:10
↓ 6 callers
Function
syncSpeakingMapFromRoom
()
frontend/src/composables/livekitVoiceRoom/speaking.ts:209
↓ 6 callers
Function
thresholdPercentToRms
(percent: number)
frontend/src/composables/voiceGate.ts:15
↓ 6 callers
Function
toUpper
(ch: string)
backend/src/auth/defaultAvatarPfp.ts:64
↓ 6 callers
Function
toggleReaction
( channelId: string, messageId: string, emoji: string, userId: string, )
frontend/src/composables/useMessageReactions.ts:92
↓ 6 callers
Function
trimBranding
(s: string | undefined | null)
frontend/src/features/settings/composables/useSettingsProfileEditor.ts:196
↓ 6 callers
Function
tryEmitPresenceSet
( adapter: PresenceEmitAdapter, socketConnected: boolean, status: string | undefined, opts?: TryEmitPr
frontend/src/services/realtime/socketPresenceSession.ts:54
↓ 6 callers
Function
tryLocalStorageSetItem
(key: string, value: string)
frontend/src/utils/localStoragePersist.ts:10
↓ 6 callers
Function
tryReserveGlobalSerperUnit
()
backend/src/services/serperGlobalUsageBudget.ts:92
↓ 6 callers
Function
useAppLayoutEchoDmState
(deps: { serverStore: ReturnType<typeof useServerStore>; workspace: WorkspaceStateApi; authSession: Retu
frontend/src/services/orchestration/useAppLayoutEchoDmState.ts:16
↓ 6 callers
Function
useAppLayoutLayoutChrome
(pfpBarExpanded: Ref<boolean>)
frontend/src/features/layout/composables/useAppLayoutLayoutChrome.ts:53
↓ 6 callers
Function
useMentionAutocomplete
( getText: () => string, getCursorOffset: () => number, insertMention: (start: number, end: number, opti
frontend/src/composables/useMentionAutocomplete.ts:80
↓ 6 callers
Function
useMessageReactions
( messages: Ref<Record<string, RawMessage[]>>, options?: { emitReactionToggle?: ( channelId: str
frontend/src/composables/useMessageReactions.ts:14
↓ 6 callers
Function
useSuggestable
( getText: () => string, getCursorOffset: () => number, config: SuggestableConfig<TItem>, )
frontend/src/suggestables/useSuggestable.ts:27
↓ 6 callers
Function
validDims
(width: number, height: number)
backend/src/services/probeImageDimensionsFromBuffer.ts:103
↓ 6 callers
Function
validateSendChannelForSurface
( surface: MainSurface, channelId: string, nav: NavState, )
frontend/src/features/layout/sendSurfaceContract.ts:22
↓ 6 callers
Function
verifyBotTokenAgainstStoredHash
( token: string, storedHash: string, )
backend/src/services/botTokenHash.ts:20
↓ 6 callers
Function
watchTogetherPayloadMatchesLocalUi
( msg: EchoWatchTogetherActivityV1, local: VcActivityUiState, )
frontend/src/features/voice/watchTogetherBridge.ts:22
↓ 6 callers
Function
withBasePath
(pathname: string, base: string)
frontend/src/features/layout/urlNavigation.ts:203
↓ 6 callers
Function
withExitIntercept
( fn: () => T, )
backend/src/tests/productionConfigGates.test.ts:29
↓ 6 callers
Function
wordlineDailyCalendarKey
(d: Date = new Date())
frontend/src/features/voice/wordline/wordlineDailyCalendar.ts:4
↓ 6 callers
Function
writeBinary
(path: string, data: Buffer)
bot/src/util/fs.ts:27
↓ 6 callers
Function
writePendingInvite
(code: string | null)
frontend/src/features/layout/composables/useInviteLandingFlow.ts:22
↓ 5 callers
Function
absolutizeApiPath
(path: string)
frontend/src/utils/rewriteR2EchoUploadUrlForReadThrough.ts:6
↓ 5 callers
Function
acceptEchoFriendship
( pool: pg.Pool, recipientId: string, peerId: string, )
backend/src/domain/echoStore/social.ts:206
↓ 5 callers
Function
advance
(ms: number)
frontend/src/features/chat/domain/messageListScrollOwnership.test.ts:11
↓ 5 callers
Function
allowDrop
(e: DragEvent)
frontend/src/composables/useMoreServerFolderDrag.ts:248
↓ 5 callers
Function
anchor
( partial: Partial<PopoutAnchorRect> & Pick<PopoutAnchorRect, 'source'>, )
frontend/src/utils/memberPopoutPlacement.test.ts:11
↓ 5 callers
Function
appendChatEntry
( log: EchoSkrigglesChatEntryV1[], entry: EchoSkrigglesChatEntryV1, )
frontend/src/features/voice/skriggles/vcSkrigglesReducer.ts:98
↓ 5 callers
Function
appendVoiceToEchoInviteShareUrl
( url: string, voiceChannelId: string | null | undefined, )
frontend/src/utils/echoInviteShareUrl.ts:11
↓ 5 callers
Function
apply
(key: string, val: string | null | undefined)
frontend/src/features/layout/urlNavigation.ts:406
↓ 5 callers
Function
applyDarkVariantToDocument
( canonicalTheme: CanonicalThemeId, variant: EchoDarkVariantId, )
frontend/src/utils/theme.ts:249
↓ 5 callers
Function
applyDiscordProfileMerge
(params: { store: AuthStore; user: AuthUser; me: DiscordMeApi; normalized: DiscordNormalizedV1; pool
backend/src/domain/discordProfileMerge.ts:48
↓ 5 callers
Function
applyEchoChannelClientCapToBucket
( messagesRecord: Record<string, RawMessage[]>, channelId: string, options: ApplyEchoChannelClientCapOpt
frontend/src/services/realtime/channelMessageBucket.ts:37
↓ 5 callers
Function
applyEchoCsrfFromAuthJson
(data: Record<string, unknown>)
frontend/src/utils/echoCsrf.ts:73
↓ 5 callers
Function
applyEchoHistoryChannelClientCap
( channelId: string, activeChannelIdForCap: string, )
frontend/src/services/realtime/echoHistoryChannelApply.ts:17
↓ 5 callers
Function
applyEchoHistoryInitialPageFromApi
( channelId: string, rawPage: RawMessage[], apiMessageCount: number, activeChannelIdForCap: string,
frontend/src/services/realtime/echoHistoryChannelApply.ts:57
↓ 5 callers
Function
applyEchoMessageAck
( message: Message, sink: EchoMessageAckApplySink, )
frontend/src/services/realtime/socketMessageAckApply.ts:16
↓ 5 callers
Function
applyEmbedTitlesToMessageContent
( content: string, embeds: Embed[] | undefined, )
frontend/src/utils/embedLinkLabels.ts:19
↓ 5 callers
Function
applyFreshQuotaHeaders
( reply: { header: (k: string, v: string | number) => void }, userId: string, dailyLimit: number, )
backend/src/api/routes/serperImageSearch.ts:271
↓ 5 callers
Function
applyLightVariantToDocument
( canonicalTheme: CanonicalThemeId, variant: EchoLightVariantId, )
frontend/src/utils/theme.ts:262
↓ 5 callers
Function
applyPageResponse
( qKey: string, payload: ImageSearchPageResponse, append: boolean, )
frontend/src/composables/useImageSearch.ts:237
↓ 5 callers
Function
applyPaperSmartEmDashToMarkdown
(markdown: string)
frontend/src/features/paper/editor/paperSmartTypography.ts:287
↓ 5 callers
Function
applyPaperSmartTypographyToMarkdown
(markdown: string)
frontend/src/features/paper/editor/paperSmartTypography.ts:294
↓ 5 callers
Function
applyReveal
( prev: EchoCodenamesActivityV1, operativeUserId: string, cardIndex: number, key: readonly EchoCodenam
frontend/src/features/voice/vcCodenamesReducer.ts:389
↓ 5 callers
Function
applyWorkspaceSnapshotToEchoSession
( refs: EchoWorkspaceSessionApplyRefs, state: EchoWorkspaceState, opts?: ApplyWorkspaceSnapshotOptions,
frontend/src/services/domain/workspaceSession.ts:290
↓ 5 callers
Function
applyWrappedFormatting
(wrapper: { prefix: string; suffix?: string; })
frontend/src/features/chat/composables/useChatInputSelectionMenu.ts:192
↓ 5 callers
Function
asPartialObject
(raw: unknown)
backend/src/domain/permissionOverwriteMerge.ts:52
↓ 5 callers
Function
asRecord
(v: unknown)
shared/discordMessageComponents.ts:50
↓ 5 callers
Function
assertDmCallMediaPreflightOk
( retry?: () => void | Promise<void>, )
frontend/src/features/layout/composables/useAppLayoutDmCalls.ts:913
↓ 5 callers
Function
assertEchoUserHasServerMembershipSlot
( pool: Queryable, userId: string, )
backend/src/domain/echoPlanEntitlements.ts:123
↓ 5 callers
Function
attachmentFingerprint
( attachments: MessageAttachmentPayload[] | undefined, )
frontend/src/features/chat/viewModel/messageWithAuthor.ts:38
↓ 5 callers
Function
baseEnv
()
scripts/prod-rolling-deploy.mjs:88
↓ 5 callers
Function
basePath
(scope: MlsScope)
frontend/src/services/voice/mls/mlsDeliveryClient.ts:12
↓ 5 callers
Function
batchGetEffectiveChannelPermissions
( pool: pg.Pool, serverId: string, userId: string, channelIds: string[], )
backend/src/domain/echoStore/permissions.ts:162
↓ 5 callers
Function
bestKeywordIndex
( fileLower: string, keywords: readonly string[], )
frontend/src/utils/iconChannelSort.ts:242
↓ 5 callers
Function
bindSearchMessages
(messages: Ref<Record<string, RawMessage[]>>)
frontend/src/composables/useSearch.test.ts:35
↓ 5 callers
Function
blockAttrs
( out: Record<string, unknown>, index = 0, )
backend/src/tests/paperAttribution.test.ts:23
↓ 5 callers
Function
blockEchoUser
( pool: pg.Pool, blockerId: string, blockedId: string, )
backend/src/domain/echoStore/blocks.ts:40
↓ 5 callers
Function
buildAudioCaptureOptions
( mode: VoiceProcessingMode, browser: VoiceBrowserProcessingToggles, )
frontend/src/composables/voiceProcessingPreferences.ts:124
↓ 5 callers
Function
buildBootstrapLobby
(opts: { fromUserId: string; rosterUserIds: string[]; revision: number; })
frontend/src/features/voice/vcCodenamesReducer.ts:279
↓ 5 callers
Function
buildDiscordBridgeOutboundWebhookBody
( message: Message, )
backend/src/services/discordBridgeOutbound.ts:23
↓ 5 callers
Function
buildEchoPublicEmojiCdnPath
(emojiId: string)
backend/src/services/echoEmojiAsset.ts:28
↓ 5 callers
Function
buildEchoServerMarkReadPlan
(params: { serverId: string; channelAttentionByChannelId: Record<string, EchoAttentionChannelSummary>; r
frontend/src/services/domain/echoServerMarkReadTargets.ts:15
↓ 5 callers
Function
buildEvaluationPlan
( pool: pg.Pool, serverId: string, userId: string, channelId: string | undefined, )
backend/src/domain/echoPermissionEvaluate.ts:104
← previous
next →
1,001–1,100 of 11,285, ranked by callers