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

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 (61) hide show
  1. package/dist/esm/index.d.ts +7 -0
  2. package/dist/esm/index.d.ts.map +1 -1
  3. package/dist/esm/index.js +7 -0
  4. package/dist/esm/index.js.map +1 -1
  5. package/dist/esm/runtime/application-backend-env.contracts.d.ts +20 -0
  6. package/dist/esm/runtime/application-backend-env.contracts.d.ts.map +1 -1
  7. package/dist/esm/runtime/application-backend-env.contracts.js +22 -0
  8. package/dist/esm/runtime/application-backend-env.contracts.js.map +1 -1
  9. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts +3 -3
  10. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts.map +1 -1
  11. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js +39 -8
  12. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.js.map +1 -1
  13. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts +4 -3
  14. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts.map +1 -1
  15. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js +37 -6
  16. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.js.map +1 -1
  17. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts +1 -0
  18. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts.map +1 -1
  19. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js +13 -0
  20. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js.map +1 -1
  21. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts.map +1 -1
  22. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js +12 -1
  23. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js.map +1 -1
  24. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.d.ts.map +1 -1
  25. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js +12 -1
  26. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js.map +1 -1
  27. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts +100 -0
  28. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts.map +1 -0
  29. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js +578 -0
  30. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js.map +1 -0
  31. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.d.ts +98 -0
  32. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.d.ts.map +1 -0
  33. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.js +86 -0
  34. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.js.map +1 -0
  35. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts +157 -0
  36. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts.map +1 -0
  37. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js +258 -0
  38. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js.map +1 -0
  39. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts +219 -0
  40. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts.map +1 -0
  41. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js +297 -0
  42. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js.map +1 -0
  43. package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.d.ts +48 -0
  44. package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.d.ts.map +1 -0
  45. package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.js +48 -0
  46. package/dist/esm/workbench/workbench-domain-model.custom.shared.schemas.js.map +1 -0
  47. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts +142 -21
  48. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts.map +1 -1
  49. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js +252 -23
  50. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js.map +1 -1
  51. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts +280 -55
  52. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts.map +1 -1
  53. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js +187 -102
  54. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js.map +1 -1
  55. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts +227 -49
  56. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts.map +1 -1
  57. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js +464 -85
  58. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js.map +1 -1
  59. package/dist/tsconfig.build.tsbuildinfo +1 -1
  60. package/package.json +4 -5
  61. package/dist/esm/.builder.pid +0 -9
@@ -1,21 +1,82 @@
1
- import { CoreResourceOperation, ResourceRelationship } from '@wildo-ai/saas-models';
2
- type WorkbenchApplicationModule_CoreOperations = CoreResourceOperation.READ | CoreResourceOperation.LIST;
1
+ import { CORE_APP_ROLES, CoreResourceOperation, ResourceOperationRiskLevel, ResourceOperationVariantType, ResourceRelationship } from '@wildo-ai/saas-models';
2
+ import { z } from 'zod';
3
+ import { WorkbenchSpecificationArtifactConcern, WorkbenchSpecificationArtifactState } from './workbench-resources.custom.shared.schemas';
3
4
  /**
4
- * The application's shared modules and the resources each owns.
5
+ * The page ceiling every workbench LIST declares — and it is a correctness fix, not a tuning knob.
5
6
  *
6
- * Rows are DERIVED per read from the companion's `resource-specifications` behavior; nothing is
7
- * stored. `rowsPath` names where that behavior keeps them, because behaviors answer their own
8
- * natural shape rather than a uniform envelope.
7
+ * `IntrospectionResourceRepository.list()` answers `pagination.limit = rows.length` over the WHOLE
8
+ * derived set, deliberately: a behavior computes its entire answer in one subprocess run, there is no
9
+ * cursor to seek, and reporting a total the caller cannot page past would be a lie. The response DTO
10
+ * then bounds that `limit` by the operation's `maxPaginatedResultPerPageLimit`, whose default is
11
+ * **100**. So any introspected resource whose derivation exceeds 100 rows fails with `too_big` at
12
+ * `pagination.limit` — the request having been served correctly right up to the last hop.
13
+ *
14
+ * Measured 2026-08-31, and the measurement is why this ceiling is a CORRECTNESS FIX rather than
15
+ * headroom. The domain model projects every resource the observed application RUNS, which is its own
16
+ * plus the engine's whole merged vocabulary: `saas-models`' core map alone carries **82** resources
17
+ * and **105** relationships before `saas-backend-lib`'s map or the application's own eight are
18
+ * counted. So the domain-model LIST is already comfortably past the default 100 on the smallest
19
+ * application there is, and would have failed with `too_big` at `pagination.limit` — the request
20
+ * having been served correctly right up to the last hop, and the bound named in none of these
21
+ * declarations. The number also scales with the OBSERVED application, which is the one input this
22
+ * repository does not control.
23
+ *
24
+ * Declared on the shared variant so every workbench resource is bounded by the same number, rather
25
+ * than one being raised and its siblings left waiting to hit the same wall.
26
+ *
27
+ * Above the ceiling the request FAILS rather than truncating, which is the correct direction: a
28
+ * silently short domain model is indistinguishable from a complete one once it is drawn.
9
29
  */
