Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/thunderbird/thunderbolt
/ functions
Functions
1,802 in github.com/thunderbird/thunderbolt
⨍
Functions
1,802
◇
Types & classes
58
Method
close
* Close the database
src/db/wa-sqlite-worker-client.ts:152
Method
close
()
src/db/powersync/database.ts:438
Function
completeSetup
()
src/hooks/use-sync-setup.ts:239
Function
confirmApproval
()
src/hooks/use-sync-setup.ts:214
Function
confirmApprove
()
src/components/pending-device-modal.tsx:27
Function
confirmApprove
()
src/settings/devices.tsx:75
Function
confirmDeny
()
src/components/pending-device-modal.tsx:36
Function
confirmDeny
()
src/settings/devices.tsx:67
Function
confirmRevoke
()
src/settings/devices.tsx:59
Function
connectIntegrationWidgetReducer
( state: ConnectIntegrationWidgetState, action: ConnectIntegrationWidgetAction, )
src/hooks/use-connect-integration-widget-state.ts:27
Method
constructor
(message: string, status: number, options?: ErrorOptions)
backend/src/errors/http-errors.ts:9
Method
constructor
(message: string, options?: ErrorOptions)
backend/src/errors/http-errors.ts:18
Method
constructor
(message: string, options?: ErrorOptions)
backend/src/errors/http-errors.ts:26
Method
constructor
(fetchFn: typeof fetch = globalThis.fetch)
backend/src/pro/weather.ts:42
Method
constructor
(message: string, options?: ErrorOptions)
src/crypto/errors.ts:7
Method
constructor
(message: string, options?: ErrorOptions)
src/crypto/errors.ts:15
Method
constructor
(message: string, options?: ErrorOptions)
src/crypto/errors.ts:23
Method
constructor
(message: string, options?: ErrorOptions)
src/crypto/errors.ts:31
Method
constructor
(response: Response)
src/lib/http.ts:13
Method
constructor
(url: URL, options?: any)
src/lib/tauri-http-transport.ts:28
Method
constructor
(provider: OAuthProvider, missing: MissingPart)
src/lib/auth.ts:55
Method
constructor
(worker: Worker)
src/db/wa-sqlite-worker-client.ts:41
Method
constructor
(db: DBAdapter)
src/db/powersync/TransformableBucketStorage.ts:36
Method
constructor
(private backendUrl: string)
src/db/powersync/connector.ts:90
Method
constructor
(options: ThunderboltPowerSyncOptions)
src/db/powersync/ThunderboltPowerSyncDatabase.ts:22
Function
continueFirstDeviceSetup
()
src/hooks/use-sync-setup.ts:153
Function
continueIntro
()
src/hooks/use-sync-setup.ts:112
Method
control
* 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
Function
convertDbChatMessageToUIMessage
(message: ChatMessage)
src/lib/utils.ts:26
Function
createMockMode
(overrides?: Partial<Mode>)
src/test-utils/chat-store-mocks.ts:13
Function
createQueryTestWrapperWithCache
()
src/test-utils/react-query.tsx:58
Function
createTestProviderWithCache
(options?: { mockResponse?: unknown })
src/test-utils/test-provider.tsx:93
Function
customHandler
(urls: string[])
src/hooks/use-deep-link-listener.test.ts:401
Method
database
* Get the underlying database implementation. * Throws an error if not initialized.
src/db/database.ts:75
Method
db
()
src/db/bun-sqlite-database.ts:20
Method
db
()
src/db/wa-sqlite-database.ts:25
Method
db
* Get the Drizzle database instance. * Throws an error if not initialized.
src/db/database.ts:64
Method
db
()
src/db/powersync/database.ts:190
Function
decode
(encoded: string)
src/db/encryption/codec.ts:79
Function
defaultImpl
()
src/test-utils/http-client-spy.ts:17
Function
denyDevice
(httpClient: HttpClient, deviceId: string, canarySecret: string)
src/api/encryption.ts:84
Function
deviceDenied
()
src/hooks/use-sync-setup.ts:240
Function
dialogReducer
(state: DialogState, action: DialogAction)
src/hooks/use-external-link-dialog.ts:32
Method
driver
(sql: string, params: unknown[], method: 'get' | 'all' | 'values' | 'run')
src/db/wa-sqlite-database.ts:56
Function
encode
(plaintext: string)
src/db/encryption/codec.ts:64
Function
ensureValidGoogleToken
( httpClient: HttpClient, credentials: { access_token: string refresh_token?: string expires_a
src/integrations/google/utils.ts:157
Function
exchangeCodeForTokens
( httpClient: HttpClient, code: string, codeVerifier: string, redirectUri?: string, )
src/integrations/google/auth.ts:73
Function
exchangeCodeForTokens
( httpClient: HttpClient, code: string, codeVerifier: string, redirectUri?: string, )
src/integrations/microsoft/auth.ts:64
Function
fetch
(input: RequestInfo | URL, init?: RequestInit)
src/lib/fetch.ts:15
Function
fetch
(req)
scripts/local-update-server.ts:22
Function
flush
()
backend/src/proxy/streaming.ts:42
Function
flush
(controller: TransformStreamDefaultController<LanguageModelV2StreamPart>)
src/ai/middleware/tool-calls.ts:203
Method
generateBucketStorageAdapter
* Override: Returns TransformableBucketStorage instead of SqliteBucketStorage. * * Why: PowerSyncDatabase creates a plain SqliteBucketStorage by
src/db/powersync/ThunderboltPowerSyncDatabase.ts:35
Method
generateStreamingImplementation
()
src/db/powersync/worker/ThunderboltSharedSyncImplementation.ts:23
Function
getAll
()
src/test-utils/powersync-mock.tsx:33
Function
getCapabilities
()
src/lib/platform.ts:193
Function
getCurrent
()
src/hooks/use-deep-link-listener.test.ts:369
Method
getDbTypeName
()
src/db/database.ts:45
Function
getEntries
(ids: string[])
src/crypto/key-storage.ts:68
Function
getGoogleCredentials
()
src/integrations/google/utils.ts:134
Function
getOAuthConfig
(httpClient: HttpClient, provider: OAuthProvider)
src/lib/auth.ts:87
Function
getSettings
()
src/hooks/use-deep-link-listener.test.ts:371
Function
getSnapshot
()
src/hooks/use-mobile.ts:16
Function
getSnapshot
()
src/hooks/use-powersync-status.ts:83
Function
getUserInfo
(accessToken: string)
src/integrations/google/auth.ts:87
Function
getUserInfo
(accessToken: string)
src/integrations/microsoft/auth.ts:78
Function
globalSetup
()
e2e/global-setup.ts:11
Function
globalTeardown
()
e2e/global-teardown.ts:8
Function
goBack
()
src/components/sign-in/use-sign-in-form-state.ts:225
Function
goBack
()
src/hooks/use-sync-setup.ts:151
Function
goToMainMenu
()
src/layout/sidebar/index.tsx:153
Function
goToRecoveryKeyEntry
()
src/hooks/use-sync-setup.ts:178
Function
handleAddModels
()
src/components/ui/header.tsx:38
Function
handleApplyLocalizationSettings
()
src/settings/preferences.tsx:239
Function
handleApprovalContinue
()
src/components/sync-setup/sync-setup-modal.tsx:75
Function
handleBackAction
()
src/components/onboarding/onboarding-dialog.tsx:79
Function
handleButtonClick
()
src/components/ui/chat-nav-button.tsx:34
Function
handleCancel
()
src/components/delete-chat-dialog.tsx:31
Function
handleCancel
()
src/components/delete-all-chats-dialog.tsx:30
Function
handleCancel
()
src/components/sign-in/use-sign-in-form-state.ts:218
Function
handleCancel
()
src/stories/DeleteChatDialog.stories.tsx:42
Function
handleChange
(event: ChangeEvent<HTMLInputElement>)
src/components/ui/page-search.tsx:97
Function
handleChange
(event: ChangeEvent<HTMLInputElement>)
src/components/ui/search-input.tsx:41
Function
handleChange
()
src/lib/theme-provider.tsx:106
Function
handleClear
()
src/components/ui/search-input.tsx:50
Function
handleClick
()
src/components/connect-provider-button.tsx:66
Function
handleClick
(e: MouseEvent<HTMLAnchorElement>)
src/components/chat/markdown-utils.tsx:245
Function
handleClick
(e: MouseEvent<HTMLAnchorElement>)
src/components/chat/source-card.tsx:45
Function
handleClick
(event: MouseEvent<HTMLAnchorElement>)
src/components/ui/nav-link.tsx:17
Function
handleClick
(e: MouseEvent<HTMLAnchorElement>)
src/widgets/link-preview/display.tsx:75
Function
handleClose
()
src/components/sign-in-modal.tsx:30
Function
handleClose
()
src/components/ui/responsive-modal.tsx:86
Function
handleClose
()
src/content-view/sidebar-webview.tsx:33
Function
handleConfirm
()
src/components/revoked-device-modal.tsx:28
Function
handleConfirm
()
src/stories/ExternalLinkDialog.stories.tsx:90
Function
handleConfirm
()
src/stories/DeleteChatDialog.stories.tsx:37
Function
handleConfirm
()
src/stories/DeleteAllChatsDialog.stories.tsx:37
Function
handleConnect
()
src/widgets/connect-integration/widget.tsx:165
Function
handleConnectionChange
(connected: boolean)
src/stories/onboarding/wrappers/OnboardingAuthStepWrapper.tsx:10
Function
handleContinue
()
src/components/magic-link-verify.tsx:84
← previous
next →
1,501–1,600 of 1,802, ranked by callers