@wildo-ai/platform-core-shared 1.0.1 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/LICENSE +34 -0
  2. package/dist/esm/.builder.pid +9 -0
  3. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.d.ts +1 -1
  4. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.d.ts.map +1 -1
  5. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.js +6 -1
  6. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.js.map +1 -1
  7. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.d.ts +20 -0
  8. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.d.ts.map +1 -1
  9. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.js +93 -3
  10. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.js.map +1 -1
  11. package/dist/esm/core/resources/resources-types.custom.shared.schemas.d.ts +4 -1
  12. package/dist/esm/core/resources/resources-types.custom.shared.schemas.d.ts.map +1 -1
  13. package/dist/esm/core/resources/resources-types.custom.shared.schemas.js +7 -1
  14. package/dist/esm/core/resources/resources-types.custom.shared.schemas.js.map +1 -1
  15. package/dist/esm/index.d.ts +14 -8
  16. package/dist/esm/index.d.ts.map +1 -1
  17. package/dist/esm/index.js +16 -1
  18. package/dist/esm/index.js.map +1 -1
  19. package/dist/esm/runtime/application-backend-env.contracts.d.ts +212 -15
  20. package/dist/esm/runtime/application-backend-env.contracts.d.ts.map +1 -1
  21. package/dist/esm/runtime/application-backend-env.contracts.js +256 -20
  22. package/dist/esm/runtime/application-backend-env.contracts.js.map +1 -1
  23. package/dist/esm/runtime/application-worker-env.contracts.d.ts +82 -0
  24. package/dist/esm/runtime/application-worker-env.contracts.d.ts.map +1 -0
  25. package/dist/esm/runtime/application-worker-env.contracts.js +106 -0
  26. package/dist/esm/runtime/application-worker-env.contracts.js.map +1 -0
  27. package/dist/esm/runtime/runtime-topology.contracts.d.ts +10 -3
  28. package/dist/esm/runtime/runtime-topology.contracts.d.ts.map +1 -1
  29. package/dist/esm/runtime/runtime-topology.contracts.js +8 -5
  30. package/dist/esm/runtime/runtime-topology.contracts.js.map +1 -1
  31. package/dist/esm/security/authorizations/roles.custom.shared.definitions.d.ts.map +1 -1
  32. package/dist/esm/security/authorizations/roles.custom.shared.definitions.js +1 -1
  33. package/dist/esm/security/authorizations/roles.custom.shared.definitions.js.map +1 -1
  34. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts +830 -0
  35. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts.map +1 -0
  36. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js +58 -0
  37. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js.map +1 -0
  38. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts +834 -0
  39. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts.map +1 -0
  40. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js +27 -0
  41. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js.map +1 -0
  42. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts +342 -0
  43. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts.map +1 -0
  44. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js +38 -0
  45. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js.map +1 -0
  46. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts +343 -0
  47. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts.map +1 -0
  48. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js +38 -0
  49. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js.map +1 -0
  50. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts.map +1 -1
  51. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js +30 -1
  52. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js.map +1 -1
  53. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts +2 -2
  54. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts.map +1 -1
  55. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js +35 -2
  56. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js.map +1 -1
  57. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.d.ts.map +1 -1
  58. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js +1 -1
  59. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js.map +1 -1
  60. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts +1 -1
  61. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts.map +1 -1
  62. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.js +1 -1
  63. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.js.map +1 -1
  64. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts +57 -0
  65. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts.map +1 -0
  66. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js +59 -0
  67. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js.map +1 -0
  68. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts +79 -0
  69. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts.map +1 -0
  70. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js +198 -0
  71. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js.map +1 -0
  72. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts +65 -0
  73. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts.map +1 -0
  74. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js +120 -0
  75. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js.map +1 -0
  76. package/dist/tsconfig.build.tsbuildinfo +1 -1
  77. package/package.json +21 -15
package/LICENSE ADDED
@@ -0,0 +1,34 @@
1
+ Copyright (c) 2026 P2C Consulting, s.à r.l.-S
2
+ RCS Luxembourg B307591
3
+ 6C, Porte de France, L-4360 Esch-sur-Alzette, Luxembourg
4
+
5
+ All rights reserved.
6
+
7
+ This software and its accompanying materials (the "Software") are the
8
+ confidential and proprietary property of P2C Consulting, s.à r.l.-S (the
9
+ "Licensor"). The Software is made available for viewing only. No licence,
10
+ right, or permission of any kind is granted by its publication or by its
11
+ availability on any package registry or source repository.
12
+
13
+ Without the Licensor's prior written permission, you may not use, copy,
14
+ reproduce, modify, adapt, translate, merge, publish, distribute, sublicense,
15
+ sell, host, or create derivative works of the Software, in whole or in part,
16
+ nor use it to provide a service to any third party.
17
+
18
+ Publication of the Software in any public registry is for distribution to
19
+ authorised recipients and for technical evaluation of its packaging only. It
20
+ does not place the Software in the public domain, does not constitute an open
21
+ source release, and does not waive any right of the Licensor.
22
+
23
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26
+ LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
27
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
+
30
+ Third-party components distributed with the Software remain governed by their
31
+ own licences.
32
+
33
+ Contact: P2C Consulting, s.à r.l.-S, 6C, Porte de France, L-4360
34
+ Esch-sur-Alzette, Luxembourg.
@@ -0,0 +1,9 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "writerPid": 95430,
4
+ "orchestratorPid": 94847,
5
+ "orchestratorSessionId": null,
6
+ "orchestratorStartedAt": "Mon Aug 31 09:18:19 2026",
7
+ "distDirectory": "/Users/paulcayon/Projects/Wildo.ai/dev/wildo-ai/platform/platform-core/platform-core-shared/dist/esm",
8
+ "acquiredAt": "2026-08-31T07:18:20.973Z"
9
+ }
@@ -1,4 +1,4 @@
1
1
  import { ResourceConfiguration_InitializationFactoryMap } from '@wildo-ai/saas-models';