10
- export declare const workbenchApplicationModules_ResourceConfiguration_InitializationFactory: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<any, WorkbenchApplicationModule_CoreOperations, import("zod").ZodObject<{
11
- moduleId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
12
- resourceTypes: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodArray<import("zod").ZodString>>;
13
- kind: import("zod").ZodNullable<import("zod").ZodString>;
14
- contributions: import("zod").ZodArray<import("zod").ZodObject<{
15
- contribution: import("zod").ZodString;
16
- count: import("zod").ZodNumber;
17
- }, import("zod/v4/core").$strip>>;
18
- }, import("zod/v4/core").$strip>>;
30
+ export declare const WORKBENCH_INTROSPECTION_MAX_ROWS_PER_PAGE = 1000;
31
+ /**
32
+ * Read-only over HTTP, and PUBLIC.
33
+ *
34
+ * `APP_PUBLIC` means what its enum comment says — accessible to everyone, no credential — and as of
35
+ * 2026-08-30 the runtime implements it: the authentication chain now admits an operation declaring
36
+ * this role instead of demanding a credential it never required. Before that it was declared,
37
+ * published as public by the OpenAPI generator, and refused at runtime.
38
+ *
39
+ * ## Why these rows are genuinely public
40
+ *
41
+ * They are a projection of the application's OWN SOURCE — module ids and the resource types each
42
+ * registers — carrying no tenant dimension, which is exactly what the binding's
43
+ * `APPLICATION_STRUCTURE` tenancy stance declares. There is no subject whose data could leak,
44
+ * because no subject's data is here.
45
+ *
46
+ * This is the same category as a public price list, a frontend application configuration or an i18n
47
+ * bundle: things every caller may read, which until now could only be served by escaping the
48
+ * resource system into a manual controller.
49
+ *
50
+ * ## What still confines them
51
+ *
52
+ * The companion asserts a loopback bind at startup and fails closed otherwise, so this surface is
53
+ * reachable only from the developer's own machine. `APP_PUBLIC` is the right declaration on its
54
+ * merits; the loopback bind is what makes the whole workbench local, and both remain true
55
+ * independently.
56
+ *
57
+ * If an introspected resource is ever added that projects something OTHER than the application's own
58
+ * structure, this role is wrong for it — the stance and the role must move together.
59
+ */
60
+ export declare function createReadOnlyApiVariant(): {
61
+ variantType: ResourceOperationVariantType.API_CALL;
62
+ isDefault: true;
63
+ roles: CORE_APP_ROLES[];
64
+ riskLevel: ResourceOperationRiskLevel.LOW;
65
+ };
66
+ /**
67
+ * The LIST variant — the read-only variant plus the page ceiling.
68
+ *
69
+ * Separate from {@link createReadOnlyApiVariant} because `maxPaginatedResultPerPageLimit` is only
70
+ * read on a LIST-like operation (`isListLike` in the resource factory); putting it on READ too would
71
+ * declare a field that operation does not have, which reads as though it did something.
72
+ */
73
+ export declare function createReadOnlyListApiVariant(): {
74
+ maxPaginatedResultPerPageLimit: number;
75
+ variantType: ResourceOperationVariantType.API_CALL;
76
+ isDefault: true;
77
+ roles: CORE_APP_ROLES[];
78
+ riskLevel: ResourceOperationRiskLevel.LOW;
79
+ };
19
80
  /**
20
81
  * APPLICATION-scoped, anchored by a STANDALONE relationship.
21
82
  *
@@ -33,47 +94,211 @@ export declare const workbenchApplicationModules_ResourceConfiguration_Initializ
33
94
  * credential's constraint. The tenant-scoping trade remains recorded in issue #118.
34
95
  */
