API reference / @evolu/common / Evolu/Internal / MutationMapping
Type Alias: MutationMapping<P, M>
type MutationMapping<P, M> = M extends "insert"
? InsertableProps<P>
: M extends "update"
? UpdateableProps<P>
: UpsertableProps<P>;
Defined in: packages/common/src/Evolu/Schema.ts:236
Type Parameters
Type Parameter |
---|
P extends Record <string , AnyType > |
M extends MutationKind |