1858 extensibility create relation metadata decorator in thwenty sdkapplications (#15907)

as title

First PR 
I will update the twenty-cli in another PR
This commit is contained in:
martmull
2025-11-20 10:22:42 +01:00
committed by GitHub
parent 89d166ece6
commit 3190ca5b9e
74 changed files with 162 additions and 118 deletions
@@ -1,6 +1,7 @@
import { STANDARD_OBJECT_IDS } from 'twenty-shared/metadata';
import { isWorkflowRelatedObject } from 'src/engine/metadata-modules/agent/utils/is-workflow-related-object.util';
import { type ObjectMetadataEntity } from 'src/engine/metadata-modules/object-metadata/object-metadata.entity';
import { STANDARD_OBJECT_IDS } from 'src/engine/workspace-manager/workspace-sync-metadata/constants/standard-object-ids';
describe('isWorkflowRelatedObject', () => {
it('should return true for workflow-related objects', () => {
@@ -1,5 +1,6 @@
import { STANDARD_OBJECT_IDS } from 'twenty-shared/metadata';
import { type ObjectMetadataEntity } from 'src/engine/metadata-modules/object-metadata/object-metadata.entity';
import { STANDARD_OBJECT_IDS } from 'src/engine/workspace-manager/workspace-sync-metadata/constants/standard-object-ids';
// All workflow-related standard object IDs that should be filtered out from agent access
const WORKFLOW_STANDARD_OBJECT_IDS = [
@@ -1,5 +1,6 @@
import { STANDARD_OBJECT_IDS } from 'twenty-shared/metadata';
import { type ObjectMetadataEntity } from 'src/engine/metadata-modules/object-metadata/object-metadata.entity';
import { STANDARD_OBJECT_IDS } from 'src/engine/workspace-manager/workspace-sync-metadata/constants/standard-object-ids';
// All workflow-related standard object IDs that should be filtered out from agent access
const WORKFLOW_STANDARD_OBJECT_IDS = [