35
96
  export declare const workbenchShared_ResourcesRelationships: ResourceRelationship[];
36
- type WorkbenchResourceRelationship_CoreOperations = CoreResourceOperation.READ | CoreResourceOperation.LIST;
37
- export declare const workbenchResourceRelationships_ResourceConfiguration_InitializationFactory: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<any, WorkbenchResourceRelationship_CoreOperations, import("zod").ZodObject<{
38
- workbenchResourceRelationshipId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
39
- resourceType1: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
40
- resourceType2: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
41
- cardinality1: import("zod").ZodString;
42
- cardinality2: import("zod").ZodString;
43
- nature: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
44
- foreignKeyField: import("zod").ZodString;
45
- accessScopeStrategy: import("zod").ZodString;
46
- parentResourceRequirement: import("zod").ZodString;
47
- isPrimaryScope: import("zod").ZodBoolean;
48
- allowCycle: import("zod").ZodBoolean;
49
- isDisabled: import("zod").ZodBoolean;
50
- primaryScope: import("zod").ZodOptional<import("zod").ZodString>;
51
- }, import("zod/v4/core").$strip>>;
97
+ type WorkbenchDomainResource_CoreOperations = CoreResourceOperation.READ | CoreResourceOperation.LIST;
98
+ export declare const workbenchDomainResources_ResourceConfiguration_InitializationFactory: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<any, WorkbenchDomainResource_CoreOperations, z.ZodObject<{
99
+ workbenchDomainResourceId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
100
+ resourceType: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
101
+ moduleId: z.ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
102
+ moduleKind: z.ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
103
+ subDomain: z.ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
104
+ fields: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodObject<{
105
+ fieldName: z.ZodString;
106
+ specDecorator: z.ZodNullable<z.ZodString>;
107
+ params: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
108
+ derived: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
109
+ origin: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
110
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
111
+ }, z.core.$strip>>>;
112
+ operations: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodObject<{
113
+ operationIdentifier: z.ZodString;
114
+ variantType: z.ZodNullable<z.ZodString>;
115
+ variantKey: z.ZodNullable<z.ZodString>;
116
+ resourceOperationLike: z.ZodNullable<z.ZodString>;
117
+ isDefault: z.ZodBoolean;
118
+ roles: z.ZodArray<z.ZodString>;
119
+ riskLevel: z.ZodNullable<z.ZodString>;
120
+ isUnimplemented: z.ZodBoolean;
121
+ isDisabled: z.ZodBoolean;
122
+ requiresStepUpAuthentication: z.ZodBoolean;
123
+ admitsCrossTenantPlatformAdministration: z.ZodBoolean;
124
+ auditableEventType: z.ZodNullable<z.ZodString>;
125
+ isMcpExposed: z.ZodBoolean;
126
+ requiredFeatures: z.ZodArray<z.ZodString>;
127
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
128
+ specification: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
129
+ view: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
130
+ }, z.core.$strip>>>;
131
+ viewRefs: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodString>>;
132
+ advanced: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
133
+ specification: z.ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodObject<{
134
+ purpose: z.ZodString;
135
+ businessRole: z.ZodString;
136
+ lifecycleRole: z.ZodNullable<z.ZodString>;
137
+ businessConstraints: z.ZodArray<z.ZodString>;
138
+ }, z.core.$strip>>>;
139
+ relationships: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodObject<{
140
+ relationshipId: z.ZodString;
141
+ resourceType1: z.ZodString;
142
+ resourceType2: z.ZodString;
143
+ cardinality1: z.ZodString;
144
+ cardinality2: z.ZodString;
145
+ nature: z.ZodString;
146
+ foreignKeyField: z.ZodNullable<z.ZodString>;
147
+ foreignKeyHolderResourceType: z.ZodString;
148
+ jointResourceType: z.ZodNullable<z.ZodString>;
149
+ isPrimaryScope: z.ZodBoolean;
150
+ isDisabled: z.ZodBoolean;
151
+ accessScopeStrategy: z.ZodNullable<z.ZodString>;
152
+ parentResourceRequirement: z.ZodNullable<z.ZodString>;
153
+ primaryScope: z.ZodNullable<z.ZodString>;
154
+ allowCycle: z.ZodBoolean;
155
+ }, z.core.$strip>>>;
156
+ }, z.core.$strip>>;
157
+ type WorkbenchSpecificationArtifact_CoreOperations = CoreResourceOperation.READ | CoreResourceOperation.LIST;
158
+ export declare const workbenchSpecificationArtifacts_ResourceConfiguration_InitializationFactory: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<any, WorkbenchSpecificationArtifact_CoreOperations, z.ZodObject<{
159
+ family: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
160
+ title: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
161
+ description: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
162
+ contentSummary: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNullable<z.ZodString>>;
163
+ concern: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof WorkbenchSpecificationArtifactConcern>>;
164
+ state: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof WorkbenchSpecificationArtifactState>>;
165
+ schemaRef: z.ZodString;
166
+ sourcePath: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNullable<z.ZodString>>;
167
+ errorCount: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNumber>;
168
+ warnCount: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNumber>;
169
+ producedByPlaybookRefs: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodString>>;
170
+ content: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
171
+ document: z.ZodNullable<z.ZodString>;
172
+ issues: z.ZodNullable<z.ZodString>;
173
+ decisionRecord: z.ZodNullable<z.ZodString>;
174
+ diagram: z.ZodNullable<z.ZodString>;
175
+ }, z.core.$strip>>;
52
176
  export declare const workbenchShared_ResourcesConfigurationsFactoryMap: {
53
- workbenchApplicationModules: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<any, WorkbenchApplicationModule_CoreOperations, import("zod").ZodObject<{
54
- moduleId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
55
- resourceTypes: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodArray<import("zod").ZodString>>;
56
- kind: import("zod").ZodNullable<import("zod").ZodString>;
57
- contributions: import("zod").ZodArray<import("zod").ZodObject<{
58
- contribution: import("zod").ZodString;
59
- count: import("zod").ZodNumber;
60
- }, import("zod/v4/core").$strip>>;
61
- }, import("zod/v4/core").$strip>>;
62
- workbenchResourceRelationships: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<any, WorkbenchResourceRelationship_CoreOperations, import("zod").ZodObject<{
63
- workbenchResourceRelationshipId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>>;
64
- resourceType1: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
65
- resourceType2: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
66
- cardinality1: import("zod").ZodString;
67
- cardinality2: import("zod").ZodString;
68
- nature: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("zod").ZodString>;
69
- foreignKeyField: import("zod").ZodString;
70
- accessScopeStrategy: import("zod").ZodString;
71
- parentResourceRequirement: import("zod").ZodString;
72
- isPrimaryScope: import("zod").ZodBoolean;
73
- allowCycle: import("zod").ZodBoolean;
74
- isDisabled: import("zod").ZodBoolean;
75
- primaryScope: import("zod").ZodOptional<import("zod").ZodString>;
76
- }, import("zod/v4/core").$strip>>;
177
+ workbenchPlaybooks: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<typeof import("./workbench-creation-plane.custom.shared.schemas").WorkbenchPlaybooks_Operations, CoreResourceOperation.READ | CoreResourceOperation.LIST, z.ZodObject<{
178
+ workbenchPlaybookId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
179
+ playbookRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
180
+ playbookVersion: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
181
+ phase: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
182
+ intent: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
183
+ eligible: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodBoolean>;
184
+ unmet: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodString>>;
185
+ blockedOnlyBySequencing: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodBoolean>;
186
+ requiresElicitation: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodBoolean>;
187
+ wouldReplace: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodString>>;
188
+ unlandableFamilies: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodString>>;
189
+ staleOutputs: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodObject<{
190
+ family: z.ZodString;
191
+ changedInputs: z.ZodArray<z.ZodString>;
192
+ }, z.core.$strip>>>;
193
+ computedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
194
+ }, z.core.$strip>>;
195
+ workbenchBuildPlanTasks: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<typeof import("./workbench-creation-plane.custom.shared.schemas").WorkbenchBuildPlanTasks_Operations, CoreResourceOperation.READ | CoreResourceOperation.LIST, z.ZodObject<{
196
+ workbenchBuildPlanTaskId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
197
+ taskRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
198
+ objective: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
199
+ targetKind: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
200
+ functionalTopic: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
201
+ status: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("./workbench-creation-plane.custom.shared.schemas").WorkbenchBuildPlanTaskStatus>>;
202
+ prerequisiteTaskRefs: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodString>>;
203
+ }, z.core.$strip>>;
204
+ workbenchRunWriteRecords: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<typeof import("./workbench-creation-plane.custom.shared.schemas").WorkbenchRunWriteRecords_Operations, CoreResourceOperation.READ | CoreResourceOperation.LIST, z.ZodObject<{
205
+ workbenchRunWriteRecordId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
206
+ runId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
207
+ playbookRef: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
208
+ workbenchPlaybookId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
209
+ workbenchTraceSessionId: z.ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>>;
210
+ at: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
211
+ files: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodObject<{
212
+ path: z.ZodString;
213
+ existedBefore: z.ZodBoolean;
214
+ }, z.core.$strip>>>;
215
+ fileCount: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNumber>;
216
+ }, z.core.$strip>>;
217
+ workbenchTraceSessions: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<any, CoreResourceOperation.READ | CoreResourceOperation.LIST, z.ZodObject<{
218
+ workbenchTraceSessionId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
219
+ sessionId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
220
+ startedAt: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
221
+ label: z.ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
222
+ eventCount: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNumber>;
223
+ stepCount: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNumber>;
224
+ }, z.core.$strip>>;
225
+ workbenchDomainResources: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<any, WorkbenchDomainResource_CoreOperations, z.ZodObject<{
226
+ workbenchDomainResourceId: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
227
+ resourceType: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
228
+ moduleId: z.ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
229
+ moduleKind: z.ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
230
+ subDomain: z.ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
231
+ fields: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodObject<{
232
+ fieldName: z.ZodString;
233
+ specDecorator: z.ZodNullable<z.ZodString>;
234
+ params: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
235
+ derived: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
236
+ origin: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
237
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
238
+ }, z.core.$strip>>>;
239
+ operations: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodObject<{
240
+ operationIdentifier: z.ZodString;
241
+ variantType: z.ZodNullable<z.ZodString>;
242
+ variantKey: z.ZodNullable<z.ZodString>;
243
+ resourceOperationLike: z.ZodNullable<z.ZodString>;
244
+ isDefault: z.ZodBoolean;
245
+ roles: z.ZodArray<z.ZodString>;
246
+ riskLevel: z.ZodNullable<z.ZodString>;
247
+ isUnimplemented: z.ZodBoolean;
248
+ isDisabled: z.ZodBoolean;
249
+ requiresStepUpAuthentication: z.ZodBoolean;
250
+ admitsCrossTenantPlatformAdministration: z.ZodBoolean;
251
+ auditableEventType: z.ZodNullable<z.ZodString>;
252
+ isMcpExposed: z.ZodBoolean;
253
+ requiredFeatures: z.ZodArray<z.ZodString>;
254
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
255
+ specification: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
256
+ view: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
257
+ }, z.core.$strip>>>;
258
+ viewRefs: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodString>>;
259
+ advanced: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
260
+ specification: z.ZodNullable<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodObject<{
261
+ purpose: z.ZodString;
262
+ businessRole: z.ZodString;
263
+ lifecycleRole: z.ZodNullable<z.ZodString>;
264
+ businessConstraints: z.ZodArray<z.ZodString>;
265
+ }, z.core.$strip>>>;
266
+ relationships: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodObject<{
267
+ relationshipId: z.ZodString;
268
+ resourceType1: z.ZodString;
269
+ resourceType2: z.ZodString;
270
+ cardinality1: z.ZodString;
271
+ cardinality2: z.ZodString;
272
+ nature: z.ZodString;
273
+ foreignKeyField: z.ZodNullable<z.ZodString>;
274
+ foreignKeyHolderResourceType: z.ZodString;
275
+ jointResourceType: z.ZodNullable<z.ZodString>;
276
+ isPrimaryScope: z.ZodBoolean;
277
+ isDisabled: z.ZodBoolean;
278
+ accessScopeStrategy: z.ZodNullable<z.ZodString>;
279
+ parentResourceRequirement: z.ZodNullable<z.ZodString>;
280
+ primaryScope: z.ZodNullable<z.ZodString>;
281
+ allowCycle: z.ZodBoolean;
282
+ }, z.core.$strip>>>;
283
+ }, z.core.$strip>>;
284
+ workbenchSpecificationArtifacts: (resourcesRelationships: ResourceRelationship[]) => import("@wildo-ai/saas-models").ResourceConfiguration<any, WorkbenchSpecificationArtifact_CoreOperations, z.ZodObject<{
285
+ family: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>>;
286
+ title: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
287
+ description: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodString>;
288
+ contentSummary: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNullable<z.ZodString>>;
289
+ concern: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof WorkbenchSpecificationArtifactConcern>>;
290
+ state: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof WorkbenchSpecificationArtifactState>>;
291
+ schemaRef: z.ZodString;
292
+ sourcePath: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNullable<z.ZodString>>;
293
+ errorCount: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNumber>;
294
+ warnCount: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodNumber>;
295
+ producedByPlaybookRefs: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodArray<z.ZodString>>;
296
+ content: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
297
+ document: z.ZodNullable<z.ZodString>;
298
+ issues: z.ZodNullable<z.ZodString>;
299
+ decisionRecord: z.ZodNullable<z.ZodString>;
300
+ diagram: z.ZodNullable<z.ZodString>;
301
+ }, z.core.$strip>>;
77
302
  };
