feat: cache custom attributes in IDB
This commit is contained in:
@@ -36,6 +36,11 @@ export const cacheableModels = [
|
||||
dispatchPath: 'agents/revalidate',
|
||||
setMutation: 'agents/SET_AGENTS',
|
||||
},
|
||||
{
|
||||
name: 'custom_attribute_definition',
|
||||
dispatchPath: 'attributes/revalidate',
|
||||
setMutation: 'attributes/SET_CUSTOM_ATTRIBUTE',
|
||||
},
|
||||
];
|
||||
|
||||
export const cacheableModelNames = cacheableModels.map(model => model.name);
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
// idempotently creates any missing stores. So bump this whenever a cached
|
||||
// model's serializer shape changes, or to force all clients to refetch.
|
||||
//
|
||||
// Wednesday, 21 May 2026 — bumped to add canned_response + account_user stores
|
||||
export const DATA_VERSION = '1747785600';
|
||||
// Thursday, 28 May 2026 — bumped to add canned_response + account_user stores + custom_attribute_definition store
|
||||
export const DATA_VERSION = '1748390400';
|
||||
|
||||
Reference in New Issue
Block a user