@elaraai/e3-types 1.0.83 → 1.0.85
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/dist/src/api.d.ts +583 -17
- package/dist/src/api.d.ts.map +1 -1
- package/dist/src/api.js +208 -22
- package/dist/src/api.js.map +1 -1
- package/dist/src/dataflow.d.ts +115 -12
- package/dist/src/dataflow.d.ts.map +1 -1
- package/dist/src/dataflow.js +151 -15
- package/dist/src/dataflow.js.map +1 -1
- package/dist/src/dataflow.spec.js +41 -7
- package/dist/src/dataflow.spec.js.map +1 -1
- package/dist/src/dataset-blob.d.ts +19 -2
- package/dist/src/dataset-blob.d.ts.map +1 -1
- package/dist/src/dataset-blob.js +100 -21
- package/dist/src/dataset-blob.js.map +1 -1
- package/dist/src/dataset-blob.spec.js +132 -0
- package/dist/src/dataset-blob.spec.js.map +1 -1
- package/dist/src/execution.d.ts +68 -8
- package/dist/src/execution.d.ts.map +1 -1
- package/dist/src/execution.js +49 -8
- package/dist/src/execution.js.map +1 -1
- package/dist/src/execution.spec.js +31 -9
- package/dist/src/execution.spec.js.map +1 -1
- package/dist/src/function.d.ts +12 -0
- package/dist/src/function.d.ts.map +1 -1
- package/dist/src/index.d.ts +9 -8
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +15 -12
- package/dist/src/index.js.map +1 -1
- package/dist/src/names.d.ts +9 -0
- package/dist/src/names.d.ts.map +1 -1
- package/dist/src/names.js.map +1 -1
- package/dist/src/pieces.d.ts +47 -0
- package/dist/src/pieces.d.ts.map +1 -0
- package/dist/src/pieces.js +17 -0
- package/dist/src/pieces.js.map +1 -0
- package/dist/src/pieces.spec.d.ts +6 -0
- package/dist/src/pieces.spec.d.ts.map +1 -0
- package/dist/src/pieces.spec.js +20 -0
- package/dist/src/pieces.spec.js.map +1 -0
- package/dist/src/record.d.ts +52 -0
- package/dist/src/record.d.ts.map +1 -1
- package/dist/src/record.js +25 -0
- package/dist/src/record.js.map +1 -1
- package/dist/src/record.spec.js +43 -6
- package/dist/src/record.spec.js.map +1 -1
- package/dist/src/release.d.ts +1 -1
- package/dist/src/release.js +1 -1
- package/dist/src/repository.d.ts +16 -0
- package/dist/src/repository.d.ts.map +1 -1
- package/dist/src/repository.js +15 -0
- package/dist/src/repository.js.map +1 -1
- package/dist/src/runner.d.ts +22 -7
- package/dist/src/runner.d.ts.map +1 -1
- package/dist/src/runner.js +14 -11
- package/dist/src/runner.js.map +1 -1
- package/dist/src/runner.spec.js +4 -4
- package/dist/src/runner.spec.js.map +1 -1
- package/dist/src/structure.d.ts +27 -0
- package/dist/src/structure.d.ts.map +1 -1
- package/dist/src/structure.js +59 -18
- package/dist/src/structure.js.map +1 -1
- package/dist/src/structure.spec.d.ts +6 -0
- package/dist/src/structure.spec.d.ts.map +1 -0
- package/dist/src/structure.spec.js +57 -0
- package/dist/src/structure.spec.js.map +1 -0
- package/dist/src/task.d.ts +13 -1
- package/dist/src/task.d.ts.map +1 -1
- package/dist/src/task.js +1 -1
- package/dist/src/task.spec.js +25 -4
- package/dist/src/task.spec.js.map +1 -1
- package/package.json +3 -2
- package/src/api.ts +225 -21
- package/src/dataflow.spec.ts +49 -7
- package/src/dataflow.ts +160 -14
- package/src/dataset-blob.spec.ts +147 -0
- package/src/dataset-blob.ts +97 -20
- package/src/execution.spec.ts +31 -9
- package/src/execution.ts +52 -7
- package/src/index.ts +39 -2
- package/src/names.ts +12 -0
- package/src/pieces.spec.ts +23 -0
- package/src/pieces.ts +49 -0
- package/src/record.spec.ts +51 -5
- package/src/record.ts +28 -0
- package/src/release.ts +1 -1
- package/src/repository.ts +18 -0
- package/src/runner.spec.ts +4 -4
- package/src/runner.ts +14 -11
- package/src/structure.spec.ts +65 -0
- package/src/structure.ts +64 -21
- package/src/task.spec.ts +29 -3
- package/src/task.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution.js","sourceRoot":"","sources":["../../src/execution.ts"],"names":[],"mappings":"A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AACH,MAAM,UAAU,qBAAqB,CAAC,IAAgB;IACpD,IAAI,CAAC;QACH,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACb,iIAAiI;YACjI,IAAI,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CACxD,CAAC;IACJ,CAAC;AACH,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC;IAC3C,qCAAqC;IACrC,GAAG,EAAE,WAAW;IAChB,qFAAqF;IACrF,YAAY,EAAE,WAAW;IACzB,4DAA4D;IAC5D,MAAM,EAAE,UAAU;CACnB,CAAC,CAAC"}
|
|
@@ -4,14 +4,15 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Execution status wire: the typed outcomes with their peaks, a split task's
|
|
7
|
-
* plan
|
|
8
|
-
* refusal of a record an older e3 wrote before
|
|
9
|
-
* were cases of it, before a runner's peak was
|
|
10
|
-
* plan was,
|
|
7
|
+
* plan, whether the execution is a unit and why a stopped one stopped, what
|
|
8
|
+
* each keeps from gc, and the refusal of a record an older e3 wrote before
|
|
9
|
+
* `cancelled` and `interrupted` were cases of it, before a runner's peak was
|
|
10
|
+
* recorded, before a split task's plan was, before a record said whether it
|
|
11
|
+
* is a unit, or before a stopped one said why.
|
|
11
12
|
*/
|
|
12
13
|
import { describe, it } from 'node:test';
|
|
13
14
|
import assert from 'node:assert/strict';
|
|
14
|
-
import { ArrayType, DateTimeType, IntegerType, OptionType, StringType, StructType, VariantType, encodeBeast2For, none, some, variant } from '@elaraai/east';
|
|
15
|
+
import { ArrayType, BooleanType, DateTimeType, IntegerType, OptionType, StringType, StructType, VariantType, encodeBeast2For, none, some, variant } from '@elaraai/east';
|
|
15
16
|
import { ExecutionStatusType, decodeExecutionStatus, executionStatusRoots } from './execution.js';
|
|
16
17
|
/** The four-case wire every record had before the typed outcomes. */
|
|
17
18
|
const PreOutcomeExecutionStatusType = VariantType({
|
|
@@ -40,7 +41,7 @@ describe('ExecutionStatusType', () => {
|
|
|
40
41
|
completedAt: new Date(2000),
|
|
41
42
|
};
|
|
42
43
|
const encodeOlder = encodeBeast2For(PreOutcomeExecutionStatusType);
|
|
43
|
-
it('round-trips the typed outcomes, with a runner\'s peak or without one, a task\'s own or a unit\'s', () => {
|
|
44
|
+
it('round-trips the typed outcomes, with a runner\'s peak or without one, a task\'s own or a unit\'s, and why a stopped one stopped', () => {
|
|
44
45
|
const own = { ...stopped, unit: false };
|
|
45
46
|
const statuses = [
|
|
46
47
|
variant('success', { ...own, outputHash: 'b'.repeat(64), peakBytes: some(96n * 1024n ** 2n), plan: none }),
|
|
@@ -49,8 +50,11 @@ describe('ExecutionStatusType', () => {
|
|
|
49
50
|
variant('running', { executionId: '0199-b', inputHashes: ['a'.repeat(64)], startedAt: new Date(1000), pid: 4242n, pidStartTime: 7n, bootId: 'boot', unit: true }),
|
|
50
51
|
variant('failed', { ...own, exitCode: 1n, peakBytes: some(412n * 1024n ** 2n) }),
|
|
51
52
|
variant('failed', { ...own, exitCode: -1n, peakBytes: none }),
|
|
52
|
-
variant('cancelled', own),
|
|
53
|
-
variant('interrupted', { ...own, pid: 4242n }),
|
|
53
|
+
variant('cancelled', { ...own, reason: { kind: variant('aborted', null), message: 'cancelled: e3 stopped the runner because the run was aborted' } }),
|
|
54
|
+
variant('interrupted', { ...own, pid: 4242n, reason: { kind: variant('owner_gone', null), message: 'its runner and its owner are gone' } }),
|
|
55
|
+
variant('interrupted', { ...own, pid: 0n, unit: true, reason: { kind: variant('yielded', null), message: 'its run yielded' } }),
|
|
56
|
+
variant('interrupted', { ...own, pid: 0n, reason: { kind: variant('host', 'OutOfMemoryError'), message: 'its container ran out of memory' } }),
|
|
57
|
+
variant('interrupted', { ...own, pid: 0n, reason: { kind: variant('unrecorded', null), message: '' } }),
|
|
54
58
|
variant('error', { ...own, message: 'Failed to read output: no such file' }),
|
|
55
59
|
];
|
|
56
60
|
const encode = encodeBeast2For(ExecutionStatusType);
|
|
@@ -62,7 +66,7 @@ describe('ExecutionStatusType', () => {
|
|
|
62
66
|
assert.deepEqual(executionStatusRoots(variant('success', { ...success, plan: none })), ['b'.repeat(64)]);
|
|
63
67
|
assert.deepEqual(executionStatusRoots(variant('success', { ...success, plan: some('c'.repeat(64)) })), ['b'.repeat(64), 'c'.repeat(64)]);
|
|
64
68
|
assert.deepEqual(executionStatusRoots(variant('failed', { ...stopped, exitCode: 1n, peakBytes: none, unit: false })), []);
|
|
65
|
-
assert.deepEqual(executionStatusRoots(variant('cancelled', { ...stopped, unit: false })), []);
|
|
69
|
+
assert.deepEqual(executionStatusRoots(variant('cancelled', { ...stopped, unit: false, reason: { kind: variant('aborted', null), message: '' } })), []);
|
|
66
70
|
});
|
|
67
71
|
it('keeps from gc the inputs a running attempt reads, passing over a merge\'s tag', () => {
|
|
68
72
|
const running = { executionId: '0199-c', startedAt: new Date(1000), pid: 4242n, pidStartTime: 7n, bootId: 'boot' };
|
|
@@ -105,6 +109,24 @@ describe('ExecutionStatusType', () => {
|
|
|
105
109
|
}),
|
|
106
110
|
});
|
|
107
111
|
assert.throws(() => decodeExecutionStatus(encodeBeast2For(withoutUnits)(variant('success', { ...stopped, outputHash: 'b'.repeat(64), peakBytes: none, plan: none }))), refusal);
|
|
112
|
+
// With units, before a stopped record said why it stopped: only the
|
|
113
|
+
// repository upgrade that carries such a record forward reads it, and every
|
|
114
|
+
// case of it is refused, since its type names the cases that changed.
|
|
115
|
+
const withoutReasons = VariantType({
|
|
116
|
+
...ExecutionStatusType.cases,
|
|
117
|
+
cancelled: StructType({ executionId: StringType, inputHashes: ArrayType(StringType), startedAt: DateTimeType, completedAt: DateTimeType, unit: BooleanType }),
|
|
118
|
+
interrupted: StructType({
|
|
119
|
+
executionId: StringType, inputHashes: ArrayType(StringType), startedAt: DateTimeType, completedAt: DateTimeType, pid: IntegerType, unit: BooleanType,
|
|
120
|
+
}),
|
|
121
|
+
});
|
|
122
|
+
const own = { ...stopped, unit: false };
|
|
123
|
+
for (const record of [
|
|
124
|
+
variant('cancelled', own),
|
|
125
|
+
variant('interrupted', { ...own, pid: 4242n }),
|
|
126
|
+
variant('success', { ...own, outputHash: 'b'.repeat(64), peakBytes: none, plan: none }),
|
|
127
|
+
]) {
|
|
128
|
+
assert.throws(() => decodeExecutionStatus(encodeBeast2For(withoutReasons)(record)), refusal);
|
|
129
|
+
}
|
|
108
130
|
});
|
|
109
131
|
it('throws for bytes of no status shape', () => {
|
|
110
132
|
assert.throws(() => decodeExecutionStatus(encodeBeast2For(IntegerType)(7n)), /the execution status does not decode/);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution.spec.js","sourceRoot":"","sources":["../../src/execution.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH
|
|
1
|
+
{"version":3,"file":"execution.spec.js","sourceRoot":"","sources":["../../src/execution.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACzK,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,oBAAoB,EAAwB,MAAM,gBAAgB,CAAC;AAExH,qEAAqE;AACrE,MAAM,6BAA6B,GAAG,WAAW,CAAC;IAChD,OAAO,EAAE,UAAU,CAAC;QAClB,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,CAAC,UAAU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E,IAAI,EAAE,KAAK,EAAE,CAAC;QACxC,KAAK,MAAM,MAAM,IAAI;YACnB,OAAO,CAAC,WAAW,EAAE,GAAG,CAAC;YACzB,OAAO,CAAC,aAAa,EAAE,EAAE,GAAG,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;YAC9C,OAAO,CAAC,SAAS,EAAE,EAAE,GAAG,GAAG,EAAE,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;SAC/E,EAAE,CAAC;YACX,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;QAC/F,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE;QAC7C,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,sCAAsC,CAAC,CAAC;IACvH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/src/function.d.ts
CHANGED
|
@@ -115,12 +115,24 @@ export declare const FunctionObjectType: StructType<{
|
|
|
115
115
|
readonly runner: import("@elaraai/east").VariantType<{
|
|
116
116
|
readonly east_node: StructType<{
|
|
117
117
|
readonly platforms: ArrayType<StringType>;
|
|
118
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
119
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
120
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
121
|
+
}>;
|
|
118
122
|
}>;
|
|
119
123
|
readonly east_py: StructType<{
|
|
120
124
|
readonly platforms: ArrayType<StringType>;
|
|
125
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
126
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
127
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
128
|
+
}>;
|
|
121
129
|
}>;
|
|
122
130
|
readonly east_c: StructType<{
|
|
123
131
|
readonly platforms: ArrayType<StringType>;
|
|
132
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
133
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
134
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
135
|
+
}>;
|
|
124
136
|
}>;
|
|
125
137
|
readonly custom: StructType<{
|
|
126
138
|
readonly command: ArrayType<StringType>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"function.d.ts","sourceRoot":"","sources":["../../src/function.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAgB,UAAU,EAAE,WAAW,EAAmB,MAAM,eAAe,CAAC;AAG1H;;;GAGG;AACH,eAAO,MAAM,kBAAkB;IAC7B,gFAAgF;;IAEhF;mEAC+D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE/D,wEAAwE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExE;gEAC4D
|
|
1
|
+
{"version":3,"file":"function.d.ts","sourceRoot":"","sources":["../../src/function.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAgB,UAAU,EAAE,WAAW,EAAmB,MAAM,eAAe,CAAC;AAG1H;;;GAGG;AACH,eAAO,MAAM,kBAAkB;IAC7B,gFAAgF;;IAEhF;mEAC+D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE/D,wEAAwE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExE;gEAC4D;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE5D;;;OAGG;;EAEH,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAIpE;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,UAAU,GAAG,cAAc,CASrE"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -24,24 +24,25 @@ export { DataRefType, type DataRef, unassignedRef, nullRef, DataTreeType, } from
|
|
|
24
24
|
export { VersionVectorType, type VersionVector, DatasetRefType, type DatasetRef, } from './dataset-ref.js';
|
|
25
25
|
export { TASK_OBJECT_KIND, TaskObjectType, type TaskObject, decodeTaskObject, TaskBodyType, type TaskBody, TaskPartitionType, type TaskPartition, TaskInputType, type TaskInput, TaskOutputKindType, type TaskOutputKind, TaskOutputType, type TaskOutput, DataManifestType, type DataManifest, TaskRoleType, type TaskRole, } from './task.js';
|
|
26
26
|
export { EnvironmentSpecType, type EnvironmentSpec, PythonEnvironmentType, type PythonEnvironment, NodeEnvironmentType, type NodeEnvironment, ImageEnvironmentType, type ImageEnvironment, ToolsEnvironmentType, type ToolsEnvironment, WorkspaceNodeEnvironmentType, type WorkspaceNodeEnvironment, environmentSpecObjectHashes, } from './environment.js';
|
|
27
|
-
export { StructureType, type Structure, PathSegmentType, type PathSegment, TreePathType, type TreePath, type ParsePathResult, type ParseDatasetPathResult, type ParsePackageRefResult, treePath, pathToString, parsePath, parseDatasetPath, parsePackageRef, urlPathToTreePath, } from './structure.js';
|
|
27
|
+
export { StructureType, type Structure, PathSegmentType, type PathSegment, TreePathType, type TreePath, type ParsePathResult, type ParseDatasetPathResult, type ParsePackageRefResult, treePath, pathToString, parsePath, parseKeypath, parseDatasetPath, parsePackageRef, urlPathToTreePath, } from './structure.js';
|
|
28
28
|
export { RunnerType, type RunnerValue, withRunnerLifeline, } from './runner.js';
|
|
29
29
|
export { FunctionObjectType, type FunctionObject, decodeFunctionObject, } from './function.js';
|
|
30
|
-
export { RecordCommitType, type RecordCommit, MutationObjectType, type MutationObject, RecordObjectType, type RecordObject, decodeRecordObject, RecordIndexObjectType, type RecordIndexObject, RECORD_STATE_KIND, RecordStateType, type RecordState, isRecordStateType, indexCollectionType, indexWindowType, decodeRecordCommit, decodeMutationObject, MutationFormType, type MutationForm, MigrationObjectType, type MigrationObject, decodeMigrationObject, MigrationFormType, type MigrationForm, DELTA_CONFLICT, patchOpsType, mutationDeltaType, editTypeOf, type DeltaTarget, } from './record.js';
|
|
30
|
+
export { RecordCommitType, type RecordCommit, MutationObjectType, type MutationObject, RecordObjectType, type RecordObject, decodeRecordObject, RecordIndexObjectType, type RecordIndexObject, decodeRecordIndexObject, RECORD_STATE_KIND, RecordStateType, type RecordState, isRecordStateType, indexCollectionType, indexWindowType, decodeRecordCommit, decodeMutationObject, MutationFormType, type MutationForm, MigrationObjectType, type MigrationObject, decodeMigrationObject, MigrationFormType, type MigrationForm, DELTA_CONFLICT, patchOpsType, mutationDeltaType, editTypeOf, type DeltaTarget, } from './record.js';
|
|
31
31
|
export { PackageDataType, type PackageData, PackageObjectType, type PackageObject, DatasetSourceWireType, type DatasetSourceWire, decodePackageObject, PackageTransferInitRequestType, type PackageTransferInitRequest, PackageTransferInitResponseType, type PackageTransferInitResponse, PackageJobResponseType, type PackageJobResponse, PackageImportResultType, type PackageImportResult, PackageExportResultType, type PackageExportResult, PackageImportProgressType, type PackageImportProgress, PackageImportStatusType, type PackageImportStatus, PackageExportProgressType, type PackageExportProgress, PackageExportStatusType, type PackageExportStatus, } from './package.js';
|
|
32
32
|
export { WorkspaceStateType, type WorkspaceState, WorkspaceRecordType, type WorkspaceRecord, } from './workspace.js';
|
|
33
|
-
export { ExecutionStatusType, type ExecutionStatus, decodeExecutionStatus, executionStatusRoots, ExecutionOwnerType, type ExecutionOwner, } from './execution.js';
|
|
33
|
+
export { StopReasonType, type StopReason, ExecutionStatusType, type ExecutionStatus, decodeExecutionStatus, executionStatusRoots, ExecutionOwnerType, type ExecutionOwner, } from './execution.js';
|
|
34
34
|
export { LockOperationType, type LockOperation, ProcessHolderType, type ProcessHolder, LambdaHolderType, type LambdaHolder, LockHolderVariantType, type LockHolderVariant, LockStateType, type LockState, LockProgressType, type LockProgress, LockStatusType, type LockStatus, } from './lock.js';
|
|
35
35
|
export { IntakeStepType, type IntakeStep, IntakeFileType, type IntakeFile, } from './intake.js';
|
|
36
|
-
export { RepositoryRecordType, type RepositoryRecord, RepoStatusType, type RepoStatus, RepoMetadataType, type RepoMetadata, } from './repository.js';
|
|
36
|
+
export { RepositoryRecordType, type RepositoryRecord, RepositoryUpgradeProgressType, type RepositoryUpgradeProgress, RepoStatusType, type RepoStatus, RepoMetadataType, type RepoMetadata, } from './repository.js';
|
|
37
37
|
export { E3_RELEASE, compareReleases } from './release.js';
|
|
38
|
-
export { type NamedKind, nameProblem } from './names.js';
|
|
38
|
+
export { type NamedKind, type HashKind, type IdKind, type IdentifierKind, nameProblem } from './names.js';
|
|
39
39
|
export { TRANSFER_PROTOCOL_VERSION, transferPartCount, transferPartRange, TransferUploadRequestType, type TransferUploadRequest, TransferUploadResponseType, type TransferUploadResponse, TransferPartResponseType, type TransferPartResponse, TransferDoneResponseType, type TransferDoneResponse, } from './transfer.js';
|
|
40
|
-
export { isCollectionRoot, encodeDatasetBlob, writeCollectionManifest, type CollectionSegmentRef, type CollectionPiece, type SegmentSink, } from './dataset-blob.js';
|
|
40
|
+
export { isCollectionRoot, encodeDatasetBlob, writeCollectionManifest, SEGMENT_WRITES_IN_FLIGHT, type CollectionSegmentRef, type CollectionPiece, type SegmentSink, } from './dataset-blob.js';
|
|
41
41
|
export { COLLECTION_MANIFEST_KIND, CollectionManifestType, CollectionManifestEntryType, type CollectionManifest, type CollectionManifestEntry, isCollectionManifestType, isCollectionManifest, encodeCollectionManifest, decodeCollectionManifest, manifestElementCount, manifestByteSize, } from './collection-manifest.js';
|
|
42
42
|
export { checkDatasetType, datasetAddress, type DatasetTypeMismatch, } from './dataset-type.js';
|
|
43
43
|
export { BEAST2_CONTENT_TYPE } from './constants.js';
|
|
44
|
-
export { WorkspaceNotFoundErrorType, WorkspaceNotDeployedErrorType, WorkspaceExistsErrorType, LockHolderType, WorkspaceLockedErrorType, PackageNotFoundErrorType, PackageExistsErrorType, PackageInvalidErrorType, DatasetNotFoundErrorType, TaskNotFoundErrorType, ExecutionNotFoundErrorType, ObjectNotFoundErrorType, DataflowErrorType, PermissionDeniedErrorType, InternalErrorType, RepositoryNotFoundErrorType, DatasetTypeMismatchErrorType, InvalidNameErrorType, ErrorType, ResponseType, RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType, PackageListItemType, PackageInfoType, PackageDetailsType, WorkspaceCreateRequestType, WorkspaceInfoType, SchemaPolicyType, WorkspaceDeployRequestType, RecordPlanType, RecordIndexPlanType, RecordDeployStepType, RecordDeployStateType, DeployProgressType, WorkspaceDeployResultType, WorkspaceDeployProgressType, WorkspaceDeployStatusType, WorkspaceExportRequestType, DatasetStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, TaskStatusType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, LogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType, SplitCallArgType, SplitCallRequestType, SplitCallProgressType, SplitCallStatusType, SplitCallPlanType, MutationCallRequestType, MutationResultType, RecordSignatureType, RecordCommitInfoType, RecordHistoryResultType, type Error, type RepositoryStatus, type GcRequest, type GcResult, type AsyncOperationStatus, type GcStartResult, type GcStatusResult, type PackageListItem, type PackageInfo, type PackageDetails, type WorkspaceInfo, type WorkspaceCreateRequest, type WorkspaceDeployRequest, type SchemaPolicy, type RecordPlan, type RecordIndexPlan, type RecordDeployStep, type RecordDeployState, type DeployProgress, type WorkspaceDeployResult, type WorkspaceDeployProgress, type WorkspaceDeployStatus, type DatasetStatus, type TaskStatus as ApiTaskStatus, type DatasetStatusInfo, type TaskStatusInfo, type WorkspaceStatusSummary, type WorkspaceStatusResult, type TaskListItem, type TaskDetails, type DataflowRequest, type LogChunk, type TaskExecutionResult, type DataflowResult, type DataflowEvent, type ApiExecutionStatus, type DataflowExecutionSummary, type DataflowBudget, type UnitWait, type SplitProgress, type ApiDataflowExecutionState, type ExecutionHistoryStatus, type ExecutionListItem, type TreeKind, type ListEntry, type DatasetStatusDetail, type ExecuteLimits, type Diagnostic, type ExecuteResult, type FunctionCallRequest, type FunctionSignature, type OneShotRequest, type SplitCallArg, type SplitCallRequest, type SplitCallProgress, type SplitCallStatus, type SplitCallPlan, type MutationCallRequest, type MutationResult, type RecordSignature, type RecordCommitInfo, type RecordHistoryResult, } from './api.js';
|
|
45
|
-
export { type DataflowExecutionStatus, type TaskStatus, TaskStateType, type TaskState, DataflowGraphTaskType, type DataflowGraphTask, DataflowGraphType, type DataflowGraph, StageUnitType, type StageUnit, RequeueReasonType, type RequeueReason, ExecutionEventType, type ExecutionEvent, type PartitionProgress, DataflowExecutionStateType, type DataflowExecutionState, decodeDataflowExecutionState, DataflowRunStatusType, type DataflowRunStatus, TaskExecutionRecordType, type TaskExecutionRecord, DataflowRunSummaryType, type DataflowRunSummary, DataflowRunType, type DataflowRun, } from './dataflow.js';
|
|
44
|
+
export { WorkspaceNotFoundErrorType, WorkspaceNotDeployedErrorType, WorkspaceExistsErrorType, LockHolderType, WorkspaceLockedErrorType, PackageNotFoundErrorType, PackageExistsErrorType, PackageInvalidErrorType, DatasetNotFoundErrorType, TaskNotFoundErrorType, ExecutionNotFoundErrorType, ObjectNotFoundErrorType, DataflowErrorType, PermissionDeniedErrorType, InternalErrorType, RepositoryNotFoundErrorType, DatasetTypeMismatchErrorType, InvalidNameErrorType, ErrorType, ResponseType, RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType, PackageListItemType, PackageInfoType, PackageDetailsType, WorkspaceCreateRequestType, WorkspaceInfoType, SchemaPolicyType, WorkspaceDeployRequestType, RecordPlanType, RecordIndexPlanType, RecordDeployStepType, RecordDeployStateType, DeployProgressType, WorkspaceDeployResultType, WorkspaceDeployProgressType, WorkspaceDeployStatusType, WorkspaceExportRequestType, DatasetStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, TaskStatusType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, LogChunkType, TaskLogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType, DATAFLOW_POLL_EVENTS_MAX, ExecutionHistoryStatusType, ExecutionListItemType, TASK_EXECUTIONS_PAGE_DEFAULT, TASK_EXECUTIONS_PAGE_MAX, TreeKindType, ListEntryType, DatasetStatusDetailType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, CallArgType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType, SplitCallArgType, SplitCallRequestType, SplitCallProgressType, SplitCallStatusType, SplitCallPlanType, MutationCallRequestType, MutationResultType, RecordMigrationAppliedType, RecordSignatureType, RecordCommitInfoType, RecordArgPreviewType, RecordCommitArgsType, RecordHistoryCommitType, RecordHistoryResultType, RECORD_ARG_TEXT_CHARS, RECORD_ARG_TEXT_BYTES, RECORD_ARGS_READ_BYTES, type Error, type RepositoryStatus, type GcRequest, type GcResult, type AsyncOperationStatus, type GcStartResult, type GcStatusResult, type PackageListItem, type PackageInfo, type PackageDetails, type WorkspaceInfo, type WorkspaceCreateRequest, type WorkspaceDeployRequest, type SchemaPolicy, type RecordPlan, type RecordIndexPlan, type RecordDeployStep, type RecordDeployState, type DeployProgress, type WorkspaceDeployResult, type WorkspaceDeployProgress, type WorkspaceDeployStatus, type DatasetStatus, type TaskStatus as ApiTaskStatus, type DatasetStatusInfo, type TaskStatusInfo, type WorkspaceStatusSummary, type WorkspaceStatusResult, type TaskListItem, type TaskDetails, type DataflowRequest, type LogChunk, type TaskLogChunk, type TaskExecutionResult, type DataflowResult, type DataflowEvent, type ApiExecutionStatus, type DataflowExecutionSummary, type DataflowBudget, type UnitWait, type SplitProgress, type ApiDataflowExecutionState, type ExecutionHistoryStatus, type ExecutionListItem, type TreeKind, type ListEntry, type DatasetStatusDetail, type ExecuteLimits, type Diagnostic, type ExecuteResult, type CallArg, type FunctionCallRequest, type FunctionSignature, type OneShotRequest, type SplitCallArg, type SplitCallRequest, type SplitCallProgress, type SplitCallStatus, type SplitCallPlan, type MutationCallRequest, type MutationResult, type RecordMigrationApplied, type RecordSignature, type RecordCommitInfo, type RecordArgPreview, type RecordCommitArgs, type RecordHistoryCommit, type RecordHistoryResult, } from './api.js';
|
|
45
|
+
export { type DataflowExecutionStatus, type TaskStatus, TaskStateType, type TaskState, DataflowGraphTaskType, type DataflowGraphTask, DataflowGraphType, type DataflowGraph, StageUnitType, type StageUnit, RequeueReasonType, type RequeueReason, ExecutionEventType, type ExecutionEvent, type PartitionProgress, DataflowForceType, type DataflowForce, dataflowForce, dataflowForceOption, DataflowExecutionStateType, type DataflowExecutionState, decodeDataflowExecutionState, ExecutionStateSummaryType, type ExecutionStateSummary, executionStateSummary, lastEventSeq, DataflowRunStatusType, type DataflowRunStatus, TaskExecutionRecordType, type TaskExecutionRecord, DataflowRunSummaryType, type DataflowRunSummary, DataflowRunType, type DataflowRun, } from './dataflow.js';
|
|
46
|
+
export { PIECE_SIZES, type PieceSizes } from './pieces.js';
|
|
46
47
|
export { UNIT_PLAN_KIND, UnitPlanGroupType, type UnitPlanGroup, UnitPlanStageType, type UnitPlanStage, UnitPlanType, type UnitPlan, encodeUnitPlan, decodeUnitPlan, } from './unit-plan.js';
|
|
47
48
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EACL,WAAW,EACX,KAAK,OAAO,EACZ,aAAa,EACb,OAAO,EACP,YAAY,GACb,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,iBAAiB,EACjB,KAAK,aAAa,EAClB,cAAc,EACd,KAAK,UAAU,GAChB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,KAAK,UAAU,EACf,gBAAgB,EAChB,YAAY,EACZ,KAAK,QAAQ,EACb,iBAAiB,EACjB,KAAK,aAAa,EAClB,aAAa,EACb,KAAK,SAAS,EACd,kBAAkB,EAClB,KAAK,cAAc,EACnB,cAAc,EACd,KAAK,UAAU,EACf,gBAAgB,EAChB,KAAK,YAAY,EACjB,YAAY,EACZ,KAAK,QAAQ,GACd,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,mBAAmB,EACnB,KAAK,eAAe,EACpB,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,mBAAmB,EACnB,KAAK,eAAe,EACpB,oBAAoB,EACpB,KAAK,gBAAgB,EACrB,oBAAoB,EACpB,KAAK,gBAAgB,EACrB,4BAA4B,EAC5B,KAAK,wBAAwB,EAC7B,2BAA2B,GAC5B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,aAAa,EACb,KAAK,SAAS,EACd,eAAe,EACf,KAAK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K,qBAAqB,EAC1B,uBAAuB,EACvB,KAAK,mBAAmB,GACzB,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,kBAAkB,EAClB,KAAK,cAAc,EACnB,mBAAmB,EACnB,KAAK,eAAe,GACrB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,mBAAmB,EACnB,KAAK,eAAe,EACpB,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,KAAK,cAAc,GACpB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,iBAAiB,EACjB,KAAK,aAAa,EAClB,iBAAiB,EACjB,KAAK,aAAa,EAClB,gBAAgB,EAChB,KAAK,YAAY,EACjB,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,aAAa,EACb,KAAK,SAAS,EACd,gBAAgB,EAChB,KAAK,YAAY,EACjB,cAAc,EACd,KAAK,UAAU,GAChB,MAAM,WAAW,CAAC;AAInB,OAAO,EACL,cAAc,EACd,KAAK,UAAU,EACf,cAAc,EACd,KAAK,UAAU,GAChB,MAAM,aAAa,CAAC;AAGrB,OAAO,EACL,oBAAoB,EACpB,KAAK,gBAAgB,EACrB,cAAc,EACd,KAAK,UAAU,EACf,gBAAgB,EAChB,KAAK,YAAY,GAClB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG3D,OAAO,EAAE,KAAK,SAAS,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EACL,WAAW,EACX,KAAK,OAAO,EACZ,aAAa,EACb,OAAO,EACP,YAAY,GACb,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,iBAAiB,EACjB,KAAK,aAAa,EAClB,cAAc,EACd,KAAK,UAAU,GAChB,MAAM,kBAAkB,CA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AK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,aAAa,EACb,KAAK,SAAS,EACd,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,iBAAiB,EACjB,KAAK,aAAa,EAClB,aAAa,EACb,KAAK,SAAS,EACd,iBAAiB,EACjB,KAAK,aAAa,EAClB,kBAAkB,EAClB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,iBAAiB,EACjB,KAAK,aAAa,EAClB,aAAa,EACb,mBAAmB,EACnB,0BAA0B,EAC1B,KAAK,sBAAsB,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,KAAK,qBAAqB,EAC1B,qBAAqB,EACrB,YAAY,EAEZ,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,uBAAuB,EACvB,KAAK,mBAAmB,EACxB,sBAAsB,EACtB,KAAK,kBAAkB,EACvB,eAAe,EACf,KAAK,WAAW,GACjB,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAG3D,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,KAAK,aAAa,EAClB,iBAAiB,EACjB,KAAK,aAAa,EAClB,YAAY,EACZ,KAAK,QAAQ,EACb,cAAc,EACd,cAAc,GACf,MAAM,gBAAgB,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -29,13 +29,13 @@ export { TASK_OBJECT_KIND, TaskObjectType, decodeTaskObject, TaskBodyType, TaskP
|
|
|
29
29
|
// Execution environments
|
|
30
30
|
export { EnvironmentSpecType, PythonEnvironmentType, NodeEnvironmentType, ImageEnvironmentType, ToolsEnvironmentType, WorkspaceNodeEnvironmentType, environmentSpecObjectHashes, } from './environment.js';
|
|
31
31
|
// Data structure and paths
|
|
32
|
-
export { StructureType, PathSegmentType, TreePathType, treePath, pathToString, parsePath, parseDatasetPath, parsePackageRef, urlPathToTreePath, } from './structure.js';
|
|
32
|
+
export { StructureType, PathSegmentType, TreePathType, treePath, pathToString, parsePath, parseKeypath, parseDatasetPath, parsePackageRef, urlPathToTreePath, } from './structure.js';
|
|
33
33
|
// Runner wire types
|
|
34
34
|
export { RunnerType, withRunnerLifeline, } from './runner.js';
|
|
35
35
|
// Function objects
|
|
36
36
|
export { FunctionObjectType, decodeFunctionObject, } from './function.js';
|
|
37
37
|
// Record objects
|
|
38
|
-
export { RecordCommitType, MutationObjectType, RecordObjectType, decodeRecordObject, RecordIndexObjectType, RECORD_STATE_KIND, RecordStateType, isRecordStateType, indexCollectionType, indexWindowType, decodeRecordCommit, decodeMutationObject, MutationFormType, MigrationObjectType, decodeMigrationObject, MigrationFormType, DELTA_CONFLICT, patchOpsType, mutationDeltaType, editTypeOf, } from './record.js';
|
|
38
|
+
export { RecordCommitType, MutationObjectType, RecordObjectType, decodeRecordObject, RecordIndexObjectType, decodeRecordIndexObject, RECORD_STATE_KIND, RecordStateType, isRecordStateType, indexCollectionType, indexWindowType, decodeRecordCommit, decodeMutationObject, MutationFormType, MigrationObjectType, decodeMigrationObject, MigrationFormType, DELTA_CONFLICT, patchOpsType, mutationDeltaType, editTypeOf, } from './record.js';
|
|
39
39
|
// Package objects
|
|
40
40
|
export { PackageDataType, PackageObjectType, DatasetSourceWireType, decodePackageObject,
|
|
41
41
|
// Package transfer types
|
|
@@ -43,23 +43,23 @@ PackageTransferInitRequestType, PackageTransferInitResponseType, PackageJobRespo
|
|
|
43
43
|
// Workspace state
|
|
44
44
|
export { WorkspaceStateType, WorkspaceRecordType, } from './workspace.js';
|
|
45
45
|
// Execution status
|
|
46
|
-
export { ExecutionStatusType, decodeExecutionStatus, executionStatusRoots, ExecutionOwnerType, } from './execution.js';
|
|
46
|
+
export { StopReasonType, ExecutionStatusType, decodeExecutionStatus, executionStatusRoots, ExecutionOwnerType, } from './execution.js';
|
|
47
47
|
// Lock state
|
|
48
48
|
export { LockOperationType, ProcessHolderType, LambdaHolderType, LockHolderVariantType, LockStateType, LockProgressType, LockStatusType, } from './lock.js';
|
|
49
49
|
// How far a file being taken into the store has got: a deploy's file source,
|
|
50
50
|
// or an upload's delivery as its commit takes it in
|
|
51
51
|
export { IntakeStepType, IntakeFileType, } from './intake.js';
|
|
52
52
|
// The repository's own records
|
|
53
|
-
export { RepositoryRecordType, RepoStatusType, RepoMetadataType, } from './repository.js';
|
|
53
|
+
export { RepositoryRecordType, RepositoryUpgradeProgressType, RepoStatusType, RepoMetadataType, } from './repository.js';
|
|
54
54
|
// The release of e3 this build is, which what it keeps and ships records
|
|
55
55
|
export { E3_RELEASE, compareReleases } from './release.js';
|
|
56
|
-
// The names e3 makes paths of
|
|
56
|
+
// The names e3 makes paths of, and the hashes and ids
|
|
57
57
|
export { nameProblem } from './names.js';
|
|
58
58
|
// Dataset transfer types
|
|
59
59
|
export { TRANSFER_PROTOCOL_VERSION, transferPartCount, transferPartRange, TransferUploadRequestType, TransferUploadResponseType, TransferPartResponseType, TransferDoneResponseType, } from './transfer.js';
|
|
60
60
|
// Dataset blob encoding — the ONE branch deciding segmentation, shared by the
|
|
61
61
|
// store's door (e3-core `storeCollection`) and the package export (e3 `export_`)
|
|
62
|
-
export { isCollectionRoot, encodeDatasetBlob, writeCollectionManifest, } from './dataset-blob.js';
|
|
62
|
+
export { isCollectionRoot, encodeDatasetBlob, writeCollectionManifest, SEGMENT_WRITES_IN_FLIGHT, } from './dataset-blob.js';
|
|
63
63
|
// The segment-object layout: a collection dataset is a manifest naming
|
|
64
64
|
// standalone segment objects, and the manifest is what the ref points at
|
|
65
65
|
export { COLLECTION_MANIFEST_KIND, CollectionManifestType, CollectionManifestEntryType, isCollectionManifestType, isCollectionManifest, encodeCollectionManifest, decodeCollectionManifest, manifestElementCount, manifestByteSize, } from './collection-manifest.js';
|
|
@@ -83,23 +83,26 @@ DatasetStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInPr
|
|
|
83
83
|
// Tasks
|
|
84
84
|
TaskListItemType, TaskDetailsType,
|
|
85
85
|
// Execution
|
|
86
|
-
DataflowRequestType, LogChunkType, TaskExecutionResultType, DataflowResultType,
|
|
86
|
+
DataflowRequestType, LogChunkType, TaskLogChunkType, TaskExecutionResultType, DataflowResultType,
|
|
87
87
|
// Dataflow API polling
|
|
88
|
-
DataflowEventType, ApiExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType,
|
|
88
|
+
DataflowEventType, ApiExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType, DATAFLOW_POLL_EVENTS_MAX,
|
|
89
89
|
// Task Execution History
|
|
90
|
-
ExecutionHistoryStatusType, ExecutionListItemType,
|
|
90
|
+
ExecutionHistoryStatusType, ExecutionListItemType, TASK_EXECUTIONS_PAGE_DEFAULT, TASK_EXECUTIONS_PAGE_MAX,
|
|
91
91
|
// Dataset List
|
|
92
92
|
TreeKindType, ListEntryType,
|
|
93
93
|
// Dataset Status Detail
|
|
94
94
|
DatasetStatusDetailType,
|
|
95
95
|
// Function / one-shot execution
|
|
96
|
-
ExecuteLimitsType, DiagnosticType, ExecuteResultType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType,
|
|
96
|
+
ExecuteLimitsType, DiagnosticType, ExecuteResultType, CallArgType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType,
|
|
97
97
|
// Split calls
|
|
98
|
-
SplitCallArgType, SplitCallRequestType, SplitCallProgressType, SplitCallStatusType, SplitCallPlanType, MutationCallRequestType, MutationResultType, RecordSignatureType, RecordCommitInfoType, RecordHistoryResultType, } from './api.js';
|
|
98
|
+
SplitCallArgType, SplitCallRequestType, SplitCallProgressType, SplitCallStatusType, SplitCallPlanType, MutationCallRequestType, MutationResultType, RecordMigrationAppliedType, RecordSignatureType, RecordCommitInfoType, RecordArgPreviewType, RecordCommitArgsType, RecordHistoryCommitType, RecordHistoryResultType, RECORD_ARG_TEXT_CHARS, RECORD_ARG_TEXT_BYTES, RECORD_ARGS_READ_BYTES, } from './api.js';
|
|
99
99
|
// Dataflow execution state
|
|
100
|
-
export { TaskStateType, DataflowGraphTaskType, DataflowGraphType, StageUnitType, RequeueReasonType, ExecutionEventType, DataflowExecutionStateType, decodeDataflowExecutionState,
|
|
100
|
+
export { TaskStateType, DataflowGraphTaskType, DataflowGraphType, StageUnitType, RequeueReasonType, ExecutionEventType, DataflowForceType, dataflowForce, dataflowForceOption, DataflowExecutionStateType, decodeDataflowExecutionState, ExecutionStateSummaryType, executionStateSummary, lastEventSeq,
|
|
101
101
|
// Dataflow run history
|
|
102
102
|
DataflowRunStatusType, TaskExecutionRecordType, DataflowRunSummaryType, DataflowRunType, } from './dataflow.js';
|
|
103
|
+
// The sizes e3 cuts a split task's input into pieces at, which a caller
|
|
104
|
+
// planning a split call weighs a dataset against
|
|
105
|
+
export { PIECE_SIZES } from './pieces.js';
|
|
103
106
|
// A split task's unit graph, a stage at a time
|
|
104
107
|
export { UNIT_PLAN_KIND, UnitPlanGroupType, UnitPlanStageType, UnitPlanType, encodeUnitPlan, decodeUnitPlan, } from './unit-plan.js';
|
|
105
108
|
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AAEH,4BAA4B;AAC5B,OAAO,EACL,WAAW,EAEX,aAAa,EACb,OAAO,EACP,YAAY,GACb,MAAM,cAAc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BAAiB,EACjB,WAAW,EACX,uBAAuB,EACvB,qBAAqB,EACrB,kBAAkB;AAClB,cAAc;AACd,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,0BAA0B,EAC1B,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,GAsEvB,MAAM,UAAU,CAAC;AAElB,2BAA2B;AAC3B,OAAO,EAGL,aAAa,EAEb,qBAAqB,EAErB,iBAAiB,EAEjB,aAAa,EAEb,iBAAiB,EAEjB,kBAAkB,EAGlB,iBAAiB,EAEjB,aAAa,EACb,mBAAmB,EACnB,0BAA0B,EAE1B,4BAA4B,EAC5B,yBAAyB,EAEzB,qBAAqB,EACrB,YAAY;AACZ,uBAAuB;AACvB,qBAAqB,EAErB,uBAAuB,EAEvB,sBAAsB,EAEtB,eAAe,GAEhB,MAAM,eAAe,CAAC;AAEvB,wEAAwE;AACxE,iDAAiD;AACjD,OAAO,EAAE,WAAW,EAAmB,MAAM,aAAa,CAAC;AAE3D,+CAA+C;AAC/C,OAAO,EACL,cAAc,EACd,iBAAiB,EAEjB,iBAAiB,EAEjB,YAAY,EAEZ,cAAc,EACd,cAAc,GACf,MAAM,gBAAgB,CAAC"}
|
package/dist/src/names.d.ts
CHANGED
|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
*/
|
|
11
11
|
/** What a name names. */
|
|
12
12
|
export type NamedKind = 'repository' | 'workspace' | 'package' | 'package version' | 'lock';
|
|
13
|
+
/** What a hash e3 makes a path or a key of names: an object, or an
|
|
14
|
+
* execution's task or inputs. */
|
|
15
|
+
export type HashKind = 'object hash' | 'task hash' | 'inputs hash';
|
|
16
|
+
/** What an id e3 makes a path or a key of names: an execution attempt, a
|
|
17
|
+
* dataflow run, or a gc run in steps. */
|
|
18
|
+
export type IdKind = 'execution id' | 'run id' | 'gc run id';
|
|
19
|
+
/** What a hash or an id e3 makes a path or a key of names: not a name, so
|
|
20
|
+
* checked for its form rather than by {@link nameProblem}. */
|
|
21
|
+
export type IdentifierKind = HashKind | IdKind;
|
|
13
22
|
/**
|
|
14
23
|
* Why a name cannot be one path segment, or `null` when it can.
|
|
15
24
|
*
|
package/dist/src/names.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"names.d.ts","sourceRoot":"","sources":["../../src/names.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,yBAAyB;AACzB,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,WAAW,GAAG,SAAS,GAAG,iBAAiB,GAAG,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"names.d.ts","sourceRoot":"","sources":["../../src/names.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,yBAAyB;AACzB,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,WAAW,GAAG,SAAS,GAAG,iBAAiB,GAAG,MAAM,CAAC;AAE5F;kCACkC;AAClC,MAAM,MAAM,QAAQ,GAAG,aAAa,GAAG,WAAW,GAAG,aAAa,CAAC;AAEnE;0CAC0C;AAC1C,MAAM,MAAM,MAAM,GAAG,cAAc,GAAG,QAAQ,GAAG,WAAW,CAAC;AAE7D;+DAC+D;AAC/D,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,MAAM,CAAC;AAU/C;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQxE"}
|
package/dist/src/names.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"names.js","sourceRoot":"","sources":["../../src/names.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"names.js","sourceRoot":"","sources":["../../src/names.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAwBH;uCACuC;AACvC,MAAM,OAAO,GAAG,2BAA2B,CAAC;AAE5C;iCACiC;AACjC,MAAM,oBAAoB,GAAG,MAAM,CAAC;AAEpC;;;;;;GAMG;AACH,MAAM,UAAU,WAAW,CAAC,IAAe,EAAE,IAAY;IACvD,IAAI,IAAI,KAAK,EAAE;QAAE,OAAO,UAAU,CAAC;IACnC,IAAI,IAAI,KAAK,GAAG,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,sBAAsB,CAAC;IACjE,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnC,IAAI,OAAO,KAAK,IAAI;QAAE,OAAO,SAAS,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,4BAA4B,CAAC;IAC7F,MAAM,MAAM,GAAG,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC7E,IAAI,MAAM,KAAK,IAAI;QAAE,OAAO,SAAS,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,0CAA0C,CAAC;IACzG,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* The sizes e3 cuts a split task's input into pieces at.
|
|
7
|
+
*
|
|
8
|
+
* They live here, beside the wire types, so a caller that plans a split call
|
|
9
|
+
* in a browser — the query builder — weighs a dataset against the smallest
|
|
10
|
+
* piece e3 cuts without importing e3-core. e3-core's piece rule closes pieces
|
|
11
|
+
* at these sizes, and its `pieceSizes()` gives the sizes a process plans with:
|
|
12
|
+
* these, or the sizes a test sets.
|
|
13
|
+
*
|
|
14
|
+
* @packageDocumentation
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* The sizes the piece rule closes pieces at, in stored bytes: a piece closes
|
|
18
|
+
* only once it holds `min`, weighs its segments against `max` until it holds
|
|
19
|
+
* `target` and against `min` after, and always closes once it holds `max`.
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* A dataset that weighs no more than `min` is one piece, which is why a
|
|
23
|
+
* caller compares a dataset's stored bytes with `min` to tell whether a split
|
|
24
|
+
* call would split it.
|
|
25
|
+
*/
|
|
26
|
+
export interface PieceSizes {
|
|
27
|
+
/** The least a piece holds, unless the input ends first. */
|
|
28
|
+
readonly min: number;
|
|
29
|
+
/** Where a piece starts closing readily: the pieces' middle size, which a
|
|
30
|
+
* merge range aims for too. */
|
|
31
|
+
readonly target: number;
|
|
32
|
+
/** The most a piece holds, but for the rest of a `by` group. */
|
|
33
|
+
readonly max: number;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The platform's piece sizes: 16, 64 and 256 MiB.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* import { PIECE_SIZES } from '@elaraai/e3-types';
|
|
41
|
+
*
|
|
42
|
+
* // A dataset within one piece is read in one call.
|
|
43
|
+
* const split = storedBytes > PIECE_SIZES.min;
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare const PIECE_SIZES: PieceSizes;
|
|
47
|
+
//# sourceMappingURL=pieces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pieces.d.ts","sourceRoot":"","sources":["../../src/pieces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;GAUG;AAEH;;;;;;;;;GASG;AACH,MAAM,WAAW,UAAU;IACzB,4DAA4D;IAC5D,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB;oCACgC;IAChC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,gEAAgE;IAChE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,EAAE,UAA4E,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* The platform's piece sizes: 16, 64 and 256 MiB.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* import { PIECE_SIZES } from '@elaraai/e3-types';
|
|
11
|
+
*
|
|
12
|
+
* // A dataset within one piece is read in one call.
|
|
13
|
+
* const split = storedBytes > PIECE_SIZES.min;
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export const PIECE_SIZES = { min: 16 * 2 ** 20, target: 64 * 2 ** 20, max: 256 * 2 ** 20 };
|
|
17
|
+
//# sourceMappingURL=pieces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pieces.js","sourceRoot":"","sources":["../../src/pieces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkCH;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,WAAW,GAAe,EAAE,GAAG,EAAE,EAAE,GAAG,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,GAAG,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE,GAAG,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pieces.spec.d.ts","sourceRoot":"","sources":["../../src/pieces.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* The platform's piece sizes, which e3-core's piece rule closes pieces at and
|
|
7
|
+
* a caller planning a split call weighs a dataset against.
|
|
8
|
+
*/
|
|
9
|
+
import { describe, it } from 'node:test';
|
|
10
|
+
import assert from 'node:assert/strict';
|
|
11
|
+
import { PIECE_SIZES } from './index.js';
|
|
12
|
+
describe('PIECE_SIZES', () => {
|
|
13
|
+
it('is 16, 64 and 256 MiB, exported from the package', () => {
|
|
14
|
+
assert.deepEqual(PIECE_SIZES, { min: 16 * 2 ** 20, target: 64 * 2 ** 20, max: 256 * 2 ** 20 });
|
|
15
|
+
});
|
|
16
|
+
it('orders its sizes: the least a piece holds, its middle, and the most', () => {
|
|
17
|
+
assert.ok(PIECE_SIZES.min < PIECE_SIZES.target && PIECE_SIZES.target < PIECE_SIZES.max);
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=pieces.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pieces.spec.js","sourceRoot":"","sources":["../../src/pieces.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;GAGG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,kDAAkD,EAAE,GAAG,EAAE;QAC1D,MAAM,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,CAAC,IAAI,EAAE,EAAE,MAAM,EAAE,EAAE,GAAG,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE,GAAG,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IACjG,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qEAAqE,EAAE,GAAG,EAAE;QAC7E,MAAM,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,GAAG,WAAW,CAAC,MAAM,IAAI,WAAW,CAAC,MAAM,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC;IAC1F,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/src/record.d.ts
CHANGED
|
@@ -147,12 +147,24 @@ export declare const MutationObjectType: StructType<{
|
|
|
147
147
|
readonly runner: VariantType<{
|
|
148
148
|
readonly east_node: StructType<{
|
|
149
149
|
readonly platforms: ArrayType<StringType>;
|
|
150
|
+
readonly decode: VariantType<{
|
|
151
|
+
readonly lazy: NullType;
|
|
152
|
+
readonly whole: NullType;
|
|
153
|
+
}>;
|
|
150
154
|
}>;
|
|
151
155
|
readonly east_py: StructType<{
|
|
152
156
|
readonly platforms: ArrayType<StringType>;
|
|
157
|
+
readonly decode: VariantType<{
|
|
158
|
+
readonly lazy: NullType;
|
|
159
|
+
readonly whole: NullType;
|
|
160
|
+
}>;
|
|
153
161
|
}>;
|
|
154
162
|
readonly east_c: StructType<{
|
|
155
163
|
readonly platforms: ArrayType<StringType>;
|
|
164
|
+
readonly decode: VariantType<{
|
|
165
|
+
readonly lazy: NullType;
|
|
166
|
+
readonly whole: NullType;
|
|
167
|
+
}>;
|
|
156
168
|
}>;
|
|
157
169
|
readonly custom: StructType<{
|
|
158
170
|
readonly command: ArrayType<StringType>;
|
|
@@ -301,12 +313,24 @@ export declare const RecordIndexObjectType: StructType<{
|
|
|
301
313
|
readonly runner: VariantType<{
|
|
302
314
|
readonly east_node: StructType<{
|
|
303
315
|
readonly platforms: ArrayType<StringType>;
|
|
316
|
+
readonly decode: VariantType<{
|
|
317
|
+
readonly lazy: NullType;
|
|
318
|
+
readonly whole: NullType;
|
|
319
|
+
}>;
|
|
304
320
|
}>;
|
|
305
321
|
readonly east_py: StructType<{
|
|
306
322
|
readonly platforms: ArrayType<StringType>;
|
|
323
|
+
readonly decode: VariantType<{
|
|
324
|
+
readonly lazy: NullType;
|
|
325
|
+
readonly whole: NullType;
|
|
326
|
+
}>;
|
|
307
327
|
}>;
|
|
308
328
|
readonly east_c: StructType<{
|
|
309
329
|
readonly platforms: ArrayType<StringType>;
|
|
330
|
+
readonly decode: VariantType<{
|
|
331
|
+
readonly lazy: NullType;
|
|
332
|
+
readonly whole: NullType;
|
|
333
|
+
}>;
|
|
310
334
|
}>;
|
|
311
335
|
readonly custom: StructType<{
|
|
312
336
|
readonly command: ArrayType<StringType>;
|
|
@@ -315,6 +339,22 @@ export declare const RecordIndexObjectType: StructType<{
|
|
|
315
339
|
}>;
|
|
316
340
|
export type RecordIndexObjectType = typeof RecordIndexObjectType;
|
|
317
341
|
export type RecordIndexObject = ValueTypeOf<typeof RecordIndexObjectType>;
|
|
342
|
+
/**
|
|
343
|
+
* Decode a `RecordIndexObject`.
|
|
344
|
+
*
|
|
345
|
+
* @remarks
|
|
346
|
+
* A package-borne wire, so it changes by hard cutover: a package exported by
|
|
347
|
+
* an older SDK is re-exported with the current one, and this says so. A
|
|
348
|
+
* record's state names the index object each index was built under, so one an
|
|
349
|
+
* older SDK exported is read until a deploy of the re-exported package
|
|
350
|
+
* rebuilds the index under the current one.
|
|
351
|
+
*
|
|
352
|
+
* @param data - the stored bytes
|
|
353
|
+
* @returns the index object
|
|
354
|
+
* @throws {Error} When the bytes are not a current index object — a package
|
|
355
|
+
* exported by an older SDK, which is re-exported with the current one.
|
|
356
|
+
*/
|
|
357
|
+
export declare function decodeRecordIndexObject(data: Uint8Array): RecordIndexObject;
|
|
318
358
|
/**
|
|
319
359
|
* How a migration says what it changes.
|
|
320
360
|
*
|
|
@@ -455,12 +495,24 @@ export declare const MigrationObjectType: StructType<{
|
|
|
455
495
|
readonly runner: VariantType<{
|
|
456
496
|
readonly east_node: StructType<{
|
|
457
497
|
readonly platforms: ArrayType<StringType>;
|
|
498
|
+
readonly decode: VariantType<{
|
|
499
|
+
readonly lazy: NullType;
|
|
500
|
+
readonly whole: NullType;
|
|
501
|
+
}>;
|
|
458
502
|
}>;
|
|
459
503
|
readonly east_py: StructType<{
|
|
460
504
|
readonly platforms: ArrayType<StringType>;
|
|
505
|
+
readonly decode: VariantType<{
|
|
506
|
+
readonly lazy: NullType;
|
|
507
|
+
readonly whole: NullType;
|
|
508
|
+
}>;
|
|
461
509
|
}>;
|
|
462
510
|
readonly east_c: StructType<{
|
|
463
511
|
readonly platforms: ArrayType<StringType>;
|
|
512
|
+
readonly decode: VariantType<{
|
|
513
|
+
readonly lazy: NullType;
|
|
514
|
+
readonly whole: NullType;
|
|
515
|
+
}>;
|
|
464
516
|
}>;
|
|
465
517
|
readonly custom: StructType<{
|
|
466
518
|
readonly command: ArrayType<StringType>;
|