Update manifest structure (#17547)

Move all sync entities in an `entities` key. Rename functions to
logicFunctions

```json
{
  application: {
    ...
  },
  entities: {
    objects: [],
    logicFunctions: [],
    ...
  }
}
```
This commit is contained in:
martmull
2026-01-30 16:26:45 +01:00
committed by GitHub
parent bc022f82cb
commit f46da3eefd
162 changed files with 2555 additions and 3778 deletions
@@ -98,10 +98,10 @@ export class WorkflowExecutionContextService {
// Use the application's role if set, otherwise fall back to admin role
// In the future we should probably assign the Admin role to the Standard Application
let roleId = application.defaultLogicFunctionRoleId;
let roleId = application.defaultRoleId;
if (!isDefined(roleId)) {
// Fallback: Look up admin role for existing workspaces without defaultLogicFunctionRoleId
// Fallback: Look up admin role for existing workspaces without defaultRoleId
const adminRole = await this.roleService.getRoleByUniversalIdentifier({
universalIdentifier: ADMIN_ROLE.standardId,
workspaceId,
@@ -118,7 +118,7 @@ export class WorkflowExecutionContextService {
workspace,
application: {
...application,
defaultLogicFunctionRoleId: roleId,
defaultRoleId: roleId,
},
});