@aggrega-ai/aggrega-abi 0.0.0-stage → 0.9.0
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/LICENSE +202 -0
- package/README.md +23 -2
- package/dist/abi_version_enums_gen.d.ts +1 -0
- package/dist/abi_version_enums_gen.js +33 -0
- package/dist/annotationtransform_gen.d.ts +56 -0
- package/dist/annotationtransform_gen.js +385 -0
- package/dist/cbor_gen.d.ts +28 -0
- package/dist/cbor_gen.js +413 -0
- package/dist/cli_gen.d.ts +11 -0
- package/dist/cli_gen.js +75 -0
- package/dist/describe_gen.d.ts +165 -0
- package/dist/describe_gen.js +1154 -0
- package/dist/diagnostic_enums_gen.d.ts +3 -0
- package/dist/diagnostic_enums_gen.js +27 -0
- package/dist/diagnostic_gen.d.ts +45 -0
- package/dist/diagnostic_gen.js +309 -0
- package/dist/frp_gen.d.ts +97 -0
- package/dist/frp_gen.js +731 -0
- package/dist/hostfunc_error_enums_gen.d.ts +13 -0
- package/dist/hostfunc_error_enums_gen.js +35 -0
- package/dist/import_gen.d.ts +159 -0
- package/dist/import_gen.js +1050 -0
- package/dist/index.d.ts +33 -0
- package/dist/index.js +51 -0
- package/dist/ir_gen.d.ts +180 -0
- package/dist/ir_gen.js +1640 -0
- package/dist/linter_gen.d.ts +45 -0
- package/dist/linter_gen.js +374 -0
- package/dist/mutator_gen.d.ts +64 -0
- package/dist/mutator_gen.js +448 -0
- package/dist/orderedmap_gen.d.ts +5 -0
- package/dist/orderedmap_gen.js +186 -0
- package/dist/parse_gen.d.ts +60 -0
- package/dist/parse_gen.js +364 -0
- package/dist/policy_gen.d.ts +69 -0
- package/dist/policy_gen.js +461 -0
- package/dist/providerrender_gen.d.ts +495 -0
- package/dist/providerrender_gen.js +3756 -0
- package/dist/servewire_gen.d.ts +1643 -0
- package/dist/servewire_gen.js +3035 -0
- package/package.json +30 -4
package/dist/frp_gen.js
ADDED
|
@@ -0,0 +1,731 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
// Copyright 2026 Cognitio s.r.l.
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.encodeFRPStepInput = encodeFRPStepInput;
|
|
6
|
+
exports.decodeFRPStepInput = decodeFRPStepInput;
|
|
7
|
+
exports.encodeFRPStepOutput = encodeFRPStepOutput;
|
|
8
|
+
exports.decodeFRPStepOutput = decodeFRPStepOutput;
|
|
9
|
+
exports.encodeDocumentSet = encodeDocumentSet;
|
|
10
|
+
exports.decodeDocumentSet = decodeDocumentSet;
|
|
11
|
+
exports.encodeUnit = encodeUnit;
|
|
12
|
+
exports.decodeUnit = decodeUnit;
|
|
13
|
+
exports.encodeJSONPatchOp = encodeJSONPatchOp;
|
|
14
|
+
exports.decodeJSONPatchOp = decodeJSONPatchOp;
|
|
15
|
+
exports.encodeSideEffect = encodeSideEffect;
|
|
16
|
+
exports.decodeSideEffect = decodeSideEffect;
|
|
17
|
+
exports.encodeSideEffectFile = encodeSideEffectFile;
|
|
18
|
+
exports.decodeSideEffectFile = decodeSideEffectFile;
|
|
19
|
+
exports.encodePrecedingStep = encodePrecedingStep;
|
|
20
|
+
exports.decodePrecedingStep = decodePrecedingStep;
|
|
21
|
+
exports.encodeCBORFRPStepInput = encodeCBORFRPStepInput;
|
|
22
|
+
exports.appendCBORFRPStepInput = appendCBORFRPStepInput;
|
|
23
|
+
exports.decodeCBORFRPStepInput = decodeCBORFRPStepInput;
|
|
24
|
+
exports.decodeCBORFRPStepInputFrom = decodeCBORFRPStepInputFrom;
|
|
25
|
+
exports.encodeCBORFRPStepOutput = encodeCBORFRPStepOutput;
|
|
26
|
+
exports.appendCBORFRPStepOutput = appendCBORFRPStepOutput;
|
|
27
|
+
exports.decodeCBORFRPStepOutput = decodeCBORFRPStepOutput;
|
|
28
|
+
exports.decodeCBORFRPStepOutputFrom = decodeCBORFRPStepOutputFrom;
|
|
29
|
+
exports.encodeCBORDocumentSet = encodeCBORDocumentSet;
|
|
30
|
+
exports.appendCBORDocumentSet = appendCBORDocumentSet;
|
|
31
|
+
exports.decodeCBORDocumentSet = decodeCBORDocumentSet;
|
|
32
|
+
exports.decodeCBORDocumentSetFrom = decodeCBORDocumentSetFrom;
|
|
33
|
+
exports.encodeCBORUnit = encodeCBORUnit;
|
|
34
|
+
exports.appendCBORUnit = appendCBORUnit;
|
|
35
|
+
exports.decodeCBORUnit = decodeCBORUnit;
|
|
36
|
+
exports.decodeCBORUnitFrom = decodeCBORUnitFrom;
|
|
37
|
+
exports.encodeCBORJSONPatchOp = encodeCBORJSONPatchOp;
|
|
38
|
+
exports.appendCBORJSONPatchOp = appendCBORJSONPatchOp;
|
|
39
|
+
exports.decodeCBORJSONPatchOp = decodeCBORJSONPatchOp;
|
|
40
|
+
exports.decodeCBORJSONPatchOpFrom = decodeCBORJSONPatchOpFrom;
|
|
41
|
+
exports.encodeCBORSideEffect = encodeCBORSideEffect;
|
|
42
|
+
exports.appendCBORSideEffect = appendCBORSideEffect;
|
|
43
|
+
exports.decodeCBORSideEffect = decodeCBORSideEffect;
|
|
44
|
+
exports.decodeCBORSideEffectFrom = decodeCBORSideEffectFrom;
|
|
45
|
+
exports.encodeCBORSideEffectFile = encodeCBORSideEffectFile;
|
|
46
|
+
exports.appendCBORSideEffectFile = appendCBORSideEffectFile;
|
|
47
|
+
exports.decodeCBORSideEffectFile = decodeCBORSideEffectFile;
|
|
48
|
+
exports.decodeCBORSideEffectFileFrom = decodeCBORSideEffectFileFrom;
|
|
49
|
+
exports.encodeCBORPrecedingStep = encodeCBORPrecedingStep;
|
|
50
|
+
exports.appendCBORPrecedingStep = appendCBORPrecedingStep;
|
|
51
|
+
exports.decodeCBORPrecedingStep = decodeCBORPrecedingStep;
|
|
52
|
+
exports.decodeCBORPrecedingStepFrom = decodeCBORPrecedingStepFrom;
|
|
53
|
+
// Code generated by internal/tools/typegen from
|
|
54
|
+
// aggrega-schemas/json/wasm-frp-step-v1beta1.schema.json. DO NOT EDIT.
|
|
55
|
+
// Regenerate with `go generate ./internal/tools/typegen` from the
|
|
56
|
+
// aggrega-cli checkout.
|
|
57
|
+
const diagnostic_gen_ts_1 = require("./diagnostic_gen.js");
|
|
58
|
+
const orderedmap_gen_ts_1 = require("./orderedmap_gen.js");
|
|
59
|
+
const cbor_gen_ts_1 = require("./cbor_gen.js");
|
|
60
|
+
const diagnostic_gen_ts_2 = require("./diagnostic_gen.js");
|
|
61
|
+
function jstr(s) {
|
|
62
|
+
return JSON.stringify(s);
|
|
63
|
+
}
|
|
64
|
+
// encodeOpaque carries an opaque (`any` / RawMessage) value VERBATIM: the
|
|
65
|
+
// key order from JSON.parse is preserved, matching the Go and Rust codecs'
|
|
66
|
+
// byte-carry of opaque values. Opaque values are never sorted.
|
|
67
|
+
function encodeOpaque(v) {
|
|
68
|
+
return JSON.stringify(v);
|
|
69
|
+
}
|
|
70
|
+
function encodeFRPStepInput(v) {
|
|
71
|
+
const parts = [];
|
|
72
|
+
parts.push(`${jstr("documents")}:${encodeDocumentSet(v.documents)}`);
|
|
73
|
+
if (v.step_input !== undefined && v.step_input.size > 0)
|
|
74
|
+
parts.push(`${jstr("step_input")}:${(0, orderedmap_gen_ts_1.writeOrderedObject)(v.step_input, (v0) => encodeOpaque(v0))}`);
|
|
75
|
+
parts.push(`${jstr("context")}:${encodeOpaque(v.context)}`);
|
|
76
|
+
parts.push(`${jstr("step_index")}:${String(v.step_index)}`);
|
|
77
|
+
if (v.preceding_steps !== undefined && v.preceding_steps.length > 0)
|
|
78
|
+
parts.push(`${jstr("preceding_steps")}:${`[${v.preceding_steps.map((e0) => encodePrecedingStep(e0)).join(",")}]`}`);
|
|
79
|
+
return `{${parts.join(",")}}`;
|
|
80
|
+
}
|
|
81
|
+
function decodeFRPStepInput(data) {
|
|
82
|
+
const o = {};
|
|
83
|
+
(0, orderedmap_gen_ts_1.readJSONMembers)(data, (k, raw) => {
|
|
84
|
+
switch (k) {
|
|
85
|
+
case "documents":
|
|
86
|
+
o["documents"] = decodeDocumentSet(raw);
|
|
87
|
+
break;
|
|
88
|
+
case "step_input":
|
|
89
|
+
o["step_input"] = (0, orderedmap_gen_ts_1.readOrderedObject)(raw, (r0) => JSON.parse(r0));
|
|
90
|
+
break;
|
|
91
|
+
case "context":
|
|
92
|
+
o["context"] = JSON.parse(raw);
|
|
93
|
+
break;
|
|
94
|
+
case "step_index":
|
|
95
|
+
o["step_index"] = JSON.parse(raw);
|
|
96
|
+
break;
|
|
97
|
+
case "preceding_steps":
|
|
98
|
+
o["preceding_steps"] = JSON.parse(raw);
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
return o;
|
|
103
|
+
}
|
|
104
|
+
function encodeFRPStepOutput(v) {
|
|
105
|
+
const parts = [];
|
|
106
|
+
if (v.patches !== undefined && v.patches.length > 0)
|
|
107
|
+
parts.push(`${jstr("patches")}:${`[${v.patches.map((e0) => encodeJSONPatchOp(e0)).join(",")}]`}`);
|
|
108
|
+
if (v.side_effects !== undefined && v.side_effects.length > 0)
|
|
109
|
+
parts.push(`${jstr("side_effects")}:${`[${v.side_effects.map((e0) => encodeSideEffect(e0)).join(",")}]`}`);
|
|
110
|
+
if (v.diagnostics !== undefined && v.diagnostics.length > 0)
|
|
111
|
+
parts.push(`${jstr("diagnostics")}:${`[${v.diagnostics.map((e0) => (0, diagnostic_gen_ts_1.encodeDiagnostic)(e0)).join(",")}]`}`);
|
|
112
|
+
if (v.outputs !== undefined && v.outputs.size > 0)
|
|
113
|
+
parts.push(`${jstr("outputs")}:${(0, orderedmap_gen_ts_1.writeOrderedObject)(v.outputs, (v0) => encodeOpaque(v0))}`);
|
|
114
|
+
if (v.error !== undefined && v.error !== "")
|
|
115
|
+
parts.push(`${jstr("error")}:${jstr(v.error)}`);
|
|
116
|
+
return `{${parts.join(",")}}`;
|
|
117
|
+
}
|
|
118
|
+
function decodeFRPStepOutput(data) {
|
|
119
|
+
const o = {};
|
|
120
|
+
(0, orderedmap_gen_ts_1.readJSONMembers)(data, (k, raw) => {
|
|
121
|
+
switch (k) {
|
|
122
|
+
case "patches":
|
|
123
|
+
o["patches"] = JSON.parse(raw);
|
|
124
|
+
break;
|
|
125
|
+
case "side_effects":
|
|
126
|
+
o["side_effects"] = JSON.parse(raw);
|
|
127
|
+
break;
|
|
128
|
+
case "diagnostics":
|
|
129
|
+
o["diagnostics"] = JSON.parse(raw);
|
|
130
|
+
break;
|
|
131
|
+
case "outputs":
|
|
132
|
+
o["outputs"] = (0, orderedmap_gen_ts_1.readOrderedObject)(raw, (r0) => JSON.parse(r0));
|
|
133
|
+
break;
|
|
134
|
+
case "error":
|
|
135
|
+
o["error"] = JSON.parse(raw);
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
return o;
|
|
140
|
+
}
|
|
141
|
+
function encodeDocumentSet(v) {
|
|
142
|
+
const parts = [];
|
|
143
|
+
parts.push(`${jstr("own")}:${(0, orderedmap_gen_ts_1.writeOrderedObject)(v.own, (v0) => encodeUnit(v0))}`);
|
|
144
|
+
if (v.host !== undefined && v.host.size > 0)
|
|
145
|
+
parts.push(`${jstr("host")}:${(0, orderedmap_gen_ts_1.writeOrderedObject)(v.host, (v0) => encodeUnit(v0))}`);
|
|
146
|
+
return `{${parts.join(",")}}`;
|
|
147
|
+
}
|
|
148
|
+
function decodeDocumentSet(data) {
|
|
149
|
+
const o = {};
|
|
150
|
+
(0, orderedmap_gen_ts_1.readJSONMembers)(data, (k, raw) => {
|
|
151
|
+
switch (k) {
|
|
152
|
+
case "own":
|
|
153
|
+
o["own"] = (0, orderedmap_gen_ts_1.readOrderedObject)(raw, (r0) => JSON.parse(r0));
|
|
154
|
+
break;
|
|
155
|
+
case "host":
|
|
156
|
+
o["host"] = (0, orderedmap_gen_ts_1.readOrderedObject)(raw, (r0) => JSON.parse(r0));
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
return o;
|
|
161
|
+
}
|
|
162
|
+
function encodeUnit(v) {
|
|
163
|
+
const parts = [];
|
|
164
|
+
parts.push(`${jstr("token")}:${jstr(v.token)}`);
|
|
165
|
+
if (v.bytes !== undefined && v.bytes !== "")
|
|
166
|
+
parts.push(`${jstr("bytes")}:${jstr(v.bytes)}`);
|
|
167
|
+
if (v.media_type !== undefined && v.media_type !== "")
|
|
168
|
+
parts.push(`${jstr("media_type")}:${jstr(v.media_type)}`);
|
|
169
|
+
if (v.tree !== undefined && v.tree !== null)
|
|
170
|
+
parts.push(`${jstr("tree")}:${encodeOpaque(v.tree)}`);
|
|
171
|
+
return `{${parts.join(",")}}`;
|
|
172
|
+
}
|
|
173
|
+
function decodeUnit(data) {
|
|
174
|
+
return JSON.parse(data);
|
|
175
|
+
}
|
|
176
|
+
function encodeJSONPatchOp(v) {
|
|
177
|
+
const parts = [];
|
|
178
|
+
parts.push(`${jstr("scope")}:${jstr(v.scope)}`);
|
|
179
|
+
parts.push(`${jstr("key")}:${jstr(v.key)}`);
|
|
180
|
+
parts.push(`${jstr("op")}:${jstr(v.op)}`);
|
|
181
|
+
parts.push(`${jstr("path")}:${jstr(v.path)}`);
|
|
182
|
+
if (v.value !== undefined && v.value !== null)
|
|
183
|
+
parts.push(`${jstr("value")}:${encodeOpaque(v.value)}`);
|
|
184
|
+
if (v.from !== undefined && v.from !== "")
|
|
185
|
+
parts.push(`${jstr("from")}:${jstr(v.from)}`);
|
|
186
|
+
return `{${parts.join(",")}}`;
|
|
187
|
+
}
|
|
188
|
+
function decodeJSONPatchOp(data) {
|
|
189
|
+
return JSON.parse(data);
|
|
190
|
+
}
|
|
191
|
+
function encodeSideEffect(v) {
|
|
192
|
+
const parts = [];
|
|
193
|
+
parts.push(`${jstr("kind")}:${jstr(v.kind)}`);
|
|
194
|
+
if (v.scope !== undefined && v.scope !== "")
|
|
195
|
+
parts.push(`${jstr("scope")}:${jstr(v.scope)}`);
|
|
196
|
+
if (v.crd !== undefined && v.crd !== null)
|
|
197
|
+
parts.push(`${jstr("crd")}:${encodeOpaque(v.crd)}`);
|
|
198
|
+
if (v.file !== undefined && v.file !== null)
|
|
199
|
+
parts.push(`${jstr("file")}:${encodeSideEffectFile(v.file)}`);
|
|
200
|
+
return `{${parts.join(",")}}`;
|
|
201
|
+
}
|
|
202
|
+
function decodeSideEffect(data) {
|
|
203
|
+
return JSON.parse(data);
|
|
204
|
+
}
|
|
205
|
+
function encodeSideEffectFile(v) {
|
|
206
|
+
const parts = [];
|
|
207
|
+
parts.push(`${jstr("path")}:${jstr(v.path)}`);
|
|
208
|
+
parts.push(`${jstr("content")}:${jstr(v.content)}`);
|
|
209
|
+
return `{${parts.join(",")}}`;
|
|
210
|
+
}
|
|
211
|
+
function decodeSideEffectFile(data) {
|
|
212
|
+
return JSON.parse(data);
|
|
213
|
+
}
|
|
214
|
+
function encodePrecedingStep(v) {
|
|
215
|
+
const parts = [];
|
|
216
|
+
parts.push(`${jstr("index")}:${String(v.index)}`);
|
|
217
|
+
parts.push(`${jstr("plugin_uri")}:${jstr(v.plugin_uri)}`);
|
|
218
|
+
if (v.side_effects !== undefined && v.side_effects.length > 0)
|
|
219
|
+
parts.push(`${jstr("side_effects")}:${`[${v.side_effects.map((e0) => encodeSideEffect(e0)).join(",")}]`}`);
|
|
220
|
+
return `{${parts.join(",")}}`;
|
|
221
|
+
}
|
|
222
|
+
function decodePrecedingStep(data) {
|
|
223
|
+
return JSON.parse(data);
|
|
224
|
+
}
|
|
225
|
+
function encodeCBORFRPStepInput(v) {
|
|
226
|
+
const out = [];
|
|
227
|
+
appendCBORFRPStepInput(out, v);
|
|
228
|
+
return new Uint8Array(out);
|
|
229
|
+
}
|
|
230
|
+
function appendCBORFRPStepInput(out, v) {
|
|
231
|
+
let n = 3;
|
|
232
|
+
if (v.step_input !== undefined && v.step_input.size > 0)
|
|
233
|
+
n++;
|
|
234
|
+
if (v.preceding_steps !== undefined && v.preceding_steps.length > 0)
|
|
235
|
+
n++;
|
|
236
|
+
(0, cbor_gen_ts_1.writeHead)(out, 5, n);
|
|
237
|
+
(0, cbor_gen_ts_1.writeText)(out, "context");
|
|
238
|
+
(0, cbor_gen_ts_1.writeBytes)(out, (0, cbor_gen_ts_1.utf8Encode)(JSON.stringify(v.context)));
|
|
239
|
+
(0, cbor_gen_ts_1.writeText)(out, "documents");
|
|
240
|
+
appendCBORDocumentSet(out, v.documents);
|
|
241
|
+
(0, cbor_gen_ts_1.writeText)(out, "step_index");
|
|
242
|
+
(0, cbor_gen_ts_1.writeInt)(out, v.step_index);
|
|
243
|
+
if (v.step_input !== undefined && v.step_input.size > 0) {
|
|
244
|
+
(0, cbor_gen_ts_1.writeText)(out, "step_input");
|
|
245
|
+
{
|
|
246
|
+
const m0 = v.step_input;
|
|
247
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, m0.size);
|
|
248
|
+
for (const [kk0, vv0] of m0) {
|
|
249
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, 2);
|
|
250
|
+
(0, cbor_gen_ts_1.writeText)(out, kk0);
|
|
251
|
+
(0, cbor_gen_ts_1.writeBytes)(out, (0, cbor_gen_ts_1.utf8Encode)(JSON.stringify(vv0)));
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
if (v.preceding_steps !== undefined && v.preceding_steps.length > 0) {
|
|
256
|
+
(0, cbor_gen_ts_1.writeText)(out, "preceding_steps");
|
|
257
|
+
{
|
|
258
|
+
const a0 = v.preceding_steps;
|
|
259
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, a0.length);
|
|
260
|
+
for (const ee0 of a0) {
|
|
261
|
+
appendCBORPrecedingStep(out, ee0);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
function decodeCBORFRPStepInput(data) {
|
|
267
|
+
const dec = new cbor_gen_ts_1.CborDec(data);
|
|
268
|
+
return decodeCBORFRPStepInputFrom(dec);
|
|
269
|
+
}
|
|
270
|
+
function decodeCBORFRPStepInputFrom(dec) {
|
|
271
|
+
const o = {};
|
|
272
|
+
const n = dec.readMapHeader();
|
|
273
|
+
for (let i = 0; i < n; i++) {
|
|
274
|
+
const k = dec.readText();
|
|
275
|
+
switch (k) {
|
|
276
|
+
case "documents":
|
|
277
|
+
o["documents"] = decodeCBORDocumentSetFrom(dec);
|
|
278
|
+
break;
|
|
279
|
+
case "step_input":
|
|
280
|
+
o["step_input"] = (() => { const m = new Map(); const mn = dec.readArrayHeader(); for (let j = 0; j < mn; j++) {
|
|
281
|
+
const mk = dec.readEntryKey();
|
|
282
|
+
if (m.has(mk))
|
|
283
|
+
throw (0, cbor_gen_ts_1.duplicateKeyError)(mk);
|
|
284
|
+
m.set(mk, JSON.parse((0, cbor_gen_ts_1.utf8Decode)(dec.readBytes())));
|
|
285
|
+
} return m; })();
|
|
286
|
+
break;
|
|
287
|
+
case "context":
|
|
288
|
+
o["context"] = JSON.parse((0, cbor_gen_ts_1.utf8Decode)(dec.readBytes()));
|
|
289
|
+
break;
|
|
290
|
+
case "step_index":
|
|
291
|
+
o["step_index"] = dec.readInt();
|
|
292
|
+
break;
|
|
293
|
+
case "preceding_steps":
|
|
294
|
+
o["preceding_steps"] = (() => { const a = []; const sn = dec.readArrayHeader(); for (let j = 0; j < sn; j++) {
|
|
295
|
+
a.push(decodeCBORPrecedingStepFrom(dec));
|
|
296
|
+
} return a; })();
|
|
297
|
+
break;
|
|
298
|
+
default: dec.skip();
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
return o;
|
|
302
|
+
}
|
|
303
|
+
function encodeCBORFRPStepOutput(v) {
|
|
304
|
+
const out = [];
|
|
305
|
+
appendCBORFRPStepOutput(out, v);
|
|
306
|
+
return new Uint8Array(out);
|
|
307
|
+
}
|
|
308
|
+
function appendCBORFRPStepOutput(out, v) {
|
|
309
|
+
let n = 0;
|
|
310
|
+
if (v.error !== undefined && v.error !== "")
|
|
311
|
+
n++;
|
|
312
|
+
if (v.outputs !== undefined && v.outputs.size > 0)
|
|
313
|
+
n++;
|
|
314
|
+
if (v.patches !== undefined && v.patches.length > 0)
|
|
315
|
+
n++;
|
|
316
|
+
if (v.diagnostics !== undefined && v.diagnostics.length > 0)
|
|
317
|
+
n++;
|
|
318
|
+
if (v.side_effects !== undefined && v.side_effects.length > 0)
|
|
319
|
+
n++;
|
|
320
|
+
(0, cbor_gen_ts_1.writeHead)(out, 5, n);
|
|
321
|
+
if (v.error !== undefined && v.error !== "") {
|
|
322
|
+
(0, cbor_gen_ts_1.writeText)(out, "error");
|
|
323
|
+
(0, cbor_gen_ts_1.writeText)(out, v.error);
|
|
324
|
+
}
|
|
325
|
+
if (v.outputs !== undefined && v.outputs.size > 0) {
|
|
326
|
+
(0, cbor_gen_ts_1.writeText)(out, "outputs");
|
|
327
|
+
{
|
|
328
|
+
const m0 = v.outputs;
|
|
329
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, m0.size);
|
|
330
|
+
for (const [kk0, vv0] of m0) {
|
|
331
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, 2);
|
|
332
|
+
(0, cbor_gen_ts_1.writeText)(out, kk0);
|
|
333
|
+
(0, cbor_gen_ts_1.writeBytes)(out, (0, cbor_gen_ts_1.utf8Encode)(JSON.stringify(vv0)));
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
if (v.patches !== undefined && v.patches.length > 0) {
|
|
338
|
+
(0, cbor_gen_ts_1.writeText)(out, "patches");
|
|
339
|
+
{
|
|
340
|
+
const a0 = v.patches;
|
|
341
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, a0.length);
|
|
342
|
+
for (const ee0 of a0) {
|
|
343
|
+
appendCBORJSONPatchOp(out, ee0);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
if (v.diagnostics !== undefined && v.diagnostics.length > 0) {
|
|
348
|
+
(0, cbor_gen_ts_1.writeText)(out, "diagnostics");
|
|
349
|
+
{
|
|
350
|
+
const a0 = v.diagnostics;
|
|
351
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, a0.length);
|
|
352
|
+
for (const ee0 of a0) {
|
|
353
|
+
(0, diagnostic_gen_ts_2.appendCBORDiagnostic)(out, ee0);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
if (v.side_effects !== undefined && v.side_effects.length > 0) {
|
|
358
|
+
(0, cbor_gen_ts_1.writeText)(out, "side_effects");
|
|
359
|
+
{
|
|
360
|
+
const a0 = v.side_effects;
|
|
361
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, a0.length);
|
|
362
|
+
for (const ee0 of a0) {
|
|
363
|
+
appendCBORSideEffect(out, ee0);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
function decodeCBORFRPStepOutput(data) {
|
|
369
|
+
const dec = new cbor_gen_ts_1.CborDec(data);
|
|
370
|
+
return decodeCBORFRPStepOutputFrom(dec);
|
|
371
|
+
}
|
|
372
|
+
function decodeCBORFRPStepOutputFrom(dec) {
|
|
373
|
+
const o = {};
|
|
374
|
+
const n = dec.readMapHeader();
|
|
375
|
+
for (let i = 0; i < n; i++) {
|
|
376
|
+
const k = dec.readText();
|
|
377
|
+
switch (k) {
|
|
378
|
+
case "patches":
|
|
379
|
+
o["patches"] = (() => { const a = []; const sn = dec.readArrayHeader(); for (let j = 0; j < sn; j++) {
|
|
380
|
+
a.push(decodeCBORJSONPatchOpFrom(dec));
|
|
381
|
+
} return a; })();
|
|
382
|
+
break;
|
|
383
|
+
case "side_effects":
|
|
384
|
+
o["side_effects"] = (() => { const a = []; const sn = dec.readArrayHeader(); for (let j = 0; j < sn; j++) {
|
|
385
|
+
a.push(decodeCBORSideEffectFrom(dec));
|
|
386
|
+
} return a; })();
|
|
387
|
+
break;
|
|
388
|
+
case "diagnostics":
|
|
389
|
+
o["diagnostics"] = (() => { const a = []; const sn = dec.readArrayHeader(); for (let j = 0; j < sn; j++) {
|
|
390
|
+
a.push((0, diagnostic_gen_ts_2.decodeCBORDiagnosticFrom)(dec));
|
|
391
|
+
} return a; })();
|
|
392
|
+
break;
|
|
393
|
+
case "outputs":
|
|
394
|
+
o["outputs"] = (() => { const m = new Map(); const mn = dec.readArrayHeader(); for (let j = 0; j < mn; j++) {
|
|
395
|
+
const mk = dec.readEntryKey();
|
|
396
|
+
if (m.has(mk))
|
|
397
|
+
throw (0, cbor_gen_ts_1.duplicateKeyError)(mk);
|
|
398
|
+
m.set(mk, JSON.parse((0, cbor_gen_ts_1.utf8Decode)(dec.readBytes())));
|
|
399
|
+
} return m; })();
|
|
400
|
+
break;
|
|
401
|
+
case "error":
|
|
402
|
+
o["error"] = dec.readText();
|
|
403
|
+
break;
|
|
404
|
+
default: dec.skip();
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
return o;
|
|
408
|
+
}
|
|
409
|
+
function encodeCBORDocumentSet(v) {
|
|
410
|
+
const out = [];
|
|
411
|
+
appendCBORDocumentSet(out, v);
|
|
412
|
+
return new Uint8Array(out);
|
|
413
|
+
}
|
|
414
|
+
function appendCBORDocumentSet(out, v) {
|
|
415
|
+
let n = 1;
|
|
416
|
+
if (v.host !== undefined && v.host.size > 0)
|
|
417
|
+
n++;
|
|
418
|
+
(0, cbor_gen_ts_1.writeHead)(out, 5, n);
|
|
419
|
+
(0, cbor_gen_ts_1.writeText)(out, "own");
|
|
420
|
+
{
|
|
421
|
+
const m0 = v.own;
|
|
422
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, m0.size);
|
|
423
|
+
for (const [kk0, vv0] of m0) {
|
|
424
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, 2);
|
|
425
|
+
(0, cbor_gen_ts_1.writeText)(out, kk0);
|
|
426
|
+
appendCBORUnit(out, vv0);
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
if (v.host !== undefined && v.host.size > 0) {
|
|
430
|
+
(0, cbor_gen_ts_1.writeText)(out, "host");
|
|
431
|
+
{
|
|
432
|
+
const m0 = v.host;
|
|
433
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, m0.size);
|
|
434
|
+
for (const [kk0, vv0] of m0) {
|
|
435
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, 2);
|
|
436
|
+
(0, cbor_gen_ts_1.writeText)(out, kk0);
|
|
437
|
+
appendCBORUnit(out, vv0);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
function decodeCBORDocumentSet(data) {
|
|
443
|
+
const dec = new cbor_gen_ts_1.CborDec(data);
|
|
444
|
+
return decodeCBORDocumentSetFrom(dec);
|
|
445
|
+
}
|
|
446
|
+
function decodeCBORDocumentSetFrom(dec) {
|
|
447
|
+
const o = {};
|
|
448
|
+
const n = dec.readMapHeader();
|
|
449
|
+
for (let i = 0; i < n; i++) {
|
|
450
|
+
const k = dec.readText();
|
|
451
|
+
switch (k) {
|
|
452
|
+
case "own":
|
|
453
|
+
o["own"] = (() => { const m = new Map(); const mn = dec.readArrayHeader(); for (let j = 0; j < mn; j++) {
|
|
454
|
+
const mk = dec.readEntryKey();
|
|
455
|
+
if (m.has(mk))
|
|
456
|
+
throw (0, cbor_gen_ts_1.duplicateKeyError)(mk);
|
|
457
|
+
m.set(mk, decodeCBORUnitFrom(dec));
|
|
458
|
+
} return m; })();
|
|
459
|
+
break;
|
|
460
|
+
case "host":
|
|
461
|
+
o["host"] = (() => { const m = new Map(); const mn = dec.readArrayHeader(); for (let j = 0; j < mn; j++) {
|
|
462
|
+
const mk = dec.readEntryKey();
|
|
463
|
+
if (m.has(mk))
|
|
464
|
+
throw (0, cbor_gen_ts_1.duplicateKeyError)(mk);
|
|
465
|
+
m.set(mk, decodeCBORUnitFrom(dec));
|
|
466
|
+
} return m; })();
|
|
467
|
+
break;
|
|
468
|
+
default: dec.skip();
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
return o;
|
|
472
|
+
}
|
|
473
|
+
function encodeCBORUnit(v) {
|
|
474
|
+
const out = [];
|
|
475
|
+
appendCBORUnit(out, v);
|
|
476
|
+
return new Uint8Array(out);
|
|
477
|
+
}
|
|
478
|
+
function appendCBORUnit(out, v) {
|
|
479
|
+
let n = 1;
|
|
480
|
+
if (v.tree !== undefined && v.tree !== null)
|
|
481
|
+
n++;
|
|
482
|
+
if (v.bytes !== undefined && v.bytes !== "")
|
|
483
|
+
n++;
|
|
484
|
+
if (v.media_type !== undefined && v.media_type !== "")
|
|
485
|
+
n++;
|
|
486
|
+
(0, cbor_gen_ts_1.writeHead)(out, 5, n);
|
|
487
|
+
if (v.tree !== undefined && v.tree !== null) {
|
|
488
|
+
(0, cbor_gen_ts_1.writeText)(out, "tree");
|
|
489
|
+
(0, cbor_gen_ts_1.writeBytes)(out, (0, cbor_gen_ts_1.utf8Encode)(JSON.stringify(v.tree)));
|
|
490
|
+
}
|
|
491
|
+
if (v.bytes !== undefined && v.bytes !== "") {
|
|
492
|
+
(0, cbor_gen_ts_1.writeText)(out, "bytes");
|
|
493
|
+
(0, cbor_gen_ts_1.writeBytes)(out, (0, cbor_gen_ts_1.b64decode)(v.bytes));
|
|
494
|
+
}
|
|
495
|
+
(0, cbor_gen_ts_1.writeText)(out, "token");
|
|
496
|
+
(0, cbor_gen_ts_1.writeText)(out, v.token);
|
|
497
|
+
if (v.media_type !== undefined && v.media_type !== "") {
|
|
498
|
+
(0, cbor_gen_ts_1.writeText)(out, "media_type");
|
|
499
|
+
(0, cbor_gen_ts_1.writeText)(out, v.media_type);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
function decodeCBORUnit(data) {
|
|
503
|
+
const dec = new cbor_gen_ts_1.CborDec(data);
|
|
504
|
+
return decodeCBORUnitFrom(dec);
|
|
505
|
+
}
|
|
506
|
+
function decodeCBORUnitFrom(dec) {
|
|
507
|
+
const o = {};
|
|
508
|
+
const n = dec.readMapHeader();
|
|
509
|
+
for (let i = 0; i < n; i++) {
|
|
510
|
+
const k = dec.readText();
|
|
511
|
+
switch (k) {
|
|
512
|
+
case "token":
|
|
513
|
+
o["token"] = dec.readText();
|
|
514
|
+
break;
|
|
515
|
+
case "bytes":
|
|
516
|
+
o["bytes"] = (0, cbor_gen_ts_1.b64encode)(dec.readBytes());
|
|
517
|
+
break;
|
|
518
|
+
case "media_type":
|
|
519
|
+
o["media_type"] = dec.readText();
|
|
520
|
+
break;
|
|
521
|
+
case "tree":
|
|
522
|
+
o["tree"] = JSON.parse((0, cbor_gen_ts_1.utf8Decode)(dec.readBytes()));
|
|
523
|
+
break;
|
|
524
|
+
default: dec.skip();
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
return o;
|
|
528
|
+
}
|
|
529
|
+
function encodeCBORJSONPatchOp(v) {
|
|
530
|
+
const out = [];
|
|
531
|
+
appendCBORJSONPatchOp(out, v);
|
|
532
|
+
return new Uint8Array(out);
|
|
533
|
+
}
|
|
534
|
+
function appendCBORJSONPatchOp(out, v) {
|
|
535
|
+
let n = 4;
|
|
536
|
+
if (v.from !== undefined && v.from !== "")
|
|
537
|
+
n++;
|
|
538
|
+
if (v.value !== undefined && v.value !== null)
|
|
539
|
+
n++;
|
|
540
|
+
(0, cbor_gen_ts_1.writeHead)(out, 5, n);
|
|
541
|
+
(0, cbor_gen_ts_1.writeText)(out, "op");
|
|
542
|
+
(0, cbor_gen_ts_1.writeText)(out, v.op);
|
|
543
|
+
(0, cbor_gen_ts_1.writeText)(out, "key");
|
|
544
|
+
(0, cbor_gen_ts_1.writeText)(out, v.key);
|
|
545
|
+
if (v.from !== undefined && v.from !== "") {
|
|
546
|
+
(0, cbor_gen_ts_1.writeText)(out, "from");
|
|
547
|
+
(0, cbor_gen_ts_1.writeText)(out, v.from);
|
|
548
|
+
}
|
|
549
|
+
(0, cbor_gen_ts_1.writeText)(out, "path");
|
|
550
|
+
(0, cbor_gen_ts_1.writeText)(out, v.path);
|
|
551
|
+
(0, cbor_gen_ts_1.writeText)(out, "scope");
|
|
552
|
+
(0, cbor_gen_ts_1.writeText)(out, v.scope);
|
|
553
|
+
if (v.value !== undefined && v.value !== null) {
|
|
554
|
+
(0, cbor_gen_ts_1.writeText)(out, "value");
|
|
555
|
+
(0, cbor_gen_ts_1.writeBytes)(out, (0, cbor_gen_ts_1.utf8Encode)(JSON.stringify(v.value)));
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
function decodeCBORJSONPatchOp(data) {
|
|
559
|
+
const dec = new cbor_gen_ts_1.CborDec(data);
|
|
560
|
+
return decodeCBORJSONPatchOpFrom(dec);
|
|
561
|
+
}
|
|
562
|
+
function decodeCBORJSONPatchOpFrom(dec) {
|
|
563
|
+
const o = {};
|
|
564
|
+
const n = dec.readMapHeader();
|
|
565
|
+
for (let i = 0; i < n; i++) {
|
|
566
|
+
const k = dec.readText();
|
|
567
|
+
switch (k) {
|
|
568
|
+
case "scope":
|
|
569
|
+
o["scope"] = dec.readText();
|
|
570
|
+
break;
|
|
571
|
+
case "key":
|
|
572
|
+
o["key"] = dec.readText();
|
|
573
|
+
break;
|
|
574
|
+
case "op":
|
|
575
|
+
o["op"] = dec.readText();
|
|
576
|
+
break;
|
|
577
|
+
case "path":
|
|
578
|
+
o["path"] = dec.readText();
|
|
579
|
+
break;
|
|
580
|
+
case "value":
|
|
581
|
+
o["value"] = JSON.parse((0, cbor_gen_ts_1.utf8Decode)(dec.readBytes()));
|
|
582
|
+
break;
|
|
583
|
+
case "from":
|
|
584
|
+
o["from"] = dec.readText();
|
|
585
|
+
break;
|
|
586
|
+
default: dec.skip();
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
return o;
|
|
590
|
+
}
|
|
591
|
+
function encodeCBORSideEffect(v) {
|
|
592
|
+
const out = [];
|
|
593
|
+
appendCBORSideEffect(out, v);
|
|
594
|
+
return new Uint8Array(out);
|
|
595
|
+
}
|
|
596
|
+
function appendCBORSideEffect(out, v) {
|
|
597
|
+
let n = 1;
|
|
598
|
+
if (v.crd !== undefined && v.crd !== null)
|
|
599
|
+
n++;
|
|
600
|
+
if (v.file !== undefined && v.file !== null)
|
|
601
|
+
n++;
|
|
602
|
+
if (v.scope !== undefined && v.scope !== "")
|
|
603
|
+
n++;
|
|
604
|
+
(0, cbor_gen_ts_1.writeHead)(out, 5, n);
|
|
605
|
+
if (v.crd !== undefined && v.crd !== null) {
|
|
606
|
+
(0, cbor_gen_ts_1.writeText)(out, "crd");
|
|
607
|
+
(0, cbor_gen_ts_1.writeBytes)(out, (0, cbor_gen_ts_1.utf8Encode)(JSON.stringify(v.crd)));
|
|
608
|
+
}
|
|
609
|
+
if (v.file !== undefined && v.file !== null) {
|
|
610
|
+
(0, cbor_gen_ts_1.writeText)(out, "file");
|
|
611
|
+
appendCBORSideEffectFile(out, v.file);
|
|
612
|
+
}
|
|
613
|
+
(0, cbor_gen_ts_1.writeText)(out, "kind");
|
|
614
|
+
(0, cbor_gen_ts_1.writeText)(out, v.kind);
|
|
615
|
+
if (v.scope !== undefined && v.scope !== "") {
|
|
616
|
+
(0, cbor_gen_ts_1.writeText)(out, "scope");
|
|
617
|
+
(0, cbor_gen_ts_1.writeText)(out, v.scope);
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
function decodeCBORSideEffect(data) {
|
|
621
|
+
const dec = new cbor_gen_ts_1.CborDec(data);
|
|
622
|
+
return decodeCBORSideEffectFrom(dec);
|
|
623
|
+
}
|
|
624
|
+
function decodeCBORSideEffectFrom(dec) {
|
|
625
|
+
const o = {};
|
|
626
|
+
const n = dec.readMapHeader();
|
|
627
|
+
for (let i = 0; i < n; i++) {
|
|
628
|
+
const k = dec.readText();
|
|
629
|
+
switch (k) {
|
|
630
|
+
case "kind":
|
|
631
|
+
o["kind"] = dec.readText();
|
|
632
|
+
break;
|
|
633
|
+
case "scope":
|
|
634
|
+
o["scope"] = dec.readText();
|
|
635
|
+
break;
|
|
636
|
+
case "crd":
|
|
637
|
+
o["crd"] = JSON.parse((0, cbor_gen_ts_1.utf8Decode)(dec.readBytes()));
|
|
638
|
+
break;
|
|
639
|
+
case "file":
|
|
640
|
+
o["file"] = decodeCBORSideEffectFileFrom(dec);
|
|
641
|
+
break;
|
|
642
|
+
default: dec.skip();
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
return o;
|
|
646
|
+
}
|
|
647
|
+
function encodeCBORSideEffectFile(v) {
|
|
648
|
+
const out = [];
|
|
649
|
+
appendCBORSideEffectFile(out, v);
|
|
650
|
+
return new Uint8Array(out);
|
|
651
|
+
}
|
|
652
|
+
function appendCBORSideEffectFile(out, v) {
|
|
653
|
+
let n = 2;
|
|
654
|
+
(0, cbor_gen_ts_1.writeHead)(out, 5, n);
|
|
655
|
+
(0, cbor_gen_ts_1.writeText)(out, "path");
|
|
656
|
+
(0, cbor_gen_ts_1.writeText)(out, v.path);
|
|
657
|
+
(0, cbor_gen_ts_1.writeText)(out, "content");
|
|
658
|
+
(0, cbor_gen_ts_1.writeText)(out, v.content);
|
|
659
|
+
}
|
|
660
|
+
function decodeCBORSideEffectFile(data) {
|
|
661
|
+
const dec = new cbor_gen_ts_1.CborDec(data);
|
|
662
|
+
return decodeCBORSideEffectFileFrom(dec);
|
|
663
|
+
}
|
|
664
|
+
function decodeCBORSideEffectFileFrom(dec) {
|
|
665
|
+
const o = {};
|
|
666
|
+
const n = dec.readMapHeader();
|
|
667
|
+
for (let i = 0; i < n; i++) {
|
|
668
|
+
const k = dec.readText();
|
|
669
|
+
switch (k) {
|
|
670
|
+
case "path":
|
|
671
|
+
o["path"] = dec.readText();
|
|
672
|
+
break;
|
|
673
|
+
case "content":
|
|
674
|
+
o["content"] = dec.readText();
|
|
675
|
+
break;
|
|
676
|
+
default: dec.skip();
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
return o;
|
|
680
|
+
}
|
|
681
|
+
function encodeCBORPrecedingStep(v) {
|
|
682
|
+
const out = [];
|
|
683
|
+
appendCBORPrecedingStep(out, v);
|
|
684
|
+
return new Uint8Array(out);
|
|
685
|
+
}
|
|
686
|
+
function appendCBORPrecedingStep(out, v) {
|
|
687
|
+
let n = 2;
|
|
688
|
+
if (v.side_effects !== undefined && v.side_effects.length > 0)
|
|
689
|
+
n++;
|
|
690
|
+
(0, cbor_gen_ts_1.writeHead)(out, 5, n);
|
|
691
|
+
(0, cbor_gen_ts_1.writeText)(out, "index");
|
|
692
|
+
(0, cbor_gen_ts_1.writeInt)(out, v.index);
|
|
693
|
+
(0, cbor_gen_ts_1.writeText)(out, "plugin_uri");
|
|
694
|
+
(0, cbor_gen_ts_1.writeText)(out, v.plugin_uri);
|
|
695
|
+
if (v.side_effects !== undefined && v.side_effects.length > 0) {
|
|
696
|
+
(0, cbor_gen_ts_1.writeText)(out, "side_effects");
|
|
697
|
+
{
|
|
698
|
+
const a0 = v.side_effects;
|
|
699
|
+
(0, cbor_gen_ts_1.writeHead)(out, 4, a0.length);
|
|
700
|
+
for (const ee0 of a0) {
|
|
701
|
+
appendCBORSideEffect(out, ee0);
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
function decodeCBORPrecedingStep(data) {
|
|
707
|
+
const dec = new cbor_gen_ts_1.CborDec(data);
|
|
708
|
+
return decodeCBORPrecedingStepFrom(dec);
|
|
709
|
+
}
|
|
710
|
+
function decodeCBORPrecedingStepFrom(dec) {
|
|
711
|
+
const o = {};
|
|
712
|
+
const n = dec.readMapHeader();
|
|
713
|
+
for (let i = 0; i < n; i++) {
|
|
714
|
+
const k = dec.readText();
|
|
715
|
+
switch (k) {
|
|
716
|
+
case "index":
|
|
717
|
+
o["index"] = dec.readInt();
|
|
718
|
+
break;
|
|
719
|
+
case "plugin_uri":
|
|
720
|
+
o["plugin_uri"] = dec.readText();
|
|
721
|
+
break;
|
|
722
|
+
case "side_effects":
|
|
723
|
+
o["side_effects"] = (() => { const a = []; const sn = dec.readArrayHeader(); for (let j = 0; j < sn; j++) {
|
|
724
|
+
a.push(decodeCBORSideEffectFrom(dec));
|
|
725
|
+
} return a; })();
|
|
726
|
+
break;
|
|
727
|
+
default: dec.skip();
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
return o;
|
|
731
|
+
}
|