MutationConfig
Import
import { MutationConfig } from "@hyper-fetch/db"
Source
Package
Preview
type MutationConfig = {
map: (...args: any[]) => AnyRequestPatch;
onSuccess?: MutationSuccessMode;
optimistic?: boolean;
outbox?: boolean;
request: RequestInstance;
row?: (response: unknown) => unknown;
}
Structure
MutationConfig
| Name | Type | Description |
|---|---|---|
| onSuccess | | |
| optimistic | | |
| outbox | | |
| request | | |
| map | | |
| row | |
