@inf-monkeys-tech/monkeys 1.1.71 → 1.1.73

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 (86) hide show
  1. package/lib/contracts/bento-block.d.ts +14 -0
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +16 -0
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +54 -0
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control-http.js +9 -0
  8. package/lib/contracts/declarative-control-http.js.map +1 -1
  9. package/lib/contracts/declarative-document-import.d.ts +51 -0
  10. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  11. package/lib/contracts/declarative-document-import.js +6 -0
  12. package/lib/contracts/declarative-document-import.js.map +1 -1
  13. package/lib/contracts/declarative-page-delivery.d.ts +145 -0
  14. package/lib/contracts/declarative-page-delivery.d.ts.map +1 -0
  15. package/lib/contracts/declarative-page-delivery.js +164 -0
  16. package/lib/contracts/declarative-page-delivery.js.map +1 -0
  17. package/lib/contracts/declarative-publication-health.d.ts +1061 -0
  18. package/lib/contracts/declarative-publication-health.d.ts.map +1 -0
  19. package/lib/contracts/declarative-publication-health.js +148 -0
  20. package/lib/contracts/declarative-publication-health.js.map +1 -0
  21. package/lib/contracts/declarative-publication-job.d.ts +51 -0
  22. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  23. package/lib/contracts/declarative-publication-verification.d.ts +6 -0
  24. package/lib/contracts/declarative-publication-verification.d.ts.map +1 -1
  25. package/lib/contracts/declarative-publication-verification.js +5 -0
  26. package/lib/contracts/declarative-publication-verification.js.map +1 -1
  27. package/lib/contracts/index.d.ts +2 -0
  28. package/lib/contracts/index.d.ts.map +1 -1
  29. package/lib/contracts/index.js +2 -0
  30. package/lib/contracts/index.js.map +1 -1
  31. package/lib/contracts/render.d.ts +4 -0
  32. package/lib/contracts/render.d.ts.map +1 -1
  33. package/lib/contracts/render.js +4 -0
  34. package/lib/contracts/render.js.map +1 -1
  35. package/lib/esm/{chunk-75IO3EKE.mjs → chunk-ES3EYSBV.mjs} +16 -2
  36. package/lib/esm/chunk-ES3EYSBV.mjs.map +1 -0
  37. package/lib/esm/{chunk-TKVCHO6V.mjs → chunk-FNYVI3AY.mjs} +2032 -1740
  38. package/lib/esm/chunk-FNYVI3AY.mjs.map +1 -0
  39. package/lib/esm/{chunk-DWQNEXK3.mjs → chunk-UVLLWRYL.mjs} +2 -2
  40. package/lib/esm/{chunk-JEAEX7QG.mjs → chunk-WIGX4I2M.mjs} +499 -273
  41. package/lib/esm/chunk-WIGX4I2M.mjs.map +1 -0
  42. package/lib/esm/contracts/index.mjs +34 -2
  43. package/lib/esm/index.mjs +42 -6
  44. package/lib/esm/index.mjs.map +1 -1
  45. package/lib/esm/runtime/index.mjs +9 -5
  46. package/lib/esm/schemas/index.mjs +2 -2
  47. package/lib/json-schema/bento-node.schema.json +37 -0
  48. package/lib/json-schema/declarative-page-overlay.schema.json +184 -0
  49. package/lib/json-schema/declarative-page-package.schema.json +73 -0
  50. package/lib/json-schema/declarative-page-rendering.schema.json +239 -0
  51. package/lib/json-schema/declarative-publication-last-known-good-result.schema.json +675 -0
  52. package/lib/json-schema/declarative-publication-last-known-good.schema.json +651 -0
  53. package/lib/json-schema/declarative-publication-record-result.schema.json +1138 -0
  54. package/lib/json-schema/declarative-publication-recovery-result.schema.json +1775 -0
  55. package/lib/json-schema/declarative-publication-verification.schema.json +11 -0
  56. package/lib/json-schema/index.json +7 -0
  57. package/lib/json-schema/overlay-node.schema.json +18 -0
  58. package/lib/json-schema/page-runtime-bundle.schema.json +18 -0
  59. package/lib/json-schema/page.schema.json +18 -0
  60. package/lib/json-schema/render-node.schema.json +18 -0
  61. package/lib/json-schema/render-tree.schema.json +18 -0
  62. package/lib/json-schema/view-ontology-record.schema.json +37 -0
  63. package/lib/runtime/artifact-session.d.ts +0 -8
  64. package/lib/runtime/artifact-session.d.ts.map +1 -1
  65. package/lib/runtime/artifact-session.js +10 -114
  66. package/lib/runtime/artifact-session.js.map +1 -1
  67. package/lib/runtime/bento-render-tree.d.ts.map +1 -1
  68. package/lib/runtime/bento-render-tree.js +2 -1
  69. package/lib/runtime/bento-render-tree.js.map +1 -1
  70. package/lib/runtime/declarative-page-delivery.d.ts +41 -0
  71. package/lib/runtime/declarative-page-delivery.d.ts.map +1 -0
  72. package/lib/runtime/declarative-page-delivery.js +270 -0
  73. package/lib/runtime/declarative-page-delivery.js.map +1 -0
  74. package/lib/runtime/index.d.ts +1 -0
  75. package/lib/runtime/index.d.ts.map +1 -1
  76. package/lib/runtime/index.js +1 -0
  77. package/lib/runtime/index.js.map +1 -1
  78. package/lib/schemas/index.d.ts +227 -0
  79. package/lib/schemas/index.d.ts.map +1 -1
  80. package/lib/schemas/index.js +9 -0
  81. package/lib/schemas/index.js.map +1 -1
  82. package/package.json +2 -2
  83. package/lib/esm/chunk-75IO3EKE.mjs.map +0 -1
  84. package/lib/esm/chunk-JEAEX7QG.mjs.map +0 -1
  85. package/lib/esm/chunk-TKVCHO6V.mjs.map +0 -1
  86. /package/lib/esm/{chunk-DWQNEXK3.mjs.map → chunk-UVLLWRYL.mjs.map} +0 -0
