@prisma/orm-framework 8.0.0-rc.18-dev.41 → 8.0.0-rc.18-dev.43

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 (102) hide show
  1. package/dist/{authoring-BKO7sRLw.d.mts → authoring-C8sYYHu7.d.mts} +3 -3
  2. package/dist/{authoring-BKO7sRLw.d.mts.map → authoring-C8sYYHu7.d.mts.map} +1 -1
  3. package/dist/{authoring-so3aBYD8.mjs → authoring-qO6idK5H.mjs} +24 -3
  4. package/dist/authoring-qO6idK5H.mjs.map +1 -0
  5. package/dist/{binder-WS9-1Mu9-MJi8x3Gm.d.mts → binder-63ozT0D8-BixamO0l.d.mts} +12 -10
  6. package/dist/binder-63ozT0D8-BixamO0l.d.mts.map +1 -0
  7. package/dist/{components-D-8GZwNo.d.mts → components-B3SnaxMU.d.mts} +2 -2
  8. package/dist/{components-D-8GZwNo.d.mts.map → components-B3SnaxMU.d.mts.map} +1 -1
  9. package/dist/components.d.mts +10 -10
  10. package/dist/components.mjs +4 -4
  11. package/dist/components__authoring.d.mts +4 -4
  12. package/dist/components__authoring.mjs +3 -3
  13. package/dist/components__components.d.mts +2 -2
  14. package/dist/components__control.d.mts +3 -3
  15. package/dist/components__control.mjs +3 -3
  16. package/dist/components__execution.d.mts +1 -1
  17. package/dist/components__psl-ast.d.mts +3 -3
  18. package/dist/{config-types-CfdMN7t-.d.mts → config-types-0fY7fbd7.d.mts} +6 -6
  19. package/dist/{config-types-CfdMN7t-.d.mts.map → config-types-0fY7fbd7.d.mts.map} +1 -1
  20. package/dist/config.d.mts +1 -1
  21. package/dist/config__config-types.d.mts +1 -1
  22. package/dist/contract-authoring.d.mts +34 -14
  23. package/dist/contract-authoring.d.mts.map +1 -1
  24. package/dist/contract-authoring.mjs +3 -3
  25. package/dist/{control-B5ezUWD2-BgUEggvd.d.mts → control-B5ezUWD2-D6knyncN.d.mts} +2 -2
  26. package/dist/{control-B5ezUWD2-BgUEggvd.d.mts.map → control-B5ezUWD2-D6knyncN.d.mts.map} +1 -1
  27. package/dist/control-D2ZpYj6i.d.mts +1 -0
  28. package/dist/{control-7DsPHRLi.d.mts → control-D9rb0OBR.d.mts} +18 -48
  29. package/dist/{control-7DsPHRLi.d.mts.map → control-D9rb0OBR.d.mts.map} +1 -1
  30. package/dist/{control-AlBtrJUn.mjs → control-DPasGnOD.mjs} +23 -124
  31. package/dist/control-DPasGnOD.mjs.map +1 -0
  32. package/dist/{control-KsXr4fYD-DJm_48Db.mjs → control-KsXr4fYD-B23ri5vh.mjs} +2 -2
  33. package/dist/{control-KsXr4fYD-DJm_48Db.mjs.map → control-KsXr4fYD-B23ri5vh.mjs.map} +1 -1
  34. package/dist/declarations-BgUAq1RG-ShewcVdd.mjs +459 -0
  35. package/dist/declarations-BgUAq1RG-ShewcVdd.mjs.map +1 -0
  36. package/dist/errors.d.mts +4 -4
  37. package/dist/errors.mjs +3 -3
  38. package/dist/errors__control.d.mts +2 -2
  39. package/dist/errors__control.mjs +1 -1
  40. package/dist/errors__execution.d.mts +1 -1
  41. package/dist/errors__execution.mjs +1 -1
  42. package/dist/errors__migration.d.mts +1 -1
  43. package/dist/errors__migration.mjs +1 -1
  44. package/dist/{execution-BkcXd7Tn.d.mts → execution-C00_IFA7.d.mts} +3 -3
  45. package/dist/{execution-BkcXd7Tn.d.mts.map → execution-C00_IFA7.d.mts.map} +1 -1
  46. package/dist/{execution-KLhn9sSn.mjs → execution-C_4ICly-.mjs} +2 -2
  47. package/dist/{execution-KLhn9sSn.mjs.map → execution-C_4ICly-.mjs.map} +1 -1
  48. package/dist/{execution-DXQQRCfR.d.mts → execution-CktUHYP0.d.mts} +2 -2
  49. package/dist/{execution-DXQQRCfR.d.mts.map → execution-CktUHYP0.d.mts.map} +1 -1
  50. package/dist/expressions-CMQzbnHk-fqYn-D3z.mjs +895 -0
  51. package/dist/expressions-CMQzbnHk-fqYn-D3z.mjs.map +1 -0
  52. package/dist/{framework-authoring-hZgq-M2K-Daz3kgWL.d.mts → framework-authoring-Du7xSUmg-D85Toszi.d.mts} +27 -10
  53. package/dist/framework-authoring-Du7xSUmg-D85Toszi.d.mts.map +1 -0
  54. package/dist/{framework-components-B-yaLbst-nZJUGMuf.d.mts → framework-components-DQFte83L-CIIcH8Bj.d.mts} +3 -3
  55. package/dist/{framework-components-B-yaLbst-nZJUGMuf.d.mts.map → framework-components-DQFte83L-CIIcH8Bj.d.mts.map} +1 -1
  56. package/dist/{migration-CZik9OxU.mjs → migration-Dy-tXHxh.mjs} +2 -2
  57. package/dist/{migration-CZik9OxU.mjs.map → migration-Dy-tXHxh.mjs.map} +1 -1
  58. package/dist/{migration-BVDJBmyi.d.mts → migration-K3Co0dba.d.mts} +2 -2
  59. package/dist/{migration-BVDJBmyi.d.mts.map → migration-K3Co0dba.d.mts.map} +1 -1
  60. package/dist/{parse-BxcaGLV1-BxEIfxh3.mjs → parse-bZgfjovA-Bd80h0ox.mjs} +4 -4
  61. package/dist/{parse-BxcaGLV1-BxEIfxh3.mjs.map → parse-bZgfjovA-Bd80h0ox.mjs.map} +1 -1
  62. package/dist/{parse-CJtBvEYy-BCae0181.d.mts → parse-djL5wker-DYTP4HGq.d.mts} +7 -7
  63. package/dist/{parse-CJtBvEYy-BCae0181.d.mts.map → parse-djL5wker-DYTP4HGq.d.mts.map} +1 -1
  64. package/dist/{psl-ast-BIJIW24G-B8ptjyuO.d.mts → psl-ast-B6X_rlhZ-DCrq7Zie.d.mts} +3 -3
  65. package/dist/{psl-ast-BIJIW24G-B8ptjyuO.d.mts.map → psl-ast-B6X_rlhZ-DCrq7Zie.d.mts.map} +1 -1
  66. package/dist/psl-ast-DlmFfwfZ.d.mts +2 -0
  67. package/dist/psl-parser.d.mts +22 -11
  68. package/dist/psl-parser.d.mts.map +1 -1
  69. package/dist/psl-parser.mjs +14 -110
  70. package/dist/psl-parser.mjs.map +1 -1
  71. package/dist/psl-parser__format.d.mts +1 -1
  72. package/dist/psl-parser__format.mjs +3 -3
  73. package/dist/psl-parser__format.mjs.map +1 -1
  74. package/dist/psl-parser__interpret.d.mts +16 -13
  75. package/dist/psl-parser__interpret.d.mts.map +1 -1
  76. package/dist/psl-parser__interpret.mjs +52 -48
  77. package/dist/psl-parser__interpret.mjs.map +1 -1
  78. package/dist/psl-parser__syntax.d.mts +1 -1
  79. package/dist/psl-parser__syntax.mjs +3 -3
  80. package/dist/psl-printer.d.mts +4 -4
  81. package/dist/psl-printer.mjs +1 -1
  82. package/dist/read-expression-as-Dhyvx51C-Bpn_1X05.mjs +239 -0
  83. package/dist/read-expression-as-Dhyvx51C-Bpn_1X05.mjs.map +1 -0
  84. package/dist/{temporal-presets-Cumws2z--DcYWooYJ.d.mts → temporal-presets-D_TQBbXU-DLIsE1k-.d.mts} +42 -4
  85. package/dist/temporal-presets-D_TQBbXU-DLIsE1k-.d.mts.map +1 -0
  86. package/dist/{temporal-presets-BcDyr_hK-CFplJNGz.mjs → temporal-presets-DmZDnaZV-aUZPt1LX.mjs} +189 -22
  87. package/dist/temporal-presets-DmZDnaZV-aUZPt1LX.mjs.map +1 -0
  88. package/package.json +15 -15
  89. package/dist/ast-helpers-CzydMPdh-Mi0SrZRa.mjs +0 -424
  90. package/dist/ast-helpers-CzydMPdh-Mi0SrZRa.mjs.map +0 -1
  91. package/dist/authoring-so3aBYD8.mjs.map +0 -1
  92. package/dist/binder-WS9-1Mu9-MJi8x3Gm.d.mts.map +0 -1
  93. package/dist/control-AlBtrJUn.mjs.map +0 -1
  94. package/dist/control-CIEbQ0bK.d.mts +0 -1
  95. package/dist/declarations-DuSbyF44-D-Q7-GRi.mjs +0 -930
  96. package/dist/declarations-DuSbyF44-D-Q7-GRi.mjs.map +0 -1
  97. package/dist/framework-authoring-hZgq-M2K-Daz3kgWL.d.mts.map +0 -1
  98. package/dist/psl-ast-rf0UoVty.d.mts +0 -2
  99. package/dist/resolve-C8PUf8zv-QAvnPhCt.mjs +0 -146
  100. package/dist/resolve-C8PUf8zv-QAvnPhCt.mjs.map +0 -1
  101. package/dist/temporal-presets-BcDyr_hK-CFplJNGz.mjs.map +0 -1
  102. package/dist/temporal-presets-Cumws2z--DcYWooYJ.d.mts.map +0 -1
