@elaraai/e3-api-client 0.0.2-beta.3 → 0.0.2-beta.30
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 +31 -4
- package/dist/src/datasets.d.ts.map +1 -1
- package/dist/src/datasets.js +51 -11
- 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 +169 -36
- package/dist/src/executions.js.map +1 -1
- package/dist/src/http.d.ts +53 -12
- package/dist/src/http.d.ts.map +1 -1
- package/dist/src/http.js +104 -28
- 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 +26 -5
- package/dist/src/packages.d.ts.map +1 -1
- package/dist/src/packages.js +31 -16
- package/dist/src/packages.js.map +1 -1
- package/dist/src/platform.d.ts +523 -1333
- 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 +1182 -706
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +192 -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,669 @@
|
|
|
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
|
-
* const getPackage = East.function([StringType, StringType, StringType], PackageObjectType, ($, url, name, version) => {
|
|
116
|
-
* return Platform.packageGet(url, name, version);
|
|
117
|
-
* });
|
|
118
|
-
* ```
|
|
119
|
-
*/
|
|
120
|
-
export declare const platform_package_get: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], StructType<{
|
|
121
|
-
tasks: import("@elaraai/east").DictType<StringType, StringType>;
|
|
122
|
-
data: StructType<{
|
|
123
|
-
structure: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
124
|
-
value: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
125
|
-
Never: import("@elaraai/east").NullType;
|
|
126
|
-
Null: import("@elaraai/east").NullType;
|
|
127
|
-
Boolean: import("@elaraai/east").NullType;
|
|
128
|
-
Integer: import("@elaraai/east").NullType;
|
|
129
|
-
Float: import("@elaraai/east").NullType;
|
|
130
|
-
String: import("@elaraai/east").NullType;
|
|
131
|
-
DateTime: import("@elaraai/east").NullType;
|
|
132
|
-
Blob: import("@elaraai/east").NullType;
|
|
133
|
-
Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
134
|
-
Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
135
|
-
Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
136
|
-
Dict: StructType<{
|
|
137
|
-
key: import("@elaraai/east").RecursiveTypeMarker;
|
|
138
|
-
value: 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: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
32
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
33
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
34
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
35
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
36
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
37
|
+
readonly String: import("@elaraai/east").NullType;
|
|
38
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
39
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
40
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
41
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
42
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
43
|
+
readonly Dict: StructType<{
|
|
44
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
45
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
139
46
|
}>;
|
|
140
|
-
Struct: import("@elaraai/east").ArrayType<StructType<{
|
|
141
|
-
name: StringType;
|
|
142
|
-
type: import("@elaraai/east").RecursiveTypeMarker;
|
|
47
|
+
readonly Struct: import("@elaraai/east").ArrayType<StructType<{
|
|
48
|
+
readonly name: StringType;
|
|
49
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
143
50
|
}>>;
|
|
144
|
-
Variant: import("@elaraai/east").ArrayType<StructType<{
|
|
145
|
-
name: StringType;
|
|
146
|
-
type: import("@elaraai/east").RecursiveTypeMarker;
|
|
51
|
+
readonly Variant: import("@elaraai/east").ArrayType<StructType<{
|
|
52
|
+
readonly name: StringType;
|
|
53
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
147
54
|
}>>;
|
|
148
|
-
Recursive: import("@elaraai/east").IntegerType;
|
|
149
|
-
Function: StructType<{
|
|
150
|
-
inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
151
|
-
output: import("@elaraai/east").RecursiveTypeMarker;
|
|
55
|
+
readonly Recursive: import("@elaraai/east").IntegerType;
|
|
56
|
+
readonly Function: StructType<{
|
|
57
|
+
readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
58
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
152
59
|
}>;
|
|
153
|
-
AsyncFunction: StructType<{
|
|
154
|
-
inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
155
|
-
output: import("@elaraai/east").RecursiveTypeMarker;
|
|
60
|
+
readonly AsyncFunction: StructType<{
|
|
61
|
+
readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
62
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
156
63
|
}>;
|
|
64
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
65
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
157
66
|
}>>;
|
|
158
|
-
struct: import("@elaraai/east").DictType<StringType, import("@elaraai/east").RecursiveTypeMarker>;
|
|
67
|
+
readonly struct: import("@elaraai/east").DictType<StringType, import("@elaraai/east").RecursiveTypeMarker>;
|
|
159
68
|
}>>;
|
|
160
|
-
value: StringType;
|
|
69
|
+
readonly value: StringType;
|
|
161
70
|
}>;
|
|
162
71
|
}>>;
|
|
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;
|
|
72
|
+
export declare const platform_package_import: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, BlobType, StringType], StructType<{
|
|
73
|
+
readonly name: StringType;
|
|
74
|
+
readonly version: StringType;
|
|
75
|
+
readonly packageHash: StringType;
|
|
76
|
+
readonly objectCount: IntegerType;
|
|
192
77
|
}>>;
|
|
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>;
|
|
78
|
+
export declare const platform_package_export: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], BlobType>;
|
|
79
|
+
export declare const platform_package_remove: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], NullType>;
|
|
80
|
+
export declare const platform_workspace_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], ArrayType<StructType<{
|
|
81
|
+
readonly name: StringType;
|
|
82
|
+
readonly deployed: import("@elaraai/east").BooleanType;
|
|
83
|
+
readonly packageName: import("@elaraai/east").OptionType<StringType>;
|
|
84
|
+
readonly packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
270
85
|
}>>>;
|
|
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>;
|
|
86
|
+
export declare const platform_workspace_create: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
87
|
+
readonly name: StringType;
|
|
88
|
+
readonly deployed: import("@elaraai/east").BooleanType;
|
|
89
|
+
readonly packageName: import("@elaraai/east").OptionType<StringType>;
|
|
90
|
+
readonly packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
299
91
|
}>>;
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
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;
|
|
92
|
+
export declare const platform_workspace_get: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
93
|
+
readonly packageName: StringType;
|
|
94
|
+
readonly packageVersion: StringType;
|
|
95
|
+
readonly packageHash: StringType;
|
|
96
|
+
readonly deployedAt: import("@elaraai/east").DateTimeType;
|
|
97
|
+
readonly rootHash: StringType;
|
|
98
|
+
readonly rootUpdatedAt: import("@elaraai/east").DateTimeType;
|
|
99
|
+
readonly currentRunId: import("@elaraai/east").OptionType<StringType>;
|
|
330
100
|
}>>;
|
|
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>;
|
|
101
|
+
export declare const platform_workspace_status: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
102
|
+
readonly workspace: StringType;
|
|
103
|
+
readonly lock: import("@elaraai/east").OptionType<StructType<{
|
|
104
|
+
readonly pid: IntegerType;
|
|
105
|
+
readonly acquiredAt: StringType;
|
|
106
|
+
readonly bootId: import("@elaraai/east").OptionType<StringType>;
|
|
107
|
+
readonly command: import("@elaraai/east").OptionType<StringType>;
|
|
362
108
|
}>>;
|
|
363
|
-
datasets: ArrayType<StructType<{
|
|
364
|
-
path: StringType;
|
|
365
|
-
status: import("@elaraai/east").VariantType<{
|
|
366
|
-
unset: NullType;
|
|
367
|
-
stale: NullType;
|
|
368
|
-
'up-to-date': NullType;
|
|
109
|
+
readonly datasets: ArrayType<StructType<{
|
|
110
|
+
readonly path: StringType;
|
|
111
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
112
|
+
readonly unset: NullType;
|
|
113
|
+
readonly stale: NullType;
|
|
114
|
+
readonly 'up-to-date': NullType;
|
|
369
115
|
}>;
|
|
370
|
-
hash: import("@elaraai/east").OptionType<StringType>;
|
|
371
|
-
isTaskOutput: import("@elaraai/east").BooleanType;
|
|
372
|
-
producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
116
|
+
readonly hash: import("@elaraai/east").OptionType<StringType>;
|
|
117
|
+
readonly isTaskOutput: import("@elaraai/east").BooleanType;
|
|
118
|
+
readonly producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
373
119
|
}>>;
|
|
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;
|
|
120
|
+
readonly tasks: ArrayType<StructType<{
|
|
121
|
+
readonly name: StringType;
|
|
122
|
+
readonly hash: StringType;
|
|
123
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
124
|
+
readonly 'up-to-date': StructType<{
|
|
125
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
380
126
|
}>;
|
|
381
|
-
ready: NullType;
|
|
382
|
-
waiting: StructType<{
|
|
383
|
-
reason: StringType;
|
|
127
|
+
readonly ready: NullType;
|
|
128
|
+
readonly waiting: StructType<{
|
|
129
|
+
readonly reason: StringType;
|
|
384
130
|
}>;
|
|
385
|
-
'in-progress': StructType<{
|
|
386
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
387
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
131
|
+
readonly 'in-progress': StructType<{
|
|
132
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
133
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
388
134
|
}>;
|
|
389
|
-
failed: StructType<{
|
|
390
|
-
exitCode: IntegerType;
|
|
391
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
135
|
+
readonly failed: StructType<{
|
|
136
|
+
readonly exitCode: IntegerType;
|
|
137
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
392
138
|
}>;
|
|
393
|
-
error: StructType<{
|
|
394
|
-
message: StringType;
|
|
395
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
139
|
+
readonly error: StructType<{
|
|
140
|
+
readonly message: StringType;
|
|
141
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
396
142
|
}>;
|
|
397
|
-
'stale-running': StructType<{
|
|
398
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
399
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
143
|
+
readonly 'stale-running': StructType<{
|
|
144
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
145
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
400
146
|
}>;
|
|
401
147
|
}>;
|
|
402
|
-
inputs: ArrayType<StringType>;
|
|
403
|
-
output: StringType;
|
|
404
|
-
dependsOn: ArrayType<StringType>;
|
|
148
|
+
readonly inputs: ArrayType<StringType>;
|
|
149
|
+
readonly output: StringType;
|
|
150
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
405
151
|
}>>;
|
|
406
|
-
summary: StructType<{
|
|
407
|
-
datasets: StructType<{
|
|
408
|
-
total: IntegerType;
|
|
409
|
-
unset: IntegerType;
|
|
410
|
-
stale: IntegerType;
|
|
411
|
-
upToDate: IntegerType;
|
|
152
|
+
readonly summary: StructType<{
|
|
153
|
+
readonly datasets: StructType<{
|
|
154
|
+
readonly total: IntegerType;
|
|
155
|
+
readonly unset: IntegerType;
|
|
156
|
+
readonly stale: IntegerType;
|
|
157
|
+
readonly upToDate: IntegerType;
|
|
412
158
|
}>;
|
|
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;
|
|
159
|
+
readonly tasks: StructType<{
|
|
160
|
+
readonly total: IntegerType;
|
|
161
|
+
readonly upToDate: IntegerType;
|
|
162
|
+
readonly ready: IntegerType;
|
|
163
|
+
readonly waiting: IntegerType;
|
|
164
|
+
readonly inProgress: IntegerType;
|
|
165
|
+
readonly failed: IntegerType;
|
|
166
|
+
readonly error: IntegerType;
|
|
167
|
+
readonly staleRunning: IntegerType;
|
|
422
168
|
}>;
|
|
423
169
|
}>;
|
|
424
170
|
}>>;
|
|
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;
|
|
171
|
+
export declare const platform_workspace_remove: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], NullType>;
|
|
172
|
+
export declare const platform_workspace_deploy: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], NullType>;
|
|
173
|
+
export declare const platform_workspace_export: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], BlobType>;
|
|
174
|
+
export declare const platform_dataset_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], ArrayType<StringType>>;
|
|
175
|
+
export declare const platform_dataset_list_at: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
176
|
+
readonly field: StringType;
|
|
177
|
+
}>>, StringType], ArrayType<StringType>>;
|
|
178
|
+
export declare const platform_dataset_get: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
179
|
+
readonly field: StringType;
|
|
180
|
+
}>>, StringType], BlobType>;
|
|
181
|
+
export declare const platform_dataset_set: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
182
|
+
readonly field: StringType;
|
|
183
|
+
}>>, BlobType, StringType], NullType>;
|
|
184
|
+
export declare const platform_task_list: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], ArrayType<StructType<{
|
|
185
|
+
readonly name: StringType;
|
|
186
|
+
readonly hash: StringType;
|
|
636
187
|
}>>>;
|
|
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;
|
|
188
|
+
export declare const platform_task_get: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], StructType<{
|
|
189
|
+
readonly name: StringType;
|
|
190
|
+
readonly hash: StringType;
|
|
191
|
+
readonly commandIr: StringType;
|
|
192
|
+
readonly inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
193
|
+
readonly field: StringType;
|
|
668
194
|
}>>>;
|
|
669
|
-
output: ArrayType<import("@elaraai/east").VariantType<{
|
|
670
|
-
field: StringType;
|
|
195
|
+
readonly output: ArrayType<import("@elaraai/east").VariantType<{
|
|
196
|
+
readonly field: StringType;
|
|
671
197
|
}>>;
|
|
672
198
|
}>>;
|
|
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;
|
|
199
|
+
export declare const platform_dataflow_start: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
200
|
+
readonly concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
201
|
+
readonly force: import("@elaraai/east").BooleanType;
|
|
202
|
+
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
203
|
+
}>, StringType], NullType>;
|
|
204
|
+
export declare const platform_dataflow_execute: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
205
|
+
readonly concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
206
|
+
readonly force: import("@elaraai/east").BooleanType;
|
|
207
|
+
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
208
|
+
}>, StringType], StructType<{
|
|
209
|
+
readonly success: import("@elaraai/east").BooleanType;
|
|
210
|
+
readonly executed: IntegerType;
|
|
211
|
+
readonly cached: IntegerType;
|
|
212
|
+
readonly failed: IntegerType;
|
|
213
|
+
readonly skipped: IntegerType;
|
|
214
|
+
readonly tasks: ArrayType<StructType<{
|
|
215
|
+
readonly name: StringType;
|
|
216
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
217
|
+
readonly state: import("@elaraai/east").VariantType<{
|
|
218
|
+
readonly success: NullType;
|
|
219
|
+
readonly failed: StructType<{
|
|
220
|
+
readonly exitCode: IntegerType;
|
|
746
221
|
}>;
|
|
747
|
-
error: StructType<{
|
|
748
|
-
message: StringType;
|
|
222
|
+
readonly error: StructType<{
|
|
223
|
+
readonly message: StringType;
|
|
749
224
|
}>;
|
|
750
|
-
skipped: NullType;
|
|
225
|
+
readonly skipped: NullType;
|
|
751
226
|
}>;
|
|
752
|
-
duration: import("@elaraai/east").FloatType;
|
|
227
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
753
228
|
}>>;
|
|
754
|
-
duration: import("@elaraai/east").FloatType;
|
|
229
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
755
230
|
}>>;
|
|
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>;
|
|
231
|
+
export declare const platform_dataflow_graph: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
232
|
+
readonly tasks: ArrayType<StructType<{
|
|
233
|
+
readonly name: StringType;
|
|
234
|
+
readonly hash: StringType;
|
|
235
|
+
readonly inputs: ArrayType<StringType>;
|
|
236
|
+
readonly output: StringType;
|
|
237
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
786
238
|
}>>;
|
|
787
239
|
}>>;
|
|
788
|
-
/**
|
|
789
|
-
* Log request options type.
|
|
790
|
-
*/
|
|
791
240
|
export declare const LogOptionsType: StructType<{
|
|
792
|
-
stream: StringType;
|
|
793
|
-
offset: IntegerType;
|
|
794
|
-
limit: IntegerType;
|
|
241
|
+
readonly stream: StringType;
|
|
242
|
+
readonly offset: IntegerType;
|
|
243
|
+
readonly limit: IntegerType;
|
|
795
244
|
}>;
|
|
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;
|
|
245
|
+
export declare const platform_task_logs: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StructType<{
|
|
246
|
+
readonly stream: StringType;
|
|
247
|
+
readonly offset: IntegerType;
|
|
248
|
+
readonly limit: IntegerType;
|
|
249
|
+
}>, StringType], StructType<{
|
|
250
|
+
readonly data: StringType;
|
|
251
|
+
readonly offset: IntegerType;
|
|
252
|
+
readonly size: IntegerType;
|
|
253
|
+
readonly totalSize: IntegerType;
|
|
254
|
+
readonly complete: import("@elaraai/east").BooleanType;
|
|
832
255
|
}>>;
|
|
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
256
|
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
257
|
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;
|
|
258
|
+
readonly repoStatus: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], StructType<{
|
|
259
|
+
readonly path: StringType;
|
|
260
|
+
readonly objectCount: IntegerType;
|
|
261
|
+
readonly packageCount: IntegerType;
|
|
262
|
+
readonly workspaceCount: IntegerType;
|
|
884
263
|
}>>;
|
|
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;
|
|
264
|
+
readonly repoGc: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StructType<{
|
|
265
|
+
readonly dryRun: import("@elaraai/east").BooleanType;
|
|
266
|
+
readonly minAge: import("@elaraai/east").OptionType<IntegerType>;
|
|
267
|
+
}>, StringType], StructType<{
|
|
268
|
+
readonly deletedObjects: IntegerType;
|
|
269
|
+
readonly deletedPartials: IntegerType;
|
|
270
|
+
readonly retainedObjects: IntegerType;
|
|
271
|
+
readonly skippedYoung: IntegerType;
|
|
272
|
+
readonly bytesFreed: IntegerType;
|
|
913
273
|
}>>;
|
|
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;
|
|
274
|
+
readonly packageList: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], ArrayType<StructType<{
|
|
275
|
+
readonly name: StringType;
|
|
276
|
+
readonly version: StringType;
|
|
923
277
|
}>>>;
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
DateTime: import("@elaraai/east").NullType;
|
|
944
|
-
Blob: import("@elaraai/east").NullType;
|
|
945
|
-
Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
946
|
-
Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
947
|
-
Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
948
|
-
Dict: StructType<{
|
|
949
|
-
key: import("@elaraai/east").RecursiveTypeMarker;
|
|
950
|
-
value: import("@elaraai/east").RecursiveTypeMarker;
|
|
278
|
+
readonly packageGet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], StructType<{
|
|
279
|
+
readonly tasks: import("@elaraai/east").DictType<StringType, StringType>;
|
|
280
|
+
readonly data: StructType<{
|
|
281
|
+
readonly structure: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
282
|
+
readonly value: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
283
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
284
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
285
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
286
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
287
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
288
|
+
readonly String: import("@elaraai/east").NullType;
|
|
289
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
290
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
291
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
292
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
293
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
294
|
+
readonly Dict: StructType<{
|
|
295
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
296
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
951
297
|
}>;
|
|
952
|
-
Struct: import("@elaraai/east").ArrayType<StructType<{
|
|
953
|
-
name: StringType;
|
|
954
|
-
type: import("@elaraai/east").RecursiveTypeMarker;
|
|
298
|
+
readonly Struct: import("@elaraai/east").ArrayType<StructType<{
|
|
299
|
+
readonly name: StringType;
|
|
300
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
955
301
|
}>>;
|
|
956
|
-
Variant: import("@elaraai/east").ArrayType<StructType<{
|
|
957
|
-
name: StringType;
|
|
958
|
-
type: import("@elaraai/east").RecursiveTypeMarker;
|
|
302
|
+
readonly Variant: import("@elaraai/east").ArrayType<StructType<{
|
|
303
|
+
readonly name: StringType;
|
|
304
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
959
305
|
}>>;
|
|
960
|
-
Recursive: import("@elaraai/east").IntegerType;
|
|
961
|
-
Function: StructType<{
|
|
962
|
-
inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
963
|
-
output: import("@elaraai/east").RecursiveTypeMarker;
|
|
306
|
+
readonly Recursive: import("@elaraai/east").IntegerType;
|
|
307
|
+
readonly Function: StructType<{
|
|
308
|
+
readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
309
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
964
310
|
}>;
|
|
965
|
-
AsyncFunction: StructType<{
|
|
966
|
-
inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
967
|
-
output: import("@elaraai/east").RecursiveTypeMarker;
|
|
311
|
+
readonly AsyncFunction: StructType<{
|
|
312
|
+
readonly inputs: import("@elaraai/east").ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
313
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
968
314
|
}>;
|
|
315
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
316
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
969
317
|
}>>;
|
|
970
|
-
struct: import("@elaraai/east").DictType<StringType, import("@elaraai/east").RecursiveTypeMarker>;
|
|
318
|
+
readonly struct: import("@elaraai/east").DictType<StringType, import("@elaraai/east").RecursiveTypeMarker>;
|
|
971
319
|
}>>;
|
|
972
|
-
value: StringType;
|
|
320
|
+
readonly value: StringType;
|
|
973
321
|
}>;
|
|
974
322
|
}>>;
|
|
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;
|
|
323
|
+
readonly packageImport: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, BlobType, StringType], StructType<{
|
|
324
|
+
readonly name: StringType;
|
|
325
|
+
readonly version: StringType;
|
|
326
|
+
readonly packageHash: StringType;
|
|
327
|
+
readonly objectCount: IntegerType;
|
|
987
328
|
}>>;
|
|
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>;
|
|
329
|
+
readonly packageExport: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], BlobType>;
|
|
330
|
+
readonly packageRemove: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], NullType>;
|
|
331
|
+
readonly workspaceList: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], ArrayType<StructType<{
|
|
332
|
+
readonly name: StringType;
|
|
333
|
+
readonly deployed: import("@elaraai/east").BooleanType;
|
|
334
|
+
readonly packageName: import("@elaraai/east").OptionType<StringType>;
|
|
335
|
+
readonly packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
1017
336
|
}>>>;
|
|
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>;
|
|
337
|
+
readonly workspaceCreate: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
338
|
+
readonly name: StringType;
|
|
339
|
+
readonly deployed: import("@elaraai/east").BooleanType;
|
|
340
|
+
readonly packageName: import("@elaraai/east").OptionType<StringType>;
|
|
341
|
+
readonly packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
1030
342
|
}>>;
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
packageName: StringType;
|
|
1040
|
-
packageVersion: StringType;
|
|
1041
|
-
packageHash: StringType;
|
|
1042
|
-
deployedAt: import("@elaraai/east").DateTimeType;
|
|
1043
|
-
rootHash: StringType;
|
|
1044
|
-
rootUpdatedAt: import("@elaraai/east").DateTimeType;
|
|
343
|
+
readonly workspaceGet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
344
|
+
readonly packageName: StringType;
|
|
345
|
+
readonly packageVersion: StringType;
|
|
346
|
+
readonly packageHash: StringType;
|
|
347
|
+
readonly deployedAt: import("@elaraai/east").DateTimeType;
|
|
348
|
+
readonly rootHash: StringType;
|
|
349
|
+
readonly rootUpdatedAt: import("@elaraai/east").DateTimeType;
|
|
350
|
+
readonly currentRunId: import("@elaraai/east").OptionType<StringType>;
|
|
1045
351
|
}>>;
|
|
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>;
|
|
352
|
+
readonly workspaceStatus: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
353
|
+
readonly workspace: StringType;
|
|
354
|
+
readonly lock: import("@elaraai/east").OptionType<StructType<{
|
|
355
|
+
readonly pid: IntegerType;
|
|
356
|
+
readonly acquiredAt: StringType;
|
|
357
|
+
readonly bootId: import("@elaraai/east").OptionType<StringType>;
|
|
358
|
+
readonly command: import("@elaraai/east").OptionType<StringType>;
|
|
1060
359
|
}>>;
|
|
1061
|
-
datasets: ArrayType<StructType<{
|
|
1062
|
-
path: StringType;
|
|
1063
|
-
status: import("@elaraai/east").VariantType<{
|
|
1064
|
-
unset: NullType;
|
|
1065
|
-
stale: NullType;
|
|
1066
|
-
'up-to-date': NullType;
|
|
360
|
+
readonly datasets: ArrayType<StructType<{
|
|
361
|
+
readonly path: StringType;
|
|
362
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
363
|
+
readonly unset: NullType;
|
|
364
|
+
readonly stale: NullType;
|
|
365
|
+
readonly 'up-to-date': NullType;
|
|
1067
366
|
}>;
|
|
1068
|
-
hash: import("@elaraai/east").OptionType<StringType>;
|
|
1069
|
-
isTaskOutput: import("@elaraai/east").BooleanType;
|
|
1070
|
-
producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
367
|
+
readonly hash: import("@elaraai/east").OptionType<StringType>;
|
|
368
|
+
readonly isTaskOutput: import("@elaraai/east").BooleanType;
|
|
369
|
+
readonly producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
1071
370
|
}>>;
|
|
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;
|
|
371
|
+
readonly tasks: ArrayType<StructType<{
|
|
372
|
+
readonly name: StringType;
|
|
373
|
+
readonly hash: StringType;
|
|
374
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
375
|
+
readonly 'up-to-date': StructType<{
|
|
376
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
1078
377
|
}>;
|
|
1079
|
-
ready: NullType;
|
|
1080
|
-
waiting: StructType<{
|
|
1081
|
-
reason: StringType;
|
|
378
|
+
readonly ready: NullType;
|
|
379
|
+
readonly waiting: StructType<{
|
|
380
|
+
readonly reason: StringType;
|
|
1082
381
|
}>;
|
|
1083
|
-
'in-progress': StructType<{
|
|
1084
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
1085
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
382
|
+
readonly 'in-progress': StructType<{
|
|
383
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
384
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1086
385
|
}>;
|
|
1087
|
-
failed: StructType<{
|
|
1088
|
-
exitCode: IntegerType;
|
|
1089
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
386
|
+
readonly failed: StructType<{
|
|
387
|
+
readonly exitCode: IntegerType;
|
|
388
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1090
389
|
}>;
|
|
1091
|
-
error: StructType<{
|
|
1092
|
-
message: StringType;
|
|
1093
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
390
|
+
readonly error: StructType<{
|
|
391
|
+
readonly message: StringType;
|
|
392
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1094
393
|
}>;
|
|
1095
|
-
'stale-running': StructType<{
|
|
1096
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
1097
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
394
|
+
readonly 'stale-running': StructType<{
|
|
395
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
396
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1098
397
|
}>;
|
|
1099
398
|
}>;
|
|
1100
|
-
inputs: ArrayType<StringType>;
|
|
1101
|
-
output: StringType;
|
|
1102
|
-
dependsOn: ArrayType<StringType>;
|
|
399
|
+
readonly inputs: ArrayType<StringType>;
|
|
400
|
+
readonly output: StringType;
|
|
401
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
1103
402
|
}>>;
|
|
1104
|
-
summary: StructType<{
|
|
1105
|
-
datasets: StructType<{
|
|
1106
|
-
total: IntegerType;
|
|
1107
|
-
unset: IntegerType;
|
|
1108
|
-
stale: IntegerType;
|
|
1109
|
-
upToDate: IntegerType;
|
|
403
|
+
readonly summary: StructType<{
|
|
404
|
+
readonly datasets: StructType<{
|
|
405
|
+
readonly total: IntegerType;
|
|
406
|
+
readonly unset: IntegerType;
|
|
407
|
+
readonly stale: IntegerType;
|
|
408
|
+
readonly upToDate: IntegerType;
|
|
1110
409
|
}>;
|
|
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;
|
|
410
|
+
readonly tasks: StructType<{
|
|
411
|
+
readonly total: IntegerType;
|
|
412
|
+
readonly upToDate: IntegerType;
|
|
413
|
+
readonly ready: IntegerType;
|
|
414
|
+
readonly waiting: IntegerType;
|
|
415
|
+
readonly inProgress: IntegerType;
|
|
416
|
+
readonly failed: IntegerType;
|
|
417
|
+
readonly error: IntegerType;
|
|
418
|
+
readonly staleRunning: IntegerType;
|
|
1120
419
|
}>;
|
|
1121
420
|
}>;
|
|
1122
421
|
}>>;
|
|
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;
|
|
422
|
+
readonly workspaceRemove: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], NullType>;
|
|
423
|
+
readonly workspaceDeploy: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], NullType>;
|
|
424
|
+
readonly workspaceExport: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], BlobType>;
|
|
425
|
+
readonly datasetList: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], ArrayType<StringType>>;
|
|
426
|
+
readonly datasetListAt: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
427
|
+
readonly field: StringType;
|
|
428
|
+
}>>, StringType], ArrayType<StringType>>;
|
|
429
|
+
readonly datasetGet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
430
|
+
readonly field: StringType;
|
|
431
|
+
}>>, StringType], BlobType>;
|
|
432
|
+
readonly datasetSet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, ArrayType<import("@elaraai/east").VariantType<{
|
|
433
|
+
readonly field: StringType;
|
|
434
|
+
}>>, BlobType, StringType], NullType>;
|
|
435
|
+
readonly taskList: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], ArrayType<StructType<{
|
|
436
|
+
readonly name: StringType;
|
|
437
|
+
readonly hash: StringType;
|
|
1200
438
|
}>>>;
|
|
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;
|
|
439
|
+
readonly taskGet: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StringType], StructType<{
|
|
440
|
+
readonly name: StringType;
|
|
441
|
+
readonly hash: StringType;
|
|
442
|
+
readonly commandIr: StringType;
|
|
443
|
+
readonly inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
444
|
+
readonly field: StringType;
|
|
1215
445
|
}>>>;
|
|
1216
|
-
output: ArrayType<import("@elaraai/east").VariantType<{
|
|
1217
|
-
field: StringType;
|
|
446
|
+
readonly output: ArrayType<import("@elaraai/east").VariantType<{
|
|
447
|
+
readonly field: StringType;
|
|
1218
448
|
}>>;
|
|
1219
449
|
}>>;
|
|
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;
|
|
450
|
+
readonly dataflowStart: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
451
|
+
readonly concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
452
|
+
readonly force: import("@elaraai/east").BooleanType;
|
|
453
|
+
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
454
|
+
}>, StringType], NullType>;
|
|
455
|
+
readonly dataflowExecute: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
456
|
+
readonly concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
457
|
+
readonly force: import("@elaraai/east").BooleanType;
|
|
458
|
+
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
459
|
+
}>, StringType], StructType<{
|
|
460
|
+
readonly success: import("@elaraai/east").BooleanType;
|
|
461
|
+
readonly executed: IntegerType;
|
|
462
|
+
readonly cached: IntegerType;
|
|
463
|
+
readonly failed: IntegerType;
|
|
464
|
+
readonly skipped: IntegerType;
|
|
465
|
+
readonly tasks: ArrayType<StructType<{
|
|
466
|
+
readonly name: StringType;
|
|
467
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
468
|
+
readonly state: import("@elaraai/east").VariantType<{
|
|
469
|
+
readonly success: NullType;
|
|
470
|
+
readonly failed: StructType<{
|
|
471
|
+
readonly exitCode: IntegerType;
|
|
1258
472
|
}>;
|
|
1259
|
-
error: StructType<{
|
|
1260
|
-
message: StringType;
|
|
473
|
+
readonly error: StructType<{
|
|
474
|
+
readonly message: StringType;
|
|
1261
475
|
}>;
|
|
1262
|
-
skipped: NullType;
|
|
476
|
+
readonly skipped: NullType;
|
|
1263
477
|
}>;
|
|
1264
|
-
duration: import("@elaraai/east").FloatType;
|
|
478
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
1265
479
|
}>>;
|
|
1266
|
-
duration: import("@elaraai/east").FloatType;
|
|
480
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
1267
481
|
}>>;
|
|
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>;
|
|
482
|
+
readonly dataflowGraph: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType], StructType<{
|
|
483
|
+
readonly tasks: ArrayType<StructType<{
|
|
484
|
+
readonly name: StringType;
|
|
485
|
+
readonly hash: StringType;
|
|
486
|
+
readonly inputs: ArrayType<StringType>;
|
|
487
|
+
readonly output: StringType;
|
|
488
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
1282
489
|
}>>;
|
|
1283
490
|
}>>;
|
|
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;
|
|
491
|
+
readonly taskLogs: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StructType<{
|
|
492
|
+
readonly stream: StringType;
|
|
493
|
+
readonly offset: IntegerType;
|
|
494
|
+
readonly limit: IntegerType;
|
|
495
|
+
}>, StringType], StructType<{
|
|
496
|
+
readonly data: StringType;
|
|
497
|
+
readonly offset: IntegerType;
|
|
498
|
+
readonly size: IntegerType;
|
|
499
|
+
readonly totalSize: IntegerType;
|
|
500
|
+
readonly complete: import("@elaraai/east").BooleanType;
|
|
1303
501
|
}>>;
|
|
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
502
|
readonly Implementation: PlatformFunction[];
|
|
1310
|
-
/**
|
|
1311
|
-
* Type definitions for platform operations.
|
|
1312
|
-
*/
|
|
1313
503
|
readonly Types: {
|
|
1314
504
|
readonly RepositoryStatus: StructType<{
|
|
1315
|
-
path: StringType;
|
|
1316
|
-
objectCount: IntegerType;
|
|
1317
|
-
packageCount: IntegerType;
|
|
1318
|
-
workspaceCount: IntegerType;
|
|
505
|
+
readonly path: StringType;
|
|
506
|
+
readonly objectCount: IntegerType;
|
|
507
|
+
readonly packageCount: IntegerType;
|
|
508
|
+
readonly workspaceCount: IntegerType;
|
|
1319
509
|
}>;
|
|
1320
510
|
readonly GcRequest: StructType<{
|
|
1321
|
-
dryRun: import("@elaraai/east").BooleanType;
|
|
1322
|
-
minAge: import("@elaraai/east").OptionType<IntegerType>;
|
|
511
|
+
readonly dryRun: import("@elaraai/east").BooleanType;
|
|
512
|
+
readonly minAge: import("@elaraai/east").OptionType<IntegerType>;
|
|
1323
513
|
}>;
|
|
1324
514
|
readonly GcResult: StructType<{
|
|
1325
|
-
deletedObjects: IntegerType;
|
|
1326
|
-
deletedPartials: IntegerType;
|
|
1327
|
-
retainedObjects: IntegerType;
|
|
1328
|
-
skippedYoung: IntegerType;
|
|
1329
|
-
bytesFreed: IntegerType;
|
|
515
|
+
readonly deletedObjects: IntegerType;
|
|
516
|
+
readonly deletedPartials: IntegerType;
|
|
517
|
+
readonly retainedObjects: IntegerType;
|
|
518
|
+
readonly skippedYoung: IntegerType;
|
|
519
|
+
readonly bytesFreed: IntegerType;
|
|
1330
520
|
}>;
|
|
1331
521
|
readonly PackageListItem: StructType<{
|
|
1332
|
-
name: StringType;
|
|
1333
|
-
version: StringType;
|
|
522
|
+
readonly name: StringType;
|
|
523
|
+
readonly version: StringType;
|
|
1334
524
|
}>;
|
|
1335
525
|
readonly PackageImportResult: StructType<{
|
|
1336
|
-
name: StringType;
|
|
1337
|
-
version: StringType;
|
|
1338
|
-
packageHash: StringType;
|
|
1339
|
-
objectCount: IntegerType;
|
|
526
|
+
readonly name: StringType;
|
|
527
|
+
readonly version: StringType;
|
|
528
|
+
readonly packageHash: StringType;
|
|
529
|
+
readonly objectCount: IntegerType;
|
|
1340
530
|
}>;
|
|
1341
531
|
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>;
|
|
532
|
+
readonly name: StringType;
|
|
533
|
+
readonly deployed: import("@elaraai/east").BooleanType;
|
|
534
|
+
readonly packageName: import("@elaraai/east").OptionType<StringType>;
|
|
535
|
+
readonly packageVersion: import("@elaraai/east").OptionType<StringType>;
|
|
1346
536
|
}>;
|
|
1347
537
|
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>;
|
|
538
|
+
readonly workspace: StringType;
|
|
539
|
+
readonly lock: import("@elaraai/east").OptionType<StructType<{
|
|
540
|
+
readonly pid: IntegerType;
|
|
541
|
+
readonly acquiredAt: StringType;
|
|
542
|
+
readonly bootId: import("@elaraai/east").OptionType<StringType>;
|
|
543
|
+
readonly command: import("@elaraai/east").OptionType<StringType>;
|
|
1354
544
|
}>>;
|
|
1355
|
-
datasets: ArrayType<StructType<{
|
|
1356
|
-
path: StringType;
|
|
1357
|
-
status: import("@elaraai/east").VariantType<{
|
|
1358
|
-
unset: NullType;
|
|
1359
|
-
stale: NullType;
|
|
1360
|
-
'up-to-date': NullType;
|
|
545
|
+
readonly datasets: ArrayType<StructType<{
|
|
546
|
+
readonly path: StringType;
|
|
547
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
548
|
+
readonly unset: NullType;
|
|
549
|
+
readonly stale: NullType;
|
|
550
|
+
readonly 'up-to-date': NullType;
|
|
1361
551
|
}>;
|
|
1362
|
-
hash: import("@elaraai/east").OptionType<StringType>;
|
|
1363
|
-
isTaskOutput: import("@elaraai/east").BooleanType;
|
|
1364
|
-
producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
552
|
+
readonly hash: import("@elaraai/east").OptionType<StringType>;
|
|
553
|
+
readonly isTaskOutput: import("@elaraai/east").BooleanType;
|
|
554
|
+
readonly producedBy: import("@elaraai/east").OptionType<StringType>;
|
|
1365
555
|
}>>;
|
|
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;
|
|
556
|
+
readonly tasks: ArrayType<StructType<{
|
|
557
|
+
readonly name: StringType;
|
|
558
|
+
readonly hash: StringType;
|
|
559
|
+
readonly status: import("@elaraai/east").VariantType<{
|
|
560
|
+
readonly 'up-to-date': StructType<{
|
|
561
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
1372
562
|
}>;
|
|
1373
|
-
ready: NullType;
|
|
1374
|
-
waiting: StructType<{
|
|
1375
|
-
reason: StringType;
|
|
563
|
+
readonly ready: NullType;
|
|
564
|
+
readonly waiting: StructType<{
|
|
565
|
+
readonly reason: StringType;
|
|
1376
566
|
}>;
|
|
1377
|
-
'in-progress': StructType<{
|
|
1378
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
1379
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
567
|
+
readonly 'in-progress': StructType<{
|
|
568
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
569
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1380
570
|
}>;
|
|
1381
|
-
failed: StructType<{
|
|
1382
|
-
exitCode: IntegerType;
|
|
1383
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
571
|
+
readonly failed: StructType<{
|
|
572
|
+
readonly exitCode: IntegerType;
|
|
573
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1384
574
|
}>;
|
|
1385
|
-
error: StructType<{
|
|
1386
|
-
message: StringType;
|
|
1387
|
-
completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
575
|
+
readonly error: StructType<{
|
|
576
|
+
readonly message: StringType;
|
|
577
|
+
readonly completedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1388
578
|
}>;
|
|
1389
|
-
'stale-running': StructType<{
|
|
1390
|
-
pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
1391
|
-
startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
579
|
+
readonly 'stale-running': StructType<{
|
|
580
|
+
readonly pid: import("@elaraai/east").OptionType<IntegerType>;
|
|
581
|
+
readonly startedAt: import("@elaraai/east").OptionType<StringType>;
|
|
1392
582
|
}>;
|
|
1393
583
|
}>;
|
|
1394
|
-
inputs: ArrayType<StringType>;
|
|
1395
|
-
output: StringType;
|
|
1396
|
-
dependsOn: ArrayType<StringType>;
|
|
584
|
+
readonly inputs: ArrayType<StringType>;
|
|
585
|
+
readonly output: StringType;
|
|
586
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
1397
587
|
}>>;
|
|
1398
|
-
summary: StructType<{
|
|
1399
|
-
datasets: StructType<{
|
|
1400
|
-
total: IntegerType;
|
|
1401
|
-
unset: IntegerType;
|
|
1402
|
-
stale: IntegerType;
|
|
1403
|
-
upToDate: IntegerType;
|
|
588
|
+
readonly summary: StructType<{
|
|
589
|
+
readonly datasets: StructType<{
|
|
590
|
+
readonly total: IntegerType;
|
|
591
|
+
readonly unset: IntegerType;
|
|
592
|
+
readonly stale: IntegerType;
|
|
593
|
+
readonly upToDate: IntegerType;
|
|
1404
594
|
}>;
|
|
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;
|
|
595
|
+
readonly tasks: StructType<{
|
|
596
|
+
readonly total: IntegerType;
|
|
597
|
+
readonly upToDate: IntegerType;
|
|
598
|
+
readonly ready: IntegerType;
|
|
599
|
+
readonly waiting: IntegerType;
|
|
600
|
+
readonly inProgress: IntegerType;
|
|
601
|
+
readonly failed: IntegerType;
|
|
602
|
+
readonly error: IntegerType;
|
|
603
|
+
readonly staleRunning: IntegerType;
|
|
1414
604
|
}>;
|
|
1415
605
|
}>;
|
|
1416
606
|
}>;
|
|
1417
607
|
readonly TaskListItem: StructType<{
|
|
1418
|
-
name: StringType;
|
|
1419
|
-
hash: StringType;
|
|
608
|
+
readonly name: StringType;
|
|
609
|
+
readonly hash: StringType;
|
|
1420
610
|
}>;
|
|
1421
611
|
readonly TaskDetails: StructType<{
|
|
1422
|
-
name: StringType;
|
|
1423
|
-
hash: StringType;
|
|
1424
|
-
commandIr: StringType;
|
|
1425
|
-
inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
1426
|
-
field: StringType;
|
|
612
|
+
readonly name: StringType;
|
|
613
|
+
readonly hash: StringType;
|
|
614
|
+
readonly commandIr: StringType;
|
|
615
|
+
readonly inputs: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
616
|
+
readonly field: StringType;
|
|
1427
617
|
}>>>;
|
|
1428
|
-
output: ArrayType<import("@elaraai/east").VariantType<{
|
|
1429
|
-
field: StringType;
|
|
618
|
+
readonly output: ArrayType<import("@elaraai/east").VariantType<{
|
|
619
|
+
readonly field: StringType;
|
|
1430
620
|
}>>;
|
|
1431
621
|
}>;
|
|
1432
622
|
readonly DataflowRequest: StructType<{
|
|
1433
|
-
concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
1434
|
-
force: import("@elaraai/east").BooleanType;
|
|
1435
|
-
filter: import("@elaraai/east").OptionType<StringType>;
|
|
623
|
+
readonly concurrency: import("@elaraai/east").OptionType<IntegerType>;
|
|
624
|
+
readonly force: import("@elaraai/east").BooleanType;
|
|
625
|
+
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
1436
626
|
}>;
|
|
1437
627
|
readonly DataflowGraph: StructType<{
|
|
1438
|
-
tasks: ArrayType<StructType<{
|
|
1439
|
-
name: StringType;
|
|
1440
|
-
hash: StringType;
|
|
1441
|
-
inputs: ArrayType<StringType>;
|
|
1442
|
-
output: StringType;
|
|
1443
|
-
dependsOn: ArrayType<StringType>;
|
|
628
|
+
readonly tasks: ArrayType<StructType<{
|
|
629
|
+
readonly name: StringType;
|
|
630
|
+
readonly hash: StringType;
|
|
631
|
+
readonly inputs: ArrayType<StringType>;
|
|
632
|
+
readonly output: StringType;
|
|
633
|
+
readonly dependsOn: ArrayType<StringType>;
|
|
1444
634
|
}>>;
|
|
1445
635
|
}>;
|
|
1446
636
|
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;
|
|
637
|
+
readonly success: import("@elaraai/east").BooleanType;
|
|
638
|
+
readonly executed: IntegerType;
|
|
639
|
+
readonly cached: IntegerType;
|
|
640
|
+
readonly failed: IntegerType;
|
|
641
|
+
readonly skipped: IntegerType;
|
|
642
|
+
readonly tasks: ArrayType<StructType<{
|
|
643
|
+
readonly name: StringType;
|
|
644
|
+
readonly cached: import("@elaraai/east").BooleanType;
|
|
645
|
+
readonly state: import("@elaraai/east").VariantType<{
|
|
646
|
+
readonly success: NullType;
|
|
647
|
+
readonly failed: StructType<{
|
|
648
|
+
readonly exitCode: IntegerType;
|
|
1459
649
|
}>;
|
|
1460
|
-
error: StructType<{
|
|
1461
|
-
message: StringType;
|
|
650
|
+
readonly error: StructType<{
|
|
651
|
+
readonly message: StringType;
|
|
1462
652
|
}>;
|
|
1463
|
-
skipped: NullType;
|
|
653
|
+
readonly skipped: NullType;
|
|
1464
654
|
}>;
|
|
1465
|
-
duration: import("@elaraai/east").FloatType;
|
|
655
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
1466
656
|
}>>;
|
|
1467
|
-
duration: import("@elaraai/east").FloatType;
|
|
657
|
+
readonly duration: import("@elaraai/east").FloatType;
|
|
1468
658
|
}>;
|
|
1469
659
|
readonly LogChunk: StructType<{
|
|
1470
|
-
data: StringType;
|
|
1471
|
-
offset: IntegerType;
|
|
1472
|
-
size: IntegerType;
|
|
1473
|
-
totalSize: IntegerType;
|
|
1474
|
-
complete: import("@elaraai/east").BooleanType;
|
|
660
|
+
readonly data: StringType;
|
|
661
|
+
readonly offset: IntegerType;
|
|
662
|
+
readonly size: IntegerType;
|
|
663
|
+
readonly totalSize: IntegerType;
|
|
664
|
+
readonly complete: import("@elaraai/east").BooleanType;
|
|
1475
665
|
}>;
|
|
1476
666
|
readonly LogOptions: StructType<{
|
|
1477
|
-
stream: StringType;
|
|
1478
|
-
offset: IntegerType;
|
|
1479
|
-
limit: IntegerType;
|
|
667
|
+
readonly stream: StringType;
|
|
668
|
+
readonly offset: IntegerType;
|
|
669
|
+
readonly limit: IntegerType;
|
|
1480
670
|
}>;
|
|
1481
671
|
};
|
|
1482
672
|
};
|