feat: cache custom attributes in IDB

This commit is contained in:
Shivam Mishra
2026-05-27 12:45:30 +05:30
parent 5cb517612f
commit c929319045
7 changed files with 47 additions and 7 deletions
@@ -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);