yaml-flow 8.4.18 → 8.4.21

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 (57) hide show
  1. package/browser/asset-integrity.json +3 -3
  2. package/browser/board-livecards-localstorage.js +7 -7
  3. package/cli/browser-api/board-live-cards-browser-adapter.d.ts +2 -2
  4. package/cli/browser-api/board-live-cards-browser-adapter.js +3 -3
  5. package/cli/browser-api/card-store-browser-api.js +1 -1
  6. package/cli/bundled/artifacts-store-cli.mjs +9 -9
  7. package/cli/bundled/board-live-cards-cli.mjs +19 -19
  8. package/cli/{execution-interface-BCIhu1gO.d.ts → execution-interface-_BN4kSuA.d.ts} +7 -1
  9. package/cli/{types-juH2nFpz.d.ts → types-CaQhDvWD.d.ts} +8 -1
  10. package/examples/board/demo-shell-with-server.html +2 -2
  11. package/examples/board/doc.html +2 -2
  12. package/examples/board-local/demo-shell-localstorage.html +3 -3
  13. package/lib/{artifacts-store-lib-D-k-E8Vy.d.ts → artifacts-store-lib-CODxnrXD.d.ts} +1 -1
  14. package/lib/{artifacts-store-lib-CVgtQrNZ.d.cts → artifacts-store-lib-DuatIrVb.d.cts} +1 -1
  15. package/lib/artifacts-store-public.d.cts +3 -3
  16. package/lib/artifacts-store-public.d.ts +3 -3
  17. package/lib/board-live-cards-node.cjs +10 -10
  18. package/lib/board-live-cards-node.d.cts +10 -10
  19. package/lib/board-live-cards-node.d.ts +10 -10
  20. package/lib/board-live-cards-node.js +10 -10
  21. package/lib/{board-live-cards-public-B4RcYPC_.d.cts → board-live-cards-public-DTuWGcCs.d.cts} +8 -1
  22. package/lib/{board-live-cards-public-ydXuA4zh.d.ts → board-live-cards-public-KyDR96Rf.d.ts} +8 -1
  23. package/lib/board-live-cards-public.cjs +2 -2
  24. package/lib/board-live-cards-public.d.cts +2 -2
  25. package/lib/board-live-cards-public.d.ts +2 -2
  26. package/lib/board-live-cards-public.js +2 -2
  27. package/lib/board-live-cards-server-runtime.cjs +3 -3
  28. package/lib/board-live-cards-server-runtime.d.cts +5 -5
  29. package/lib/board-live-cards-server-runtime.d.ts +5 -5
  30. package/lib/board-live-cards-server-runtime.js +3 -3
  31. package/lib/card-store-public.d.cts +2 -2
  32. package/lib/card-store-public.d.ts +2 -2
  33. package/lib/{chat-storage-lib-DsF4kPon.d.ts → chat-storage-lib-DFUsokwy.d.ts} +1 -1
  34. package/lib/{chat-storage-lib-B1wU27y3.d.cts → chat-storage-lib-DxyFlJVt.d.cts} +1 -1
  35. package/lib/chat-store-public.d.cts +3 -3
  36. package/lib/chat-store-public.d.ts +3 -3
  37. package/lib/execution-refs.cjs +2 -2
  38. package/lib/execution-refs.js +2 -2
  39. package/lib/index.d.cts +1 -1
  40. package/lib/index.d.ts +1 -1
  41. package/lib/server-runtime/index.cjs +3 -3
  42. package/lib/server-runtime/index.d.cts +6 -6
  43. package/lib/server-runtime/index.d.ts +6 -6
  44. package/lib/server-runtime/index.js +3 -3
  45. package/lib/step-machine-public/index.cjs +3 -3
  46. package/lib/step-machine-public/index.d.cts +1 -1
  47. package/lib/step-machine-public/index.d.ts +1 -1
  48. package/lib/step-machine-public/index.js +3 -3
  49. package/lib/{storage-interface-B2WD9D5n.d.cts → storage-interface-D4Ny0Men.d.cts} +7 -1
  50. package/lib/{storage-interface-B2WD9D5n.d.ts → storage-interface-D4Ny0Men.d.ts} +7 -1
  51. package/lib/stores/index.d.cts +1 -1
  52. package/lib/stores/index.d.ts +1 -1
  53. package/lib/stores/kv.d.cts +1 -1
  54. package/lib/stores/kv.d.ts +1 -1
  55. package/lib/{types-1L1D33mr.d.ts → types-Bep-vtP0.d.ts} +4 -4
  56. package/lib/{types-D501gMQt.d.cts → types-DbvoDam4.d.cts} +4 -4
  57. package/package.json +1 -1
