MCPcopy Create free account

hub / github.com/thunderbird/thunderbolt / functions

Functions1,802 in github.com/thunderbird/thunderbolt

Methodclose
* Close the database
src/db/wa-sqlite-worker-client.ts:152
Methodclose
()
src/db/powersync/database.ts:438
FunctioncompleteSetup
()
src/hooks/use-sync-setup.ts:239
FunctionconfirmApproval
()
src/hooks/use-sync-setup.ts:214
FunctionconfirmApprove
()
src/components/pending-device-modal.tsx:27
FunctionconfirmApprove
()
src/settings/devices.tsx:75
FunctionconfirmDeny
()
src/components/pending-device-modal.tsx:36
FunctionconfirmDeny
()
src/settings/devices.tsx:67
FunctionconfirmRevoke
()
src/settings/devices.tsx:59
FunctionconnectIntegrationWidgetReducer
( state: ConnectIntegrationWidgetState, action: ConnectIntegrationWidgetAction, )
src/hooks/use-connect-integration-widget-state.ts:27
Methodconstructor
(message: string, status: number, options?: ErrorOptions)
backend/src/errors/http-errors.ts:9
Methodconstructor
(message: string, options?: ErrorOptions)
backend/src/errors/http-errors.ts:18
Methodconstructor
(message: string, options?: ErrorOptions)
backend/src/errors/http-errors.ts:26
Methodconstructor
(fetchFn: typeof fetch = globalThis.fetch)
backend/src/pro/weather.ts:42
Methodconstructor
(message: string, options?: ErrorOptions)
src/crypto/errors.ts:7
Methodconstructor
(message: string, options?: ErrorOptions)
src/crypto/errors.ts:15
Methodconstructor
(message: string, options?: ErrorOptions)
src/crypto/errors.ts:23
Methodconstructor
(message: string, options?: ErrorOptions)
src/crypto/errors.ts:31
Methodconstructor
(response: Response)
src/lib/http.ts:13
Methodconstructor
(url: URL, options?: any)
src/lib/tauri-http-transport.ts:28
Methodconstructor
(provider: OAuthProvider, missing: MissingPart)
src/lib/auth.ts:55
Methodconstructor
(worker: Worker)
src/db/wa-sqlite-worker-client.ts:41
Methodconstructor
(db: DBAdapter)
src/db/powersync/TransformableBucketStorage.ts:36
Methodconstructor
(private backendUrl: string)
src/db/powersync/connector.ts:90
Methodconstructor
(options: ThunderboltPowerSyncOptions)
src/db/powersync/ThunderboltPowerSyncDatabase.ts:22
FunctioncontinueFirstDeviceSetup
()
src/hooks/use-sync-setup.ts:153
FunctioncontinueIntro
()
src/hooks/use-sync-setup.ts:112
Methodcontrol
* Override: Intercepts control() for both PROCESS_TEXT_LINE and PROCESS_BSON_LINE sync data. * * PowerSync >= 1.37 prefers BSON over NDJSON for
src/db/powersync/TransformableBucketStorage.ts:86
FunctionconvertDbChatMessageToUIMessage
(message: ChatMessage)
src/lib/utils.ts:26
FunctioncreateMockMode
(overrides?: Partial<Mode>)
src/test-utils/chat-store-mocks.ts:13
FunctioncreateQueryTestWrapperWithCache
()
src/test-utils/react-query.tsx:58
FunctioncreateTestProviderWithCache
(options?: { mockResponse?: unknown })
src/test-utils/test-provider.tsx:93
FunctioncustomHandler
(urls: string[])
src/hooks/use-deep-link-listener.test.ts:401
Methoddatabase
* Get the underlying database implementation. * Throws an error if not initialized.
src/db/database.ts:75
Methoddb
()
src/db/bun-sqlite-database.ts:20
Methoddb
()
src/db/wa-sqlite-database.ts:25
Methoddb
* Get the Drizzle database instance. * Throws an error if not initialized.
src/db/database.ts:64
Methoddb
()
src/db/powersync/database.ts:190
Functiondecode
(encoded: string)
src/db/encryption/codec.ts:79
FunctiondefaultImpl
()
src/test-utils/http-client-spy.ts:17
FunctiondenyDevice
(httpClient: HttpClient, deviceId: string, canarySecret: string)
src/api/encryption.ts:84
FunctiondeviceDenied
()
src/hooks/use-sync-setup.ts:240
FunctiondialogReducer
(state: DialogState, action: DialogAction)
src/hooks/use-external-link-dialog.ts:32
Methoddriver
(sql: string, params: unknown[], method: 'get' | 'all' | 'values' | 'run')
src/db/wa-sqlite-database.ts:56
Functionencode
(plaintext: string)
src/db/encryption/codec.ts:64
FunctionensureValidGoogleToken
( httpClient: HttpClient, credentials: { access_token: string refresh_token?: string expires_a
src/integrations/google/utils.ts:157
FunctionexchangeCodeForTokens
( httpClient: HttpClient, code: string, codeVerifier: string, redirectUri?: string, )
src/integrations/google/auth.ts:73
FunctionexchangeCodeForTokens
( httpClient: HttpClient, code: string, codeVerifier: string, redirectUri?: string, )
src/integrations/microsoft/auth.ts:64
Functionfetch
(input: RequestInfo | URL, init?: RequestInit)
src/lib/fetch.ts:15
Functionfetch
(req)
scripts/local-update-server.ts:22
Functionflush
()
backend/src/proxy/streaming.ts:42
Functionflush
(controller: TransformStreamDefaultController<LanguageModelV2StreamPart>)
src/ai/middleware/tool-calls.ts:203
MethodgenerateBucketStorageAdapter
* Override: Returns TransformableBucketStorage instead of SqliteBucketStorage. * * Why: PowerSyncDatabase creates a plain SqliteBucketStorage by
src/db/powersync/ThunderboltPowerSyncDatabase.ts:35
MethodgenerateStreamingImplementation
()
src/db/powersync/worker/ThunderboltSharedSyncImplementation.ts:23
FunctiongetAll
()
src/test-utils/powersync-mock.tsx:33
FunctiongetCapabilities
()
src/lib/platform.ts:193
FunctiongetCurrent
()
src/hooks/use-deep-link-listener.test.ts:369
MethodgetDbTypeName
()
src/db/database.ts:45
FunctiongetEntries
(ids: string[])
src/crypto/key-storage.ts:68
FunctiongetGoogleCredentials
()
src/integrations/google/utils.ts:134
FunctiongetOAuthConfig
(httpClient: HttpClient, provider: OAuthProvider)
src/lib/auth.ts:87
FunctiongetSettings
()
src/hooks/use-deep-link-listener.test.ts:371
FunctiongetSnapshot
()
src/hooks/use-mobile.ts:16
FunctiongetSnapshot
()
src/hooks/use-powersync-status.ts:83
FunctiongetUserInfo
(accessToken: string)
src/integrations/google/auth.ts:87
FunctiongetUserInfo
(accessToken: string)
src/integrations/microsoft/auth.ts:78
FunctionglobalSetup
()
e2e/global-setup.ts:11
FunctionglobalTeardown
()
e2e/global-teardown.ts:8
FunctiongoBack
()
src/components/sign-in/use-sign-in-form-state.ts:225
FunctiongoBack
()
src/hooks/use-sync-setup.ts:151
FunctiongoToMainMenu
()
src/layout/sidebar/index.tsx:153
FunctiongoToRecoveryKeyEntry
()
src/hooks/use-sync-setup.ts:178
FunctionhandleAddModels
()
src/components/ui/header.tsx:38
FunctionhandleApplyLocalizationSettings
()
src/settings/preferences.tsx:239
FunctionhandleApprovalContinue
()
src/components/sync-setup/sync-setup-modal.tsx:75
FunctionhandleBackAction
()
src/components/onboarding/onboarding-dialog.tsx:79
FunctionhandleButtonClick
()
src/components/ui/chat-nav-button.tsx:34
FunctionhandleCancel
()
src/components/delete-chat-dialog.tsx:31
FunctionhandleCancel
()
src/components/delete-all-chats-dialog.tsx:30
FunctionhandleCancel
()
src/components/sign-in/use-sign-in-form-state.ts:218
FunctionhandleCancel
()
src/stories/DeleteChatDialog.stories.tsx:42
FunctionhandleChange
(event: ChangeEvent<HTMLInputElement>)
src/components/ui/page-search.tsx:97
FunctionhandleChange
(event: ChangeEvent<HTMLInputElement>)
src/components/ui/search-input.tsx:41
FunctionhandleChange
()
src/lib/theme-provider.tsx:106
FunctionhandleClear
()
src/components/ui/search-input.tsx:50
FunctionhandleClick
()
src/components/connect-provider-button.tsx:66
FunctionhandleClick
(e: MouseEvent<HTMLAnchorElement>)
src/components/chat/markdown-utils.tsx:245
FunctionhandleClick
(e: MouseEvent<HTMLAnchorElement>)
src/components/chat/source-card.tsx:45
FunctionhandleClick
(event: MouseEvent<HTMLAnchorElement>)
src/components/ui/nav-link.tsx:17
FunctionhandleClick
(e: MouseEvent<HTMLAnchorElement>)
src/widgets/link-preview/display.tsx:75
FunctionhandleClose
()
src/components/sign-in-modal.tsx:30
FunctionhandleClose
()
src/components/ui/responsive-modal.tsx:86
FunctionhandleClose
()
src/content-view/sidebar-webview.tsx:33
FunctionhandleConfirm
()
src/components/revoked-device-modal.tsx:28
FunctionhandleConfirm
()
src/stories/ExternalLinkDialog.stories.tsx:90
FunctionhandleConfirm
()
src/stories/DeleteChatDialog.stories.tsx:37
FunctionhandleConfirm
()
src/stories/DeleteAllChatsDialog.stories.tsx:37
FunctionhandleConnect
()
src/widgets/connect-integration/widget.tsx:165
FunctionhandleConnectionChange
(connected: boolean)
src/stories/onboarding/wrappers/OnboardingAuthStepWrapper.tsx:10
FunctionhandleContinue
()
src/components/magic-link-verify.tsx:84
← previousnext →1,501–1,600 of 1,802, ranked by callers