@@ -0,0 +1,459 @@
1
+ import { S as findFirstChild, _ as castExpression, a as IdentifierAst, b as filterChildren, f as SyntaxNode, n as AttributeArgAst, p as SyntaxToken, u as QualifiedNameAst, w as readDocComment, x as findChildToken } from "./expressions-CMQzbnHk-fqYn-D3z.mjs";
2
+ //#region ../../../1-framework/2-authoring/psl-parser/dist/declarations-BgUAq1RG.mjs
3
+ var AttributeArgListAst = class AttributeArgListAst {
4
+ syntax;
5
+ constructor(syntax) {
6
+ this.syntax = syntax;
7
+ }
8
+ lparen() {
9
+ return findChildToken(this.syntax, "LParen");
10
+ }
11
+ rparen() {
12
+ return findChildToken(this.syntax, "RParen");
13
+ }
14
+ *args() {
15
+ yield* filterChildren(this.syntax, AttributeArgAst.cast);
16
+ }
17
+ static cast(node) {
18
+ return node.kind === "AttributeArgList" ? new AttributeArgListAst(node) : void 0;
19
+ }
20
+ };
21
+ var FieldAttributeAst = class FieldAttributeAst {
22
+ syntax;
23
+ constructor(syntax) {
24
+ this.syntax = syntax;
25
+ }
26
+ at() {
27
+ return findChildToken(this.syntax, "At");
28
+ }
29
+ name() {
30
+ return findFirstChild(this.syntax, QualifiedNameAst.cast);
31
+ }
32
+ argList() {
33
+ return findFirstChild(this.syntax, AttributeArgListAst.cast);
34
+ }
35
+ static cast(node) {
36
+ return node.kind === "FieldAttribute" ? new FieldAttributeAst(node) : void 0;
37
+ }
38
+ };
39
+ var ModelAttributeAst = class ModelAttributeAst {
40
+ syntax;
41
+ constructor(syntax) {
42
+ this.syntax = syntax;
43
+ }
44
+ doubleAt() {
45
+ return findChildToken(this.syntax, "DoubleAt");
46
+ }
47
+ name() {
48
+ return findFirstChild(this.syntax, QualifiedNameAst.cast);
49
+ }
50
+ argList() {
51
+ return findFirstChild(this.syntax, AttributeArgListAst.cast);
52
+ }
53
+ static cast(node) {
54
+ return node.kind === "ModelAttribute" ? new ModelAttributeAst(node) : void 0;
55
+ }
56
+ };
57
+ const TRIVIA_KINDS = /* @__PURE__ */ new Set([
58
+ "Whitespace",
59
+ "Newline",
60
+ "Comment"
61
+ ]);
62
+ /** Whether a token kind is trivia (whitespace, newline, or comment). */
63
+ function isTriviaKind(kind) {
64
+ return TRIVIA_KINDS.has(kind);
65
+ }
66
+ /** Whether a token is trivia. */
67
+ function isTrivia(token) {
68
+ return isTriviaKind(token.kind);
69
+ }
70
+ /**
71
+ * The first non-trivia token at or beyond `token` in `direction`. Returns
72
+ * `token` itself when it is already significant.
73
+ */
74
+ function skipTriviaToken(token, direction) {
75
+ let current = token;
76
+ while (current !== void 0 && isTrivia(current)) current = direction === "next" ? current.nextToken : current.prevToken;
77
+ return current;
78
+ }
79
+ /**
80
+ * The nearest sibling of `element` (within the same parent) in `direction` that
81
+ * is not a trivia token. Nodes are always significant.
82
+ */
83
+ function nonTriviaSibling(element, direction) {
84
+ let sibling = step(element, direction);
85
+ while (sibling !== void 0) {
86
+ if (!(sibling instanceof SyntaxToken) || !isTrivia(sibling)) return sibling;
87
+ sibling = step(sibling, direction);
88
+ }
89
+ }
90
+ function step(element, direction) {
91
+ return direction === "next" ? element.nextSiblingOrToken : element.prevSiblingOrToken;
92
+ }
93
+ var TypeAnnotationAst = class TypeAnnotationAst {
94
+ syntax;
95
+ constructor(syntax) {
96
+ this.syntax = syntax;
97
+ }
98
+ /** The annotation's reference, doubling as the constructor callee when an {@link argList} follows. */
99
+ name() {
100
+ return findFirstChild(this.syntax, QualifiedNameAst.cast);
101
+ }
102
+ /** Present when the annotation is a constructor (`Vector(1536)`) rather than a plain reference. */
103
+ argList() {
104
+ return findFirstChild(this.syntax, AttributeArgListAst.cast);
105
+ }
106
+ isConstructor() {
107
+ return this.argList() !== void 0;
108
+ }
109
+ lbracket() {
110
+ return findChildToken(this.syntax, "LBracket");
111
+ }
112
+ rbracket() {
113
+ return findChildToken(this.syntax, "RBracket");
114
+ }
115
+ questionMark() {
116
+ return findChildToken(this.syntax, "Question");
117
+ }
118
+ isList() {
119
+ return this.lbracket() !== void 0;
120
+ }
121
+ /**
122
+ * The list/field axis: a `?` after `]` (list nullable) or, when this is not a
123
+ * list, the sole field-level `?`. A `?` before `[` is the element axis and
124
+ * does not count here.
125
+ */
126
+ isOptional() {
127
+ const lbracket = this.lbracket();
128
+ if (lbracket === void 0) return this.questionMark() !== void 0;
129
+ const anchor = this.rbracket() ?? lbracket;
130
+ return this.#questionTokens().some((question) => question.index > anchor.index);
131
+ }
132
+ /** The element axis: a `?` positioned before `[`, meaningful only for lists. */
133
+ isElementOptional() {
134
+ const lbracket = this.lbracket();
135
+ if (lbracket === void 0) return false;
136
+ return this.#questionTokens().some((question) => question.index < lbracket.index);
137
+ }
138
+ #questionTokens() {
139
+ const result = [];
140
+ for (const child of this.syntax.children()) if (!(child instanceof SyntaxNode) && child.kind === "Question") result.push(child);
141
+ return result;
142
+ }
143
+ static cast(node) {
144
+ return node.kind === "TypeAnnotation" ? new TypeAnnotationAst(node) : void 0;
145
+ }
146
+ };
147
+ function castNamespaceMember(node) {
148
+ return ModelDeclarationAst.cast(node) ?? CompositeTypeDeclarationAst.cast(node) ?? GenericBlockDeclarationAst.cast(node) ?? MixinDeclarationAst.cast(node);
149
+ }
150
+ var DocumentAst = class DocumentAst {
151
+ syntax;
152
+ constructor(syntax) {
153
+ this.syntax = syntax;
154
+ }
155
+ *declarations() {
156
+ yield* filterChildren(this.syntax, (node) => castNamespaceMember(node) ?? TypesBlockAst.cast(node) ?? NamespaceDeclarationAst.cast(node));
157
+ }
158
+ static cast(node) {
159
+ return node.kind === "Document" ? new DocumentAst(node) : void 0;
160
+ }
161
+ };
162
+ var ModelDeclarationAst = class ModelDeclarationAst {
163
+ syntax;
164
+ constructor(syntax) {
165
+ this.syntax = syntax;
166
+ }
167
+ keyword() {
168
+ return findChildToken(this.syntax, "Ident");
169
+ }
170
+ name() {
171
+ return findFirstChild(this.syntax, IdentifierAst.cast);
172
+ }
173
+ lbrace() {
174
+ return findChildToken(this.syntax, "LBrace");
175
+ }
176
+ rbrace() {
177
+ return findChildToken(this.syntax, "RBrace");
178
+ }
179
+ *fields() {
180
+ yield* filterChildren(this.syntax, FieldDeclarationAst.cast);
181
+ }
182
+ *attributes() {
183
+ yield* filterChildren(this.syntax, ModelAttributeAst.cast);
184
+ }
185
+ *inclusions() {
186
+ yield* filterChildren(this.syntax, MixinInclusionAst.cast);
187
+ }
188
+ *members() {
189
+ yield* filterChildren(this.syntax, (node) => FieldDeclarationAst.cast(node) ?? ModelAttributeAst.cast(node) ?? MixinInclusionAst.cast(node));
190
+ }
191
+ docComment() {
192
+ return readDocComment(this.syntax);
193
+ }
194
+ static cast(node) {
195
+ return node.kind === "ModelDeclaration" ? new ModelDeclarationAst(node) : void 0;
196
+ }
197
+ };
198
+ var CompositeTypeDeclarationAst = class CompositeTypeDeclarationAst {
199
+ syntax;
200
+ constructor(syntax) {
201
+ this.syntax = syntax;
202
+ }
203
+ keyword() {
204
+ return findChildToken(this.syntax, "Ident");
205
+ }
206
+ name() {
207
+ return findFirstChild(this.syntax, IdentifierAst.cast);
208
+ }
209
+ lbrace() {
210
+ return findChildToken(this.syntax, "LBrace");
211
+ }
212
+ rbrace() {
213
+ return findChildToken(this.syntax, "RBrace");
214
+ }
215
+ *fields() {
216
+ yield* filterChildren(this.syntax, FieldDeclarationAst.cast);
217
+ }
218
+ *attributes() {
219
+ yield* filterChildren(this.syntax, ModelAttributeAst.cast);
220
+ }
221
+ *inclusions() {
222
+ yield* filterChildren(this.syntax, MixinInclusionAst.cast);
223
+ }
224
+ *members() {
225
+ yield* filterChildren(this.syntax, (node) => FieldDeclarationAst.cast(node) ?? ModelAttributeAst.cast(node) ?? MixinInclusionAst.cast(node));
226
+ }
227
+ docComment() {
228
+ return readDocComment(this.syntax);
229
+ }
230
+ static cast(node) {
231
+ return node.kind === "CompositeTypeDeclaration" ? new CompositeTypeDeclarationAst(node) : void 0;
232
+ }
233
+ };
234
+ var NamespaceDeclarationAst = class NamespaceDeclarationAst {
235
+ syntax;
236
+ constructor(syntax) {
237
+ this.syntax = syntax;
238
+ }
239
+ keyword() {
240
+ return findChildToken(this.syntax, "Ident");
241
+ }
242
+ name() {
243
+ return findFirstChild(this.syntax, IdentifierAst.cast);
244
+ }
245
+ lbrace() {
246
+ return findChildToken(this.syntax, "LBrace");
247
+ }
248
+ rbrace() {
249
+ return findChildToken(this.syntax, "RBrace");
250
+ }
251
+ *declarations() {
252
+ yield* filterChildren(this.syntax, castNamespaceMember);
253
+ }
254
+ static cast(node) {
255
+ return node.kind === "Namespace" ? new NamespaceDeclarationAst(node) : void 0;
256
+ }
257
+ };
258
+ var TypesBlockAst = class TypesBlockAst {
259
+ syntax;
260
+ constructor(syntax) {
261
+ this.syntax = syntax;
262
+ }
263
+ keyword() {
264
+ return findChildToken(this.syntax, "Ident");
265
+ }
266
+ lbrace() {
267
+ return findChildToken(this.syntax, "LBrace");
268
+ }
269
+ rbrace() {
270
+ return findChildToken(this.syntax, "RBrace");
271
+ }
272
+ *declarations() {
273
+ yield* filterChildren(this.syntax, NamedTypeDeclarationAst.cast);
274
+ }
275
+ static cast(node) {
276
+ return node.kind === "TypesBlock" ? new TypesBlockAst(node) : void 0;
277
+ }
278
+ };
279
+ var GenericBlockDeclarationAst = class GenericBlockDeclarationAst {
280
+ syntax;
281
+ constructor(syntax) {
282
+ this.syntax = syntax;
283
+ }
284
+ keyword() {
285
+ return findChildToken(this.syntax, "Ident");
286
+ }
287
+ name() {
288
+ return findFirstChild(this.syntax, IdentifierAst.cast);
289
+ }
290
+ lbrace() {
291
+ return findChildToken(this.syntax, "LBrace");
292
+ }
293
+ rbrace() {
294
+ return findChildToken(this.syntax, "RBrace");
295
+ }
296
+ *entries() {
297
+ yield* filterChildren(this.syntax, KeyValuePairAst.cast);
298
+ }
299
+ /** Field lines of a `view` body. Empty for every other generic block. */
300
+ *fields() {
301
+ yield* filterChildren(this.syntax, FieldDeclarationAst.cast);
302
+ }
303
+ *attributes() {
304
+ yield* filterChildren(this.syntax, ModelAttributeAst.cast);
305
+ }
306
+ *inclusions() {
307
+ yield* filterChildren(this.syntax, MixinInclusionAst.cast);
308
+ }
309
+ *members() {
310
+ yield* filterChildren(this.syntax, (node) => KeyValuePairAst.cast(node) ?? ModelAttributeAst.cast(node) ?? MixinInclusionAst.cast(node));
311
+ }
312
+ docComment() {
313
+ return readDocComment(this.syntax);
314
+ }
315
+ static cast(node) {
316
+ return node.kind === "GenericBlockDeclaration" ? new GenericBlockDeclarationAst(node) : void 0;
317
+ }
318
+ };
319
+ var MixinDeclarationAst = class MixinDeclarationAst {
320
+ syntax;
321
+ constructor(syntax) {
322
+ this.syntax = syntax;
323
+ }
324
+ keyword() {
325
+ return findChildToken(this.syntax, "Ident");
326
+ }
327
+ mixinKeyword() {
328
+ const next = this.keyword()?.nextToken;
329
+ const token = next === void 0 ? void 0 : skipTriviaToken(next, "next");
330
+ return token?.kind === "Ident" && token.parent === this.syntax ? token : void 0;
331
+ }
332
+ name() {
333
+ return findFirstChild(this.syntax, IdentifierAst.cast);
334
+ }
335
+ lbrace() {
336
+ return findChildToken(this.syntax, "LBrace");
337
+ }
338
+ rbrace() {
339
+ return findChildToken(this.syntax, "RBrace");
340
+ }
341
+ *fields() {
342
+ yield* filterChildren(this.syntax, FieldDeclarationAst.cast);
343
+ }
344
+ *entries() {
345
+ yield* filterChildren(this.syntax, KeyValuePairAst.cast);
346
+ }
347
+ *attributes() {
348
+ yield* filterChildren(this.syntax, ModelAttributeAst.cast);
349
+ }
350
+ /** A mixin cannot include a mixin, but the parser still reads an inclusion written in a mixin body, so that it can be reported as an error at that inclusion. */
351
+ *inclusions() {
352
+ yield* filterChildren(this.syntax, MixinInclusionAst.cast);
353
+ }
354
+ *members() {
355
+ yield* filterChildren(this.syntax, (node) => FieldDeclarationAst.cast(node) ?? KeyValuePairAst.cast(node) ?? ModelAttributeAst.cast(node) ?? MixinInclusionAst.cast(node));
356
+ }
357
+ docComment() {
358
+ return readDocComment(this.syntax);
359
+ }
360
+ static cast(node) {
361
+ return node.kind === "MixinDeclaration" ? new MixinDeclarationAst(node) : void 0;
362
+ }
363
+ };
364
+ var MixinInclusionAst = class MixinInclusionAst {
365
+ syntax;
366
+ constructor(syntax) {
367
+ this.syntax = syntax;
368
+ }
369
+ plus() {
370
+ return findChildToken(this.syntax, "Plus");
371
+ }
372
+ name() {
373
+ return findFirstChild(this.syntax, QualifiedNameAst.cast);
374
+ }
375
+ static cast(node) {
376
+ return node.kind === "MixinInclusion" ? new MixinInclusionAst(node) : void 0;
377
+ }
378
+ };
379
+ var KeyValuePairAst = class KeyValuePairAst {
380
+ syntax;
381
+ constructor(syntax) {
382
+ this.syntax = syntax;
383
+ }
384
+ key() {
385
+ return findFirstChild(this.syntax, IdentifierAst.cast);
386
+ }
387
+ equals() {
388
+ return findChildToken(this.syntax, "Equals");
389
+ }
390
+ value() {
391
+ let pastEquals = false;
392
+ for (const child of this.syntax.children()) {
393
+ if (!(child instanceof SyntaxNode)) {
394
+ if (child.kind === "Equals") pastEquals = true;
395
+ continue;
396
+ }
397
+ if (pastEquals) {
398
+ const expr = castExpression(child);
399
+ if (expr) return expr;
400
+ }
401
+ }
402
+ }
403
+ /** `@` attributes after the key or value, as in `USER @map("user")`. */
404
+ *attributes() {
405
+ yield* filterChildren(this.syntax, FieldAttributeAst.cast);
406
+ }
407
+ static cast(node) {
408
+ return node.kind === "KeyValuePair" ? new KeyValuePairAst(node) : void 0;
409
+ }
410
+ };
411
+ var FieldDeclarationAst = class FieldDeclarationAst {
412
+ syntax;
413
+ constructor(syntax) {
414
+ this.syntax = syntax;
415
+ }
416
+ name() {
417
+ return findFirstChild(this.syntax, IdentifierAst.cast);
418
+ }
419
+ typeAnnotation() {
420
+ return findFirstChild(this.syntax, TypeAnnotationAst.cast);
421
+ }
422
+ *attributes() {
423
+ yield* filterChildren(this.syntax, FieldAttributeAst.cast);
424
+ }
425
+ docComment() {
426
+ return readDocComment(this.syntax);
427
+ }
428
+ static cast(node) {
429
+ return node.kind === "FieldDeclaration" ? new FieldDeclarationAst(node) : void 0;
430
+ }
431
+ };
432
+ var NamedTypeDeclarationAst = class NamedTypeDeclarationAst {
433
+ syntax;
434
+ constructor(syntax) {
435
+ this.syntax = syntax;
436
+ }
437
+ name() {
438
+ return findFirstChild(this.syntax, IdentifierAst.cast);
439
+ }
440
+ equals() {
441
+ return findChildToken(this.syntax, "Equals");
442
+ }
443
+ typeAnnotation() {
444
+ return findFirstChild(this.syntax, TypeAnnotationAst.cast);
445
+ }
446
+ *attributes() {
447
+ yield* filterChildren(this.syntax, FieldAttributeAst.cast);
448
+ }
449
+ docComment() {
450
+ return readDocComment(this.syntax);
451
+ }
452
+ static cast(node) {
453
+ return node.kind === "NamedTypeDeclaration" ? new NamedTypeDeclarationAst(node) : void 0;
454
+ }
455
+ };
456
+ //#endregion
457
+ export { isTriviaKind as _, FieldDeclarationAst as a, MixinDeclarationAst as c, ModelDeclarationAst as d, NamedTypeDeclarationAst as f, isTrivia as g, TypesBlockAst as h, FieldAttributeAst as i, MixinInclusionAst as l, TypeAnnotationAst as m, CompositeTypeDeclarationAst as n, GenericBlockDeclarationAst as o, NamespaceDeclarationAst as p, DocumentAst as r, KeyValuePairAst as s, AttributeArgListAst as t, ModelAttributeAst as u, nonTriviaSibling as v, skipTriviaToken as y };
458
+
459
+ //# sourceMappingURL=declarations-BgUAq1RG-ShewcVdd.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"declarations-BgUAq1RG-ShewcVdd.mjs","names":["#questionTokens"],"sources":["../../../../1-framework/2-authoring/psl-parser/dist/declarations-BgUAq1RG.mjs"],"sourcesContent":["import { S as SyntaxToken, _ as findChildToken, b as readDocComment, d as castExpression, g as filterChildren, m as IdentifierAst, n as AttributeArgAst, p as QualifiedNameAst, v as findFirstChild, x as SyntaxNode } from \"./expressions-CMQzbnHk.mjs\";\n//#region src/syntax/ast/attributes.ts\nvar AttributeArgListAst = class AttributeArgListAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tlparen() {\n\t\treturn findChildToken(this.syntax, \"LParen\");\n\t}\n\trparen() {\n\t\treturn findChildToken(this.syntax, \"RParen\");\n\t}\n\t*args() {\n\t\tyield* filterChildren(this.syntax, AttributeArgAst.cast);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"AttributeArgList\" ? new AttributeArgListAst(node) : void 0;\n\t}\n};\nvar FieldAttributeAst = class FieldAttributeAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tat() {\n\t\treturn findChildToken(this.syntax, \"At\");\n\t}\n\tname() {\n\t\treturn findFirstChild(this.syntax, QualifiedNameAst.cast);\n\t}\n\targList() {\n\t\treturn findFirstChild(this.syntax, AttributeArgListAst.cast);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"FieldAttribute\" ? new FieldAttributeAst(node) : void 0;\n\t}\n};\nvar ModelAttributeAst = class ModelAttributeAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tdoubleAt() {\n\t\treturn findChildToken(this.syntax, \"DoubleAt\");\n\t}\n\tname() {\n\t\treturn findFirstChild(this.syntax, QualifiedNameAst.cast);\n\t}\n\targList() {\n\t\treturn findFirstChild(this.syntax, AttributeArgListAst.cast);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"ModelAttribute\" ? new ModelAttributeAst(node) : void 0;\n\t}\n};\n//#endregion\n//#region src/syntax/navigation.ts\nconst TRIVIA_KINDS = /* @__PURE__ */ new Set([\n\t\"Whitespace\",\n\t\"Newline\",\n\t\"Comment\"\n]);\n/** Whether a token kind is trivia (whitespace, newline, or comment). */\nfunction isTriviaKind(kind) {\n\treturn TRIVIA_KINDS.has(kind);\n}\n/** Whether a token is trivia. */\nfunction isTrivia(token) {\n\treturn isTriviaKind(token.kind);\n}\n/**\n* The first non-trivia token at or beyond `token` in `direction`. Returns\n* `token` itself when it is already significant.\n*/\nfunction skipTriviaToken(token, direction) {\n\tlet current = token;\n\twhile (current !== void 0 && isTrivia(current)) current = direction === \"next\" ? current.nextToken : current.prevToken;\n\treturn current;\n}\n/**\n* The nearest sibling of `element` (within the same parent) in `direction` that\n* is not a trivia token. Nodes are always significant.\n*/\nfunction nonTriviaSibling(element, direction) {\n\tlet sibling = step(element, direction);\n\twhile (sibling !== void 0) {\n\t\tif (!(sibling instanceof SyntaxToken) || !isTrivia(sibling)) return sibling;\n\t\tsibling = step(sibling, direction);\n\t}\n}\nfunction step(element, direction) {\n\treturn direction === \"next\" ? element.nextSiblingOrToken : element.prevSiblingOrToken;\n}\n//#endregion\n//#region src/syntax/ast/type-annotation.ts\nvar TypeAnnotationAst = class TypeAnnotationAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\t/** The annotation's reference, doubling as the constructor callee when an {@link argList} follows. */\n\tname() {\n\t\treturn findFirstChild(this.syntax, QualifiedNameAst.cast);\n\t}\n\t/** Present when the annotation is a constructor (`Vector(1536)`) rather than a plain reference. */\n\targList() {\n\t\treturn findFirstChild(this.syntax, AttributeArgListAst.cast);\n\t}\n\tisConstructor() {\n\t\treturn this.argList() !== void 0;\n\t}\n\tlbracket() {\n\t\treturn findChildToken(this.syntax, \"LBracket\");\n\t}\n\trbracket() {\n\t\treturn findChildToken(this.syntax, \"RBracket\");\n\t}\n\tquestionMark() {\n\t\treturn findChildToken(this.syntax, \"Question\");\n\t}\n\tisList() {\n\t\treturn this.lbracket() !== void 0;\n\t}\n\t/**\n\t* The list/field axis: a `?` after `]` (list nullable) or, when this is not a\n\t* list, the sole field-level `?`. A `?` before `[` is the element axis and\n\t* does not count here.\n\t*/\n\tisOptional() {\n\t\tconst lbracket = this.lbracket();\n\t\tif (lbracket === void 0) return this.questionMark() !== void 0;\n\t\tconst anchor = this.rbracket() ?? lbracket;\n\t\treturn this.#questionTokens().some((question) => question.index > anchor.index);\n\t}\n\t/** The element axis: a `?` positioned before `[`, meaningful only for lists. */\n\tisElementOptional() {\n\t\tconst lbracket = this.lbracket();\n\t\tif (lbracket === void 0) return false;\n\t\treturn this.#questionTokens().some((question) => question.index < lbracket.index);\n\t}\n\t#questionTokens() {\n\t\tconst result = [];\n\t\tfor (const child of this.syntax.children()) if (!(child instanceof SyntaxNode) && child.kind === \"Question\") result.push(child);\n\t\treturn result;\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"TypeAnnotation\" ? new TypeAnnotationAst(node) : void 0;\n\t}\n};\n//#endregion\n//#region src/syntax/ast/declarations.ts\nfunction castNamespaceMember(node) {\n\treturn ModelDeclarationAst.cast(node) ?? CompositeTypeDeclarationAst.cast(node) ?? GenericBlockDeclarationAst.cast(node) ?? MixinDeclarationAst.cast(node);\n}\nvar DocumentAst = class DocumentAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\t*declarations() {\n\t\tyield* filterChildren(this.syntax, (node) => castNamespaceMember(node) ?? TypesBlockAst.cast(node) ?? NamespaceDeclarationAst.cast(node));\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"Document\" ? new DocumentAst(node) : void 0;\n\t}\n};\nvar ModelDeclarationAst = class ModelDeclarationAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tkeyword() {\n\t\treturn findChildToken(this.syntax, \"Ident\");\n\t}\n\tname() {\n\t\treturn findFirstChild(this.syntax, IdentifierAst.cast);\n\t}\n\tlbrace() {\n\t\treturn findChildToken(this.syntax, \"LBrace\");\n\t}\n\trbrace() {\n\t\treturn findChildToken(this.syntax, \"RBrace\");\n\t}\n\t*fields() {\n\t\tyield* filterChildren(this.syntax, FieldDeclarationAst.cast);\n\t}\n\t*attributes() {\n\t\tyield* filterChildren(this.syntax, ModelAttributeAst.cast);\n\t}\n\t*inclusions() {\n\t\tyield* filterChildren(this.syntax, MixinInclusionAst.cast);\n\t}\n\t*members() {\n\t\tyield* filterChildren(this.syntax, (node) => FieldDeclarationAst.cast(node) ?? ModelAttributeAst.cast(node) ?? MixinInclusionAst.cast(node));\n\t}\n\tdocComment() {\n\t\treturn readDocComment(this.syntax);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"ModelDeclaration\" ? new ModelDeclarationAst(node) : void 0;\n\t}\n};\nvar CompositeTypeDeclarationAst = class CompositeTypeDeclarationAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tkeyword() {\n\t\treturn findChildToken(this.syntax, \"Ident\");\n\t}\n\tname() {\n\t\treturn findFirstChild(this.syntax, IdentifierAst.cast);\n\t}\n\tlbrace() {\n\t\treturn findChildToken(this.syntax, \"LBrace\");\n\t}\n\trbrace() {\n\t\treturn findChildToken(this.syntax, \"RBrace\");\n\t}\n\t*fields() {\n\t\tyield* filterChildren(this.syntax, FieldDeclarationAst.cast);\n\t}\n\t*attributes() {\n\t\tyield* filterChildren(this.syntax, ModelAttributeAst.cast);\n\t}\n\t*inclusions() {\n\t\tyield* filterChildren(this.syntax, MixinInclusionAst.cast);\n\t}\n\t*members() {\n\t\tyield* filterChildren(this.syntax, (node) => FieldDeclarationAst.cast(node) ?? ModelAttributeAst.cast(node) ?? MixinInclusionAst.cast(node));\n\t}\n\tdocComment() {\n\t\treturn readDocComment(this.syntax);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"CompositeTypeDeclaration\" ? new CompositeTypeDeclarationAst(node) : void 0;\n\t}\n};\nvar NamespaceDeclarationAst = class NamespaceDeclarationAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tkeyword() {\n\t\treturn findChildToken(this.syntax, \"Ident\");\n\t}\n\tname() {\n\t\treturn findFirstChild(this.syntax, IdentifierAst.cast);\n\t}\n\tlbrace() {\n\t\treturn findChildToken(this.syntax, \"LBrace\");\n\t}\n\trbrace() {\n\t\treturn findChildToken(this.syntax, \"RBrace\");\n\t}\n\t*declarations() {\n\t\tyield* filterChildren(this.syntax, castNamespaceMember);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"Namespace\" ? new NamespaceDeclarationAst(node) : void 0;\n\t}\n};\nvar TypesBlockAst = class TypesBlockAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tkeyword() {\n\t\treturn findChildToken(this.syntax, \"Ident\");\n\t}\n\tlbrace() {\n\t\treturn findChildToken(this.syntax, \"LBrace\");\n\t}\n\trbrace() {\n\t\treturn findChildToken(this.syntax, \"RBrace\");\n\t}\n\t*declarations() {\n\t\tyield* filterChildren(this.syntax, NamedTypeDeclarationAst.cast);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"TypesBlock\" ? new TypesBlockAst(node) : void 0;\n\t}\n};\nvar GenericBlockDeclarationAst = class GenericBlockDeclarationAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tkeyword() {\n\t\treturn findChildToken(this.syntax, \"Ident\");\n\t}\n\tname() {\n\t\treturn findFirstChild(this.syntax, IdentifierAst.cast);\n\t}\n\tlbrace() {\n\t\treturn findChildToken(this.syntax, \"LBrace\");\n\t}\n\trbrace() {\n\t\treturn findChildToken(this.syntax, \"RBrace\");\n\t}\n\t*entries() {\n\t\tyield* filterChildren(this.syntax, KeyValuePairAst.cast);\n\t}\n\t/** Field lines of a `view` body. Empty for every other generic block. */\n\t*fields() {\n\t\tyield* filterChildren(this.syntax, FieldDeclarationAst.cast);\n\t}\n\t*attributes() {\n\t\tyield* filterChildren(this.syntax, ModelAttributeAst.cast);\n\t}\n\t*inclusions() {\n\t\tyield* filterChildren(this.syntax, MixinInclusionAst.cast);\n\t}\n\t*members() {\n\t\tyield* filterChildren(this.syntax, (node) => KeyValuePairAst.cast(node) ?? ModelAttributeAst.cast(node) ?? MixinInclusionAst.cast(node));\n\t}\n\tdocComment() {\n\t\treturn readDocComment(this.syntax);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"GenericBlockDeclaration\" ? new GenericBlockDeclarationAst(node) : void 0;\n\t}\n};\nvar MixinDeclarationAst = class MixinDeclarationAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tkeyword() {\n\t\treturn findChildToken(this.syntax, \"Ident\");\n\t}\n\tmixinKeyword() {\n\t\tconst next = this.keyword()?.nextToken;\n\t\tconst token = next === void 0 ? void 0 : skipTriviaToken(next, \"next\");\n\t\treturn token?.kind === \"Ident\" && token.parent === this.syntax ? token : void 0;\n\t}\n\tname() {\n\t\treturn findFirstChild(this.syntax, IdentifierAst.cast);\n\t}\n\tlbrace() {\n\t\treturn findChildToken(this.syntax, \"LBrace\");\n\t}\n\trbrace() {\n\t\treturn findChildToken(this.syntax, \"RBrace\");\n\t}\n\t*fields() {\n\t\tyield* filterChildren(this.syntax, FieldDeclarationAst.cast);\n\t}\n\t*entries() {\n\t\tyield* filterChildren(this.syntax, KeyValuePairAst.cast);\n\t}\n\t*attributes() {\n\t\tyield* filterChildren(this.syntax, ModelAttributeAst.cast);\n\t}\n\t/** A mixin cannot include a mixin, but the parser still reads an inclusion written in a mixin body, so that it can be reported as an error at that inclusion. */\n\t*inclusions() {\n\t\tyield* filterChildren(this.syntax, MixinInclusionAst.cast);\n\t}\n\t*members() {\n\t\tyield* filterChildren(this.syntax, (node) => FieldDeclarationAst.cast(node) ?? KeyValuePairAst.cast(node) ?? ModelAttributeAst.cast(node) ?? MixinInclusionAst.cast(node));\n\t}\n\tdocComment() {\n\t\treturn readDocComment(this.syntax);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"MixinDeclaration\" ? new MixinDeclarationAst(node) : void 0;\n\t}\n};\nvar MixinInclusionAst = class MixinInclusionAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tplus() {\n\t\treturn findChildToken(this.syntax, \"Plus\");\n\t}\n\tname() {\n\t\treturn findFirstChild(this.syntax, QualifiedNameAst.cast);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"MixinInclusion\" ? new MixinInclusionAst(node) : void 0;\n\t}\n};\nvar KeyValuePairAst = class KeyValuePairAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tkey() {\n\t\treturn findFirstChild(this.syntax, IdentifierAst.cast);\n\t}\n\tequals() {\n\t\treturn findChildToken(this.syntax, \"Equals\");\n\t}\n\tvalue() {\n\t\tlet pastEquals = false;\n\t\tfor (const child of this.syntax.children()) {\n\t\t\tif (!(child instanceof SyntaxNode)) {\n\t\t\t\tif (child.kind === \"Equals\") pastEquals = true;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (pastEquals) {\n\t\t\t\tconst expr = castExpression(child);\n\t\t\t\tif (expr) return expr;\n\t\t\t}\n\t\t}\n\t}\n\t/** `@` attributes after the key or value, as in `USER @map(\"user\")`. */\n\t*attributes() {\n\t\tyield* filterChildren(this.syntax, FieldAttributeAst.cast);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"KeyValuePair\" ? new KeyValuePairAst(node) : void 0;\n\t}\n};\nvar FieldDeclarationAst = class FieldDeclarationAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tname() {\n\t\treturn findFirstChild(this.syntax, IdentifierAst.cast);\n\t}\n\ttypeAnnotation() {\n\t\treturn findFirstChild(this.syntax, TypeAnnotationAst.cast);\n\t}\n\t*attributes() {\n\t\tyield* filterChildren(this.syntax, FieldAttributeAst.cast);\n\t}\n\tdocComment() {\n\t\treturn readDocComment(this.syntax);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"FieldDeclaration\" ? new FieldDeclarationAst(node) : void 0;\n\t}\n};\nvar NamedTypeDeclarationAst = class NamedTypeDeclarationAst {\n\tsyntax;\n\tconstructor(syntax) {\n\t\tthis.syntax = syntax;\n\t}\n\tname() {\n\t\treturn findFirstChild(this.syntax, IdentifierAst.cast);\n\t}\n\tequals() {\n\t\treturn findChildToken(this.syntax, \"Equals\");\n\t}\n\ttypeAnnotation() {\n\t\treturn findFirstChild(this.syntax, TypeAnnotationAst.cast);\n\t}\n\t*attributes() {\n\t\tyield* filterChildren(this.syntax, FieldAttributeAst.cast);\n\t}\n\tdocComment() {\n\t\treturn readDocComment(this.syntax);\n\t}\n\tstatic cast(node) {\n\t\treturn node.kind === \"NamedTypeDeclaration\" ? new NamedTypeDeclarationAst(node) : void 0;\n\t}\n};\n//#endregion\nexport { AttributeArgListAst as _, KeyValuePairAst as a, ModelDeclarationAst as c, TypesBlockAst as d, TypeAnnotationAst as f, skipTriviaToken as g, nonTriviaSibling as h, GenericBlockDeclarationAst as i, NamedTypeDeclarationAst as l, isTriviaKind as m, DocumentAst as n, MixinDeclarationAst as o, isTrivia as p, FieldDeclarationAst as r, MixinInclusionAst as s, CompositeTypeDeclarationAst as t, NamespaceDeclarationAst as u, FieldAttributeAst as v, ModelAttributeAst as y };\n\n//# sourceMappingURL=declarations-BgUAq1RG.mjs.map"],"mappings":";;AAEA,IAAI,sBAAsB,MAAM,oBAAoB;CACnD;CACA,YAAY,QAAQ;EACnB,KAAK,SAAS;CACf;CACA,SAAS;EACR,OAAO,eAAe,KAAK,QAAQ,QAAQ;CAC5C;CACA,SAAS;EACR,OAAO,eAAe,KAAK,QAAQ,QAAQ;CAC5C;CACA,CAAC,OAAO;EACP,OAAO,eAAe,KAAK,QAAQ,gBAAgB,IAAI;CACxD;CACA,OAAO,KAAK,MAAM;EACjB,OAAO,KAAK,SAAS,qBAAqB,IAAI,oBAAoB,IAAI,IAAI,KAAK;CAChF;AACD;AACA,IAAI,oBAAoB,MAAM,kBAAkB;CAC/C;CACA,YAAY,QAAQ;EACnB,KAAK,SAAS;CACf;CACA,KAAK;EACJ,OAAO,eAAe,KAAK,QAAQ,IAAI;CACxC;CACA,OAAO;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AAO;EACN,OAAO,eAAe,KAAK,QAAQ,cAAc,IAAI;CACtD;CACA,SAAS;EACR,OAAO,eAAe,KAAK,QAAQ,QAAQ;CAC5C;CACA,iBAAiB;EAChB,OAAO,eAAe,KAAK,QAAQ,kBAAkB,IAAI;CAC1D;CACA,CAAC,aAAa;EACb,OAAO,eAAe,KAAK,QAAQ,kBAAkB,IAAI;CAC1D;CACA,aAAa;EACZ,OAAO,eAAe,KAAK,MAAM;CAClC;CACA,OAAO,KAAK,MAAM;EACjB,OAAO,KAAK,SAAS,yBAAyB,IAAI,wBAAwB,IAAI,IAAI,KAAK;CACxF;AACD"}
package/dist/errors.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as errorOutputFormatMutex, E as errorUnexpected, S as errorMigrationPlanningFailed, T as errorTargetMigrationNotSupported, _ as errorInvalidOutputFormat, a as errorConfigEvaluationFailed, b as errorMigrationCliInvalidConfigArg, c as errorConfigVersionMarkerMissing, d as errorContractValidationFailed, f as errorDatabaseConnectionRequired, g as errorFileNotFound, h as errorFamilyReadMarkerSqlRequired, i as CliStructuredError, l as errorContractConfigMissing, m as errorEnumCodecNotInPackStack, n as CliErrorConflict, o as errorConfigFileNotFound, p as errorDriverRequired, r as CliErrorEnvelope, s as errorConfigValidation, t as CheckedMigrationConfig, u as errorContractMissingExtensions, v as errorJsonFormatNotSupported, w as errorQueryRunnerFactoryRequired, x as errorMigrationCliUnknownFlag, y as errorMigrationCliConfigNotFound } from "./control-B5ezUWD2-BgUEggvd.mjs";
2
- import "./control-CIEbQ0bK.mjs";
3
- import { a as errorMarkerRowCorrupt, c as errorTargetMismatch, d as withMarkerReadErrorHandling, i as errorMarkerRequired, l as parseMarkerRowSafely, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorSchemaVerificationFailed, t as errorHashMismatch, u as rethrowMarkerReadError } from "./execution-BkcXd7Tn.mjs";
4
- import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-BVDJBmyi.mjs";
1
+ import { C as errorOutputFormatMutex, E as errorUnexpected, S as errorMigrationPlanningFailed, T as errorTargetMigrationNotSupported, _ as errorInvalidOutputFormat, a as errorConfigEvaluationFailed, b as errorMigrationCliInvalidConfigArg, c as errorConfigVersionMarkerMissing, d as errorContractValidationFailed, f as errorDatabaseConnectionRequired, g as errorFileNotFound, h as errorFamilyReadMarkerSqlRequired, i as CliStructuredError, l as errorContractConfigMissing, m as errorEnumCodecNotInPackStack, n as CliErrorConflict, o as errorConfigFileNotFound, p as errorDriverRequired, r as CliErrorEnvelope, s as errorConfigValidation, t as CheckedMigrationConfig, u as errorContractMissingExtensions, v as errorJsonFormatNotSupported, w as errorQueryRunnerFactoryRequired, x as errorMigrationCliUnknownFlag, y as errorMigrationCliConfigNotFound } from "./control-B5ezUWD2-D6knyncN.mjs";
2
+ import "./control-D2ZpYj6i.mjs";
3
+ import { a as errorMarkerRowCorrupt, c as errorTargetMismatch, d as withMarkerReadErrorHandling, i as errorMarkerRequired, l as parseMarkerRowSafely, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorSchemaVerificationFailed, t as errorHashMismatch, u as rethrowMarkerReadError } from "./execution-C00_IFA7.mjs";
4
+ import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-K3Co0dba.mjs";
5
5
  export { type CheckedMigrationConfig, type CliErrorConflict, type CliErrorEnvelope, CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliConfigNotFound, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRuntime, errorSchemaVerificationFailed, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, unfilledPlaceholderOperation, withMarkerReadErrorHandling };
