@elaraai/e3-types 1.0.78 → 1.0.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/README.md +1 -1
  2. package/dist/src/api.d.ts +569 -36
  3. package/dist/src/api.d.ts.map +1 -1
  4. package/dist/src/api.js +257 -32
  5. package/dist/src/api.js.map +1 -1
  6. package/dist/src/collection-manifest.d.ts +37 -0
  7. package/dist/src/collection-manifest.d.ts.map +1 -0
  8. package/dist/src/collection-manifest.js +37 -0
  9. package/dist/src/collection-manifest.js.map +1 -0
  10. package/dist/src/dataflow.d.ts +264 -19
  11. package/dist/src/dataflow.d.ts.map +1 -1
  12. package/dist/src/dataflow.js +156 -15
  13. package/dist/src/dataflow.js.map +1 -1
  14. package/dist/src/dataflow.spec.js +184 -27
  15. package/dist/src/dataflow.spec.js.map +1 -1
  16. package/dist/src/dataset-blob.d.ts +75 -15
  17. package/dist/src/dataset-blob.d.ts.map +1 -1
  18. package/dist/src/dataset-blob.js +95 -28
  19. package/dist/src/dataset-blob.js.map +1 -1
  20. package/dist/src/dataset-blob.spec.d.ts +6 -0
  21. package/dist/src/dataset-blob.spec.d.ts.map +1 -0
  22. package/dist/src/dataset-blob.spec.js +92 -0
  23. package/dist/src/dataset-blob.spec.js.map +1 -0
  24. package/dist/src/dataset-ref.d.ts +5 -4
  25. package/dist/src/dataset-ref.d.ts.map +1 -1
  26. package/dist/src/dataset-ref.js +5 -4
  27. package/dist/src/dataset-ref.js.map +1 -1
  28. package/dist/src/environment.d.ts +3 -2
  29. package/dist/src/environment.d.ts.map +1 -1
  30. package/dist/src/environment.js +3 -2
  31. package/dist/src/environment.js.map +1 -1
  32. package/dist/src/execution.d.ts +112 -18
  33. package/dist/src/execution.d.ts.map +1 -1
  34. package/dist/src/execution.js +174 -45
  35. package/dist/src/execution.js.map +1 -1
  36. package/dist/src/execution.spec.d.ts +6 -0
  37. package/dist/src/execution.spec.d.ts.map +1 -0
  38. package/dist/src/execution.spec.js +108 -0
  39. package/dist/src/execution.spec.js.map +1 -0
  40. package/dist/src/function.d.ts +14 -12
  41. package/dist/src/function.d.ts.map +1 -1
  42. package/dist/src/function.js +17 -32
  43. package/dist/src/function.js.map +1 -1
  44. package/dist/src/index.d.ts +16 -12
  45. package/dist/src/index.d.ts.map +1 -1
  46. package/dist/src/index.js +25 -20
  47. package/dist/src/index.js.map +1 -1
  48. package/dist/src/lock.d.ts +68 -22
  49. package/dist/src/lock.d.ts.map +1 -1
  50. package/dist/src/lock.js +33 -22
  51. package/dist/src/lock.js.map +1 -1
  52. package/dist/src/names.d.ts +21 -0
  53. package/dist/src/names.d.ts.map +1 -0
  54. package/dist/src/names.js +31 -0
  55. package/dist/src/names.js.map +1 -0
  56. package/dist/src/package.d.ts +11 -78
  57. package/dist/src/package.d.ts.map +1 -1
  58. package/dist/src/package.js +13 -66
  59. package/dist/src/package.js.map +1 -1
  60. package/dist/src/record.d.ts +582 -18
  61. package/dist/src/record.d.ts.map +1 -1
  62. package/dist/src/record.js +405 -7
  63. package/dist/src/record.js.map +1 -1
  64. package/dist/src/{stream.spec.d.ts → record.spec.d.ts} +1 -1
  65. package/dist/src/record.spec.d.ts.map +1 -0
  66. package/dist/src/record.spec.js +143 -0
  67. package/dist/src/record.spec.js.map +1 -0
  68. package/dist/src/release.d.ts +36 -0
  69. package/dist/src/release.d.ts.map +1 -0
  70. package/dist/src/release.js +71 -0
  71. package/dist/src/release.js.map +1 -0
  72. package/dist/src/release.spec.d.ts +6 -0
  73. package/dist/src/release.spec.d.ts.map +1 -0
  74. package/dist/src/release.spec.js +42 -0
  75. package/dist/src/release.spec.js.map +1 -0
  76. package/dist/src/repository.d.ts +64 -0
  77. package/dist/src/repository.d.ts.map +1 -0
  78. package/dist/src/repository.js +49 -0
  79. package/dist/src/repository.js.map +1 -0
  80. package/dist/src/runner.d.ts +16 -62
  81. package/dist/src/runner.d.ts.map +1 -1
  82. package/dist/src/runner.js +16 -79
  83. package/dist/src/runner.js.map +1 -1
  84. package/dist/src/runner.spec.js +11 -85
  85. package/dist/src/runner.spec.js.map +1 -1
  86. package/dist/src/structure.d.ts +0 -57
  87. package/dist/src/structure.d.ts.map +1 -1
  88. package/dist/src/structure.js +0 -3
  89. package/dist/src/structure.js.map +1 -1
  90. package/dist/src/task.d.ts +210 -318
  91. package/dist/src/task.d.ts.map +1 -1
  92. package/dist/src/task.js +117 -472
  93. package/dist/src/task.js.map +1 -1
  94. package/dist/src/task.spec.js +62 -154
  95. package/dist/src/task.spec.js.map +1 -1
  96. package/dist/src/transfer.d.ts +16 -22
  97. package/dist/src/transfer.d.ts.map +1 -1
  98. package/dist/src/transfer.js +16 -22
  99. package/dist/src/transfer.js.map +1 -1
  100. package/dist/src/transfer.spec.js +4 -34
  101. package/dist/src/transfer.spec.js.map +1 -1
  102. package/dist/src/unit-plan.d.ts +130 -0
  103. package/dist/src/unit-plan.d.ts.map +1 -0
  104. package/dist/src/unit-plan.js +107 -0
  105. package/dist/src/unit-plan.js.map +1 -0
  106. package/dist/src/unit-plan.spec.d.ts +6 -0
  107. package/dist/src/unit-plan.spec.d.ts.map +1 -0
  108. package/dist/src/unit-plan.spec.js +29 -0
  109. package/dist/src/unit-plan.spec.js.map +1 -0
  110. package/dist/src/workspace.d.ts +22 -11
  111. package/dist/src/workspace.d.ts.map +1 -1
  112. package/dist/src/workspace.js +10 -11
  113. package/dist/src/workspace.js.map +1 -1
  114. package/package.json +3 -3
  115. package/src/api.ts +276 -32
  116. package/src/collection-manifest.ts +53 -0
  117. package/src/dataflow.spec.ts +223 -31
  118. package/src/dataflow.ts +183 -26
  119. package/src/dataset-blob.spec.ts +117 -0
  120. package/src/dataset-blob.ts +157 -21
  121. package/src/dataset-ref.ts +5 -4
  122. package/src/environment.ts +3 -2
  123. package/src/execution.spec.ts +114 -0
  124. package/src/execution.ts +175 -51
  125. package/src/function.ts +19 -32
  126. package/src/index.ts +122 -39
  127. package/src/lock.ts +39 -22
  128. package/src/names.ts +39 -0
  129. package/src/package.ts +15 -71
  130. package/src/record.spec.ts +195 -0
  131. package/src/record.ts +489 -7
  132. package/src/release.spec.ts +47 -0
  133. package/src/release.ts +69 -0
  134. package/src/repository.ts +67 -0
  135. package/src/runner.spec.ts +11 -94
  136. package/src/runner.ts +16 -80
  137. package/src/structure.ts +0 -8
  138. package/src/task.spec.ts +67 -188
  139. package/src/task.ts +140 -522
  140. package/src/transfer.spec.ts +4 -51
  141. package/src/transfer.ts +16 -22
  142. package/src/unit-plan.spec.ts +31 -0
  143. package/src/unit-plan.ts +121 -0
  144. package/src/workspace.ts +13 -11
  145. package/dist/src/stream.d.ts +0 -97
  146. package/dist/src/stream.d.ts.map +0 -1
  147. package/dist/src/stream.js +0 -134
  148. package/dist/src/stream.js.map +0 -1
  149. package/dist/src/stream.spec.d.ts.map +0 -1
  150. package/dist/src/stream.spec.js +0 -60
  151. package/dist/src/stream.spec.js.map +0 -1
  152. package/src/stream.spec.ts +0 -88
  153. package/src/stream.ts +0 -170