2
- import { CustomShared_ResourceType } from './resources-types.custom.shared.schemas.js';
2
+ import { CustomShared_ResourceType } from './resources-types.custom.shared.schemas';
3
3
  export declare const customShared_ResourcesConfigurationsFactoryMap: ResourceConfiguration_InitializationFactoryMap<CustomShared_ResourceType>;
4
4
  //# sourceMappingURL=resources-operations.custom.shared.definitions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources-operations.custom.shared.definitions.d.ts","sourceRoot":"","sources":["../../../../src/core/resources/resources-operations.custom.shared.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8CAA8C,EAAE,MAAM,uBAAuB,CAAC;AACvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAMpF,eAAO,MAAM,8CAA8C,EAAE,8CAA8C,CAAC,yBAAyB,CAMpI,CAAC"}
1
+ {"version":3,"file":"resources-operations.custom.shared.definitions.d.ts","sourceRoot":"","sources":["../../../../../src/core/resources/resources-operations.custom.shared.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8CAA8C,EAAE,MAAM,uBAAuB,CAAC;AACvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAapF,eAAO,MAAM,8CAA8C,EAAE,8CAA8C,CAAC,yBAAyB,CAYpI,CAAC"}
@@ -2,11 +2,16 @@ import { CustomShared_ResourceType } from './resources-types.custom.shared.schem
2
2
  // Application Management
3
3
  import { wildoApplications_ResourceConfiguration_InitializationFactory } from '../../wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js';
4
4
  import { wildoApplicationVersions_ResourceConfiguration_InitializationFactory } from '../../wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js';
5
+ import { wildoApplicationActorSystemExecutions_ResourceConfiguration_InitializationFactory, wildoApplicationFlowSystemExecutions_ResourceConfiguration_InitializationFactory, } from '../../wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js';
6
+ import { wildoApplicationActorTasks_ResourceConfiguration_InitializationFactory, } from '../../wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js';
5
7
  export const customShared_ResourcesConfigurationsFactoryMap = {
6
8
  // ─────────────────────────────────────────────────────────────────────────────
7
9
  // Application Management
8
10
  // ─────────────────────────────────────────────────────────────────────────────
9
11
  [CustomShared_ResourceType.WILDO_APPLICATION]: wildoApplications_ResourceConfiguration_InitializationFactory,
10
12
  [CustomShared_ResourceType.WILDO_APPLICATION_VERSIONS]: wildoApplicationVersions_ResourceConfiguration_InitializationFactory,
13
+ [CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS]: wildoApplicationActorSystemExecutions_ResourceConfiguration_InitializationFactory,
14
+ [CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS]: wildoApplicationFlowSystemExecutions_ResourceConfiguration_InitializationFactory,
15
+ [CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS]: wildoApplicationActorTasks_ResourceConfiguration_InitializationFactory,
11
16
  };
12
- //# sourceMappingURL=resources-operations.custom.shared.definitions.js.map
17
+ //# sourceMappingURL=resources-operations.custom.shared.definitions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources-operations.custom.shared.definitions.js","sourceRoot":"","sources":["../../../../src/core/resources/resources-operations.custom.shared.definitions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEpF,yBAAyB;AACzB,OAAO,EAAE,6DAA6D,EAAE,MAAM,oFAAoF,CAAC;AACnK,OAAO,EAAE,oEAAoE,EAAE,MAAM,sGAAsG,CAAC;AAE5L,MAAM,CAAC,MAAM,8CAA8C,GAA8E;IACvI,gFAAgF;IAChF,yBAAyB;IACzB,gFAAgF;IAChF,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE,6DAA6D;IAC5G,CAAC,yBAAyB,CAAC,0BAA0B,CAAC,EAAE,oEAAoE;CAC7H,CAAC"}
1
+ {"version":3,"file":"resources-operations.custom.shared.definitions.js","sourceRoot":"","sources":["../../../../../src/core/resources/resources-operations.custom.shared.definitions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEpF,yBAAyB;AACzB,OAAO,EAAE,6DAA6D,EAAE,MAAM,oFAAoF,CAAC;AACnK,OAAO,EAAE,oEAAoE,EAAE,MAAM,sGAAsG,CAAC;AAC5L,OAAO,EACL,iFAAiF,EACjF,gFAAgF,GACjF,MAAM,wGAAwG,CAAC;AAChH,OAAO,EACL,sEAAsE,GACvE,MAAM,8FAA8F,CAAC;AAEtG,MAAM,CAAC,MAAM,8CAA8C,GAA8E;IACvI,gFAAgF;IAChF,yBAAyB;IACzB,gFAAgF;IAChF,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE,6DAA6D;IAC5G,CAAC,yBAAyB,CAAC,0BAA0B,CAAC,EAAE,oEAAoE;IAC5H,CAAC,yBAAyB,CAAC,yCAAyC,CAAC,EACnE,iFAAiF;IACnF,CAAC,yBAAyB,CAAC,wCAAwC,CAAC,EAClE,gFAAgF;IAClF,CAAC,yBAAyB,CAAC,6BAA6B,CAAC,EACvD,sEAAsE;CACzE,CAAC","sourcesContent":["import { ResourceConfiguration_InitializationFactoryMap } from '@wildo-ai/saas-models';\nimport { CustomShared_ResourceType } from './resources-types.custom.shared.schemas';\n\n// Application Management\nimport { wildoApplications_ResourceConfiguration_InitializationFactory } from '../../wildo-applications/wildo-applications.custom.shared.resources-config.schemas';\nimport { wildoApplicationVersions_ResourceConfiguration_InitializationFactory } from '../../wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas';\nimport {\n wildoApplicationActorSystemExecutions_ResourceConfiguration_InitializationFactory,\n wildoApplicationFlowSystemExecutions_ResourceConfiguration_InitializationFactory,\n} from '../../wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas';\nimport {\n wildoApplicationActorTasks_ResourceConfiguration_InitializationFactory,\n} from '../../wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas';\n\nexport const customShared_ResourcesConfigurationsFactoryMap: ResourceConfiguration_InitializationFactoryMap<CustomShared_ResourceType> = {\n // ─────────────────────────────────────────────────────────────────────────────\n // Application Management\n // ─────────────────────────────────────────────────────────────────────────────\n [CustomShared_ResourceType.WILDO_APPLICATION]: wildoApplications_ResourceConfiguration_InitializationFactory,\n [CustomShared_ResourceType.WILDO_APPLICATION_VERSIONS]: wildoApplicationVersions_ResourceConfiguration_InitializationFactory,\n [CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS]:\n wildoApplicationActorSystemExecutions_ResourceConfiguration_InitializationFactory,\n [CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS]:\n wildoApplicationFlowSystemExecutions_ResourceConfiguration_InitializationFactory,\n [CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS]:\n wildoApplicationActorTasks_ResourceConfiguration_InitializationFactory,\n};\n"]}
@@ -1,3 +1,23 @@
1
1
  import { ResourceRelationship } from "@wildo-ai/saas-models";
2
+ /**
3
+ * ⚠️ APPLICATION-CHILD RETENTION (compliance decision, Paul — 2026-07-29).
4
+ *
5
+ * `wildoApplicationVersions`, `wildoApplicationActorSystemExecutions`,
6
+ * `wildoApplicationFlowSystemExecutions` and `wildoApplicationActorTasks` are RETAINED AS AUDIT
7
+ * MATERIAL when their `wildoApplication` is deleted — the deployment/execution history of an
8
+ * application outlives the application record itself. Every `onParentDelete` below is therefore
9
+ * DISABLED.
10
+ *
11
+ * This also FIXES A LATENT BUG rather than merely expressing a preference: these children declare no
12
+ * core DELETE op (`wildoApplicationVersions` exposes READ/LIST/CREATE only), so the cascade would have
13
+ * thrown `ErrorType.CONFIGURATION` inside the parent's delete transaction and ROLLED BACK the
14
+ * application delete as soon as one child row existed. Surfaced by the startup
15
+ * composition-cascade-deletability guard on a live apps-manager boot (2026-07-29) — it was invisible to
16
+ * the engine's regression test, which only rebuilds the CORE registry.
17
+ *
18
+ * A COMPOSITION without `onParentDelete` is an explicitly supported combination: the children are left
19
+ * behind by design choice. The nature stays COMPOSITION because these rows genuinely belong to their
20
+ * application; only the dies-with-parent behaviour is declined.
21
+ */
2
22
  export declare const customShared_ResourcesRelationships: ResourceRelationship[];
3
23
  //# sourceMappingURL=resources-relationships.custom.shared.definitions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources-relationships.custom.shared.definitions.d.ts","sourceRoot":"","sources":["../../../../src/core/resources/resources-relationships.custom.shared.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmD,oBAAoB,EAA4E,MAAM,uBAAuB,CAAC;AAGxL,eAAO,MAAM,mCAAmC,EAAE,oBAAoB,EAqDrE,CAAC"}
1
+ {"version":3,"file":"resources-relationships.custom.shared.definitions.d.ts","sourceRoot":"","sources":["../../../../../src/core/resources/resources-relationships.custom.shared.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmD,oBAAoB,EAA+G,MAAM,uBAAuB,CAAC;AAG3N;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,mCAAmC,EAAE,oBAAoB,EA4KrE,CAAC"}
@@ -1,5 +1,25 @@
1
- import { createResourcesRelationship, RelationshipNature, ResourceRelationshipCardinality, CoreResourceType, CoreResourceOperation } from "@wildo-ai/saas-models";
1
+ import { createResourcesRelationship, RelationshipNature, ResourceRelationshipCardinality, CoreResourceType, CoreResourceOperation, ResourceParentResourceRequirement } from "@wildo-ai/saas-models";
2
2
  import { CustomShared_ResourceType } from "./resources-types.custom.shared.schemas.js";
3
+ /**
4
+ * ⚠️ APPLICATION-CHILD RETENTION (compliance decision, Paul — 2026-07-29).
5
+ *
6
+ * `wildoApplicationVersions`, `wildoApplicationActorSystemExecutions`,
7
+ * `wildoApplicationFlowSystemExecutions` and `wildoApplicationActorTasks` are RETAINED AS AUDIT
8
+ * MATERIAL when their `wildoApplication` is deleted — the deployment/execution history of an
9
+ * application outlives the application record itself. Every `onParentDelete` below is therefore
10
+ * DISABLED.
11
+ *
12
+ * This also FIXES A LATENT BUG rather than merely expressing a preference: these children declare no
13
+ * core DELETE op (`wildoApplicationVersions` exposes READ/LIST/CREATE only), so the cascade would have
14
+ * thrown `ErrorType.CONFIGURATION` inside the parent's delete transaction and ROLLED BACK the
15
+ * application delete as soon as one child row existed. Surfaced by the startup
16
+ * composition-cascade-deletability guard on a live apps-manager boot (2026-07-29) — it was invisible to
17
+ * the engine's regression test, which only rebuilds the CORE registry.
18
+ *
19
+ * A COMPOSITION without `onParentDelete` is an explicitly supported combination: the children are left
20
+ * behind by design choice. The nature stays COMPOSITION because these rows genuinely belong to their
21
+ * application; only the dies-with-parent behaviour is declined.
22
+ */
3
23
  export const customShared_ResourcesRelationships = [
4
24
  // ═══════════════════════════════════════════════════════════════════════════
5
25
  // APPLICATION MANAGEMENT
@@ -34,9 +54,79 @@ export const customShared_ResourcesRelationships = [
34
54
  },
35
55
  childOperations: {
36
56
  lifecycle: {
37
- onParentDelete: { enabled: true }
57
+ onParentDelete: { enabled: false }, // RETAIN as audit material (compliance decision 2026-07-29) — see the note at the top of this file.
38
58
  }
39
59
  }
40
60
  }),
61
+ // Organizations → WildoApplicationActorSystemExecutions (1:N)
62
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
63
+ nature: RelationshipNature.COMPOSITION,
64
+ isPrimaryScope: true,
65
+ contextPolicy: {},
66
+ }),
67
+ // WildoApplication → WildoApplicationActorSystemExecutions (1:N)
68
+ createResourcesRelationship(CustomShared_ResourceType.WILDO_APPLICATION, CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
69
+ nature: RelationshipNature.COMPOSITION,
70
+ contextPolicy: {
71
+ operationOverrides: {
72
+ [CoreResourceOperation.LIST]: { enabled: false },
73
+ [CoreResourceOperation.SEARCH]: { enabled: false },
74
+ },
75
+ },
76
+ childOperations: {
77
+ lifecycle: {
78
+ onParentDelete: { enabled: false }, // RETAIN as audit material (compliance decision 2026-07-29) — see the note at the top of this file.
79
+ },
80
+ },
81
+ }),
82
+ // Organizations → WildoApplicationFlowSystemExecutions (1:N)
83
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
84
+ nature: RelationshipNature.COMPOSITION,
85
+ isPrimaryScope: true,
86
+ contextPolicy: {},
87
+ }),
88
+ // WildoApplication → WildoApplicationFlowSystemExecutions (1:N)
89
+ createResourcesRelationship(CustomShared_ResourceType.WILDO_APPLICATION, CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
90
+ nature: RelationshipNature.COMPOSITION,
91
+ contextPolicy: {
92
+ operationOverrides: {
93
+ [CoreResourceOperation.LIST]: { enabled: false },
94
+ [CoreResourceOperation.SEARCH]: { enabled: false },
95
+ },
96
+ },
97
+ childOperations: {
98
+ lifecycle: {
99
+ onParentDelete: { enabled: false }, // RETAIN as audit material (compliance decision 2026-07-29) — see the note at the top of this file.
100
+ },
101
+ },
102
+ }),
103
+ // Organizations → WildoApplicationActorTasks (1:N)
104
+ createResourcesRelationship(CoreResourceType.ORGANIZATIONS, CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
105
+ nature: RelationshipNature.COMPOSITION,
106
+ isPrimaryScope: true,
107
+ contextPolicy: {},
108
+ }),
109
+ // WildoApplication → WildoApplicationActorTasks (1:N)
110
+ createResourcesRelationship(CustomShared_ResourceType.WILDO_APPLICATION, CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
111
+ nature: RelationshipNature.COMPOSITION,
112
+ contextPolicy: {
113
+ operationOverrides: {
114
+ [CoreResourceOperation.LIST]: { enabled: false },
115
+ [CoreResourceOperation.SEARCH]: { enabled: false },
116
+ },
117
+ },
118
+ childOperations: {
119
+ lifecycle: {
120
+ onParentDelete: { enabled: false }, // RETAIN as audit material (compliance decision 2026-07-29) — see the note at the top of this file.
121
+ },
122
+ },
123
+ }),
124
+ // ActorSystemExecution → WildoApplicationActorTasks (1:N reference)
125
+ createResourcesRelationship(CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS, CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS, ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY, {
126
+ nature: RelationshipNature.REFERENCE,
127
+ foreignKeyField: 'wildoApplicationActorSystemExecutionId',
128
+ parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,
129
+ contextPolicy: {},
130
+ }),
41
131
  ];