package/dist/errors.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { C as errorTargetMigrationNotSupported, S as errorQueryRunnerFactoryRequired, _ as errorMigrationCliConfigNotFound, a as errorConfigValidation, b as errorMigrationPlanningFailed, c as errorContractMissingExtensions, d as errorDriverRequired, f as errorEnumCodecNotInPackStack, g as errorJsonFormatNotSupported, h as errorInvalidOutputFormat, i as errorConfigFileNotFound, l as errorContractValidationFailed, m as errorFileNotFound, o as errorConfigVersionMarkerMissing, p as errorFamilyReadMarkerSqlRequired, r as errorConfigEvaluationFailed, s as errorContractConfigMissing, t as CliStructuredError, u as errorDatabaseConnectionRequired, v as errorMigrationCliInvalidConfigArg, w as errorUnexpected, x as errorOutputFormatMutex, y as errorMigrationCliUnknownFlag } from "./control-KsXr4fYD-DJm_48Db.mjs";
2
- import { a as errorMarkerRowCorrupt, c as errorTargetMismatch, d as withMarkerReadErrorHandling, i as errorMarkerRequired, l as parseMarkerRowSafely, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorSchemaVerificationFailed, t as errorHashMismatch, u as rethrowMarkerReadError } from "./execution-KLhn9sSn.mjs";
3
- import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-CZik9OxU.mjs";
1
+ import { C as errorTargetMigrationNotSupported, S as errorQueryRunnerFactoryRequired, _ as errorMigrationCliConfigNotFound, a as errorConfigValidation, b as errorMigrationPlanningFailed, c as errorContractMissingExtensions, d as errorDriverRequired, f as errorEnumCodecNotInPackStack, g as errorJsonFormatNotSupported, h as errorInvalidOutputFormat, i as errorConfigFileNotFound, l as errorContractValidationFailed, m as errorFileNotFound, o as errorConfigVersionMarkerMissing, p as errorFamilyReadMarkerSqlRequired, r as errorConfigEvaluationFailed, s as errorContractConfigMissing, t as CliStructuredError, u as errorDatabaseConnectionRequired, v as errorMigrationCliInvalidConfigArg, w as errorUnexpected, x as errorOutputFormatMutex, y as errorMigrationCliUnknownFlag } from "./control-KsXr4fYD-B23ri5vh.mjs";
2
+ import { a as errorMarkerRowCorrupt, c as errorTargetMismatch, d as withMarkerReadErrorHandling, i as errorMarkerRequired, l as parseMarkerRowSafely, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorSchemaVerificationFailed, t as errorHashMismatch, u as rethrowMarkerReadError } from "./execution-C_4ICly-.mjs";
3
+ import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-Dy-tXHxh.mjs";
4
4
  export { CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDataTransformContractMismatch, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorHashMismatch, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorMigrationCliConfigNotFound, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationPlanningFailed, errorMigrationTargetMismatch, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorRuntime, errorSchemaVerificationFailed, errorTargetMigrationNotSupported, errorTargetMismatch, errorUnexpected, errorUnfilledPlaceholder, parseMarkerRowSafely, placeholder, rethrowMarkerReadError, unfilledPlaceholderOperation, withMarkerReadErrorHandling };