package/dist/src/api.d.ts CHANGED
@@ -89,6 +89,13 @@ export declare const DatasetTypeMismatchErrorType: StructType<{
89
89
  readonly path: StringType;
90
90
  readonly message: StringType;
91
91
  }>;
92
+ /** A name e3 would make a path of that cannot be one path segment: a
93
+ * repository's, a workspace's, or a package's name or version. */
94
+ export declare const InvalidNameErrorType: StructType<{
95
+ readonly kind: StringType;
96
+ readonly name: StringType;
97
+ readonly message: StringType;
98
+ }>;
92
99
  export declare const ErrorType: VariantType<{
93
100
  readonly repository_not_found: StructType<{
94
101
  readonly repo: StringType;
@@ -153,6 +160,11 @@ export declare const ErrorType: VariantType<{
153
160
  readonly path: StringType;
154
161
  readonly message: StringType;
155
162
  }>;
163
+ readonly invalid_name: StructType<{
164
+ readonly kind: StringType;
165
+ readonly name: StringType;
166
+ readonly message: StringType;
167
+ }>;
156
168
  }>;
157
169
  export declare const ResponseType: <T extends EastType>(successType: T) => VariantType<{
158
170
  readonly success: T;
@@ -220,6 +232,11 @@ export declare const ResponseType: <T extends EastType>(successType: T) => Varia
220
232
  readonly path: StringType;
221
233
  readonly message: StringType;
222
234
  }>;
235
+ readonly invalid_name: StructType<{
236
+ readonly kind: StringType;
237
+ readonly name: StringType;
238
+ readonly message: StringType;
239
+ }>;
223
240
  }>;
224
241
  }>;
225
242
  /**
@@ -241,10 +258,16 @@ export declare const RepositoryStatusType: StructType<{
241
258
  *
242
259
  * @property dryRun - If true, report what would be deleted without deleting
243
260
  * @property minAge - Minimum age in milliseconds for objects to be considered for deletion
261
+ * @property keepRuns - The runs of each workspace kept however old, the latest
262
+ * first; the server's default when `none`
263
+ * @property keepDays - The days of runs and executions kept however many; the
264
+ * server's default when `none`
244
265
  */
245
266
  export declare const GcRequestType: StructType<{
246
267
  readonly dryRun: BooleanType;
247
268
  readonly minAge: OptionType<IntegerType>;
269
+ readonly keepRuns: OptionType<IntegerType>;
270
+ readonly keepDays: OptionType<IntegerType>;
248
271
  }>;
249
272
  /**
250
273
  * Garbage collection result.
@@ -254,6 +277,9 @@ export declare const GcRequestType: StructType<{
254
277
  * @property retainedObjects - Number of objects still referenced
255
278
  * @property skippedYoung - Number of objects skipped due to minAge
256
279
  * @property bytesFreed - Total bytes freed by deletion
280
+ * @property deletedRuns - Number of dataflow run records deleted
281
+ * @property deletedExecutions - Number of execution attempts deleted, each with
282
+ * its owner record and logs
257
283
  */