42
- //# sourceMappingURL=resources-relationships.custom.shared.definitions.js.map
132
+ //# sourceMappingURL=resources-relationships.custom.shared.definitions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources-relationships.custom.shared.definitions.js","sourceRoot":"","sources":["../../../../src/core/resources/resources-relationships.custom.shared.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,kBAAkB,EAAwB,+BAA+B,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACxL,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEpF,MAAM,CAAC,MAAM,mCAAmC,GAA2B;IACzE,8EAA8E;IAC9E,yBAAyB;IACzB,GAAG;IACH,2EAA2E;IAC3E,qEAAqE;IACrE,oDAAoD;IACpD,8EAA8E;IAE9E,yCAAyC;IACzC,sDAAsD;IACtD,2BAA2B,CACzB,gBAAgB,CAAC,aAAa,EAAE,yBAAyB,CAAC,iBAAiB,EAC3E,+BAA+B,CAAC,GAAG,EAAE,+BAA+B,CAAC,IAAI,EACzE;QACE,MAAM,EAAE,kBAAkB,CAAC,WAAW;QACtC,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,EAAE;KAClB,CACF;IAED,iDAAiD;IACjD,kDAAkD;IAClD,2BAA2B,CACzB,gBAAgB,CAAC,aAAa,EAAE,yBAAyB,CAAC,0BAA0B,EACpF,+BAA+B,CAAC,GAAG,EAAE,+BAA+B,CAAC,IAAI,EACzE;QACE,MAAM,EAAE,kBAAkB,CAAC,WAAW;QACtC,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,EAAE;KAClB,CACF;IAED,oDAAoD;IACpD,0CAA0C;IAC1C,2BAA2B,CACzB,yBAAyB,CAAC,iBAAiB,EAAE,yBAAyB,CAAC,0BAA0B,EACjG,+BAA+B,CAAC,GAAG,EAAE,+BAA+B,CAAC,IAAI,EACzE;QACE,MAAM,EAAE,kBAAkB,CAAC,WAAW;QACtC,aAAa,EAAE;YACb,kBAAkB,EAAE;gBAClB,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;gBAChD,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;aACnD;SACF;QACD,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;aAClC;SACF;KACF,CACF;CACF,CAAC"}
1
+ {"version":3,"file":"resources-relationships.custom.shared.definitions.js","sourceRoot":"","sources":["../../../../../src/core/resources/resources-relationships.custom.shared.definitions.ts"],"names":[],"mappings":"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","sourcesContent":["import { createResourcesRelationship, RelationshipNature, ResourceRelationship, ResourceRelationshipCardinality, CoreResourceType, CoreResourceOperation, ResourceParentResourceRequirement } from \"@wildo-ai/saas-models\";\nimport { CustomShared_ResourceType } from \"./resources-types.custom.shared.schemas\";\n\n/**\n * ⚠️ APPLICATION-CHILD RETENTION (compliance decision, Paul — 2026-07-29).\n *\n * `wildoApplicationVersions`, `wildoApplicationActorSystemExecutions`,\n * `wildoApplicationFlowSystemExecutions` and `wildoApplicationActorTasks` are RETAINED AS AUDIT\n * MATERIAL when their `wildoApplication` is deleted — the deployment/execution history of an\n * application outlives the application record itself. Every `onParentDelete` below is therefore\n * DISABLED.\n *\n * This also FIXES A LATENT BUG rather than merely expressing a preference: these children declare no\n * core DELETE op (`wildoApplicationVersions` exposes READ/LIST/CREATE only), so the cascade would have\n * thrown `ErrorType.CONFIGURATION` inside the parent's delete transaction and ROLLED BACK the\n * application delete as soon as one child row existed. Surfaced by the startup\n * composition-cascade-deletability guard on a live apps-manager boot (2026-07-29) — it was invisible to\n * the engine's regression test, which only rebuilds the CORE registry.\n *\n * A COMPOSITION without `onParentDelete` is an explicitly supported combination: the children are left\n * behind by design choice. The nature stays COMPOSITION because these rows genuinely belong to their\n * application; only the dies-with-parent behaviour is declined.\n */\nexport const customShared_ResourcesRelationships: ResourceRelationship[] = [\n // ═══════════════════════════════════════════════════════════════════════════\n // APPLICATION MANAGEMENT\n // \n // WildoApplication is a resource (not a scope). It represents applications\n // created by users using the wildo-ai-application (the app factory).\n // Primary scope for all resources is Organizations.\n // ═══════════════════════════════════════════════════════════════════════════\n \n // Organizations → WildoApplication (1:N)\n // Primary scope: Applications belong to organizations\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CustomShared_ResourceType.WILDO_APPLICATION, \n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n { \n nature: RelationshipNature.COMPOSITION,\n isPrimaryScope: true,\n contextPolicy: {}\n }\n ),\n\n // Organizations → WildoApplicationVersions (1:N)\n // Primary scope: Versions belong to organizations\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS, CustomShared_ResourceType.WILDO_APPLICATION_VERSIONS, \n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n { \n nature: RelationshipNature.COMPOSITION,\n isPrimaryScope: true,\n contextPolicy: {}\n }\n ),\n\n // WildoApplication → WildoApplicationVersions (1:N)\n // Parent relationship (NOT primary scope)\n createResourcesRelationship(\n CustomShared_ResourceType.WILDO_APPLICATION, CustomShared_ResourceType.WILDO_APPLICATION_VERSIONS, \n ResourceRelationshipCardinality.ONE, ResourceRelationshipCardinality.MANY,\n { \n nature: RelationshipNature.COMPOSITION,\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n }\n },\n childOperations: {\n lifecycle: {\n onParentDelete: { enabled: false }, // RETAIN as audit material (compliance decision 2026-07-29) — see the note at the top of this file.\n }\n }\n }\n ),\n\n // Organizations → WildoApplicationActorSystemExecutions (1:N)\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS,\n CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n isPrimaryScope: true,\n contextPolicy: {},\n }\n ),\n\n // WildoApplication → WildoApplicationActorSystemExecutions (1:N)\n createResourcesRelationship(\n CustomShared_ResourceType.WILDO_APPLICATION,\n CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n },\n },\n childOperations: {\n lifecycle: {\n onParentDelete: { enabled: false }, // RETAIN as audit material (compliance decision 2026-07-29) — see the note at the top of this file.\n },\n },\n }\n ),\n\n // Organizations → WildoApplicationFlowSystemExecutions (1:N)\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS,\n CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n isPrimaryScope: true,\n contextPolicy: {},\n }\n ),\n\n // WildoApplication → WildoApplicationFlowSystemExecutions (1:N)\n createResourcesRelationship(\n CustomShared_ResourceType.WILDO_APPLICATION,\n CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n },\n },\n childOperations: {\n lifecycle: {\n onParentDelete: { enabled: false }, // RETAIN as audit material (compliance decision 2026-07-29) — see the note at the top of this file.\n },\n },\n }\n ),\n\n // Organizations → WildoApplicationActorTasks (1:N)\n createResourcesRelationship(\n CoreResourceType.ORGANIZATIONS,\n CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n isPrimaryScope: true,\n contextPolicy: {},\n }\n ),\n\n // WildoApplication → WildoApplicationActorTasks (1:N)\n createResourcesRelationship(\n CustomShared_ResourceType.WILDO_APPLICATION,\n CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.COMPOSITION,\n contextPolicy: {\n operationOverrides: {\n [CoreResourceOperation.LIST]: { enabled: false },\n [CoreResourceOperation.SEARCH]: { enabled: false },\n },\n },\n childOperations: {\n lifecycle: {\n onParentDelete: { enabled: false }, // RETAIN as audit material (compliance decision 2026-07-29) — see the note at the top of this file.\n },\n },\n }\n ),\n\n // ActorSystemExecution → WildoApplicationActorTasks (1:N reference)\n createResourcesRelationship(\n CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS,\n CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS,\n ResourceRelationshipCardinality.ONE,\n ResourceRelationshipCardinality.MANY,\n {\n nature: RelationshipNature.REFERENCE,\n foreignKeyField: 'wildoApplicationActorSystemExecutionId',\n parentResourceRequirement: ResourceParentResourceRequirement.OPTIONAL,\n contextPolicy: {},\n }\n ),\n];\n"]}
@@ -8,7 +8,10 @@
8
8
  */