@@ -62,10 +62,16 @@ interface KindValueRef {
62
62
  readonly kind: string;
63
63
  readonly value: string;
64
64
  }
65
+ interface ArtifactsStoreEntryRef {
66
+ readonly storeRef: string;
67
+ readonly key: string;
68
+ }
65
69
  /** Serialize a KindValueRef to the wire format: b64:<base64url(json)> */
66
70
  declare function serializeRef(ref: KindValueRef): string;
67
71
  /** Parse a wire-format ref string (b64:<base64url(json)>) into a KindValueRef. */
68
72
  declare function parseRef(s: string): KindValueRef;
73
+ declare function serializeArtifactsStoreEntryRef(ref: ArtifactsStoreEntryRef): string;
74
+ declare function parseArtifactsStoreEntryRef(s: string): ArtifactsStoreEntryRef;
69
75
  interface JournalEntry {
70
76
  id: string;
71
77
  payload: unknown;
@@ -439,4 +445,4 @@ declare function serializeExecutionRef(ref: ExecutionRef): string;
439
445
  */
440
446
  declare function parseExecutionRef(s: string): ExecutionRef;
441
447
 
442
- export { type ArgsMassaging as A, type BlobStorage as B, type ExecutionRef as E, type JournalStorage as J, type KindValueRef as K, type ScratchStorage as S, type ExecutionResult as a, type KVStorage as b, type ArchiveFactory as c, type AtomicRelayLock as d, executionRefFromScriptPath as e, parseRef as f, serializeRef as g, parseExecutionRef as p, serializeExecutionRef as s };
448
+ export { type ArgsMassaging as A, type BlobStorage as B, type ExecutionRef as E, type JournalStorage as J, type KindValueRef as K, type ScratchStorage as S, type ExecutionResult as a, type KVStorage as b, type ArchiveFactory as c, type AtomicRelayLock as d, executionRefFromScriptPath as e, parseExecutionRef as f, parseRef as g, serializeExecutionRef as h, serializeRef as i, parseArtifactsStoreEntryRef as p, serializeArtifactsStoreEntryRef as s };
@@ -1,4 +1,4 @@
1
- import { b as KVStorage, B as BlobStorage, S as ScratchStorage, c as ArchiveFactory, d as AtomicRelayLock, E as ExecutionRef, K as KindValueRef, J as JournalStorage } from './execution-interface-BCIhu1gO.js';
1
+ import { b as KVStorage, B as BlobStorage, S as ScratchStorage, c as ArchiveFactory, d as AtomicRelayLock, E as ExecutionRef, K as KindValueRef, J as JournalStorage } from './execution-interface-_BN4kSuA.js';
2
2
  import { L as LiveCard, B as BoardStatusObject, J as JournalStorageAdapter, O as OutputStoreEvent } from './board-live-cards-lib-COi4bSpk.js';
3
3
 
4
4
  /**
@@ -200,6 +200,13 @@ interface BoardLiveCardsPublic {
200
200
  }>;
201
201
  notified: true;
202
202
  }>;
203
+ getAttachmentRef(input: CommandInput): CommandResult<{
204
+ attachments: Array<{
205
+ idx: number;
206
+ ref: string;
207
+ file: unknown;
208
+ }>;
209
+ }>;
203
210
  cardRefreshedNotify(input: CommandInput): CommandResult;
204
211
  retrigger(input: CommandInput): CommandResult;
205
212
  processAccumulatedEvents(input: CommandInput): Promise<CommandResult>;
@@ -19,8 +19,8 @@
19
19
  <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
20
20
  <script src="https://cdn.jsdelivr.net/npm/dompurify/dist/purify.min.js"></script>
21
21
  <script src="https://cdn.jsdelivr.net/npm/leader-line/leader-line.min.js"></script>
22
- <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.18/browser/live-cards.js"></script>
23
- <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.18/browser/board-livecards-client.js"></script>
22
+ <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.21/browser/live-cards.js"></script>
23
+ <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.21/browser/board-livecards-client.js"></script>
24
24
  </head>
25
25
  <body class="bg-light">
26
26
  <div class="container-fluid py-3">
@@ -37,8 +37,8 @@
37
37
  <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
38
38
  <script src="https://cdn.jsdelivr.net/npm/dompurify/dist/purify.min.js"></script>
39
39
  <script src="https://cdn.jsdelivr.net/npm/leader-line/leader-line.min.js"></script>
40
- <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.18/browser/live-cards.js"></script>
41
- <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.18/browser/board-livecards-client.js"></script>
40
+ <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.21/browser/live-cards.js"></script>
41
+ <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.21/browser/board-livecards-client.js"></script>
42
42
  </head>
43
43
  <body class="bg-light">
44
44
  <div class="container-fluid py-3">
@@ -6,13 +6,13 @@
6
6
  <title>Example Board Demo (LocalStorage Runtime)</title>
7
7
  <link rel="icon" type="image/svg+xml" href="../../browser/favicon.svg" />
8
8
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" />
9
- <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.18/browser/compute-jsonata.js"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.21/browser/compute-jsonata.js"></script>
10
10
  <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
11
11
  <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
12
12
  <script src="https://cdn.jsdelivr.net/npm/dompurify/dist/purify.min.js"></script>
13
13
  <script src="https://cdn.jsdelivr.net/npm/leader-line/leader-line.min.js"></script>
14
- <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.18/browser/live-cards.js"></script>
15
- <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.18/browser/board-livecards-localstorage.js"></script>
14
+ <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.21/browser/live-cards.js"></script>
15
+ <script src="https://cdn.jsdelivr.net/npm/yaml-flow@8.4.21/browser/board-livecards-localstorage.js"></script>
16
16
  </head>
17
17
  <body class="bg-light">
18
18
  <div class="container-fluid py-3">
@@ -1,4 +1,4 @@
1
- import { B as BlobStorage } from './storage-interface-B2WD9D5n.js';
1
+ import { B as BlobStorage } from './storage-interface-D4Ny0Men.js';
2
2
 
3
3
  /**
4
4
  * artifacts-store-lib.ts
@@ -1,4 +1,4 @@
1
- import { B as BlobStorage } from './storage-interface-B2WD9D5n.cjs';
1
+ import { B as BlobStorage } from './storage-interface-D4Ny0Men.cjs';
2
2
 
3
3
  /**
4
4
  * artifacts-store-lib.ts
@@ -1,6 +1,6 @@
1
- import { C as CommandInput, a as CommandResult } from './board-live-cards-public-B4RcYPC_.cjs';
2
- import { A as ArtifactInfo, a as ArtifactsStore } from './artifacts-store-lib-CVgtQrNZ.cjs';
3
- import './storage-interface-B2WD9D5n.cjs';
1
+ import { C as CommandInput, a as CommandResult } from './board-live-cards-public-DTuWGcCs.cjs';
2
+ import { A as ArtifactInfo, a as ArtifactsStore } from './artifacts-store-lib-DuatIrVb.cjs';
3
+ import './storage-interface-D4Ny0Men.cjs';
4
4
  import './execution-refs.cjs';
5
5
  import './types-BBhqYGhE.cjs';
6
6
 
@@ -1,6 +1,6 @@
1
- import { C as CommandInput, a as CommandResult } from './board-live-cards-public-ydXuA4zh.js';
2
- import { A as ArtifactInfo, a as ArtifactsStore } from './artifacts-store-lib-D-k-E8Vy.js';
3
- import './storage-interface-B2WD9D5n.js';
1
+ import { C as CommandInput, a as CommandResult } from './board-live-cards-public-KyDR96Rf.js';
2
+ import { A as ArtifactInfo, a as ArtifactsStore } from './artifacts-store-lib-CODxnrXD.js';
3
+ import './storage-interface-D4Ny0Men.js';
4
4
  import './execution-refs.js';
5
5
  import './types-BBhqYGhE.js';
6
6