@elaraai/e3-api-client 1.0.83 → 1.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -3
- package/dist/src/datasets-transfer.spec.js +40 -5
- package/dist/src/datasets-transfer.spec.js.map +1 -1
- package/dist/src/datasets.d.ts +83 -1
- package/dist/src/datasets.d.ts.map +1 -1
- package/dist/src/datasets.js +213 -37
- package/dist/src/datasets.js.map +1 -1
- package/dist/src/datasets.spec.js +273 -13
- package/dist/src/datasets.spec.js.map +1 -1
- package/dist/src/executions.d.ts +50 -15
- package/dist/src/executions.d.ts.map +1 -1
- package/dist/src/executions.js +57 -16
- package/dist/src/executions.js.map +1 -1
- package/dist/src/executions.spec.d.ts +6 -0
- package/dist/src/executions.spec.d.ts.map +1 -0
- package/dist/src/executions.spec.js +81 -0
- package/dist/src/executions.spec.js.map +1 -0
- package/dist/src/functions.d.ts +39 -8
- package/dist/src/functions.d.ts.map +1 -1
- package/dist/src/functions.js +39 -8
- package/dist/src/functions.js.map +1 -1
- package/dist/src/http.d.ts +65 -7
- package/dist/src/http.d.ts.map +1 -1
- package/dist/src/http.js +54 -14
- package/dist/src/http.js.map +1 -1
- package/dist/src/http.spec.js +106 -5
- package/dist/src/http.spec.js.map +1 -1
- package/dist/src/index.d.ts +7 -7
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +5 -5
- package/dist/src/index.js.map +1 -1
- package/dist/src/packages.d.ts.map +1 -1
- package/dist/src/packages.js +3 -3
- package/dist/src/packages.js.map +1 -1
- package/dist/src/packages.spec.d.ts +6 -0
- package/dist/src/packages.spec.d.ts.map +1 -0
- package/dist/src/packages.spec.js +118 -0
- package/dist/src/packages.spec.js.map +1 -0
- package/dist/src/platform.d.ts +211 -9
- package/dist/src/platform.d.ts.map +1 -1
- package/dist/src/platform.js +335 -315
- package/dist/src/platform.js.map +1 -1
- package/dist/src/platform.spec.d.ts +6 -0
- package/dist/src/platform.spec.d.ts.map +1 -0
- package/dist/src/platform.spec.js +85 -0
- package/dist/src/platform.spec.js.map +1 -0
- package/dist/src/records.spec.js +15 -5
- package/dist/src/records.spec.js.map +1 -1
- package/dist/src/repository.d.ts +8 -1
- package/dist/src/repository.d.ts.map +1 -1
- package/dist/src/repository.js +8 -1
- package/dist/src/repository.js.map +1 -1
- package/dist/src/tasks.d.ts +11 -7
- package/dist/src/tasks.d.ts.map +1 -1
- package/dist/src/tasks.js +16 -8
- package/dist/src/tasks.js.map +1 -1
- package/dist/src/types.d.ts +135 -5
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +7 -5
- package/dist/src/types.js.map +1 -1
- package/dist/src/workspaces.d.ts +16 -2
- package/dist/src/workspaces.d.ts.map +1 -1
- package/dist/src/workspaces.js +11 -4
- package/dist/src/workspaces.js.map +1 -1
- package/package.json +4 -4
package/dist/src/packages.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packages.js","sourceRoot":"","sources":["../../src/packages.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAsB,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EACL,8BAA8B,EAC9B,+BAA+B,EAC/B,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,GAMxB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,aAAa,EAAE,iBAAiB,EAAE,QAAQ,EAAsC,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"packages.js","sourceRoot":"","sources":["../../src/packages.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QAEZ,IAAI,CAAC,GAAG,CAAC,EAAE;YAAE,MAAM,IAAI,KAAK,CAAC,uBAAuB,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;QAEpF,MAAM,MAAM,GAAG,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC;QACvD,MAAM,MAAM,GAAG,eAAe,CAAC,YAAY,CAAC,uBAAuB,CAAC,CAAC,CAAC;QACtE,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAkC,CAAC;QAC/D,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO;YAAE,MAAM,IAAI,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAEvF,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,YAAY,EAAE,CAAC;YACvC,UAAU,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACjC,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;YACxD,SAAS;QACX,CAAC;QAED,OAAO,MAAM,CAAC,KAAK,CAAC;IACtB,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packages.spec.d.ts","sourceRoot":"","sources":["../../src/packages.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Licensed under BSL 1.1. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Tests for the client half of the package transfer protocol, through a given
|
|
7
|
+
* `fetch`.
|
|
8
|
+
*
|
|
9
|
+
* `packageImport` uploads the zip to the URL the server names, and
|
|
10
|
+
* `packageExport` and `workspaceExport` download it from the URL their job
|
|
11
|
+
* answers with. A host that answers e3's API itself gives the `fetch` these
|
|
12
|
+
* requests go through: these tests stand a fake server in for it, refuse the
|
|
13
|
+
* global `fetch`, and pin that every request of each flow reaches the given
|
|
14
|
+
* one — the upload and the download among them, which carry no credentials,
|
|
15
|
+
* since their URLs may be presigned.
|
|
16
|
+
*/
|
|
17
|
+
import { describe, it, afterEach } from 'node:test';
|
|
18
|
+
import assert from 'node:assert/strict';
|
|
19
|
+
import { encodeBeast2For, variant } from '@elaraai/east';
|
|
20
|
+
import { BEAST2_CONTENT_TYPE, PackageExportStatusType, PackageImportStatusType, PackageJobResponseType, PackageTransferInitResponseType, ResponseType, } from '@elaraai/e3-types';
|
|
21
|
+
import { packageExport, packageImport } from './packages.js';
|
|
22
|
+
import { workspaceExport } from './workspaces.js';
|
|
23
|
+
const realFetch = globalThis.fetch;
|
|
24
|
+
afterEach(() => {
|
|
25
|
+
globalThis.fetch = realFetch;
|
|
26
|
+
});
|
|
27
|
+
const BASE = 'https://e3.test';
|
|
28
|
+
const TRANSFER = '0f0e0d0c-0b0a-4908-8706-050403020100';
|
|
29
|
+
const JOB = '00010203-0405-4607-8809-0a0b0c0d0e0f';
|
|
30
|
+
/**
|
|
31
|
+
* A fake server as the `fetch` a host gives, recording every request it
|
|
32
|
+
* answers, while the global `fetch` refuses every request.
|
|
33
|
+
*/
|
|
34
|
+
function givenServer(answer) {
|
|
35
|
+
globalThis.fetch = (async (input) => {
|
|
36
|
+
throw new Error(`the global fetch was called for ${String(input)}`);
|
|
37
|
+
});
|
|
38
|
+
const calls = [];
|
|
39
|
+
const fetch = (async (input, init) => {
|
|
40
|
+
const url = new URL(String(input));
|
|
41
|
+
const method = init?.method ?? 'GET';
|
|
42
|
+
const body = init?.body ? new Uint8Array(await new Response(init.body).arrayBuffer()) : null;
|
|
43
|
+
calls.push({ method, url: url.href, auth: new Headers(init?.headers).get('authorization'), body });
|
|
44
|
+
return answer(method, url);
|
|
45
|
+
});
|
|
46
|
+
return { calls, fetch };
|
|
47
|
+
}
|
|
48
|
+
/** A BEAST2 success envelope, as the server sends one. */
|
|
49
|
+
function success(type, value) {
|
|
50
|
+
const body = encodeBeast2For(ResponseType(type))(variant('success', value));
|
|
51
|
+
return new Response(body, { status: 200, headers: { 'Content-Type': BEAST2_CONTENT_TYPE } });
|
|
52
|
+
}
|
|
53
|
+
/** A package zip's bytes, as far as a transfer is concerned. */
|
|
54
|
+
const archive = Uint8Array.from({ length: 64 }, (_, i) => i);
|
|
55
|
+
/** An export job's poll and its download, answered as a server answers them. */
|
|
56
|
+
function exportJob(method, url) {
|
|
57
|
+
if (method === 'GET' && url.pathname === `/api/repos/r/export/${JOB}`) {
|
|
58
|
+
return success(PackageExportStatusType, variant('completed', { downloadUrl: `https://store.test/export/${JOB}`, size: BigInt(archive.length) }));
|
|
59
|
+
}
|
|
60
|
+
if (method === 'GET' && url.href === `https://store.test/export/${JOB}`)
|
|
61
|
+
return new Response(archive, { status: 200 });
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
describe('package transfer through a given fetch', () => {
|
|
65
|
+
it('uploads a package to the URL the server names, and polls its import', async () => {
|
|
66
|
+
const imported = {
|
|
67
|
+
name: 'pkg', version: '1.0.0', packageHash: 'a'.repeat(64), objectCount: 3n,
|
|
68
|
+
};
|
|
69
|
+
const server = givenServer((method, url) => {
|
|
70
|
+
if (method === 'POST' && url.pathname === '/api/repos/r/import') {
|
|
71
|
+
return success(PackageTransferInitResponseType, { id: TRANSFER, uploadUrl: `https://store.test/upload/${TRANSFER}` });
|
|
72
|
+
}
|
|
73
|
+
if (method === 'PUT' && url.host === 'store.test')
|
|
74
|
+
return new Response(null, { status: 200 });
|
|
75
|
+
if (method === 'POST' && url.pathname === `/api/repos/r/import/${TRANSFER}`)
|
|
76
|
+
return success(PackageJobResponseType, { id: JOB });
|
|
77
|
+
if (method === 'GET' && url.pathname === `/api/repos/r/import/${JOB}`) {
|
|
78
|
+
return success(PackageImportStatusType, variant('completed', imported));
|
|
79
|
+
}
|
|
80
|
+
return new Response(`unexpected ${method} ${url.href}`, { status: 500 });
|
|
81
|
+
});
|
|
82
|
+
assert.deepEqual(await packageImport(BASE, 'r', archive, { token: 'tok', fetch: server.fetch }), imported);
|
|
83
|
+
assert.deepEqual(server.calls.map(({ method, url, auth }) => [method, url, auth]), [
|
|
84
|
+
['POST', `${BASE}/api/repos/r/import`, 'Bearer tok'],
|
|
85
|
+
['PUT', `https://store.test/upload/${TRANSFER}`, null],
|
|
86
|
+
['POST', `${BASE}/api/repos/r/import/${TRANSFER}`, 'Bearer tok'],
|
|
87
|
+
['GET', `${BASE}/api/repos/r/import/${JOB}`, 'Bearer tok'],
|
|
88
|
+
]);
|
|
89
|
+
assert.deepEqual(server.calls[1].body, archive, 'the upload is the zip');
|
|
90
|
+
});
|
|
91
|
+
it('downloads a package\'s export from the URL its job names', async () => {
|
|
92
|
+
const server = givenServer((method, url) => {
|
|
93
|
+
if (method === 'POST' && url.pathname === '/api/repos/r/packages/pkg/1.0.0/export')
|
|
94
|
+
return success(PackageJobResponseType, { id: JOB });
|
|
95
|
+
return exportJob(method, url) ?? new Response(`unexpected ${method} ${url.href}`, { status: 500 });
|
|
96
|
+
});
|
|
97
|
+
assert.deepEqual(await packageExport(BASE, 'r', 'pkg', '1.0.0', { token: 'tok', fetch: server.fetch }), archive);
|
|
98
|
+
assert.deepEqual(server.calls.map(({ method, url, auth }) => [method, url, auth]), [
|
|
99
|
+
['POST', `${BASE}/api/repos/r/packages/pkg/1.0.0/export`, 'Bearer tok'],
|
|
100
|
+
['GET', `${BASE}/api/repos/r/export/${JOB}`, 'Bearer tok'],
|
|
101
|
+
['GET', `https://store.test/export/${JOB}`, null],
|
|
102
|
+
]);
|
|
103
|
+
});
|
|
104
|
+
it('downloads a workspace\'s export from the URL its job names', async () => {
|
|
105
|
+
const server = givenServer((method, url) => {
|
|
106
|
+
if (method === 'POST' && url.pathname === '/api/repos/r/workspaces/ws/export')
|
|
107
|
+
return success(PackageJobResponseType, { id: JOB });
|
|
108
|
+
return exportJob(method, url) ?? new Response(`unexpected ${method} ${url.href}`, { status: 500 });
|
|
109
|
+
});
|
|
110
|
+
assert.deepEqual(await workspaceExport(BASE, 'r', 'ws', { token: 'tok', fetch: server.fetch }), archive);
|
|
111
|
+
assert.deepEqual(server.calls.map(({ method, url, auth }) => [method, url, auth]), [
|
|
112
|
+
['POST', `${BASE}/api/repos/r/workspaces/ws/export`, 'Bearer tok'],
|
|
113
|
+
['GET', `${BASE}/api/repos/r/export/${JOB}`, 'Bearer tok'],
|
|
114
|
+
['GET', `https://store.test/export/${JOB}`, null],
|
|
115
|
+
]);
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
//# sourceMappingURL=packages.spec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"packages.spec.js","sourceRoot":"","sources":["../../src/packages.spec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,OAAO,EAAmC,MAAM,eAAe,CAAC;AAC1F,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EAEvB,uBAAuB,EACvB,sBAAsB,EACtB,+BAA+B,EAC/B,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,MAAM,SAAS,GAAG,UAAU,CAAC,KAAK,CAAC;AACnC,SAAS,CAAC,GAAG,EAAE;IACb,UAAU,CAAC,KAAK,GAAG,SAAS,CAAC;AAC/B,CAAC,CAAC,CAAC;AAEH,MAAM,IAAI,GAAG,iBAAiB,CAAC;A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YAAY,CAAC;YAC1D,CAAC,KAAK,EAAE,6BAA6B,GAAG,EAAE,EAAE,IAAI,CAAC;SAClD,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/dist/src/platform.d.ts
CHANGED
|
@@ -176,6 +176,16 @@ export declare const platform_workspace_status: import("@elaraai/east").AsyncPla
|
|
|
176
176
|
readonly output: StringType;
|
|
177
177
|
readonly dependsOn: ArrayType<StringType>;
|
|
178
178
|
readonly peakBytes: import("@elaraai/east").OptionType<IntegerType>;
|
|
179
|
+
readonly stopped: import("@elaraai/east").OptionType<StructType<{
|
|
180
|
+
readonly kind: import("@elaraai/east").VariantType<{
|
|
181
|
+
readonly aborted: NullType;
|
|
182
|
+
readonly yielded: NullType;
|
|
183
|
+
readonly owner_gone: NullType;
|
|
184
|
+
readonly host: StringType;
|
|
185
|
+
readonly unrecorded: NullType;
|
|
186
|
+
}>;
|
|
187
|
+
readonly message: StringType;
|
|
188
|
+
}>>;
|
|
179
189
|
}>>;
|
|
180
190
|
readonly summary: StructType<{
|
|
181
191
|
readonly datasets: StructType<{
|
|
@@ -240,12 +250,24 @@ export declare const platform_task_get: import("@elaraai/east").AsyncPlatformDef
|
|
|
240
250
|
readonly runner: import("@elaraai/east").VariantType<{
|
|
241
251
|
readonly east_node: StructType<{
|
|
242
252
|
readonly platforms: ArrayType<StringType>;
|
|
253
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
254
|
+
readonly lazy: NullType;
|
|
255
|
+
readonly whole: NullType;
|
|
256
|
+
}>;
|
|
243
257
|
}>;
|
|
244
258
|
readonly east_py: StructType<{
|
|
245
259
|
readonly platforms: ArrayType<StringType>;
|
|
260
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
261
|
+
readonly lazy: NullType;
|
|
262
|
+
readonly whole: NullType;
|
|
263
|
+
}>;
|
|
246
264
|
}>;
|
|
247
265
|
readonly east_c: StructType<{
|
|
248
266
|
readonly platforms: ArrayType<StringType>;
|
|
267
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
268
|
+
readonly lazy: NullType;
|
|
269
|
+
readonly whole: NullType;
|
|
270
|
+
}>;
|
|
249
271
|
}>;
|
|
250
272
|
readonly custom: StructType<{
|
|
251
273
|
readonly command: ArrayType<StringType>;
|
|
@@ -291,11 +313,19 @@ export declare const platform_task_get: import("@elaraai/east").AsyncPlatformDef
|
|
|
291
313
|
}>;
|
|
292
314
|
}>>;
|
|
293
315
|
export declare const platform_dataflow_start: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
294
|
-
readonly force: import("@elaraai/east").
|
|
316
|
+
readonly force: import("@elaraai/east").VariantType<{
|
|
317
|
+
readonly none: NullType;
|
|
318
|
+
readonly all: NullType;
|
|
319
|
+
readonly tasks: ArrayType<StringType>;
|
|
320
|
+
}>;
|
|
295
321
|
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
296
322
|
}>, StringType], NullType>;
|
|
297
323
|
export declare const platform_dataflow_execute: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
298
|
-
readonly force: import("@elaraai/east").
|
|
324
|
+
readonly force: import("@elaraai/east").VariantType<{
|
|
325
|
+
readonly none: NullType;
|
|
326
|
+
readonly all: NullType;
|
|
327
|
+
readonly tasks: ArrayType<StringType>;
|
|
328
|
+
}>;
|
|
299
329
|
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
300
330
|
}>, StringType], StructType<{
|
|
301
331
|
readonly success: import("@elaraai/east").BooleanType;
|
|
@@ -346,18 +376,37 @@ export declare const platform_task_logs: import("@elaraai/east").AsyncPlatformDe
|
|
|
346
376
|
readonly complete: import("@elaraai/east").BooleanType;
|
|
347
377
|
}>>;
|
|
348
378
|
/** Call a named function of a workspace's deployed package, run to
|
|
349
|
-
* completion, returning the inline ExecuteResult.
|
|
379
|
+
* completion, returning the inline ExecuteResult. An argument is a value, or
|
|
380
|
+
* a dataset of the workspace (`CallArg`'s `dataset`), pinned by its hash at
|
|
381
|
+
* launch and named in the result's `inputs`. */
|
|
350
382
|
export declare const platform_function_call: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StructType<{
|
|
351
|
-
readonly args: ArrayType<
|
|
383
|
+
readonly args: ArrayType<import("@elaraai/east").VariantType<{
|
|
384
|
+
readonly value: BlobType;
|
|
385
|
+
readonly dataset: ArrayType<import("@elaraai/east").VariantType<{
|
|
386
|
+
readonly field: StringType;
|
|
387
|
+
}>>;
|
|
388
|
+
}>>;
|
|
352
389
|
readonly runner: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
353
390
|
readonly east_node: StructType<{
|
|
354
391
|
readonly platforms: ArrayType<StringType>;
|
|
392
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
393
|
+
readonly lazy: NullType;
|
|
394
|
+
readonly whole: NullType;
|
|
395
|
+
}>;
|
|
355
396
|
}>;
|
|
356
397
|
readonly east_py: StructType<{
|
|
357
398
|
readonly platforms: ArrayType<StringType>;
|
|
399
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
400
|
+
readonly lazy: NullType;
|
|
401
|
+
readonly whole: NullType;
|
|
402
|
+
}>;
|
|
358
403
|
}>;
|
|
359
404
|
readonly east_c: StructType<{
|
|
360
405
|
readonly platforms: ArrayType<StringType>;
|
|
406
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
407
|
+
readonly lazy: NullType;
|
|
408
|
+
readonly whole: NullType;
|
|
409
|
+
}>;
|
|
361
410
|
}>;
|
|
362
411
|
readonly custom: StructType<{
|
|
363
412
|
readonly command: ArrayType<StringType>;
|
|
@@ -417,12 +466,24 @@ export declare const platform_one_shot_execute: import("@elaraai/east").AsyncPla
|
|
|
417
466
|
readonly runner: import("@elaraai/east").VariantType<{
|
|
418
467
|
readonly east_node: StructType<{
|
|
419
468
|
readonly platforms: ArrayType<StringType>;
|
|
469
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
470
|
+
readonly lazy: NullType;
|
|
471
|
+
readonly whole: NullType;
|
|
472
|
+
}>;
|
|
420
473
|
}>;
|
|
421
474
|
readonly east_py: StructType<{
|
|
422
475
|
readonly platforms: ArrayType<StringType>;
|
|
476
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
477
|
+
readonly lazy: NullType;
|
|
478
|
+
readonly whole: NullType;
|
|
479
|
+
}>;
|
|
423
480
|
}>;
|
|
424
481
|
readonly east_c: StructType<{
|
|
425
482
|
readonly platforms: ArrayType<StringType>;
|
|
483
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
484
|
+
readonly lazy: NullType;
|
|
485
|
+
readonly whole: NullType;
|
|
486
|
+
}>;
|
|
426
487
|
}>;
|
|
427
488
|
readonly custom: StructType<{
|
|
428
489
|
readonly command: ArrayType<StringType>;
|
|
@@ -468,6 +529,26 @@ export declare const platform_one_shot_execute: import("@elaraai/east").AsyncPla
|
|
|
468
529
|
readonly hash: StringType;
|
|
469
530
|
}>>;
|
|
470
531
|
}>>;
|
|
532
|
+
/**
|
|
533
|
+
* Options for {@link platformImplementation}.
|
|
534
|
+
*/
|
|
535
|
+
export interface PlatformImplementationOptions {
|
|
536
|
+
/** The `fetch` every request of the platform functions goes through
|
|
537
|
+
* (`RequestOptions.fetch`): absent, the global `fetch`. */
|
|
538
|
+
fetch?: typeof globalThis.fetch;
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* The implementations of e3's platform functions, over a given `fetch`.
|
|
542
|
+
*
|
|
543
|
+
* @remarks
|
|
544
|
+
* `Platform.Implementation` is this over the global `fetch`. A host that
|
|
545
|
+
* answers e3's API itself — e3 running in a page — gives its own, so an East
|
|
546
|
+
* program that calls these functions reaches that e3.
|
|
547
|
+
*
|
|
548
|
+
* @param options - The `fetch` the functions' requests go through
|
|
549
|
+
* @returns The platform functions, to compile an East program with
|
|
550
|
+
*/
|
|
551
|
+
export declare function platformImplementation(options?: PlatformImplementationOptions): PlatformFunction[];
|
|
471
552
|
export declare const Platform: {
|
|
472
553
|
readonly repoStatus: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType], StructType<{
|
|
473
554
|
readonly path: StringType;
|
|
@@ -641,6 +722,16 @@ export declare const Platform: {
|
|
|
641
722
|
readonly output: StringType;
|
|
642
723
|
readonly dependsOn: ArrayType<StringType>;
|
|
643
724
|
readonly peakBytes: import("@elaraai/east").OptionType<IntegerType>;
|
|
725
|
+
readonly stopped: import("@elaraai/east").OptionType<StructType<{
|
|
726
|
+
readonly kind: import("@elaraai/east").VariantType<{
|
|
727
|
+
readonly aborted: NullType;
|
|
728
|
+
readonly yielded: NullType;
|
|
729
|
+
readonly owner_gone: NullType;
|
|
730
|
+
readonly host: StringType;
|
|
731
|
+
readonly unrecorded: NullType;
|
|
732
|
+
}>;
|
|
733
|
+
readonly message: StringType;
|
|
734
|
+
}>>;
|
|
644
735
|
}>>;
|
|
645
736
|
readonly summary: StructType<{
|
|
646
737
|
readonly datasets: StructType<{
|
|
@@ -705,12 +796,24 @@ export declare const Platform: {
|
|
|
705
796
|
readonly runner: import("@elaraai/east").VariantType<{
|
|
706
797
|
readonly east_node: StructType<{
|
|
707
798
|
readonly platforms: ArrayType<StringType>;
|
|
799
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
800
|
+
readonly lazy: NullType;
|
|
801
|
+
readonly whole: NullType;
|
|
802
|
+
}>;
|
|
708
803
|
}>;
|
|
709
804
|
readonly east_py: StructType<{
|
|
710
805
|
readonly platforms: ArrayType<StringType>;
|
|
806
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
807
|
+
readonly lazy: NullType;
|
|
808
|
+
readonly whole: NullType;
|
|
809
|
+
}>;
|
|
711
810
|
}>;
|
|
712
811
|
readonly east_c: StructType<{
|
|
713
812
|
readonly platforms: ArrayType<StringType>;
|
|
813
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
814
|
+
readonly lazy: NullType;
|
|
815
|
+
readonly whole: NullType;
|
|
816
|
+
}>;
|
|
714
817
|
}>;
|
|
715
818
|
readonly custom: StructType<{
|
|
716
819
|
readonly command: ArrayType<StringType>;
|
|
@@ -756,11 +859,19 @@ export declare const Platform: {
|
|
|
756
859
|
}>;
|
|
757
860
|
}>>;
|
|
758
861
|
readonly dataflowStart: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
759
|
-
readonly force: import("@elaraai/east").
|
|
862
|
+
readonly force: import("@elaraai/east").VariantType<{
|
|
863
|
+
readonly none: NullType;
|
|
864
|
+
readonly all: NullType;
|
|
865
|
+
readonly tasks: ArrayType<StringType>;
|
|
866
|
+
}>;
|
|
760
867
|
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
761
868
|
}>, StringType], NullType>;
|
|
762
869
|
readonly dataflowExecute: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StructType<{
|
|
763
|
-
readonly force: import("@elaraai/east").
|
|
870
|
+
readonly force: import("@elaraai/east").VariantType<{
|
|
871
|
+
readonly none: NullType;
|
|
872
|
+
readonly all: NullType;
|
|
873
|
+
readonly tasks: ArrayType<StringType>;
|
|
874
|
+
}>;
|
|
764
875
|
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
765
876
|
}>, StringType], StructType<{
|
|
766
877
|
readonly success: import("@elaraai/east").BooleanType;
|
|
@@ -806,16 +917,33 @@ export declare const Platform: {
|
|
|
806
917
|
readonly complete: import("@elaraai/east").BooleanType;
|
|
807
918
|
}>>;
|
|
808
919
|
readonly functionCall: import("@elaraai/east").AsyncPlatformDefinition<[StringType, StringType, StringType, StringType, StructType<{
|
|
809
|
-
readonly args: ArrayType<
|
|
920
|
+
readonly args: ArrayType<import("@elaraai/east").VariantType<{
|
|
921
|
+
readonly value: BlobType;
|
|
922
|
+
readonly dataset: ArrayType<import("@elaraai/east").VariantType<{
|
|
923
|
+
readonly field: StringType;
|
|
924
|
+
}>>;
|
|
925
|
+
}>>;
|
|
810
926
|
readonly runner: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
811
927
|
readonly east_node: StructType<{
|
|
812
928
|
readonly platforms: ArrayType<StringType>;
|
|
929
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
930
|
+
readonly lazy: NullType;
|
|
931
|
+
readonly whole: NullType;
|
|
932
|
+
}>;
|
|
813
933
|
}>;
|
|
814
934
|
readonly east_py: StructType<{
|
|
815
935
|
readonly platforms: ArrayType<StringType>;
|
|
936
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
937
|
+
readonly lazy: NullType;
|
|
938
|
+
readonly whole: NullType;
|
|
939
|
+
}>;
|
|
816
940
|
}>;
|
|
817
941
|
readonly east_c: StructType<{
|
|
818
942
|
readonly platforms: ArrayType<StringType>;
|
|
943
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
944
|
+
readonly lazy: NullType;
|
|
945
|
+
readonly whole: NullType;
|
|
946
|
+
}>;
|
|
819
947
|
}>;
|
|
820
948
|
readonly custom: StructType<{
|
|
821
949
|
readonly command: ArrayType<StringType>;
|
|
@@ -872,12 +1000,24 @@ export declare const Platform: {
|
|
|
872
1000
|
readonly runner: import("@elaraai/east").VariantType<{
|
|
873
1001
|
readonly east_node: StructType<{
|
|
874
1002
|
readonly platforms: ArrayType<StringType>;
|
|
1003
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1004
|
+
readonly lazy: NullType;
|
|
1005
|
+
readonly whole: NullType;
|
|
1006
|
+
}>;
|
|
875
1007
|
}>;
|
|
876
1008
|
readonly east_py: StructType<{
|
|
877
1009
|
readonly platforms: ArrayType<StringType>;
|
|
1010
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1011
|
+
readonly lazy: NullType;
|
|
1012
|
+
readonly whole: NullType;
|
|
1013
|
+
}>;
|
|
878
1014
|
}>;
|
|
879
1015
|
readonly east_c: StructType<{
|
|
880
1016
|
readonly platforms: ArrayType<StringType>;
|
|
1017
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1018
|
+
readonly lazy: NullType;
|
|
1019
|
+
readonly whole: NullType;
|
|
1020
|
+
}>;
|
|
881
1021
|
}>;
|
|
882
1022
|
readonly custom: StructType<{
|
|
883
1023
|
readonly command: ArrayType<StringType>;
|
|
@@ -924,6 +1064,7 @@ export declare const Platform: {
|
|
|
924
1064
|
}>>;
|
|
925
1065
|
}>>;
|
|
926
1066
|
readonly Implementation: PlatformFunction[];
|
|
1067
|
+
readonly implementation: typeof platformImplementation;
|
|
927
1068
|
readonly Types: {
|
|
928
1069
|
readonly RepositoryStatus: StructType<{
|
|
929
1070
|
readonly path: StringType;
|
|
@@ -1013,6 +1154,16 @@ export declare const Platform: {
|
|
|
1013
1154
|
readonly output: StringType;
|
|
1014
1155
|
readonly dependsOn: ArrayType<StringType>;
|
|
1015
1156
|
readonly peakBytes: import("@elaraai/east").OptionType<IntegerType>;
|
|
1157
|
+
readonly stopped: import("@elaraai/east").OptionType<StructType<{
|
|
1158
|
+
readonly kind: import("@elaraai/east").VariantType<{
|
|
1159
|
+
readonly aborted: NullType;
|
|
1160
|
+
readonly yielded: NullType;
|
|
1161
|
+
readonly owner_gone: NullType;
|
|
1162
|
+
readonly host: StringType;
|
|
1163
|
+
readonly unrecorded: NullType;
|
|
1164
|
+
}>;
|
|
1165
|
+
readonly message: StringType;
|
|
1166
|
+
}>>;
|
|
1016
1167
|
}>>;
|
|
1017
1168
|
readonly summary: StructType<{
|
|
1018
1169
|
readonly datasets: StructType<{
|
|
@@ -1064,12 +1215,24 @@ export declare const Platform: {
|
|
|
1064
1215
|
readonly runner: import("@elaraai/east").VariantType<{
|
|
1065
1216
|
readonly east_node: StructType<{
|
|
1066
1217
|
readonly platforms: ArrayType<StringType>;
|
|
1218
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1219
|
+
readonly lazy: NullType;
|
|
1220
|
+
readonly whole: NullType;
|
|
1221
|
+
}>;
|
|
1067
1222
|
}>;
|
|
1068
1223
|
readonly east_py: StructType<{
|
|
1069
1224
|
readonly platforms: ArrayType<StringType>;
|
|
1225
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1226
|
+
readonly lazy: NullType;
|
|
1227
|
+
readonly whole: NullType;
|
|
1228
|
+
}>;
|
|
1070
1229
|
}>;
|
|
1071
1230
|
readonly east_c: StructType<{
|
|
1072
1231
|
readonly platforms: ArrayType<StringType>;
|
|
1232
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1233
|
+
readonly lazy: NullType;
|
|
1234
|
+
readonly whole: NullType;
|
|
1235
|
+
}>;
|
|
1073
1236
|
}>;
|
|
1074
1237
|
readonly custom: StructType<{
|
|
1075
1238
|
readonly command: ArrayType<StringType>;
|
|
@@ -1115,7 +1278,11 @@ export declare const Platform: {
|
|
|
1115
1278
|
}>;
|
|
1116
1279
|
}>;
|
|
1117
1280
|
readonly DataflowRequest: StructType<{
|
|
1118
|
-
readonly force: import("@elaraai/east").
|
|
1281
|
+
readonly force: import("@elaraai/east").VariantType<{
|
|
1282
|
+
readonly none: NullType;
|
|
1283
|
+
readonly all: NullType;
|
|
1284
|
+
readonly tasks: ArrayType<StringType>;
|
|
1285
|
+
}>;
|
|
1119
1286
|
readonly filter: import("@elaraai/east").OptionType<StringType>;
|
|
1120
1287
|
}>;
|
|
1121
1288
|
readonly DataflowGraph: StructType<{
|
|
@@ -1162,17 +1329,40 @@ export declare const Platform: {
|
|
|
1162
1329
|
readonly offset: IntegerType;
|
|
1163
1330
|
readonly limit: IntegerType;
|
|
1164
1331
|
}>;
|
|
1332
|
+
readonly CallArg: import("@elaraai/east").VariantType<{
|
|
1333
|
+
readonly value: BlobType;
|
|
1334
|
+
readonly dataset: ArrayType<import("@elaraai/east").VariantType<{
|
|
1335
|
+
readonly field: StringType;
|
|
1336
|
+
}>>;
|
|
1337
|
+
}>;
|
|
1165
1338
|
readonly FunctionCallRequest: StructType<{
|
|
1166
|
-
readonly args: ArrayType<
|
|
1339
|
+
readonly args: ArrayType<import("@elaraai/east").VariantType<{
|
|
1340
|
+
readonly value: BlobType;
|
|
1341
|
+
readonly dataset: ArrayType<import("@elaraai/east").VariantType<{
|
|
1342
|
+
readonly field: StringType;
|
|
1343
|
+
}>>;
|
|
1344
|
+
}>>;
|
|
1167
1345
|
readonly runner: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
1168
1346
|
readonly east_node: StructType<{
|
|
1169
1347
|
readonly platforms: ArrayType<StringType>;
|
|
1348
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1349
|
+
readonly lazy: NullType;
|
|
1350
|
+
readonly whole: NullType;
|
|
1351
|
+
}>;
|
|
1170
1352
|
}>;
|
|
1171
1353
|
readonly east_py: StructType<{
|
|
1172
1354
|
readonly platforms: ArrayType<StringType>;
|
|
1355
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1356
|
+
readonly lazy: NullType;
|
|
1357
|
+
readonly whole: NullType;
|
|
1358
|
+
}>;
|
|
1173
1359
|
}>;
|
|
1174
1360
|
readonly east_c: StructType<{
|
|
1175
1361
|
readonly platforms: ArrayType<StringType>;
|
|
1362
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1363
|
+
readonly lazy: NullType;
|
|
1364
|
+
readonly whole: NullType;
|
|
1365
|
+
}>;
|
|
1176
1366
|
}>;
|
|
1177
1367
|
readonly custom: StructType<{
|
|
1178
1368
|
readonly command: ArrayType<StringType>;
|
|
@@ -1230,12 +1420,24 @@ export declare const Platform: {
|
|
|
1230
1420
|
readonly runner: import("@elaraai/east").VariantType<{
|
|
1231
1421
|
readonly east_node: StructType<{
|
|
1232
1422
|
readonly platforms: ArrayType<StringType>;
|
|
1423
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1424
|
+
readonly lazy: NullType;
|
|
1425
|
+
readonly whole: NullType;
|
|
1426
|
+
}>;
|
|
1233
1427
|
}>;
|
|
1234
1428
|
readonly east_py: StructType<{
|
|
1235
1429
|
readonly platforms: ArrayType<StringType>;
|
|
1430
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1431
|
+
readonly lazy: NullType;
|
|
1432
|
+
readonly whole: NullType;
|
|
1433
|
+
}>;
|
|
1236
1434
|
}>;
|
|
1237
1435
|
readonly east_c: StructType<{
|
|
1238
1436
|
readonly platforms: ArrayType<StringType>;
|
|
1437
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1438
|
+
readonly lazy: NullType;
|
|
1439
|
+
readonly whole: NullType;
|
|
1440
|
+
}>;
|
|
1239
1441
|
}>;
|
|
1240
1442
|
readonly custom: StructType<{
|
|
1241
1443
|
readonly command: ArrayType<StringType>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../src/platform.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEL,UAAU,EACV,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,UAAU,EAEX,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../../src/platform.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAEL,UAAU,EACV,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,UAAU,EAEX,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAoE/D,eAAO,MAAM,oBAAoB;;;;;GAIhC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;GAI5B,CAAC;AAMF,eAAO,MAAM,qBAAqB;;;IAIjC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIhC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;GAInC,CAAC;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