Deprecate nullable syncableEntity (#17279)

# Introduction
As we've been identifying both standard and custom entities for all the
metadata that had standard
We now still need to identify all custom entities enforcing them to have
an `applicationId` and `universalIdentifier`

In this PR we've removed the `SyncableEntityRequired` in favor requiring
props directly in the `SyncableEntity`
Which means that all metadata in db will now expect non nullable
applicationId and universalIdentifier across the whole application

Will add some type cleanup later in
https://github.com/twentyhq/twenty/pull/17277
This commit is contained in:
Paul Rastoin
2026-01-21 11:23:55 +01:00
committed by GitHub
parent b56f45e871
commit 596b7cc62d
28 changed files with 934 additions and 63 deletions
@@ -258,7 +258,7 @@ describe('WorkflowVersionStepOperationsWorkspaceService', () => {
isTool: false,
serverlessFunctionLayerId: 'layer-id',
universalIdentifier: 'universal-id',
applicationId: null,
applicationId: 'application-id',
cronTriggerIds: [],
databaseEventTriggerIds: [],
routeTriggerIds: [],
@@ -337,7 +337,7 @@ describe('WorkflowVersionStepOperationsWorkspaceService', () => {
isTool: false,
serverlessFunctionLayerId: 'layer-id',
universalIdentifier: 'universal-id',
applicationId: null,
applicationId: 'application-id',
cronTriggerIds: [],
databaseEventTriggerIds: [],
routeTriggerIds: [],