@flyingrobots/graft 0.10.0 → 0.11.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/CHANGELOG.md +102 -0
- package/README.md +41 -0
- package/dist/adapters/edict-cli-projection-provider.d.ts +13 -0
- package/dist/adapters/edict-cli-projection-provider.d.ts.map +1 -0
- package/dist/adapters/edict-cli-projection-provider.js +71 -0
- package/dist/adapters/edict-cli-projection-provider.js.map +1 -0
- package/dist/adapters/fake-echo-kernel-transport.d.ts.map +1 -1
- package/dist/adapters/fake-echo-kernel-transport.js +7 -29
- package/dist/adapters/fake-echo-kernel-transport.js.map +1 -1
- package/dist/api/index.d.ts +16 -2
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +15 -1
- package/dist/api/index.js.map +1 -1
- package/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/main.js +10 -1
- package/dist/cli/main.js.map +1 -1
- package/dist/contracts/review-digest.d.ts +2 -0
- package/dist/contracts/review-digest.d.ts.map +1 -0
- package/dist/contracts/review-digest.js +145 -0
- package/dist/contracts/review-digest.js.map +1 -0
- package/dist/echo/codec-runtime.d.ts +2 -7
- package/dist/echo/codec-runtime.d.ts.map +1 -1
- package/dist/echo/codec-runtime.js +2 -7
- package/dist/echo/codec-runtime.js.map +1 -1
- package/dist/echo/structural-history-client.d.ts.map +1 -1
- package/dist/echo/structural-history-client.js +3 -3
- package/dist/echo/structural-history-client.js.map +1 -1
- package/dist/echo/structural-history-envelope-codec.d.ts +7 -0
- package/dist/echo/structural-history-envelope-codec.d.ts.map +1 -1
- package/dist/echo/structural-history-envelope-codec.js +7 -0
- package/dist/echo/structural-history-envelope-codec.js.map +1 -1
- package/dist/generated/graft-structural-history.codec.generated.d.ts +192 -38
- package/dist/generated/graft-structural-history.codec.generated.d.ts.map +1 -1
- package/dist/generated/graft-structural-history.codec.generated.js +412 -113
- package/dist/generated/graft-structural-history.codec.generated.js.map +1 -1
- package/dist/mcp/tools/changed-since.js +2 -2
- package/dist/mcp/tools/changed-since.js.map +1 -1
- package/dist/operations/cached-file.js +2 -2
- package/dist/operations/cached-file.js.map +1 -1
- package/dist/operations/colorful-prose-projection.d.ts.map +1 -1
- package/dist/operations/colorful-prose-projection.js +9 -2
- package/dist/operations/colorful-prose-projection.js.map +1 -1
- package/dist/operations/edict-projection.d.ts +126 -0
- package/dist/operations/edict-projection.d.ts.map +1 -0
- package/dist/operations/edict-projection.js +394 -0
- package/dist/operations/edict-projection.js.map +1 -0
- package/dist/operations/projection-profile-resolver.d.ts +67 -0
- package/dist/operations/projection-profile-resolver.d.ts.map +1 -0
- package/dist/operations/projection-profile-resolver.js +368 -0
- package/dist/operations/projection-profile-resolver.js.map +1 -0
- package/dist/operations/projection-provider-registry.d.ts +30 -0
- package/dist/operations/projection-provider-registry.d.ts.map +1 -0
- package/dist/operations/projection-provider-registry.js +86 -0
- package/dist/operations/projection-provider-registry.js.map +1 -0
- package/dist/operations/repo-workspace.js +2 -2
- package/dist/operations/repo-workspace.js.map +1 -1
- package/dist/operations/structured-buffer-model.d.ts +28 -3
- package/dist/operations/structured-buffer-model.d.ts.map +1 -1
- package/dist/operations/structured-buffer-model.js +168 -7
- package/dist/operations/structured-buffer-model.js.map +1 -1
- package/dist/operations/structured-buffer-query.d.ts.map +1 -1
- package/dist/operations/structured-buffer-query.js +231 -6
- package/dist/operations/structured-buffer-query.js.map +1 -1
- package/dist/operations/structured-buffer.d.ts +19 -1
- package/dist/operations/structured-buffer.d.ts.map +1 -1
- package/dist/operations/structured-buffer.js +11 -0
- package/dist/operations/structured-buffer.js.map +1 -1
- package/dist/operations/wesley-projection.d.ts +67 -0
- package/dist/operations/wesley-projection.d.ts.map +1 -0
- package/dist/operations/wesley-projection.js +2 -0
- package/dist/operations/wesley-projection.js.map +1 -0
- package/dist/operations/xml-syntax.d.ts +5 -0
- package/dist/operations/xml-syntax.d.ts.map +1 -0
- package/dist/operations/xml-syntax.js +155 -0
- package/dist/operations/xml-syntax.js.map +1 -0
- package/dist/parser/lang.d.ts +9 -1
- package/dist/parser/lang.d.ts.map +1 -1
- package/dist/parser/lang.js +20 -0
- package/dist/parser/lang.js.map +1 -1
- package/dist/parser/outline.d.ts.map +1 -1
- package/dist/parser/outline.js +9 -3
- package/dist/parser/outline.js.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,90 @@
|
|
|
3
3
|
//
|
|
4
4
|
// Wire layout is Wesley little-endian variable codec v0. Field order is SDL
|
|
5
5
|
// declaration order. Enums encode their zero-based variant index as u32 LE.
|
|
6
|
-
import { Writer, Reader, CodecError } from '../echo/codec-runtime.js';
|
|
6
|
+
import { Writer as RuntimeWriter, Reader as RuntimeReader, CodecError as RuntimeCodecError } from '../echo/codec-runtime.js';
|
|
7
|
+
function ok(value) {
|
|
8
|
+
return { ok: true, value };
|
|
9
|
+
}
|
|
10
|
+
function err(error) {
|
|
11
|
+
return { ok: false, error };
|
|
12
|
+
}
|
|
13
|
+
function codecErrorFromUnknown(error) {
|
|
14
|
+
if (error instanceof RuntimeCodecError) {
|
|
15
|
+
return error;
|
|
16
|
+
}
|
|
17
|
+
if (error instanceof Error) {
|
|
18
|
+
return new RuntimeCodecError(error.message);
|
|
19
|
+
}
|
|
20
|
+
return new RuntimeCodecError(String(error));
|
|
21
|
+
}
|
|
22
|
+
function decodeWithBoundary(b, read) {
|
|
23
|
+
try {
|
|
24
|
+
const r = new RuntimeReader(b);
|
|
25
|
+
const value = read(r);
|
|
26
|
+
if (r.remaining() > 0) {
|
|
27
|
+
return err(new RuntimeCodecError('trailing bytes after decode'));
|
|
28
|
+
}
|
|
29
|
+
return ok(value);
|
|
30
|
+
}
|
|
31
|
+
catch (error) {
|
|
32
|
+
return err(codecErrorFromUnknown(error));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
// Graft's structural-history schema uses custom scalars before Wesley
|
|
36
|
+
// exposes TypeScript scalar codec ports. Keep these shims deterministic and
|
|
37
|
+
// local to the generated structural-history codec artifact.
|
|
38
|
+
function _encHash(w, v) {
|
|
39
|
+
if (typeof v !== 'string') {
|
|
40
|
+
throw new RuntimeCodecError('Hash scalar must encode from a string');
|
|
41
|
+
}
|
|
42
|
+
w.writeString(v);
|
|
43
|
+
}
|
|
44
|
+
function _decHash(r) {
|
|
45
|
+
return r.readString();
|
|
46
|
+
}
|
|
47
|
+
function _encJson(w, v) {
|
|
48
|
+
const encoded = JSON.stringify(v);
|
|
49
|
+
if (encoded === undefined) {
|
|
50
|
+
throw new RuntimeCodecError('Json scalar must be JSON-serializable');
|
|
51
|
+
}
|
|
52
|
+
w.writeString(encoded);
|
|
53
|
+
}
|
|
54
|
+
function _decJson(r) {
|
|
55
|
+
try {
|
|
56
|
+
return JSON.parse(r.readString());
|
|
57
|
+
}
|
|
58
|
+
catch (error) {
|
|
59
|
+
throw codecErrorFromUnknown(error);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export function _encGitWarpImportBatch(w, v) {
|
|
63
|
+
w.writeString(v.importBatchId);
|
|
64
|
+
w.writeString(v.repositoryId);
|
|
65
|
+
w.writeString(v.sourceRef);
|
|
66
|
+
w.writeString(v.importedBasisId);
|
|
67
|
+
_encMigrationParityStatus(w, v.parity);
|
|
68
|
+
w.writeI32Le(v.importedReadingCount);
|
|
69
|
+
w.writeString(v.summary);
|
|
70
|
+
}
|
|
71
|
+
export function _decGitWarpImportBatch(r) {
|
|
72
|
+
return {
|
|
73
|
+
importBatchId: r.readString(),
|
|
74
|
+
repositoryId: r.readString(),
|
|
75
|
+
sourceRef: r.readString(),
|
|
76
|
+
importedBasisId: r.readString(),
|
|
77
|
+
parity: _decMigrationParityStatus(r),
|
|
78
|
+
importedReadingCount: r.readI32Le(),
|
|
79
|
+
summary: r.readString(),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export function _encGraftStructuralHistoryInvariants(w, v) {
|
|
83
|
+
w.writeOption(v._placeholder, (w, x) => w.writeBool(x));
|
|
84
|
+
}
|
|
85
|
+
export function _decGraftStructuralHistoryInvariants(r) {
|
|
86
|
+
return {
|
|
87
|
+
_placeholder: r.readOption((r) => r.readBool()),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
7
90
|
export function _encMigrationParityStatus(w, v) {
|
|
8
91
|
switch (v) {
|
|
9
92
|
case 'NOT_CHECKED':
|
|
@@ -18,7 +101,7 @@ export function _encMigrationParityStatus(w, v) {
|
|
|
18
101
|
case 'PARTIAL':
|
|
19
102
|
w.writeU32Le(3);
|
|
20
103
|
return;
|
|
21
|
-
default: throw new
|
|
104
|
+
default: throw new RuntimeCodecError('invalid MigrationParityStatus variant: ' + String(v));
|
|
22
105
|
}
|
|
23
106
|
}
|
|
24
107
|
export function _decMigrationParityStatus(r) {
|
|
@@ -28,16 +111,16 @@ export function _decMigrationParityStatus(r) {
|
|
|
28
111
|
case 1: return 'MATCHED';
|
|
29
112
|
case 2: return 'MISMATCHED';
|
|
30
113
|
case 3: return 'PARTIAL';
|
|
31
|
-
default: throw new
|
|
114
|
+
default: throw new RuntimeCodecError('invalid MigrationParityStatus discriminant: ' + String(d));
|
|
32
115
|
}
|
|
33
116
|
}
|
|
34
117
|
export function encodeMigrationParityStatus(v) {
|
|
35
|
-
const w = new
|
|
118
|
+
const w = new RuntimeWriter();
|
|
36
119
|
_encMigrationParityStatus(w, v);
|
|
37
120
|
return w.finish();
|
|
38
121
|
}
|
|
39
122
|
export function decodeMigrationParityStatus(b) {
|
|
40
|
-
return
|
|
123
|
+
return decodeWithBoundary(b, (r) => _decMigrationParityStatus(r));
|
|
41
124
|
}
|
|
42
125
|
export function _encRecordGitWarpImportBatchInput(w, v) {
|
|
43
126
|
w.writeString(v.importBatchId);
|
|
@@ -70,7 +153,7 @@ export function _encSourceSpanEncoding(w, v) {
|
|
|
70
153
|
case 'LINE_COLUMN':
|
|
71
154
|
w.writeU32Le(2);
|
|
72
155
|
return;
|
|
73
|
-
default: throw new
|
|
156
|
+
default: throw new RuntimeCodecError('invalid SourceSpanEncoding variant: ' + String(v));
|
|
74
157
|
}
|
|
75
158
|
}
|
|
76
159
|
export function _decSourceSpanEncoding(r) {
|
|
@@ -79,16 +162,38 @@ export function _decSourceSpanEncoding(r) {
|
|
|
79
162
|
case 0: return 'UTF8_BYTE_RANGE';
|
|
80
163
|
case 1: return 'UTF16_CODE_UNIT_RANGE';
|
|
81
164
|
case 2: return 'LINE_COLUMN';
|
|
82
|
-
default: throw new
|
|
165
|
+
default: throw new RuntimeCodecError('invalid SourceSpanEncoding discriminant: ' + String(d));
|
|
83
166
|
}
|
|
84
167
|
}
|
|
85
168
|
export function encodeSourceSpanEncoding(v) {
|
|
86
|
-
const w = new
|
|
169
|
+
const w = new RuntimeWriter();
|
|
87
170
|
_encSourceSpanEncoding(w, v);
|
|
88
171
|
return w.finish();
|
|
89
172
|
}
|
|
90
173
|
export function decodeSourceSpanEncoding(b) {
|
|
91
|
-
return
|
|
174
|
+
return decodeWithBoundary(b, (r) => _decSourceSpanEncoding(r));
|
|
175
|
+
}
|
|
176
|
+
export function _encStructuralBasis(w, v) {
|
|
177
|
+
w.writeString(v.basisId);
|
|
178
|
+
w.writeString(v.repositoryId);
|
|
179
|
+
_encStructuralBasisKind(w, v.basisKind);
|
|
180
|
+
w.writeOption(v.commitId, (w, x) => w.writeString(x));
|
|
181
|
+
w.writeOption(v.refName, (w, x) => w.writeString(x));
|
|
182
|
+
w.writeOption(v.echoHeadId, (w, x) => w.writeString(x));
|
|
183
|
+
w.writeOption(v.importBatchId, (w, x) => w.writeString(x));
|
|
184
|
+
w.writeString(v.summary);
|
|
185
|
+
}
|
|
186
|
+
export function _decStructuralBasis(r) {
|
|
187
|
+
return {
|
|
188
|
+
basisId: r.readString(),
|
|
189
|
+
repositoryId: r.readString(),
|
|
190
|
+
basisKind: _decStructuralBasisKind(r),
|
|
191
|
+
commitId: r.readOption((r) => r.readString()),
|
|
192
|
+
refName: r.readOption((r) => r.readString()),
|
|
193
|
+
echoHeadId: r.readOption((r) => r.readString()),
|
|
194
|
+
importBatchId: r.readOption((r) => r.readString()),
|
|
195
|
+
summary: r.readString(),
|
|
196
|
+
};
|
|
92
197
|
}
|
|
93
198
|
export function _encStructuralBasisKind(w, v) {
|
|
94
199
|
switch (v) {
|
|
@@ -110,7 +215,7 @@ export function _encStructuralBasisKind(w, v) {
|
|
|
110
215
|
case 'UNPINNED_COMMITTED':
|
|
111
216
|
w.writeU32Le(5);
|
|
112
217
|
return;
|
|
113
|
-
default: throw new
|
|
218
|
+
default: throw new RuntimeCodecError('invalid StructuralBasisKind variant: ' + String(v));
|
|
114
219
|
}
|
|
115
220
|
}
|
|
116
221
|
export function _decStructuralBasisKind(r) {
|
|
@@ -122,16 +227,16 @@ export function _decStructuralBasisKind(r) {
|
|
|
122
227
|
case 3: return 'LIVE_FRONTIER';
|
|
123
228
|
case 4: return 'IMPORT_BATCH';
|
|
124
229
|
case 5: return 'UNPINNED_COMMITTED';
|
|
125
|
-
default: throw new
|
|
230
|
+
default: throw new RuntimeCodecError('invalid StructuralBasisKind discriminant: ' + String(d));
|
|
126
231
|
}
|
|
127
232
|
}
|
|
128
233
|
export function encodeStructuralBasisKind(v) {
|
|
129
|
-
const w = new
|
|
234
|
+
const w = new RuntimeWriter();
|
|
130
235
|
_encStructuralBasisKind(w, v);
|
|
131
236
|
return w.finish();
|
|
132
237
|
}
|
|
133
238
|
export function decodeStructuralBasisKind(b) {
|
|
134
|
-
return
|
|
239
|
+
return decodeWithBoundary(b, (r) => _decStructuralBasisKind(r));
|
|
135
240
|
}
|
|
136
241
|
export function _encStructuralEvidenceKind(w, v) {
|
|
137
242
|
switch (v) {
|
|
@@ -144,7 +249,7 @@ export function _encStructuralEvidenceKind(w, v) {
|
|
|
144
249
|
case 'FALLBACK_TRANSLATED':
|
|
145
250
|
w.writeU32Le(2);
|
|
146
251
|
return;
|
|
147
|
-
default: throw new
|
|
252
|
+
default: throw new RuntimeCodecError('invalid StructuralEvidenceKind variant: ' + String(v));
|
|
148
253
|
}
|
|
149
254
|
}
|
|
150
255
|
export function _decStructuralEvidenceKind(r) {
|
|
@@ -153,16 +258,104 @@ export function _decStructuralEvidenceKind(r) {
|
|
|
153
258
|
case 0: return 'ECHO_NATIVE';
|
|
154
259
|
case 1: return 'GIT_WARP_IMPORTED';
|
|
155
260
|
case 2: return 'FALLBACK_TRANSLATED';
|
|
156
|
-
default: throw new
|
|
261
|
+
default: throw new RuntimeCodecError('invalid StructuralEvidenceKind discriminant: ' + String(d));
|
|
157
262
|
}
|
|
158
263
|
}
|
|
159
264
|
export function encodeStructuralEvidenceKind(v) {
|
|
160
|
-
const w = new
|
|
265
|
+
const w = new RuntimeWriter();
|
|
161
266
|
_encStructuralEvidenceKind(w, v);
|
|
162
267
|
return w.finish();
|
|
163
268
|
}
|
|
164
269
|
export function decodeStructuralEvidenceKind(b) {
|
|
165
|
-
return
|
|
270
|
+
return decodeWithBoundary(b, (r) => _decStructuralEvidenceKind(r));
|
|
271
|
+
}
|
|
272
|
+
export function _encStructuralFileVersion(w, v) {
|
|
273
|
+
w.writeString(v.fileVersionId);
|
|
274
|
+
w.writeString(v.repositoryId);
|
|
275
|
+
w.writeString(v.basisId);
|
|
276
|
+
w.writeString(v.path);
|
|
277
|
+
_encHash(w, v.contentDigest);
|
|
278
|
+
w.writeOption(v.language, (w, x) => w.writeString(x));
|
|
279
|
+
w.writeString(v.summary);
|
|
280
|
+
}
|
|
281
|
+
export function _decStructuralFileVersion(r) {
|
|
282
|
+
return {
|
|
283
|
+
fileVersionId: r.readString(),
|
|
284
|
+
repositoryId: r.readString(),
|
|
285
|
+
basisId: r.readString(),
|
|
286
|
+
path: r.readString(),
|
|
287
|
+
contentDigest: _decHash(r),
|
|
288
|
+
language: r.readOption((r) => r.readString()),
|
|
289
|
+
summary: r.readString(),
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
export function _encStructuralParserRun(w, v) {
|
|
293
|
+
w.writeString(v.parserRunId);
|
|
294
|
+
w.writeString(v.fileVersionId);
|
|
295
|
+
w.writeString(v.parserName);
|
|
296
|
+
w.writeOption(v.parserVersion, (w, x) => w.writeString(x));
|
|
297
|
+
w.writeI32Le(v.diagnosticCount);
|
|
298
|
+
w.writeString(v.summary);
|
|
299
|
+
}
|
|
300
|
+
export function _decStructuralParserRun(r) {
|
|
301
|
+
return {
|
|
302
|
+
parserRunId: r.readString(),
|
|
303
|
+
fileVersionId: r.readString(),
|
|
304
|
+
parserName: r.readString(),
|
|
305
|
+
parserVersion: r.readOption((r) => r.readString()),
|
|
306
|
+
diagnosticCount: r.readI32Le(),
|
|
307
|
+
summary: r.readString(),
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
export function _encStructuralReading(w, v) {
|
|
311
|
+
w.writeString(v.readingId);
|
|
312
|
+
w.writeString(v.repositoryId);
|
|
313
|
+
w.writeString(v.basisId);
|
|
314
|
+
w.writeString(v.evidenceId);
|
|
315
|
+
_encStructuralReadingKind(w, v.readingKind);
|
|
316
|
+
_encStructuralReadingFreshness(w, v.freshness);
|
|
317
|
+
_encStructuralReadingResidualPosture(w, v.residualPosture);
|
|
318
|
+
_encHash(w, v.payloadDigest);
|
|
319
|
+
w.writeOption(v.payloadJson, (w, x) => _encJson(w, x));
|
|
320
|
+
w.writeString(v.summary);
|
|
321
|
+
}
|
|
322
|
+
export function _decStructuralReading(r) {
|
|
323
|
+
return {
|
|
324
|
+
readingId: r.readString(),
|
|
325
|
+
repositoryId: r.readString(),
|
|
326
|
+
basisId: r.readString(),
|
|
327
|
+
evidenceId: r.readString(),
|
|
328
|
+
readingKind: _decStructuralReadingKind(r),
|
|
329
|
+
freshness: _decStructuralReadingFreshness(r),
|
|
330
|
+
residualPosture: _decStructuralReadingResidualPosture(r),
|
|
331
|
+
payloadDigest: _decHash(r),
|
|
332
|
+
payloadJson: r.readOption((r) => _decJson(r)),
|
|
333
|
+
summary: r.readString(),
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
export function _encStructuralReadingEvidence(w, v) {
|
|
337
|
+
w.writeString(v.evidenceId);
|
|
338
|
+
_encStructuralEvidenceKind(w, v.evidenceKind);
|
|
339
|
+
_encStructuralSubstrateKind(w, v.substrate);
|
|
340
|
+
w.writeString(v.basisId);
|
|
341
|
+
w.writeOption(v.sourceRef, (w, x) => w.writeString(x));
|
|
342
|
+
w.writeOption(v.migrationBatchId, (w, x) => w.writeString(x));
|
|
343
|
+
w.writeBool(v.nativeContinuumWitness);
|
|
344
|
+
_encMigrationParityStatus(w, v.parity);
|
|
345
|
+
w.writeString(v.summary);
|
|
346
|
+
}
|
|
347
|
+
export function _decStructuralReadingEvidence(r) {
|
|
348
|
+
return {
|
|
349
|
+
evidenceId: r.readString(),
|
|
350
|
+
evidenceKind: _decStructuralEvidenceKind(r),
|
|
351
|
+
substrate: _decStructuralSubstrateKind(r),
|
|
352
|
+
basisId: r.readString(),
|
|
353
|
+
sourceRef: r.readOption((r) => r.readString()),
|
|
354
|
+
migrationBatchId: r.readOption((r) => r.readString()),
|
|
355
|
+
nativeContinuumWitness: r.readBool(),
|
|
356
|
+
parity: _decMigrationParityStatus(r),
|
|
357
|
+
summary: r.readString(),
|
|
358
|
+
};
|
|
166
359
|
}
|
|
167
360
|
export function _encStructuralReadingFreshness(w, v) {
|
|
168
361
|
switch (v) {
|
|
@@ -181,7 +374,7 @@ export function _encStructuralReadingFreshness(w, v) {
|
|
|
181
374
|
case 'LIVE_FRONTIER':
|
|
182
375
|
w.writeU32Le(4);
|
|
183
376
|
return;
|
|
184
|
-
default: throw new
|
|
377
|
+
default: throw new RuntimeCodecError('invalid StructuralReadingFreshness variant: ' + String(v));
|
|
185
378
|
}
|
|
186
379
|
}
|
|
187
380
|
export function _decStructuralReadingFreshness(r) {
|
|
@@ -192,16 +385,16 @@ export function _decStructuralReadingFreshness(r) {
|
|
|
192
385
|
case 2: return 'INCOMPARABLE';
|
|
193
386
|
case 3: return 'UNKNOWN';
|
|
194
387
|
case 4: return 'LIVE_FRONTIER';
|
|
195
|
-
default: throw new
|
|
388
|
+
default: throw new RuntimeCodecError('invalid StructuralReadingFreshness discriminant: ' + String(d));
|
|
196
389
|
}
|
|
197
390
|
}
|
|
198
391
|
export function encodeStructuralReadingFreshness(v) {
|
|
199
|
-
const w = new
|
|
392
|
+
const w = new RuntimeWriter();
|
|
200
393
|
_encStructuralReadingFreshness(w, v);
|
|
201
394
|
return w.finish();
|
|
202
395
|
}
|
|
203
396
|
export function decodeStructuralReadingFreshness(b) {
|
|
204
|
-
return
|
|
397
|
+
return decodeWithBoundary(b, (r) => _decStructuralReadingFreshness(r));
|
|
205
398
|
}
|
|
206
399
|
export function _encStructuralReadingKind(w, v) {
|
|
207
400
|
switch (v) {
|
|
@@ -226,7 +419,7 @@ export function _encStructuralReadingKind(w, v) {
|
|
|
226
419
|
case 'PRECISION_CODE_LOOKUP':
|
|
227
420
|
w.writeU32Le(6);
|
|
228
421
|
return;
|
|
229
|
-
default: throw new
|
|
422
|
+
default: throw new RuntimeCodecError('invalid StructuralReadingKind variant: ' + String(v));
|
|
230
423
|
}
|
|
231
424
|
}
|
|
232
425
|
export function _decStructuralReadingKind(r) {
|
|
@@ -239,16 +432,16 @@ export function _decStructuralReadingKind(r) {
|
|
|
239
432
|
case 4: return 'STRUCTURAL_LOG';
|
|
240
433
|
case 5: return 'STRUCTURAL_CHURN';
|
|
241
434
|
case 6: return 'PRECISION_CODE_LOOKUP';
|
|
242
|
-
default: throw new
|
|
435
|
+
default: throw new RuntimeCodecError('invalid StructuralReadingKind discriminant: ' + String(d));
|
|
243
436
|
}
|
|
244
437
|
}
|
|
245
438
|
export function encodeStructuralReadingKind(v) {
|
|
246
|
-
const w = new
|
|
439
|
+
const w = new RuntimeWriter();
|
|
247
440
|
_encStructuralReadingKind(w, v);
|
|
248
441
|
return w.finish();
|
|
249
442
|
}
|
|
250
443
|
export function decodeStructuralReadingKind(b) {
|
|
251
|
-
return
|
|
444
|
+
return decodeWithBoundary(b, (r) => _decStructuralReadingKind(r));
|
|
252
445
|
}
|
|
253
446
|
export function _encStructuralReadingResidualPosture(w, v) {
|
|
254
447
|
switch (v) {
|
|
@@ -276,7 +469,7 @@ export function _encStructuralReadingResidualPosture(w, v) {
|
|
|
276
469
|
case 'DEGRADED':
|
|
277
470
|
w.writeU32Le(7);
|
|
278
471
|
return;
|
|
279
|
-
default: throw new
|
|
472
|
+
default: throw new RuntimeCodecError('invalid StructuralReadingResidualPosture variant: ' + String(v));
|
|
280
473
|
}
|
|
281
474
|
}
|
|
282
475
|
export function _decStructuralReadingResidualPosture(r) {
|
|
@@ -290,16 +483,52 @@ export function _decStructuralReadingResidualPosture(r) {
|
|
|
290
483
|
case 5: return 'UNAVAILABLE';
|
|
291
484
|
case 6: return 'OBSTRUCTED';
|
|
292
485
|
case 7: return 'DEGRADED';
|
|
293
|
-
default: throw new
|
|
486
|
+
default: throw new RuntimeCodecError('invalid StructuralReadingResidualPosture discriminant: ' + String(d));
|
|
294
487
|
}
|
|
295
488
|
}
|
|
296
489
|
export function encodeStructuralReadingResidualPosture(v) {
|
|
297
|
-
const w = new
|
|
490
|
+
const w = new RuntimeWriter();
|
|
298
491
|
_encStructuralReadingResidualPosture(w, v);
|
|
299
492
|
return w.finish();
|
|
300
493
|
}
|
|
301
494
|
export function decodeStructuralReadingResidualPosture(b) {
|
|
302
|
-
return
|
|
495
|
+
return decodeWithBoundary(b, (r) => _decStructuralReadingResidualPosture(r));
|
|
496
|
+
}
|
|
497
|
+
export function _encStructuralRepository(w, v) {
|
|
498
|
+
w.writeString(v.repositoryId);
|
|
499
|
+
w.writeString(v.rootKey);
|
|
500
|
+
w.writeOption(v.defaultBranch, (w, x) => w.writeString(x));
|
|
501
|
+
w.writeString(v.summary);
|
|
502
|
+
}
|
|
503
|
+
export function _decStructuralRepository(r) {
|
|
504
|
+
return {
|
|
505
|
+
repositoryId: r.readString(),
|
|
506
|
+
rootKey: r.readString(),
|
|
507
|
+
defaultBranch: r.readOption((r) => r.readString()),
|
|
508
|
+
summary: r.readString(),
|
|
509
|
+
};
|
|
510
|
+
}
|
|
511
|
+
export function _encStructuralSourceSpan(w, v) {
|
|
512
|
+
w.writeString(v.spanId);
|
|
513
|
+
w.writeString(v.fileVersionId);
|
|
514
|
+
_encSourceSpanEncoding(w, v.encoding);
|
|
515
|
+
w.writeI32Le(v.startOffset);
|
|
516
|
+
w.writeI32Le(v.endOffset);
|
|
517
|
+
w.writeOption(v.startLine, (w, x) => w.writeI32Le(x));
|
|
518
|
+
w.writeOption(v.endLine, (w, x) => w.writeI32Le(x));
|
|
519
|
+
w.writeString(v.summary);
|
|
520
|
+
}
|
|
521
|
+
export function _decStructuralSourceSpan(r) {
|
|
522
|
+
return {
|
|
523
|
+
spanId: r.readString(),
|
|
524
|
+
fileVersionId: r.readString(),
|
|
525
|
+
encoding: _decSourceSpanEncoding(r),
|
|
526
|
+
startOffset: r.readI32Le(),
|
|
527
|
+
endOffset: r.readI32Le(),
|
|
528
|
+
startLine: r.readOption((r) => r.readI32Le()),
|
|
529
|
+
endLine: r.readOption((r) => r.readI32Le()),
|
|
530
|
+
summary: r.readString(),
|
|
531
|
+
};
|
|
303
532
|
}
|
|
304
533
|
export function _encStructuralSubstrateKind(w, v) {
|
|
305
534
|
switch (v) {
|
|
@@ -309,7 +538,7 @@ export function _encStructuralSubstrateKind(w, v) {
|
|
|
309
538
|
case 'GIT_WARP':
|
|
310
539
|
w.writeU32Le(1);
|
|
311
540
|
return;
|
|
312
|
-
default: throw new
|
|
541
|
+
default: throw new RuntimeCodecError('invalid StructuralSubstrateKind variant: ' + String(v));
|
|
313
542
|
}
|
|
314
543
|
}
|
|
315
544
|
export function _decStructuralSubstrateKind(r) {
|
|
@@ -317,16 +546,68 @@ export function _decStructuralSubstrateKind(r) {
|
|
|
317
546
|
switch (d) {
|
|
318
547
|
case 0: return 'ECHO';
|
|
319
548
|
case 1: return 'GIT_WARP';
|
|
320
|
-
default: throw new
|
|
549
|
+
default: throw new RuntimeCodecError('invalid StructuralSubstrateKind discriminant: ' + String(d));
|
|
321
550
|
}
|
|
322
551
|
}
|
|
323
552
|
export function encodeStructuralSubstrateKind(v) {
|
|
324
|
-
const w = new
|
|
553
|
+
const w = new RuntimeWriter();
|
|
325
554
|
_encStructuralSubstrateKind(w, v);
|
|
326
555
|
return w.finish();
|
|
327
556
|
}
|
|
328
557
|
export function decodeStructuralSubstrateKind(b) {
|
|
329
|
-
return
|
|
558
|
+
return decodeWithBoundary(b, (r) => _decStructuralSubstrateKind(r));
|
|
559
|
+
}
|
|
560
|
+
export function _encStructuralSymbol(w, v) {
|
|
561
|
+
w.writeString(v.symbolId);
|
|
562
|
+
w.writeString(v.repositoryId);
|
|
563
|
+
w.writeString(v.basisId);
|
|
564
|
+
w.writeString(v.fileVersionId);
|
|
565
|
+
w.writeOption(v.parserRunId, (w, x) => w.writeString(x));
|
|
566
|
+
w.writeString(v.name);
|
|
567
|
+
w.writeString(v.kind);
|
|
568
|
+
_encSymbolVisibility(w, v.visibility);
|
|
569
|
+
w.writeOption(v.declarationSpanId, (w, x) => w.writeString(x));
|
|
570
|
+
w.writeBool(v.exported);
|
|
571
|
+
w.writeString(v.summary);
|
|
572
|
+
}
|
|
573
|
+
export function _decStructuralSymbol(r) {
|
|
574
|
+
return {
|
|
575
|
+
symbolId: r.readString(),
|
|
576
|
+
repositoryId: r.readString(),
|
|
577
|
+
basisId: r.readString(),
|
|
578
|
+
fileVersionId: r.readString(),
|
|
579
|
+
parserRunId: r.readOption((r) => r.readString()),
|
|
580
|
+
name: r.readString(),
|
|
581
|
+
kind: r.readString(),
|
|
582
|
+
visibility: _decSymbolVisibility(r),
|
|
583
|
+
declarationSpanId: r.readOption((r) => r.readString()),
|
|
584
|
+
exported: r.readBool(),
|
|
585
|
+
summary: r.readString(),
|
|
586
|
+
};
|
|
587
|
+
}
|
|
588
|
+
export function _encStructuralSymbolRelation(w, v) {
|
|
589
|
+
w.writeString(v.relationId);
|
|
590
|
+
w.writeString(v.repositoryId);
|
|
591
|
+
w.writeString(v.basisId);
|
|
592
|
+
_encSymbolRelationKind(w, v.relationKind);
|
|
593
|
+
w.writeOption(v.fromSymbolId, (w, x) => w.writeString(x));
|
|
594
|
+
w.writeOption(v.toSymbolId, (w, x) => w.writeString(x));
|
|
595
|
+
w.writeOption(v.fileVersionId, (w, x) => w.writeString(x));
|
|
596
|
+
w.writeOption(v.spanId, (w, x) => w.writeString(x));
|
|
597
|
+
w.writeString(v.summary);
|
|
598
|
+
}
|
|
599
|
+
export function _decStructuralSymbolRelation(r) {
|
|
600
|
+
return {
|
|
601
|
+
relationId: r.readString(),
|
|
602
|
+
repositoryId: r.readString(),
|
|
603
|
+
basisId: r.readString(),
|
|
604
|
+
relationKind: _decSymbolRelationKind(r),
|
|
605
|
+
fromSymbolId: r.readOption((r) => r.readString()),
|
|
606
|
+
toSymbolId: r.readOption((r) => r.readString()),
|
|
607
|
+
fileVersionId: r.readOption((r) => r.readString()),
|
|
608
|
+
spanId: r.readOption((r) => r.readString()),
|
|
609
|
+
summary: r.readString(),
|
|
610
|
+
};
|
|
330
611
|
}
|
|
331
612
|
export function _encSymbolRelationKind(w, v) {
|
|
332
613
|
switch (v) {
|
|
@@ -348,7 +629,7 @@ export function _encSymbolRelationKind(w, v) {
|
|
|
348
629
|
case 'REMOVES':
|
|
349
630
|
w.writeU32Le(5);
|
|
350
631
|
return;
|
|
351
|
-
default: throw new
|
|
632
|
+
default: throw new RuntimeCodecError('invalid SymbolRelationKind variant: ' + String(v));
|
|
352
633
|
}
|
|
353
634
|
}
|
|
354
635
|
export function _decSymbolRelationKind(r) {
|
|
@@ -360,16 +641,16 @@ export function _decSymbolRelationKind(r) {
|
|
|
360
641
|
case 3: return 'CALLS';
|
|
361
642
|
case 4: return 'DEFINES';
|
|
362
643
|
case 5: return 'REMOVES';
|
|
363
|
-
default: throw new
|
|
644
|
+
default: throw new RuntimeCodecError('invalid SymbolRelationKind discriminant: ' + String(d));
|
|
364
645
|
}
|
|
365
646
|
}
|
|
366
647
|
export function encodeSymbolRelationKind(v) {
|
|
367
|
-
const w = new
|
|
648
|
+
const w = new RuntimeWriter();
|
|
368
649
|
_encSymbolRelationKind(w, v);
|
|
369
650
|
return w.finish();
|
|
370
651
|
}
|
|
371
652
|
export function decodeSymbolRelationKind(b) {
|
|
372
|
-
return
|
|
653
|
+
return decodeWithBoundary(b, (r) => _decSymbolRelationKind(r));
|
|
373
654
|
}
|
|
374
655
|
export function _encSymbolVisibility(w, v) {
|
|
375
656
|
switch (v) {
|
|
@@ -382,7 +663,7 @@ export function _encSymbolVisibility(w, v) {
|
|
|
382
663
|
case 'UNKNOWN':
|
|
383
664
|
w.writeU32Le(2);
|
|
384
665
|
return;
|
|
385
|
-
default: throw new
|
|
666
|
+
default: throw new RuntimeCodecError('invalid SymbolVisibility variant: ' + String(v));
|
|
386
667
|
}
|
|
387
668
|
}
|
|
388
669
|
export function _decSymbolVisibility(r) {
|
|
@@ -391,159 +672,177 @@ export function _decSymbolVisibility(r) {
|
|
|
391
672
|
case 0: return 'LOCAL';
|
|
392
673
|
case 1: return 'EXPORTED';
|
|
393
674
|
case 2: return 'UNKNOWN';
|
|
394
|
-
default: throw new
|
|
675
|
+
default: throw new RuntimeCodecError('invalid SymbolVisibility discriminant: ' + String(d));
|
|
395
676
|
}
|
|
396
677
|
}
|
|
397
678
|
export function encodeSymbolVisibility(v) {
|
|
398
|
-
const w = new
|
|
679
|
+
const w = new RuntimeWriter();
|
|
399
680
|
_encSymbolVisibility(w, v);
|
|
400
681
|
return w.finish();
|
|
401
682
|
}
|
|
402
683
|
export function decodeSymbolVisibility(b) {
|
|
403
|
-
return
|
|
684
|
+
return decodeWithBoundary(b, (r) => _decSymbolVisibility(r));
|
|
404
685
|
}
|
|
405
|
-
|
|
406
|
-
/** EINT op id for query `structuralRepositories`. Stable across Rust and TypeScript emitters. */
|
|
407
|
-
export const OP_STRUCTURAL_REPOSITORIES = 2032910390;
|
|
408
|
-
export function encodeStructuralRepositoriesVars(v) {
|
|
409
|
-
const w = new Writer();
|
|
686
|
+
export function _encStructuralRepositoriesVars(w, v) {
|
|
410
687
|
w.writeOption(v.repositoryId, (w, x) => w.writeString(x));
|
|
411
|
-
return w.finish();
|
|
412
688
|
}
|
|
413
|
-
export function
|
|
414
|
-
const r = new Reader(b);
|
|
689
|
+
export function _decStructuralRepositoriesVars(r) {
|
|
415
690
|
return {
|
|
416
691
|
repositoryId: r.readOption((r) => r.readString()),
|
|
417
692
|
};
|
|
418
693
|
}
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
694
|
+
export function encodeStructuralRepositoriesVars(v) {
|
|
695
|
+
const w = new RuntimeWriter();
|
|
696
|
+
_encStructuralRepositoriesVars(w, v);
|
|
697
|
+
return w.finish();
|
|
698
|
+
}
|
|
699
|
+
export function decodeStructuralRepositoriesVars(b) {
|
|
700
|
+
return decodeWithBoundary(b, (r) => _decStructuralRepositoriesVars(r));
|
|
701
|
+
}
|
|
702
|
+
export function _encStructuralBasesVars(w, v) {
|
|
424
703
|
w.writeString(v.repositoryId);
|
|
425
704
|
w.writeOption(v.basisKind, (w, x) => _encStructuralBasisKind(w, x));
|
|
426
|
-
return w.finish();
|
|
427
705
|
}
|
|
428
|
-
export function
|
|
429
|
-
const r = new Reader(b);
|
|
706
|
+
export function _decStructuralBasesVars(r) {
|
|
430
707
|
return {
|
|
431
708
|
repositoryId: r.readString(),
|
|
432
709
|
basisKind: r.readOption((r) => _decStructuralBasisKind(r)),
|
|
433
710
|
};
|
|
434
711
|
}
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
712
|
+
export function encodeStructuralBasesVars(v) {
|
|
713
|
+
const w = new RuntimeWriter();
|
|
714
|
+
_encStructuralBasesVars(w, v);
|
|
715
|
+
return w.finish();
|
|
716
|
+
}
|
|
717
|
+
export function decodeStructuralBasesVars(b) {
|
|
718
|
+
return decodeWithBoundary(b, (r) => _decStructuralBasesVars(r));
|
|
719
|
+
}
|
|
720
|
+
export function _encStructuralFileVersionsVars(w, v) {
|
|
440
721
|
w.writeString(v.basisId);
|
|
441
722
|
w.writeOption(v.path, (w, x) => w.writeString(x));
|
|
442
|
-
return w.finish();
|
|
443
723
|
}
|
|
444
|
-
export function
|
|
445
|
-
const r = new Reader(b);
|
|
724
|
+
export function _decStructuralFileVersionsVars(r) {
|
|
446
725
|
return {
|
|
447
726
|
basisId: r.readString(),
|
|
448
727
|
path: r.readOption((r) => r.readString()),
|
|
449
728
|
};
|
|
450
729
|
}
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
730
|
+
export function encodeStructuralFileVersionsVars(v) {
|
|
731
|
+
const w = new RuntimeWriter();
|
|
732
|
+
_encStructuralFileVersionsVars(w, v);
|
|
733
|
+
return w.finish();
|
|
734
|
+
}
|
|
735
|
+
export function decodeStructuralFileVersionsVars(b) {
|
|
736
|
+
return decodeWithBoundary(b, (r) => _decStructuralFileVersionsVars(r));
|
|
737
|
+
}
|
|
738
|
+
export function _encStructuralSymbolsVars(w, v) {
|
|
456
739
|
w.writeString(v.basisId);
|
|
457
740
|
w.writeOption(v.fileVersionId, (w, x) => w.writeString(x));
|
|
458
741
|
w.writeOption(v.name, (w, x) => w.writeString(x));
|
|
459
|
-
return w.finish();
|
|
460
742
|
}
|
|
461
|
-
export function
|
|
462
|
-
const r = new Reader(b);
|
|
743
|
+
export function _decStructuralSymbolsVars(r) {
|
|
463
744
|
return {
|
|
464
745
|
basisId: r.readString(),
|
|
465
746
|
fileVersionId: r.readOption((r) => r.readString()),
|
|
466
747
|
name: r.readOption((r) => r.readString()),
|
|
467
748
|
};
|
|
468
749
|
}
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
750
|
+
export function encodeStructuralSymbolsVars(v) {
|
|
751
|
+
const w = new RuntimeWriter();
|
|
752
|
+
_encStructuralSymbolsVars(w, v);
|
|
753
|
+
return w.finish();
|
|
754
|
+
}
|
|
755
|
+
export function decodeStructuralSymbolsVars(b) {
|
|
756
|
+
return decodeWithBoundary(b, (r) => _decStructuralSymbolsVars(r));
|
|
757
|
+
}
|
|
758
|
+
export function _encStructuralSymbolRelationsVars(w, v) {
|
|
474
759
|
w.writeString(v.basisId);
|
|
475
760
|
w.writeOption(v.symbolId, (w, x) => w.writeString(x));
|
|
476
761
|
w.writeOption(v.relationKind, (w, x) => _encSymbolRelationKind(w, x));
|
|
477
|
-
return w.finish();
|
|
478
762
|
}
|
|
479
|
-
export function
|
|
480
|
-
const r = new Reader(b);
|
|
763
|
+
export function _decStructuralSymbolRelationsVars(r) {
|
|
481
764
|
return {
|
|
482
765
|
basisId: r.readString(),
|
|
483
766
|
symbolId: r.readOption((r) => r.readString()),
|
|
484
767
|
relationKind: r.readOption((r) => _decSymbolRelationKind(r)),
|
|
485
768
|
};
|
|
486
769
|
}
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
770
|
+
export function encodeStructuralSymbolRelationsVars(v) {
|
|
771
|
+
const w = new RuntimeWriter();
|
|
772
|
+
_encStructuralSymbolRelationsVars(w, v);
|
|
773
|
+
return w.finish();
|
|
774
|
+
}
|
|
775
|
+
export function decodeStructuralSymbolRelationsVars(b) {
|
|
776
|
+
return decodeWithBoundary(b, (r) => _decStructuralSymbolRelationsVars(r));
|
|
777
|
+
}
|
|
778
|
+
export function _encStructuralReadingsVars(w, v) {
|
|
492
779
|
w.writeString(v.basisId);
|
|
493
780
|
w.writeOption(v.readingKind, (w, x) => _encStructuralReadingKind(w, x));
|
|
494
|
-
return w.finish();
|
|
495
781
|
}
|
|
496
|
-
export function
|
|
497
|
-
const r = new Reader(b);
|
|
782
|
+
export function _decStructuralReadingsVars(r) {
|
|
498
783
|
return {
|
|
499
784
|
basisId: r.readString(),
|
|
500
785
|
readingKind: r.readOption((r) => _decStructuralReadingKind(r)),
|
|
501
786
|
};
|
|
502
787
|
}
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
788
|
+
export function encodeStructuralReadingsVars(v) {
|
|
789
|
+
const w = new RuntimeWriter();
|
|
790
|
+
_encStructuralReadingsVars(w, v);
|
|
791
|
+
return w.finish();
|
|
792
|
+
}
|
|
793
|
+
export function decodeStructuralReadingsVars(b) {
|
|
794
|
+
return decodeWithBoundary(b, (r) => _decStructuralReadingsVars(r));
|
|
795
|
+
}
|
|
796
|
+
export function _encStructuralReadingEvidenceVars(w, v) {
|
|
508
797
|
w.writeOption(v.evidenceId, (w, x) => w.writeString(x));
|
|
509
798
|
w.writeOption(v.basisId, (w, x) => w.writeString(x));
|
|
510
|
-
return w.finish();
|
|
511
799
|
}
|
|
512
|
-
export function
|
|
513
|
-
const r = new Reader(b);
|
|
800
|
+
export function _decStructuralReadingEvidenceVars(r) {
|
|
514
801
|
return {
|
|
515
802
|
evidenceId: r.readOption((r) => r.readString()),
|
|
516
803
|
basisId: r.readOption((r) => r.readString()),
|
|
517
804
|
};
|
|
518
805
|
}
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
806
|
+
export function encodeStructuralReadingEvidenceVars(v) {
|
|
807
|
+
const w = new RuntimeWriter();
|
|
808
|
+
_encStructuralReadingEvidenceVars(w, v);
|
|
809
|
+
return w.finish();
|
|
810
|
+
}
|
|
811
|
+
export function decodeStructuralReadingEvidenceVars(b) {
|
|
812
|
+
return decodeWithBoundary(b, (r) => _decStructuralReadingEvidenceVars(r));
|
|
813
|
+
}
|
|
814
|
+
export function _encGitWarpImportBatchesVars(w, v) {
|
|
524
815
|
w.writeString(v.repositoryId);
|
|
525
816
|
w.writeOption(v.parity, (w, x) => _encMigrationParityStatus(w, x));
|
|
526
|
-
return w.finish();
|
|
527
817
|
}
|
|
528
|
-
export function
|
|
529
|
-
const r = new Reader(b);
|
|
818
|
+
export function _decGitWarpImportBatchesVars(r) {
|
|
530
819
|
return {
|
|
531
820
|
repositoryId: r.readString(),
|
|
532
821
|
parity: r.readOption((r) => _decMigrationParityStatus(r)),
|
|
533
822
|
};
|
|
534
823
|
}
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
export function encodeRecordGitWarpImportBatchVars(v) {
|
|
539
|
-
const w = new Writer();
|
|
540
|
-
_encRecordGitWarpImportBatchInput(w, v.input);
|
|
824
|
+
export function encodeGitWarpImportBatchesVars(v) {
|
|
825
|
+
const w = new RuntimeWriter();
|
|
826
|
+
_encGitWarpImportBatchesVars(w, v);
|
|
541
827
|
return w.finish();
|
|
542
828
|
}
|
|
543
|
-
export function
|
|
544
|
-
|
|
829
|
+
export function decodeGitWarpImportBatchesVars(b) {
|
|
830
|
+
return decodeWithBoundary(b, (r) => _decGitWarpImportBatchesVars(r));
|
|
831
|
+
}
|
|
832
|
+
export function _encRecordGitWarpImportBatchVars(w, v) {
|
|
833
|
+
_encRecordGitWarpImportBatchInput(w, v.input);
|
|
834
|
+
}
|
|
835
|
+
export function _decRecordGitWarpImportBatchVars(r) {
|
|
545
836
|
return {
|
|
546
837
|
input: _decRecordGitWarpImportBatchInput(r),
|
|
547
838
|
};
|
|
548
839
|
}
|
|
840
|
+
export function encodeRecordGitWarpImportBatchVars(v) {
|
|
841
|
+
const w = new RuntimeWriter();
|
|
842
|
+
_encRecordGitWarpImportBatchVars(w, v);
|
|
843
|
+
return w.finish();
|
|
844
|
+
}
|
|
845
|
+
export function decodeRecordGitWarpImportBatchVars(b) {
|
|
846
|
+
return decodeWithBoundary(b, (r) => _decRecordGitWarpImportBatchVars(r));
|
|
847
|
+
}
|
|
549
848
|
//# sourceMappingURL=graft-structural-history.codec.generated.js.map
|