Synchronization between Core Views and Workspace Views (#13461)

Closes https://github.com/twentyhq/core-team-issues/issues/1248

- Create listeners on each CRUD operation for all view related objects
and update the core views accordingly

Some fields have to be parsed since we changed the data model a little
bit when switching to core views.
This commit is contained in:
Raphaël Bosi
2025-07-28 14:41:27 +02:00
committed by GitHub
parent 400dd6d969
commit 7cf778b579
19 changed files with 1461 additions and 15 deletions
@@ -0,0 +1,11 @@
import { ViewFilterValue } from 'src/engine/metadata-modules/view/types/view-filter-value.type';
export const transformViewFilterWorkspaceValueToCoreValue = (
value: string,
): ViewFilterValue => {
try {
return JSON.parse(value);
} catch {
return value;
}
};