Type Alias: GraphQLTransportOptions<Mutations>
GraphQLTransportOptions<
Mutations> =object
Defined in: fate/src/graphqlTransport.ts:110
Type Parameters
Mutations
Mutations extends TransportMutations = EmptyTransportMutations
Properties
byId?
optionalbyId?:Readonly<Record<string,GraphQLByIdConfig>>
Defined in: fate/src/graphqlTransport.ts:113
decodeNodeId?
optionaldecodeNodeId?: (type,id) =>string|number
Defined in: fate/src/graphqlTransport.ts:114
Parameters
type
string
id
string | number
Returns
string | number
durableMutations?
optionaldurableMutations?:ReadonlyArray<Extract<keyofMutations,string>>
Defined in: fate/src/graphqlTransport.ts:115
encodeNodeId?
optionalencodeNodeId?: (type,id) =>string|number
Defined in: fate/src/graphqlTransport.ts:116
Parameters
type
string
id
string | number
Returns
string | number
eventSource?
optionaleventSource?:EventSourceConstructor
Defined in: fate/src/graphqlTransport.ts:117
fetch?
optionalfetch?:FetchLike
Defined in: fate/src/graphqlTransport.ts:118
headers?
optionalheaders?:HeadersFactory
Defined in: fate/src/graphqlTransport.ts:119
live?
optionallive?:boolean|GraphQLLiveOptions
Defined in: fate/src/graphqlTransport.ts:120
mutateDurably?
optionalmutateDurably?:Transport<Mutations>["mutateDurably"]
Defined in: fate/src/graphqlTransport.ts:121
mutations?
optionalmutations?:Record<Extract<keyofMutations,string>,GraphQLMutationRuntimeConfig>
Defined in: fate/src/graphqlTransport.ts:122
nodes?
optionalnodes?:boolean
Defined in: fate/src/graphqlTransport.ts:123
roots?
optionalroots?:Record<string,GraphQLRootConfig>
Defined in: fate/src/graphqlTransport.ts:124
schema?
optionalschema?:GraphQLArgumentSchema
Defined in: fate/src/graphqlTransport.ts:125
streaming?
optionalstreaming?:boolean
Defined in: fate/src/graphqlTransport.ts:126
types
types:
ReadonlyArray<Omit<TypeConfig,"getId"> &Partial<Pick<TypeConfig,"getId">>>
Defined in: fate/src/graphqlTransport.ts:127
url
url:
string|URL
Defined in: fate/src/graphqlTransport.ts:128