@elementumai/edk 0.13.3 → 0.13.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist-sdk/src/engine/coverage-gaps.d.ts +3 -0
  2. package/dist-sdk/src/engine/coverage-gaps.js +5 -0
  3. package/dist-sdk/src/engine/pull/context.d.ts +1 -1
  4. package/dist-sdk/src/engine/pull/context.js +1 -1
  5. package/dist-sdk/src/engine/pull/stream-root.d.ts +5 -1
  6. package/dist-sdk/src/engine/pull/stream-root.js +3 -0
  7. package/dist-sdk/src/engine/tf/index.d.ts +1 -0
  8. package/dist-sdk/src/engine/tf/index.js +1 -0
  9. package/dist-sdk/src/engine/tf/jsonencode.d.ts +19 -0
  10. package/dist-sdk/src/engine/tf/jsonencode.js +49 -0
  11. package/dist-sdk/src/entities/app/index.d.ts +1 -1
  12. package/dist-sdk/src/entities/automation/approval-trigger-refs.d.ts +20 -0
  13. package/dist-sdk/src/entities/automation/approval-trigger-refs.js +83 -0
  14. package/dist-sdk/src/entities/automation/build.js +1 -1
  15. package/dist-sdk/src/entities/automation/deserializer/print-automation.js +7 -0
  16. package/dist-sdk/src/entities/automation/from-tf.d.ts +2 -0
  17. package/dist-sdk/src/entities/automation/from-tf.js +104 -14
  18. package/dist-sdk/src/entities/automation/index.d.ts +1 -1
  19. package/dist-sdk/src/entities/automation/lookup-owner.d.ts +23 -0
  20. package/dist-sdk/src/entities/automation/lookup-owner.js +27 -0
  21. package/dist-sdk/src/entities/automation/module.js +182 -24
  22. package/dist-sdk/src/entities/automation/to-tf.js +163 -5
  23. package/dist-sdk/src/entities/automation/triggers.d.ts +47 -1
  24. package/dist-sdk/src/entities/automation/unsafe-script-output.d.ts +10 -5
  25. package/dist-sdk/src/entities/automation/unsafe-script-output.js +10 -5
  26. package/dist-sdk/src/entities/dynamic-layout/build.d.ts +31 -11
  27. package/dist-sdk/src/entities/dynamic-layout/to-tf.js +38 -2
  28. package/dist-sdk/src/entities/element/index.d.ts +1 -1
  29. package/dist-sdk/src/entities/shared/filters/ast.d.ts +6 -0
  30. package/dist-sdk/src/entities/shared/filters/index.d.ts +15 -3
  31. package/dist-sdk/src/entities/shared/filters/index.js +19 -1
  32. package/dist-sdk/src/entities/shared/filters/print.js +5 -0
  33. package/dist-sdk/src/entities/shared/filters/tf-codec.d.ts +13 -0
  34. package/dist-sdk/src/entities/shared/filters/tf-codec.js +74 -1
  35. package/dist-sdk/src/entities/shared/filters/types.d.ts +8 -1
  36. package/dist-sdk/src/entities/widget/to-tf.js +2 -1
  37. package/dist-sdk/src/generated/ragnarok/ragnarok-spec.d.ts +4 -2
  38. package/dist-sdk/src/generated/ragnarok/ragnarok-spec.js +2 -2
  39. package/dist-sdk/src/graph/index.d.ts +1 -1
  40. package/dist-sdk/src/graph/types.d.ts +23 -0
  41. package/package.json +1 -1
@@ -348,6 +348,8 @@ export interface OwnFileExtractResult {
348
348
  readonly adoptionAddressAliases?: readonly AdoptionAddressAlias[];
349
349
  /** Lookups for skipped resources that other resources in the stream reference (see {@link UnmanagedLookup}). */
350
350
  readonly unmanagedLookups?: readonly UnmanagedLookup[];
351
+ /** One entry per own-file child this pull skipped, for the pull summary (see {@link SkippedOwnFileReport}). */
352
+ readonly skippedReports?: readonly SkippedOwnFileReport[];
351
353
  /**
352
354
  * Own-file ref names released from state on this pull. Their authored files
353
355
  * are archived so the next plan does not recreate the live resource (#1858).
@@ -387,6 +389,18 @@ export interface AdoptionAddressAlias {
387
389
  readonly from: string;
388
390
  readonly to: string;
389
391
  }
392
+ /**
393
+ * An own-file child pull skipped, as the pull summary lists it (#3053).
394
+ * `address` is its root resource; `causedBy`, when set, is the root resource
395
+ * of the skipped child whose skip this one follows from (transitively, the
396
+ * first one skipped for a reason of its own).
397
+ */
398
+ export interface SkippedOwnFileReport {
399
+ readonly address: string;
400
+ readonly name: string;
401
+ readonly reason: string;
402
+ readonly causedBy?: string;
403
+ }
390
404
  /**
391
405
  * A data lookup that stands in for skipped resources in the export adoption
392
406
  * plans (#3023). Adoption replaces each `.id` reference to a skipped resource
@@ -396,7 +410,16 @@ export interface AdoptionAddressAlias {
396
410
  */
397
411
  export interface UnmanagedLookup {
398
412
  readonly lookup: TfBlock;
413
+ /** Skipped resources whose attributes other than `id` the lookup carries. */
399
414
  readonly addresses: readonly string[];
415
+ /**
416
+ * Skipped resources the lookup stands for entirely, `id` included: every
417
+ * reference to one reads the lookup, never a platform id, so it pairs with
418
+ * the lookup build emits for the same reference (#3047).
419
+ */
420
+ readonly idAddresses?: readonly string[];
421
+ /** Data blocks `lookup` reads (its owner's lookup), declared with it when not already declared. */
422
+ readonly supporting?: readonly TfBlock[];
400
423
  }
401
424
  export interface PrintedOwnFile {
402
425
  readonly refName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementumai/edk",
3
- "version": "0.13.3",
3
+ "version": "0.13.4",
4
4
  "description": "Elementum Development Kit — statically typed SDK for building Elementum apps, automations, and agents",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",