9
9
  export declare enum CustomShared_ResourceType {
10
10
  WILDO_APPLICATION = "wildoApplication",
11
- WILDO_APPLICATION_VERSIONS = "wildoApplicationVersions"
11
+ WILDO_APPLICATION_VERSIONS = "wildoApplicationVersions",
12
+ WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS = "wildoApplicationActorSystemExecutions",
13
+ WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS = "wildoApplicationFlowSystemExecutions",
14
+ WILDO_APPLICATION_ACTOR_TASKS = "wildoApplicationActorTasks"
12
15
  }
13
16
  export declare const CustomShared_ResourceFieldIdentifier: {
14
17
  [key in CustomShared_ResourceType]: string;
@@ -1 +1 @@
1
- {"version":3,"file":"resources-types.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/core/resources/resources-types.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,oBAAY,yBAAyB;IAEnC,iBAAiB,qBAAqB;IACtC,0BAA0B,6BAA6B;CACxD;AAED,eAAO,MAAM,oCAAoC,EAAE;KAAG,GAAG,IAAI,yBAAyB,GAAG,MAAM;CAI9F,CAAC"}
1
+ {"version":3,"file":"resources-types.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/core/resources/resources-types.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,oBAAY,yBAAyB;IAEnC,iBAAiB,qBAAqB;IACtC,0BAA0B,6BAA6B;IACvD,yCAAyC,0CAA0C;IACnF,wCAAwC,yCAAyC;IACjF,6BAA6B,+BAA+B;CAC7D;AAED,eAAO,MAAM,oCAAoC,EAAE;KAAG,GAAG,IAAI,yBAAyB,GAAG,MAAM;CAO9F,CAAC"}
@@ -11,10 +11,16 @@ export var CustomShared_ResourceType;
11
11
  // Application management
12
12
  CustomShared_ResourceType["WILDO_APPLICATION"] = "wildoApplication";
13
13
  CustomShared_ResourceType["WILDO_APPLICATION_VERSIONS"] = "wildoApplicationVersions";
14
+ CustomShared_ResourceType["WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS"] = "wildoApplicationActorSystemExecutions";
15
+ CustomShared_ResourceType["WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS"] = "wildoApplicationFlowSystemExecutions";
16
+ CustomShared_ResourceType["WILDO_APPLICATION_ACTOR_TASKS"] = "wildoApplicationActorTasks";
14
17
  })(CustomShared_ResourceType || (CustomShared_ResourceType = {}));
