DeleteMutation
Import
import { DeleteMutation } from "@hyper-fetch/db"
Source
Package
Preview
type DeleteMutation<Row,KeyField,Req> = {
map: (key: NonNullable<Row[KeyField]>, context: MutationContext) => RequestPatch<Req>;
onSuccess?: MutationSuccessMode;
optimistic?: boolean;
outbox?: boolean;
request: Req;
}
Structure
DeleteMutation
| Name | Type | Description |
|---|---|---|
| onSuccess | | |
| optimistic | |
|
| outbox | |
|
| request | | |
| map | |
