Skip to content

Function: mutation()

mutation<T, I, R>(entity): MutationDefinition<T, I, R>

Defined in: fate/lib/types-HECWvGpd.d.mts:843

Defines a mutation for a given entity type, preserving the input and output types for transports.

Type Parameters

T

T extends Entity

I

I

R

R

Parameters

entity

T["__typename"]

Returns

MutationDefinition<T, I, R>

Released under the MIT License