Interface: CacheStoreOptions
Defined in: schemas/v2/cache/store.ts:83
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
events? | EventEmitter<CacheStoreEventMap> | - | - |
initial? | (CacheStoreItem<"address"> | CacheStoreItem<"benefit"> | CacheStoreItem<"campaign"> | CacheStoreItem<"client"> | CacheStoreItem<"deliverable"> | CacheStoreItem<"goal"> | CacheStoreItem<"media"> | CacheStoreItem<"member"> | CacheStoreItem<"post"> | CacheStoreItem<"pledge-event"> | CacheStoreItem<"tier"> | CacheStoreItem<"user"> | CacheStoreItem<"webhook">)[] | - | - |
patchUnknownItem? | boolean | When editing an item, store the new attributes when no item is found. Otherwise, the item will not be updated. Default false | CacheStoreSharedOptions.patchUnknownItem |
requestSyncOptions? | { allowedMethods?: RequestMethod[]; requireMockAttributes?: boolean; } | - | - |
requestSyncOptions.allowedMethods? | RequestMethod[] | The allowed request methods used for syncing requests Default ['DELETE', 'POST', 'PATCH'] | - |
requestSyncOptions.requireMockAttributes? | boolean | Throw an error if no mocked attributes are generated. Default false | - |