@elaraai/e3-types 0.0.2-beta.5 → 0.0.2-beta.50

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 (59) hide show
  1. package/README.md +7 -4
  2. package/dist/src/api.d.ts +1111 -0
  3. package/dist/src/api.d.ts.map +1 -0
  4. package/dist/src/api.js +650 -0
  5. package/dist/src/api.js.map +1 -0
  6. package/dist/src/constants.d.ts +12 -0
  7. package/dist/src/constants.d.ts.map +1 -0
  8. package/dist/src/constants.js +12 -0
  9. package/dist/src/constants.js.map +1 -0
  10. package/dist/src/dataflow.d.ts +574 -0
  11. package/dist/src/dataflow.d.ts.map +1 -0
  12. package/dist/src/dataflow.js +366 -0
  13. package/dist/src/dataflow.js.map +1 -0
  14. package/dist/src/dataset-ref.d.ts +86 -0
  15. package/dist/src/dataset-ref.d.ts.map +1 -0
  16. package/dist/src/dataset-ref.js +82 -0
  17. package/dist/src/dataset-ref.js.map +1 -0
  18. package/dist/src/dataset.d.ts +4 -4
  19. package/dist/src/execution.d.ts +29 -21
  20. package/dist/src/execution.d.ts.map +1 -1
  21. package/dist/src/execution.js +8 -0
  22. package/dist/src/execution.js.map +1 -1
  23. package/dist/src/index.d.ts +7 -1
  24. package/dist/src/index.d.ts.map +1 -1
  25. package/dist/src/index.js +39 -1
  26. package/dist/src/index.js.map +1 -1
  27. package/dist/src/lock.d.ts +85 -0
  28. package/dist/src/lock.d.ts.map +1 -0
  29. package/dist/src/lock.js +71 -0
  30. package/dist/src/lock.js.map +1 -0
  31. package/dist/src/package.d.ts +235 -134
  32. package/dist/src/package.d.ts.map +1 -1
  33. package/dist/src/package.js +53 -23
  34. package/dist/src/package.js.map +1 -1
  35. package/dist/src/structure.d.ts +87 -73
  36. package/dist/src/structure.d.ts.map +1 -1
  37. package/dist/src/structure.js +8 -3
  38. package/dist/src/structure.js.map +1 -1
  39. package/dist/src/task.d.ts +5 -5
  40. package/dist/src/transfer.d.ts +52 -0
  41. package/dist/src/transfer.d.ts.map +1 -0
  42. package/dist/src/transfer.js +49 -0
  43. package/dist/src/transfer.js.map +1 -0
  44. package/dist/src/workspace.d.ts +7 -9
  45. package/dist/src/workspace.d.ts.map +1 -1
  46. package/dist/src/workspace.js +3 -5
  47. package/dist/src/workspace.js.map +1 -1
  48. package/package.json +2 -2
  49. package/src/api.ts +760 -0
  50. package/src/constants.ts +12 -0
  51. package/src/dataflow.ts +427 -0
  52. package/src/dataset-ref.ts +91 -0
  53. package/src/execution.ts +8 -0
  54. package/src/index.ts +183 -0
  55. package/src/lock.ts +90 -0
  56. package/src/package.ts +72 -23
  57. package/src/structure.ts +8 -3
  58. package/src/transfer.ts +56 -0
  59. package/src/workspace.ts +3 -5
@@ -18,7 +18,7 @@
18
18
  *
19
19
  * @see East serialization docs for keypath syntax details
20
20
  */
21
- import { VariantType, StringType, ArrayType, DictType, RecursiveType, ValueTypeOf } from '@elaraai/east';
21
+ import { VariantType, StringType, ArrayType, DictType, RecursiveType, ValueTypeOf, StructType, BooleanType } from '@elaraai/east';
22
22
  /**
23
23
  * Structure definition for a data tree node.
24
24
  *
@@ -44,85 +44,99 @@ import { VariantType, StringType, ArrayType, DictType, RecursiveType, ValueTypeO
44
44
  * ```
45
45
  */