@@ -1,3 +1,3 @@
1
- import { C as errorOutputFormatMutex, E as errorUnexpected, S as errorMigrationPlanningFailed, T as errorTargetMigrationNotSupported, _ as errorInvalidOutputFormat, a as errorConfigEvaluationFailed, b as errorMigrationCliInvalidConfigArg, c as errorConfigVersionMarkerMissing, d as errorContractValidationFailed, f as errorDatabaseConnectionRequired, g as errorFileNotFound, h as errorFamilyReadMarkerSqlRequired, i as CliStructuredError, l as errorContractConfigMissing, m as errorEnumCodecNotInPackStack, n as CliErrorConflict, o as errorConfigFileNotFound, p as errorDriverRequired, r as CliErrorEnvelope, s as errorConfigValidation, t as CheckedMigrationConfig, u as errorContractMissingExtensions, v as errorJsonFormatNotSupported, w as errorQueryRunnerFactoryRequired, x as errorMigrationCliUnknownFlag, y as errorMigrationCliConfigNotFound } from "./control-B5ezUWD2-BgUEggvd.mjs";
2
- import "./control-CIEbQ0bK.mjs";
1
+ import { C as errorOutputFormatMutex, E as errorUnexpected, S as errorMigrationPlanningFailed, T as errorTargetMigrationNotSupported, _ as errorInvalidOutputFormat, a as errorConfigEvaluationFailed, b as errorMigrationCliInvalidConfigArg, c as errorConfigVersionMarkerMissing, d as errorContractValidationFailed, f as errorDatabaseConnectionRequired, g as errorFileNotFound, h as errorFamilyReadMarkerSqlRequired, i as CliStructuredError, l as errorContractConfigMissing, m as errorEnumCodecNotInPackStack, n as CliErrorConflict, o as errorConfigFileNotFound, p as errorDriverRequired, r as CliErrorEnvelope, s as errorConfigValidation, t as CheckedMigrationConfig, u as errorContractMissingExtensions, v as errorJsonFormatNotSupported, w as errorQueryRunnerFactoryRequired, x as errorMigrationCliUnknownFlag, y as errorMigrationCliConfigNotFound } from "./control-B5ezUWD2-D6knyncN.mjs";
2
+ import "./control-D2ZpYj6i.mjs";
3
3
  export { type CheckedMigrationConfig, type CliErrorConflict, type CliErrorEnvelope, CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMigrationCliConfigNotFound, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationPlanningFailed, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorTargetMigrationNotSupported, errorUnexpected };
