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