Type Alias: GraphQLTransportOptions<Mutations>
GraphQLTransportOptions<
Mutations> =object
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:61
Type Parameters
Mutations
Mutations extends TransportMutations = EmptyTransportMutations
Properties
byId?
optionalbyId?:Readonly<Record<string,GraphQLByIdConfig>>
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:62
decodeNodeId?
optionaldecodeNodeId?: (type,id) =>string|number
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:63
Parameters
type
string
id
string | number
Returns
string | number
durableMutations?
optionaldurableMutations?:ReadonlyArray<Extract<keyofMutations,string>>
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:64
encodeNodeId?
optionalencodeNodeId?: (type,id) =>string|number
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:65
Parameters
type
string
id
string | number
Returns
string | number
eventSource?
optionaleventSource?:EventSourceConstructor
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:66
fetch?
optionalfetch?:FetchLike
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:67
headers?
optionalheaders?:HeadersFactory
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:68
live?
optionallive?:boolean|GraphQLLiveOptions
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:69
mutateDurably?
optionalmutateDurably?:Transport<Mutations>["mutateDurably"]
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:70
mutations?
optionalmutations?:Record<Extract<keyofMutations,string>,GraphQLMutationRuntimeConfig>
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:71
nodes?
optionalnodes?:boolean
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:72
roots?
optionalroots?:Record<string,GraphQLRootConfig>
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:73
schema?
optionalschema?:GraphQLArgumentSchema
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:74
streaming?
optionalstreaming?:boolean
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:75
types
types:
ReadonlyArray<Omit<TypeConfig,"getId"> &Partial<Pick<TypeConfig,"getId">>>
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:76
url
url:
string|URL
Defined in: fate/lib/graphqlTransport-a_I0qghF.d.mts:77