@@ -1,2 +1,2 @@
1
- import { C as errorTargetMigrationNotSupported, S as errorQueryRunnerFactoryRequired, _ as errorMigrationCliConfigNotFound, a as errorConfigValidation, b as errorMigrationPlanningFailed, c as errorContractMissingExtensions, d as errorDriverRequired, f as errorEnumCodecNotInPackStack, g as errorJsonFormatNotSupported, h as errorInvalidOutputFormat, i as errorConfigFileNotFound, l as errorContractValidationFailed, m as errorFileNotFound, o as errorConfigVersionMarkerMissing, p as errorFamilyReadMarkerSqlRequired, r as errorConfigEvaluationFailed, s as errorContractConfigMissing, t as CliStructuredError, u as errorDatabaseConnectionRequired, v as errorMigrationCliInvalidConfigArg, w as errorUnexpected, x as errorOutputFormatMutex, y as errorMigrationCliUnknownFlag } from "./control-KsXr4fYD-DJm_48Db.mjs";
1
+ import { C as errorTargetMigrationNotSupported, S as errorQueryRunnerFactoryRequired, _ as errorMigrationCliConfigNotFound, a as errorConfigValidation, b as errorMigrationPlanningFailed, c as errorContractMissingExtensions, d as errorDriverRequired, f as errorEnumCodecNotInPackStack, g as errorJsonFormatNotSupported, h as errorInvalidOutputFormat, i as errorConfigFileNotFound, l as errorContractValidationFailed, m as errorFileNotFound, o as errorConfigVersionMarkerMissing, p as errorFamilyReadMarkerSqlRequired, r as errorConfigEvaluationFailed, s as errorContractConfigMissing, t as CliStructuredError, u as errorDatabaseConnectionRequired, v as errorMigrationCliInvalidConfigArg, w as errorUnexpected, x as errorOutputFormatMutex, y as errorMigrationCliUnknownFlag } from "./control-KsXr4fYD-B23ri5vh.mjs";
2
2
  export { CliStructuredError, errorConfigEvaluationFailed, errorConfigFileNotFound, errorConfigValidation, errorConfigVersionMarkerMissing, errorContractConfigMissing, errorContractMissingExtensions, errorContractValidationFailed, errorDatabaseConnectionRequired, errorDriverRequired, errorEnumCodecNotInPackStack, errorFamilyReadMarkerSqlRequired, errorFileNotFound, errorInvalidOutputFormat, errorJsonFormatNotSupported, errorMigrationCliConfigNotFound, errorMigrationCliInvalidConfigArg, errorMigrationCliUnknownFlag, errorMigrationPlanningFailed, errorOutputFormatMutex, errorQueryRunnerFactoryRequired, errorTargetMigrationNotSupported, errorUnexpected };
