API reference
interfaces
Clientoptions

Interface: ClientOptions<M>

Type parameters

NameType
Mextends Models<any, any> | undefined

Properties

claimsPath

Optional claimsPath: string

Defined in

packages/client/src/triplit-client.ts:180 (opens in a new tab)


clientId

Optional clientId: string

Defined in

packages/client/src/triplit-client.ts:188 (opens in a new tab)


defaultQueryOptions

Optional defaultQueryOptions: Object

Type declaration

NameType
fetch?FetchOptions
subscription?SubscriptionOptions

Defined in

packages/client/src/triplit-client.ts:191 (opens in a new tab)


migrations

Optional migrations: Migration[]

Defined in

packages/client/src/triplit-client.ts:183 (opens in a new tab)


schema

Optional schema: M

Defined in

packages/client/src/triplit-client.ts:178 (opens in a new tab)


serverUrl

Optional serverUrl: string

Defined in

packages/client/src/triplit-client.ts:182 (opens in a new tab)


storage

Optional storage: StorageOptions

Defined in

packages/client/src/triplit-client.ts:189 (opens in a new tab)


syncSchema

Optional syncSchema: boolean

Defined in

packages/client/src/triplit-client.ts:184 (opens in a new tab)


token

Optional token: string

Defined in

packages/client/src/triplit-client.ts:179 (opens in a new tab)


transport

Optional transport: SyncTransport

Defined in

packages/client/src/triplit-client.ts:185 (opens in a new tab)


variables

Optional variables: Record<string, any>

Defined in

packages/client/src/triplit-client.ts:187 (opens in a new tab)