@elementumai/edk 0.9.2 → 0.9.6
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 +34 -26
- package/dist-sdk/elementum-entity-client/clients/automation/models/automation.d.ts +1 -1
- package/dist-sdk/elementum-entity-client/clients/skills/models/skill.d.ts +1 -1
- package/dist-sdk/elementum-entity-client/clients/skills/models/skill.js +1 -1
- package/dist-sdk/pull/util.d.ts +1 -1
- package/dist-sdk/pull/util.js +3 -3
- package/dist-sdk/src/catalog/factories.d.ts +49 -10
- package/dist-sdk/src/catalog/factories.js +94 -13
- package/dist-sdk/src/catalog/from-authoring.d.ts +5 -5
- package/dist-sdk/src/catalog/from-authoring.js +7 -7
- package/dist-sdk/src/catalog/index.d.ts +2 -2
- package/dist-sdk/src/catalog/index.js +1 -1
- package/dist-sdk/src/catalog/org.js +62 -4
- package/dist-sdk/src/catalog/render-helpers.d.ts +1 -1
- package/dist-sdk/src/catalog/render-helpers.js +1 -1
- package/dist-sdk/src/catalog/render.d.ts +1 -0
- package/dist-sdk/src/catalog/render.js +2 -2
- package/dist-sdk/src/catalog/token.js +11 -4
- package/dist-sdk/src/catalog/types.d.ts +33 -4
- package/dist-sdk/src/catalog/types.js +5 -0
- package/dist-sdk/src/core/index.d.ts +10 -10
- package/dist-sdk/src/core/index.js +9 -9
- package/dist-sdk/src/core/render-tree.d.ts +1 -1
- package/dist-sdk/src/core/render-tree.js +1 -2
- package/dist-sdk/src/core/types/ai-provider.d.ts +1 -1
- package/dist-sdk/src/core/types/ai-provider.js +1 -1
- package/dist-sdk/src/core/types/app.d.ts +66 -30
- package/dist-sdk/src/core/types/app.js +2 -2
- package/dist-sdk/src/core/types/aspect-category.d.ts +4 -4
- package/dist-sdk/src/core/types/aspect-category.js +4 -4
- package/dist-sdk/src/core/types/cloud-link.d.ts +3 -3
- package/dist-sdk/src/core/types/cloud-link.js +3 -3
- package/dist-sdk/src/core/types/display-block.d.ts +2 -2
- package/dist-sdk/src/core/types/display-block.js +2 -2
- package/dist-sdk/src/core/types/group.d.ts +1 -1
- package/dist-sdk/src/core/types/group.js +1 -1
- package/dist-sdk/src/core/types/user.d.ts +1 -1
- package/dist-sdk/src/core/types/user.js +1 -1
- package/dist-sdk/src/core/wire/ref-serializer.js +3 -3
- package/dist-sdk/src/engine/build/context.d.ts +20 -13
- package/dist-sdk/src/engine/entity.d.ts +1 -1
- package/dist-sdk/src/engine/pull/context.d.ts +34 -0
- package/dist-sdk/src/engine/pull/context.js +14 -0
- package/dist-sdk/src/engine/pull/org.d.ts +9 -0
- package/dist-sdk/src/engine/pull/org.js +33 -0
- package/dist-sdk/src/engine/pull/ref-only.d.ts +37 -0
- package/dist-sdk/src/engine/pull/ref-only.js +204 -0
- package/dist-sdk/src/engine/tf/expr.d.ts +6 -2
- package/dist-sdk/src/engine/tf/expr.js +18 -13
- package/dist-sdk/src/engine/tf/index.d.ts +1 -1
- package/dist-sdk/src/engine/tf/index.js +1 -1
- package/dist-sdk/src/engine/tf/model.d.ts +8 -1
- package/dist-sdk/src/engine/tf/model.js +4 -0
- package/dist-sdk/src/engine/tf/parse.js +13 -2
- package/dist-sdk/src/engine/tf/render.js +4 -0
- package/dist-sdk/src/entities/access-policy/build.d.ts +4 -5
- package/dist-sdk/src/entities/access-policy/build.js +1 -1
- package/dist-sdk/src/entities/access-policy/from-tf.d.ts +4 -4
- package/dist-sdk/src/entities/access-policy/from-tf.js +12 -13
- package/dist-sdk/src/entities/access-policy/principal.d.ts +14 -4
- package/dist-sdk/src/entities/access-policy/to-tf.d.ts +14 -2
- package/dist-sdk/src/entities/access-policy/to-tf.js +36 -6
- package/dist-sdk/src/entities/agent/build.d.ts +3 -3
- package/dist-sdk/src/entities/agent/build.js +5 -5
- package/dist-sdk/src/entities/agent/deserializer/print-agent-v2.d.ts +6 -1
- package/dist-sdk/src/entities/agent/deserializer/print-agent-v2.js +68 -18
- package/dist-sdk/src/entities/agent/from-tf.d.ts +3 -1
- package/dist-sdk/src/entities/agent/from-tf.js +12 -4
- package/dist-sdk/src/entities/agent/index.d.ts +2 -2
- package/dist-sdk/src/entities/agent/index.js +1 -1
- package/dist-sdk/src/entities/agent/module.js +2 -0
- package/dist-sdk/src/entities/agent/to-tf.d.ts +5 -2
- package/dist-sdk/src/entities/agent/to-tf.js +56 -8
- package/dist-sdk/src/entities/agent/tools.d.ts +38 -23
- package/dist-sdk/src/entities/agent/tools.js +21 -7
- package/dist-sdk/src/entities/agent-evaluation/build.d.ts +19 -0
- package/dist-sdk/src/entities/agent-evaluation/build.js +41 -0
- package/dist-sdk/src/entities/agent-evaluation/deserializer/print-agent-evaluation.d.ts +4 -0
- package/dist-sdk/src/entities/agent-evaluation/deserializer/print-agent-evaluation.js +30 -0
- package/dist-sdk/src/entities/agent-evaluation/from-tf.d.ts +12 -0
- package/dist-sdk/src/entities/agent-evaluation/from-tf.js +46 -0
- package/dist-sdk/src/entities/agent-evaluation/index.d.ts +1 -0
- package/dist-sdk/src/entities/agent-evaluation/index.js +1 -0
- package/dist-sdk/src/entities/agent-evaluation/module.d.ts +3 -0
- package/dist-sdk/src/entities/agent-evaluation/module.js +58 -0
- package/dist-sdk/src/entities/agent-evaluation/to-tf.d.ts +12 -0
- package/dist-sdk/src/entities/agent-evaluation/to-tf.js +35 -0
- package/dist-sdk/src/entities/agent-tool/from-tf.d.ts +8 -7
- package/dist-sdk/src/entities/agent-tool/from-tf.js +48 -6
- package/dist-sdk/src/entities/agent-tool/to-tf.d.ts +10 -2
- package/dist-sdk/src/entities/agent-tool/to-tf.js +76 -28
- package/dist-sdk/src/entities/agent-tool/types.d.ts +0 -1
- package/dist-sdk/src/entities/agent-tool/types.js +10 -37
- package/dist-sdk/src/entities/app/build.d.ts +97 -42
- package/dist-sdk/src/entities/app/build.js +25 -14
- package/dist-sdk/src/entities/app/deserializer/normalize.d.ts +32 -24
- package/dist-sdk/src/entities/app/deserializer/pulled-expression.d.ts +1 -1
- package/dist-sdk/src/entities/app/deserializer/pulled-expression.js +2 -0
- package/dist-sdk/src/entities/app/index.d.ts +11 -8
- package/dist-sdk/src/entities/app/index.js +10 -7
- package/dist-sdk/src/entities/app/module.js +2 -2
- package/dist-sdk/src/entities/app/to-tf.d.ts +1 -1
- package/dist-sdk/src/entities/app/to-tf.js +22 -6
- package/dist-sdk/src/entities/approval-chain/build.d.ts +1 -1
- package/dist-sdk/src/entities/approval-chain/build.js +5 -5
- package/dist-sdk/src/entities/approval-chain/index.d.ts +1 -1
- package/dist-sdk/src/entities/approval-chain/index.js +1 -1
- package/dist-sdk/src/entities/approval-chain/printer.js +2 -2
- package/dist-sdk/src/entities/automation/build.d.ts +172 -94
- package/dist-sdk/src/entities/automation/build.js +159 -68
- package/dist-sdk/src/entities/automation/calculation-expression.d.ts +191 -0
- package/dist-sdk/src/entities/automation/calculation-expression.js +57 -0
- package/dist-sdk/src/entities/automation/deserializer/ast.d.ts +11 -4
- package/dist-sdk/src/entities/automation/deserializer/print-automation.d.ts +18 -14
- package/dist-sdk/src/entities/automation/deserializer/print-automation.js +164 -198
- package/dist-sdk/src/entities/automation/from-tf.d.ts +26 -2
- package/dist-sdk/src/entities/automation/from-tf.js +510 -80
- package/dist-sdk/src/entities/automation/index.d.ts +9 -12
- package/dist-sdk/src/entities/automation/index.js +11 -13
- package/dist-sdk/src/entities/automation/module.js +74 -6
- package/dist-sdk/src/entities/automation/operators.d.ts +32 -48
- package/dist-sdk/src/entities/automation/operators.js +10 -37
- package/dist-sdk/src/entities/automation/output-key-wire-name.d.ts +1 -1
- package/dist-sdk/src/entities/automation/output-key-wire-name.js +1 -1
- package/dist-sdk/src/entities/automation/script-code.js +13 -22
- package/dist-sdk/src/entities/automation/serialize.js +1 -1
- package/dist-sdk/src/entities/automation/tasks.d.ts +153 -89
- package/dist-sdk/src/entities/automation/tasks.js +64 -11
- package/dist-sdk/src/entities/automation/to-tf.d.ts +10 -1
- package/dist-sdk/src/entities/automation/to-tf.js +342 -71
- package/dist-sdk/src/entities/automation/triggers.d.ts +17 -10
- package/dist-sdk/src/entities/automation/triggers.js +7 -1
- package/dist-sdk/src/entities/automation/types.d.ts +3 -2
- package/dist-sdk/src/entities/automation/types.js +3 -2
- package/dist-sdk/src/entities/chart/build.d.ts +95 -0
- package/dist-sdk/src/entities/chart/build.js +42 -0
- package/dist-sdk/src/entities/chart/from-tf.d.ts +55 -0
- package/dist-sdk/src/entities/chart/from-tf.js +269 -0
- package/dist-sdk/src/entities/chart/index.d.ts +4 -0
- package/dist-sdk/src/entities/chart/index.js +3 -0
- package/dist-sdk/src/entities/chart/module.d.ts +3 -0
- package/dist-sdk/src/entities/chart/module.js +61 -0
- package/dist-sdk/src/entities/chart/printer.d.ts +5 -0
- package/dist-sdk/src/entities/chart/printer.js +104 -0
- package/dist-sdk/src/entities/chart/to-tf.d.ts +15 -0
- package/dist-sdk/src/entities/chart/to-tf.js +150 -0
- package/dist-sdk/src/entities/chart/types.d.ts +53 -0
- package/dist-sdk/src/entities/chart/types.js +22 -0
- package/dist-sdk/src/entities/dashboard/build.d.ts +34 -7
- package/dist-sdk/src/entities/dashboard/build.js +16 -1
- package/dist-sdk/src/entities/dashboard/from-tf.js +22 -4
- package/dist-sdk/src/entities/dashboard/to-tf.d.ts +16 -3
- package/dist-sdk/src/entities/dashboard/to-tf.js +37 -10
- package/dist-sdk/src/entities/datamine/module.js +1 -1
- package/dist-sdk/src/entities/dynamic-layout/build.d.ts +4 -3
- package/dist-sdk/src/entities/dynamic-layout/build.js +1 -1
- package/dist-sdk/src/entities/dynamic-layout/dialect.d.ts +2 -0
- package/dist-sdk/src/entities/dynamic-layout/dialect.js +43 -5
- package/dist-sdk/src/entities/dynamic-layout/from-tf.js +12 -6
- package/dist-sdk/src/entities/dynamic-layout/to-tf.js +10 -10
- package/dist-sdk/src/entities/element/build.d.ts +25 -32
- package/dist-sdk/src/entities/element/build.js +15 -32
- package/dist-sdk/src/entities/element/index.d.ts +7 -5
- package/dist-sdk/src/entities/element/index.js +7 -4
- package/dist-sdk/src/entities/element/module.js +7 -3
- package/dist-sdk/src/entities/element/to-tf.d.ts +2 -1
- package/dist-sdk/src/entities/element/to-tf.js +7 -3
- package/dist-sdk/src/entities/field/build.d.ts +51 -24
- package/dist-sdk/src/entities/field/build.js +31 -6
- package/dist-sdk/src/entities/field/calc/aggregate.d.ts +52 -21
- package/dist-sdk/src/entities/field/calc/aggregate.js +59 -29
- package/dist-sdk/src/entities/field/calc/date.d.ts +78 -29
- package/dist-sdk/src/entities/field/calc/date.js +120 -29
- package/dist-sdk/src/entities/field/calc/index.d.ts +80 -85
- package/dist-sdk/src/entities/field/calc/index.js +82 -139
- package/dist-sdk/src/entities/field/calc/numeric.d.ts +8 -12
- package/dist-sdk/src/entities/field/calc/numeric.js +10 -27
- package/dist-sdk/src/entities/field/calc/runtime.d.ts +19 -2
- package/dist-sdk/src/entities/field/calc/runtime.js +79 -8
- package/dist-sdk/src/entities/field/calc/text.d.ts +32 -23
- package/dist-sdk/src/entities/field/calc/text.js +43 -31
- package/dist-sdk/src/entities/field/calc/types.d.ts +36 -81
- package/dist-sdk/src/entities/field/calc/types.js +1 -22
- package/dist-sdk/src/entities/field/calc.d.ts +71 -48
- package/dist-sdk/src/entities/field/calc.js +5 -15
- package/dist-sdk/src/entities/field/calculation-types.js +10 -3
- package/dist-sdk/src/entities/field/from-tf.js +156 -10
- package/dist-sdk/src/entities/field/locals.d.ts +11 -3
- package/dist-sdk/src/entities/field/locals.js +15 -2
- package/dist-sdk/src/entities/field/module.js +23 -6
- package/dist-sdk/src/entities/field/record-shape.d.ts +24 -10
- package/dist-sdk/src/entities/field/to-tf.d.ts +40 -1
- package/dist-sdk/src/entities/field/to-tf.js +293 -35
- package/dist-sdk/src/entities/field/types.d.ts +1 -1
- package/dist-sdk/src/entities/field/types.js +7 -1
- package/dist-sdk/src/entities/file-reader/build.d.ts +5 -0
- package/dist-sdk/src/entities/file-reader/deserializer/print-file-reader.js +1 -1
- package/dist-sdk/src/entities/org/cloud-link.js +4 -5
- package/dist-sdk/src/entities/org/email-alias.d.ts +2 -0
- package/dist-sdk/src/entities/org/email-alias.js +12 -0
- package/dist-sdk/src/entities/org/index.d.ts +1 -0
- package/dist-sdk/src/entities/org/index.js +1 -0
- package/dist-sdk/src/entities/org/phone-provider.js +4 -7
- package/dist-sdk/src/entities/organization/build.d.ts +214 -2
- package/dist-sdk/src/entities/organization/build.js +145 -4
- package/dist-sdk/src/entities/organization/index.d.ts +1 -1
- package/dist-sdk/src/entities/organization/index.js +1 -1
- package/dist-sdk/src/entities/organization/module.js +4 -1
- package/dist-sdk/src/entities/organization/to-tf.d.ts +1 -0
- package/dist-sdk/src/entities/organization/to-tf.js +118 -1
- package/dist-sdk/src/entities/phone-service/build.d.ts +1 -1
- package/dist-sdk/src/entities/phone-service/build.js +2 -2
- package/dist-sdk/src/entities/phone-service/deserializer/print-phone-service.js +5 -3
- package/dist-sdk/src/entities/phone-service/index.d.ts +1 -1
- package/dist-sdk/src/entities/phone-service/index.js +1 -1
- package/dist-sdk/src/entities/phone-service/types.js +1 -1
- package/dist-sdk/src/entities/record-create-form/to-tf.js +9 -1
- package/dist-sdk/src/entities/relationship/to-tf.d.ts +1 -0
- package/dist-sdk/src/entities/relationship/to-tf.js +5 -13
- package/dist-sdk/src/entities/search-table/build.d.ts +4 -4
- package/dist-sdk/src/entities/search-table/build.js +13 -13
- package/dist-sdk/src/entities/search-table/index.d.ts +2 -2
- package/dist-sdk/src/entities/search-table/index.js +2 -2
- package/dist-sdk/src/entities/search-table/printer.js +5 -5
- package/dist-sdk/src/entities/service-account/to-tf.d.ts +21 -0
- package/dist-sdk/src/entities/service-account/to-tf.js +32 -1
- package/dist-sdk/src/entities/shared/context.d.ts +25 -24
- package/dist-sdk/src/entities/shared/context.js +36 -35
- package/dist-sdk/src/entities/shared/filters/ast.d.ts +10 -3
- package/dist-sdk/src/entities/shared/filters/ast.js +1 -0
- package/dist-sdk/src/entities/shared/filters/index.d.ts +2 -1
- package/dist-sdk/src/entities/shared/filters/index.js +11 -4
- package/dist-sdk/src/entities/shared/foreign-ref.d.ts +14 -0
- package/dist-sdk/src/entities/shared/foreign-ref.js +12 -0
- package/dist-sdk/src/entities/shared/ref.d.ts +26 -11
- package/dist-sdk/src/entities/shared/ref.js +8 -3
- package/dist-sdk/src/entities/shared/types/common.d.ts +2 -2
- package/dist-sdk/src/entities/shared/types/field-types.d.ts +1 -1
- package/dist-sdk/src/entities/shared/types/field-types.js +1 -1
- package/dist-sdk/src/entities/skill/build.d.ts +2 -2
- package/dist-sdk/src/entities/skill/build.js +3 -3
- package/dist-sdk/src/entities/skill/deserializer/print-skill-v2.d.ts +1 -1
- package/dist-sdk/src/entities/skill/deserializer/print-skill-v2.js +26 -7
- package/dist-sdk/src/entities/skill/index.d.ts +1 -1
- package/dist-sdk/src/entities/skill/index.js +1 -1
- package/dist-sdk/src/entities/skill/module.js +2 -2
- package/dist-sdk/src/entities/skill/to-tf.d.ts +1 -1
- package/dist-sdk/src/entities/skill/to-tf.js +2 -2
- package/dist-sdk/src/entities/skill/tools.d.ts +4 -3
- package/dist-sdk/src/entities/skill/tools.js +4 -3
- package/dist-sdk/src/entities/skill-tool/from-tf.d.ts +13 -0
- package/dist-sdk/src/entities/skill-tool/from-tf.js +42 -0
- package/dist-sdk/src/entities/skill-tool/to-tf.js +6 -6
- package/dist-sdk/src/entities/table/build.d.ts +1 -1
- package/dist-sdk/src/entities/table/build.js +9 -9
- package/dist-sdk/src/entities/table/catalog-render.js +9 -1
- package/dist-sdk/src/entities/table/deserializer/normalize.js +4 -4
- package/dist-sdk/src/entities/table/fields/types.d.ts +1 -1
- package/dist-sdk/src/entities/table/fields/types.js +1 -1
- package/dist-sdk/src/entities/table/index.d.ts +2 -2
- package/dist-sdk/src/entities/table/index.js +3 -3
- package/dist-sdk/src/entities/table/module.js +1 -1
- package/dist-sdk/src/entities/table/to-tf.js +22 -30
- package/dist-sdk/src/entities/task/build.d.ts +1 -1
- package/dist-sdk/src/entities/task/build.js +5 -5
- package/dist-sdk/src/entities/task/index.d.ts +1 -1
- package/dist-sdk/src/entities/task/index.js +1 -1
- package/dist-sdk/src/entities/view/build.d.ts +46 -0
- package/dist-sdk/src/entities/view/build.js +19 -0
- package/dist-sdk/src/entities/view/from-tf.js +68 -18
- package/dist-sdk/src/entities/view/module.d.ts +6 -13
- package/dist-sdk/src/entities/view/module.js +7 -14
- package/dist-sdk/src/entities/view/sharing.d.ts +10 -0
- package/dist-sdk/src/entities/view/sharing.js +6 -0
- package/dist-sdk/src/entities/view/to-tf.d.ts +21 -19
- package/dist-sdk/src/entities/view/to-tf.js +61 -26
- package/dist-sdk/src/entities/view/types.js +3 -0
- package/dist-sdk/src/entities/visual-flow/build.d.ts +1 -1
- package/dist-sdk/src/entities/visual-flow/build.js +8 -8
- package/dist-sdk/src/entities/visual-flow/index.d.ts +1 -1
- package/dist-sdk/src/entities/visual-flow/index.js +1 -1
- package/dist-sdk/src/entities/visual-flow/module.js +1 -1
- package/dist-sdk/src/entities/visual-flow/printer.js +3 -3
- package/dist-sdk/src/entities/visual-flow/to-tf.d.ts +1 -0
- package/dist-sdk/src/entities/visual-flow/to-tf.js +3 -7
- package/dist-sdk/src/entities/widget/to-tf.d.ts +1 -0
- package/dist-sdk/src/entities/widget/to-tf.js +9 -7
- package/dist-sdk/src/graph/index.d.ts +5 -1
- package/dist-sdk/src/graph/index.js +4 -1
- package/dist-sdk/src/graph/modules.js +6 -1
- package/dist-sdk/src/graph/types.d.ts +52 -1
- package/dist-sdk/src/internal/safe-identifier.d.ts +4 -0
- package/dist-sdk/src/internal/safe-identifier.js +13 -0
- package/dist-sdk/src/internal/sdk-package.d.ts +1 -1
- package/dist-sdk/src/internal/sdk-package.js +1 -0
- package/package.json +12 -3
|
@@ -76,7 +76,7 @@ export function buildFieldTypeByIdMap(app) {
|
|
|
76
76
|
}
|
|
77
77
|
return m;
|
|
78
78
|
}
|
|
79
|
-
export function
|
|
79
|
+
export function app(opts) {
|
|
80
80
|
const built = {
|
|
81
81
|
id: opts.id,
|
|
82
82
|
name: opts.name,
|
|
@@ -117,7 +117,7 @@ export function defineApp(opts) {
|
|
|
117
117
|
*
|
|
118
118
|
* Pure function — returns a new object graph rather than mutating
|
|
119
119
|
* the input. Non-`AppAutomation` entries (`DeployableAutomation`
|
|
120
|
-
* objects produced by `
|
|
120
|
+
* objects produced by `automation(...).build()`) pass through
|
|
121
121
|
* unchanged; the brand is only relevant for `AppAutomation` data
|
|
122
122
|
* refs.
|
|
123
123
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AspectCategoryRef — a typed handle to an existing aspect category on
|
|
3
3
|
* the Elementum platform. Distinct from {@link AppCategory} (in
|
|
4
|
-
* `app.ts`), which is the by-name shape that `
|
|
4
|
+
* `app.ts`), which is the by-name shape that `app({ category })`
|
|
5
5
|
* accepts because the compose endpoint upserts categories by name.
|
|
6
6
|
*
|
|
7
7
|
* Some antman endpoints (notably `POST /v1/elements`) accept a
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* ```ts
|
|
13
13
|
* // connectors/categories.ts
|
|
14
|
-
* export const importedData =
|
|
14
|
+
* export const importedData = category({
|
|
15
15
|
* id: "3b7a6ef4-...",
|
|
16
16
|
* name: "Imported Data",
|
|
17
17
|
* });
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
* // elements/tickets.ts
|
|
20
20
|
* import { importedData } from "../connectors/categories.js";
|
|
21
21
|
*
|
|
22
|
-
*
|
|
22
|
+
* element({
|
|
23
23
|
* category: importedData,
|
|
24
24
|
* // ...
|
|
25
25
|
* });
|
|
@@ -29,7 +29,7 @@ export interface AspectCategoryRef {
|
|
|
29
29
|
readonly id: string;
|
|
30
30
|
readonly name?: string;
|
|
31
31
|
}
|
|
32
|
-
export declare function
|
|
32
|
+
export declare function category(opts: {
|
|
33
33
|
id: string;
|
|
34
34
|
name?: string;
|
|
35
35
|
}): AspectCategoryRef;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AspectCategoryRef — a typed handle to an existing aspect category on
|
|
3
3
|
* the Elementum platform. Distinct from {@link AppCategory} (in
|
|
4
|
-
* `app.ts`), which is the by-name shape that `
|
|
4
|
+
* `app.ts`), which is the by-name shape that `app({ category })`
|
|
5
5
|
* accepts because the compose endpoint upserts categories by name.
|
|
6
6
|
*
|
|
7
7
|
* Some antman endpoints (notably `POST /v1/elements`) accept a
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* ```ts
|
|
13
13
|
* // connectors/categories.ts
|
|
14
|
-
* export const importedData =
|
|
14
|
+
* export const importedData = category({
|
|
15
15
|
* id: "3b7a6ef4-...",
|
|
16
16
|
* name: "Imported Data",
|
|
17
17
|
* });
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
* // elements/tickets.ts
|
|
20
20
|
* import { importedData } from "../connectors/categories.js";
|
|
21
21
|
*
|
|
22
|
-
*
|
|
22
|
+
* element({
|
|
23
23
|
* category: importedData,
|
|
24
24
|
* // ...
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
export function
|
|
28
|
+
export function category(opts) {
|
|
29
29
|
return {
|
|
30
30
|
id: opts.id,
|
|
31
31
|
...(opts.name != null && { name: opts.name }),
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* ```ts
|
|
11
11
|
* // connectors/cloud-links.ts
|
|
12
|
-
* export const prodSnowflake =
|
|
12
|
+
* export const prodSnowflake = cloudLink({
|
|
13
13
|
* id: "ab100edd-b301-4a16-b269-e5347449ad9b",
|
|
14
14
|
* name: "Prod Snowflake",
|
|
15
15
|
* });
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* // search-tables/linked-tickets.ts
|
|
18
18
|
* import { prodSnowflake } from "../connectors/cloud-links.js";
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* searchTable({
|
|
21
21
|
* kind: "linked",
|
|
22
22
|
* cloudLink: prodSnowflake,
|
|
23
23
|
* // ...
|
|
@@ -28,7 +28,7 @@ export interface CloudLink {
|
|
|
28
28
|
readonly id: string;
|
|
29
29
|
readonly name?: string;
|
|
30
30
|
}
|
|
31
|
-
export declare function
|
|
31
|
+
export declare function cloudLink(opts: {
|
|
32
32
|
id: string;
|
|
33
33
|
name?: string;
|
|
34
34
|
}): CloudLink;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* ```ts
|
|
11
11
|
* // connectors/cloud-links.ts
|
|
12
|
-
* export const prodSnowflake =
|
|
12
|
+
* export const prodSnowflake = cloudLink({
|
|
13
13
|
* id: "ab100edd-b301-4a16-b269-e5347449ad9b",
|
|
14
14
|
* name: "Prod Snowflake",
|
|
15
15
|
* });
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
* // search-tables/linked-tickets.ts
|
|
18
18
|
* import { prodSnowflake } from "../connectors/cloud-links.js";
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* searchTable({
|
|
21
21
|
* kind: "linked",
|
|
22
22
|
* cloudLink: prodSnowflake,
|
|
23
23
|
* // ...
|
|
24
24
|
* });
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
|
-
export function
|
|
27
|
+
export function cloudLink(opts) {
|
|
28
28
|
return {
|
|
29
29
|
id: opts.id,
|
|
30
30
|
...(opts.name != null && { name: opts.name }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Display-block authoring types — the typed shapes an author places in
|
|
3
|
-
* `
|
|
4
|
-
* `
|
|
3
|
+
* `app({ displayBlocks: {...} })` (record-view layout) and
|
|
4
|
+
* `app({ recordCreateDisplayBlocks: {...} })` (new-record form).
|
|
5
5
|
*
|
|
6
6
|
* A display block controls how a record's fields and components are
|
|
7
7
|
* laid out in the UI. Each bag is keyed by an author-chosen handle;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Display-block authoring types — the typed shapes an author places in
|
|
3
|
-
* `
|
|
4
|
-
* `
|
|
3
|
+
* `app({ displayBlocks: {...} })` (record-view layout) and
|
|
4
|
+
* `app({ recordCreateDisplayBlocks: {...} })` (new-record form).
|
|
5
5
|
*
|
|
6
6
|
* A display block controls how a record's fields and components are
|
|
7
7
|
* laid out in the UI. Each bag is keyed by an author-chosen handle;
|
|
@@ -21,11 +21,11 @@ export function serializeRefData(data) {
|
|
|
21
21
|
// lowercases the root segment of any trigger ref in the result tree.
|
|
22
22
|
return { triggerReference: { name: data.name } };
|
|
23
23
|
case "task":
|
|
24
|
-
return { taskReference: { taskRefKey: data.
|
|
24
|
+
return { taskReference: { taskRefKey: data.actionRefKey, name: data.name } };
|
|
25
25
|
case "forEach":
|
|
26
26
|
return {
|
|
27
27
|
forEachReference: {
|
|
28
|
-
forEachTaskRefKey: data.
|
|
28
|
+
forEachTaskRefKey: data.forEachActionName,
|
|
29
29
|
name: data.name,
|
|
30
30
|
},
|
|
31
31
|
};
|
|
@@ -78,7 +78,7 @@ function serializeTemplate(data) {
|
|
|
78
78
|
* `resolveVariableParamMarkers` after all tasks are serialized.
|
|
79
79
|
*/
|
|
80
80
|
function serializeVariableParamMarker(data) {
|
|
81
|
-
return { __variableParamRef: { variableTaskRefKey: data.
|
|
81
|
+
return { __variableParamRef: { variableTaskRefKey: data.variableActionRefKey, name: data.name } };
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
84
|
* Serialize a ValueOrRef to a ValueReferenceInput JSON.
|
|
@@ -4,6 +4,17 @@
|
|
|
4
4
|
* (The extraction-side twin is src/engine/pull/context.ts.)
|
|
5
5
|
*/
|
|
6
6
|
import type { ChildResourceScope, TfValue } from "../tf/index.js";
|
|
7
|
+
import type { KindId } from "../../graph/types.js";
|
|
8
|
+
export interface ForeignRootIdentity {
|
|
9
|
+
readonly name: string;
|
|
10
|
+
readonly namespace?: string;
|
|
11
|
+
readonly tfLabel?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ResolvedForeignRoot {
|
|
14
|
+
readonly resourceType: string;
|
|
15
|
+
readonly tfLabel: string;
|
|
16
|
+
readonly usedCompatibilityFallback: boolean;
|
|
17
|
+
}
|
|
7
18
|
/**
|
|
8
19
|
* Org-catalog lookups: recorded tfLabels for the data references entities emit.
|
|
9
20
|
*
|
|
@@ -12,6 +23,10 @@ import type { ChildResourceScope, TfValue } from "../tf/index.js";
|
|
|
12
23
|
* Entity to-tf passes the bag it authors against.
|
|
13
24
|
*/
|
|
14
25
|
export interface OrgRefLookup {
|
|
26
|
+
/** Resolve a root reference according to its graph-declared referenceLookups strategy. */
|
|
27
|
+
resolveForeignRoot(kind: KindId, identity: ForeignRootIdentity, options?: {
|
|
28
|
+
readonly record?: boolean;
|
|
29
|
+
}): ResolvedForeignRoot;
|
|
15
30
|
/**
|
|
16
31
|
* Resolve by org.ts bag key (tsLabel). Records a data block when found.
|
|
17
32
|
* Used by token-bearing refs (cloud links, connectors, …).
|
|
@@ -26,12 +41,8 @@ export interface OrgRefLookup {
|
|
|
26
41
|
byName(bag: string, name: string): {
|
|
27
42
|
readonly tfLabel: string;
|
|
28
43
|
} | undefined;
|
|
29
|
-
/**
|
|
30
|
-
|
|
31
|
-
* a cross-app agent-tool target). The label derives from the app NAME
|
|
32
|
-
* (ei's sanitize rule), computed by the caller.
|
|
33
|
-
*/
|
|
34
|
-
foreignApp(tfLabel: string, name: string): void;
|
|
44
|
+
/** Legacy typed convenience routed through app's graph-declared root strategy. */
|
|
45
|
+
foreignApp(tfLabel: string, name: string, namespace?: string): void;
|
|
35
46
|
/**
|
|
36
47
|
* Record a name-keyed `data.elementum_agentic_skill` lookup for a FOREIGN
|
|
37
48
|
* skill (an agent's `skillAccess` pointing at a skill owned by a
|
|
@@ -39,7 +50,7 @@ export interface OrgRefLookup {
|
|
|
39
50
|
* platform identifier, already slug-shaped) — same discipline as
|
|
40
51
|
* `foreignApp`.
|
|
41
52
|
*/
|
|
42
|
-
foreignSkill(tfLabel: string, name: string): void;
|
|
53
|
+
foreignSkill(tfLabel: string, name: string, appId: TfValue): void;
|
|
43
54
|
/**
|
|
44
55
|
* Record an arbitrary data lookup by its EXACT captured label and
|
|
45
56
|
* lookup-attr value, bypassing org.ts bag validation — used when the
|
|
@@ -50,12 +61,8 @@ export interface OrgRefLookup {
|
|
|
50
61
|
* hand-authored display name).
|
|
51
62
|
*/
|
|
52
63
|
rawLookup(type: string, tfLabel: string, value: string, extraAttrs?: Readonly<Record<string, TfValue>>): void;
|
|
53
|
-
/**
|
|
54
|
-
|
|
55
|
-
* element (e.g. a cross-aspect agent-tool target — board issue #42).
|
|
56
|
-
* Same discipline as `foreignApp`, distinct resource type.
|
|
57
|
-
*/
|
|
58
|
-
foreignElement(tfLabel: string, name: string): void;
|
|
64
|
+
/** Legacy typed convenience routed through element's graph-declared root strategy. */
|
|
65
|
+
foreignElement(tfLabel: string, name: string, namespace?: string): void;
|
|
59
66
|
/**
|
|
60
67
|
* Record a field-lookup data block for a field owned by a FOREIGN (or
|
|
61
68
|
* otherwise not-self-resource) aspect — e.g. a relation field's
|
|
@@ -21,7 +21,7 @@ export interface DeployableEntity extends EntityDeployOptions {
|
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Owning-app refName context for an automation's record-bearing trigger/task
|
|
24
|
-
* refs — `
|
|
24
|
+
* refs — `automation.def()` attaches it as a structural extension on
|
|
25
25
|
* the object it returns (deliberately not a declared property: every other
|
|
26
26
|
* kind would carry a slot that never applies to it). The terraform-path
|
|
27
27
|
* automation emitter (M4) is its consumer.
|
|
@@ -37,6 +37,27 @@ export interface FromTfContext {
|
|
|
37
37
|
*/
|
|
38
38
|
readonly foreignAppRefNames?: ReadonlyMap<string, string>;
|
|
39
39
|
readonly foreignElementRefNames?: ReadonlyMap<string, string>;
|
|
40
|
+
/** Imported platform field id -> typed owner/key, assembled by the recursive pull workspace context. */
|
|
41
|
+
readonly foreignFieldRefsById?: ReadonlyMap<string, {
|
|
42
|
+
readonly ownerRefName: string;
|
|
43
|
+
readonly fieldKey: string;
|
|
44
|
+
readonly fieldName?: string;
|
|
45
|
+
}>;
|
|
46
|
+
/** Platform table id -> typed org catalog identity, loaded by recursive pull when table refs are present. */
|
|
47
|
+
readonly foreignTableRefsById?: ReadonlyMap<string, {
|
|
48
|
+
readonly tableRefName: string;
|
|
49
|
+
readonly name: string;
|
|
50
|
+
readonly columnRefNamesByName?: ReadonlyMap<string, string>;
|
|
51
|
+
readonly columnRefNamesById?: ReadonlyMap<string, string>;
|
|
52
|
+
}>;
|
|
53
|
+
/** Namespace → refName for portable ref-only app/element catalogs. */
|
|
54
|
+
readonly foreignAppRefNamespaces?: ReadonlyMap<string, string>;
|
|
55
|
+
readonly foreignElementRefNamespaces?: ReadonlyMap<string, string>;
|
|
56
|
+
/** `data.<field-type>.<label>` → generated ref-only catalog member. */
|
|
57
|
+
readonly foreignFieldRefsByDataAddress?: ReadonlyMap<string, {
|
|
58
|
+
readonly ownerRefName: string;
|
|
59
|
+
readonly fieldKey: string;
|
|
60
|
+
}>;
|
|
40
61
|
/**
|
|
41
62
|
* Foreign app/element display names this stream saw referenced (currently:
|
|
42
63
|
* a RELATION field's `related_object_id` as a `data.elementum_app`/
|
|
@@ -57,6 +78,17 @@ export interface FromTfContext {
|
|
|
57
78
|
importedResource?(id: string): ImportedResourceRef | undefined;
|
|
58
79
|
/** Managed resource declared at this exact Terraform address. */
|
|
59
80
|
resourceByAddress?(address: string): ImportedResourceRef | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Every managed resource of the given type in the stream — for a caller
|
|
83
|
+
* that needs to find one by following a REFERENCE (e.g. a trigger block's
|
|
84
|
+
* own `automation` attribute pointing back at its owning automation)
|
|
85
|
+
* rather than by guessing its Terraform label. Label equality between two
|
|
86
|
+
* related resources (e.g. a trigger sharing its owning automation's label)
|
|
87
|
+
* is an observed export convention, not a contract — prefer this + a
|
|
88
|
+
* reference check over constructing a guessed address with
|
|
89
|
+
* `resourceByAddress`.
|
|
90
|
+
*/
|
|
91
|
+
resourcesOfType?(type: string): readonly ImportedResourceRef[];
|
|
60
92
|
/** Degradations land here — reported by the caller, never silent. */
|
|
61
93
|
readonly diagnostics: string[];
|
|
62
94
|
/**
|
|
@@ -74,4 +106,6 @@ export declare function dataRefLabel(v: TfValue | undefined, type: string): stri
|
|
|
74
106
|
export declare function resourceRefLabel(v: TfValue | undefined, type: string): string | undefined;
|
|
75
107
|
export declare function optionalString(attrs: Record<string, TfValue>, key: string, where: string, ctx: FromTfContext): string | undefined;
|
|
76
108
|
export declare function optionalBoolean(attrs: Record<string, TfValue>, key: string, where: string, ctx: FromTfContext): boolean | undefined;
|
|
109
|
+
export declare function requiredString(attrs: Record<string, TfValue>, key: string, where: string, ctx: FromTfContext): string | undefined;
|
|
110
|
+
export declare function requiredBoolean(attrs: Record<string, TfValue>, key: string, where: string, ctx: FromTfContext): boolean | undefined;
|
|
77
111
|
export declare function plainObject(v: TfValue): Record<string, TfValue> | undefined;
|
|
@@ -37,6 +37,20 @@ export function optionalBoolean(attrs, key, where, ctx) {
|
|
|
37
37
|
}
|
|
38
38
|
return v;
|
|
39
39
|
}
|
|
40
|
+
export function requiredString(attrs, key, where, ctx) {
|
|
41
|
+
const value = optionalString(attrs, key, where, ctx);
|
|
42
|
+
if (value === undefined && attrs[key] === undefined) {
|
|
43
|
+
ctx.diagnostics.push(`${where}: required string "${key}" is missing; dropped`);
|
|
44
|
+
}
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
export function requiredBoolean(attrs, key, where, ctx) {
|
|
48
|
+
const value = optionalBoolean(attrs, key, where, ctx);
|
|
49
|
+
if (value === undefined && attrs[key] === undefined) {
|
|
50
|
+
ctx.diagnostics.push(`${where}: required boolean "${key}" is missing; dropped`);
|
|
51
|
+
}
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
40
54
|
export function plainObject(v) {
|
|
41
55
|
if (typeof v !== "object" || v === null || Array.isArray(v) || isTfExpr(v))
|
|
42
56
|
return undefined;
|
|
@@ -39,6 +39,14 @@ export interface OrgIdentity {
|
|
|
39
39
|
/** DataFacet.providerRefAttr's resolved reference (connector's `provider_id` → its owning `elementum_<type>_ai_provider` block), when the kind has one. */
|
|
40
40
|
readonly providerRef?: OrgIdentityRef;
|
|
41
41
|
}
|
|
42
|
+
export interface OrgStoredFunction {
|
|
43
|
+
readonly cloudLinkName: string;
|
|
44
|
+
readonly name: string;
|
|
45
|
+
readonly functionType: string;
|
|
46
|
+
readonly configured: boolean;
|
|
47
|
+
readonly parameterTypes: readonly string[];
|
|
48
|
+
readonly returnType: string;
|
|
49
|
+
}
|
|
42
50
|
export interface OrgExtract {
|
|
43
51
|
readonly cloudLinks: readonly OrgIdentity[];
|
|
44
52
|
readonly categories: readonly OrgIdentity[];
|
|
@@ -46,6 +54,7 @@ export interface OrgExtract {
|
|
|
46
54
|
readonly aiProviders: readonly OrgIdentity[];
|
|
47
55
|
readonly groups: readonly OrgIdentity[];
|
|
48
56
|
readonly phoneProviders: readonly OrgIdentity[];
|
|
57
|
+
readonly storedFunctions?: readonly OrgStoredFunction[];
|
|
49
58
|
/** The org app directory (namespace → platform id) from locals.org_apps. */
|
|
50
59
|
readonly apps: Readonly<Record<string, string>>;
|
|
51
60
|
}
|
|
@@ -35,6 +35,7 @@ export function extractOrg(doc) {
|
|
|
35
35
|
phoneProviders: [],
|
|
36
36
|
};
|
|
37
37
|
let apps;
|
|
38
|
+
let storedFunctions = [];
|
|
38
39
|
for (const block of doc.blocks) {
|
|
39
40
|
if (block.kind === "data") {
|
|
40
41
|
const type = block.type ?? "";
|
|
@@ -70,6 +71,9 @@ export function extractOrg(doc) {
|
|
|
70
71
|
throw new OrgExtractError(`unexpected locals block (keys: ${Object.keys(block.attrs).join(", ")}) in org export stream`);
|
|
71
72
|
}
|
|
72
73
|
apps = requireStringMap(orgApps);
|
|
74
|
+
if (block.attrs["org_stored_functions"] !== undefined) {
|
|
75
|
+
storedFunctions = requireStoredFunctions(block.attrs["org_stored_functions"]);
|
|
76
|
+
}
|
|
73
77
|
continue;
|
|
74
78
|
}
|
|
75
79
|
throw new OrgExtractError(`unexpected ${block.kind} block in org export stream — org export is identity-level only`);
|
|
@@ -84,9 +88,38 @@ export function extractOrg(doc) {
|
|
|
84
88
|
aiProviders: withTsLabels(raw.aiProviders),
|
|
85
89
|
groups: withTsLabels(raw.groups),
|
|
86
90
|
phoneProviders: withTsLabels(raw.phoneProviders),
|
|
91
|
+
storedFunctions,
|
|
87
92
|
apps,
|
|
88
93
|
};
|
|
89
94
|
}
|
|
95
|
+
function requireStoredFunctions(value) {
|
|
96
|
+
if (!Array.isArray(value))
|
|
97
|
+
throw new OrgExtractError("locals.org_stored_functions is not an array");
|
|
98
|
+
return value.map((entry, index) => {
|
|
99
|
+
if (typeof entry !== "object" || entry === null || Array.isArray(entry)) {
|
|
100
|
+
throw new OrgExtractError(`locals.org_stored_functions[${index}] is not an object`);
|
|
101
|
+
}
|
|
102
|
+
const row = entry;
|
|
103
|
+
const stringValue = (key) => {
|
|
104
|
+
if (typeof row[key] !== "string")
|
|
105
|
+
throw new OrgExtractError(`locals.org_stored_functions[${index}].${key} is not a string`);
|
|
106
|
+
return row[key];
|
|
107
|
+
};
|
|
108
|
+
if (typeof row.configured !== "boolean")
|
|
109
|
+
throw new OrgExtractError(`locals.org_stored_functions[${index}].configured is not a boolean`);
|
|
110
|
+
if (!Array.isArray(row.parameter_types) || !row.parameter_types.every((item) => typeof item === "string")) {
|
|
111
|
+
throw new OrgExtractError(`locals.org_stored_functions[${index}].parameter_types is not a string array`);
|
|
112
|
+
}
|
|
113
|
+
return {
|
|
114
|
+
cloudLinkName: stringValue("cloud_link_name"),
|
|
115
|
+
name: stringValue("name"),
|
|
116
|
+
functionType: stringValue("function_type"),
|
|
117
|
+
configured: row.configured,
|
|
118
|
+
parameterTypes: row.parameter_types,
|
|
119
|
+
returnType: stringValue("return_type"),
|
|
120
|
+
};
|
|
121
|
+
});
|
|
122
|
+
}
|
|
90
123
|
/** Derive each identity's authoring key from its recorded tfLabel — pure,
|
|
91
124
|
* lossless, and unique because ei's tfLabels are unique per type. */
|
|
92
125
|
function withTsLabels(entities) {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { FieldRef } from "../../catalog/index.js";
|
|
2
|
+
import type { UnresolvedReferenceDiagnostic } from "../../graph/types.js";
|
|
3
|
+
import { type TfDocument } from "../tf/index.js";
|
|
4
|
+
export interface DirectReferenceRoot {
|
|
5
|
+
readonly kind: "app" | "element" | "table";
|
|
6
|
+
readonly refName: string;
|
|
7
|
+
readonly name: string;
|
|
8
|
+
readonly namespace?: string;
|
|
9
|
+
readonly fields: readonly FieldRef[];
|
|
10
|
+
readonly columns: readonly {
|
|
11
|
+
readonly refName: string;
|
|
12
|
+
readonly name: string;
|
|
13
|
+
readonly fieldType?: string;
|
|
14
|
+
}[];
|
|
15
|
+
readonly datamines: readonly {
|
|
16
|
+
readonly refName: string;
|
|
17
|
+
readonly name: string;
|
|
18
|
+
}[];
|
|
19
|
+
readonly automations: readonly {
|
|
20
|
+
readonly refName: string;
|
|
21
|
+
readonly name: string;
|
|
22
|
+
}[];
|
|
23
|
+
}
|
|
24
|
+
export type UnresolvedReference = UnresolvedReferenceDiagnostic;
|
|
25
|
+
/** Format the diagnostic suffix printed beside an existing `unsafePlatformId(...)` call. */
|
|
26
|
+
export declare function unresolvedReferenceComment(uuid: string, unresolvedReferences: readonly UnresolvedReferenceDiagnostic[]): string;
|
|
27
|
+
export interface RefOnlyMetadata {
|
|
28
|
+
readonly roots: readonly DirectReferenceRoot[];
|
|
29
|
+
readonly unresolved: readonly UnresolvedReference[];
|
|
30
|
+
readonly diagnostics: readonly string[];
|
|
31
|
+
}
|
|
32
|
+
/** Reads bridge-owned, ID-free reference metadata without knowing provider resource names. */
|
|
33
|
+
export declare function readRefOnlyMetadata(doc: TfDocument): RefOnlyMetadata;
|
|
34
|
+
export declare function fieldDataReferenceMap(doc: TfDocument, roots: readonly DirectReferenceRoot[]): ReadonlyMap<string, {
|
|
35
|
+
readonly ownerRefName: string;
|
|
36
|
+
readonly fieldKey: string;
|
|
37
|
+
}>;
|