@@ -1,2 +1,2 @@
1
- import { a as errorMarkerRowCorrupt, c as errorTargetMismatch, d as withMarkerReadErrorHandling, i as errorMarkerRequired, l as parseMarkerRowSafely, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorSchemaVerificationFailed, t as errorHashMismatch, u as rethrowMarkerReadError } from "./execution-BkcXd7Tn.mjs";
1
+ import { a as errorMarkerRowCorrupt, c as errorTargetMismatch, d as withMarkerReadErrorHandling, i as errorMarkerRequired, l as parseMarkerRowSafely, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorSchemaVerificationFailed, t as errorHashMismatch, u as rethrowMarkerReadError } from "./execution-C00_IFA7.mjs";
2
2
  export { errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };
@@ -1,2 +1,2 @@
1
- import { a as errorMarkerRowCorrupt, c as errorTargetMismatch, d as withMarkerReadErrorHandling, i as errorMarkerRequired, l as parseMarkerRowSafely, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorSchemaVerificationFailed, t as errorHashMismatch, u as rethrowMarkerReadError } from "./execution-KLhn9sSn.mjs";
1
+ import { a as errorMarkerRowCorrupt, c as errorTargetMismatch, d as withMarkerReadErrorHandling, i as errorMarkerRequired, l as parseMarkerRowSafely, n as errorMarkerMissing, o as errorRuntime, r as errorMarkerReadFailed, s as errorSchemaVerificationFailed, t as errorHashMismatch, u as rethrowMarkerReadError } from "./execution-C_4ICly-.mjs";
2
2
  export { errorHashMismatch, errorMarkerMissing, errorMarkerReadFailed, errorMarkerRequired, errorMarkerRowCorrupt, errorRuntime, errorSchemaVerificationFailed, errorTargetMismatch, parseMarkerRowSafely, rethrowMarkerReadError, withMarkerReadErrorHandling };