46
46
  export declare const StructureType: RecursiveType<VariantType<{
47
- /** Dataset: East type of the value (homoiconic EastTypeValue) */
48
- value: RecursiveType<VariantType<{
49
- Never: import("@elaraai/east").NullType;
50
- Null: import("@elaraai/east").NullType;
51
- Boolean: import("@elaraai/east").NullType;
52
- Integer: import("@elaraai/east").NullType;
53
- Float: import("@elaraai/east").NullType;
54
- String: import("@elaraai/east").NullType;
55
- DateTime: import("@elaraai/east").NullType;
56
- Blob: import("@elaraai/east").NullType;
57
- Ref: import("@elaraai/east").RecursiveTypeMarker;
58
- Array: import("@elaraai/east").RecursiveTypeMarker;
59
- Set: import("@elaraai/east").RecursiveTypeMarker;
60
- Dict: import("@elaraai/east").StructType<{
61
- key: import("@elaraai/east").RecursiveTypeMarker;
62
- value: import("@elaraai/east").RecursiveTypeMarker;
63
- }>;
64
- Struct: ArrayType<import("@elaraai/east").StructType<{
65
- name: StringType;
66
- type: import("@elaraai/east").RecursiveTypeMarker;
47
+ /** Dataset: East type and writable flag */
48
+ readonly value: StructType<{
49
+ /** The East type of the dataset value (homoiconic EastTypeValue) */
50
+ readonly type: RecursiveType<VariantType<{
51
+ readonly Never: import("@elaraai/east").NullType;
52
+ readonly Null: import("@elaraai/east").NullType;
53
+ readonly Boolean: import("@elaraai/east").NullType;
54
+ readonly Integer: import("@elaraai/east").NullType;
55
+ readonly Float: import("@elaraai/east").NullType;
56
+ readonly String: import("@elaraai/east").NullType;
57
+ readonly DateTime: import("@elaraai/east").NullType;
58
+ readonly Blob: import("@elaraai/east").NullType;
59
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
60
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
61
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
62
+ readonly Dict: StructType<{
63
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
64
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
65
+ }>;
66
+ readonly Struct: ArrayType<StructType<{
67
+ readonly name: StringType;
68
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
69
+ }>>;
70
+ readonly Variant: ArrayType<StructType<{
71
+ readonly name: StringType;
72
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
73
+ }>>;
74
+ readonly Recursive: import("@elaraai/east").IntegerType;
75
+ readonly Function: StructType<{
76
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
77
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
78
+ }>;
79
+ readonly AsyncFunction: StructType<{
80
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
81
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
82
+ }>;
83
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
84
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
67
85
  }>>;
68
- Variant: ArrayType<import("@elaraai/east").StructType<{
69
- name: StringType;
70
- type: import("@elaraai/east").RecursiveTypeMarker;
71
- }>>;
72
- Recursive: import("@elaraai/east").IntegerType;
73
- Function: import("@elaraai/east").StructType<{
74
- inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
75
- output: import("@elaraai/east").RecursiveTypeMarker;
76
- }>;
77
- AsyncFunction: import("@elaraai/east").StructType<{
78
- inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
79
- output: import("@elaraai/east").RecursiveTypeMarker;
80
- }>;
81
- }>>;
86
+ /** Whether the dataset can be written to by users (e.g., inputs are writable, task outputs are not) */
87
+ readonly writable: BooleanType;
88
+ }>;
82
89
  /** Struct tree: named children mapping to child structures */
83
- struct: DictType<StringType, import("@elaraai/east").RecursiveTypeMarker>;
90
+ readonly struct: DictType<StringType, import("@elaraai/east").RecursiveTypeMarker>;
84
91
  }>>;
85
92
  export type StructureType = typeof StructureType;
86
93
  export type Structure = ValueTypeOf<typeof StructureType>;
87
94
  /** @deprecated Use StructureType instead */
88
95
  export declare const DatasetSchemaType: RecursiveType<VariantType<{
89
- /** Dataset: East type of the value (homoiconic EastTypeValue) */
90
- value: RecursiveType<VariantType<{
91
- Never: import("@elaraai/east").NullType;
92
- Null: import("@elaraai/east").NullType;
93
- Boolean: import("@elaraai/east").NullType;
94
- Integer: import("@elaraai/east").NullType;
95
- Float: import("@elaraai/east").NullType;
96
- String: import("@elaraai/east").NullType;
97
- DateTime: import("@elaraai/east").NullType;
98
- Blob: import("@elaraai/east").NullType;
99
- Ref: import("@elaraai/east").RecursiveTypeMarker;
100
- Array: import("@elaraai/east").RecursiveTypeMarker;
101
- Set: import("@elaraai/east").RecursiveTypeMarker;
102
- Dict: import("@elaraai/east").StructType<{
103
- key: import("@elaraai/east").RecursiveTypeMarker;
104
- value: import("@elaraai/east").RecursiveTypeMarker;
105
- }>;
106
- Struct: ArrayType<import("@elaraai/east").StructType<{
107
- name: StringType;
108
- type: import("@elaraai/east").RecursiveTypeMarker;
109
- }>>;
110
- Variant: ArrayType<import("@elaraai/east").StructType<{
111
- name: StringType;
112
- type: import("@elaraai/east").RecursiveTypeMarker;
96
+ /** Dataset: East type and writable flag */
97
+ readonly value: StructType<{
98
+ /** The East type of the dataset value (homoiconic EastTypeValue) */
99
+ readonly type: RecursiveType<VariantType<{
100
+ readonly Never: import("@elaraai/east").NullType;
101
+ readonly Null: import("@elaraai/east").NullType;
102
+ readonly Boolean: import("@elaraai/east").NullType;
103
+ readonly Integer: import("@elaraai/east").NullType;
104
+ readonly Float: import("@elaraai/east").NullType;
105
+ readonly String: import("@elaraai/east").NullType;
106
+ readonly DateTime: import("@elaraai/east").NullType;
107
+ readonly Blob: import("@elaraai/east").NullType;
108
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
109
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
110
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
111
+ readonly Dict: StructType<{
112
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
113
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
114
+ }>;
115
+ readonly Struct: ArrayType<StructType<{
116
+ readonly name: StringType;
117
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
118
+ }>>;
119
+ readonly Variant: ArrayType<StructType<{
120
+ readonly name: StringType;
121
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
122
+ }>>;
123
+ readonly Recursive: import("@elaraai/east").IntegerType;
124
+ readonly Function: StructType<{
125
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
126
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
127
+ }>;
128
+ readonly AsyncFunction: StructType<{
129
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
130
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
131
+ }>;
132
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
133
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
113
134
  }>>;
114
- Recursive: import("@elaraai/east").IntegerType;
115
- Function: import("@elaraai/east").StructType<{
116
- inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
117
- output: import("@elaraai/east").RecursiveTypeMarker;
118
- }>;
119
- AsyncFunction: import("@elaraai/east").StructType<{
120
- inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
121
- output: import("@elaraai/east").RecursiveTypeMarker;
122
- }>;
123
- }>>;
135
+ /** Whether the dataset can be written to by users (e.g., inputs are writable, task outputs are not) */
136
+ readonly writable: BooleanType;
137
+ }>;
124
138
  /** Struct tree: named children mapping to child structures */
125
- struct: DictType<StringType, import("@elaraai/east").RecursiveTypeMarker>;
139
+ readonly struct: DictType<StringType, import("@elaraai/east").RecursiveTypeMarker>;
126
140
  }>>;
127
141
  /** @deprecated Use Structure instead */
128
142
  export type DatasetSchemaType = StructureType;
@@ -147,7 +161,7 @@ export type DatasetSchema = Structure;
147
161
  */
148
162
  export declare const PathSegmentType: VariantType<{
149
163
  /** Struct field access by name */
150
- field: StringType;
164
+ readonly field: StringType;
151
165
  }>;
152
166
  export type PathSegmentType = typeof PathSegmentType;
153
167
  export type PathSegment = ValueTypeOf<typeof PathSegmentType>;
@@ -169,7 +183,7 @@ export type PathSegment = ValueTypeOf<typeof PathSegmentType>;
169
183
  */
170
184
  export declare const TreePathType: ArrayType<VariantType<{
171
185
  /** Struct field access by name */
172
- field: StringType;
186
+ readonly field: StringType;
173
187
  }>>;
174
188
  export type TreePathType = typeof TreePathType;
175
189
  export type TreePath = ValueTypeOf<typeof TreePathType>;
@@ -1 +1 @@
1
- {"version":3,"file":"structure.d.ts","sourceRoot":"","sources":["../../src/structure.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,E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E,SAAS,EAAE,GAAG,MAAM,EAAE,MAAM,EAAE,GAAG,eAAe,CAEnF;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,qBAAqB;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,sBAAsB,CAWzE;AAqCD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAUlE;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,QAAQ,CAG3D"}
@@ -18,7 +18,7 @@
18
18
  *
19
19
  * @see East serialization docs for keypath syntax details
20
20
  */
21
- import { VariantType, StringType, ArrayType, DictType, RecursiveType, printIdentifier, variant, EastTypeType } from '@elaraai/east';
21
+ import { VariantType, StringType, ArrayType, DictType, RecursiveType, printIdentifier, variant, EastTypeType, StructType, BooleanType } from '@elaraai/east';
22
22
  /**
23
23
  * Structure definition for a data tree node.
24
24
  *
@@ -44,8 +44,13 @@ import { VariantType, StringType, ArrayType, DictType, RecursiveType, printIdent
44
44
  * ```
45
45
  */
46
46
  export const StructureType = RecursiveType(self => VariantType({
47
- /** Dataset: East type of the value (homoiconic EastTypeValue) */
48
- value: EastTypeType,
47
+ /** Dataset: East type and writable flag */
48
+ value: StructType({
49
+ /** The East type of the dataset value (homoiconic EastTypeValue) */
50
+ type: EastTypeType,
51
+ /** Whether the dataset can be written to by users (e.g., inputs are writable, task outputs are not) */
52
+ writable: BooleanType,
53
+ }),
49
54
  /** Struct tree: named children mapping to child structures */
50
55
  struct: DictType(StringType, self),
51
56
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"structure.js","sourceRoot":"","sources":["../../src/structure.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAe,eAAe,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAEjJ;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC;IAC7D,iEAAiE;IACjE,KAAK,EAAE,YAAY;IACnB,8DAA8D;IAC9D,MAAM,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC;CACnC,CAAC,CAAC,CAAC;AAKJ,gCAAgC;AAChC,4CAA4C;AAC5C,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAM/C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC;IACzC,kCAAkC;IAClC,KAAK,EAAE,UAAU;IACjB,wDAAwD;IACxD,8CAA8C;IAC9C,2DAA2D;CAC5D,CAAC,CAAC;AAKH;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,SAAS,CAAC,eAAe,CAAC,CAAC;AAKvD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,YAAY,CAAC,IAAc;IACzC,OAAO,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;QACxB,IAAI,OAAO,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;YAC7B,OAAO,GAAG,GAAG,eAAe,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QAC9C,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,KAAK,CAAC,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YACL,IAAI,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC;YACzB,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC;SAC9B,CAAC;IACJ,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC;AACvB,CAAC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,UAAU,iBAAiB,CAAC,OAAe;IAC/C,MAAM,QAAQ,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACnD,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAChF,CAAC"}
@@ -51,14 +51,14 @@ import { StructType, StringType, ArrayType, ValueTypeOf } from '@elaraai/east';
51
51
  */
52
52
  export declare const TaskObjectType: StructType<{
53
53
  /** Hash of East IR that generates exec args: (inputs, output) -> Array<String> */
54
- commandIr: StringType;
54
+ readonly commandIr: StringType;
55
55
  /** Input paths: where to read each input dataset from the data tree */
56
- inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
57
- field: StringType;
56
+ readonly inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
57
+ readonly field: StringType;
58
58
  }>>>;
59
59
  /** Output path: where to write the output dataset in the data tree */
60
- output: ArrayType<import("@elaraai/east").VariantType<{
61
- field: StringType;
60
+ readonly output: ArrayType<import("@elaraai/east").VariantType<{
61
+ readonly field: StringType;
62
62
  }>>;
63
63
  }>;
64
64
  export type TaskObjectType = typeof TaskObjectType;
@@ -0,0 +1,52 @@
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
+ * Dataset transfer types for the staged upload protocol.
7
+ *
8
+ * Used by both the API server and client for large dataset uploads
9
+ * that exceed inline body size limits.
10
+ */
11
+ import { VariantType, StructType, StringType, IntegerType, NullType, type ValueTypeOf } from '@elaraai/east';
12
+ /**
13
+ * Transfer upload init request.
14
+ *
15
+ * Workspace and dataset path are now encoded in the URL.
16
+ *
17
+ * @property hash - SHA-256 hex hash of the data (computed by client)
18
+ * @property size - Size of the data in bytes
19
+ */
20
+ export declare const TransferUploadRequestType: StructType<{
21
+ readonly hash: StringType;
22
+ readonly size: IntegerType;
23
+ }>;
24
+ export type TransferUploadRequest = ValueTypeOf<typeof TransferUploadRequestType>;
25
+ /**
26
+ * Transfer upload init response.
27
+ *
28
+ * - `completed`: Object already exists (dedup), dataset ref updated
29
+ * - `upload`: Staging slot created, client should upload then call done
30
+ */
31
+ export declare const TransferUploadResponseType: VariantType<{
32
+ readonly completed: NullType;
33
+ readonly upload: StructType<{
34
+ readonly id: StringType;
35
+ readonly uploadUrl: StringType;
36
+ }>;
37
+ }>;
38
+ export type TransferUploadResponse = ValueTypeOf<typeof TransferUploadResponseType>;
39
+ /**
40
+ * Transfer done response.
41
+ *
42
+ * - `completed`: Hash verified, object stored, dataset ref updated
43
+ * - `error`: Hash mismatch or other failure
44
+ */
45
+ export declare const TransferDoneResponseType: VariantType<{
46
+ readonly completed: NullType;
47
+ readonly error: StructType<{
48
+ readonly message: StringType;
49
+ }>;
50
+ }>;
51
+ export type TransferDoneResponse = ValueTypeOf<typeof TransferDoneResponseType>;
52
+ //# sourceMappingURL=transfer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transfer.d.ts","sourceRoot":"","sources":["../../src/transfer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAE7G;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB;;;EAGpC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B;;;;;;EAMrC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAEpF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;EAKnC,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -0,0 +1,49 @@
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
+ * Dataset transfer types for the staged upload protocol.
7
+ *
8
+ * Used by both the API server and client for large dataset uploads
9
+ * that exceed inline body size limits.
10
+ */
11
+ import { VariantType, StructType, StringType, IntegerType, NullType } from '@elaraai/east';
12
+ /**
13
+ * Transfer upload init request.
14
+ *
15
+ * Workspace and dataset path are now encoded in the URL.
16
+ *
17
+ * @property hash - SHA-256 hex hash of the data (computed by client)
18
+ * @property size - Size of the data in bytes
19
+ */
20
+ export const TransferUploadRequestType = StructType({
21
+ hash: StringType,
22
+ size: IntegerType,
23
+ });
24
+ /**
25
+ * Transfer upload init response.
26
+ *
27
+ * - `completed`: Object already exists (dedup), dataset ref updated
28
+ * - `upload`: Staging slot created, client should upload then call done
29
+ */
30
+ export const TransferUploadResponseType = VariantType({
31
+ completed: NullType,
32
+ upload: StructType({
33
+ id: StringType,
34
+ uploadUrl: StringType,
35
+ }),
36
+ });
37
+ /**
38
+ * Transfer done response.
39
+ *
40
+ * - `completed`: Hash verified, object stored, dataset ref updated
41
+ * - `error`: Hash mismatch or other failure
42
+ */
43
+ export const TransferDoneResponseType = VariantType({
44
+ completed: NullType,
45
+ error: StructType({
46
+ message: StringType,
47
+ }),
48
+ });
49
+ //# sourceMappingURL=transfer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transfer.js","sourceRoot":"","sources":["../../src/transfer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAoB,MAAM,eAAe,CAAC;AAE7G;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,UAAU,CAAC;IAClD,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,WAAW;CAClB,CAAC,CAAC;AAGH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,WAAW,CAAC;IACpD,SAAS,EAAE,QAAQ;IACnB,MAAM,EAAE,UAAU,CAAC;QACjB,EAAE,EAAE,UAAU;QACd,SAAS,EAAE,UAAU;KACtB,CAAC;CACH,CAAC,CAAC;AAGH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,WAAW,CAAC;IAClD,SAAS,EAAE,QAAQ;IACnB,KAAK,EAAE,UAAU,CAAC;QAChB,OAAO,EAAE,UAAU;KACpB,CAAC;CACH,CAAC,CAAC"}
@@ -14,7 +14,7 @@
14
14
  * State file location: workspaces/<name>/state.beast2
15
15
  * No state file = workspace exists but not yet deployed.
16
16
  */
17
- import { StructType, StringType, DateTimeType, ValueTypeOf } from '@elaraai/east';
17
+ import { StructType, StringType, DateTimeType, OptionType, ValueTypeOf } from '@elaraai/east';
18
18
  /**
19
19
  * Workspace state stored in workspaces/<name>/state.beast2
20
20
  *
@@ -33,17 +33,15 @@ import { StructType, StringType, DateTimeType, ValueTypeOf } from '@elaraai/east
33
33
  */
34
34
  export declare const WorkspaceStateType: StructType<{
35
35
  /** Name of the deployed package */
36
- packageName: StringType;
36
+ readonly packageName: StringType;
37
37
  /** Version of the deployed package */
38
- packageVersion: StringType;
38
+ readonly packageVersion: StringType;
39
39
  /** Hash of the package object at deploy time (immutable reference) */
40
- packageHash: StringType;
40
+ readonly packageHash: StringType;
41
41
  /** UTC datetime when the package was deployed */
42
- deployedAt: DateTimeType;
43
- /** Current root data tree hash */
44
- rootHash: StringType;
45
- /** UTC datetime when root was last updated */
46
- rootUpdatedAt: DateTimeType;
42
+ readonly deployedAt: DateTimeType;
43
+ /** Run ID of the latest completed dataflow run (null if never run) */
44
+ readonly currentRunId: OptionType<StringType>;
47
45
  }>;
48
46
  export type WorkspaceState = ValueTypeOf<typeof WorkspaceStateType>;
49
47
  //# sourceMappingURL=workspace.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../src/workspace.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAElF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,kBAAkB;IAC7B,mCAAmC;;IAEnC,sCAAsC;;IAEtC,sEAAsE;;IAEtE,iDAAiD;;IAEjD,kCAAkC;;IAElC,8CAA8C;;EAE9C,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../src/workspace.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE9F;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,kBAAkB;IAC7B,mCAAmC;;IAEnC,sCAAsC;;IAEtC,sEAAsE;;IAEtE,iDAAiD;;IAEjD,sEAAsE;;EAEtE,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -14,7 +14,7 @@
14
14
  * State file location: workspaces/<name>/state.beast2
15
15
  * No state file = workspace exists but not yet deployed.
16
16
  */
17
- import { StructType, StringType, DateTimeType } from '@elaraai/east';
17
+ import { StructType, StringType, DateTimeType, OptionType } from '@elaraai/east';
18
18
  /**
19
19
  * Workspace state stored in workspaces/<name>/state.beast2
20
20
  *
@@ -40,9 +40,7 @@ export const WorkspaceStateType = StructType({
40
40
  packageHash: StringType,
41
41
  /** UTC datetime when the package was deployed */
42
42
  deployedAt: DateTimeType,
43
- /** Current root data tree hash */
44
- rootHash: StringType,
45
- /** UTC datetime when root was last updated */
46
- rootUpdatedAt: DateTimeType,
43
+ /** Run ID of the latest completed dataflow run (null if never run) */
44
+ currentRunId: OptionType(StringType),
47
45
  });
48
46
  //# sourceMappingURL=workspace.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../src/workspace.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAe,MAAM,eAAe,CAAC;AAElF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC;IAC3C,mCAAmC;IACnC,WAAW,EAAE,UAAU;IACvB,sCAAsC;IACtC,cAAc,EAAE,UAAU;IAC1B,sEAAsE;IACtE,WAAW,EAAE,UAAU;IACvB,iDAAiD;IACjD,UAAU,EAAE,YAAY;IACxB,kCAAkC;IAClC,QAAQ,EAAE,UAAU;IACpB,8CAA8C;IAC9C,aAAa,EAAE,YAAY;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../src/workspace.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAe,MAAM,eAAe,CAAC;AAE9F;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC;IAC3C,mCAAmC;IACnC,WAAW,EAAE,UAAU;IACvB,sCAAsC;IACtC,cAAc,EAAE,UAAU;IAC1B,sEAAsE;IACtE,WAAW,EAAE,UAAU;IACvB,iDAAiD;IACjD,UAAU,EAAE,YAAY;IACxB,sEAAsE;IACtE,YAAY,EAAE,UAAU,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elaraai/e3-types",
3
- "version": "0.0.2-beta.5",
3
+ "version": "0.0.2-beta.50",
4
4
  "description": "Shared type definitions for e3 (East Execution Engine)",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -23,7 +23,7 @@
23
23
  "directory": "packages/e3-types"
24
24
  },
25
25
  "peerDependencies": {
26
- "@elaraai/east": "^0.0.1-beta.17"
26
+ "@elaraai/east": "beta"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@typescript-eslint/eslint-plugin": "^8.47.0",