MCPcopy Create free account

hub / github.com/instantdb/instant / functions

Functions5,261 in github.com/instantdb/instant

↓ 19 callersMethodresult
()
client/packages/cli/src/ui/lib.ts:296
↓ 19 callersFunctionsched
(fn: () => void, ms: number)
client/www/components/new-landing/BatteriesForAI.tsx:31
↓ 19 callersFunctionwithCommand
(command: string)
client/packages/cli/src/lib/http.ts:29
↓ 18 callersMethod_pendingMutations
()
client/packages/core/src/Reactor.js:916
↓ 18 callersFunctionaddLine
(line: string)
client/packages/cli/src/renderSchemaPlan.ts:188
↓ 18 callersMethodas_user
( self, *, email: str | None = None, token: str | None = None, guest:
client/packages/python/src/instantdb/_sync/client.py:59
↓ 18 callersMethodgetPresence
( roomType: RoomType, roomId: string, )
client/packages/admin/src/index.ts:475
↓ 18 callersFunctionmock_transport
Factory for an httpx MockTransport that captures requests. Usage: transport, captured = mock_transport(lambda req: httpx.Response(200, js
client/packages/python/tests/conftest.py:18
↓ 18 callersFunctionsetInMap
(m: Map<any, any>, path: any[], value: any)
client/packages/core/src/store.ts:198
↓ 18 callersFunctionuseLocalStorage
( k: string, defaultValue: T, saveDefaultValue = false, )
client/www/lib/hooks/useLocalStorage.tsx:30
↓ 18 callersMethodwaitForKeyToLoad
(k: K)
client/packages/core/src/utils/PersistedObject.ts:205
↓ 17 callersFunctionallMapValues
(m, level, res: any[] = [])
client/packages/core/src/store.ts:671
↓ 17 callersMethodbind
(prompt: Prompt<any>)
client/packages/cli/src/ui/lib.ts:106
↓ 17 callersFunctioncreateTestingStream
()
client/packages/resumable-stream/__tests__/src/testing-stream.ts:1
↓ 17 callersFunctionexpectTxType
( txSteps: MigrationTx[], type: keyof MigrationTxTypes, count?: number, )
client/packages/platform/__tests__/src/migrations.test.ts:58
↓ 17 callersMethodremoveItem
(k: string)
client/packages/react-native-mmkv/src/index.ts:33
↓ 16 callersFunctioncheckIndexIntegrity
({ store, attrsStore, }: { store: Store; attrsStore: AttrsStore; })
client/packages/core/__tests__/src/store.test.ts:38
↓ 16 callersMethodcreateToken
( input: string | { email: string } | { id: string }, )
client/packages/admin/src/index.ts:629
↓ 16 callersMethodgetAttr
(id: string)
client/packages/core/src/store.ts:55
↓ 16 callersMethodpost
( self, path: str, *, json: Any = None, params: dict[str, Any] | None
client/packages/python/src/instantdb/_async/http.py:85
↓ 16 callersFunctionsetup
(props: any)
client/packages/cli/__tests__/multiSelect.test.ts:41
↓ 16 callersMethodsubscribeInfiniteQuery
* Subscribe to a query and incrementally load more items * * Only one top level namespace in the query is allowed. * @example * const { un
client/packages/core/src/index.ts:758
↓ 16 callersMethodtoken
()
client/packages/platform/src/api.ts:1457
↓ 16 callersFunctionuseDarkMode
()
client/www/components/dash/DarkModeToggle.tsx:19
↓ 16 callersFunctionuseIsHydrated
()
client/www/lib/hooks/useIsHydrated.tsx:3
↓ 15 callersFunction_http
()
client/packages/python/tests/test_streams_state.py:21
↓ 15 callersFunction_prepare_upload
(file: FileSource, file_size: int | None)
client/packages/python/src/instantdb/_sync/_upload_io.py:56
↓ 15 callersFunctionaddNumberItem
(db: any, value: number)
client/packages/core/__tests__/src/infiniteQuery.e2e.test.ts:5
↓ 15 callersMethodhelpers
* Schema-bound helpers for building typed handler maps. * * - `typedHandlers(namespace, action, handler)` builds a single typed entry. * Pa
client/packages/webhooks/src/index.ts:836
↓ 15 callersFunctionisObject
(val)
client/packages/core/src/utils/object.js:90
↓ 15 callersFunctionlink
(url: string, text?: string)
client/packages/cli/src/logging.ts:36
↓ 15 callersMethodloadNextPage
()
client/packages/solidjs/src/InstantSolidDatabase.ts:238
↓ 15 callersFunctiononClose
()
client/packages/components/src/components/ui.tsx:643
↓ 15 callersFunctionrun
(effect: Effect.Effect<A, any, GlobalOpts>, yes: boolean)
client/packages/cli/__tests__/args.test.ts:7
↓ 15 callersMethodunsubscribe
( hash: string, cb: SyncTableCallback<any, any, any>, keepSubscription: boolean | null | undefined
client/packages/core/src/SyncTable.ts:498
↓ 15 callersMethodvalidate
* Verifies an `Instant-Signature` header against a body and returns the * parsed {@link WebhookBody} (containing the `payloadUrl` and a JWT * `t
client/packages/webhooks/src/index.ts:940
↓ 15 callersMethodwithRetry
( f: F, args: Parameters<F>, )
client/packages/platform/src/api.ts:1509
↓ 14 callersFunctionadd
(flags: Map<string, string>, opts = { yes: true })
client/packages/cli/__tests__/authOriginManagement.test.ts:101
↓ 14 callersMethodcreateReadStream
(opts)
client/packages/core/src/Reactor.js:912
↓ 14 callersFunctioncreateTestDir
()
client/packages/create-instant-app/__tests__/e2e/helpers.ts:75
↓ 14 callersFunctionextractLookup
(attrs: AttrsStore, etype: string, eid: string)
client/packages/core/src/instaml.ts:120
↓ 14 callersMethodfinally
(cb: () => void)
client/packages/platform/src/ProgressPromise.ts:94
↓ 14 callersFunctiongetAttrByFwdIdentName
( attrsStore: AttrsStore, inputEtype: string, inputLabel: string, )
client/packages/core/src/store.ts:840
↓ 14 callersFunctiongetCodeColors
(theme: Theme, message: string)
client/packages/create-instant-app/src/utils/logger.ts:4
↓ 14 callersMethodgetCurrentUser
* @param {{ forceReadFromStorage?: boolean }} [opts] * @returns {Promise<AuthState>}
client/packages/core/src/Reactor.js:2141
↓ 14 callersMethodgetLocalId
* Given a key, returns a stable local id, unique to this device and app. * * This can be useful if you want to create guest ids for example.
client/packages/core/src/Reactor.js:1895
↓ 14 callersFunctionmakeWebhook
(overrides: any = {})
client/packages/cli/__tests__/webhooks.test.ts:85
↓ 14 callersMethodmerge
(self, args: dict[str, Any], opts: dict[str, Any] | None = None)
client/packages/python/src/instantdb/_transact.py:82
↓ 14 callersFunctionrun
(flags: Map<string, string>, { yes }: { yes: boolean })
client/packages/cli/__tests__/authClientAddLinkedin.test.ts:68
↓ 14 callersFunctionrunCreateInstantApp
( args: string[], opts: { env?: Record<string, string>; cwd?: string; timeout?: number; } =
client/packages/create-instant-app/__tests__/e2e/helpers.ts:21
↓ 14 callersMethodstop
()
examples/ai-chat/src/components/ai-elements/speech-input.tsx:16
↓ 14 callersFunctionstrOpts
(...values: string[])
client/packages/cli/__tests__/multiSelect.test.ts:48
↓ 13 callersMethod_handle_message
(self, msg: dict[str, Any])
client/packages/python/src/instantdb/_async/subscribe.py:144
↓ 13 callersFunctionapiSchemaToInstantSchemaDef
( apiSchema: InstantAPIPlatformSchema, )
client/packages/platform/src/api.ts:446
↓ 13 callersFunctioncreateDotName
(step: MigrationTx)
client/packages/cli/src/renderSchemaPlan.ts:171
↓ 13 callersFunctionisMinRole
(minRole: Role, role: Role)
client/www/pages/dash/index.tsx:191
↓ 13 callersFunctiononChange
(v: Schema[typeof name])
client/www/lib/hooks/useForm.tsx:108
↓ 13 callersFunctionstem
(word: string)
client/www/components/essays/sketch/sketch.ts:3
↓ 13 callersMethodtoggleCursor
(state: 'hide' | 'show')
client/packages/cli/src/ui/lib.ts:148
↓ 13 callersFunctionuseExplorerProps
()
client/packages/components/src/components/explorer/index.tsx:60
↓ 13 callersFunctionuseWebhooksManager
( fun: (manager: WebhooksManager<any>) => Promise<R>, errorMessage?: string, )
client/packages/cli/src/lib/webhooks.ts:27
↓ 12 callersFunctionaddNumberItems
(db: any, values: number[])
client/packages/core/__tests__/src/infiniteQuery.e2e.test.ts:9
↓ 12 callersMethodclose
()
client/packages/core/src/Connection.ts:56
↓ 12 callersMethodcreateWriteStream
(opts)
client/packages/core/src/Reactor.js:908
↓ 12 callersFunctionidbSnapshot
(idb, { includeMeta })
client/packages/core/__tests__/src/utils/PersistedObject.test.ts:8
↓ 12 callersFunctioninit
* * The first step: init your application! * * Visit https://instantdb.com/dash to get your `appId` :) * * @example * import { init } from "@in
client/packages/core/src/index.ts:967
↓ 12 callersFunctioninit
* * The first step: init your application! * * Visit https://instantdb.com/dash to get your `appId` :) * * @example * import { init } from "@in
client/packages/react-native/src/index.ts:128
↓ 12 callersFunctionjsonFetch
( input: RequestInfo, init: RequestInit | undefined, )
client/packages/core/src/utils/fetch.ts:120
↓ 12 callersFunctionrun
(flags: Map<string, string>, { yes }: { yes: boolean })
client/packages/cli/__tests__/authClientAddGithub.test.ts:62
↓ 12 callersFunctionsetup
(props: any)
client/packages/cli/__tests__/select.test.ts:24
↓ 12 callersFunctiontoNum
(v: unknown)
client/www/lib/cel.ts:76
↓ 12 callersFunctionuseAuthedFetch
(path: string)
client/www/lib/auth.ts:93
↓ 12 callersFunctionwithout
(flags: Map<string, string>, key: string)
client/packages/cli/__tests__/authClientAddApple.test.ts:104
↓ 11 callersFunctioncoerceToDate
(x: unknown)
client/packages/core/src/utils/dates.ts:234
↓ 11 callersFunctiondisplayValue
(x: any)
client/sandbox/react-nextjs/pages/play/pagination.tsx:226
↓ 11 callersFunctionfetch
()
examples/bun-react/src/getUnusedPort.ts:23
↓ 11 callersFunctionhash
(s: string)
client/packages/mcp/src/crypto.ts:3
↓ 11 callersFunctionmakeIcon
(Icon: typeof HomeIcon)
client/www/pages/dash/index.tsx:161
↓ 11 callersFunctionrecord
( namespace: 'posts' | 'comments', action: 'create' | 'update' | 'delete', id = 'r1', )
client/packages/webhooks/__tests__/src/processPayload.test.ts:18
↓ 11 callersMethodsignInWithIdToken
* @param {Object} params * @param {string} params.clientName - The name of the client requesting authorization. * @param {string} params.idToken
client/packages/core/src/Reactor.js:2408
↓ 11 callersFunctiontwel
(el: string, cls: ClassValue[] | ClassValue)
client/packages/components/src/components/ui.tsx:1409
↓ 10 callersMethod#authedFetch
( path: string, opts?: { method?: string; body?: unknown }, )
client/packages/webhooks/src/index.ts:602
↓ 10 callersMethod_gc
()
client/packages/core/src/utils/PersistedObject.ts:355
↓ 10 callersMethod_headers
( self, *, unauthenticated: bool = False, admin_only: bool = False )
client/packages/python/src/instantdb/_sync/http.py:53
↓ 10 callersFunction_writer
()
client/packages/python/tests/test_streams_state.py:25
↓ 10 callersFunctionaddMessage
(text: string)
client/sandbox/react-nextjs/pages/play/sync-table.tsx:270
↓ 10 callersFunctionapi_error_from_response
(response: httpx.Response)
client/packages/python/src/instantdb/_http_errors.py:15
↓ 10 callersFunctionbuildManager
( overrides: { list?: any[]; createReturns?: any; updateReturns?: any; deleteReturns?: any;
client/packages/cli/__tests__/webhooks.test.ts:120
↓ 10 callersMethodcreateAuthorizationURL
* Creates an OAuth authorization URL. * * @param {Object} params - The parameters to create the authorization URL. * @param {string} params.c
client/packages/core/src/Reactor.js:2355
↓ 10 callersFunctioncreateStore
( attrsStore: AttrsStore, triples: Triple[], enableCardinalityInference?: boolean | null, useDateObjec
client/packages/core/src/store.ts:315
↓ 10 callersFunctiondeleteInMap
(m, path)
client/packages/core/src/store.ts:187
↓ 10 callersFunctionerror
(firstArg, ...rest)
client/packages/cli/src/old.js:22
↓ 10 callersFunctioneventsPage
( events: any[], hasNextPage = false, endCursor: string | null = null, )
client/packages/cli/__tests__/webhooks.test.ts:107
↓ 10 callersFunctionexceptionToast
(e: unknown, backupMsg: string)
client/www/components/dash/OAuthApps.tsx:319
↓ 10 callersFunctionformat
(code: string)
client/packages/platform/__tests__/src/typescript-schema.test.ts:20
↓ 10 callersFunctionformatValue
(v: unknown)
client/www/app/api/webhooks/config/route.ts:40
↓ 10 callersFunctiongenerateSchemaTypescriptFile
( prevSchema: GenericSchemaDef | null | undefined, newSchema: GenericSchemaDef, instantModuleName: strin
client/packages/platform/src/schema.ts:361
↓ 10 callersFunctiongetFilePubSub
()
client/sandbox/react-nextjs/lib/file-pubsub.ts:35
↓ 10 callersFunctionmakeEvent
(overrides: any = {})
client/packages/cli/__tests__/webhooks.test.ts:97
↓ 10 callersMethodopen
()
client/packages/react-native/src/EventSourceShim.ts:68
← previousnext →101–200 of 5,261, ranked by callers