78
303
  export {};
79
304
  //# sourceMappingURL=workbench-resources.custom.shared.resources-config.schemas.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workbench-resources.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../../src/workbench/workbench-resources.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,qBAAqB,EAMrB,oBAAoB,EAMrB,MAAM,uBAAuB,CAAC;AAa/B,KAAK,yCAAyC,GAC1C,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,IAAI,CAAC;AA6D/B;;;;;;GAMG;AACH,eAAO,MAAM,uEAAuE,GACjF,wBAAwB,oBAAoB,EAAE;;;;;;;;iCA6C7C,CAAC;AAEL;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,sCAAsC,EAAE,oBAAoB,EA+BxE,CAAC;AAmBF,KAAK,4CAA4C,GAC7C,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,IAAI,CAAC;AAE/B,eAAO,MAAM,0EAA0E,GACpF,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;iCAmC7C,CAAC;AAEL,eAAO,MAAM,iDAAiD;0DA3JnC,oBAAoB,EAAE;;;;;;;;;6DAsHtB,oBAAoB,EAAE;;;;;;;;;;;;;;;CA0ChD,CAAC"}
1
+ {"version":3,"file":"workbench-resources.custom.shared.resources-config.schemas.d.ts","sourceRoot":"","sources":["../../../../src/workbench/workbench-resources.custom.shared.resources-config.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,qBAAqB,EAIrB,0BAA0B,EAC1B,4BAA4B,EAC5B,oBAAoB,EAMrB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,OAAO,EAGL,qCAAqC,EACrC,mCAAmC,EACpC,MAAM,6CAA6C,CAAC;AAMrD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,yCAAyC,OAAO,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,wBAAwB;;;;;EA6BvC;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B;;;;;;EAK3C;AAGD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,sCAAsC,EAAE,oBAAoB,EA2CxE,CAAC;AAsBF,KAAK,sCAAsC,GACvC,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,IAAI,CAAC;AAE/B,eAAO,MAAM,oEAAoE,GAC9E,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkC7C,CAAC;AAiCL,KAAK,6CAA6C,GAC9C,qBAAqB,CAAC,IAAI,GAC1B,qBAAqB,CAAC,IAAI,CAAC;AAE/B,eAAO,MAAM,2EAA2E,GACrF,wBAAwB,oBAAoB,EAAE;;;;;;;;;;;;;;;;;kBA+C7C,CAAC;AAEL,eAAO,MAAM,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAzHnC,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DAwEtB,oBAAoB,EAAE;;;;;;;;;;;;;;;;;;CA0DhD,CAAC"}