Interface: ClientMutations
Defined in: packages/react-fate/src/index.tsx:27
Extends
GeneratedClientMutations
Properties
comment.add
readonlycomment.add:MutationDefinition<Comment, {args?:unknown;content:string;postId:string;select:string[]; }, {author?: {banExpires:string|null;banned:boolean|null;banReason:string|null;createdAt:string;displayUsername:string|null;string;emailVerified:boolean;id:string;image:string|null;name:string;password:string|null;role:string;updatedAt:string;username:string|null; } |null;authorId:string|null;content:string;createdAt:string;id:string;post?: {authorId:string;categoryId:string|null;commentCount:number;content:string;createdAt:string;id:string;likes:number;title:string;updatedAt:string; };postId:string; }>
Defined in: example/client/src/fate.ts:12
comment.delete
readonlycomment.delete:MutationDefinition<Comment, {args?:unknown;id:string;select?:string[]; }, {author?: {banExpires:string|null;banned:boolean|null;banReason:string|null;createdAt:string;displayUsername:string|null;string;emailVerified:boolean;id:string;image:string|null;name:string;password:string|null;role:string;updatedAt:string;username:string|null; } |null;authorId:string|null;content:string;createdAt:string;id:string;post?: {authorId:string;categoryId:string|null;commentCount:number;content:string;createdAt:string;id:string;likes:number;title:string;updatedAt:string; };postId:string; }>
Defined in: example/client/src/fate.ts:15
post.add
readonlypost.add:MutationDefinition<Post, {args?:unknown;content:string;select:string[];title:string; },Post>
Defined in: example/client/src/fate.ts:20
post.like
readonlypost.like:MutationDefinition<Post, {args?:unknown;error?:"callSite"|"boundary";id:string;select:string[];slow?:boolean; },Post>
Defined in: example/client/src/fate.ts:21
post.unlike
readonlypost.unlike:MutationDefinition<Post, {args?:unknown;id:string;select:string[]; },Post>
Defined in: example/client/src/fate.ts:22
user.update
readonlyuser.update:MutationDefinition<User, {args?:unknown;name:string;select:string[]; },Record<string,unknown>>
Defined in: example/client/src/fate.ts:25