@@ -87,7 +87,7 @@ import {
87
87
  TaskAgentSessionLinkSchema,
88
88
  pageStreamRoutes,
89
89
  platformNotificationRoutes
90
- } from "../chunk-DWQNEXK3.mjs";
90
+ } from "../chunk-UVLLWRYL.mjs";
91
91
  import {
92
92
  ACTION_PROGRAM_ABI,
93
93
  AGENT_MODE_CAPABILITIES,
@@ -267,6 +267,7 @@ import {
267
267
  DECLARATIVE_CONTROL_ONTOLOGY_DEFINITIONS,
268
268
  DECLARATIVE_CONTROL_SCHEMA_VERSION,
269
269
  DECLARATIVE_MIGRATION_ERROR_CODES,
270
+ DECLARATIVE_PAGE_BINDING_TOKEN_SOURCE,
270
271
  DECLARATIVE_PUBLICATION_SCOPE_HEADER,
271
272
  DECLARATIVE_PUBLICATION_SURFACE_HEADER,
272
273
  DEFAULT_ACTION_PROGRAM_BUDGETS,
@@ -326,12 +327,26 @@ import {
326
327
  DeclarativeNavigationRuntimeBootstrapSchema,
327
328
  DeclarativeNavigationSeedMigrationIntentSchema,
328
329
  DeclarativeNavigationSeedMigrationResultSchema,
330
+ DeclarativePageBindingKeySchema,
331
+ DeclarativePageBindingSchema,
332
+ DeclarativePageIdentityBindingSchema,
333
+ DeclarativePageOverlaySchema,
334
+ DeclarativePagePackageNameSchema,
335
+ DeclarativePagePackageSchema,
336
+ DeclarativePageRenderingSchema,
337
+ DeclarativePageResolvedBindingSchema,
329
338
  DeclarativePreparedReleaseTargetSchema,
330
339
  DeclarativePreviewResultSchema,
331
340
  DeclarativeProductResourceChoiceSchema,
332
341
  DeclarativeProductResourceRegistrationSchema,
342
+ DeclarativePublicationHealthStateSchema,
333
343
  DeclarativePublicationItemResultSchema,
344
+ DeclarativePublicationLastKnownGoodQuerySchema,
345
+ DeclarativePublicationLastKnownGoodResultSchema,
346
+ DeclarativePublicationLastKnownGoodSchema,
334
347
  DeclarativePublicationPlanIntentSchema,
348
+ DeclarativePublicationRecordResultSchema,
349
+ DeclarativePublicationRecoveryResultSchema,
335
350
  DeclarativePublicationResultSchema,
336
351
  DeclarativePublicationScopeSchema,
337
352
  DeclarativePublicationVerificationRequestSchema,
@@ -770,6 +785,7 @@ import {
770
785
  collectExternalPageExpressionReads,
771
786
  collectPageExpressionReads,
772
787
  declarativeControlRoutes,
788
+ declarativePageBindingToken,
773
789
  findUnsupportedAgentSessionCapabilities,
774
790
  getAgentModeCapabilities,
775
791
  getAgentSessionCommandPolicy,
@@ -784,7 +800,7 @@ import {
784
800
  resolveAgentWorkbenchSidebarConfig,
785
801
  validateBentoTree,
786
802
  visitPageExpression
787
- } from "../chunk-TKVCHO6V.mjs";
803
+ } from "../chunk-FNYVI3AY.mjs";
788
804
  import "../chunk-3QS3WKRC.mjs";
789
805
  export {
790
806
  ACTION_PROGRAM_ABI,
@@ -1003,6 +1019,7 @@ export {
1003
1019
  DECLARATIVE_CONTROL_ONTOLOGY_DEFINITIONS,
1004
1020
  DECLARATIVE_CONTROL_SCHEMA_VERSION,
1005
1021
  DECLARATIVE_MIGRATION_ERROR_CODES,
1022
+ DECLARATIVE_PAGE_BINDING_TOKEN_SOURCE,
1006
1023
  DECLARATIVE_PUBLICATION_SCOPE_HEADER,
1007
1024
  DECLARATIVE_PUBLICATION_SURFACE_HEADER,
1008
1025
  DEFAULT_ACTION_PROGRAM_BUDGETS,
@@ -1062,10 +1079,19 @@ export {
1062
1079
  DeclarativeNavigationRuntimeBootstrapSchema,
1063
1080
  DeclarativeNavigationSeedMigrationIntentSchema,
1064
1081
  DeclarativeNavigationSeedMigrationResultSchema,
1082
+ DeclarativePageBindingKeySchema,
1083
+ DeclarativePageBindingSchema,
1084
+ DeclarativePageIdentityBindingSchema,
1085
+ DeclarativePageOverlaySchema,
1086
+ DeclarativePagePackageNameSchema,
1087
+ DeclarativePagePackageSchema,
1088
+ DeclarativePageRenderingSchema,
1089
+ DeclarativePageResolvedBindingSchema,
1065
1090
  DeclarativePreparedReleaseTargetSchema,
1066
1091
  DeclarativePreviewResultSchema,
1067
1092
  DeclarativeProductResourceChoiceSchema,
1068
1093
  DeclarativeProductResourceRegistrationSchema,
1094
+ DeclarativePublicationHealthStateSchema,
1069
1095
  DeclarativePublicationItemResultSchema,
1070
1096
  DeclarativePublicationJobManifestSchema,
1071
1097
  DeclarativePublicationJobOperationSchema,
@@ -1073,7 +1099,12 @@ export {
1073
1099
  DeclarativePublicationJobReconciliationSchema,
1074
1100
  DeclarativePublicationJobSchema,
1075
1101
  DeclarativePublicationJobScopeSchema,
1102
+ DeclarativePublicationLastKnownGoodQuerySchema,
1103
+ DeclarativePublicationLastKnownGoodResultSchema,
1104
+ DeclarativePublicationLastKnownGoodSchema,
1076
1105
  DeclarativePublicationPlanIntentSchema,
1106
+ DeclarativePublicationRecordResultSchema,
1107
+ DeclarativePublicationRecoveryResultSchema,
1077
1108
  DeclarativePublicationResultSchema,
1078
1109
  DeclarativePublicationScopeSchema,
1079
1110
  DeclarativePublicationVerificationRequestSchema,
@@ -1554,6 +1585,7 @@ export {
1554
1585
  collectExternalPageExpressionReads,
1555
1586
  collectPageExpressionReads,
1556
1587
  declarativeControlRoutes,
1588
+ declarativePageBindingToken,
1557
1589
  findUnsupportedAgentSessionCapabilities,
1558
1590
  getAgentModeCapabilities,
1559
1591
  getAgentSessionCommandPolicy,
package/lib/esm/index.mjs CHANGED
@@ -1,10 +1,11 @@
1
1
  import {
2
2
  canonicalContractSchemas
3
- } from "./chunk-75IO3EKE.mjs";
3
+ } from "./chunk-ES3EYSBV.mjs";
4
4
  import {
5
5
  APPLICATION_HANDOFF_QUERY_PARAMETER,
6
6
  DEFAULT_CONDUCTOR_OWNER_EMAIL,
7
7
  DeclarativeControlCompilationError,
8
+ DeclarativePageDeliveryError,
8
9
  MenuCompilationError,
9
10
  PageComponentDefinitionSchema,
10
11
  PageCompositionSchema,
@@ -32,10 +33,10 @@ import {
32
33
  buildPageMountHref,
33
34
  canonicalContentHash,
34
35
  captureRecordEditorSubmission,
36
+ collectDeclarativePageBindingKeys,
35
37
  collectManagedFileReferences,
36
38
  collectMaterializedModelPages,
37
39
  compileBentoNodeToRenderTree,
38
- compileBentoTreeToRenderTree,
39
40
  compileCapabilityRegistry,
40
41
  compileComponentAssemblyValidator,
41
42
  compileConductorWorkflowDefinition,
@@ -132,6 +133,7 @@ import {
132
133
  recordEditorDraftIsDirty,
133
134
  recordEditorPathKey,
134
135
  recordEditorValuesEqual,
136
+ renderDeclarativePagePackages,
135
137
  resolveFileResourceReference,
136
138
  resolveMenuActivationId,
137
139
  resolvePage,
@@ -153,7 +155,7 @@ import {
153
155
  validateDomainCommand,
154
156
  validateWorkbenchRuntimeSet,
155
157
  writePageDraftPath
156
- } from "./chunk-JEAEX7QG.mjs";
158
+ } from "./chunk-WIGX4I2M.mjs";
157
159
  import {
158
160
  AGENT_DATA_CONTEXT_ENV,
159
161
  AGENT_DATA_CONTEXT_FILE_ENV,
@@ -243,7 +245,7 @@ import {
243
245
  TaskAgentSessionLinkSchema,
244
246
  pageStreamRoutes,
245
247
  platformNotificationRoutes
246
- } from "./chunk-DWQNEXK3.mjs";
248
+ } from "./chunk-UVLLWRYL.mjs";
247
249
  import {
248
250
  ACTION_PROGRAM_ABI,
249
251
  AGENT_MODE_CAPABILITIES,
@@ -423,6 +425,7 @@ import {
423
425
  DECLARATIVE_CONTROL_ONTOLOGY_DEFINITIONS,
424
426
  DECLARATIVE_CONTROL_SCHEMA_VERSION,
425
427
  DECLARATIVE_MIGRATION_ERROR_CODES,
428
+ DECLARATIVE_PAGE_BINDING_TOKEN_SOURCE,
426
429
  DECLARATIVE_PUBLICATION_SCOPE_HEADER,
427
430
  DECLARATIVE_PUBLICATION_SURFACE_HEADER,
428
431
  DEFAULT_ACTION_PROGRAM_BUDGETS,
@@ -482,12 +485,26 @@ import {
482
485
  DeclarativeNavigationRuntimeBootstrapSchema,
483
486
  DeclarativeNavigationSeedMigrationIntentSchema,
484
487
  DeclarativeNavigationSeedMigrationResultSchema,
488
+ DeclarativePageBindingKeySchema,
489
+ DeclarativePageBindingSchema,
490
+ DeclarativePageIdentityBindingSchema,
491
+ DeclarativePageOverlaySchema,
492
+ DeclarativePagePackageNameSchema,
493
+ DeclarativePagePackageSchema,
494
+ DeclarativePageRenderingSchema,
495
+ DeclarativePageResolvedBindingSchema,
485
496
  DeclarativePreparedReleaseTargetSchema,
486
497
  DeclarativePreviewResultSchema,
487
498
  DeclarativeProductResourceChoiceSchema,
488
499
  DeclarativeProductResourceRegistrationSchema,
500
+ DeclarativePublicationHealthStateSchema,
489
501
  DeclarativePublicationItemResultSchema,
502
+ DeclarativePublicationLastKnownGoodQuerySchema,
503
+ DeclarativePublicationLastKnownGoodResultSchema,
504
+ DeclarativePublicationLastKnownGoodSchema,
490
505
  DeclarativePublicationPlanIntentSchema,
506
+ DeclarativePublicationRecordResultSchema,
507
+ DeclarativePublicationRecoveryResultSchema,
491
508
  DeclarativePublicationResultSchema,
492
509
  DeclarativePublicationScopeSchema,
493
510
  DeclarativePublicationVerificationRequestSchema,
@@ -930,6 +947,7 @@ import {
930
947
  collectExternalPageExpressionReads,
931
948
  collectPageExpressionReads,
932
949
  declarativeControlRoutes,
950
+ declarativePageBindingToken,
933
951
  findUnsupportedAgentSessionCapabilities,
934
952
  getAgentModeCapabilities,
935
953
  getAgentSessionCommandPolicy,
@@ -948,7 +966,7 @@ import {
948
966
  validateThemeTokensDocument,
949
967
  validateThemeTokensDocumentStructure,
950
968
  visitPageExpression
951
- } from "./chunk-TKVCHO6V.mjs";
969
+ } from "./chunk-FNYVI3AY.mjs";
952
970
  import "./chunk-3QS3WKRC.mjs";
953
971
 
954
972
  // src/types/tool.ts
@@ -1206,6 +1224,7 @@ export {
1206
1224
  DECLARATIVE_CONTROL_ONTOLOGY_DEFINITIONS,
1207
1225
  DECLARATIVE_CONTROL_SCHEMA_VERSION,
1208
1226
  DECLARATIVE_MIGRATION_ERROR_CODES,
1227
+ DECLARATIVE_PAGE_BINDING_TOKEN_SOURCE,
1209
1228
  DECLARATIVE_PUBLICATION_SCOPE_HEADER,
1210
1229
  DECLARATIVE_PUBLICATION_SURFACE_HEADER,
1211
1230
  DEFAULT_ACTION_PROGRAM_BUDGETS,
@@ -1267,10 +1286,20 @@ export {
1267
1286
  DeclarativeNavigationRuntimeBootstrapSchema,
1268
1287
  DeclarativeNavigationSeedMigrationIntentSchema,
1269
1288
  DeclarativeNavigationSeedMigrationResultSchema,
1289
+ DeclarativePageBindingKeySchema,
1290
+ DeclarativePageBindingSchema,
1291
+ DeclarativePageDeliveryError,
1292
+ DeclarativePageIdentityBindingSchema,
1293
+ DeclarativePageOverlaySchema,
1294
+ DeclarativePagePackageNameSchema,
1295
+ DeclarativePagePackageSchema,
1296
+ DeclarativePageRenderingSchema,
1297
+ DeclarativePageResolvedBindingSchema,
1270
1298
  DeclarativePreparedReleaseTargetSchema,
1271
1299
  DeclarativePreviewResultSchema,
1272
1300
  DeclarativeProductResourceChoiceSchema,
1273
1301
  DeclarativeProductResourceRegistrationSchema,
1302
+ DeclarativePublicationHealthStateSchema,
1274
1303
  DeclarativePublicationItemResultSchema,
1275
1304
  DeclarativePublicationJobManifestSchema,
1276
1305
  DeclarativePublicationJobOperationSchema,
@@ -1278,7 +1307,12 @@ export {
1278
1307
  DeclarativePublicationJobReconciliationSchema,
1279
1308
  DeclarativePublicationJobSchema,
1280
1309
  DeclarativePublicationJobScopeSchema,
1310
+ DeclarativePublicationLastKnownGoodQuerySchema,
1311
+ DeclarativePublicationLastKnownGoodResultSchema,
1312
+ DeclarativePublicationLastKnownGoodSchema,
1281
1313
  DeclarativePublicationPlanIntentSchema,
1314
+ DeclarativePublicationRecordResultSchema,
1315
+ DeclarativePublicationRecoveryResultSchema,
1282
1316
  DeclarativePublicationResultSchema,
1283
1317
  DeclarativePublicationScopeSchema,
1284
1318
  DeclarativePublicationVerificationRequestSchema,
@@ -1792,12 +1826,12 @@ export {
1792
1826
  canonicalContractSchemas,
1793
1827
  captureRecordEditorSubmission,
1794
1828
  collectBentoLeafNodes,
1829
+ collectDeclarativePageBindingKeys,
1795
1830
  collectExternalPageExpressionReads,
1796
1831
  collectManagedFileReferences,
1797
1832
  collectMaterializedModelPages,
1798
1833
  collectPageExpressionReads,
1799
1834
  compileBentoNodeToRenderTree,
1800
- compileBentoTreeToRenderTree,
1801
1835
  compileCapabilityRegistry,
1802
1836
  compileComponentAssemblyValidator,
1803
1837
  compileConductorWorkflowDefinition,
@@ -1846,6 +1880,7 @@ export {
1846
1880
  declarativeControlRoutes,
1847
1881
  declarativeCreateTemplateRevisionHash,
1848
1882
  declarativeCreateTemplateSourceHash,
1883
+ declarativePageBindingToken,
1849
1884
  declarativeProductResourceRevisionHash,
1850
1885
  declarativeProductResourceSourceHash,
1851
1886
  declarativeRouteOwnerIndexProjectionId,
@@ -1908,6 +1943,7 @@ export {
1908
1943
  recordEditorDraftIsDirty,
1909
1944
  recordEditorPathKey,
1910
1945
  recordEditorValuesEqual,
1946
+ renderDeclarativePagePackages,
1911
1947
  resolveAgentSessionCommandTransition,
1912
1948
  resolveAgentWorkbenchSidebarConfig,
1913
1949
  resolveFileResourceReference,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/types/tool.ts","../../src/types/workflow.ts"],"sourcesContent":["import { I18nValue } from \"./i18n\";\n\nexport type IJSONValue = string | number | boolean | IJSONObject | IJSONArray;\nexport type IJSONArray = Array<IJSONValue>;\nexport interface IJSONObject {\n [x: string]: IJSONValue;\n}\n\nexport type ToolPropertyTypes =\n | \"string\"\n | \"file\"\n | \"number\"\n | \"boolean\"\n | \"options\"\n | \"json\"\n | \"notice\"\n | \"canvas-assist\";\n\nexport const CODE_LANGUAGES = [\"javaScript\", \"json\", \"python\", \"sql\"] as const;\n\nexport type EditorType =\n | \"code\"\n | \"codeNodeEditor\"\n | \"htmlEditor\"\n | \"sqlEditor\"\n | \"json\";\nexport type CodeNodeEditorLanguage = (typeof CODE_LANGUAGES)[number];\n\nexport interface ToolPropertyTypeOptions {\n editor?: EditorType; // Supported by: string\n editorLanguage?: CodeNodeEditorLanguage; // Supported by: string in combination with editor: codeNodeEditor\n maxValue?: number; // Supported by: number\n minValue?: number; // Supported by: number\n multipleValues?: boolean; // Supported by: <All>\n multipleValueButtonText?: string; // Supported when \"multipleValues\" set to true\n numberPrecision?: number; // Supported by: number\n password?: boolean; // Supported by: string\n rows?: number; // Supported by: string\n assetType?: AssetType;\n accept?: string;\n max?: number;\n\n [key: string]: any;\n}\n\nexport type ToolPropertyParameterValue =\n | string\n | number\n | boolean\n | undefined\n | null;\n\nexport type ResourceLocatorModes = \"id\" | \"url\" | \"list\" | string;\nexport interface IResourceLocatorResult {\n name: string;\n value: string;\n url?: string;\n}\n\nexport interface ToolParameter {\n [key: string]: ToolParameterValueType;\n}\nexport type ToolParameterValueType =\n // TODO: Later also has to be possible to add multiple ones with the name name. So array has to be possible\n | ToolPropertyParameterValue\n | ToolParameter\n | ToolPropertyParameterValue[]\n | ToolParameter[];\n\nexport interface ToolPropertyDisplayOptions {\n hide?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n show?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n}\n\nexport interface ToolPropertyOptions {\n name: string | I18nValue;\n value: string | number | boolean;\n action?: string;\n description?: string | I18nValue;\n}\n\nexport interface ToolPropertyCollection {\n displayName: string;\n name: string;\n values: ToolProperty[];\n}\n\nexport interface ToolPropertyValueExtractorBase {\n type: string;\n}\n\nexport interface ToolPropertyValueExtractorRegex {\n type: \"regex\";\n regex: string | RegExp;\n}\n\nexport type AssetType =\n | \"llm-model\"\n | \"sd-model\"\n | \"workflow\"\n | \"workflow-association\"\n | \"design-project\"\n | \"design-association\"\n | \"design-board\"\n | \"workflow-view\"\n | \"media-file\"\n | \"sql-knowledge-base-table\"\n | \"sql-knowledge-base\"\n | \"knowledge-base\"\n | \"canvas\"\n | \"workflow-template\"\n | \"fork-join-branch\"\n | \"workflow-version\"\n | \"tools\"\n | \"comfyui-server\"\n | \"comfyui-workflow\"\n | \"comfyui-model-type\"\n | \"comfyui-model\"\n | \"llm-channel\"\n | \"conversation-app\"\n | \"oneapi-model\"\n | \"leaderboard\"\n | \"model-training\";\n\nexport interface ToolProperty {\n displayName: string | I18nValue;\n name: string;\n type: ToolPropertyTypes;\n typeOptions?: ToolPropertyTypeOptions;\n default?: ToolParameterValueType;\n description?: string | I18nValue;\n hint?: string;\n displayOptions?: ToolPropertyDisplayOptions;\n options?: Array<ToolPropertyOptions | ToolProperty | ToolPropertyCollection>;\n placeholder?: string | I18nValue;\n isNodeSetting?: boolean;\n noDataExpression?: boolean;\n required?: boolean;\n example?: string;\n extractValue?: ToolPropertyValueExtractorRegex;\n properties?: ToolProperty[];\n assetType?: AssetType;\n flag?: boolean;\n}\n\nexport type ToolCategory =\n | \"image\" // 图像处理\n | \"text\" // 文本处理\n | \"file\" // 文件处理\n | \"gen-image\" // 图像生成\n | \"gen-text\" // 文本生成\n | \"train-model\" // 模型训练\n | \"process\" // 流程控制\n | \"auto\" // 自动化\n | \"bio\" // 生命科学\n | \"human\" // 用户交互\n | \"query\" // 搜索增强\n | \"db\" // 数据存储\n | \"extra\"; // 扩展能力\n\nexport enum ToolType {\n SIMPLE = \"SIMPLE\",\n FORK_JOIN = \"FORK_JOIN\",\n JOIN = \"JOIN\",\n DO_WHILE = \"DO_WHILE\",\n SWITCH = \"SWITCH\",\n DYNAMIC = \"DYNAMIC\",\n FORK_JOIN_DYNAMIC = \"FORK_JOIN_DYNAMIC\",\n TERMINATE = \"TERMINATE\",\n HUMAN = \"HUMAN\",\n SUB_WORKFLOW = \"SUB_WORKFLOW\",\n INLINE = \"INLINE\",\n SET_VARIABLE = \"SET_VARIABLE\",\n}\n\nexport interface ToolRuleItem {\n type: string;\n [x: string]: any;\n}\n\nexport interface ToolExtraInfo {\n [x: string]: any;\n}\n\nexport interface ToolCredentialItem {\n name: string;\n required: boolean;\n}\n\nexport interface ToolDef {\n type: ToolType;\n name: string;\n displayName: string | I18nValue;\n description?: string | I18nValue;\n icon?: string;\n input: ToolProperty[];\n output: ToolProperty[];\n categories?: ToolCategory[];\n rules?: ToolRuleItem[];\n extra?: ToolExtraInfo;\n credentials?: ToolCredentialItem[];\n}\n","export enum ValidationIssueType {\n ERROR = 'ERROR',\n WANTING = 'WANTING',\n}\n\nexport enum ValidationReasonType {\n VALUE_REQUIRED = 'VALUE_REQUIRED',\n VALUE_TYPE_NOT_MATCH = 'VALUE_TYPE_NOT_MATCH',\n DO_WHILE_EMPTY_LOOP_OVER = 'DO_WHILE_EMPTY_LOOP_OVER',\n}\n\nexport interface ValidationIssueReason {\n type: ValidationReasonType;\n name: string;\n}\n\nexport interface WorkflowValidationIssue {\n taskReferenceName: string;\n issueType: ValidationIssueType;\n detailReason: ValidationIssueReason;\n humanMessage: {\n en: string;\n zh: string;\n };\n}\n\nexport interface WorkflowTriggerConfig {\n triggerType: WorkflowTriggerType;\n cron?: string;\n}\n\nexport enum WorkflowTriggerType {\n MANUALLY = 'MANUAL',\n SCHEDULER = 'SCHEDULER',\n WEBHOOK = 'WEBHOOK',\n}\n \n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,IAAM,iBAAiB,CAAC,cAAc,QAAQ,UAAU,KAAK;AAkJ7D,IAAK,WAAL,kBAAKA,cAAL;AACL,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,UAAO;AACP,EAAAA,UAAA,cAAW;AACX,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,aAAU;AACV,EAAAA,UAAA,uBAAoB;AACpB,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,WAAQ;AACR,EAAAA,UAAA,kBAAe;AACf,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACpKL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,aAAU;AAFA,SAAAA;AAAA,GAAA;AAKL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,8BAA2B;AAHjB,SAAAA;AAAA,GAAA;AA0BL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,cAAW;AACX,EAAAA,qBAAA,eAAY;AACZ,EAAAA,qBAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;","names":["ToolType","ValidationIssueType","ValidationReasonType","WorkflowTriggerType"]}
1
+ {"version":3,"sources":["../../src/types/tool.ts","../../src/types/workflow.ts"],"sourcesContent":["import { I18nValue } from \"./i18n\";\n\nexport type IJSONValue = string | number | boolean | IJSONObject | IJSONArray;\nexport type IJSONArray = Array<IJSONValue>;\nexport interface IJSONObject {\n [x: string]: IJSONValue;\n}\n\nexport type ToolPropertyTypes =\n | \"string\"\n | \"file\"\n | \"number\"\n | \"boolean\"\n | \"options\"\n | \"json\"\n | \"notice\"\n | \"canvas-assist\";\n\nexport const CODE_LANGUAGES = [\"javaScript\", \"json\", \"python\", \"sql\"] as const;\n\nexport type EditorType =\n | \"code\"\n | \"codeNodeEditor\"\n | \"htmlEditor\"\n | \"sqlEditor\"\n | \"json\";\nexport type CodeNodeEditorLanguage = (typeof CODE_LANGUAGES)[number];\n\nexport interface ToolPropertyTypeOptions {\n editor?: EditorType; // Supported by: string\n editorLanguage?: CodeNodeEditorLanguage; // Supported by: string in combination with editor: codeNodeEditor\n maxValue?: number; // Supported by: number\n minValue?: number; // Supported by: number\n multipleValues?: boolean; // Supported by: <All>\n multipleValueButtonText?: string; // Supported when \"multipleValues\" set to true\n numberPrecision?: number; // Supported by: number\n password?: boolean; // Supported by: string\n rows?: number; // Supported by: string\n assetType?: AssetType;\n accept?: string;\n max?: number;\n\n [key: string]: any;\n}\n\nexport type ToolPropertyParameterValue =\n | string\n | number\n | boolean\n | undefined\n | null;\n\nexport type ResourceLocatorModes = \"id\" | \"url\" | \"list\" | string;\nexport interface IResourceLocatorResult {\n name: string;\n value: string;\n url?: string;\n}\n\nexport interface ToolParameter {\n [key: string]: ToolParameterValueType;\n}\nexport type ToolParameterValueType =\n // TODO: Later also has to be possible to add multiple ones with the name name. So array has to be possible\n | ToolPropertyParameterValue\n | ToolParameter\n | ToolPropertyParameterValue[]\n | ToolParameter[];\n\nexport interface ToolPropertyDisplayOptions {\n hide?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n show?: {\n [key: string]: ToolPropertyParameterValue[] | undefined;\n };\n}\n\nexport interface ToolPropertyOptions {\n name: string | I18nValue;\n value: string | number | boolean;\n action?: string;\n description?: string | I18nValue;\n}\n\nexport interface ToolPropertyCollection {\n displayName: string;\n name: string;\n values: ToolProperty[];\n}\n\nexport interface ToolPropertyValueExtractorBase {\n type: string;\n}\n\nexport interface ToolPropertyValueExtractorRegex {\n type: \"regex\";\n regex: string | RegExp;\n}\n\nexport type AssetType =\n | \"llm-model\"\n | \"sd-model\"\n | \"workflow\"\n | \"workflow-association\"\n | \"design-project\"\n | \"design-association\"\n | \"design-board\"\n | \"workflow-view\"\n | \"media-file\"\n | \"sql-knowledge-base-table\"\n | \"sql-knowledge-base\"\n | \"knowledge-base\"\n | \"canvas\"\n | \"workflow-template\"\n | \"fork-join-branch\"\n | \"workflow-version\"\n | \"tools\"\n | \"comfyui-server\"\n | \"comfyui-workflow\"\n | \"comfyui-model-type\"\n | \"comfyui-model\"\n | \"llm-channel\"\n | \"conversation-app\"\n | \"oneapi-model\"\n | \"leaderboard\"\n | \"model-training\";\n\nexport interface ToolProperty {\n displayName: string | I18nValue;\n name: string;\n type: ToolPropertyTypes;\n typeOptions?: ToolPropertyTypeOptions;\n default?: ToolParameterValueType;\n description?: string | I18nValue;\n hint?: string;\n displayOptions?: ToolPropertyDisplayOptions;\n options?: Array<ToolPropertyOptions | ToolProperty | ToolPropertyCollection>;\n placeholder?: string | I18nValue;\n isNodeSetting?: boolean;\n noDataExpression?: boolean;\n required?: boolean;\n example?: string;\n extractValue?: ToolPropertyValueExtractorRegex;\n properties?: ToolProperty[];\n assetType?: AssetType;\n flag?: boolean;\n}\n\nexport type ToolCategory =\n | \"image\" // 图像处理\n | \"text\" // 文本处理\n | \"file\" // 文件处理\n | \"gen-image\" // 图像生成\n | \"gen-text\" // 文本生成\n | \"train-model\" // 模型训练\n | \"process\" // 流程控制\n | \"auto\" // 自动化\n | \"bio\" // 生命科学\n | \"human\" // 用户交互\n | \"query\" // 搜索增强\n | \"db\" // 数据存储\n | \"extra\"; // 扩展能力\n\nexport enum ToolType {\n SIMPLE = \"SIMPLE\",\n FORK_JOIN = \"FORK_JOIN\",\n JOIN = \"JOIN\",\n DO_WHILE = \"DO_WHILE\",\n SWITCH = \"SWITCH\",\n DYNAMIC = \"DYNAMIC\",\n FORK_JOIN_DYNAMIC = \"FORK_JOIN_DYNAMIC\",\n TERMINATE = \"TERMINATE\",\n HUMAN = \"HUMAN\",\n SUB_WORKFLOW = \"SUB_WORKFLOW\",\n INLINE = \"INLINE\",\n SET_VARIABLE = \"SET_VARIABLE\",\n}\n\nexport interface ToolRuleItem {\n type: string;\n [x: string]: any;\n}\n\nexport interface ToolExtraInfo {\n [x: string]: any;\n}\n\nexport interface ToolCredentialItem {\n name: string;\n required: boolean;\n}\n\nexport interface ToolDef {\n type: ToolType;\n name: string;\n displayName: string | I18nValue;\n description?: string | I18nValue;\n icon?: string;\n input: ToolProperty[];\n output: ToolProperty[];\n categories?: ToolCategory[];\n rules?: ToolRuleItem[];\n extra?: ToolExtraInfo;\n credentials?: ToolCredentialItem[];\n}\n","export enum ValidationIssueType {\n ERROR = 'ERROR',\n WANTING = 'WANTING',\n}\n\nexport enum ValidationReasonType {\n VALUE_REQUIRED = 'VALUE_REQUIRED',\n VALUE_TYPE_NOT_MATCH = 'VALUE_TYPE_NOT_MATCH',\n DO_WHILE_EMPTY_LOOP_OVER = 'DO_WHILE_EMPTY_LOOP_OVER',\n}\n\nexport interface ValidationIssueReason {\n type: ValidationReasonType;\n name: string;\n}\n\nexport interface WorkflowValidationIssue {\n taskReferenceName: string;\n issueType: ValidationIssueType;\n detailReason: ValidationIssueReason;\n humanMessage: {\n en: string;\n zh: string;\n };\n}\n\nexport interface WorkflowTriggerConfig {\n triggerType: WorkflowTriggerType;\n cron?: string;\n}\n\nexport enum WorkflowTriggerType {\n MANUALLY = 'MANUAL',\n SCHEDULER = 'SCHEDULER',\n WEBHOOK = 'WEBHOOK',\n}\n \n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,IAAM,iBAAiB,CAAC,cAAc,QAAQ,UAAU,KAAK;AAkJ7D,IAAK,WAAL,kBAAKA,cAAL;AACL,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,UAAO;AACP,EAAAA,UAAA,cAAW;AACX,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,aAAU;AACV,EAAAA,UAAA,uBAAoB;AACpB,EAAAA,UAAA,eAAY;AACZ,EAAAA,UAAA,WAAQ;AACR,EAAAA,UAAA,kBAAe;AACf,EAAAA,UAAA,YAAS;AACT,EAAAA,UAAA,kBAAe;AAZL,SAAAA;AAAA,GAAA;;;ACpKL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,aAAU;AAFA,SAAAA;AAAA,GAAA;AAKL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,0BAAuB;AACvB,EAAAA,sBAAA,8BAA2B;AAHjB,SAAAA;AAAA,GAAA;AA0BL,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,cAAW;AACX,EAAAA,qBAAA,eAAY;AACZ,EAAAA,qBAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;","names":["ToolType","ValidationIssueType","ValidationReasonType","WorkflowTriggerType"]}
@@ -2,6 +2,7 @@ import {
2
2
  APPLICATION_HANDOFF_QUERY_PARAMETER,
3
3
  DEFAULT_CONDUCTOR_OWNER_EMAIL,
4
4
  DeclarativeControlCompilationError,
5
+ DeclarativePageDeliveryError,
5
6
  MenuCompilationError,
6
7
  PageComponentDefinitionSchema,
7
8
  PageCompositionSchema,
@@ -29,10 +30,10 @@ import {
29
30
  buildPageMountHref,
30
31
  canonicalContentHash,
31
32
  captureRecordEditorSubmission,
33
+ collectDeclarativePageBindingKeys,
32
34
  collectManagedFileReferences,
33
35
  collectMaterializedModelPages,
34
36
  compileBentoNodeToRenderTree,
35
- compileBentoTreeToRenderTree,
36
37
  compileCapabilityRegistry,
37
38
  compileComponentAssemblyValidator,
38
39
  compileConductorWorkflowDefinition,
@@ -129,6 +130,7 @@ import {
129
130
  recordEditorDraftIsDirty,
130
131
  recordEditorPathKey,
131
132
  recordEditorValuesEqual,
133
+ renderDeclarativePagePackages,
132
134
  resolveFileResourceReference,
133
135
  resolveMenuActivationId,
134
136
  resolvePage,
@@ -150,8 +152,8 @@ import {
150
152
  validateDomainCommand,
151
153
  validateWorkbenchRuntimeSet,
152
154
  writePageDraftPath
153
- } from "../chunk-JEAEX7QG.mjs";
154
- import "../chunk-DWQNEXK3.mjs";
155
+ } from "../chunk-WIGX4I2M.mjs";
156
+ import "../chunk-UVLLWRYL.mjs";
155
157
  import {
156
158
  MONKEYS_REQUIRED_THEME_TOKEN_PATHS,
157
159
  ThemeTokenValidationError,
@@ -161,12 +163,13 @@ import {
161
163
  resolveThemeTokens,
162
164
  validateThemeTokensDocument,
163
165
  validateThemeTokensDocumentStructure
164
- } from "../chunk-TKVCHO6V.mjs";
166
+ } from "../chunk-FNYVI3AY.mjs";
165
167
  import "../chunk-3QS3WKRC.mjs";
166
168
  export {
167
169
  APPLICATION_HANDOFF_QUERY_PARAMETER,
168
170
  DEFAULT_CONDUCTOR_OWNER_EMAIL,
169
171
  DeclarativeControlCompilationError,
172
+ DeclarativePageDeliveryError,
170
173
  MONKEYS_REQUIRED_THEME_TOKEN_PATHS,
171
174
  MenuCompilationError,
172
175
  PageComponentDefinitionSchema,
@@ -198,10 +201,10 @@ export {
198
201
  buildPageMountHref,
199
202
  canonicalContentHash,
200
203
  captureRecordEditorSubmission,
204
+ collectDeclarativePageBindingKeys,
201
205
  collectManagedFileReferences,
202
206
  collectMaterializedModelPages,
203
207
  compileBentoNodeToRenderTree,
204
- compileBentoTreeToRenderTree,
205
208
  compileCapabilityRegistry,
206
209
  compileComponentAssemblyValidator,
207
210
  compileConductorWorkflowDefinition,
@@ -299,6 +302,7 @@ export {
299
302
  recordEditorDraftIsDirty,
300
303
  recordEditorPathKey,
301
304
  recordEditorValuesEqual,
305
+ renderDeclarativePagePackages,
302
306
  resolveFileResourceReference,
303
307
  resolveMenuActivationId,
304
308
  resolvePage,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  canonicalContractSchemas
3
- } from "../chunk-75IO3EKE.mjs";
3
+ } from "../chunk-ES3EYSBV.mjs";
4
4
  import {
5
5
  AccessPolicySchema,
6
6
  ActionBindingSchema,
@@ -432,7 +432,7 @@ import {
432
432
  WorkflowTriggerSchema,
433
433
  WorkflowValidationIssueSchema,
434
434
  WorkspaceInteractionModeSchema
435
- } from "../chunk-TKVCHO6V.mjs";
435
+ } from "../chunk-FNYVI3AY.mjs";
436
436
  import "../chunk-3QS3WKRC.mjs";
437
437
  export {
438
438
  AccessPolicySchema,
@@ -1584,6 +1584,43 @@
1584
1584
  ],
1585
1585
  "additionalProperties": false
1586
1586
  },
1587
+ {
1588
+ "type": "object",
1589
+ "properties": {
1590
+ "kind": {
1591
+ "type": "string",
1592
+ "const": "ontology-view"
1593
+ },
1594
+ "viewId": {
1595
+ "type": "string",
1596
+ "minLength": 1,
1597
+ "maxLength": 256
1598
+ },
1599
+ "statementId": {
1600
+ "type": "string",
1601
+ "minLength": 1,
1602
+ "maxLength": 256
1603
+ },
1604
+ "keyword": {
1605
+ "type": "string",
1606
+ "maxLength": 512
1607
+ },
1608
+ "pageSize": {
1609
+ "type": "integer",
1610
+ "minimum": 1,
1611
+ "maximum": 200
1612
+ },
1613
+ "pageToken": {
1614
+ "type": "string",
1615
+ "maxLength": 512
1616
+ }
1617
+ },
1618
+ "required": [
1619
+ "kind",
1620
+ "viewId"
1621
+ ],
1622
+ "additionalProperties": false
1623
+ },
1587
1624
  {
1588
1625
  "type": "object",
1589
1626
  "properties": {
@@ -0,0 +1,184 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "DeclarativePageOverlay"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "customer": {
14
+ "type": "string",
15
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
16
+ },
17
+ "environment": {
18
+ "type": "string",
19
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
20
+ },
21
+ "packages": {
22
+ "minItems": 1,
23
+ "maxItems": 128,
24
+ "type": "array",
25
+ "items": {
26
+ "type": "object",
27
+ "properties": {
28
+ "package": {
29
+ "anyOf": [
30
+ {
31
+ "type": "string",
32
+ "const": "_shared"
33
+ },
34
+ {
35
+ "type": "string",
36
+ "pattern": "^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
37
+ }
38
+ ]
39
+ },
40
+ "pages": {
41
+ "minItems": 1,
42
+ "maxItems": 256,
43
+ "type": "array",
44
+ "items": {
45
+ "type": "string",
46
+ "minLength": 1,
47
+ "maxLength": 256
48
+ }
49
+ }
50
+ },
51
+ "required": [
52
+ "package"
53
+ ],
54
+ "additionalProperties": false
55
+ }
56
+ },
57
+ "bindings": {
58
+ "type": "object",
59
+ "propertyNames": {
60
+ "type": "string",
61
+ "pattern": "^[a-z0-9](?:[a-z0-9._-]{0,126}[a-z0-9])?$"
62
+ },
63
+ "additionalProperties": {
64
+ "anyOf": [
65
+ {
66
+ "anyOf": [
67
+ {
68
+ "type": "object",
69
+ "properties": {
70
+ "kind": {
71
+ "type": "string",
72
+ "const": "ontology"
73
+ },
74
+ "id": {
75
+ "type": "string",
76
+ "minLength": 1,
77
+ "maxLength": 256
78
+ }
79
+ },
80
+ "required": [
81
+ "kind",
82
+ "id"
83
+ ],
84
+ "additionalProperties": false
85
+ },
86
+ {
87
+ "type": "object",
88
+ "properties": {
89
+ "kind": {
90
+ "type": "string",
91
+ "const": "view"
92
+ },
93
+ "id": {
94
+ "type": "string",
95
+ "minLength": 1,
96
+ "maxLength": 256
97
+ },
98
+ "ontologyId": {
99
+ "type": "string",
100
+ "minLength": 1,
101
+ "maxLength": 256
102
+ }
103
+ },
104
+ "required": [
105
+ "kind",
106
+ "id"
107
+ ],
108
+ "additionalProperties": false
109
+ },
110
+ {
111
+ "type": "object",
112
+ "properties": {
113
+ "kind": {
114
+ "type": "string",
115
+ "const": "workflow"
116
+ },
117
+ "id": {
118
+ "type": "string",
119
+ "minLength": 1,
120
+ "maxLength": 256
121
+ }
122
+ },
123
+ "required": [
124
+ "kind",
125
+ "id"
126
+ ],
127
+ "additionalProperties": false
128
+ },
129
+ {
130
+ "type": "object",
131
+ "properties": {
132
+ "kind": {
133
+ "type": "string",
134
+ "const": "team"
135
+ },
136
+ "id": {
137
+ "type": "string",
138
+ "minLength": 1,
139
+ "maxLength": 256
140
+ }
141
+ },
142
+ "required": [
143
+ "kind",
144
+ "id"
145
+ ],
146
+ "additionalProperties": false
147
+ }
148
+ ]
149
+ },
150
+ {
151
+ "type": "object",
152
+ "properties": {
153
+ "kind": {
154
+ "type": "string",
155
+ "const": "value"
156
+ },
157
+ "value": {
158
+ "type": "string",
159
+ "minLength": 1,
160
+ "maxLength": 2048
161
+ }
162
+ },
163
+ "required": [
164
+ "kind",
165
+ "value"
166
+ ],
167
+ "additionalProperties": false
168
+ }
169
+ ]
170
+ }
171
+ }
172
+ },
173
+ "required": [
174
+ "contract",
175
+ "schemaVersion",
176
+ "customer",
177
+ "environment",
178
+ "packages",
179
+ "bindings"
180
+ ],
181
+ "additionalProperties": false,
182
+ "$id": "https://schemas.infmonkeys.com/contracts/declarative-page-overlay.schema.json",
183
+ "title": "declarative-page-overlay"
184
+ }