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