@@ -1,2 +1,2 @@
1
- import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-BVDJBmyi.mjs";
1
+ import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-K3Co0dba.mjs";
2
2
  export { errorDataTransformContractMismatch, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationTargetMismatch, errorUnfilledPlaceholder, placeholder, unfilledPlaceholderOperation };
@@ -1,2 +1,2 @@
1
- import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-CZik9OxU.mjs";
1
+ import { a as errorMigrationPlanNotArray, c as placeholder, i as errorMigrationOperationOptionRemoved, l as unfilledPlaceholderOperation, n as errorMigrationFileMissing, o as errorMigrationTargetMismatch, r as errorMigrationInvalidDefaultExport, s as errorUnfilledPlaceholder, t as errorDataTransformContractMismatch } from "./migration-Dy-tXHxh.mjs";
2
2
  export { errorDataTransformContractMismatch, errorMigrationFileMissing, errorMigrationInvalidDefaultExport, errorMigrationOperationOptionRemoved, errorMigrationPlanNotArray, errorMigrationTargetMismatch, errorUnfilledPlaceholder, placeholder, unfilledPlaceholderOperation };
@@ -1,6 +1,6 @@
1
1
  import { i as NextAction, r as Diagnostic } from "./structured-error-Cc7AIRsp.mjs";
