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