@elementumai/edk 0.0.0-oidc-bootstrap → 0.8.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.
- package/README.md +462 -3
- package/dist-sdk/elementum-entity-client/clients/agents/models/agent-tool.d.ts +188 -0
- package/dist-sdk/elementum-entity-client/clients/agents/models/agent-tool.js +20 -0
- package/dist-sdk/elementum-entity-client/clients/agents/models/agent.d.ts +245 -0
- package/dist-sdk/elementum-entity-client/clients/agents/models/agent.js +30 -0
- package/dist-sdk/elementum-entity-client/clients/ai-provider-connectors/models/ai-provider-connector.d.ts +18 -0
- package/dist-sdk/elementum-entity-client/clients/ai-provider-connectors/models/ai-provider-connector.js +8 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/aspect.d.ts +718 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/aspect.js +52 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/field-base.d.ts +23 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/field-base.js +1 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/field-types.d.ts +148 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/field-types.js +12 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/format.d.ts +63 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/format.js +17 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/index.d.ts +39 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/index.js +35 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/picklist-config.d.ts +116 -0
- package/dist-sdk/elementum-entity-client/clients/aspects/models/picklist-config.js +11 -0
- package/dist-sdk/elementum-entity-client/clients/automation/models/automation.d.ts +178 -0
- package/dist-sdk/elementum-entity-client/clients/automation/models/automation.js +18 -0
- package/dist-sdk/elementum-entity-client/clients/document-models/models/document-model.d.ts +200 -0
- package/dist-sdk/elementum-entity-client/clients/document-models/models/document-model.js +1 -0
- package/dist-sdk/elementum-entity-client/clients/search-tables/models/index.d.ts +1 -0
- package/dist-sdk/elementum-entity-client/clients/search-tables/models/index.js +1 -0
- package/dist-sdk/elementum-entity-client/clients/search-tables/models/search-table-wire.d.ts +141 -0
- package/dist-sdk/elementum-entity-client/clients/search-tables/models/search-table-wire.js +22 -0
- package/dist-sdk/elementum-entity-client/clients/skills/models/skill-tool.d.ts +123 -0
- package/dist-sdk/elementum-entity-client/clients/skills/models/skill-tool.js +14 -0
- package/dist-sdk/elementum-entity-client/clients/skills/models/skill.d.ts +78 -0
- package/dist-sdk/elementum-entity-client/clients/skills/models/skill.js +23 -0
- package/dist-sdk/elementum-entity-client/clients/tables/models/index.d.ts +1 -0
- package/dist-sdk/elementum-entity-client/clients/tables/models/index.js +1 -0
- package/dist-sdk/elementum-entity-client/clients/tables/models/table-wire.d.ts +265 -0
- package/dist-sdk/elementum-entity-client/clients/tables/models/table-wire.js +15 -0
- package/dist-sdk/elementum-entity-client/errors.d.ts +90 -0
- package/dist-sdk/elementum-entity-client/errors.js +111 -0
- package/dist-sdk/elementum-entity-client/models/connection.d.ts +30 -0
- package/dist-sdk/elementum-entity-client/models/connection.js +16 -0
- package/dist-sdk/elementum-entity-client/types.d.ts +71 -0
- package/dist-sdk/elementum-entity-client/types.js +1 -0
- package/dist-sdk/fs/entity.d.ts +104 -0
- package/dist-sdk/fs/entity.js +52 -0
- package/dist-sdk/pull/util.d.ts +130 -0
- package/dist-sdk/pull/util.js +204 -0
- package/dist-sdk/src/catalog/ai-provider-models.d.ts +30 -0
- package/dist-sdk/src/catalog/ai-provider-models.js +63 -0
- package/dist-sdk/src/catalog/factories.d.ts +242 -0
- package/dist-sdk/src/catalog/factories.js +265 -0
- package/dist-sdk/src/catalog/from-authoring.d.ts +103 -0
- package/dist-sdk/src/catalog/from-authoring.js +467 -0
- package/dist-sdk/src/catalog/index.d.ts +12 -0
- package/dist-sdk/src/catalog/index.js +12 -0
- package/dist-sdk/src/catalog/org.d.ts +11 -0
- package/dist-sdk/src/catalog/org.js +288 -0
- package/dist-sdk/src/catalog/render-helpers.d.ts +35 -0
- package/dist-sdk/src/catalog/render-helpers.js +82 -0
- package/dist-sdk/src/catalog/render.d.ts +48 -0
- package/dist-sdk/src/catalog/render.js +193 -0
- package/dist-sdk/src/catalog/token.d.ts +10 -0
- package/dist-sdk/src/catalog/token.js +76 -0
- package/dist-sdk/src/catalog/types.d.ts +215 -0
- package/dist-sdk/src/catalog/types.js +86 -0
- package/dist-sdk/src/catalog/write.d.ts +43 -0
- package/dist-sdk/src/catalog/write.js +109 -0
- package/dist-sdk/src/core/app-to-ui.d.ts +22 -0
- package/dist-sdk/src/core/app-to-ui.js +75 -0
- package/dist-sdk/src/core/index.d.ts +10 -0
- package/dist-sdk/src/core/index.js +9 -0
- package/dist-sdk/src/core/system-fields.d.ts +95 -0
- package/dist-sdk/src/core/system-fields.js +153 -0
- package/dist-sdk/src/core/triggers/on-demand.d.ts +144 -0
- package/dist-sdk/src/core/triggers/on-demand.js +112 -0
- package/dist-sdk/src/core/types/ai-provider.d.ts +23 -0
- package/dist-sdk/src/core/types/ai-provider.js +8 -0
- package/dist-sdk/src/core/types/app.d.ts +857 -0
- package/dist-sdk/src/core/types/app.js +210 -0
- package/dist-sdk/src/core/types/aspect-category.d.ts +35 -0
- package/dist-sdk/src/core/types/aspect-category.js +33 -0
- package/dist-sdk/src/core/types/cloud-link.d.ts +34 -0
- package/dist-sdk/src/core/types/cloud-link.js +32 -0
- package/dist-sdk/src/core/types/display-block.d.ts +149 -0
- package/dist-sdk/src/core/types/display-block.js +61 -0
- package/dist-sdk/src/core/types/group.d.ts +13 -0
- package/dist-sdk/src/core/types/group.js +6 -0
- package/dist-sdk/src/core/types/platform.d.ts +2 -0
- package/dist-sdk/src/core/types/platform.js +1 -0
- package/dist-sdk/src/core/types/user.d.ts +20 -0
- package/dist-sdk/src/core/types/user.js +8 -0
- package/dist-sdk/src/core/wire/ref-serializer.d.ts +45 -0
- package/dist-sdk/src/core/wire/ref-serializer.js +89 -0
- package/dist-sdk/src/engine/build/context.d.ts +67 -0
- package/dist-sdk/src/engine/build/context.js +6 -0
- package/dist-sdk/src/engine/build/source-context.d.ts +45 -0
- package/dist-sdk/src/engine/build/source-context.js +23 -0
- package/dist-sdk/src/engine/entity.d.ts +44 -0
- package/dist-sdk/src/engine/entity.js +15 -0
- package/dist-sdk/src/engine/pull/context.d.ts +38 -0
- package/dist-sdk/src/engine/pull/context.js +44 -0
- package/dist-sdk/src/engine/pull/org.d.ts +54 -0
- package/dist-sdk/src/engine/pull/org.js +134 -0
- package/dist-sdk/src/engine/tf/escape.d.ts +22 -0
- package/dist-sdk/src/engine/tf/escape.js +28 -0
- package/dist-sdk/src/engine/tf/expr.d.ts +25 -0
- package/dist-sdk/src/engine/tf/expr.js +405 -0
- package/dist-sdk/src/engine/tf/index.d.ts +12 -0
- package/dist-sdk/src/engine/tf/index.js +11 -0
- package/dist-sdk/src/engine/tf/labels.d.ts +76 -0
- package/dist-sdk/src/engine/tf/labels.js +196 -0
- package/dist-sdk/src/engine/tf/model.d.ts +84 -0
- package/dist-sdk/src/engine/tf/model.js +49 -0
- package/dist-sdk/src/engine/tf/parse.d.ts +41 -0
- package/dist-sdk/src/engine/tf/parse.js +189 -0
- package/dist-sdk/src/engine/tf/render.d.ts +13 -0
- package/dist-sdk/src/engine/tf/render.js +102 -0
- package/dist-sdk/src/engine/workspace/authoring-layout.d.ts +43 -0
- package/dist-sdk/src/engine/workspace/authoring-layout.js +201 -0
- package/dist-sdk/src/entities/access-policy/build.d.ts +26 -0
- package/dist-sdk/src/entities/access-policy/build.js +7 -0
- package/dist-sdk/src/entities/access-policy/filter.d.ts +61 -0
- package/dist-sdk/src/entities/access-policy/filter.js +83 -0
- package/dist-sdk/src/entities/access-policy/from-tf.d.ts +48 -0
- package/dist-sdk/src/entities/access-policy/from-tf.js +189 -0
- package/dist-sdk/src/entities/access-policy/module.d.ts +3 -0
- package/dist-sdk/src/entities/access-policy/module.js +17 -0
- package/dist-sdk/src/entities/access-policy/to-tf.d.ts +36 -0
- package/dist-sdk/src/entities/access-policy/to-tf.js +149 -0
- package/dist-sdk/src/entities/access-policy/types.d.ts +4 -0
- package/dist-sdk/src/entities/access-policy/types.js +10 -0
- package/dist-sdk/src/entities/agent/build.d.ts +108 -0
- package/dist-sdk/src/entities/agent/build.js +148 -0
- package/dist-sdk/src/entities/agent/deserializer/print-agent-v2.d.ts +53 -0
- package/dist-sdk/src/entities/agent/deserializer/print-agent-v2.js +344 -0
- package/dist-sdk/src/entities/agent/from-tf.d.ts +65 -0
- package/dist-sdk/src/entities/agent/from-tf.js +289 -0
- package/dist-sdk/src/entities/agent/index.d.ts +7 -0
- package/dist-sdk/src/entities/agent/index.js +7 -0
- package/dist-sdk/src/entities/agent/module.d.ts +4 -0
- package/dist-sdk/src/entities/agent/module.js +122 -0
- package/dist-sdk/src/entities/agent/to-tf.d.ts +33 -0
- package/dist-sdk/src/entities/agent/to-tf.js +188 -0
- package/dist-sdk/src/entities/agent/tools.d.ts +284 -0
- package/dist-sdk/src/entities/agent/tools.js +238 -0
- package/dist-sdk/src/entities/agent-tool/from-tf.d.ts +110 -0
- package/dist-sdk/src/entities/agent-tool/from-tf.js +265 -0
- package/dist-sdk/src/entities/agent-tool/module.d.ts +3 -0
- package/dist-sdk/src/entities/agent-tool/module.js +32 -0
- package/dist-sdk/src/entities/agent-tool/to-tf.d.ts +40 -0
- package/dist-sdk/src/entities/agent-tool/to-tf.js +250 -0
- package/dist-sdk/src/entities/agent-tool/types.d.ts +43 -0
- package/dist-sdk/src/entities/agent-tool/types.js +102 -0
- package/dist-sdk/src/entities/app/build.d.ts +368 -0
- package/dist-sdk/src/entities/app/build.js +372 -0
- package/dist-sdk/src/entities/app/deserializer/normalize.d.ts +168 -0
- package/dist-sdk/src/entities/app/deserializer/normalize.js +12 -0
- package/dist-sdk/src/entities/app/display-blocks.d.ts +26 -0
- package/dist-sdk/src/entities/app/display-blocks.js +34 -0
- package/dist-sdk/src/entities/app/from-tf.d.ts +23 -0
- package/dist-sdk/src/entities/app/from-tf.js +197 -0
- package/dist-sdk/src/entities/app/index.d.ts +14 -0
- package/dist-sdk/src/entities/app/index.js +11 -0
- package/dist-sdk/src/entities/app/locals.d.ts +11 -0
- package/dist-sdk/src/entities/app/locals.js +31 -0
- package/dist-sdk/src/entities/app/module.d.ts +4 -0
- package/dist-sdk/src/entities/app/module.js +66 -0
- package/dist-sdk/src/entities/app/to-tf.d.ts +33 -0
- package/dist-sdk/src/entities/app/to-tf.js +212 -0
- package/dist-sdk/src/entities/approval-chain/build.d.ts +24 -0
- package/dist-sdk/src/entities/approval-chain/build.js +56 -0
- package/dist-sdk/src/entities/approval-chain/index.d.ts +6 -0
- package/dist-sdk/src/entities/approval-chain/index.js +6 -0
- package/dist-sdk/src/entities/approval-chain/steps.d.ts +24 -0
- package/dist-sdk/src/entities/approval-chain/steps.js +20 -0
- package/dist-sdk/src/entities/automation/build.d.ts +259 -0
- package/dist-sdk/src/entities/automation/build.js +436 -0
- package/dist-sdk/src/entities/automation/catalog-render.d.ts +5 -0
- package/dist-sdk/src/entities/automation/catalog-render.js +35 -0
- package/dist-sdk/src/entities/automation/deserializer/ast.d.ts +152 -0
- package/dist-sdk/src/entities/automation/deserializer/ast.js +13 -0
- package/dist-sdk/src/entities/automation/deserializer/print-automation.d.ts +55 -0
- package/dist-sdk/src/entities/automation/deserializer/print-automation.js +1176 -0
- package/dist-sdk/src/entities/automation/filter.d.ts +93 -0
- package/dist-sdk/src/entities/automation/filter.js +156 -0
- package/dist-sdk/src/entities/automation/from-tf.d.ts +35 -0
- package/dist-sdk/src/entities/automation/from-tf.js +1258 -0
- package/dist-sdk/src/entities/automation/index.d.ts +22 -0
- package/dist-sdk/src/entities/automation/index.js +25 -0
- package/dist-sdk/src/entities/automation/module.d.ts +3 -0
- package/dist-sdk/src/entities/automation/module.js +150 -0
- package/dist-sdk/src/entities/automation/operators.d.ts +93 -0
- package/dist-sdk/src/entities/automation/operators.js +69 -0
- package/dist-sdk/src/entities/automation/output-key-wire-name.d.ts +19 -0
- package/dist-sdk/src/entities/automation/output-key-wire-name.js +24 -0
- package/dist-sdk/src/entities/automation/script-code.d.ts +51 -0
- package/dist-sdk/src/entities/automation/script-code.js +633 -0
- package/dist-sdk/src/entities/automation/serialize.d.ts +6 -0
- package/dist-sdk/src/entities/automation/serialize.js +41 -0
- package/dist-sdk/src/entities/automation/tasks.d.ts +641 -0
- package/dist-sdk/src/entities/automation/tasks.js +765 -0
- package/dist-sdk/src/entities/automation/to-tf.d.ts +19 -0
- package/dist-sdk/src/entities/automation/to-tf.js +1169 -0
- package/dist-sdk/src/entities/automation/triggers.d.ts +205 -0
- package/dist-sdk/src/entities/automation/triggers.js +202 -0
- package/dist-sdk/src/entities/automation/types.d.ts +78 -0
- package/dist-sdk/src/entities/automation/types.js +131 -0
- package/dist-sdk/src/entities/element/build.d.ts +121 -0
- package/dist-sdk/src/entities/element/build.js +110 -0
- package/dist-sdk/src/entities/element/from-tf.d.ts +19 -0
- package/dist-sdk/src/entities/element/from-tf.js +170 -0
- package/dist-sdk/src/entities/element/index.d.ts +12 -0
- package/dist-sdk/src/entities/element/index.js +10 -0
- package/dist-sdk/src/entities/element/locals.d.ts +7 -0
- package/dist-sdk/src/entities/element/locals.js +12 -0
- package/dist-sdk/src/entities/element/module.d.ts +8 -0
- package/dist-sdk/src/entities/element/module.js +65 -0
- package/dist-sdk/src/entities/element/to-tf.d.ts +14 -0
- package/dist-sdk/src/entities/element/to-tf.js +169 -0
- package/dist-sdk/src/entities/field/build.d.ts +112 -0
- package/dist-sdk/src/entities/field/build.js +84 -0
- package/dist-sdk/src/entities/field/calc/aggregate.d.ts +60 -0
- package/dist-sdk/src/entities/field/calc/aggregate.js +71 -0
- package/dist-sdk/src/entities/field/calc/date.d.ts +73 -0
- package/dist-sdk/src/entities/field/calc/date.js +109 -0
- package/dist-sdk/src/entities/field/calc/index.d.ts +229 -0
- package/dist-sdk/src/entities/field/calc/index.js +433 -0
- package/dist-sdk/src/entities/field/calc/numeric.d.ts +22 -0
- package/dist-sdk/src/entities/field/calc/numeric.js +67 -0
- package/dist-sdk/src/entities/field/calc/runtime.d.ts +61 -0
- package/dist-sdk/src/entities/field/calc/runtime.js +174 -0
- package/dist-sdk/src/entities/field/calc/text.d.ts +100 -0
- package/dist-sdk/src/entities/field/calc/text.js +208 -0
- package/dist-sdk/src/entities/field/calc/types.d.ts +86 -0
- package/dist-sdk/src/entities/field/calc/types.js +23 -0
- package/dist-sdk/src/entities/field/calc.d.ts +108 -0
- package/dist-sdk/src/entities/field/calc.js +54 -0
- package/dist-sdk/src/entities/field/from-tf.d.ts +31 -0
- package/dist-sdk/src/entities/field/from-tf.js +184 -0
- package/dist-sdk/src/entities/field/locals.d.ts +8 -0
- package/dist-sdk/src/entities/field/locals.js +24 -0
- package/dist-sdk/src/entities/field/module.d.ts +3 -0
- package/dist-sdk/src/entities/field/module.js +50 -0
- package/dist-sdk/src/entities/field/options.d.ts +27 -0
- package/dist-sdk/src/entities/field/options.js +76 -0
- package/dist-sdk/src/entities/field/record-shape.d.ts +57 -0
- package/dist-sdk/src/entities/field/record-shape.js +1 -0
- package/dist-sdk/src/entities/field/to-tf.d.ts +73 -0
- package/dist-sdk/src/entities/field/to-tf.js +142 -0
- package/dist-sdk/src/entities/field/types.d.ts +53 -0
- package/dist-sdk/src/entities/field/types.js +68 -0
- package/dist-sdk/src/entities/file-reader/build.d.ts +182 -0
- package/dist-sdk/src/entities/file-reader/build.js +105 -0
- package/dist-sdk/src/entities/file-reader/deserializer/print-file-reader.d.ts +6 -0
- package/dist-sdk/src/entities/file-reader/deserializer/print-file-reader.js +109 -0
- package/dist-sdk/src/entities/file-reader/from-tf.d.ts +13 -0
- package/dist-sdk/src/entities/file-reader/from-tf.js +172 -0
- package/dist-sdk/src/entities/file-reader/index.d.ts +10 -0
- package/dist-sdk/src/entities/file-reader/index.js +10 -0
- package/dist-sdk/src/entities/file-reader/module.d.ts +3 -0
- package/dist-sdk/src/entities/file-reader/module.js +115 -0
- package/dist-sdk/src/entities/file-reader/to-tf.d.ts +14 -0
- package/dist-sdk/src/entities/file-reader/to-tf.js +84 -0
- package/dist-sdk/src/entities/file-reader/types.d.ts +32 -0
- package/dist-sdk/src/entities/file-reader/types.js +30 -0
- package/dist-sdk/src/entities/flow/activities/agent.d.ts +15 -0
- package/dist-sdk/src/entities/flow/activities/agent.js +29 -0
- package/dist-sdk/src/entities/flow/activities/approval.d.ts +9 -0
- package/dist-sdk/src/entities/flow/activities/approval.js +18 -0
- package/dist-sdk/src/entities/flow/activities/automation.d.ts +12 -0
- package/dist-sdk/src/entities/flow/activities/automation.js +22 -0
- package/dist-sdk/src/entities/flow/activities/ctx.d.ts +34 -0
- package/dist-sdk/src/entities/flow/activities/ctx.js +38 -0
- package/dist-sdk/src/entities/flow/activities/form.d.ts +22 -0
- package/dist-sdk/src/entities/flow/activities/form.js +36 -0
- package/dist-sdk/src/entities/flow/activities/index.d.ts +14 -0
- package/dist-sdk/src/entities/flow/activities/index.js +13 -0
- package/dist-sdk/src/entities/flow/activities/input-refs.d.ts +39 -0
- package/dist-sdk/src/entities/flow/activities/input-refs.js +19 -0
- package/dist-sdk/src/entities/flow/activities/prompt-template.d.ts +13 -0
- package/dist-sdk/src/entities/flow/activities/prompt-template.js +34 -0
- package/dist-sdk/src/entities/flow/activities/render-catalog.d.ts +140 -0
- package/dist-sdk/src/entities/flow/activities/render-catalog.js +174 -0
- package/dist-sdk/src/entities/flow/activities/types.d.ts +33 -0
- package/dist-sdk/src/entities/flow/activities/types.js +1 -0
- package/dist-sdk/src/entities/flow/build.d.ts +38 -0
- package/dist-sdk/src/entities/flow/build.js +115 -0
- package/dist-sdk/src/entities/flow/index.d.ts +8 -0
- package/dist-sdk/src/entities/flow/index.js +7 -0
- package/dist-sdk/src/entities/flow/serialize.d.ts +51 -0
- package/dist-sdk/src/entities/flow/serialize.js +94 -0
- package/dist-sdk/src/entities/flow/util.d.ts +27 -0
- package/dist-sdk/src/entities/flow/util.js +38 -0
- package/dist-sdk/src/entities/org/ai-provider.d.ts +13 -0
- package/dist-sdk/src/entities/org/ai-provider.js +46 -0
- package/dist-sdk/src/entities/org/category.d.ts +5 -0
- package/dist-sdk/src/entities/org/category.js +33 -0
- package/dist-sdk/src/entities/org/cloud-link.d.ts +5 -0
- package/dist-sdk/src/entities/org/cloud-link.js +33 -0
- package/dist-sdk/src/entities/org/connector.d.ts +12 -0
- package/dist-sdk/src/entities/org/connector.js +35 -0
- package/dist-sdk/src/entities/org/group.d.ts +5 -0
- package/dist-sdk/src/entities/org/group.js +40 -0
- package/dist-sdk/src/entities/org/index.d.ts +11 -0
- package/dist-sdk/src/entities/org/index.js +11 -0
- package/dist-sdk/src/entities/org/role.d.ts +7 -0
- package/dist-sdk/src/entities/org/role.js +21 -0
- package/dist-sdk/src/entities/org/user.d.ts +7 -0
- package/dist-sdk/src/entities/org/user.js +30 -0
- package/dist-sdk/src/entities/search-table/build.d.ts +41 -0
- package/dist-sdk/src/entities/search-table/build.js +79 -0
- package/dist-sdk/src/entities/search-table/index.d.ts +5 -0
- package/dist-sdk/src/entities/search-table/index.js +5 -0
- package/dist-sdk/src/entities/search-table/module.d.ts +6 -0
- package/dist-sdk/src/entities/search-table/module.js +64 -0
- package/dist-sdk/src/entities/shared/context.d.ts +93 -0
- package/dist-sdk/src/entities/shared/context.js +156 -0
- package/dist-sdk/src/entities/shared/filters/ast.d.ts +277 -0
- package/dist-sdk/src/entities/shared/filters/ast.js +65 -0
- package/dist-sdk/src/entities/shared/filters/index.d.ts +211 -0
- package/dist-sdk/src/entities/shared/filters/index.js +372 -0
- package/dist-sdk/src/entities/shared/filters/types.d.ts +170 -0
- package/dist-sdk/src/entities/shared/filters/types.js +7 -0
- package/dist-sdk/src/entities/shared/ref.d.ts +160 -0
- package/dist-sdk/src/entities/shared/ref.js +119 -0
- package/dist-sdk/src/entities/shared/tool-field-ref.d.ts +17 -0
- package/dist-sdk/src/entities/shared/tool-field-ref.js +31 -0
- package/dist-sdk/src/entities/shared/types/common.d.ts +106 -0
- package/dist-sdk/src/entities/shared/types/common.js +64 -0
- package/dist-sdk/src/entities/shared/types/field-types.d.ts +58 -0
- package/dist-sdk/src/entities/shared/types/field-types.js +57 -0
- package/dist-sdk/src/entities/shared/types/platform.d.ts +46 -0
- package/dist-sdk/src/entities/shared/types/platform.js +10 -0
- package/dist-sdk/src/entities/skill/build.d.ts +25 -0
- package/dist-sdk/src/entities/skill/build.js +50 -0
- package/dist-sdk/src/entities/skill/deserializer/print-skill-v2.d.ts +39 -0
- package/dist-sdk/src/entities/skill/deserializer/print-skill-v2.js +124 -0
- package/dist-sdk/src/entities/skill/from-tf.d.ts +33 -0
- package/dist-sdk/src/entities/skill/from-tf.js +96 -0
- package/dist-sdk/src/entities/skill/index.d.ts +7 -0
- package/dist-sdk/src/entities/skill/index.js +7 -0
- package/dist-sdk/src/entities/skill/module.d.ts +4 -0
- package/dist-sdk/src/entities/skill/module.js +111 -0
- package/dist-sdk/src/entities/skill/to-tf.d.ts +33 -0
- package/dist-sdk/src/entities/skill/to-tf.js +59 -0
- package/dist-sdk/src/entities/skill/tools.d.ts +93 -0
- package/dist-sdk/src/entities/skill/tools.js +105 -0
- package/dist-sdk/src/entities/skill-tool/from-tf.d.ts +60 -0
- package/dist-sdk/src/entities/skill-tool/from-tf.js +142 -0
- package/dist-sdk/src/entities/skill-tool/module.d.ts +3 -0
- package/dist-sdk/src/entities/skill-tool/module.js +21 -0
- package/dist-sdk/src/entities/skill-tool/to-tf.d.ts +34 -0
- package/dist-sdk/src/entities/skill-tool/to-tf.js +130 -0
- package/dist-sdk/src/entities/skill-tool/types.d.ts +40 -0
- package/dist-sdk/src/entities/skill-tool/types.js +67 -0
- package/dist-sdk/src/entities/table/build.d.ts +74 -0
- package/dist-sdk/src/entities/table/build.js +339 -0
- package/dist-sdk/src/entities/table/catalog-render.d.ts +5 -0
- package/dist-sdk/src/entities/table/catalog-render.js +39 -0
- package/dist-sdk/src/entities/table/fields.d.ts +81 -0
- package/dist-sdk/src/entities/table/fields.js +70 -0
- package/dist-sdk/src/entities/table/filter.d.ts +41 -0
- package/dist-sdk/src/entities/table/filter.js +89 -0
- package/dist-sdk/src/entities/table/index.d.ts +8 -0
- package/dist-sdk/src/entities/table/index.js +12 -0
- package/dist-sdk/src/entities/table/joins.d.ts +26 -0
- package/dist-sdk/src/entities/table/joins.js +31 -0
- package/dist-sdk/src/entities/table/keys.d.ts +11 -0
- package/dist-sdk/src/entities/table/keys.js +25 -0
- package/dist-sdk/src/entities/table/module.d.ts +5 -0
- package/dist-sdk/src/entities/table/module.js +25 -0
- package/dist-sdk/src/entities/table/state.d.ts +39 -0
- package/dist-sdk/src/entities/table/state.js +43 -0
- package/dist-sdk/src/entities/view/from-tf.d.ts +29 -0
- package/dist-sdk/src/entities/view/from-tf.js +235 -0
- package/dist-sdk/src/entities/view/module.d.ts +24 -0
- package/dist-sdk/src/entities/view/module.js +61 -0
- package/dist-sdk/src/entities/view/to-tf.d.ts +65 -0
- package/dist-sdk/src/entities/view/to-tf.js +171 -0
- package/dist-sdk/src/entities/view/types.d.ts +58 -0
- package/dist-sdk/src/entities/view/types.js +89 -0
- package/dist-sdk/src/graph/deferred-catalog-render.d.ts +9 -0
- package/dist-sdk/src/graph/deferred-catalog-render.js +18 -0
- package/dist-sdk/src/graph/index.d.ts +91 -0
- package/dist-sdk/src/graph/index.js +211 -0
- package/dist-sdk/src/graph/modules.d.ts +7 -0
- package/dist-sdk/src/graph/modules.js +42 -0
- package/dist-sdk/src/graph/types.d.ts +375 -0
- package/dist-sdk/src/graph/types.js +102 -0
- package/dist-sdk/src/internal/sdk-package.d.ts +7 -0
- package/dist-sdk/src/internal/sdk-package.js +23 -0
- package/package.json +201 -8
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Catalog-token helpers shared by the v2 builders.
|
|
3
|
+
*
|
|
4
|
+
* A reference embedded in an entity payload should be the **canonical token**
|
|
5
|
+
* (`{ __kind, refName, name, parent? }`) and nothing more — just enough for
|
|
6
|
+
* `resolvePayload` to swap it for an id at deploy. But the natural thing to pass
|
|
7
|
+
* for an aspect ref is the barrel *root* object (`incidents`), which also
|
|
8
|
+
* carries every bag (`automations`, `fields`, …). Embedding that verbatim bloats
|
|
9
|
+
* the stored baseline and makes diffs unreadable. {@link slimTokens} walks a
|
|
10
|
+
* payload and reduces every catalog token to its canonical fields, leaving
|
|
11
|
+
* non-token values untouched.
|
|
12
|
+
*/
|
|
13
|
+
import { REF_SCOPE } from "./types.js";
|
|
14
|
+
/** True when `v` is a catalog ref token (`__kind ∈ REF_SCOPE` + a string refName). */
|
|
15
|
+
export function isCatalogToken(v) {
|
|
16
|
+
if (typeof v !== "object" || v === null)
|
|
17
|
+
return false;
|
|
18
|
+
const rec = v;
|
|
19
|
+
return (typeof rec.__kind === "string" &&
|
|
20
|
+
rec.__kind in REF_SCOPE &&
|
|
21
|
+
typeof rec.refName === "string");
|
|
22
|
+
}
|
|
23
|
+
/** Reduce a catalog token to its canonical fields (dropping barrel bags etc.). */
|
|
24
|
+
export function slimToken(token) {
|
|
25
|
+
const out = {
|
|
26
|
+
__kind: token.__kind,
|
|
27
|
+
refName: token.refName,
|
|
28
|
+
};
|
|
29
|
+
if (typeof token.name === "string")
|
|
30
|
+
out.name = token.name;
|
|
31
|
+
if (token.parent !== undefined)
|
|
32
|
+
out.parent = token.parent;
|
|
33
|
+
if ((token.__kind === "approvalChain" || token.__kind === "skill") && typeof token.unresolvedId === "string") {
|
|
34
|
+
out.unresolvedId = token.unresolvedId;
|
|
35
|
+
}
|
|
36
|
+
// The terraform path derives a field's resource type from its authoring
|
|
37
|
+
// type — canonical field metadata, not a barrel bag.
|
|
38
|
+
if (token.__kind === "field" && typeof token.fieldType === "string")
|
|
39
|
+
out.fieldType = token.fieldType;
|
|
40
|
+
// Same reasoning for a file reader: build needs to know which of the
|
|
41
|
+
// excel/json/text/xml/ai resource types backs it to emit the right
|
|
42
|
+
// `elementum_<type>_file_reader.<label>.id` reference - without this,
|
|
43
|
+
// slimToken silently dropped readerType and automationToTf's
|
|
44
|
+
// documentModel case threw "no recognized readerType" on every readFile
|
|
45
|
+
// task build.
|
|
46
|
+
if (token.__kind === "documentModel" && typeof token.readerType === "string")
|
|
47
|
+
out.readerType = token.readerType;
|
|
48
|
+
if (token.__kind === "field" && Array.isArray(token.options)) {
|
|
49
|
+
out.options = token.options.filter((option) => typeof option === "string");
|
|
50
|
+
}
|
|
51
|
+
if ((token.__kind === "field" || token.__kind === "tableColumn") && Array.isArray(token.tags)) {
|
|
52
|
+
out.tags = token.tags.filter((tag) => typeof tag === "string");
|
|
53
|
+
}
|
|
54
|
+
else if ((token.__kind === "field" || token.__kind === "tableColumn") && Array.isArray(token.semanticTags)) {
|
|
55
|
+
out.tags = token.semanticTags.filter((tag) => typeof tag === "string");
|
|
56
|
+
}
|
|
57
|
+
return out;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Deep-walk `node`, replacing every catalog token with its slim canonical form.
|
|
61
|
+
* Non-token objects/arrays are recursed; scalars pass through. Tokens are not
|
|
62
|
+
* recursed into (their bags are dropped wholesale).
|
|
63
|
+
*/
|
|
64
|
+
export function slimTokens(node) {
|
|
65
|
+
if (isCatalogToken(node))
|
|
66
|
+
return slimToken(node);
|
|
67
|
+
if (Array.isArray(node))
|
|
68
|
+
return node.map(slimTokens);
|
|
69
|
+
if (node !== null && typeof node === "object") {
|
|
70
|
+
const out = {};
|
|
71
|
+
for (const [k, v] of Object.entries(node))
|
|
72
|
+
out[k] = slimTokens(v);
|
|
73
|
+
return out;
|
|
74
|
+
}
|
|
75
|
+
return node;
|
|
76
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reference-surface types for the v2 catalog.
|
|
3
|
+
*
|
|
4
|
+
* A *catalog fragment* describes one entity's **reference surface** — exactly
|
|
5
|
+
* what a referencing entity file needs to name it safely, and nothing more.
|
|
6
|
+
* For a behavioral entity (automation / agent / skill) that is just its
|
|
7
|
+
* **handle** (the join key, resolved to an id at deploy time) plus its display
|
|
8
|
+
* name for readability. **No id appears in the catalog** — identity lives in
|
|
9
|
+
* state (`src/deploy/state`).
|
|
10
|
+
*
|
|
11
|
+
* The `__kind` discriminant lets a builder's reference parameter accept exactly
|
|
12
|
+
* the right kind of handle (`runAutomation(ref: AutomationRef)`) and makes the
|
|
13
|
+
* fragment self-describing. These are the shapes the fragment renderer emits
|
|
14
|
+
* and the (forthcoming) builders consume — the single shared contract.
|
|
15
|
+
*
|
|
16
|
+
* Two groups of kinds share this shape. **Behavioral entities**
|
|
17
|
+
* (automation/agent/skill) are author-managed: imported reference-only, then
|
|
18
|
+
* deployed. **Reference-surface entities** — an app's *fields* and *search
|
|
19
|
+
* tables*, and org-owned *cloud links* / AI provider *connectors* — are never
|
|
20
|
+
* deployed through v2; they're imported so a builder can point at them by typed
|
|
21
|
+
* handle (`app.fields.severity`, `connectors.bedrockSonnet`). Field refs carry
|
|
22
|
+
* a little extra schema (`fieldType`) for authoring-time type safety; that
|
|
23
|
+
* schema is authoring-only — at the wire boundary `resolvePayload` replaces the
|
|
24
|
+
* whole token with the resolved id, discarding it.
|
|
25
|
+
*/
|
|
26
|
+
import type { AiProviderLlmModel, AiProviderType } from "./ai-provider-models.js";
|
|
27
|
+
/**
|
|
28
|
+
* Kinds a catalog fragment can describe:
|
|
29
|
+
* - behavioral, app-owned, deployable — `automation` / `agent` / `skill`;
|
|
30
|
+
* - reference-only, app-owned — `field` / `searchTable`;
|
|
31
|
+
* - reference-only, org-owned — `cloudLink` / `connector`;
|
|
32
|
+
* - the aspect itself (a tool's `aspectId`) — `app` / `element`, resolved by
|
|
33
|
+
* handle against the app registry rather than a state scope;
|
|
34
|
+
* - nested under an automation — `triggerParameter` / `outputProperty`,
|
|
35
|
+
* resolved to the current-version param/output id via the parent
|
|
36
|
+
* automation's state binding.
|
|
37
|
+
*/
|
|
38
|
+
export type CatalogRefKind = "automation" | "agent" | "skill" | "flow" | "approvalChain" | "table" | "tableColumn" | "cloudLink" | "field" | "searchTable" | "documentModel" | "documentModelField" | "connector" | "aiProvider" | "category" | "group" | "app" | "element" | "triggerParameter" | "outputProperty";
|
|
39
|
+
/**
|
|
40
|
+
* The reference surface for a catalog entity. `handle` is the stable join key
|
|
41
|
+
* (no id); `name` is for readability/diagnostics, never a match key.
|
|
42
|
+
*/
|
|
43
|
+
export interface CatalogRef<K extends CatalogRefKind = CatalogRefKind> {
|
|
44
|
+
readonly __kind: K;
|
|
45
|
+
readonly refName: string;
|
|
46
|
+
readonly name: string;
|
|
47
|
+
/**
|
|
48
|
+
* The owning **parent**'s handle — the aspect (app / element / table) that
|
|
49
|
+
* owns this entity — so a reference is self-describing ("app X's automation
|
|
50
|
+
* foo") and an entity can derive its parent from its own ref. Absent for
|
|
51
|
+
* org-owned kinds (cloud links, connectors), which resolve against the single
|
|
52
|
+
* org scope by kind.
|
|
53
|
+
*/
|
|
54
|
+
readonly parent?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface AutomationRef<TTrigger = unknown, TOutput = unknown> extends CatalogRef<"automation"> {
|
|
57
|
+
/**
|
|
58
|
+
* Always `undefined` at runtime — a typed phantom that lets other entities inspect the trigger
|
|
59
|
+
* output shape at compile time (e.g. `typeof app.automations.sendSurvey.trigger`).
|
|
60
|
+
*/
|
|
61
|
+
readonly trigger?: TTrigger;
|
|
62
|
+
/**
|
|
63
|
+
* Always `undefined` at runtime — a typed phantom for the accumulated task output shape
|
|
64
|
+
* (e.g. `typeof app.automations.sendSurvey.output`).
|
|
65
|
+
*/
|
|
66
|
+
readonly output?: TOutput;
|
|
67
|
+
}
|
|
68
|
+
export type AgentRef = CatalogRef<"agent">;
|
|
69
|
+
export interface SkillRef extends CatalogRef<"skill"> {
|
|
70
|
+
/**
|
|
71
|
+
* A raw platform id, when the export carries a `skill_ids`/
|
|
72
|
+
* `preloaded_skill_ids` entry that resolves to neither a self-app resource
|
|
73
|
+
* ref nor a foreign-app `data.elementum_agentic_skill` block (no name to
|
|
74
|
+
* key a lookup by at all) — same escape as `ApprovalChainRef`'s. Present
|
|
75
|
+
* only takes over resolution at build; `refName`/`name` still exist (both
|
|
76
|
+
* the raw id) purely to satisfy `SkillRef`'s shape.
|
|
77
|
+
*/
|
|
78
|
+
readonly unresolvedId?: string;
|
|
79
|
+
}
|
|
80
|
+
export type FlowRef = CatalogRef<"flow">;
|
|
81
|
+
export interface ApprovalChainRef extends CatalogRef<"approvalChain"> {
|
|
82
|
+
/** Provider id retained only when no managed/data HCL reference exists. */
|
|
83
|
+
readonly unresolvedId?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface TableColumnRef extends CatalogRef<"tableColumn"> {
|
|
86
|
+
/** Owning table handle. */
|
|
87
|
+
readonly parent: string;
|
|
88
|
+
readonly fieldType?: string;
|
|
89
|
+
readonly tags?: readonly string[];
|
|
90
|
+
}
|
|
91
|
+
export interface TableRef extends CatalogRef<"table"> {
|
|
92
|
+
readonly columns?: Readonly<Record<string, TableColumnRef>>;
|
|
93
|
+
/** Raw category id, when imported. Categories are not tokenized yet. */
|
|
94
|
+
readonly categoryId?: string;
|
|
95
|
+
}
|
|
96
|
+
export type SearchTableRef = CatalogRef<"searchTable">;
|
|
97
|
+
export type ConnectorRef = CatalogRef<"connector">;
|
|
98
|
+
/**
|
|
99
|
+
* An AI provider reference that also exposes its enabled connectors as a
|
|
100
|
+
* nested ref bag — models are referenceable *on* the provider
|
|
101
|
+
* (`catalog.aiProviders.<provider>.models.<model>`), the same nested-ref-bag
|
|
102
|
+
* shape `AutomationCatalogRef`/`FileReaderCatalogRef` already use. Reference
|
|
103
|
+
* only — the provider must already exist on the platform; there is no
|
|
104
|
+
* create/deploy path (src/CLAUDE.md). Generic over `T` so `type: "anthropic"`
|
|
105
|
+
* narrows which models are valid in `models` (see `AiProviderLlmModel`).
|
|
106
|
+
*/
|
|
107
|
+
export interface AiProviderRef<T extends AiProviderType = AiProviderType> extends CatalogRef<"aiProvider"> {
|
|
108
|
+
/** Which AI provider family this is (e.g. "anthropic", "bedrock") — build maps it to the matching `elementum_<type>_ai_provider` terraform data source; authored source never names the resource type directly. */
|
|
109
|
+
readonly type: T;
|
|
110
|
+
/**
|
|
111
|
+
* Each entry is either a reference to an already-pulled connector
|
|
112
|
+
* (`connectorRef({ name })`, what `pull org` always emits) or a bare model
|
|
113
|
+
* literal naming a connector to create for that model — type-checked
|
|
114
|
+
* against `T`'s valid models. The create path has no build/authoring-
|
|
115
|
+
* location wiring yet; this is the type surface only.
|
|
116
|
+
*/
|
|
117
|
+
readonly models?: Readonly<Record<string, ConnectorRef | AiProviderLlmModel<T>>>;
|
|
118
|
+
}
|
|
119
|
+
export type CloudLinkRef = CatalogRef<"cloudLink">;
|
|
120
|
+
/** Org-owned reference identities from `elementum pull org --data-only` (pristine-refactor). */
|
|
121
|
+
export type CategoryRef = CatalogRef<"category">;
|
|
122
|
+
export type GroupRef = CatalogRef<"group">;
|
|
123
|
+
/** A reference to an aspect (app/element) itself — its barrel root object. */
|
|
124
|
+
export type AspectRef = CatalogRef<"app"> | CatalogRef<"element">;
|
|
125
|
+
/**
|
|
126
|
+
* A field reference. Beyond the shared surface it carries `fieldType` (the
|
|
127
|
+
* platform field type — `"TEXT"`, `"PICKLIST"`, …) so builders can constrain
|
|
128
|
+
* filters/mappings at compile time. Authoring-only: the wire boundary resolves
|
|
129
|
+
* the token to the field id and drops the rest.
|
|
130
|
+
*/
|
|
131
|
+
export interface FieldRef extends CatalogRef<"field"> {
|
|
132
|
+
readonly fieldType: string;
|
|
133
|
+
readonly tags?: readonly string[];
|
|
134
|
+
readonly options?: readonly string[];
|
|
135
|
+
}
|
|
136
|
+
/** Platform-owned user attributes accepted by user-search task filters. */
|
|
137
|
+
export declare const USER_FIELD_KEYS: readonly ["firstName", "email", "jobTitle", "lastName"];
|
|
138
|
+
export type UserFieldKey = (typeof USER_FIELD_KEYS)[number];
|
|
139
|
+
/**
|
|
140
|
+
* A virtual catalog ref for the fixed user-directory schema. Unlike an app
|
|
141
|
+
* FieldRef, this token serializes to its literal platform key (there is no
|
|
142
|
+
* entity id to resolve).
|
|
143
|
+
*/
|
|
144
|
+
export interface UserFieldRef {
|
|
145
|
+
readonly __kind: "userField";
|
|
146
|
+
readonly refName: UserFieldKey;
|
|
147
|
+
readonly name: UserFieldKey;
|
|
148
|
+
readonly fieldType: "TEXT";
|
|
149
|
+
}
|
|
150
|
+
export interface TriggerParameterRef extends CatalogRef<"triggerParameter"> {
|
|
151
|
+
/**
|
|
152
|
+
* True when the automation's onDemand trigger declares this parameter
|
|
153
|
+
* required. Authoring-time metadata only (drives agentRunAutomation's
|
|
154
|
+
* typed inputs + def() validation) — slimTokens drops it at the wire
|
|
155
|
+
* boundary, exactly like FieldRef.fieldType. Canonical form: present
|
|
156
|
+
* only when true.
|
|
157
|
+
*/
|
|
158
|
+
readonly required?: boolean;
|
|
159
|
+
}
|
|
160
|
+
export type OutputPropertyRef = CatalogRef<"outputProperty">;
|
|
161
|
+
export type DocumentModelFieldRef = CatalogRef<"documentModelField">;
|
|
162
|
+
/**
|
|
163
|
+
* A document model reference that also exposes its fields as a nested ref
|
|
164
|
+
* bag — the shape the catalog fragment renders for a document model and the
|
|
165
|
+
* form `app.documentModels.<model>` takes in the barrel. `parent` on each
|
|
166
|
+
* nested ref is this document model's handle.
|
|
167
|
+
*/
|
|
168
|
+
export interface FileReaderCatalogRef extends CatalogRef<"documentModel"> {
|
|
169
|
+
/**
|
|
170
|
+
* Which of the platform's file-reader resource types this token points at
|
|
171
|
+
* — `elementum_file_reader_task.file_reader_id` accepts excel/json/text
|
|
172
|
+
* readers only, and build needs the exact resource type (not just a name)
|
|
173
|
+
* to emit the right `elementum_<type>_file_reader.<label>.id` reference.
|
|
174
|
+
*/
|
|
175
|
+
readonly readerType: "excel" | "json" | "text" | "xml" | "ai";
|
|
176
|
+
readonly fields?: Readonly<Record<string, DocumentModelFieldRef>>;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* An automation reference that also exposes its onDemand trigger parameters and
|
|
180
|
+
* workflow output properties as nested ref bags — the shape the catalog
|
|
181
|
+
* fragment renders for an automation and the form `app.automations.<auto>` takes
|
|
182
|
+
* in the barrel. `parent` on each nested ref is this automation's handle.
|
|
183
|
+
*/
|
|
184
|
+
export interface AutomationCatalogRef extends CatalogRef<"automation"> {
|
|
185
|
+
readonly trigger?: Readonly<Record<string, TriggerParameterRef>>;
|
|
186
|
+
readonly outputs?: Readonly<Record<string, OutputPropertyRef>>;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Which scope resolves a kind's id at deploy:
|
|
190
|
+
* - `"app"` — the app's v2 state (app-owned entities + fields/tables);
|
|
191
|
+
* - `"org"` — the org's v2 state (cloud links, connectors);
|
|
192
|
+
* - `"registry"` — the app registry (`apps.v2.json`), for aspect self-refs
|
|
193
|
+
* (`app` / `element`), keyed by handle → id rather than a state binding.
|
|
194
|
+
*/
|
|
195
|
+
export declare const REF_SCOPE: Readonly<Record<CatalogRefKind, "app" | "org" | "registry">>;
|
|
196
|
+
/**
|
|
197
|
+
* Kinds the platform can update in place (PUT). A bound entity of any other
|
|
198
|
+
* kind that has changed can't be updated — the deploy must surface that and
|
|
199
|
+
* the user re-creates it. Flows are create-only today (the flow service has no
|
|
200
|
+
* PUT); the reference-only kinds (field/cloudLink/connector) and aspect
|
|
201
|
+
* self-refs never deploy through v2, so they're simply absent.
|
|
202
|
+
*
|
|
203
|
+
* `searchTable` is here but only *partially* updatable — the platform's PUT
|
|
204
|
+
* only honors `duration`/`targetLag` on the snowflake variant (`warehouse` is
|
|
205
|
+
* part of the DTO's shape but the platform doesn't apply changes to it, and
|
|
206
|
+
* linked tables have no update surface at all). `planV2`
|
|
207
|
+
* (`src/deploy/plan/plan.ts`) additionally checks that a search table's diff
|
|
208
|
+
* only touches those fields before returning `"update"`; everything else
|
|
209
|
+
* about a changed search table still routes to `"update-unsupported"`.
|
|
210
|
+
*
|
|
211
|
+
* `documentModel` has the same shape of caveat for its `excelCell` variant —
|
|
212
|
+
* the graph's `documentModelUpdate` mutation has no update slot for its
|
|
213
|
+
* `documentId`/`fields`, only `name`. `planV2` checks this the same way.
|
|
214
|
+
*/
|
|
215
|
+
export declare const REF_UPDATABLE: ReadonlySet<CatalogRefKind>;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reference-surface types for the v2 catalog.
|
|
3
|
+
*
|
|
4
|
+
* A *catalog fragment* describes one entity's **reference surface** — exactly
|
|
5
|
+
* what a referencing entity file needs to name it safely, and nothing more.
|
|
6
|
+
* For a behavioral entity (automation / agent / skill) that is just its
|
|
7
|
+
* **handle** (the join key, resolved to an id at deploy time) plus its display
|
|
8
|
+
* name for readability. **No id appears in the catalog** — identity lives in
|
|
9
|
+
* state (`src/deploy/state`).
|
|
10
|
+
*
|
|
11
|
+
* The `__kind` discriminant lets a builder's reference parameter accept exactly
|
|
12
|
+
* the right kind of handle (`runAutomation(ref: AutomationRef)`) and makes the
|
|
13
|
+
* fragment self-describing. These are the shapes the fragment renderer emits
|
|
14
|
+
* and the (forthcoming) builders consume — the single shared contract.
|
|
15
|
+
*
|
|
16
|
+
* Two groups of kinds share this shape. **Behavioral entities**
|
|
17
|
+
* (automation/agent/skill) are author-managed: imported reference-only, then
|
|
18
|
+
* deployed. **Reference-surface entities** — an app's *fields* and *search
|
|
19
|
+
* tables*, and org-owned *cloud links* / AI provider *connectors* — are never
|
|
20
|
+
* deployed through v2; they're imported so a builder can point at them by typed
|
|
21
|
+
* handle (`app.fields.severity`, `connectors.bedrockSonnet`). Field refs carry
|
|
22
|
+
* a little extra schema (`fieldType`) for authoring-time type safety; that
|
|
23
|
+
* schema is authoring-only — at the wire boundary `resolvePayload` replaces the
|
|
24
|
+
* whole token with the resolved id, discarding it.
|
|
25
|
+
*/
|
|
26
|
+
/** Platform-owned user attributes accepted by user-search task filters. */
|
|
27
|
+
export const USER_FIELD_KEYS = ["firstName", "email", "jobTitle", "lastName"];
|
|
28
|
+
/**
|
|
29
|
+
* Which scope resolves a kind's id at deploy:
|
|
30
|
+
* - `"app"` — the app's v2 state (app-owned entities + fields/tables);
|
|
31
|
+
* - `"org"` — the org's v2 state (cloud links, connectors);
|
|
32
|
+
* - `"registry"` — the app registry (`apps.v2.json`), for aspect self-refs
|
|
33
|
+
* (`app` / `element`), keyed by handle → id rather than a state binding.
|
|
34
|
+
*/
|
|
35
|
+
export const REF_SCOPE = {
|
|
36
|
+
automation: "app",
|
|
37
|
+
agent: "app",
|
|
38
|
+
skill: "app",
|
|
39
|
+
flow: "app",
|
|
40
|
+
approvalChain: "app",
|
|
41
|
+
table: "org",
|
|
42
|
+
tableColumn: "org",
|
|
43
|
+
cloudLink: "org",
|
|
44
|
+
field: "app",
|
|
45
|
+
searchTable: "app",
|
|
46
|
+
documentModel: "app",
|
|
47
|
+
documentModelField: "app",
|
|
48
|
+
connector: "org",
|
|
49
|
+
aiProvider: "org",
|
|
50
|
+
category: "org",
|
|
51
|
+
group: "org",
|
|
52
|
+
app: "registry",
|
|
53
|
+
element: "registry",
|
|
54
|
+
triggerParameter: "app",
|
|
55
|
+
outputProperty: "app",
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Kinds the platform can update in place (PUT). A bound entity of any other
|
|
59
|
+
* kind that has changed can't be updated — the deploy must surface that and
|
|
60
|
+
* the user re-creates it. Flows are create-only today (the flow service has no
|
|
61
|
+
* PUT); the reference-only kinds (field/cloudLink/connector) and aspect
|
|
62
|
+
* self-refs never deploy through v2, so they're simply absent.
|
|
63
|
+
*
|
|
64
|
+
* `searchTable` is here but only *partially* updatable — the platform's PUT
|
|
65
|
+
* only honors `duration`/`targetLag` on the snowflake variant (`warehouse` is
|
|
66
|
+
* part of the DTO's shape but the platform doesn't apply changes to it, and
|
|
67
|
+
* linked tables have no update surface at all). `planV2`
|
|
68
|
+
* (`src/deploy/plan/plan.ts`) additionally checks that a search table's diff
|
|
69
|
+
* only touches those fields before returning `"update"`; everything else
|
|
70
|
+
* about a changed search table still routes to `"update-unsupported"`.
|
|
71
|
+
*
|
|
72
|
+
* `documentModel` has the same shape of caveat for its `excelCell` variant —
|
|
73
|
+
* the graph's `documentModelUpdate` mutation has no update slot for its
|
|
74
|
+
* `documentId`/`fields`, only `name`. `planV2` checks this the same way.
|
|
75
|
+
*/
|
|
76
|
+
export const REF_UPDATABLE = new Set([
|
|
77
|
+
"automation",
|
|
78
|
+
"agent",
|
|
79
|
+
"skill",
|
|
80
|
+
"approvalChain",
|
|
81
|
+
"table",
|
|
82
|
+
"app",
|
|
83
|
+
"element",
|
|
84
|
+
"searchTable",
|
|
85
|
+
"documentModel",
|
|
86
|
+
]);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { CatalogRef } from "./types.js";
|
|
2
|
+
/** Where a catalog is written, and how its file is named. */
|
|
3
|
+
export interface CatalogTarget {
|
|
4
|
+
/** Directory holding this catalog's file. */
|
|
5
|
+
readonly dir: string;
|
|
6
|
+
/** Export const name emitted in the rendered file. */
|
|
7
|
+
readonly handle: string;
|
|
8
|
+
/** File stem; defaults to `handle` when omitted. */
|
|
9
|
+
readonly filename?: string;
|
|
10
|
+
readonly name: string;
|
|
11
|
+
readonly kind: "app" | "element" | "org";
|
|
12
|
+
}
|
|
13
|
+
/** Target for an app catalog: `<root>/apps/<appHandle>/generated/catalog.ts`. */
|
|
14
|
+
export declare function appCatalogTarget(root: string, appHandle: string, appName: string): CatalogTarget;
|
|
15
|
+
/** Target for the org catalog: `<root>/generated/catalog.ts`. */
|
|
16
|
+
export declare function orgCatalogTarget(root: string): CatalogTarget;
|
|
17
|
+
/** The catalog file path for a target. */
|
|
18
|
+
export declare function barrelPathFor(target: CatalogTarget): string;
|
|
19
|
+
/**
|
|
20
|
+
* Write a single flat catalog file for the given refs. This is the canonical
|
|
21
|
+
* write path: one file, factory-based format, no sub-directories.
|
|
22
|
+
*
|
|
23
|
+
* With `preserveIfPulled: true`, skips the write when the file already
|
|
24
|
+
* contains `export default` — indicating a pulled app source lives there and
|
|
25
|
+
* should not be clobbered by a reference-only catalog write.
|
|
26
|
+
*/
|
|
27
|
+
export declare function writeFlatCatalog(target: CatalogTarget, refs: readonly CatalogRef[], opts?: {
|
|
28
|
+
preserveIfPulled?: boolean;
|
|
29
|
+
skipIfUnchanged?: boolean;
|
|
30
|
+
}): Promise<{
|
|
31
|
+
catalogPath: string;
|
|
32
|
+
}>;
|
|
33
|
+
/** @deprecated Use writeFlatCatalog instead. */
|
|
34
|
+
export declare function writeFragment(target: CatalogTarget, ref: CatalogRef): Promise<{
|
|
35
|
+
path: string;
|
|
36
|
+
importPath: string;
|
|
37
|
+
}>;
|
|
38
|
+
/** @deprecated Use writeFlatCatalog instead. */
|
|
39
|
+
export declare function regenerateBarrel(target: CatalogTarget): Promise<string>;
|
|
40
|
+
/** @deprecated Use writeFlatCatalog instead. */
|
|
41
|
+
export declare function writeCatalog(target: CatalogTarget, refs: readonly CatalogRef[]): Promise<{
|
|
42
|
+
barrelPath: string;
|
|
43
|
+
}>;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Filesystem writers for the v2 catalog.
|
|
3
|
+
*
|
|
4
|
+
* `writeFlatCatalog` is the canonical writer: one file per catalog root, using
|
|
5
|
+
* the factory-based `renderCatalog` format. The legacy fragment + barrel
|
|
6
|
+
* functions (`writeFragment`, `regenerateBarrel`, `writeCatalog`) are kept for
|
|
7
|
+
* the `import-entity` additive path while it migrates.
|
|
8
|
+
*/
|
|
9
|
+
import { mkdir, readdir, readFile, writeFile } from "node:fs/promises";
|
|
10
|
+
import { join } from "node:path";
|
|
11
|
+
import { CATALOG_META_BY_REF_KIND, catalogBagForRefKind } from "../graph/index.js";
|
|
12
|
+
import { renderBarrel, renderCatalog, renderFragment } from "./render.js";
|
|
13
|
+
function bagName(kind) {
|
|
14
|
+
const bag = catalogBagForRefKind(kind);
|
|
15
|
+
if (bag === undefined) {
|
|
16
|
+
throw new Error(`catalog bag name unknown for ref kind "${kind}"`);
|
|
17
|
+
}
|
|
18
|
+
return bag;
|
|
19
|
+
}
|
|
20
|
+
/** Target for an app catalog: `<root>/apps/<appHandle>/generated/catalog.ts`. */
|
|
21
|
+
export function appCatalogTarget(root, appHandle, appName) {
|
|
22
|
+
return { dir: join(root, "apps", appHandle, "generated"), handle: appHandle, filename: "catalog", name: appName, kind: "app" };
|
|
23
|
+
}
|
|
24
|
+
/** Target for the org catalog: `<root>/generated/catalog.ts`. */
|
|
25
|
+
export function orgCatalogTarget(root) {
|
|
26
|
+
return { dir: join(root, "generated"), handle: "catalog", name: "Org", kind: "org" };
|
|
27
|
+
}
|
|
28
|
+
/** The catalog file path for a target. */
|
|
29
|
+
export function barrelPathFor(target) {
|
|
30
|
+
return join(target.dir, `${target.filename ?? target.handle}.ts`);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Write a single flat catalog file for the given refs. This is the canonical
|
|
34
|
+
* write path: one file, factory-based format, no sub-directories.
|
|
35
|
+
*
|
|
36
|
+
* With `preserveIfPulled: true`, skips the write when the file already
|
|
37
|
+
* contains `export default` — indicating a pulled app source lives there and
|
|
38
|
+
* should not be clobbered by a reference-only catalog write.
|
|
39
|
+
*/
|
|
40
|
+
export async function writeFlatCatalog(target, refs, opts) {
|
|
41
|
+
await mkdir(target.dir, { recursive: true });
|
|
42
|
+
const catalogPath = barrelPathFor(target);
|
|
43
|
+
if (opts?.preserveIfPulled) {
|
|
44
|
+
try {
|
|
45
|
+
const existing = await readFile(catalogPath, "utf8");
|
|
46
|
+
if (existing.includes("export default"))
|
|
47
|
+
return { catalogPath };
|
|
48
|
+
}
|
|
49
|
+
catch { /* file doesn't exist — proceed with write */ }
|
|
50
|
+
}
|
|
51
|
+
const rendered = renderCatalog({ kind: target.kind, refName: target.handle, name: target.name }, refs);
|
|
52
|
+
if (opts?.skipIfUnchanged) {
|
|
53
|
+
try {
|
|
54
|
+
const existing = await readFile(catalogPath, "utf8");
|
|
55
|
+
if (existing === rendered)
|
|
56
|
+
return { catalogPath };
|
|
57
|
+
}
|
|
58
|
+
catch { /* file doesn't exist — proceed with write */ }
|
|
59
|
+
}
|
|
60
|
+
await writeFile(catalogPath, rendered, "utf8");
|
|
61
|
+
return { catalogPath };
|
|
62
|
+
}
|
|
63
|
+
// ---------------------------------------------------------------------------
|
|
64
|
+
// Legacy fragment + barrel writers (kept for import-entity additive path)
|
|
65
|
+
// ---------------------------------------------------------------------------
|
|
66
|
+
function fragmentImportPath(kind, handle) {
|
|
67
|
+
return `./${bagName(kind)}/${handle}.js`;
|
|
68
|
+
}
|
|
69
|
+
/** @deprecated Use writeFlatCatalog instead. */
|
|
70
|
+
export async function writeFragment(target, ref) {
|
|
71
|
+
const bagDir = join(target.dir, bagName(ref.__kind));
|
|
72
|
+
await mkdir(bagDir, { recursive: true });
|
|
73
|
+
const path = join(bagDir, `${ref.refName}.ts`);
|
|
74
|
+
await writeFile(path, renderFragment(ref), "utf8");
|
|
75
|
+
return { path, importPath: fragmentImportPath(ref.__kind, ref.refName) };
|
|
76
|
+
}
|
|
77
|
+
/** @deprecated Use writeFlatCatalog instead. */
|
|
78
|
+
export async function regenerateBarrel(target) {
|
|
79
|
+
const entries = [];
|
|
80
|
+
for (const meta of CATALOG_META_BY_REF_KIND.values()) {
|
|
81
|
+
const kind = meta.refKind;
|
|
82
|
+
let files;
|
|
83
|
+
try {
|
|
84
|
+
files = await readdir(join(target.dir, meta.catalogBag));
|
|
85
|
+
}
|
|
86
|
+
catch (err) {
|
|
87
|
+
if (err.code === "ENOENT")
|
|
88
|
+
continue;
|
|
89
|
+
throw err;
|
|
90
|
+
}
|
|
91
|
+
for (const file of files) {
|
|
92
|
+
if (!file.endsWith(".ts"))
|
|
93
|
+
continue;
|
|
94
|
+
const refName = file.slice(0, -".ts".length);
|
|
95
|
+
entries.push({ kind, refName, importPath: fragmentImportPath(kind, refName) });
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
await mkdir(target.dir, { recursive: true });
|
|
99
|
+
const barrelPath = barrelPathFor(target);
|
|
100
|
+
await writeFile(barrelPath, renderBarrel({ kind: target.kind, refName: target.handle, name: target.name }, entries), "utf8");
|
|
101
|
+
return barrelPath;
|
|
102
|
+
}
|
|
103
|
+
/** @deprecated Use writeFlatCatalog instead. */
|
|
104
|
+
export async function writeCatalog(target, refs) {
|
|
105
|
+
for (const ref of refs)
|
|
106
|
+
await writeFragment(target, ref);
|
|
107
|
+
const barrelPath = await regenerateBarrel(target);
|
|
108
|
+
return { barrelPath };
|
|
109
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* App composer for `App.toUI()`.
|
|
3
|
+
*
|
|
4
|
+
* Walks an `App`'s flows / automations / agents bags and emits a single
|
|
5
|
+
* json-render `SerializedRenderTree` containing a top-level `Card` with
|
|
6
|
+
* a vertical `Stack` of sections — one section per entity kind, each
|
|
7
|
+
* with a heading and either a nested `FlowGraph` (for flows /
|
|
8
|
+
* automations) or a `Grid` of `ActivityNode`s (for agents).
|
|
9
|
+
*
|
|
10
|
+
* Both built deployables (with a `toRenderNode()` method) and pre-loaded
|
|
11
|
+
* `App*` reference shapes are accepted. References render as a single
|
|
12
|
+
* neutral activity node since their internal structure isn't available
|
|
13
|
+
* client-side.
|
|
14
|
+
*/
|
|
15
|
+
import { type SerializedRenderTree } from "../entities/flow/activities/render-catalog.js";
|
|
16
|
+
import type { App } from "./types/app.js";
|
|
17
|
+
/**
|
|
18
|
+
* Compose an `App` into a single json-render document. The top-level
|
|
19
|
+
* `Card` carries the app name; nested sections render flows /
|
|
20
|
+
* automations as graphs and agents as a 3-column card grid.
|
|
21
|
+
*/
|
|
22
|
+
export declare function appToUi(app: App): SerializedRenderTree;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* App composer for `App.toUI()`.
|
|
3
|
+
*
|
|
4
|
+
* Walks an `App`'s flows / automations / agents bags and emits a single
|
|
5
|
+
* json-render `SerializedRenderTree` containing a top-level `Card` with
|
|
6
|
+
* a vertical `Stack` of sections — one section per entity kind, each
|
|
7
|
+
* with a heading and either a nested `FlowGraph` (for flows /
|
|
8
|
+
* automations) or a `Grid` of `ActivityNode`s (for agents).
|
|
9
|
+
*
|
|
10
|
+
* Both built deployables (with a `toRenderNode()` method) and pre-loaded
|
|
11
|
+
* `App*` reference shapes are accepted. References render as a single
|
|
12
|
+
* neutral activity node since their internal structure isn't available
|
|
13
|
+
* client-side.
|
|
14
|
+
*/
|
|
15
|
+
import { activityNode, card, grid, heading, serializeRenderTree, stack, } from "../entities/flow/activities/render-catalog.js";
|
|
16
|
+
function hasToRenderNode(value) {
|
|
17
|
+
return (typeof value === "object" &&
|
|
18
|
+
value !== null &&
|
|
19
|
+
typeof value.toRenderNode === "function");
|
|
20
|
+
}
|
|
21
|
+
function entryName(entry, fallback) {
|
|
22
|
+
if (typeof entry === "object" && entry !== null) {
|
|
23
|
+
const named = entry;
|
|
24
|
+
if (typeof named.name === "string" && named.name.length > 0)
|
|
25
|
+
return named.name;
|
|
26
|
+
}
|
|
27
|
+
return fallback;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Resolve a single bag entry into a `RenderNode`. If the entry is a
|
|
31
|
+
* built deployable (has `toRenderNode`), use its tree; otherwise treat
|
|
32
|
+
* it as a reference and render it as a single colored leaf.
|
|
33
|
+
*/
|
|
34
|
+
function entryNode(entry, fallbackKey, refKind, refTypeLabel, layout) {
|
|
35
|
+
if (hasToRenderNode(entry) && layout === "graph-stack")
|
|
36
|
+
return entry.toRenderNode();
|
|
37
|
+
return activityNode({
|
|
38
|
+
kind: refKind,
|
|
39
|
+
name: entryName(entry, fallbackKey),
|
|
40
|
+
referenceName: refTypeLabel,
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
function bagSection(title, entries, refKind, refTypeLabel, layout) {
|
|
44
|
+
if (entries.length === 0)
|
|
45
|
+
return [];
|
|
46
|
+
const childNodes = entries.map(([key, entry]) => entryNode(entry, key, refKind, refTypeLabel, layout));
|
|
47
|
+
const section = layout === "grid"
|
|
48
|
+
? grid({ columns: 3, gap: "md" }, childNodes)
|
|
49
|
+
: stack(childNodes, { direction: "vertical", gap: "md" });
|
|
50
|
+
return [heading(title, { level: 3 }), section];
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Compose an `App` into a single json-render document. The top-level
|
|
54
|
+
* `Card` carries the app name; nested sections render flows /
|
|
55
|
+
* automations as graphs and agents as a 3-column card grid.
|
|
56
|
+
*/
|
|
57
|
+
export function appToUi(app) {
|
|
58
|
+
const flowEntries = Object.entries(app.flows ?? {});
|
|
59
|
+
const approvalChainEntries = Object.entries(app.approvalChains ?? {});
|
|
60
|
+
const automationEntries = Object.entries(app.automations ?? {});
|
|
61
|
+
const agentEntries = Object.entries(app.agents ?? {});
|
|
62
|
+
const skillEntries = Object.entries(app.agenticSkills ?? {});
|
|
63
|
+
const sections = [
|
|
64
|
+
...bagSection("Flows", flowEntries, "DEFAULT", "Flow ref", "graph-stack"),
|
|
65
|
+
...bagSection("Approval Chains", approvalChainEntries, "DEFAULT", "Approval chain ref", "graph-stack"),
|
|
66
|
+
...bagSection("Automations", automationEntries, "AUTOMATION", "Automation ref", "graph-stack"),
|
|
67
|
+
...bagSection("Agents", agentEntries, "AGENT", "Agent ref", "grid"),
|
|
68
|
+
...bagSection("Skills", skillEntries, "DEFAULT", "Skill ref", "grid"),
|
|
69
|
+
];
|
|
70
|
+
if (sections.length === 0) {
|
|
71
|
+
sections.push(heading("No flows, approval chains, automations, agents, or skills defined.", { level: 4 }));
|
|
72
|
+
}
|
|
73
|
+
const root = card({ title: app.name, ...(app.description != null && { description: app.description }) }, [stack(sections, { direction: "vertical", gap: "lg" })]);
|
|
74
|
+
return serializeRenderTree(root);
|
|
75
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { type Ref, type ToRefs, type Simplify, type ValueOrRef, type RefData, type TriggerRefData, type TaskRefData, type ForEachRefData, type StaticRefData, type TemplateRefData, type SecretRefData, createRef, isRef, val, template, secret, unresolvedField, toRefData, UNRESOLVED_FIELD_MARKER, } from "../entities/shared/ref.js";
|
|
2
|
+
export { type Context, type ForEachItem, buildContext, createTriggerProxy, createTaskOutputProxy, createTasksProxy, createForEachItemProxy, } from "../entities/shared/context.js";
|
|
3
|
+
export { type App, type AppField, type FieldScope, type AppAgent, type AppSearchTable, type AppAutomation, type AppPhoneService, type AspectType, type AppCategory, type FieldValueType, type FieldValueForAppField, type PicklistOption, type AspectRecord, type SearchTableRecord, type AppFieldValues, type AppFieldOf, type AppFieldInputForTask, type PicklistOptionsResolver, type RowScopedFields, type RowProxy, defineApp, picklistOption, picklistStaticValueToApiId, resolveFieldValues, asRowProxy, } from "./types/app.js";
|
|
4
|
+
export { type SortDirection, type SortOrder, asc, desc, sortBy, } from "../entities/shared/types/common.js";
|
|
5
|
+
export { type User, type Group, type Attachment, type Employee, type Manager, type RichText, type PicklistValue, } from "../entities/shared/types/platform.js";
|
|
6
|
+
export { type AiProviderConnector, defineAiProviderConnector, } from "./types/ai-provider.js";
|
|
7
|
+
export { type UserRef, defineUser, } from "./types/user.js";
|
|
8
|
+
export { type GroupRef, defineGroup, } from "./types/group.js";
|
|
9
|
+
export { type CloudLink, defineCloudLink, } from "./types/cloud-link.js";
|
|
10
|
+
export { type AspectCategoryRef, defineCategory, } from "./types/aspect-category.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { createRef, isRef, val, template, secret, unresolvedField, toRefData, UNRESOLVED_FIELD_MARKER, } from "../entities/shared/ref.js";
|
|
2
|
+
export { buildContext, createTriggerProxy, createTaskOutputProxy, createTasksProxy, createForEachItemProxy, } from "../entities/shared/context.js";
|
|
3
|
+
export { defineApp, picklistOption, picklistStaticValueToApiId, resolveFieldValues, asRowProxy, } from "./types/app.js";
|
|
4
|
+
export { asc, desc, sortBy, } from "../entities/shared/types/common.js";
|
|
5
|
+
export { defineAiProviderConnector, } from "./types/ai-provider.js";
|
|
6
|
+
export { defineUser, } from "./types/user.js";
|
|
7
|
+
export { defineGroup, } from "./types/group.js";
|
|
8
|
+
export { defineCloudLink, } from "./types/cloud-link.js";
|
|
9
|
+
export { defineCategory, } from "./types/aspect-category.js";
|