@elaraai/e3-api-client 0.0.2-beta.4 → 0.0.2-beta.41
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/README.md +2 -2
- package/dist/src/datasets.d.ts +73 -4
- package/dist/src/datasets.d.ts.map +1 -1
- package/dist/src/datasets.js +197 -19
- package/dist/src/datasets.js.map +1 -1
- package/dist/src/executions.d.ts +74 -11
- package/dist/src/executions.d.ts.map +1 -1
- package/dist/src/executions.js +184 -36
- package/dist/src/executions.js.map +1 -1
- package/dist/src/http.d.ts +60 -12
- package/dist/src/http.d.ts.map +1 -1
- package/dist/src/http.js +135 -34
- package/dist/src/http.js.map +1 -1
- package/dist/src/index.d.ts +8 -5
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +10 -4
- package/dist/src/index.js.map +1 -1
- package/dist/src/packages.d.ts +12 -27
- package/dist/src/packages.d.ts.map +1 -1
- package/dist/src/packages.js +139 -39
- package/dist/src/packages.js.map +1 -1
- package/dist/src/platform.d.ts +553 -1343
- package/dist/src/platform.d.ts.map +1 -1
- package/dist/src/platform.js +123 -915
- package/dist/src/platform.js.map +1 -1
- package/dist/src/repos.d.ts +16 -0
- package/dist/src/repos.d.ts.map +1 -0
- package/dist/src/repos.js +19 -0
- package/dist/src/repos.js.map +1 -0
- package/dist/src/repository.d.ts +67 -5
- package/dist/src/repository.d.ts.map +1 -1
- package/dist/src/repository.js +94 -10
- package/dist/src/repository.js.map +1 -1
- package/dist/src/tasks.d.ts +25 -3
- package/dist/src/tasks.d.ts.map +1 -1
- package/dist/src/tasks.js +29 -8
- package/dist/src/tasks.js.map +1 -1
- package/dist/src/types.d.ts +1360 -716
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +235 -2
- package/dist/src/types.js.map +1 -1
- package/dist/src/workspaces.d.ts +36 -7
- package/dist/src/workspaces.d.ts.map +1 -1
- package/dist/src/workspaces.js +43 -22
- package/dist/src/workspaces.js.map +1 -1
- package/package.json +4 -4
package/dist/src/platform.d.ts
CHANGED
|
@@ -4,1479 +4,689 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { StringType, IntegerType, BlobType, NullType, ArrayType, StructType } from '@elaraai/east';
|
|
6
6
|
import type { PlatformFunction } from '@elaraai/east/internal';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
*
|
|
13
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
14
|
-
* in East programs running on Node.js.
|
|
15
|
-
*
|
|
16
|
-
* @param url - Base URL of the e3 API server
|
|
17
|
-
* @returns Repository status including object, package, and workspace counts
|
|
18
|
-
*
|
|
19
|
-
* @throws {EastError} When request fails:
|
|
20
|
-
* - Network error
|
|
21
|
-
* - Server unavailable
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* ```ts
|
|
25
|
-
* const getStatus = East.function([StringType], RepositoryStatusType, ($, url) => {
|
|
26
|
-
* return Platform.repoStatus(url);
|
|
27
|
-
* });
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export declare const platform_repo_status: import("@elaraai/east").AsyncPlatformDefinition<[StringType], StructType<{
|
|
31
|
-
path: StringType;
|
|
32
|
-
objectCount: IntegerType;
|
|
33
|
-
packageCount: IntegerType;
|
|
34
|
-
workspaceCount: IntegerType;
|
|
7
|
+
export declare const platform_repo_status: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], StructType<{
|
|
8
|
+
readonly path: StringType;
|
|
9
|
+
readonly objectCount: IntegerType;
|
|
10
|
+
readonly packageCount: IntegerType;
|
|
11
|
+
readonly workspaceCount: IntegerType;
|
|
35
12
|
}>>;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
* @param url - Base URL of the e3 API server
|
|
46
|
-
* @param options - GC options (dryRun to preview, minAge for object age filter)
|
|
47
|
-
* @returns GC result with counts and freed bytes
|
|
48
|
-
*
|
|
49
|
-
* @throws {EastError} When request fails:
|
|
50
|
-
* - Network error
|
|
51
|
-
* - Server unavailable
|
|
52
|
-
*
|
|
53
|
-
* @example
|
|
54
|
-
* ```ts
|
|
55
|
-
* const runGc = East.function([StringType, GcRequestType], GcResultType, ($, url, options) => {
|
|
56
|
-
* return Platform.repoGc(url, options);
|
|
57
|
-
* });
|
|
58
|
-
* ```
|
|
59
|
-
*/
|
|
60
|
-
export declare const platform_repo_gc: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StructType<{
|
|
61
|
-
dryRun: import("@elaraai/east").BooleanType;
|
|
62
|
-
minAge: import("@elaraai/east").OptionType<IntegerType>;
|
|
63
|
-
}>], StructType<{
|
|
64
|
-
deletedObjects: IntegerType;
|
|
65
|
-
deletedPartials: IntegerType;
|
|
66
|
-
retainedObjects: IntegerType;
|
|
67
|
-
skippedYoung: IntegerType;
|
|
68
|
-
bytesFreed: IntegerType;
|
|
13
|
+
export declare const platform_repo_gc: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StructType<{
|
|
14
|
+
readonly dryRun: import("@elaraai/east").BooleanType;
|
|
15
|
+
readonly minAge: import("@elaraai/east").OptionType<IntegerType>;
|
|
16
|
+
}>, StringType], StructType<{
|
|
17
|
+
readonly deletedObjects: IntegerType;
|
|
18
|
+
readonly deletedPartials: IntegerType;
|
|
19
|
+
readonly retainedObjects: IntegerType;
|
|
20
|
+
readonly skippedYoung: IntegerType;
|
|
21
|
+
readonly bytesFreed: IntegerType;
|
|
69
22
|
}>>;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
* Returns an array of package summaries including name and version.
|
|
74
|
-
*
|
|
75
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
76
|
-
* in East programs running on Node.js.
|
|
77
|
-
*
|
|
78
|
-
* @param url - Base URL of the e3 API server
|
|
79
|
-
* @returns Array of package info (name, version)
|
|
80
|
-
*
|
|
81
|
-
* @throws {EastError} When request fails:
|
|
82
|
-
* - Network error
|
|
83
|
-
* - Server unavailable
|
|
84
|
-
*
|
|
85
|
-
* @example
|
|
86
|
-
* ```ts
|
|
87
|
-
* const listPackages = East.function([StringType], ArrayType(PackageListItemType), ($, url) => {
|
|
88
|
-
* return Platform.packageList(url);
|
|
89
|
-
* });
|
|
90
|
-
* ```
|
|
91
|
-
*/
|
|
92
|
-
export declare const platform_package_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType], ArrayType<StructType<{
|
|
93
|
-
name: StringType;
|
|
94
|
-
version: StringType;
|
|
23
|
+
export declare const platform_package_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], ArrayType<StructType<{
|
|
24
|
+
readonly name: StringType;
|
|
25
|
+
readonly version: StringType;
|
|
95
26
|
}>>>;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
Dict: StructType<{
|
|
137
|
-
key: import("@elaraai/east").RecursiveTypeMarker;
|
|
138
|
-
value: import("@elaraai/east").RecursiveTypeMarker;
|
|
139
|
-
}>;
|
|
140
|
-
Struct: import("@elaraai/east").ArrayType<StructType<{
|
|
141
|
-
name: StringType;
|
|
142
|
-
type: import("@elaraai/east").RecursiveTypeMarker;
|
|
143
|
-
}>>;
|
|
144
|
-
Variant: import("@elaraai/east").ArrayType<StructType<{
|
|
145
|
-
name: StringType;
|
|
146
|
-
type: import("@elaraai/east").RecursiveTypeMarker;
|
|
27
|
+
export declare const platform_package_get: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], StructType<{
|
|
28
|
+
readonly tasks: import("@elaraai/east").DictType<StringType, StringType>;
|
|
29
|
+
readonly data: StructType<{
|
|
30
|
+
readonly structure: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
31
|
+
readonly value: StructType<{
|
|
32
|
+
readonly type: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
33
|
+
readonly Never: NullType;
|
|
34
|
+
readonly Null: NullType;
|
|
35
|
+
readonly Boolean: NullType;
|
|
36
|
+
readonly Integer: NullType;
|
|
37
|
+
readonly Float: NullType;
|
|
38
|
+
readonly String: NullType;
|
|
39
|
+
readonly DateTime: NullType;
|
|
40
|
+
readonly Blob: NullType;
|
|
41
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
42
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
43
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
44
|
+
readonly Dict: StructType<{
|
|
45
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
46
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
47
|
+
}>;
|
|
48
|
+
readonly Struct: import("@elaraai/east").ArrayType<StructType<{
|
|
49
|
+
readonly name: StringType;
|
|
50
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
51
|
+
}>>;
|
|
52
|
+
readonly Variant: import("@elaraai/east").ArrayType<StructType<{
|
|
53
|
+
readonly name: StringType;
|
|
54
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
55
|
+
}>>;
|
|
56
|
+
readonly Recursive: IntegerType;
|
|
57
|
+
readonly Function: StructType<{
|
|
58
|
+
readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
59
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
60
|
+
}>;
|
|
61
|
+
readonly AsyncFunction: StructType<{
|
|
62
|
+
readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
63
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
64
|
+
}>;
|
|
65
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
66
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
147
67
|
}>>;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
68
|
+
readonly writable: import("@elaraai/east").BooleanType;
|
|
69
|
+
}>;
|
|
70
|
+
readonly struct: import("@elaraai/east").DictType<StringType, import("@elaraai/east").RecursiveTypeMarker>;
|
|
71
|
+
}>>;
|
|
72
|
+
readonly refs: import("@elaraai/east").DictType<StringType, import("@elaraai/east").VariantType<{
|
|
73
|
+
readonly unassigned: NullType;
|
|
74
|
+
readonly null: StructType<{
|
|
75
|
+
readonly versions: import("@elaraai/east").DictType<StringType, StringType>;
|
|
76
|
+
}>;
|
|
77
|
+
readonly value: StructType<{
|
|
78
|
+
readonly hash: StringType;
|
|
79
|
+
readonly versions: import("@elaraai/east").DictType<StringType, StringType>;
|
|
80
|
+
}>;
|
|
159
81
|
}>>;
|
|
160
|
-
value: StringType;
|
|
161
82
|
}>;
|
|
162
83
|
}>>;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
169
|
-
* in East programs running on Node.js.
|
|
170
|
-
*
|
|
171
|
-
* @param url - Base URL of the e3 API server
|
|
172
|
-
* @param archive - Zip archive as bytes
|
|
173
|
-
* @returns Import result with package info and object count
|
|
174
|
-
*
|
|
175
|
-
* @throws {EastError} When request fails:
|
|
176
|
-
* - Invalid package format
|
|
177
|
-
* - Package already exists
|
|
178
|
-
* - Network error
|
|
179
|
-
*
|
|
180
|
-
* @example
|
|
181
|
-
* ```ts
|
|
182
|
-
* const importPackage = East.function([StringType, BlobType], PackageImportResultType, ($, url, archive) => {
|
|
183
|
-
* return Platform.packageImport(url, archive);
|
|
184
|
-
* });
|
|
185
|
-
* ```
|
|
186
|
-
*/
|
|
187
|
-
export declare const platform_package_import: import("@elaraai/east").AsyncPlatformDefinition<[StringType, BlobType], StructType<{
|
|
188
|
-
name: StringType;
|
|
189
|
-
version: StringType;
|
|
190
|
-
packageHash: StringType;
|
|
191
|
-
objectCount: IntegerType;
|
|
84
|
+
export declare const platform_package_import: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, BlobType, StringType], StructType<{
|
|
85
|
+
readonly name: StringType;
|
|
86
|
+
readonly version: StringType;
|
|
87
|
+
readonly packageHash: StringType;
|
|
88
|
+
readonly objectCount: IntegerType;
|
|
192
89
|
}>>;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
*
|
|
201
|
-
* @param url - Base URL of the e3 API server
|
|
202
|
-
* @param name - Package name
|
|
203
|
-
* @param version - Package version
|
|
204
|
-
* @returns Zip archive as bytes
|
|
205
|
-
*
|
|
206
|
-
* @throws {EastError} When request fails:
|
|
207
|
-
* - Package not found
|
|
208
|
-
* - Network error
|
|
209
|
-
*
|
|
210
|
-
* @example
|
|
211
|
-
* ```ts
|
|
212
|
-
* const exportPackage = East.function([StringType, StringType, StringType], BlobType, ($, url, name, version) => {
|
|
213
|
-
* return Platform.packageExport(url, name, version);
|
|
214
|
-
* });
|
|
215
|
-
* ```
|
|
216
|
-
*/
|
|
217
|
-
export declare const platform_package_export: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], BlobType>;
|
|
218
|
-
/**
|
|
219
|
-
* Removes a package from the repository.
|
|
220
|
-
*
|
|
221
|
-
* Deletes a package by name and version. Does not affect objects referenced by other packages.
|
|
222
|
-
*
|
|
223
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
224
|
-
* in East programs running on Node.js.
|
|
225
|
-
*
|
|
226
|
-
* @param url - Base URL of the e3 API server
|
|
227
|
-
* @param name - Package name
|
|
228
|
-
* @param version - Package version
|
|
229
|
-
* @returns null on success
|
|
230
|
-
*
|
|
231
|
-
* @throws {EastError} When request fails:
|
|
232
|
-
* - Package not found
|
|
233
|
-
* - Network error
|
|
234
|
-
*
|
|
235
|
-
* @example
|
|
236
|
-
* ```ts
|
|
237
|
-
* const removePackage = East.function([StringType, StringType, StringType], NullType, ($, url, name, version) => {
|
|
238
|
-
* return Platform.packageRemove(url, name, version);
|
|
239
|
-
* });
|
|
240
|
-
* ```
|
|
241
|
-
*/
|
|
242
|
-
export declare const platform_package_remove: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], NullType>;
|
|
243
|
-
/**
|
|
244
|
-
* Lists all workspaces in the repository.
|
|
245
|
-
*
|
|
246
|
-
* Returns an array of workspace summaries including deployment status.
|
|
247
|
-
*
|
|
248
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
249
|
-
* in East programs running on Node.js.
|
|
250
|
-
*
|
|
251
|
-
* @param url - Base URL of the e3 API server
|
|
252
|
-
* @returns Array of workspace info
|
|
253
|
-
*
|
|
254
|
-
* @throws {EastError} When request fails:
|
|
255
|
-
* - Network error
|
|
256
|
-
* - Server unavailable
|
|
257
|
-
*
|
|
258
|
-
* @example
|
|
259
|
-
* ```ts
|
|
260
|
-
* const listWorkspaces = East.function([StringType], ArrayType(WorkspaceInfoType), ($, url) => {
|
|
261
|
-
* return Platform.workspaceList(url);
|
|
262
|
-
* });
|
|
263
|
-
* ```
|
|
264
|
-
*/
|
|
265
|
-
export declare const platform_workspace_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType], ArrayType<StructType<{
|
|
266
|
-
name: StringType;
|
|
267
|
-
deployed: import("@elaraai/east").BooleanType;
|
|
268
|
-
packageName: import("@elaraai/east").OptionType<StringType>;
|
|
269
|
-
packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
90
|
+
export declare const platform_package_export: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], BlobType>;
|
|
91
|
+
export declare const platform_package_remove: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], NullType>;
|
|
92
|
+
export declare const platform_workspace_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], ArrayType<StructType<{
|
|
93
|
+
readonly name: StringType;
|
|
94
|
+
readonly deployed: import("@elaraai/east").BooleanType;
|
|
95
|
+
readonly packageName: import("@elaraai/east").OptionType<StringType>;
|
|
96
|
+
readonly packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
270
97
|
}>>>;
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
277
|
-
* in East programs running on Node.js.
|
|
278
|
-
*
|
|
279
|
-
* @param url - Base URL of the e3 API server
|
|
280
|
-
* @param name - Workspace name
|
|
281
|
-
* @returns Created workspace info
|
|
282
|
-
*
|
|
283
|
-
* @throws {EastError} When request fails:
|
|
284
|
-
* - Workspace already exists
|
|
285
|
-
* - Network error
|
|
286
|
-
*
|
|
287
|
-
* @example
|
|
288
|
-
* ```ts
|
|
289
|
-
* const createWorkspace = East.function([StringType, StringType], WorkspaceInfoType, ($, url, name) => {
|
|
290
|
-
* return Platform.workspaceCreate(url, name);
|
|
291
|
-
* });
|
|
292
|
-
* ```
|
|
293
|
-
*/
|
|
294
|
-
export declare const platform_workspace_create: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], StructType<{
|
|
295
|
-
name: StringType;
|
|
296
|
-
deployed: import("@elaraai/east").BooleanType;
|
|
297
|
-
packageName: import("@elaraai/east").OptionType<StringType>;
|
|
298
|
-
packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
98
|
+
export declare const platform_workspace_create: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
99
|
+
readonly name: StringType;
|
|
100
|
+
readonly deployed: import("@elaraai/east").BooleanType;
|
|
101
|
+
readonly packageName: import("@elaraai/east").OptionType<StringType>;
|
|
102
|
+
readonly packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
299
103
|
}>>;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
* in East programs running on Node.js.
|
|
307
|
-
*
|
|
308
|
-
* @param url - Base URL of the e3 API server
|
|
309
|
-
* @param name - Workspace name
|
|
310
|
-
* @returns Workspace state
|
|
311
|
-
*
|
|
312
|
-
* @throws {EastError} When request fails:
|
|
313
|
-
* - Workspace not found
|
|
314
|
-
* - Network error
|
|
315
|
-
*
|
|
316
|
-
* @example
|
|
317
|
-
* ```ts
|
|
318
|
-
* const getWorkspace = East.function([StringType, StringType], WorkspaceStateType, ($, url, name) => {
|
|
319
|
-
* return Platform.workspaceGet(url, name);
|
|
320
|
-
* });
|
|
321
|
-
* ```
|
|
322
|
-
*/
|
|
323
|
-
export declare const platform_workspace_get: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], StructType<{
|
|
324
|
-
packageName: StringType;
|
|
325
|
-
packageVersion: StringType;
|
|
326
|
-
packageHash: StringType;
|
|
327
|
-
deployedAt: import("@elaraai/east").DateTimeType;
|
|
328
|
-
rootHash: StringType;
|
|
329
|
-
rootUpdatedAt: import("@elaraai/east").DateTimeType;
|
|
104
|
+
export declare const platform_workspace_get: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
105
|
+
readonly packageName: StringType;
|
|
106
|
+
readonly packageVersion: StringType;
|
|
107
|
+
readonly packageHash: StringType;
|
|
108
|
+
readonly deployedAt: import("@elaraai/east").DateTimeType;
|
|
109
|
+
readonly currentRunId: import("@elaraai/east").OptionType<StringType>;
|
|
330
110
|
}>>;
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
* in East programs running on Node.js.
|
|
339
|
-
*
|
|
340
|
-
* @param url - Base URL of the e3 API server
|
|
341
|
-
* @param name - Workspace name
|
|
342
|
-
* @returns Workspace status with datasets, tasks, and summary
|
|
343
|
-
*
|
|
344
|
-
* @throws {EastError} When request fails:
|
|
345
|
-
* - Workspace not found
|
|
346
|
-
* - Network error
|
|
347
|
-
*
|
|
348
|
-
* @example
|
|
349
|
-
* ```ts
|
|
350
|
-
* const getStatus = East.function([StringType, StringType], WorkspaceStatusResultType, ($, url, name) => {
|
|
351
|
-
* return Platform.workspaceStatus(url, name);
|
|
352
|
-
* });
|
|
353
|
-
* ```
|
|
354
|
-
*/
|
|
355
|
-
export declare const platform_workspace_status: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], StructType<{
|
|
356
|
-
workspace: StringType;
|
|
357
|
-
lock: import("@elaraai/east").OptionType<StructType<{
|
|
358
|
-
pid: IntegerType;
|
|
359
|
-
acquiredAt: StringType;
|
|
360
|
-
bootId: import("@elaraai/east").OptionType<StringType>;
|
|
361
|
-
command: import("@elaraai/east").OptionType<StringType>;
|
|
111
|
+
export declare const platform_workspace_status: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
112
|
+
readonly workspace: StringType;
|
|
113
|
+
readonly lock: import("@elaraai/east").OptionType<StructType<{
|
|
114
|
+
readonly pid: IntegerType;
|
|
115
|
+
readonly acquiredAt: StringType;
|
|
116
|
+
readonly bootId: import("@elaraai/east").OptionType<StringType>;
|
|
117
|
+
readonly command: import("@elaraai/east").OptionType<StringType>;
|
|
362
118
|
}>>;
|
|
363
|
-
datasets: ArrayType<StructType<{
|
|
364
|
-
path: StringType;
|
|
365
|
-
status: import("@elaraai/east").VariantType<{
|
|
366
|
-
unset: NullType;
|
|
367
|
-
stale: NullType;
|
|
368
|
-
'up-to-date': NullType;
|
|
119
|
+
readonly datasets: ArrayType<StructType<{
|
|
120
|
+
readonly path: StringType;
|
|
121
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
122
|
+
readonly unset: NullType;
|
|
123
|
+
readonly stale: NullType;
|
|
124
|
+
readonly 'up-to-date': NullType;
|
|
369
125
|
}>;
|
|
370
|
-
hash: import("@elaraai/east").OptionType<StringType>;
|
|
371
|
-
isTaskOutput: import("@elaraai/east").BooleanType;
|
|
372
|
-
producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
126
|
+
readonly hash: import("@elaraai/east").OptionType<StringType>;
|
|
127
|
+
readonly isTaskOutput: import("@elaraai/east").BooleanType;
|
|
128
|
+
readonly producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
373
129
|
}>>;
|
|
374
|
-
tasks: ArrayType<StructType<{
|
|
375
|
-
name: StringType;
|
|
376
|
-
hash: StringType;
|
|
377
|
-
status: import("@elaraai/east").VariantType<{
|
|
378
|
-
'up-to-date': StructType<{
|
|
379
|
-
cached: import("@elaraai/east").BooleanType;
|
|
130
|
+
readonly tasks: ArrayType<StructType<{
|
|
131
|
+
readonly name: StringType;
|
|
132
|
+
readonly hash: StringType;
|
|
133
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
134
|
+
readonly 'up-to-date': StructType<{
|
|
135
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
380
136
|
}>;
|
|
381
|
-
ready: NullType;
|
|
382
|
-
waiting: StructType<{
|
|
383
|
-
reason: StringType;
|
|
137
|
+
readonly ready: NullType;
|
|
138
|
+
readonly waiting: StructType<{
|
|
139
|
+
readonly reason: StringType;
|
|
384
140
|
}>;
|
|
385
|
-
'in-progress': StructType<{
|
|
386
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
387
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
141
|
+
readonly 'in-progress': StructType<{
|
|
142
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
143
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
388
144
|
}>;
|
|
389
|
-
failed: StructType<{
|
|
390
|
-
exitCode: IntegerType;
|
|
391
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
145
|
+
readonly failed: StructType<{
|
|
146
|
+
readonly exitCode: IntegerType;
|
|
147
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
392
148
|
}>;
|
|
393
|
-
error: StructType<{
|
|
394
|
-
message: StringType;
|
|
395
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
149
|
+
readonly error: StructType<{
|
|
150
|
+
readonly message: StringType;
|
|
151
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
396
152
|
}>;
|
|
397
|
-
'stale-running': StructType<{
|
|
398
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
399
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
153
|
+
readonly 'stale-running': StructType<{
|
|
154
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
155
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
400
156
|
}>;
|
|
401
157
|
}>;
|
|
402
|
-
inputs: ArrayType<StringType>;
|
|
403
|
-
output: StringType;
|
|
404
|
-
dependsOn: ArrayType<StringType>;
|
|
158
|
+
readonly inputs: ArrayType<StringType>;
|
|
159
|
+
readonly output: StringType;
|
|
160
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
405
161
|
}>>;
|
|
406
|
-
summary: StructType<{
|
|
407
|
-
datasets: StructType<{
|
|
408
|
-
total: IntegerType;
|
|
409
|
-
unset: IntegerType;
|
|
410
|
-
stale: IntegerType;
|
|
411
|
-
upToDate: IntegerType;
|
|
162
|
+
readonly summary: StructType<{
|
|
163
|
+
readonly datasets: StructType<{
|
|
164
|
+
readonly total: IntegerType;
|
|
165
|
+
readonly unset: IntegerType;
|
|
166
|
+
readonly stale: IntegerType;
|
|
167
|
+
readonly upToDate: IntegerType;
|
|
412
168
|
}>;
|
|
413
|
-
tasks: StructType<{
|
|
414
|
-
total: IntegerType;
|
|
415
|
-
upToDate: IntegerType;
|
|
416
|
-
ready: IntegerType;
|
|
417
|
-
waiting: IntegerType;
|
|
418
|
-
inProgress: IntegerType;
|
|
419
|
-
failed: IntegerType;
|
|
420
|
-
error: IntegerType;
|
|
421
|
-
staleRunning: IntegerType;
|
|
169
|
+
readonly tasks: StructType<{
|
|
170
|
+
readonly total: IntegerType;
|
|
171
|
+
readonly upToDate: IntegerType;
|
|
172
|
+
readonly ready: IntegerType;
|
|
173
|
+
readonly waiting: IntegerType;
|
|
174
|
+
readonly inProgress: IntegerType;
|
|
175
|
+
readonly failed: IntegerType;
|
|
176
|
+
readonly error: IntegerType;
|
|
177
|
+
readonly staleRunning: IntegerType;
|
|
422
178
|
}>;
|
|
423
179
|
}>;
|
|
424
180
|
}>>;
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
* @example
|
|
442
|
-
* ```ts
|
|
443
|
-
* const removeWorkspace = East.function([StringType, StringType], NullType, ($, url, name) => {
|
|
444
|
-
* return Platform.workspaceRemove(url, name);
|
|
445
|
-
* });
|
|
446
|
-
* ```
|
|
447
|
-
*/
|
|
448
|
-
export declare const platform_workspace_remove: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], NullType>;
|
|
449
|
-
/**
|
|
450
|
-
* Deploys a package to a workspace.
|
|
451
|
-
*
|
|
452
|
-
* Sets up the workspace with the specified package's data structure and tasks.
|
|
453
|
-
*
|
|
454
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
455
|
-
* in East programs running on Node.js.
|
|
456
|
-
*
|
|
457
|
-
* @param url - Base URL of the e3 API server
|
|
458
|
-
* @param name - Workspace name
|
|
459
|
-
* @param packageRef - Package reference (name or name@version)
|
|
460
|
-
* @returns null on success
|
|
461
|
-
*
|
|
462
|
-
* @throws {EastError} When request fails:
|
|
463
|
-
* - Workspace not found
|
|
464
|
-
* - Package not found
|
|
465
|
-
* - Network error
|
|
466
|
-
*
|
|
467
|
-
* @example
|
|
468
|
-
* ```ts
|
|
469
|
-
* const deploy = East.function([StringType, StringType, StringType], NullType, ($, url, workspace, packageRef) => {
|
|
470
|
-
* return Platform.workspaceDeploy(url, workspace, packageRef);
|
|
471
|
-
* });
|
|
472
|
-
* ```
|
|
473
|
-
*/
|
|
474
|
-
export declare const platform_workspace_deploy: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], NullType>;
|
|
475
|
-
/**
|
|
476
|
-
* Exports workspace as a package zip archive.
|
|
477
|
-
*
|
|
478
|
-
* Creates a zip archive of the workspace that can be imported elsewhere.
|
|
479
|
-
*
|
|
480
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
481
|
-
* in East programs running on Node.js.
|
|
482
|
-
*
|
|
483
|
-
* @param url - Base URL of the e3 API server
|
|
484
|
-
* @param name - Workspace name
|
|
485
|
-
* @returns Zip archive as bytes
|
|
486
|
-
*
|
|
487
|
-
* @throws {EastError} When request fails:
|
|
488
|
-
* - Workspace not found
|
|
489
|
-
* - Network error
|
|
490
|
-
*
|
|
491
|
-
* @example
|
|
492
|
-
* ```ts
|
|
493
|
-
* const exportWorkspace = East.function([StringType, StringType], BlobType, ($, url, name) => {
|
|
494
|
-
* return Platform.workspaceExport(url, name);
|
|
495
|
-
* });
|
|
496
|
-
* ```
|
|
497
|
-
*/
|
|
498
|
-
export declare const platform_workspace_export: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], BlobType>;
|
|
499
|
-
/**
|
|
500
|
-
* Lists field names at root of workspace dataset tree.
|
|
501
|
-
*
|
|
502
|
-
* Returns the top-level field names in the workspace's data tree.
|
|
503
|
-
*
|
|
504
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
505
|
-
* in East programs running on Node.js.
|
|
506
|
-
*
|
|
507
|
-
* @param url - Base URL of the e3 API server
|
|
508
|
-
* @param workspace - Workspace name
|
|
509
|
-
* @returns Array of field names at root
|
|
510
|
-
*
|
|
511
|
-
* @throws {EastError} When request fails:
|
|
512
|
-
* - Workspace not found
|
|
513
|
-
* - Network error
|
|
514
|
-
*
|
|
515
|
-
* @example
|
|
516
|
-
* ```ts
|
|
517
|
-
* const listDatasets = East.function([StringType, StringType], ArrayType(StringType), ($, url, workspace) => {
|
|
518
|
-
* return Platform.datasetList(url, workspace);
|
|
519
|
-
* });
|
|
520
|
-
* ```
|
|
521
|
-
*/
|
|
522
|
-
export declare const platform_dataset_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], ArrayType<StringType>>;
|
|
523
|
-
/**
|
|
524
|
-
* Lists field names at a path in workspace dataset tree.
|
|
525
|
-
*
|
|
526
|
-
* Returns field names at the specified path in the workspace's data tree.
|
|
527
|
-
*
|
|
528
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
529
|
-
* in East programs running on Node.js.
|
|
530
|
-
*
|
|
531
|
-
* @param url - Base URL of the e3 API server
|
|
532
|
-
* @param workspace - Workspace name
|
|
533
|
-
* @param path - Path to the dataset
|
|
534
|
-
* @returns Array of field names at path
|
|
535
|
-
*
|
|
536
|
-
* @throws {EastError} When request fails:
|
|
537
|
-
* - Workspace not found
|
|
538
|
-
* - Path not found
|
|
539
|
-
* - Network error
|
|
540
|
-
*
|
|
541
|
-
* @example
|
|
542
|
-
* ```ts
|
|
543
|
-
* const listAt = East.function([StringType, StringType, TreePathType], ArrayType(StringType), ($, url, workspace, path) => {
|
|
544
|
-
* return Platform.datasetListAt(url, workspace, path);
|
|
545
|
-
* });
|
|
546
|
-
* ```
|
|
547
|
-
*/
|
|
548
|
-
export declare const platform_dataset_list_at: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
549
|
-
field: StringType;
|
|
550
|
-
}>>], ArrayType<StringType>>;
|
|
551
|
-
/**
|
|
552
|
-
* Gets a dataset value as raw BEAST2 bytes.
|
|
553
|
-
*
|
|
554
|
-
* Returns the raw BEAST2 encoded data for a dataset.
|
|
555
|
-
* Use decodeBeast2 or decodeBeast2For to decode with the appropriate type.
|
|
556
|
-
*
|
|
557
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
558
|
-
* in East programs running on Node.js.
|
|
559
|
-
*
|
|
560
|
-
* @param url - Base URL of the e3 API server
|
|
561
|
-
* @param workspace - Workspace name
|
|
562
|
-
* @param path - Path to the dataset
|
|
563
|
-
* @returns Raw BEAST2 bytes
|
|
564
|
-
*
|
|
565
|
-
* @throws {EastError} When request fails:
|
|
566
|
-
* - Workspace not found
|
|
567
|
-
* - Dataset not found
|
|
568
|
-
* - Network error
|
|
569
|
-
*
|
|
570
|
-
* @example
|
|
571
|
-
* ```ts
|
|
572
|
-
* const getData = East.function([StringType, StringType, TreePathType], BlobType, ($, url, workspace, path) => {
|
|
573
|
-
* return Platform.datasetGet(url, workspace, path);
|
|
574
|
-
* });
|
|
575
|
-
* ```
|
|
576
|
-
*/
|
|
577
|
-
export declare const platform_dataset_get: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
578
|
-
field: StringType;
|
|
579
|
-
}>>], BlobType>;
|
|
580
|
-
/**
|
|
581
|
-
* Sets a dataset value from raw BEAST2 bytes.
|
|
582
|
-
*
|
|
583
|
-
* Stores the BEAST2 encoded data at the specified dataset path.
|
|
584
|
-
*
|
|
585
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
586
|
-
* in East programs running on Node.js.
|
|
587
|
-
*
|
|
588
|
-
* @param url - Base URL of the e3 API server
|
|
589
|
-
* @param workspace - Workspace name
|
|
590
|
-
* @param path - Path to the dataset
|
|
591
|
-
* @param data - Raw BEAST2 encoded value
|
|
592
|
-
* @returns null on success
|
|
593
|
-
*
|
|
594
|
-
* @throws {EastError} When request fails:
|
|
595
|
-
* - Workspace not found
|
|
596
|
-
* - Invalid path
|
|
597
|
-
* - Network error
|
|
598
|
-
*
|
|
599
|
-
* @example
|
|
600
|
-
* ```ts
|
|
601
|
-
* const setData = East.function([StringType, StringType, TreePathType, BlobType], NullType, ($, url, workspace, path, data) => {
|
|
602
|
-
* return Platform.datasetSet(url, workspace, path, data);
|
|
603
|
-
* });
|
|
604
|
-
* ```
|
|
605
|
-
*/
|
|
606
|
-
export declare const platform_dataset_set: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
607
|
-
field: StringType;
|
|
608
|
-
}>>, BlobType], NullType>;
|
|
609
|
-
/**
|
|
610
|
-
* Lists tasks in a workspace.
|
|
611
|
-
*
|
|
612
|
-
* Returns an array of task summaries including name and hash.
|
|
613
|
-
*
|
|
614
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
615
|
-
* in East programs running on Node.js.
|
|
616
|
-
*
|
|
617
|
-
* @param url - Base URL of the e3 API server
|
|
618
|
-
* @param workspace - Workspace name
|
|
619
|
-
* @returns Array of task info (name, hash)
|
|
620
|
-
*
|
|
621
|
-
* @throws {EastError} When request fails:
|
|
622
|
-
* - Workspace not found
|
|
623
|
-
* - Workspace not deployed
|
|
624
|
-
* - Network error
|
|
625
|
-
*
|
|
626
|
-
* @example
|
|
627
|
-
* ```ts
|
|
628
|
-
* const listTasks = East.function([StringType, StringType], ArrayType(TaskListItemType), ($, url, workspace) => {
|
|
629
|
-
* return Platform.taskList(url, workspace);
|
|
630
|
-
* });
|
|
631
|
-
* ```
|
|
632
|
-
*/
|
|
633
|
-
export declare const platform_task_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], ArrayType<StructType<{
|
|
634
|
-
name: StringType;
|
|
635
|
-
hash: StringType;
|
|
181
|
+
export declare const platform_workspace_remove: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], NullType>;
|
|
182
|
+
export declare const platform_workspace_deploy: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], NullType>;
|
|
183
|
+
export declare const platform_workspace_export: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], BlobType>;
|
|
184
|
+
export declare const platform_dataset_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], ArrayType<StringType>>;
|
|
185
|
+
export declare const platform_dataset_list_at: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
186
|
+
readonly field: StringType;
|
|
187
|
+
}>>, StringType], ArrayType<StringType>>;
|
|
188
|
+
export declare const platform_dataset_get: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
189
|
+
readonly field: StringType;
|
|
190
|
+
}>>, StringType], BlobType>;
|
|
191
|
+
export declare const platform_dataset_set: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
192
|
+
readonly field: StringType;
|
|
193
|
+
}>>, BlobType, StringType], NullType>;
|
|
194
|
+
export declare const platform_task_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], ArrayType<StructType<{
|
|
195
|
+
readonly name: StringType;
|
|
196
|
+
readonly hash: StringType;
|
|
636
197
|
}>>>;
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
* in East programs running on Node.js.
|
|
644
|
-
*
|
|
645
|
-
* @param url - Base URL of the e3 API server
|
|
646
|
-
* @param workspace - Workspace name
|
|
647
|
-
* @param name - Task name
|
|
648
|
-
* @returns Task details
|
|
649
|
-
*
|
|
650
|
-
* @throws {EastError} When request fails:
|
|
651
|
-
* - Workspace not found
|
|
652
|
-
* - Task not found
|
|
653
|
-
* - Network error
|
|
654
|
-
*
|
|
655
|
-
* @example
|
|
656
|
-
* ```ts
|
|
657
|
-
* const getTask = East.function([StringType, StringType, StringType], TaskDetailsType, ($, url, workspace, name) => {
|
|
658
|
-
* return Platform.taskGet(url, workspace, name);
|
|
659
|
-
* });
|
|
660
|
-
* ```
|
|
661
|
-
*/
|
|
662
|
-
export declare const platform_task_get: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], StructType<{
|
|
663
|
-
name: StringType;
|
|
664
|
-
hash: StringType;
|
|
665
|
-
commandIr: StringType;
|
|
666
|
-
inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
667
|
-
field: StringType;
|
|
198
|
+
export declare const platform_task_get: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], StructType<{
|
|
199
|
+
readonly name: StringType;
|
|
200
|
+
readonly hash: StringType;
|
|
201
|
+
readonly commandIr: StringType;
|
|
202
|
+
readonly inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
203
|
+
readonly field: StringType;
|
|
668
204
|
}>>>;
|
|
669
|
-
output: ArrayType<import("@elaraai/east").VariantType<{
|
|
670
|
-
field: StringType;
|
|
205
|
+
readonly output: ArrayType<import("@elaraai/east").VariantType<{
|
|
206
|
+
readonly field: StringType;
|
|
671
207
|
}>>;
|
|
672
208
|
}>>;
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
* return Platform.dataflowStart(url, workspace, options);
|
|
696
|
-
* });
|
|
697
|
-
* ```
|
|
698
|
-
*/
|
|
699
|
-
export declare const platform_dataflow_start: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StructType<{
|
|
700
|
-
concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
701
|
-
force: import("@elaraai/east").BooleanType;
|
|
702
|
-
filter: import("@elaraai/east").OptionType<StringType>;
|
|
703
|
-
}>], NullType>;
|
|
704
|
-
/**
|
|
705
|
-
* Executes dataflow on a workspace (blocking).
|
|
706
|
-
*
|
|
707
|
-
* Waits for execution to complete and returns the result with per-task outcomes.
|
|
708
|
-
*
|
|
709
|
-
* This is a platform function for the East language, enabling e3 API operations
|
|
710
|
-
* in East programs running on Node.js.
|
|
711
|
-
*
|
|
712
|
-
* @param url - Base URL of the e3 API server
|
|
713
|
-
* @param workspace - Workspace name
|
|
714
|
-
* @param options - Execution options (concurrency, force, filter)
|
|
715
|
-
* @returns Dataflow execution result
|
|
716
|
-
*
|
|
717
|
-
* @throws {EastError} When request fails:
|
|
718
|
-
* - Workspace not found
|
|
719
|
-
* - Workspace locked
|
|
720
|
-
* - Network error
|
|
721
|
-
*
|
|
722
|
-
* @example
|
|
723
|
-
* ```ts
|
|
724
|
-
* const execute = East.function([StringType, StringType, DataflowRequestType], DataflowResultType, ($, url, workspace, options) => {
|
|
725
|
-
* return Platform.dataflowExecute(url, workspace, options);
|
|
726
|
-
* });
|
|
727
|
-
* ```
|
|
728
|
-
*/
|
|
729
|
-
export declare const platform_dataflow_execute: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StructType<{
|
|
730
|
-
concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
731
|
-
force: import("@elaraai/east").BooleanType;
|
|
732
|
-
filter: import("@elaraai/east").OptionType<StringType>;
|
|
733
|
-
}>], StructType<{
|
|
734
|
-
success: import("@elaraai/east").BooleanType;
|
|
735
|
-
executed: IntegerType;
|
|
736
|
-
cached: IntegerType;
|
|
737
|
-
failed: IntegerType;
|
|
738
|
-
skipped: IntegerType;
|
|
739
|
-
tasks: ArrayType<StructType<{
|
|
740
|
-
name: StringType;
|
|
741
|
-
cached: import("@elaraai/east").BooleanType;
|
|
742
|
-
state: import("@elaraai/east").VariantType<{
|
|
743
|
-
success: NullType;
|
|
744
|
-
failed: StructType<{
|
|
745
|
-
exitCode: IntegerType;
|
|
209
|
+
export declare const platform_dataflow_start: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
210
|
+
readonly concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
211
|
+
readonly force: import("@elaraai/east").BooleanType;
|
|
212
|
+
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
213
|
+
}>, StringType], NullType>;
|
|
214
|
+
export declare const platform_dataflow_execute: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
215
|
+
readonly concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
216
|
+
readonly force: import("@elaraai/east").BooleanType;
|
|
217
|
+
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
218
|
+
}>, StringType], StructType<{
|
|
219
|
+
readonly success: import("@elaraai/east").BooleanType;
|
|
220
|
+
readonly executed: IntegerType;
|
|
221
|
+
readonly cached: IntegerType;
|
|
222
|
+
readonly failed: IntegerType;
|
|
223
|
+
readonly skipped: IntegerType;
|
|
224
|
+
readonly tasks: ArrayType<StructType<{
|
|
225
|
+
readonly name: StringType;
|
|
226
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
227
|
+
readonly state: import("@elaraai/east").VariantType<{
|
|
228
|
+
readonly success: NullType;
|
|
229
|
+
readonly failed: StructType<{
|
|
230
|
+
readonly exitCode: IntegerType;
|
|
746
231
|
}>;
|
|
747
|
-
error: StructType<{
|
|
748
|
-
message: StringType;
|
|
232
|
+
readonly error: StructType<{
|
|
233
|
+
readonly message: StringType;
|
|
749
234
|
}>;
|
|
750
|
-
skipped: NullType;
|
|
235
|
+
readonly skipped: NullType;
|
|
751
236
|
}>;
|
|
752
|
-
duration: import("@elaraai/east").FloatType;
|
|
237
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
753
238
|
}>>;
|
|
754
|
-
duration: import("@elaraai/east").FloatType;
|
|
239
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
755
240
|
}>>;
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
*
|
|
764
|
-
* @param url - Base URL of the e3 API server
|
|
765
|
-
* @param workspace - Workspace name
|
|
766
|
-
* @returns Dataflow graph with tasks and dependencies
|
|
767
|
-
*
|
|
768
|
-
* @throws {EastError} When request fails:
|
|
769
|
-
* - Workspace not found
|
|
770
|
-
* - Network error
|
|
771
|
-
*
|
|
772
|
-
* @example
|
|
773
|
-
* ```ts
|
|
774
|
-
* const getGraph = East.function([StringType, StringType], DataflowGraphType, ($, url, workspace) => {
|
|
775
|
-
* return Platform.dataflowGraph(url, workspace);
|
|
776
|
-
* });
|
|
777
|
-
* ```
|
|
778
|
-
*/
|
|
779
|
-
export declare const platform_dataflow_graph: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], StructType<{
|
|
780
|
-
tasks: ArrayType<StructType<{
|
|
781
|
-
name: StringType;
|
|
782
|
-
hash: StringType;
|
|
783
|
-
inputs: ArrayType<StringType>;
|
|
784
|
-
output: StringType;
|
|
785
|
-
dependsOn: ArrayType<StringType>;
|
|
241
|
+
export declare const platform_dataflow_graph: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
242
|
+
readonly tasks: ArrayType<StructType<{
|
|
243
|
+
readonly name: StringType;
|
|
244
|
+
readonly hash: StringType;
|
|
245
|
+
readonly inputs: ArrayType<StringType>;
|
|
246
|
+
readonly output: StringType;
|
|
247
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
786
248
|
}>>;
|
|
787
249
|
}>>;
|
|
788
|
-
/**
|
|
789
|
-
* Log request options type.
|
|
790
|
-
*/
|
|
791
250
|
export declare const LogOptionsType: StructType<{
|
|
792
|
-
stream: StringType;
|
|
793
|
-
offset: IntegerType;
|
|
794
|
-
limit: IntegerType;
|
|
251
|
+
readonly stream: StringType;
|
|
252
|
+
readonly offset: IntegerType;
|
|
253
|
+
readonly limit: IntegerType;
|
|
795
254
|
}>;
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
* @param task - Task name
|
|
807
|
-
* @param options - Log options (stream, offset, limit)
|
|
808
|
-
* @returns Log chunk with data and metadata
|
|
809
|
-
*
|
|
810
|
-
* @throws {EastError} When request fails:
|
|
811
|
-
* - Workspace not found
|
|
812
|
-
* - Task not found
|
|
813
|
-
* - Network error
|
|
814
|
-
*
|
|
815
|
-
* @example
|
|
816
|
-
* ```ts
|
|
817
|
-
* const getLogs = East.function([StringType, StringType, StringType, LogOptionsType], LogChunkType, ($, url, workspace, task, options) => {
|
|
818
|
-
* return Platform.taskLogs(url, workspace, task, options);
|
|
819
|
-
* });
|
|
820
|
-
* ```
|
|
821
|
-
*/
|
|
822
|
-
export declare const platform_task_logs: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
823
|
-
stream: StringType;
|
|
824
|
-
offset: IntegerType;
|
|
825
|
-
limit: IntegerType;
|
|
826
|
-
}>], StructType<{
|
|
827
|
-
data: StringType;
|
|
828
|
-
offset: IntegerType;
|
|
829
|
-
size: IntegerType;
|
|
830
|
-
totalSize: IntegerType;
|
|
831
|
-
complete: import("@elaraai/east").BooleanType;
|
|
255
|
+
export declare const platform_task_logs: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StructType<{
|
|
256
|
+
readonly stream: StringType;
|
|
257
|
+
readonly offset: IntegerType;
|
|
258
|
+
readonly limit: IntegerType;
|
|
259
|
+
}>, StringType], StructType<{
|
|
260
|
+
readonly data: StringType;
|
|
261
|
+
readonly offset: IntegerType;
|
|
262
|
+
readonly size: IntegerType;
|
|
263
|
+
readonly totalSize: IntegerType;
|
|
264
|
+
readonly complete: import("@elaraai/east").BooleanType;
|
|
832
265
|
}>>;
|
|
833
|
-
/**
|
|
834
|
-
* Node.js implementation of e3 API platform functions.
|
|
835
|
-
*
|
|
836
|
-
* Pass this array to {@link East.compileAsync} to enable e3 API operations.
|
|
837
|
-
*/
|
|
838
266
|
declare const PlatformImpl: PlatformFunction[];
|
|
839
|
-
/**
|
|
840
|
-
* Grouped e3 API platform functions.
|
|
841
|
-
*
|
|
842
|
-
* Provides e3 repository, package, workspace, dataset, task, and execution operations
|
|
843
|
-
* for East programs running on Node.js.
|
|
844
|
-
*
|
|
845
|
-
* @example
|
|
846
|
-
* ```ts
|
|
847
|
-
* import { East, StringType } from "@elaraai/east";
|
|
848
|
-
* import { Platform, RepositoryStatusType } from "@elaraai/e3-api-client";
|
|
849
|
-
*
|
|
850
|
-
* const getStatus = East.function([StringType], RepositoryStatusType, ($, url) => {
|
|
851
|
-
* return Platform.repoStatus(url);
|
|
852
|
-
* });
|
|
853
|
-
*
|
|
854
|
-
* const compiled = await East.compileAsync(getStatus.toIR(), Platform.Implementation);
|
|
855
|
-
* const status = await compiled("http://localhost:3000");
|
|
856
|
-
* console.log(status.objectCount);
|
|
857
|
-
* ```
|
|
858
|
-
*/
|
|
859
267
|
export declare const Platform: {
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
*
|
|
866
|
-
* @param url - Base URL of the e3 API server
|
|
867
|
-
* @returns Repository status
|
|
868
|
-
*
|
|
869
|
-
* @example
|
|
870
|
-
* ```ts
|
|
871
|
-
* const getStatus = East.function([StringType], RepositoryStatusType, ($, url) => {
|
|
872
|
-
* return Platform.repoStatus(url);
|
|
873
|
-
* });
|
|
874
|
-
*
|
|
875
|
-
* const compiled = await East.compileAsync(getStatus.toIR(), Platform.Implementation);
|
|
876
|
-
* await compiled("http://localhost:3000");
|
|
877
|
-
* ```
|
|
878
|
-
*/
|
|
879
|
-
readonly repoStatus: import("@elaraai/east").AsyncPlatformDefinition<[StringType], StructType<{
|
|
880
|
-
path: StringType;
|
|
881
|
-
objectCount: IntegerType;
|
|
882
|
-
packageCount: IntegerType;
|
|
883
|
-
workspaceCount: IntegerType;
|
|
268
|
+
readonly repoStatus: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], StructType<{
|
|
269
|
+
readonly path: StringType;
|
|
270
|
+
readonly objectCount: IntegerType;
|
|
271
|
+
readonly packageCount: IntegerType;
|
|
272
|
+
readonly workspaceCount: IntegerType;
|
|
884
273
|
}>>;
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
* @example
|
|
895
|
-
* ```ts
|
|
896
|
-
* const runGc = East.function([StringType, GcRequestType], GcResultType, ($, url, options) => {
|
|
897
|
-
* return Platform.repoGc(url, options);
|
|
898
|
-
* });
|
|
899
|
-
*
|
|
900
|
-
* const compiled = await East.compileAsync(runGc.toIR(), Platform.Implementation);
|
|
901
|
-
* await compiled("http://localhost:3000", { dryRun: true, minAge: { type: "none", value: null } });
|
|
902
|
-
* ```
|
|
903
|
-
*/
|
|
904
|
-
readonly repoGc: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StructType<{
|
|
905
|
-
dryRun: import("@elaraai/east").BooleanType;
|
|
906
|
-
minAge: import("@elaraai/east").OptionType<IntegerType>;
|
|
907
|
-
}>], StructType<{
|
|
908
|
-
deletedObjects: IntegerType;
|
|
909
|
-
deletedPartials: IntegerType;
|
|
910
|
-
retainedObjects: IntegerType;
|
|
911
|
-
skippedYoung: IntegerType;
|
|
912
|
-
bytesFreed: IntegerType;
|
|
274
|
+
readonly repoGc: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StructType<{
|
|
275
|
+
readonly dryRun: import("@elaraai/east").BooleanType;
|
|
276
|
+
readonly minAge: import("@elaraai/east").OptionType<IntegerType>;
|
|
277
|
+
}>, StringType], StructType<{
|
|
278
|
+
readonly deletedObjects: IntegerType;
|
|
279
|
+
readonly deletedPartials: IntegerType;
|
|
280
|
+
readonly retainedObjects: IntegerType;
|
|
281
|
+
readonly skippedYoung: IntegerType;
|
|
282
|
+
readonly bytesFreed: IntegerType;
|
|
913
283
|
}>>;
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
* @param url - Base URL of the e3 API server
|
|
918
|
-
* @returns Array of package info
|
|
919
|
-
*/
|
|
920
|
-
readonly packageList: import("@elaraai/east").AsyncPlatformDefinition<[StringType], ArrayType<StructType<{
|
|
921
|
-
name: StringType;
|
|
922
|
-
version: StringType;
|
|
284
|
+
readonly packageList: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], ArrayType<StructType<{
|
|
285
|
+
readonly name: StringType;
|
|
286
|
+
readonly version: StringType;
|
|
923
287
|
}>>>;
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
288
|
+
readonly packageGet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], StructType<{
|
|
289
|
+
readonly tasks: import("@elaraai/east").DictType<StringType, StringType>;
|
|
290
|
+
readonly data: StructType<{
|
|
291
|
+
readonly structure: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
292
|
+
readonly value: StructType<{
|
|
293
|
+
readonly type: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
294
|
+
readonly Never: NullType;
|
|
295
|
+
readonly Null: NullType;
|
|
296
|
+
readonly Boolean: NullType;
|
|
297
|
+
readonly Integer: NullType;
|
|
298
|
+
readonly Float: NullType;
|
|
299
|
+
readonly String: NullType;
|
|
300
|
+
readonly DateTime: NullType;
|
|
301
|
+
readonly Blob: NullType;
|
|
302
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
303
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
304
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
305
|
+
readonly Dict: StructType<{
|
|
306
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
307
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
308
|
+
}>;
|
|
309
|
+
readonly Struct: import("@elaraai/east").ArrayType<StructType<{
|
|
310
|
+
readonly name: StringType;
|
|
311
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
312
|
+
}>>;
|
|
313
|
+
readonly Variant: import("@elaraai/east").ArrayType<StructType<{
|
|
314
|
+
readonly name: StringType;
|
|
315
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
316
|
+
}>>;
|
|
317
|
+
readonly Recursive: IntegerType;
|
|
318
|
+
readonly Function: StructType<{
|
|
319
|
+
readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
320
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
321
|
+
}>;
|
|
322
|
+
readonly AsyncFunction: StructType<{
|
|
323
|
+
readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
324
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
325
|
+
}>;
|
|
326
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
327
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
959
328
|
}>>;
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
329
|
+
readonly writable: import("@elaraai/east").BooleanType;
|
|
330
|
+
}>;
|
|
331
|
+
readonly struct: import("@elaraai/east").DictType<StringType, import("@elaraai/east").RecursiveTypeMarker>;
|
|
332
|
+
}>>;
|
|
333
|
+
readonly refs: import("@elaraai/east").DictType<StringType, import("@elaraai/east").VariantType<{
|
|
334
|
+
readonly unassigned: NullType;
|
|
335
|
+
readonly null: StructType<{
|
|
336
|
+
readonly versions: import("@elaraai/east").DictType<StringType, StringType>;
|
|
337
|
+
}>;
|
|
338
|
+
readonly value: StructType<{
|
|
339
|
+
readonly hash: StringType;
|
|
340
|
+
readonly versions: import("@elaraai/east").DictType<StringType, StringType>;
|
|
341
|
+
}>;
|
|
971
342
|
}>>;
|
|
972
|
-
value: StringType;
|
|
973
343
|
}>;
|
|
974
344
|
}>>;
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
* @returns Import result
|
|
981
|
-
*/
|
|
982
|
-
readonly packageImport: import("@elaraai/east").AsyncPlatformDefinition<[StringType, BlobType], StructType<{
|
|
983
|
-
name: StringType;
|
|
984
|
-
version: StringType;
|
|
985
|
-
packageHash: StringType;
|
|
986
|
-
objectCount: IntegerType;
|
|
345
|
+
readonly packageImport: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, BlobType, StringType], StructType<{
|
|
346
|
+
readonly name: StringType;
|
|
347
|
+
readonly version: StringType;
|
|
348
|
+
readonly packageHash: StringType;
|
|
349
|
+
readonly objectCount: IntegerType;
|
|
987
350
|
}>>;
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
*/
|
|
996
|
-
readonly packageExport: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], BlobType>;
|
|
997
|
-
/**
|
|
998
|
-
* Removes a package from the repository.
|
|
999
|
-
*
|
|
1000
|
-
* @param url - Base URL of the e3 API server
|
|
1001
|
-
* @param name - Package name
|
|
1002
|
-
* @param version - Package version
|
|
1003
|
-
* @returns null on success
|
|
1004
|
-
*/
|
|
1005
|
-
readonly packageRemove: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], NullType>;
|
|
1006
|
-
/**
|
|
1007
|
-
* Lists all workspaces in the repository.
|
|
1008
|
-
*
|
|
1009
|
-
* @param url - Base URL of the e3 API server
|
|
1010
|
-
* @returns Array of workspace info
|
|
1011
|
-
*/
|
|
1012
|
-
readonly workspaceList: import("@elaraai/east").AsyncPlatformDefinition<[StringType], ArrayType<StructType<{
|
|
1013
|
-
name: StringType;
|
|
1014
|
-
deployed: import("@elaraai/east").BooleanType;
|
|
1015
|
-
packageName: import("@elaraai/east").OptionType<StringType>;
|
|
1016
|
-
packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
351
|
+
readonly packageExport: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], BlobType>;
|
|
352
|
+
readonly packageRemove: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], NullType>;
|
|
353
|
+
readonly workspaceList: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], ArrayType<StructType<{
|
|
354
|
+
readonly name: StringType;
|
|
355
|
+
readonly deployed: import("@elaraai/east").BooleanType;
|
|
356
|
+
readonly packageName: import("@elaraai/east").OptionType<StringType>;
|
|
357
|
+
readonly packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
1017
358
|
}>>>;
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
* @returns Created workspace info
|
|
1024
|
-
*/
|
|
1025
|
-
readonly workspaceCreate: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], StructType<{
|
|
1026
|
-
name: StringType;
|
|
1027
|
-
deployed: import("@elaraai/east").BooleanType;
|
|
1028
|
-
packageName: import("@elaraai/east").OptionType<StringType>;
|
|
1029
|
-
packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
359
|
+
readonly workspaceCreate: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
360
|
+
readonly name: StringType;
|
|
361
|
+
readonly deployed: import("@elaraai/east").BooleanType;
|
|
362
|
+
readonly packageName: import("@elaraai/east").OptionType<StringType>;
|
|
363
|
+
readonly packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
1030
364
|
}>>;
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
*/
|
|
1038
|
-
readonly workspaceGet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], StructType<{
|
|
1039
|
-
packageName: StringType;
|
|
1040
|
-
packageVersion: StringType;
|
|
1041
|
-
packageHash: StringType;
|
|
1042
|
-
deployedAt: import("@elaraai/east").DateTimeType;
|
|
1043
|
-
rootHash: StringType;
|
|
1044
|
-
rootUpdatedAt: import("@elaraai/east").DateTimeType;
|
|
365
|
+
readonly workspaceGet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
366
|
+
readonly packageName: StringType;
|
|
367
|
+
readonly packageVersion: StringType;
|
|
368
|
+
readonly packageHash: StringType;
|
|
369
|
+
readonly deployedAt: import("@elaraai/east").DateTimeType;
|
|
370
|
+
readonly currentRunId: import("@elaraai/east").OptionType<StringType>;
|
|
1045
371
|
}>>;
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
readonly workspaceStatus: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], StructType<{
|
|
1054
|
-
workspace: StringType;
|
|
1055
|
-
lock: import("@elaraai/east").OptionType<StructType<{
|
|
1056
|
-
pid: IntegerType;
|
|
1057
|
-
acquiredAt: StringType;
|
|
1058
|
-
bootId: import("@elaraai/east").OptionType<StringType>;
|
|
1059
|
-
command: import("@elaraai/east").OptionType<StringType>;
|
|
372
|
+
readonly workspaceStatus: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
373
|
+
readonly workspace: StringType;
|
|
374
|
+
readonly lock: import("@elaraai/east").OptionType<StructType<{
|
|
375
|
+
readonly pid: IntegerType;
|
|
376
|
+
readonly acquiredAt: StringType;
|
|
377
|
+
readonly bootId: import("@elaraai/east").OptionType<StringType>;
|
|
378
|
+
readonly command: import("@elaraai/east").OptionType<StringType>;
|
|
1060
379
|
}>>;
|
|
1061
|
-
datasets: ArrayType<StructType<{
|
|
1062
|
-
path: StringType;
|
|
1063
|
-
status: import("@elaraai/east").VariantType<{
|
|
1064
|
-
unset: NullType;
|
|
1065
|
-
stale: NullType;
|
|
1066
|
-
'up-to-date': NullType;
|
|
380
|
+
readonly datasets: ArrayType<StructType<{
|
|
381
|
+
readonly path: StringType;
|
|
382
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
383
|
+
readonly unset: NullType;
|
|
384
|
+
readonly stale: NullType;
|
|
385
|
+
readonly 'up-to-date': NullType;
|
|
1067
386
|
}>;
|
|
1068
|
-
hash: import("@elaraai/east").OptionType<StringType>;
|
|
1069
|
-
isTaskOutput: import("@elaraai/east").BooleanType;
|
|
1070
|
-
producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
387
|
+
readonly hash: import("@elaraai/east").OptionType<StringType>;
|
|
388
|
+
readonly isTaskOutput: import("@elaraai/east").BooleanType;
|
|
389
|
+
readonly producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
1071
390
|
}>>;
|
|
1072
|
-
tasks: ArrayType<StructType<{
|
|
1073
|
-
name: StringType;
|
|
1074
|
-
hash: StringType;
|
|
1075
|
-
status: import("@elaraai/east").VariantType<{
|
|
1076
|
-
'up-to-date': StructType<{
|
|
1077
|
-
cached: import("@elaraai/east").BooleanType;
|
|
391
|
+
readonly tasks: ArrayType<StructType<{
|
|
392
|
+
readonly name: StringType;
|
|
393
|
+
readonly hash: StringType;
|
|
394
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
395
|
+
readonly 'up-to-date': StructType<{
|
|
396
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
1078
397
|
}>;
|
|
1079
|
-
ready: NullType;
|
|
1080
|
-
waiting: StructType<{
|
|
1081
|
-
reason: StringType;
|
|
398
|
+
readonly ready: NullType;
|
|
399
|
+
readonly waiting: StructType<{
|
|
400
|
+
readonly reason: StringType;
|
|
1082
401
|
}>;
|
|
1083
|
-
'in-progress': StructType<{
|
|
1084
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
1085
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
402
|
+
readonly 'in-progress': StructType<{
|
|
403
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
404
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1086
405
|
}>;
|
|
1087
|
-
failed: StructType<{
|
|
1088
|
-
exitCode: IntegerType;
|
|
1089
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
406
|
+
readonly failed: StructType<{
|
|
407
|
+
readonly exitCode: IntegerType;
|
|
408
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1090
409
|
}>;
|
|
1091
|
-
error: StructType<{
|
|
1092
|
-
message: StringType;
|
|
1093
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
410
|
+
readonly error: StructType<{
|
|
411
|
+
readonly message: StringType;
|
|
412
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1094
413
|
}>;
|
|
1095
|
-
'stale-running': StructType<{
|
|
1096
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
1097
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
414
|
+
readonly 'stale-running': StructType<{
|
|
415
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
416
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1098
417
|
}>;
|
|
1099
418
|
}>;
|
|
1100
|
-
inputs: ArrayType<StringType>;
|
|
1101
|
-
output: StringType;
|
|
1102
|
-
dependsOn: ArrayType<StringType>;
|
|
419
|
+
readonly inputs: ArrayType<StringType>;
|
|
420
|
+
readonly output: StringType;
|
|
421
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
1103
422
|
}>>;
|
|
1104
|
-
summary: StructType<{
|
|
1105
|
-
datasets: StructType<{
|
|
1106
|
-
total: IntegerType;
|
|
1107
|
-
unset: IntegerType;
|
|
1108
|
-
stale: IntegerType;
|
|
1109
|
-
upToDate: IntegerType;
|
|
423
|
+
readonly summary: StructType<{
|
|
424
|
+
readonly datasets: StructType<{
|
|
425
|
+
readonly total: IntegerType;
|
|
426
|
+
readonly unset: IntegerType;
|
|
427
|
+
readonly stale: IntegerType;
|
|
428
|
+
readonly upToDate: IntegerType;
|
|
1110
429
|
}>;
|
|
1111
|
-
tasks: StructType<{
|
|
1112
|
-
total: IntegerType;
|
|
1113
|
-
upToDate: IntegerType;
|
|
1114
|
-
ready: IntegerType;
|
|
1115
|
-
waiting: IntegerType;
|
|
1116
|
-
inProgress: IntegerType;
|
|
1117
|
-
failed: IntegerType;
|
|
1118
|
-
error: IntegerType;
|
|
1119
|
-
staleRunning: IntegerType;
|
|
430
|
+
readonly tasks: StructType<{
|
|
431
|
+
readonly total: IntegerType;
|
|
432
|
+
readonly upToDate: IntegerType;
|
|
433
|
+
readonly ready: IntegerType;
|
|
434
|
+
readonly waiting: IntegerType;
|
|
435
|
+
readonly inProgress: IntegerType;
|
|
436
|
+
readonly failed: IntegerType;
|
|
437
|
+
readonly error: IntegerType;
|
|
438
|
+
readonly staleRunning: IntegerType;
|
|
1120
439
|
}>;
|
|
1121
440
|
}>;
|
|
1122
441
|
}>>;
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
readonly
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
readonly workspaceDeploy: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], NullType>;
|
|
1140
|
-
/**
|
|
1141
|
-
* Exports workspace as a package zip archive.
|
|
1142
|
-
*
|
|
1143
|
-
* @param url - Base URL of the e3 API server
|
|
1144
|
-
* @param name - Workspace name
|
|
1145
|
-
* @returns Zip archive as bytes
|
|
1146
|
-
*/
|
|
1147
|
-
readonly workspaceExport: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], BlobType>;
|
|
1148
|
-
/**
|
|
1149
|
-
* Lists field names at root of workspace dataset tree.
|
|
1150
|
-
*
|
|
1151
|
-
* @param url - Base URL of the e3 API server
|
|
1152
|
-
* @param workspace - Workspace name
|
|
1153
|
-
* @returns Array of field names
|
|
1154
|
-
*/
|
|
1155
|
-
readonly datasetList: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], ArrayType<StringType>>;
|
|
1156
|
-
/**
|
|
1157
|
-
* Lists field names at a path in workspace dataset tree.
|
|
1158
|
-
*
|
|
1159
|
-
* @param url - Base URL of the e3 API server
|
|
1160
|
-
* @param workspace - Workspace name
|
|
1161
|
-
* @param path - Path to the dataset
|
|
1162
|
-
* @returns Array of field names
|
|
1163
|
-
*/
|
|
1164
|
-
readonly datasetListAt: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
1165
|
-
field: StringType;
|
|
1166
|
-
}>>], ArrayType<StringType>>;
|
|
1167
|
-
/**
|
|
1168
|
-
* Gets a dataset value as raw BEAST2 bytes.
|
|
1169
|
-
*
|
|
1170
|
-
* @param url - Base URL of the e3 API server
|
|
1171
|
-
* @param workspace - Workspace name
|
|
1172
|
-
* @param path - Path to the dataset
|
|
1173
|
-
* @returns Raw BEAST2 bytes
|
|
1174
|
-
*/
|
|
1175
|
-
readonly datasetGet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
1176
|
-
field: StringType;
|
|
1177
|
-
}>>], BlobType>;
|
|
1178
|
-
/**
|
|
1179
|
-
* Sets a dataset value from raw BEAST2 bytes.
|
|
1180
|
-
*
|
|
1181
|
-
* @param url - Base URL of the e3 API server
|
|
1182
|
-
* @param workspace - Workspace name
|
|
1183
|
-
* @param path - Path to the dataset
|
|
1184
|
-
* @param data - Raw BEAST2 encoded value
|
|
1185
|
-
* @returns null on success
|
|
1186
|
-
*/
|
|
1187
|
-
readonly datasetSet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
1188
|
-
field: StringType;
|
|
1189
|
-
}>>, BlobType], NullType>;
|
|
1190
|
-
/**
|
|
1191
|
-
* Lists tasks in a workspace.
|
|
1192
|
-
*
|
|
1193
|
-
* @param url - Base URL of the e3 API server
|
|
1194
|
-
* @param workspace - Workspace name
|
|
1195
|
-
* @returns Array of task info
|
|
1196
|
-
*/
|
|
1197
|
-
readonly taskList: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], ArrayType<StructType<{
|
|
1198
|
-
name: StringType;
|
|
1199
|
-
hash: StringType;
|
|
442
|
+
readonly workspaceRemove: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], NullType>;
|
|
443
|
+
readonly workspaceDeploy: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], NullType>;
|
|
444
|
+
readonly workspaceExport: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], BlobType>;
|
|
445
|
+
readonly datasetList: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], ArrayType<StringType>>;
|
|
446
|
+
readonly datasetListAt: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
447
|
+
readonly field: StringType;
|
|
448
|
+
}>>, StringType], ArrayType<StringType>>;
|
|
449
|
+
readonly datasetGet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
450
|
+
readonly field: StringType;
|
|
451
|
+
}>>, StringType], BlobType>;
|
|
452
|
+
readonly datasetSet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
453
|
+
readonly field: StringType;
|
|
454
|
+
}>>, BlobType, StringType], NullType>;
|
|
455
|
+
readonly taskList: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], ArrayType<StructType<{
|
|
456
|
+
readonly name: StringType;
|
|
457
|
+
readonly hash: StringType;
|
|
1200
458
|
}>>>;
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
* @returns Task details
|
|
1208
|
-
*/
|
|
1209
|
-
readonly taskGet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], StructType<{
|
|
1210
|
-
name: StringType;
|
|
1211
|
-
hash: StringType;
|
|
1212
|
-
commandIr: StringType;
|
|
1213
|
-
inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
1214
|
-
field: StringType;
|
|
459
|
+
readonly taskGet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], StructType<{
|
|
460
|
+
readonly name: StringType;
|
|
461
|
+
readonly hash: StringType;
|
|
462
|
+
readonly commandIr: StringType;
|
|
463
|
+
readonly inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
464
|
+
readonly field: StringType;
|
|
1215
465
|
}>>>;
|
|
1216
|
-
output: ArrayType<import("@elaraai/east").VariantType<{
|
|
1217
|
-
field: StringType;
|
|
466
|
+
readonly output: ArrayType<import("@elaraai/east").VariantType<{
|
|
467
|
+
readonly field: StringType;
|
|
1218
468
|
}>>;
|
|
1219
469
|
}>>;
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
1243
|
-
force: import("@elaraai/east").BooleanType;
|
|
1244
|
-
filter: import("@elaraai/east").OptionType<StringType>;
|
|
1245
|
-
}>], StructType<{
|
|
1246
|
-
success: import("@elaraai/east").BooleanType;
|
|
1247
|
-
executed: IntegerType;
|
|
1248
|
-
cached: IntegerType;
|
|
1249
|
-
failed: IntegerType;
|
|
1250
|
-
skipped: IntegerType;
|
|
1251
|
-
tasks: ArrayType<StructType<{
|
|
1252
|
-
name: StringType;
|
|
1253
|
-
cached: import("@elaraai/east").BooleanType;
|
|
1254
|
-
state: import("@elaraai/east").VariantType<{
|
|
1255
|
-
success: NullType;
|
|
1256
|
-
failed: StructType<{
|
|
1257
|
-
exitCode: IntegerType;
|
|
470
|
+
readonly dataflowStart: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
471
|
+
readonly concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
472
|
+
readonly force: import("@elaraai/east").BooleanType;
|
|
473
|
+
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
474
|
+
}>, StringType], NullType>;
|
|
475
|
+
readonly dataflowExecute: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
476
|
+
readonly concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
477
|
+
readonly force: import("@elaraai/east").BooleanType;
|
|
478
|
+
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
479
|
+
}>, StringType], StructType<{
|
|
480
|
+
readonly success: import("@elaraai/east").BooleanType;
|
|
481
|
+
readonly executed: IntegerType;
|
|
482
|
+
readonly cached: IntegerType;
|
|
483
|
+
readonly failed: IntegerType;
|
|
484
|
+
readonly skipped: IntegerType;
|
|
485
|
+
readonly tasks: ArrayType<StructType<{
|
|
486
|
+
readonly name: StringType;
|
|
487
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
488
|
+
readonly state: import("@elaraai/east").VariantType<{
|
|
489
|
+
readonly success: NullType;
|
|
490
|
+
readonly failed: StructType<{
|
|
491
|
+
readonly exitCode: IntegerType;
|
|
1258
492
|
}>;
|
|
1259
|
-
error: StructType<{
|
|
1260
|
-
message: StringType;
|
|
493
|
+
readonly error: StructType<{
|
|
494
|
+
readonly message: StringType;
|
|
1261
495
|
}>;
|
|
1262
|
-
skipped: NullType;
|
|
496
|
+
readonly skipped: NullType;
|
|
1263
497
|
}>;
|
|
1264
|
-
duration: import("@elaraai/east").FloatType;
|
|
498
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
1265
499
|
}>>;
|
|
1266
|
-
duration: import("@elaraai/east").FloatType;
|
|
500
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
1267
501
|
}>>;
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
readonly dataflowGraph: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType], StructType<{
|
|
1276
|
-
tasks: ArrayType<StructType<{
|
|
1277
|
-
name: StringType;
|
|
1278
|
-
hash: StringType;
|
|
1279
|
-
inputs: ArrayType<StringType>;
|
|
1280
|
-
output: StringType;
|
|
1281
|
-
dependsOn: ArrayType<StringType>;
|
|
502
|
+
readonly dataflowGraph: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
503
|
+
readonly tasks: ArrayType<StructType<{
|
|
504
|
+
readonly name: StringType;
|
|
505
|
+
readonly hash: StringType;
|
|
506
|
+
readonly inputs: ArrayType<StringType>;
|
|
507
|
+
readonly output: StringType;
|
|
508
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
1282
509
|
}>>;
|
|
1283
510
|
}>>;
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
stream: StringType;
|
|
1295
|
-
offset: IntegerType;
|
|
1296
|
-
limit: IntegerType;
|
|
1297
|
-
}>], StructType<{
|
|
1298
|
-
data: StringType;
|
|
1299
|
-
offset: IntegerType;
|
|
1300
|
-
size: IntegerType;
|
|
1301
|
-
totalSize: IntegerType;
|
|
1302
|
-
complete: import("@elaraai/east").BooleanType;
|
|
511
|
+
readonly taskLogs: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StructType<{
|
|
512
|
+
readonly stream: StringType;
|
|
513
|
+
readonly offset: IntegerType;
|
|
514
|
+
readonly limit: IntegerType;
|
|
515
|
+
}>, StringType], StructType<{
|
|
516
|
+
readonly data: StringType;
|
|
517
|
+
readonly offset: IntegerType;
|
|
518
|
+
readonly size: IntegerType;
|
|
519
|
+
readonly totalSize: IntegerType;
|
|
520
|
+
readonly complete: import("@elaraai/east").BooleanType;
|
|
1303
521
|
}>>;
|
|
1304
|
-
/**
|
|
1305
|
-
* Node.js implementation of e3 API platform functions.
|
|
1306
|
-
*
|
|
1307
|
-
* Pass this to {@link East.compileAsync} to enable e3 API operations.
|
|
1308
|
-
*/
|
|
1309
522
|
readonly Implementation: PlatformFunction[];
|
|
1310
|
-
/**
|
|
1311
|
-
* Type definitions for platform operations.
|
|
1312
|
-
*/
|
|
1313
523
|
readonly Types: {
|
|
1314
524
|
readonly RepositoryStatus: StructType<{
|
|
1315
|
-
path: StringType;
|
|
1316
|
-
objectCount: IntegerType;
|
|
1317
|
-
packageCount: IntegerType;
|
|
1318
|
-
workspaceCount: IntegerType;
|
|
525
|
+
readonly path: StringType;
|
|
526
|
+
readonly objectCount: IntegerType;
|
|
527
|
+
readonly packageCount: IntegerType;
|
|
528
|
+
readonly workspaceCount: IntegerType;
|
|
1319
529
|
}>;
|
|
1320
530
|
readonly GcRequest: StructType<{
|
|
1321
|
-
dryRun: import("@elaraai/east").BooleanType;
|
|
1322
|
-
minAge: import("@elaraai/east").OptionType<IntegerType>;
|
|
531
|
+
readonly dryRun: import("@elaraai/east").BooleanType;
|
|
532
|
+
readonly minAge: import("@elaraai/east").OptionType<IntegerType>;
|
|
1323
533
|
}>;
|
|
1324
534
|
readonly GcResult: StructType<{
|
|
1325
|
-
deletedObjects: IntegerType;
|
|
1326
|
-
deletedPartials: IntegerType;
|
|
1327
|
-
retainedObjects: IntegerType;
|
|
1328
|
-
skippedYoung: IntegerType;
|
|
1329
|
-
bytesFreed: IntegerType;
|
|
535
|
+
readonly deletedObjects: IntegerType;
|
|
536
|
+
readonly deletedPartials: IntegerType;
|
|
537
|
+
readonly retainedObjects: IntegerType;
|
|
538
|
+
readonly skippedYoung: IntegerType;
|
|
539
|
+
readonly bytesFreed: IntegerType;
|
|
1330
540
|
}>;
|
|
1331
541
|
readonly PackageListItem: StructType<{
|
|
1332
|
-
name: StringType;
|
|
1333
|
-
version: StringType;
|
|
542
|
+
readonly name: StringType;
|
|
543
|
+
readonly version: StringType;
|
|
1334
544
|
}>;
|
|
1335
545
|
readonly PackageImportResult: StructType<{
|
|
1336
|
-
name: StringType;
|
|
1337
|
-
version: StringType;
|
|
1338
|
-
packageHash: StringType;
|
|
1339
|
-
objectCount: IntegerType;
|
|
546
|
+
readonly name: StringType;
|
|
547
|
+
readonly version: StringType;
|
|
548
|
+
readonly packageHash: StringType;
|
|
549
|
+
readonly objectCount: IntegerType;
|
|
1340
550
|
}>;
|
|
1341
551
|
readonly WorkspaceInfo: StructType<{
|
|
1342
|
-
name: StringType;
|
|
1343
|
-
deployed: import("@elaraai/east").BooleanType;
|
|
1344
|
-
packageName: import("@elaraai/east").OptionType<StringType>;
|
|
1345
|
-
packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
552
|
+
readonly name: StringType;
|
|
553
|
+
readonly deployed: import("@elaraai/east").BooleanType;
|
|
554
|
+
readonly packageName: import("@elaraai/east").OptionType<StringType>;
|
|
555
|
+
readonly packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
1346
556
|
}>;
|
|
1347
557
|
readonly WorkspaceStatusResult: StructType<{
|
|
1348
|
-
workspace: StringType;
|
|
1349
|
-
lock: import("@elaraai/east").OptionType<StructType<{
|
|
1350
|
-
pid: IntegerType;
|
|
1351
|
-
acquiredAt: StringType;
|
|
1352
|
-
bootId: import("@elaraai/east").OptionType<StringType>;
|
|
1353
|
-
command: import("@elaraai/east").OptionType<StringType>;
|
|
558
|
+
readonly workspace: StringType;
|
|
559
|
+
readonly lock: import("@elaraai/east").OptionType<StructType<{
|
|
560
|
+
readonly pid: IntegerType;
|
|
561
|
+
readonly acquiredAt: StringType;
|
|
562
|
+
readonly bootId: import("@elaraai/east").OptionType<StringType>;
|
|
563
|
+
readonly command: import("@elaraai/east").OptionType<StringType>;
|
|
1354
564
|
}>>;
|
|
1355
|
-
datasets: ArrayType<StructType<{
|
|
1356
|
-
path: StringType;
|
|
1357
|
-
status: import("@elaraai/east").VariantType<{
|
|
1358
|
-
unset: NullType;
|
|
1359
|
-
stale: NullType;
|
|
1360
|
-
'up-to-date': NullType;
|
|
565
|
+
readonly datasets: ArrayType<StructType<{
|
|
566
|
+
readonly path: StringType;
|
|
567
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
568
|
+
readonly unset: NullType;
|
|
569
|
+
readonly stale: NullType;
|
|
570
|
+
readonly 'up-to-date': NullType;
|
|
1361
571
|
}>;
|
|
1362
|
-
hash: import("@elaraai/east").OptionType<StringType>;
|
|
1363
|
-
isTaskOutput: import("@elaraai/east").BooleanType;
|
|
1364
|
-
producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
572
|
+
readonly hash: import("@elaraai/east").OptionType<StringType>;
|
|
573
|
+
readonly isTaskOutput: import("@elaraai/east").BooleanType;
|
|
574
|
+
readonly producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
1365
575
|
}>>;
|
|
1366
|
-
tasks: ArrayType<StructType<{
|
|
1367
|
-
name: StringType;
|
|
1368
|
-
hash: StringType;
|
|
1369
|
-
status: import("@elaraai/east").VariantType<{
|
|
1370
|
-
'up-to-date': StructType<{
|
|
1371
|
-
cached: import("@elaraai/east").BooleanType;
|
|
576
|
+
readonly tasks: ArrayType<StructType<{
|
|
577
|
+
readonly name: StringType;
|
|
578
|
+
readonly hash: StringType;
|
|
579
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
580
|
+
readonly 'up-to-date': StructType<{
|
|
581
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
1372
582
|
}>;
|
|
1373
|
-
ready: NullType;
|
|
1374
|
-
waiting: StructType<{
|
|
1375
|
-
reason: StringType;
|
|
583
|
+
readonly ready: NullType;
|
|
584
|
+
readonly waiting: StructType<{
|
|
585
|
+
readonly reason: StringType;
|
|
1376
586
|
}>;
|
|
1377
|
-
'in-progress': StructType<{
|
|
1378
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
1379
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
587
|
+
readonly 'in-progress': StructType<{
|
|
588
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
589
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1380
590
|
}>;
|
|
1381
|
-
failed: StructType<{
|
|
1382
|
-
exitCode: IntegerType;
|
|
1383
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
591
|
+
readonly failed: StructType<{
|
|
592
|
+
readonly exitCode: IntegerType;
|
|
593
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1384
594
|
}>;
|
|
1385
|
-
error: StructType<{
|
|
1386
|
-
message: StringType;
|
|
1387
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
595
|
+
readonly error: StructType<{
|
|
596
|
+
readonly message: StringType;
|
|
597
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1388
598
|
}>;
|
|
1389
|
-
'stale-running': StructType<{
|
|
1390
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
1391
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
599
|
+
readonly 'stale-running': StructType<{
|
|
600
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
601
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1392
602
|
}>;
|
|
1393
603
|
}>;
|
|
1394
|
-
inputs: ArrayType<StringType>;
|
|
1395
|
-
output: StringType;
|
|
1396
|
-
dependsOn: ArrayType<StringType>;
|
|
604
|
+
readonly inputs: ArrayType<StringType>;
|
|
605
|
+
readonly output: StringType;
|
|
606
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
1397
607
|
}>>;
|
|
1398
|
-
summary: StructType<{
|
|
1399
|
-
datasets: StructType<{
|
|
1400
|
-
total: IntegerType;
|
|
1401
|
-
unset: IntegerType;
|
|
1402
|
-
stale: IntegerType;
|
|
1403
|
-
upToDate: IntegerType;
|
|
608
|
+
readonly summary: StructType<{
|
|
609
|
+
readonly datasets: StructType<{
|
|
610
|
+
readonly total: IntegerType;
|
|
611
|
+
readonly unset: IntegerType;
|
|
612
|
+
readonly stale: IntegerType;
|
|
613
|
+
readonly upToDate: IntegerType;
|
|
1404
614
|
}>;
|
|
1405
|
-
tasks: StructType<{
|
|
1406
|
-
total: IntegerType;
|
|
1407
|
-
upToDate: IntegerType;
|
|
1408
|
-
ready: IntegerType;
|
|
1409
|
-
waiting: IntegerType;
|
|
1410
|
-
inProgress: IntegerType;
|
|
1411
|
-
failed: IntegerType;
|
|
1412
|
-
error: IntegerType;
|
|
1413
|
-
staleRunning: IntegerType;
|
|
615
|
+
readonly tasks: StructType<{
|
|
616
|
+
readonly total: IntegerType;
|
|
617
|
+
readonly upToDate: IntegerType;
|
|
618
|
+
readonly ready: IntegerType;
|
|
619
|
+
readonly waiting: IntegerType;
|
|
620
|
+
readonly inProgress: IntegerType;
|
|
621
|
+
readonly failed: IntegerType;
|
|
622
|
+
readonly error: IntegerType;
|
|
623
|
+
readonly staleRunning: IntegerType;
|
|
1414
624
|
}>;
|
|
1415
625
|
}>;
|
|
1416
626
|
}>;
|
|
1417
627
|
readonly TaskListItem: StructType<{
|
|
1418
|
-
name: StringType;
|
|
1419
|
-
hash: StringType;
|
|
628
|
+
readonly name: StringType;
|
|
629
|
+
readonly hash: StringType;
|
|
1420
630
|
}>;
|
|
1421
631
|
readonly TaskDetails: StructType<{
|
|
1422
|
-
name: StringType;
|
|
1423
|
-
hash: StringType;
|
|
1424
|
-
commandIr: StringType;
|
|
1425
|
-
inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
1426
|
-
field: StringType;
|
|
632
|
+
readonly name: StringType;
|
|
633
|
+
readonly hash: StringType;
|
|
634
|
+
readonly commandIr: StringType;
|
|
635
|
+
readonly inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
636
|
+
readonly field: StringType;
|
|
1427
637
|
}>>>;
|
|
1428
|
-
output: ArrayType<import("@elaraai/east").VariantType<{
|
|
1429
|
-
field: StringType;
|
|
638
|
+
readonly output: ArrayType<import("@elaraai/east").VariantType<{
|
|
639
|
+
readonly field: StringType;
|
|
1430
640
|
}>>;
|
|
1431
641
|
}>;
|
|
1432
642
|
readonly DataflowRequest: StructType<{
|
|
1433
|
-
concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
1434
|
-
force: import("@elaraai/east").BooleanType;
|
|
1435
|
-
filter: import("@elaraai/east").OptionType<StringType>;
|
|
643
|
+
readonly concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
644
|
+
readonly force: import("@elaraai/east").BooleanType;
|
|
645
|
+
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
1436
646
|
}>;
|
|
1437
647
|
readonly DataflowGraph: StructType<{
|
|
1438
|
-
tasks: ArrayType<StructType<{
|
|
1439
|
-
name: StringType;
|
|
1440
|
-
hash: StringType;
|
|
1441
|
-
inputs: ArrayType<StringType>;
|
|
1442
|
-
output: StringType;
|
|
1443
|
-
dependsOn: ArrayType<StringType>;
|
|
648
|
+
readonly tasks: ArrayType<StructType<{
|
|
649
|
+
readonly name: StringType;
|
|
650
|
+
readonly hash: StringType;
|
|
651
|
+
readonly inputs: ArrayType<StringType>;
|
|
652
|
+
readonly output: StringType;
|
|
653
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
1444
654
|
}>>;
|
|
1445
655
|
}>;
|
|
1446
656
|
readonly DataflowResult: StructType<{
|
|
1447
|
-
success: import("@elaraai/east").BooleanType;
|
|
1448
|
-
executed: IntegerType;
|
|
1449
|
-
cached: IntegerType;
|
|
1450
|
-
failed: IntegerType;
|
|
1451
|
-
skipped: IntegerType;
|
|
1452
|
-
tasks: ArrayType<StructType<{
|
|
1453
|
-
name: StringType;
|
|
1454
|
-
cached: import("@elaraai/east").BooleanType;
|
|
1455
|
-
state: import("@elaraai/east").VariantType<{
|
|
1456
|
-
success: NullType;
|
|
1457
|
-
failed: StructType<{
|
|
1458
|
-
exitCode: IntegerType;
|
|
657
|
+
readonly success: import("@elaraai/east").BooleanType;
|
|
658
|
+
readonly executed: IntegerType;
|
|
659
|
+
readonly cached: IntegerType;
|
|
660
|
+
readonly failed: IntegerType;
|
|
661
|
+
readonly skipped: IntegerType;
|
|
662
|
+
readonly tasks: ArrayType<StructType<{
|
|
663
|
+
readonly name: StringType;
|
|
664
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
665
|
+
readonly state: import("@elaraai/east").VariantType<{
|
|
666
|
+
readonly success: NullType;
|
|
667
|
+
readonly failed: StructType<{
|
|
668
|
+
readonly exitCode: IntegerType;
|
|
1459
669
|
}>;
|
|
1460
|
-
error: StructType<{
|
|
1461
|
-
message: StringType;
|
|
670
|
+
readonly error: StructType<{
|
|
671
|
+
readonly message: StringType;
|
|
1462
672
|
}>;
|
|
1463
|
-
skipped: NullType;
|
|
673
|
+
readonly skipped: NullType;
|
|
1464
674
|
}>;
|
|
1465
|
-
duration: import("@elaraai/east").FloatType;
|
|
675
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
1466
676
|
}>>;
|
|
1467
|
-
duration: import("@elaraai/east").FloatType;
|
|
677
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
1468
678
|
}>;
|
|
1469
679
|
readonly LogChunk: StructType<{
|
|
1470
|
-
data: StringType;
|
|
1471
|
-
offset: IntegerType;
|
|
1472
|
-
size: IntegerType;
|
|
1473
|
-
totalSize: IntegerType;
|
|
1474
|
-
complete: import("@elaraai/east").BooleanType;
|
|
680
|
+
readonly data: StringType;
|
|
681
|
+
readonly offset: IntegerType;
|
|
682
|
+
readonly size: IntegerType;
|
|
683
|
+
readonly totalSize: IntegerType;
|
|
684
|
+
readonly complete: import("@elaraai/east").BooleanType;
|
|
1475
685
|
}>;
|
|
1476
686
|
readonly LogOptions: StructType<{
|
|
1477
|
-
stream: StringType;
|
|
1478
|
-
offset: IntegerType;
|
|
1479
|
-
limit: IntegerType;
|
|
687
|
+
readonly stream: StringType;
|
|
688
|
+
readonly offset: IntegerType;
|
|
689
|
+
readonly limit: IntegerType;
|
|
1480
690
|
}>;
|
|
1481
691
|
};
|
|
1482
692
|
};
|