MCPcopy Create free account

hub / github.com/Lethalchip/SpaceChatDB / functions

Functions75 in github.com/Lethalchip/SpaceChatDB

↓ 12 callersFunctionsafe
(name: string, fn: T)
src/lib/stdb.ts:192
↓ 11 callersFunctionmustField
(row: any, field: string, keys: string[])
src/lib/stdb.ts:292
↓ 9 callersFunctionmustFinite
(n: number, name: string)
src/lib/callRuntime.ts:33
↓ 8 callersFunctiongetCoreTable
(conn: DbConnection, snake: string, camel: string)
src/lib/stdb.ts:63
↓ 6 callersFunctioncallReducerArgs
(conn: DbConnection, snake: string, camel: string, args: any)
src/lib/stdb.ts:72
↓ 6 callersFunctionsessionIdStr
(sess: any)
src/lib/stdb.ts:144
↓ 4 callersFunctionstopCallRuntime
()
src/lib/callRuntime.ts:387
↓ 3 callersFunctionapplySettingsRow
(row: any)
src/lib/stdb.ts:301
↓ 3 callersFunctionfail
()
src/lib/stdb.ts:225
↓ 3 callersFunctionfindDbTable
(conn: DbConnection, candidates: string[])
src/lib/stdb.ts:43
↓ 3 callersFunctionidHex
(id: Identity)
src/lib/callRuntime.ts:53
↓ 3 callersFunctionmsgIdOf
(m: any)
src/lib/stdb.ts:125
↓ 3 callersFunctionswallow
(p: any)
src/lib/stdb.ts:583
↓ 2 callersFunctioncompareU64
(a: any, b: any)
src/lib/stdb.ts:117
↓ 2 callersFunctiongetBytes
(row: any, names: string[])
src/lib/callRuntime.ts:123
↓ 2 callersFunctionother_party
(sess: &CallSession, who: Identity)
spacetimedb/src/lib.rs:309
↓ 2 callersFunctionreadField
* Read a column from a row using multiple possible key spellings. * (snake_case vs camelCase vs a couple legacy variants)
src/lib/stdb.ts:206
↓ 2 callersFunctionsafeSendReducer
(conn: DbConnection, snake: string, camel: string, args: any)
src/lib/callRuntime.ts:83
↓ 2 callersFunctionsetActionError
(err: unknown)
src/lib/stdb.ts:34
↓ 2 callersFunctionshouldSwallowReducerError
(e: any)
src/lib/callRuntime.ts:78
↓ 2 callersFunctionstartOrRestartVideo
(rt: ActiveRuntime, session: any)
src/lib/callRuntime.ts:181
↓ 2 callersFunctiontoBigIntId
(v: any)
src/lib/stdb.ts:97
↓ 2 callersFunctionupsertByKey
(arr: T[], key: string, row: T)
src/lib/stdb.ts:130
↓ 2 callersFunctionupsertCallSession
(arr: any[], row: any)
src/lib/stdb.ts:149
↓ 2 callersFunctionvalidateCfg
(cfg: MediaSettings)
src/lib/callRuntime.ts:38
↓ 1 callersFunctionasUint8Array
(val: any)
src/lib/callRuntime.ts:102
↓ 1 callersFunctionattachRowCallbacks
(conn: DbConnection)
src/lib/stdb.ts:332
↓ 1 callersFunctioncallTypeEncodings
(callType: 'Voice' | 'Video')
src/lib/stdb.ts:535
↓ 1 callersFunctioncallTypeOf
(sess: any)
src/lib/callRuntime.ts:73
↓ 1 callersFunctionfloatToPcm16leBytes
(samples: Float32Array)
src/lib/callRuntime.ts:133
↓ 1 callersFunctiongetReducerFn
(conn: DbConnection, snake: string, camel: string)
src/lib/stdb.ts:67
↓ 1 callersFunctionhandleAudioEvent
(row: any)
src/lib/callRuntime.ts:411
↓ 1 callersFunctionhandleVideoEvent
(row: any)
src/lib/callRuntime.ts:437
↓ 1 callersFunctionidentityHex
(id: Identity | null | undefined)
src/lib/stdb.ts:24
↓ 1 callersFunctionlooksLikeSumTypeError
(e: any)
src/lib/stdb.ts:530
↓ 1 callersFunctionmustNumber
* Strict, no-default numeric parsing that supports common SpacetimeDB TS wrappers. * Accepts: number, bigint, numeric string, {value}, {inner}, {v},
src/lib/stdb.ts:224
↓ 1 callersFunctionnormalizeKey
(s: string)
src/lib/stdb.ts:39
↓ 1 callersFunctionpcm16leBytesToFloat
(bytes: Uint8Array)
src/lib/callRuntime.ts:146
↓ 1 callersFunctionremoveByKey
(arr: T[], key: string, value: any)
src/lib/stdb.ts:139
↓ 1 callersFunctionremoveCallSession
(arr: any[], row: any)
src/lib/stdb.ts:158
↓ 1 callersFunctionresampleLinear
(input: Float32Array, inputRate: number, outputRate: number)
src/lib/callRuntime.ts:154
↓ 1 callersFunctionscheduleAudio
(audioCtx: AudioContext, nextPlayTime: number, pcm: Float32Array, sampleRate: number)
src/lib/callRuntime.ts:169
↓ 1 callersFunctionsessionIdOf
(sess: any)
src/lib/callRuntime.ts:57
↓ 1 callersFunctionshouldSwallow
(e: any)
src/lib/stdb.ts:578
↓ 1 callersFunctiontagLower
(v: any)
src/lib/callRuntime.ts:62
↓ 1 callersFunctionuniqueMessages
(rows: any[])
src/lib/stdb.ts:180
↓ 1 callersFunctionupsertChatMessage
(arr: any[], row: any)
src/lib/stdb.ts:163
FunctionacceptCall
(sessionId: Uuid)
src/lib/stdb.ts:592
Functionaccept_call
(ctx: &ReducerContext, session_id: Uuid)
spacetimedb/src/lib.rs:246
FunctioncallType
()
src/module_bindings/request_call_reducer.ts:19
FunctioncallType
()
src/module_bindings/call_session_table.ts:20
FunctioncallType
()
src/module_bindings/types.ts:27
Functionclient_connected
(ctx: &ReducerContext)
spacetimedb/src/lib.rs:122
Functionclient_disconnected
(ctx: &ReducerContext)
spacetimedb/src/lib.rs:145
FunctionconnectStdb
()
src/lib/stdb.ts:412
FunctiondeclineCall
(sessionId: Uuid)
src/lib/stdb.ts:598
Functiondecline_call
(ctx: &ReducerContext, session_id: Uuid)
spacetimedb/src/lib.rs:272
FunctionendCall
(sessionId: Uuid)
src/lib/stdb.ts:604
Functionend_call
(ctx: &ReducerContext, session_id: Uuid)
spacetimedb/src/lib.rs:291
FunctiongetMediaSettingsOrNull
()
src/lib/mediaSettings.ts:21
Functioninit
(ctx: &ReducerContext)
spacetimedb/src/lib.rs:100
Methodprocess
(inputs: Float32Array[][])
src/lib/pcm-capture-worklet.ts:2
FunctionrequestCall
(target: Identity, callType: 'Voice' | 'Video')
src/lib/stdb.ts:552
Functionrequest_call
(ctx: &ReducerContext, target: Identity, call_type: CallType)
spacetimedb/src/lib.rs:208
FunctionrequireMediaSettings
()
src/lib/mediaSettings.ts:25
FunctionsendChat
(text: string)
src/lib/stdb.ts:518
Functionsend_audio_frame
( ctx: &ReducerContext, session_id: Uuid, to: Identity, seq: u32, sample_rate: u32, ch
spacetimedb/src/lib.rs:320
Functionsend_message
(ctx: &ReducerContext, text: String)
spacetimedb/src/lib.rs:186
Functionsend_video_frame
( ctx: &ReducerContext, session_id: Uuid, to: Identity, seq: u32, width: u16, height:
spacetimedb/src/lib.rs:367
FunctionsetNickname
(nickname: string)
src/lib/stdb.ts:524
Functionset_nickname
(ctx: &ReducerContext, nickname: String)
spacetimedb/src/lib.rs:161
FunctionshortHex
(id: Identity | null | undefined)
src/lib/stdb.ts:29
FunctionstartCallRuntime
(session: any, conn: DbConnection, myId: Identity)
src/lib/callRuntime.ts:253
Functionstate
()
src/module_bindings/call_session_table.ts:23
Functionstate
()
src/module_bindings/types.ts:30