2
- import { Pt as SchemaDiffIssue, on as VerifyDatabaseSchemaResult } from "./control-7DsPHRLi.mjs";
3
- import { i as CliStructuredError } from "./control-B5ezUWD2-BgUEggvd.mjs";
2
+ import { Pt as SchemaDiffIssue, on as VerifyDatabaseSchemaResult } from "./control-D9rb0OBR.mjs";
3
+ import { i as CliStructuredError } from "./control-B5ezUWD2-D6knyncN.mjs";
4
4
  //#region ../../../1-framework/1-core/errors/dist/execution.d.mts
5
5
  //#region src/execution.d.ts
6
6
  /**
@@ -83,4 +83,4 @@ declare function errorRuntime(code: `${string}.${string}`, summary: string, opti
83
83
  }): CliStructuredError;
84
84
  //#endregion
85
85
  export { errorMarkerRowCorrupt as a, errorTargetMismatch as c, withMarkerReadErrorHandling as d, errorMarkerRequired as i, parseMarkerRowSafely as l, errorMarkerMissing as n, errorRuntime as o, errorMarkerReadFailed as r, errorSchemaVerificationFailed as s, errorHashMismatch as t, rethrowMarkerReadError as u };
86
- //# sourceMappingURL=execution-BkcXd7Tn.d.mts.map
86
+ //# sourceMappingURL=execution-C00_IFA7.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"execution-BkcXd7Tn.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/execution.d.mts"],"mappings":";;;;;;;;iBAOiB,mBAAmB;WACzB;IACP;;;;iBAIa,kBAAkB;WACxB;WACA;WACA;IACP;;;;iBAIa,oBAAoB,kBAAkB,gBAAgB;WAC5D;IACP;;;;iBAIa,sBAAsB;WAC5B;WACA;WACA;WACA;IACP;;;;iBAIa,sBAAsB;WAC5B;WACA;WACA;WACA;IACP;iBACa,uBAAuB,cAAc;WAC3C;WACA;;iBAEM,4BAA4B,GAAG,iBAAiB,QAAQ,IAAI;WAClE;WACA;IACP,QAAQ;iBACK,qBAAqB,GAAG,cAAc,QAAQ,mBAAmB,GAAG;WAC1E;WACA;IACP;;;;;iBAKa,oBAAoB;WAC1B;WACA;WACA,uBAAuB;IAC9B;;;;;iBAKa,8BAA8B;WACpC;WACA,oBAAoB;WACpB,kBAAkB;IACzB;;;;iBAIa,aAAa,6BAA6B,iBAAiB;WACjE;WACA;WACA,uBAAuB;WACvB,OAAO;WACP;IACP"}
1
+ {"version":3,"file":"execution-C00_IFA7.d.mts","names":[],"sources":["../../../../1-framework/1-core/errors/dist/execution.d.mts"],"mappings":";;;;;;;;iBAOiB,mBAAmB;WACzB;IACP;;;;iBAIa,kBAAkB;WACxB;WACA;WACA;IACP;;;;iBAIa,oBAAoB,kBAAkB,gBAAgB;WAC5D;IACP;;;;iBAIa,sBAAsB;WAC5B;WACA;WACA;WACA;IACP;;;;iBAIa,sBAAsB;WAC5B;WACA;WACA;WACA;IACP;iBACa,uBAAuB,cAAc;WAC3C;WACA;;iBAEM,4BAA4B,GAAG,iBAAiB,QAAQ,IAAI;WAClE;WACA;IACP,QAAQ;iBACK,qBAAqB,GAAG,cAAc,QAAQ,mBAAmB,GAAG;WAC1E;WACA;IACP;;;;;iBAKa,oBAAoB;WAC1B;WACA;WACA,uBAAuB;IAC9B;;;;;iBAKa,8BAA8B;WACpC;WACA,oBAAoB;WACpB,kBAAkB;IACzB;;;;iBAIa,aAAa,6BAA6B,iBAAiB;WACjE;WACA;WACA,uBAAuB;WACvB,OAAO;WACP;IACP"}
@@ -1,6 +1,6 @@
1
1
  import { t as ifDefined } from "./defined-BQWA85QH-BRSBMULx.mjs";
2
2
  import { i as isStructuredError } from "./structured-error-BXbihKQ-.mjs";
3
- import { t as CliStructuredError } from "./control-KsXr4fYD-DJm_48Db.mjs";
3
+ import { t as CliStructuredError } from "./control-KsXr4fYD-B23ri5vh.mjs";
4
4
  //#region ../../../1-framework/1-core/errors/dist/execution.mjs
5
5
  /**
6
6
  * Contract marker not found in database.
@@ -157,4 +157,4 @@ function errorRuntime(code, summary, options) {
157
157
  //#endregion
158
158
  export { errorMarkerRowCorrupt as a, errorTargetMismatch as c, withMarkerReadErrorHandling as d, errorMarkerRequired as i, parseMarkerRowSafely as l, errorMarkerMissing as n, errorRuntime as o, errorMarkerReadFailed as r, errorSchemaVerificationFailed as s, errorHashMismatch as t, rethrowMarkerReadError as u };
159
159
 
160
- //# sourceMappingURL=execution-KLhn9sSn.mjs.map
160
+ //# sourceMappingURL=execution-C_4ICly-.mjs.map