258
284
  export declare const GcResultType: StructType<{
259
285
  readonly deletedObjects: IntegerType;
@@ -261,6 +287,8 @@ export declare const GcResultType: StructType<{
261
287
  readonly retainedObjects: IntegerType;
262
288
  readonly skippedYoung: IntegerType;
263
289
  readonly bytesFreed: IntegerType;
290
+ readonly deletedRuns: IntegerType;
291
+ readonly deletedExecutions: IntegerType;
264
292
  }>;
265
293
  /**
266
294
  * Status of an async operation.
@@ -301,6 +329,8 @@ export declare const GcStatusResultType: StructType<{
301
329
  readonly retainedObjects: IntegerType;
302
330
  readonly skippedYoung: IntegerType;
303
331
  readonly bytesFreed: IntegerType;
332
+ readonly deletedRuns: IntegerType;
333
+ readonly deletedExecutions: IntegerType;
304
334
  }>>;
305
335
  readonly error: OptionType<StringType>;
306
336
  }>;
@@ -411,13 +441,185 @@ export declare const WorkspaceInfoType: StructType<{
411
441
  readonly packageName: OptionType<StringType>;
412
442
  readonly packageVersion: OptionType<StringType>;
413
443
  }>;
444
+ /**
445
+ * What a deploy does with a record it cannot keep as it is.
446
+ *
447
+ * - `migrate`: run the migrations the workspace has not applied, and refuse a
448
+ * record no migration carries to the package's type
449
+ * - `fail`: run none, and refuse a record with migrations to run, for a
450
+ * workspace whose migrations go through their own change control
451
+ * - `reset`: reset a record it can neither keep nor migrate to the package's
452
+ * initial value, under a `$reset` commit, so the reset is in its history
453
+ */
454
+ export declare const SchemaPolicyType: VariantType<{
455
+ readonly migrate: NullType;
456
+ readonly fail: NullType;
457
+ readonly reset: NullType;
458
+ }>;
414
459
  /**
415
460
  * Request to deploy a package to a workspace.
416
461
  *
417
462
  * @property packageRef - Package reference in format "name" or "name@version"
463
+ * @property schema - What the deploy does with a record it cannot keep as it is
464
+ * @property allowDropRecords - Whether a record the package no longer declares
465
+ * may be dropped, with its state and history
466
+ * @property plan - Say what the deploy would do, and write nothing
418
467
  */
419
468
  export declare const WorkspaceDeployRequestType: StructType<{
420
469
  readonly packageRef: StringType;
470
+ readonly schema: VariantType<{
471
+ readonly migrate: NullType;
472
+ readonly fail: NullType;
473
+ readonly reset: NullType;
474
+ }>;
475
+ readonly allowDropRecords: BooleanType;
476
+ readonly plan: BooleanType;
477
+ }>;
478
+ /**
479
+ * What a deploy decided for one record.
480
+ *
481
+ * @property record - The record's dataset ref path
482
+ * @property action - What the deploy does to it:
483
+ * - `mint`: the workspace does not hold it, so it is minted from the
484
+ * package's initial value
485
+ * - `keep`: kept as the workspace holds it; `deploy` when the package under
486
+ * it changed, which a `$deploy` commit records in its history
487
+ * - `migrate`: migrated by the steps the workspace has not applied, in order
488
+ * - `reset`: reset to the package's initial value under the `reset` policy,
489
+ * and why it could not be kept or migrated
490
+ * - `drop`: the package does not declare it, so it is dropped, with its
491
+ * state and history
492
+ * - `refused`: refused, and why, with the fix: the deploy writes nothing
493
+ */
494
+ export declare const RecordPlanType: StructType<{
495
+ readonly record: StringType;
496
+ readonly action: VariantType<{
497
+ readonly mint: NullType;
498
+ readonly keep: StructType<{
499
+ readonly deploy: BooleanType;
500
+ }>;
501
+ readonly migrate: StructType<{
502
+ readonly steps: ArrayType<StringType>;
503
+ }>;
504
+ readonly reset: StructType<{
505
+ readonly reason: StringType;
506
+ }>;
507
+ readonly drop: NullType;
508
+ readonly refused: StructType<{
509
+ readonly reason: StringType;
510
+ }>;
511
+ }>;
512
+ }>;
513
+ /**
514
+ * What a deploy decided for one of a record's indexes.
515
+ *
516
+ * @property record - The record's dataset ref path
517
+ * @property index - The index's name
518
+ * @property action - `build` when the state names no index under the
519
+ * package's declaration, `drop` when it names one the package does not
520
+ * declare, and `keep` when the two agree and nothing runs
521
+ */
522
+ export declare const RecordIndexPlanType: StructType<{
523
+ readonly record: StringType;
524
+ readonly index: StringType;
525
+ readonly action: VariantType<{
526
+ readonly build: NullType;
527
+ readonly drop: NullType;
528
+ readonly keep: NullType;
529
+ }>;
530
+ }>;
531
+ /**
532
+ * What a deploy did, or under `plan` would do.
533
+ *
534
+ * @property records - What it decided for each record
535
+ * @property indexes - What it decided for each index of the records it keeps
536
+ * @property warnings - The inputs it left unassigned, and why: a server never
537
+ * reads a `file` source, whose path is on the client's machine
538
+ */
539
+ export declare const WorkspaceDeployResultType: StructType<{
540
+ readonly records: ArrayType<StructType<{
541
+ readonly record: StringType;
542
+ readonly action: VariantType<{
543
+ readonly mint: NullType;
544
+ readonly keep: StructType<{
545
+ readonly deploy: BooleanType;
546
+ }>;
547
+ readonly migrate: StructType<{
548
+ readonly steps: ArrayType<StringType>;
549
+ }>;
550
+ readonly reset: StructType<{
551
+ readonly reason: StringType;
552
+ }>;
553
+ readonly drop: NullType;
554
+ readonly refused: StructType<{
555
+ readonly reason: StringType;
556
+ }>;
557
+ }>;
558
+ }>>;
559
+ readonly indexes: ArrayType<StructType<{
560
+ readonly record: StringType;
561
+ readonly index: StringType;
562
+ readonly action: VariantType<{
563
+ readonly build: NullType;
564
+ readonly drop: NullType;
565
+ readonly keep: NullType;
566
+ }>;
567
+ }>>;
568
+ readonly warnings: ArrayType<StringType>;
569
+ }>;
570
+ /**
571
+ * A deploy job's progress: `pending` until it starts, then `deploying`.
572
+ */
573
+ export declare const WorkspaceDeployProgressType: VariantType<{
574
+ readonly pending: NullType;
575
+ readonly deploying: NullType;
576
+ }>;
577
+ /**
578
+ * A deploy job's status.
579
+ *
580
+ * - `processing`: still running, and how far it has got
581
+ * - `completed`: what the deploy did
582
+ * - `failed`: why it did not
583
+ */
584
+ export declare const WorkspaceDeployStatusType: VariantType<{
585
+ readonly processing: VariantType<{
586
+ readonly pending: NullType;
587
+ readonly deploying: NullType;
588
+ }>;
589
+ readonly completed: StructType<{
590
+ readonly records: ArrayType<StructType<{
591
+ readonly record: StringType;
592
+ readonly action: VariantType<{
593
+ readonly mint: NullType;
594
+ readonly keep: StructType<{
595
+ readonly deploy: BooleanType;
596
+ }>;
597
+ readonly migrate: StructType<{
598
+ readonly steps: ArrayType<StringType>;
599
+ }>;
600
+ readonly reset: StructType<{
601
+ readonly reason: StringType;
602
+ }>;
603
+ readonly drop: NullType;
604
+ readonly refused: StructType<{
605
+ readonly reason: StringType;
606
+ }>;
607
+ }>;
608
+ }>>;
609
+ readonly indexes: ArrayType<StructType<{
610
+ readonly record: StringType;
611
+ readonly index: StringType;
612
+ readonly action: VariantType<{
613
+ readonly build: NullType;
614
+ readonly drop: NullType;
615
+ readonly keep: NullType;
616
+ }>;
617
+ }>>;
618
+ readonly warnings: ArrayType<StringType>;
619
+ }>;
620
+ readonly failed: StructType<{
621
+ readonly message: StringType;
622
+ }>;
421
623
  }>;
422
624
  /**
423
625
  * Workspace export request body.
@@ -550,6 +752,9 @@ export declare const DatasetStatusInfoType: StructType<{
550
752
  * @property inputs - Dataset paths this task reads from
551
753
  * @property output - Dataset path this task writes to
552
754
  * @property dependsOn - Names of tasks that must complete before this one
755
+ * @property peakBytes - The highest peak resident memory, in bytes, a runner
756
+ * of the execution the status comes from reached: the one the output came
757
+ * from, or the failure; `none` when it recorded none, or while it runs
553
758
  */
554
759
  export declare const TaskStatusInfoType: StructType<{
555
760
  readonly name: StringType;
@@ -590,6 +795,7 @@ export declare const TaskStatusInfoType: StructType<{
590
795
  readonly inputs: ArrayType<StringType>;
591
796
  readonly output: StringType;
592
797
  readonly dependsOn: ArrayType<StringType>;
798
+ readonly peakBytes: OptionType<IntegerType>;
593
799
  }>;
594
800
  /**
595
801
  * Summary counts for workspace status.
@@ -681,6 +887,7 @@ export declare const WorkspaceStatusResultType: StructType<{
681
887
  readonly inputs: ArrayType<StringType>;
682
888
  readonly output: StringType;
683
889
  readonly dependsOn: ArrayType<StringType>;
890
+ readonly peakBytes: OptionType<IntegerType>;
684
891
  }>>;
685
892
  readonly summary: StructType<{
686
893
  /** Dataset status counts */
@@ -708,44 +915,109 @@ export declare const WorkspaceStatusResultType: StructType<{
708
915
  *
709
916
  * @property name - Task name
710
917
  * @property hash - Task definition hash
711
- * @property kind - Task kind: "ui" (e3-ui `ui()`), other future kinds; none for plain tasks / old packages
918
+ * @property role - What the task's output is for: data, or a ui with what it
919
+ * binds
712
920
  */
713
921
  export declare const TaskListItemType: StructType<{
714
922
  readonly name: StringType;
715
923
  readonly hash: StringType;
716
- readonly kind: OptionType<StringType>;
924
+ readonly role: VariantType<{
925
+ readonly data: NullType;
926
+ readonly ui: StructType<{
927
+ readonly paths: ArrayType<ArrayType<VariantType<{
928
+ readonly field: StringType;
929
+ }>>>;
930
+ readonly functions: ArrayType<StringType>;
931
+ readonly records: ArrayType<StringType>;
932
+ readonly pages: ArrayType<ArrayType<VariantType<{
933
+ readonly field: StringType;
934
+ }>>>;
935
+ }>;
936
+ }>;
717
937
  }>;
718
938
  /**
719
- * Detailed task information.
939
+ * Detailed task information: the task object's fields.
720
940
  *
721
941
  * @property name - Task name
722
942
  * @property hash - Task definition hash
723
- * @property commandIr - East IR for the task's command
724
- * @property inputs - Tree paths for task inputs
725
- * @property output - Tree path for task output
943
+ * @property body - What the task runs: an East program, or a command
944
+ * @property runner - The runtime it runs on
945
+ * @property inputs - The datasets it reads, each with its partition
946
+ * @property output - Where its output goes, and how it is made
947
+ * @property role - What its output is for: data, or a ui with what it binds
726
948
  */
727
949
  export declare const TaskDetailsType: StructType<{
728
950
  readonly name: StringType;
729
951
  readonly hash: StringType;
730
- readonly commandIr: StringType;
731
- readonly inputs: ArrayType<ArrayType<VariantType<{
732
- readonly field: StringType;
733
- }>>>;
734
- readonly output: ArrayType<VariantType<{
735
- readonly field: StringType;
952
+ readonly body: VariantType<{
953
+ readonly east: StructType<{
954
+ readonly program: StringType;
955
+ }>;
956
+ readonly command: StructType<{
957
+ readonly commandIr: StringType;
958
+ }>;
959
+ }>;
960
+ readonly runner: VariantType<{
961
+ readonly east_node: StructType<{
962
+ readonly platforms: ArrayType<StringType>;
963
+ }>;
964
+ readonly east_py: StructType<{
965
+ readonly platforms: ArrayType<StringType>;
966
+ }>;
967
+ readonly east_c: StructType<{
968
+ readonly platforms: ArrayType<StringType>;
969
+ }>;
970
+ readonly custom: StructType<{
971
+ readonly command: ArrayType<StringType>;
972
+ }>;
973
+ }>;
974
+ readonly inputs: ArrayType<StructType<{
975
+ readonly path: ArrayType<VariantType<{
976
+ readonly field: StringType;
977
+ }>>;
978
+ readonly partition: OptionType<StructType<{
979
+ readonly by: ArrayType<StringType>;
980
+ }>>;
736
981
  }>>;
737
- readonly kind: OptionType<StringType>;
738
- readonly metadata: OptionType<BlobType>;
982
+ readonly output: StructType<{
983
+ readonly path: ArrayType<VariantType<{
984
+ readonly field: StringType;
985
+ }>>;
986
+ readonly kind: VariantType<{
987
+ readonly value: NullType;
988
+ readonly array: NullType;
989
+ readonly set: NullType;
990
+ readonly dict: StructType<{
991
+ readonly merge: OptionType<StringType>;
992
+ }>;
993
+ readonly fold: StructType<{
994
+ readonly zero: StringType;
995
+ readonly combine: StringType;
996
+ }>;
997
+ }>;
998
+ }>;
999
+ readonly role: VariantType<{
1000
+ readonly data: NullType;
1001
+ readonly ui: StructType<{
1002
+ readonly paths: ArrayType<ArrayType<VariantType<{
1003
+ readonly field: StringType;
1004
+ }>>>;
1005
+ readonly functions: ArrayType<StringType>;
1006
+ readonly records: ArrayType<StringType>;
1007
+ readonly pages: ArrayType<ArrayType<VariantType<{
1008
+ readonly field: StringType;
1009
+ }>>>;
1010
+ }>;
1011
+ }>;
739
1012
  }>;
740
1013
  /**
741
- * Request to start dataflow execution.
1014
+ * Request to start dataflow execution. The run takes the server's budget of
1015
+ * cores and memory, which it shares with everything else the server runs.
742
1016
  *
743
- * @property concurrency - Maximum parallel tasks (default: 4)
744
1017
  * @property force - Force re-execution of all tasks
745
1018
  * @property filter - Filter to specific task names (glob pattern)
746
1019
  */
747
1020
  export declare const DataflowRequestType: StructType<{
748
- readonly concurrency: OptionType<IntegerType>;
749
1021
  readonly force: BooleanType;
750
1022
  readonly filter: OptionType<StringType>;
751
1023
  }>;
@@ -826,11 +1098,15 @@ export declare const DataflowResultType: StructType<{
826
1098
  * Dataflow event types for API polling.
827
1099
  *
828
1100
  * - `start`: Task started executing
829
- * - `complete`: Task executed and succeeded
1101
+ * - `complete`: Task executed and succeeded, with the highest peak memory its
1102
+ * runners reached when they reported one
830
1103
  * - `cached`: Task result retrieved from cache (no execution)
831
1104
  * - `failed`: Task exited with non-zero code
832
1105
  * - `error`: Internal error during task execution
833
1106
  * - `input_unavailable`: Task couldn't run because inputs not available
1107
+ * - `requeued`: A unit of a split task was stopped — by the budget's guard, or
1108
+ * its cgroup's cap — and runs again once the memory it reserves fits: the
1109
+ * unit, why, the most it was measured using and what it reserves, in bytes
834
1110
  */
835
1111
  export declare const DataflowEventType: VariantType<{
836
1112
  readonly start: StructType<{
@@ -841,6 +1117,7 @@ export declare const DataflowEventType: VariantType<{
841
1117
  readonly task: StringType;
842
1118
  readonly timestamp: StringType;
843
1119
  readonly duration: FloatType;
1120
+ readonly peakBytes: OptionType<IntegerType>;
844
1121
  }>;
845
1122
  readonly cached: StructType<{
846
1123
  readonly task: StringType;
@@ -862,6 +1139,25 @@ export declare const DataflowEventType: VariantType<{
862
1139
  readonly timestamp: StringType;
863
1140
  readonly reason: StringType;
864
1141
  }>;
1142
+ readonly requeued: StructType<{
1143
+ readonly task: StringType;
1144
+ readonly timestamp: StringType;
1145
+ readonly unit: StructType<{
1146
+ readonly merge: OptionType<StructType<{
1147
+ readonly level: IntegerType;
1148
+ readonly levels: IntegerType;
1149
+ }>>;
1150
+ readonly index: IntegerType;
1151
+ readonly units: IntegerType;
1152
+ }>;
1153
+ readonly reason: VariantType<{
1154
+ readonly budget: NullType;
1155
+ readonly machine: NullType;
1156
+ readonly cap: NullType;
1157
+ }>;
1158
+ readonly peak: IntegerType;
1159
+ readonly reserves: IntegerType;
1160
+ }>;
865
1161
  }>;
866
1162
  /**
867
1163
  * Execution status for API polling responses.
@@ -890,6 +1186,62 @@ export declare const DataflowExecutionSummaryType: StructType<{
890
1186
  readonly skipped: IntegerType;
891
1187
  readonly duration: FloatType;
892
1188
  }>;
1189
+ /**
1190
+ * A server's budget of cores and memory, which every runner it spawns takes
1191
+ * from, and what its runners hold of it now.
1192
+ *
1193
+ * @property cores - Runner processes at once
1194
+ * @property memory - Bytes of memory the runners may hold between them
1195
+ * @property coresInUse - Runner processes holding the budget now
1196
+ * @property memoryInUse - Bytes the runners hold now, each at the larger of
1197
+ * its reservation and what it was last measured using
1198
+ */
1199
+ export declare const DataflowBudgetType: StructType<{
1200
+ readonly cores: IntegerType;
1201
+ readonly memory: IntegerType;
1202
+ readonly coresInUse: IntegerType;
1203
+ readonly memoryInUse: IntegerType;
1204
+ }>;
1205
+ /**
1206
+ * A task, or a unit of a split task, waiting for room in the server's budget.
1207
+ *
1208
+ * @property task - The task
1209
+ * @property unit - The unit, for a split task's; `none` for a task run as one
1210
+ * @property needs - The memory, in bytes, it waits to reserve; 0 when it
1211
+ * waits for a core alone
1212
+ * @property since - ISO timestamp when it began waiting
1213
+ */
1214
+ export declare const UnitWaitType: StructType<{
1215
+ readonly task: StringType;
1216
+ readonly unit: OptionType<StructType<{
1217
+ readonly merge: OptionType<StructType<{
1218
+ readonly level: IntegerType;
1219
+ readonly levels: IntegerType;
1220
+ }>>;
1221
+ readonly index: IntegerType;
1222
+ readonly units: IntegerType;
1223
+ }>>;
1224
+ readonly needs: IntegerType;
1225
+ readonly since: StringType;
1226
+ }>;
1227
+ /**
1228
+ * A split task's progress through the stage it is in.
1229
+ *
1230
+ * @property task - The task
1231
+ * @property merge - The merge level, from 1, and the levels the merges take;
1232
+ * `none` while its pieces run
1233
+ * @property done - The stage's units that have finished
1234
+ * @property units - The stage's units
1235
+ */
1236
+ export declare const SplitProgressType: StructType<{
1237
+ readonly task: StringType;
1238
+ readonly merge: OptionType<StructType<{
1239
+ readonly level: IntegerType;
1240
+ readonly levels: IntegerType;
1241
+ }>>;
1242
+ readonly done: IntegerType;
1243
+ readonly units: IntegerType;
1244
+ }>;
893
1245
  /**
894
1246
  * Dataflow execution state returned by API polling.
895
1247
  *
@@ -905,6 +1257,12 @@ export declare const DataflowExecutionSummaryType: StructType<{
905
1257
  * @property summary - Execution summary (available when complete)
906
1258
  * @property events - Task events (may be paginated via offset/limit)
907
1259
  * @property totalEvents - Total number of events (for pagination)
1260
+ * @property budget - The server's budget now, where it has one: a server whose
1261
+ * runners hold none, as a remote backend's, serves `none`
1262
+ * @property waiting - The tasks and units of the run waiting for room, while it
1263
+ * runs; nothing stores them
1264
+ * @property splits - Each split task's progress, while the run runs; nothing
1265
+ * stores it
908
1266
  */
909
1267
  export declare const ApiDataflowExecutionStateType: StructType<{
910
1268
  readonly status: VariantType<{
@@ -931,6 +1289,7 @@ export declare const ApiDataflowExecutionStateType: StructType<{
931
1289
  readonly task: StringType;
932
1290
  readonly timestamp: StringType;
933
1291
  readonly duration: FloatType;
1292
+ readonly peakBytes: OptionType<IntegerType>;
934
1293
  }>;
935
1294
  readonly cached: StructType<{
936
1295
  readonly task: StringType;
@@ -952,17 +1311,68 @@ export declare const ApiDataflowExecutionStateType: StructType<{
952
1311
  readonly timestamp: StringType;
953
1312
  readonly reason: StringType;
954
1313
  }>;
1314
+ readonly requeued: StructType<{
1315
+ readonly task: StringType;
1316
+ readonly timestamp: StringType;
1317
+ readonly unit: StructType<{
1318
+ readonly merge: OptionType<StructType<{
1319
+ readonly level: IntegerType;
1320
+ readonly levels: IntegerType;
1321
+ }>>;
1322
+ readonly index: IntegerType;
1323
+ readonly units: IntegerType;
1324
+ }>;
1325
+ readonly reason: VariantType<{
1326
+ readonly budget: NullType;
1327
+ readonly machine: NullType;
1328
+ readonly cap: NullType;
1329
+ }>;
1330
+ readonly peak: IntegerType;
1331
+ readonly reserves: IntegerType;
1332
+ }>;
955
1333
  }>>;
956
1334
  readonly totalEvents: IntegerType;
1335
+ readonly budget: OptionType<StructType<{
1336
+ readonly cores: IntegerType;
1337
+ readonly memory: IntegerType;
1338
+ readonly coresInUse: IntegerType;
1339
+ readonly memoryInUse: IntegerType;
1340
+ }>>;
1341
+ readonly waiting: ArrayType<StructType<{
1342
+ readonly task: StringType;
1343
+ readonly unit: OptionType<StructType<{
1344
+ readonly merge: OptionType<StructType<{
1345
+ readonly level: IntegerType;
1346
+ readonly levels: IntegerType;
1347
+ }>>;
1348
+ readonly index: IntegerType;
1349
+ readonly units: IntegerType;
1350
+ }>>;
1351
+ readonly needs: IntegerType;
1352
+ readonly since: StringType;
1353
+ }>>;
1354
+ readonly splits: ArrayType<StructType<{
1355
+ readonly task: StringType;
1356
+ readonly merge: OptionType<StructType<{
1357
+ readonly level: IntegerType;
1358
+ readonly levels: IntegerType;
1359
+ }>>;
1360
+ readonly done: IntegerType;
1361
+ readonly units: IntegerType;
1362
+ }>>;
957
1363
  }>;
958
1364
  /**
959
- * Execution status for history listing.
1365
+ * Execution status for history listing: `cancelled` when e3 stopped the
1366
+ * execution because its run was aborted, `interrupted` when the orchestrator
1367
+ * that owned it exited before it finished.
960
1368
  */
961
1369
  export declare const ExecutionHistoryStatusType: VariantType<{
962
1370
  readonly running: NullType;
963
1371
  readonly success: NullType;
964
1372
  readonly failed: NullType;
965
1373
  readonly error: NullType;
1374
+ readonly cancelled: NullType;
1375
+ readonly interrupted: NullType;
966
1376
  }>;
967
1377
  /**
968
1378
  * A single execution in task history.
@@ -974,6 +1384,8 @@ export declare const ExecutionHistoryStatusType: VariantType<{
974
1384
  * @property completedAt - ISO timestamp when execution finished (if done)
975
1385
  * @property duration - Execution duration in milliseconds (if done)
976
1386
  * @property exitCode - Process exit code (if failed)
1387
+ * @property peakBytes - The highest peak resident memory, in bytes, a runner
1388
+ * of the execution reached, when it succeeded or failed and one reported it
977
1389
  */
978
1390
  export declare const ExecutionListItemType: StructType<{
979
1391
  readonly inputsHash: StringType;
@@ -983,11 +1395,14 @@ export declare const ExecutionListItemType: StructType<{
983
1395
  readonly success: NullType;
984
1396
  readonly failed: NullType;
985
1397
  readonly error: NullType;
1398
+ readonly cancelled: NullType;
1399
+ readonly interrupted: NullType;
986
1400
  }>;
987
1401
  readonly startedAt: StringType;
988
1402
  readonly completedAt: OptionType<StringType>;
989
1403
  readonly duration: OptionType<IntegerType>;
990
1404
  readonly exitCode: OptionType<IntegerType>;
1405
+ readonly peakBytes: OptionType<IntegerType>;
991
1406
  }>;
992
1407
  /**
993
1408
  * Tree branch kind variant.
@@ -1001,7 +1416,9 @@ export declare const TreeKindType: VariantType<{
1001
1416
  * A list entry -- either a dataset leaf or a tree branch.
1002
1417
  *
1003
1418
  * Used by the `?list=true&status=true` endpoints to return both
1004
- * tree structure entries and dataset leaves in a single flat list.
1419
+ * tree structure entries and dataset leaves in a single flat list. A dataset's
1420
+ * `size` is what its value weighs in the store, as its status reports it: for
1421
+ * a collection, its segments and its manifest.
1005
1422
  */
1006
1423
  export declare const ListEntryType: VariantType<{
1007
1424
  readonly dataset: StructType<{
@@ -1065,7 +1482,8 @@ export declare const ListEntryType: VariantType<{
1065
1482
  * @property type - East type of the dataset
1066
1483
  * @property refType - Ref type: "unassigned", "null", or "value"
1067
1484
  * @property hash - Object hash (None if unassigned/null)
1068
- * @property size - Size in bytes (None if unassigned)
1485
+ * @property size - Bytes the value weighs in the store: for a collection, its
1486
+ * segments and its manifest (None if unassigned)
1069
1487
  */
1070
1488
  export declare const DatasetStatusDetailType: StructType<{
1071
1489
  readonly path: StringType;
@@ -1114,10 +1532,9 @@ export declare const DatasetStatusDetailType: StructType<{
1114
1532
  readonly refType: StringType;
1115
1533
  readonly hash: OptionType<StringType>;
1116
1534
  readonly size: OptionType<IntegerType>;
1117
- /** Segment and element counts of a stored collection, read from the blob's
1118
- * trailing index — so a re-pointed input is inspectable without decoding
1119
- * it. `none` for a non-collection or an unset dataset. Appended LAST, per
1120
- * the positional struct rule. */
1535
+ /** Segment and element counts of a stored collection, read from its
1536
+ * manifest — so a re-pointed input is inspectable without decoding it.
1537
+ * `none` for a non-collection or an unset dataset. */
1121
1538
  readonly segments: OptionType<IntegerType>;
1122
1539
  readonly rows: OptionType<IntegerType>;
1123
1540
  }>;
@@ -1344,6 +1761,10 @@ export declare const OneShotRequestType: StructType<{
1344
1761
  /**
1345
1762
  * A record mutation call. Positional args (after the implicit current state),
1346
1763
  * one beast2-encoded value per declared parameter.
1764
+ *
1765
+ * Of the limits, `timeoutMs` bounds each run of the mutation's program and
1766
+ * `maxLogBytes` the stderr a failure returns. `maxResultBytes` does not apply:
1767
+ * a mutation's output is stored as segments and never read whole.
1347
1768
  */
1348
1769
  export declare const MutationCallRequestType: StructType<{
1349
1770
  readonly args: ArrayType<BlobType>;
@@ -1359,10 +1780,11 @@ export declare const MutationCallRequestType: StructType<{
1359
1780
  *
1360
1781
  * - `committed`: the new commit + state hashes
1361
1782
  * - `invalid`: record/mutation lookup or arity error; nothing ran
1362
- * - `failed`: the reducer process exited non-zero (incl. a reducer `$.error`; see stderr)
1363
- * - `too_large`: the new state exceeded the result cap
1364
- * - `timed_out`: the reducer exceeded its time budget
1365
- * - `conflict`: the compare-and-swap lost the race `attempts` times
1783
+ * - `failed`: the mutation's program failed (incl. a body's `$.error`; see stderr)
1784
+ * - `timed_out`: the program exceeded its time budget
1785
+ * - `conflict`: the compare-and-swap lost the race `attempts` times, or the
1786
+ * write disagreed with the state it landed on — then `detail` names the key,
1787
+ * and resubmitting the same write cannot help
1366
1788
  */
1367
1789
  export declare const MutationResultType: StructType<{
1368
1790
  readonly outcome: VariantType<{
@@ -1377,24 +1799,20 @@ export declare const MutationResultType: StructType<{
1377
1799
  readonly exitCode: IntegerType;
1378
1800
  readonly stderr: StringType;
1379
1801
  }>;
1380
- readonly too_large: StructType<{
1381
- readonly bytes: IntegerType;
1382
- readonly limit: IntegerType;
1383
- readonly stderr: StringType;
1384
- }>;
1385
1802
  readonly timed_out: StructType<{
1386
1803
  readonly ms: IntegerType;
1387
1804
  readonly stderr: StringType;
1388
1805
  }>;
1389
1806
  readonly conflict: StructType<{
1390
1807
  readonly attempts: IntegerType;
1808
+ readonly detail: OptionType<StringType>;
1391
1809
  }>;
1392
1810
  }>;
1393
1811
  }>;
1394
1812
  /**
1395
1813
  * A record's callable surface, returned by `describe` so dynamic callers can
1396
- * encode mutation arguments. The mutation `argTypes` are the EXTRA parameters
1397
- * after the implicit current state.
1814
+ * encode mutation arguments and read through its indexes. The mutation
1815
+ * `argTypes` are the EXTRA parameters after the implicit current state.
1398
1816
  */
1399
1817
  export declare const RecordSignatureType: StructType<{
1400
1818
  readonly name: StringType;
@@ -1442,6 +1860,105 @@ export declare const RecordSignatureType: StructType<{
1442
1860
  readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1443
1861
  readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1444
1862
  }>>>;
1863
+ /** The write form — `reduce`, `edit` or `patch` — which says what the
1864
+ * arguments MEAN: a `patch` mutation's one argument is a
1865
+ * `PatchType(State)`, not a value of the record's own type. */
1866
+ readonly form: StringType;
1867
+ }>>;
1868
+ /** The indexes the record declares. A page read through one is decoded by
1869
+ * `indexWindowType(K, keyType, valueType, V)` over the record's
1870
+ * `Dict<K, V>`, and a key search through one takes a `keyType` key. */
1871
+ readonly indexes: ArrayType<StructType<{
1872
+ readonly name: StringType;
1873
+ /** The index key's type. */
1874
+ readonly keyType: import("@elaraai/east").RecursiveType<VariantType<{
1875
+ readonly Never: NullType;
1876
+ readonly Null: NullType;
1877
+ readonly Boolean: NullType;
1878
+ readonly Integer: NullType;
1879
+ readonly Float: NullType;
1880
+ readonly String: NullType;
1881
+ readonly DateTime: NullType;
1882
+ readonly Blob: NullType;
1883
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1884
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1885
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1886
+ readonly Dict: StructType<{
1887
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1888
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1889
+ }>;
1890
+ readonly Struct: ArrayType<StructType<{
1891
+ readonly name: StringType;
1892
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1893
+ }>>;
1894
+ readonly Variant: ArrayType<StructType<{
1895
+ readonly name: StringType;
1896
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1897
+ }>>;
1898
+ readonly Recursive: VariantType<{
1899
+ readonly ref: IntegerType;
1900
+ readonly wrapper: StructType<{
1901
+ readonly id: IntegerType;
1902
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1903
+ }>;
1904
+ }>;
1905
+ readonly Function: StructType<{
1906
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1907
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1908
+ }>;
1909
+ readonly AsyncFunction: StructType<{
1910
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1911
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1912
+ }>;
1913
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1914
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1915
+ }>>;
1916
+ /** The covering projection's type: `Null` when the index projects
1917
+ * nothing, and a read joins the rows instead. */
1918
+ readonly valueType: import("@elaraai/east").RecursiveType<VariantType<{
1919
+ readonly Never: NullType;
1920
+ readonly Null: NullType;
1921
+ readonly Boolean: NullType;
1922
+ readonly Integer: NullType;
1923
+ readonly Float: NullType;
1924
+ readonly String: NullType;
1925
+ readonly DateTime: NullType;
1926
+ readonly Blob: NullType;
1927
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
1928
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
1929
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
1930
+ readonly Dict: StructType<{
1931
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
1932
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
1933
+ }>;
1934
+ readonly Struct: ArrayType<StructType<{
1935
+ readonly name: StringType;
1936
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1937
+ }>>;
1938
+ readonly Variant: ArrayType<StructType<{
1939
+ readonly name: StringType;
1940
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
1941
+ }>>;
1942
+ readonly Recursive: VariantType<{
1943
+ readonly ref: IntegerType;
1944
+ readonly wrapper: StructType<{
1945
+ readonly id: IntegerType;
1946
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
1947
+ }>;
1948
+ }>;
1949
+ readonly Function: StructType<{
1950
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1951
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1952
+ }>;
1953
+ readonly AsyncFunction: StructType<{
1954
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
1955
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
1956
+ }>;
1957
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
1958
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
1959
+ }>>;
1960
+ /** Whether a row may hold several index keys. */
1961
+ readonly multi: BooleanType;
1445
1962
  }>>;
1446
1963
  }>;
1447
1964
  /** One commit in a record's history (its hash plus the commit fields). */
@@ -1452,6 +1969,9 @@ export declare const RecordCommitInfoType: StructType<{
1452
1969
  readonly mutation: StringType;
1453
1970
  readonly actor: StringType;
1454
1971
  readonly at: DateTimeType;
1972
+ /** The delta this commit applied, when it wrote one — so history shows WHAT
1973
+ * changed without diffing two states. */
1974
+ readonly delta: OptionType<StringType>;
1455
1975
  }>;
1456
1976
  /** A page of a record's commit history, newest first. */
1457
1977
  export declare const RecordHistoryResultType: StructType<{
@@ -1462,6 +1982,9 @@ export declare const RecordHistoryResultType: StructType<{
1462
1982
  readonly mutation: StringType;
1463
1983
  readonly actor: StringType;
1464
1984
  readonly at: DateTimeType;
1985
+ /** The delta this commit applied, when it wrote one — so history shows WHAT
1986
+ * changed without diffing two states. */
1987
+ readonly delta: OptionType<StringType>;
1465
1988
  }>>;
1466
1989
  }>;
1467
1990
  export type Error = ValueTypeOf<typeof ErrorType>;
@@ -1477,6 +2000,13 @@ export type PackageDetails = ValueTypeOf<typeof PackageDetailsType>;
1477
2000
  export type WorkspaceInfo = ValueTypeOf<typeof WorkspaceInfoType>;
1478
2001
  export type WorkspaceCreateRequest = ValueTypeOf<typeof WorkspaceCreateRequestType>;
1479
2002
  export type WorkspaceDeployRequest = ValueTypeOf<typeof WorkspaceDeployRequestType>;
2003
+ /** A {@link SchemaPolicyType} by its name, as a deploy's options take it. */
2004
+ export type SchemaPolicy = ValueTypeOf<typeof SchemaPolicyType>['type'];
2005
+ export type RecordPlan = ValueTypeOf<typeof RecordPlanType>;
2006
+ export type RecordIndexPlan = ValueTypeOf<typeof RecordIndexPlanType>;
2007
+ export type WorkspaceDeployResult = ValueTypeOf<typeof WorkspaceDeployResultType>;
2008
+ export type WorkspaceDeployProgress = ValueTypeOf<typeof WorkspaceDeployProgressType>;
2009
+ export type WorkspaceDeployStatus = ValueTypeOf<typeof WorkspaceDeployStatusType>;
1480
2010
  export type DatasetStatus = ValueTypeOf<typeof DatasetStatusType>;
1481
2011
  export type TaskStatus = ValueTypeOf<typeof TaskStatusType>;
1482
2012
  export type DatasetStatusInfo = ValueTypeOf<typeof DatasetStatusInfoType>;
@@ -1492,6 +2022,9 @@ export type DataflowResult = ValueTypeOf<typeof DataflowResultType>;
1492
2022
  export type DataflowEvent = ValueTypeOf<typeof DataflowEventType>;
1493
2023
  export type ApiExecutionStatus = ValueTypeOf<typeof ApiExecutionStatusType>;
1494
2024
  export type DataflowExecutionSummary = ValueTypeOf<typeof DataflowExecutionSummaryType>;
2025
+ export type DataflowBudget = ValueTypeOf<typeof DataflowBudgetType>;
2026
+ export type UnitWait = ValueTypeOf<typeof UnitWaitType>;
2027
+ export type SplitProgress = ValueTypeOf<typeof SplitProgressType>;
1495
2028
  export type ApiDataflowExecutionState = ValueTypeOf<typeof ApiDataflowExecutionStateType>;
1496
2029
  export type ExecutionHistoryStatus = ValueTypeOf<typeof ExecutionHistoryStatusType>;
1497
2030
  export type ExecutionListItem = ValueTypeOf<typeof ExecutionListItemType>;