Skip to content

Type Alias: ClientSourceOptions ​

ClientSourceOptions = object

Defined in: fate/src/codegen/client.ts:113

Properties ​

clientModule? ​

optional clientModule?: ClientModule

Defined in: fate/src/codegen/client.ts:115

Package providing the client runtime. Defaults to @nkzw/fate.


moduleExports ​

moduleExports: ModuleExports

Defined in: fate/src/codegen/client.ts:117

The imported server or GraphQL mapping module.


moduleName ​

moduleName: string

Defined in: fate/src/codegen/client.ts:119

Import specifier for that module, resolved from the generated file.


runtimeModuleName? ​

optional runtimeModuleName?: string

Defined in: fate/src/codegen/client.ts:121

Override the runtime import used by the Void transport during SSR.


transport? ​

optional transport?: "graphql" | "native" | "trpc" | "void"

Defined in: fate/src/codegen/client.ts:123

Defaults to trpc.

Released under the MIT License