15
18
  export const CustomShared_ResourceFieldIdentifier = {
16
19
  // Application management
17
20
  [CustomShared_ResourceType.WILDO_APPLICATION]: 'wildoApplicationId',
18
21
  [CustomShared_ResourceType.WILDO_APPLICATION_VERSIONS]: 'wildoApplicationVersionId',
22
+ [CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS]: 'wildoApplicationActorSystemExecutionId',
23
+ [CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS]: 'wildoApplicationFlowSystemExecutionId',
24
+ [CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS]: 'wildoApplicationActorTaskId',
19
25
  };
20
- //# sourceMappingURL=resources-types.custom.shared.schemas.js.map
26
+ //# sourceMappingURL=resources-types.custom.shared.schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources-types.custom.shared.schemas.js","sourceRoot":"","sources":["../../../../src/core/resources/resources-types.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,yBAAyB;IACzB,mEAAsC,CAAA;IACtC,oFAAuD,CAAA;AACzD,CAAC,EAJW,yBAAyB,KAAzB,yBAAyB,QAIpC;AAED,MAAM,CAAC,MAAM,oCAAoC,GAAmD;IAClG,yBAAyB;IACzB,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE,oBAAoB;IACnE,CAAC,yBAAyB,CAAC,0BAA0B,CAAC,EAAE,2BAA2B;CACpF,CAAC"}
1
+ {"version":3,"file":"resources-types.custom.shared.schemas.js","sourceRoot":"","sources":["../../../../../src/core/resources/resources-types.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IACnC,yBAAyB;IACzB,mEAAsC,CAAA;IACtC,oFAAuD,CAAA;IACvD,gHAAmF,CAAA;IACnF,8GAAiF,CAAA;IACjF,yFAA4D,CAAA;AAC9D,CAAC,EAPW,yBAAyB,KAAzB,yBAAyB,QAOpC;AAED,MAAM,CAAC,MAAM,oCAAoC,GAAmD;IAClG,yBAAyB;IACzB,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE,oBAAoB;IACnE,CAAC,yBAAyB,CAAC,0BAA0B,CAAC,EAAE,2BAA2B;IACnF,CAAC,yBAAyB,CAAC,yCAAyC,CAAC,EAAE,wCAAwC;IAC/G,CAAC,yBAAyB,CAAC,wCAAwC,CAAC,EAAE,uCAAuC;IAC7G,CAAC,yBAAyB,CAAC,6BAA6B,CAAC,EAAE,6BAA6B;CACzF,CAAC","sourcesContent":["/**\n * Shared platform resource types that still participate in the active\n * platform resource registry.\n *\n * Deprecated WAML meta-resources were intentionally removed from this enum:\n * they no longer have live resource configuration factories in the platform,\n * and the archived implementation remains in code archives for future reuse.\n */\nexport enum CustomShared_ResourceType {\n // Application management\n WILDO_APPLICATION = 'wildoApplication',\n WILDO_APPLICATION_VERSIONS = 'wildoApplicationVersions',\n WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS = 'wildoApplicationActorSystemExecutions',\n WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS = 'wildoApplicationFlowSystemExecutions',\n WILDO_APPLICATION_ACTOR_TASKS = 'wildoApplicationActorTasks',\n}\n\nexport const CustomShared_ResourceFieldIdentifier: { [key in CustomShared_ResourceType]: string } = {\n // Application management\n [CustomShared_ResourceType.WILDO_APPLICATION]: 'wildoApplicationId',\n [CustomShared_ResourceType.WILDO_APPLICATION_VERSIONS]: 'wildoApplicationVersionId',\n [CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_SYSTEM_EXECUTIONS]: 'wildoApplicationActorSystemExecutionId',\n [CustomShared_ResourceType.WILDO_APPLICATION_FLOW_SYSTEM_EXECUTIONS]: 'wildoApplicationFlowSystemExecutionId',\n [CustomShared_ResourceType.WILDO_APPLICATION_ACTOR_TASKS]: 'wildoApplicationActorTaskId',\n};\n"]}
@@ -1,11 +1,17 @@
1
- export * from './core/resources/resources-types.custom.shared.schemas.js';
2
- export * from './core/resources/resources-relationships.custom.shared.definitions.js';
3
- export * from './core/resources/resources-operations.custom.shared.definitions.js';
4
- export * from './security/authorizations/roles.custom.shared.definitions.js';
5
- export * from './runtime/application-backend-env.contracts.js';
6
- export * from './runtime/runtime-topology.contracts.js';
1
+ export * from './core/resources/resources-types.custom.shared.schemas';
2
+ export * from './workbench/workbench-resources-types.custom.shared.schemas';
3
+ export * from './workbench/workbench-resources.custom.shared.schemas';
4
+ export * from './workbench/workbench-resources.custom.shared.resources-config.schemas';
5
+ export * from './core/resources/resources-relationships.custom.shared.definitions';
6
+ export * from './core/resources/resources-operations.custom.shared.definitions';
7
+ export * from './security/authorizations/roles.custom.shared.definitions';
8
+ export * from './runtime/application-backend-env.contracts';
9
+ export * from './runtime/application-worker-env.contracts';
10
+ export * from './runtime/runtime-topology.contracts';
7
11
  import type { ProductDefinition } from '@wildo-ai/saas-models';
8
12
  export declare const CUSTOM_PRODUCT_CATALOG: ProductDefinition[];
9
- export * from './wildo-applications/wildo-applications.custom.shared.schemas.js';
10
- export * from './wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.js';
13
+ export * from './wildo-applications/wildo-applications.custom.shared.schemas';
14
+ export * from './wildo-applications-versions/wildo-applications-versions.custom.shared.schemas';
15
+ export * from './wildo-application-executions/wildo-application-executions.custom.shared.schemas';
16
+ export * from './wildo-application-tasks/wildo-application-tasks.custom.shared.schemas';
11
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,wDAAwD,CAAC;AACvE,cAAc,oEAAoE,CAAC;AACnF,cAAc,iEAAiE,CAAC;AAGhF,cAAc,2DAA2D,CAAC;AAC1E,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sCAAsC,CAAC;AAGrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,EAAO,CAAC;AAK9D,cAAc,+DAA+D,CAAC;AAC9E,cAAc,iFAAiF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,wDAAwD,CAAC;AAWvE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,uDAAuD,CAAC;AACtE,cAAc,wEAAwE,CAAC;AACvF,cAAc,oEAAoE,CAAC;AACnF,cAAc,iEAAiE,CAAC;AAGhF,cAAc,2DAA2D,CAAC;AAC1E,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AAGrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,EAAO,CAAC;AAK9D,cAAc,+DAA+D,CAAC;AAC9E,cAAc,iFAAiF,CAAC;AAIhG,cAAc,mFAAmF,CAAC;AAClG,cAAc,yEAAyE,CAAC"}
package/dist/esm/index.js CHANGED
@@ -3,15 +3,30 @@ import { initZodDecorators } from '@wildo-ai/zod-decorators';
3
3
  initZodDecorators();
4
4
  // Custom resources
5
5
  export * from './core/resources/resources-types.custom.shared.schemas.js';
6
+ /*
7
+ * The workbench's own vocabulary, kept SEPARATE from `customShared_*` on purpose.
8
+ *
9
+ * These resources are INTROSPECTION-backed — derived per read by the dev companion, never stored.
10
+ * Adding them to `customShared_ResourcesConfigurationsFactoryMap` would hand them to that map's six
11
+ * consumers, two of which must not have them: `platform-apps-manager` (whose INIT lifecycle applies
12
+ * migrations, and there is nothing here to migrate) and the companion's i18n labelling planner,
13
+ * which enumerates that map's keys and would generate labels for them.
14
+ */
15
+ export * from './workbench/workbench-resources-types.custom.shared.schemas.js';
16
+ export * from './workbench/workbench-resources.custom.shared.schemas.js';
17
+ export * from './workbench/workbench-resources.custom.shared.resources-config.schemas.js';
6
18
  export * from './core/resources/resources-relationships.custom.shared.definitions.js';
7
19
  export * from './core/resources/resources-operations.custom.shared.definitions.js';
8
20
  // Custom security
9
21
  export * from './security/authorizations/roles.custom.shared.definitions.js';
10
22
  export * from './runtime/application-backend-env.contracts.js';
23
+ export * from './runtime/application-worker-env.contracts.js';
11
24
  export * from './runtime/runtime-topology.contracts.js';
12
25
  export const CUSTOM_PRODUCT_CATALOG = [];
13
26
  // ### [ WILDO_AI CODE PLACEHOLDER ] [ platform_internal_code_begin ] [ BEGIN ] - Do not edit this code block. It is used by the platform to manage the code - ##########################################################
14
27
  export * from './wildo-applications/wildo-applications.custom.shared.schemas.js';
15
28
  export * from './wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.js';
16
29
  // ### [ WILDO_AI CODE PLACEHOLDER ] [ platform_internal_code_end ] [ END ] ##########################################################
17
- //# sourceMappingURL=index.js.map
30
+ export * from './wildo-application-executions/wildo-application-executions.custom.shared.schemas.js';
31
+ export * from './wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js';
32
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,iBAAiB,EAAE,CAAC;AAEpB,mBAAmB;AACnB,cAAc,wDAAwD,CAAC;AACvE,cAAc,oEAAoE,CAAC;AACnF,cAAc,iEAAiE,CAAC;AAEhF,kBAAkB;AAClB,cAAc,2DAA2D,CAAC;AAC1E,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sCAAsC,CAAC;AAIrD,MAAM,CAAC,MAAM,sBAAsB,GAAwB,EAAE,CAAC;AAG9D,0NAA0N;AAE1N,cAAc,+DAA+D,CAAC;AAC9E,cAAc,iFAAiF,CAAC;AAEhG,uIAAuI"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,iBAAiB,EAAE,CAAC;AAEpB,mBAAmB;AACnB,cAAc,wDAAwD,CAAC;AAEvE;;;;;;;;GAQG;AACH,cAAc,6DAA6D,CAAC;AAC5E,cAAc,uDAAuD,CAAC;AACtE,cAAc,wEAAwE,CAAC;AACvF,cAAc,oEAAoE,CAAC;AACnF,cAAc,iEAAiE,CAAC;AAEhF,kBAAkB;AAClB,cAAc,2DAA2D,CAAC;AAC1E,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AAIrD,MAAM,CAAC,MAAM,sBAAsB,GAAwB,EAAE,CAAC;AAG9D,0NAA0N;AAE1N,cAAc,+DAA+D,CAAC;AAC9E,cAAc,iFAAiF,CAAC;AAEhG,uIAAuI;AAEvI,cAAc,mFAAmF,CAAC;AAClG,cAAc,yEAAyE,CAAC","sourcesContent":["// Initialize Zod decorators early (lazy init will also happen on first use)\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\ninitZodDecorators();\n\n// Custom resources\nexport * from './core/resources/resources-types.custom.shared.schemas';\n\n/*\n * The workbench's own vocabulary, kept SEPARATE from `customShared_*` on purpose.\n *\n * These resources are INTROSPECTION-backed — derived per read by the dev companion, never stored.\n * Adding them to `customShared_ResourcesConfigurationsFactoryMap` would hand them to that map's six\n * consumers, two of which must not have them: `platform-apps-manager` (whose INIT lifecycle applies\n * migrations, and there is nothing here to migrate) and the companion's i18n labelling planner,\n * which enumerates that map's keys and would generate labels for them.\n */\nexport * from './workbench/workbench-resources-types.custom.shared.schemas';\nexport * from './workbench/workbench-resources.custom.shared.schemas';\nexport * from './workbench/workbench-resources.custom.shared.resources-config.schemas';\nexport * from './core/resources/resources-relationships.custom.shared.definitions';\nexport * from './core/resources/resources-operations.custom.shared.definitions';\n\n// Custom security\nexport * from './security/authorizations/roles.custom.shared.definitions';\nexport * from './runtime/application-backend-env.contracts';\nexport * from './runtime/application-worker-env.contracts';\nexport * from './runtime/runtime-topology.contracts';\n\n// Custom billing — product catalog (placeholder until product definitions are configured)\nimport type { ProductDefinition } from '@wildo-ai/saas-models';\nexport const CUSTOM_PRODUCT_CATALOG: ProductDefinition[] = [];\n\n\n// ### [ WILDO_AI CODE PLACEHOLDER ] [ platform_internal_code_begin ] [ BEGIN ] - Do not edit this code block. It is used by the platform to manage the code - ##########################################################\n\nexport * from './wildo-applications/wildo-applications.custom.shared.schemas';\nexport * from './wildo-applications-versions/wildo-applications-versions.custom.shared.schemas';\n\n// ### [ WILDO_AI CODE PLACEHOLDER ] [ platform_internal_code_end ] [ END ] ##########################################################\n\nexport * from './wildo-application-executions/wildo-application-executions.custom.shared.schemas';\nexport * from './wildo-application-tasks/wildo-application-tasks.custom.shared.schemas';\n\n\n"]}