@elaraai/e3-api-client 1.0.6 → 1.0.8
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/dist/src/functions.d.ts +12 -19
- package/dist/src/functions.d.ts.map +1 -1
- package/dist/src/functions.js +2 -50
- package/dist/src/functions.js.map +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/platform.d.ts +18 -0
- package/dist/src/platform.d.ts.map +1 -1
- package/dist/src/types.d.ts +14 -49
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +2 -5
- package/dist/src/types.js.map +1 -1
- package/package.json +4 -4
package/dist/src/functions.d.ts
CHANGED
|
@@ -2,7 +2,18 @@
|
|
|
2
2
|
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
3
|
* Licensed under BSL 1.1. See LICENSE for details.
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Named function and one-shot execution client methods.
|
|
7
|
+
*
|
|
8
|
+
* Named functions are package-scoped (`functionList`, `functionCall`, …) or
|
|
9
|
+
* workspace-scoped (`workspaceFunction*` — the package is whatever is
|
|
10
|
+
* deployed in the workspace). One-shot runs caller-supplied IR and is
|
|
11
|
+
* workspace-scoped + role-gated server-side.
|
|
12
|
+
*
|
|
13
|
+
* All call results are inline, bounded values (ExecuteResult) — nothing is
|
|
14
|
+
* persisted server-side by a call.
|
|
15
|
+
*/
|
|
16
|
+
import type { FunctionSignature, FunctionCallRequest, ExecuteResult, OneShotRequest } from './types.js';
|
|
6
17
|
import { type RequestOptions } from './http.js';
|
|
7
18
|
/** List a package's functions with their signatures. */
|
|
8
19
|
export declare function functionList(url: string, repo: string, pkg: string, version: string, options: RequestOptions): Promise<FunctionSignature[]>;
|
|
@@ -10,30 +21,12 @@ export declare function functionList(url: string, repo: string, pkg: string, ver
|
|
|
10
21
|
export declare function functionDescribe(url: string, repo: string, pkg: string, version: string, fn: string, options: RequestOptions): Promise<FunctionSignature>;
|
|
11
22
|
/** Call a function synchronously, returning its terminal ExecuteResult. */
|
|
12
23
|
export declare function functionCall(url: string, repo: string, pkg: string, version: string, fn: string, req: FunctionCallRequest, options: RequestOptions): Promise<ExecuteResult>;
|
|
13
|
-
/** Launch an async function call; poll with {@link functionCallPoll}. */
|
|
14
|
-
export declare function functionCallLaunch(url: string, repo: string, pkg: string, version: string, fn: string, req: FunctionCallRequest, options: RequestOptions): Promise<CallStartResult>;
|
|
15
|
-
/** Poll an async function call's status (result present once terminal). */
|
|
16
|
-
export declare function functionCallPoll(url: string, repo: string, pkg: string, version: string, fn: string, callId: string, options: RequestOptions): Promise<CallStatusResult>;
|
|
17
|
-
/** Cancel an in-flight async function call. */
|
|
18
|
-
export declare function functionCallCancel(url: string, repo: string, pkg: string, version: string, fn: string, callId: string, options: RequestOptions): Promise<void>;
|
|
19
24
|
/** List the deployed package's functions. */
|
|
20
25
|
export declare function workspaceFunctionList(url: string, repo: string, ws: string, options: RequestOptions): Promise<FunctionSignature[]>;
|
|
21
26
|
/** Describe a function of the deployed package. */
|
|
22
27
|
export declare function workspaceFunctionDescribe(url: string, repo: string, ws: string, fn: string, options: RequestOptions): Promise<FunctionSignature>;
|
|
23
28
|
/** Call a function of the deployed package synchronously. */
|
|
24
29
|
export declare function workspaceFunctionCall(url: string, repo: string, ws: string, fn: string, req: FunctionCallRequest, options: RequestOptions): Promise<ExecuteResult>;
|
|
25
|
-
/** Launch an async workspace-scoped function call. */
|
|
26
|
-
export declare function workspaceFunctionCallLaunch(url: string, repo: string, ws: string, fn: string, req: FunctionCallRequest, options: RequestOptions): Promise<CallStartResult>;
|
|
27
|
-
/** Poll an async workspace-scoped function call. */
|
|
28
|
-
export declare function workspaceFunctionCallPoll(url: string, repo: string, ws: string, fn: string, callId: string, options: RequestOptions): Promise<CallStatusResult>;
|
|
29
|
-
/** Cancel an async workspace-scoped function call. */
|
|
30
|
-
export declare function workspaceFunctionCallCancel(url: string, repo: string, ws: string, fn: string, callId: string, options: RequestOptions): Promise<void>;
|
|
31
30
|
/** Run an anonymous IR synchronously against a workspace. */
|
|
32
31
|
export declare function oneShotExecute(url: string, repo: string, ws: string, req: OneShotRequest, options: RequestOptions): Promise<ExecuteResult>;
|
|
33
|
-
/** Launch an async one-shot; poll with {@link oneShotPoll}. */
|
|
34
|
-
export declare function oneShotLaunch(url: string, repo: string, ws: string, req: OneShotRequest, options: RequestOptions): Promise<CallStartResult>;
|
|
35
|
-
/** Poll an async one-shot call. */
|
|
36
|
-
export declare function oneShotPoll(url: string, repo: string, ws: string, callId: string, options: RequestOptions): Promise<CallStatusResult>;
|
|
37
|
-
/** Cancel an async one-shot call. */
|
|
38
|
-
export declare function oneShotCancel(url: string, repo: string, ws: string, callId: string, options: RequestOptions): Promise<void>;
|
|
39
32
|
//# sourceMappingURL=functions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/functions.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/functions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACb,cAAc,EACf,MAAM,YAAY,CAAC;AAQpB,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AAsB3D,wDAAwD;AACxD,wBAAsB,YAAY,CAChC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,cAAc,GACtB,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAE9B;AAED,kEAAkE;AAClE,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,MAAM,EACX,IAAI,E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 Elara AI Pty Ltd
|
|
3
3
|
* Licensed under BSL 1.1. See LICENSE for details.
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
* Named function and one-shot execution client methods.
|
|
7
|
-
*
|
|
8
|
-
* Named functions are package-scoped (`functionList`, `functionCall`, …) or
|
|
9
|
-
* workspace-scoped (`workspaceFunction*` — the package is whatever is
|
|
10
|
-
* deployed in the workspace). One-shot runs caller-supplied IR and is
|
|
11
|
-
* workspace-scoped + role-gated server-side.
|
|
12
|
-
*
|
|
13
|
-
* All call results are inline, bounded values (ExecuteResult) — nothing is
|
|
14
|
-
* persisted server-side by a call.
|
|
15
|
-
*/
|
|
16
|
-
import { NullType } from '@elaraai/east';
|
|
17
|
-
import { FunctionSignatureType, FunctionCallRequestType, ExecuteResultType, CallStartResultType, CallStatusResultType, OneShotRequestType, } from './types.js';
|
|
5
|
+
import { FunctionSignatureType, FunctionCallRequestType, ExecuteResultType, OneShotRequestType, } from './types.js';
|
|
18
6
|
import { ArrayType } from '@elaraai/east';
|
|
19
|
-
import { get, post
|
|
7
|
+
import { get, post } from './http.js';
|
|
20
8
|
const enc = encodeURIComponent;
|
|
21
9
|
function pkgBase(repo, pkg, version, fn) {
|
|
22
10
|
const base = `/repos/${enc(repo)}/packages/${enc(pkg)}/${enc(version)}/functions`;
|
|
@@ -44,18 +32,6 @@ export async function functionDescribe(url, repo, pkg, version, fn, options) {
|
|
|
44
32
|
export async function functionCall(url, repo, pkg, version, fn, req, options) {
|
|
45
33
|
return post(url, pkgBase(repo, pkg, version, fn), req, FunctionCallRequestType, ExecuteResultType, options);
|
|
46
34
|
}
|
|
47
|
-
/** Launch an async function call; poll with {@link functionCallPoll}. */
|
|
48
|
-
export async function functionCallLaunch(url, repo, pkg, version, fn, req, options) {
|
|
49
|
-
return post(url, `${pkgBase(repo, pkg, version, fn)}/async`, req, FunctionCallRequestType, CallStartResultType, options);
|
|
50
|
-
}
|
|
51
|
-
/** Poll an async function call's status (result present once terminal). */
|
|
52
|
-
export async function functionCallPoll(url, repo, pkg, version, fn, callId, options) {
|
|
53
|
-
return get(url, `${pkgBase(repo, pkg, version, fn)}/calls/${enc(callId)}`, CallStatusResultType, options);
|
|
54
|
-
}
|
|
55
|
-
/** Cancel an in-flight async function call. */
|
|
56
|
-
export async function functionCallCancel(url, repo, pkg, version, fn, callId, options) {
|
|
57
|
-
await del(url, `${pkgBase(repo, pkg, version, fn)}/calls/${enc(callId)}`, NullType, options);
|
|
58
|
-
}
|
|
59
35
|
// =============================================================================
|
|
60
36
|
// Workspace-scoped named functions (package resolved from the deployment)
|
|
61
37
|
// =============================================================================
|
|
@@ -71,18 +47,6 @@ export async function workspaceFunctionDescribe(url, repo, ws, fn, options) {
|
|
|
71
47
|
export async function workspaceFunctionCall(url, repo, ws, fn, req, options) {
|
|
72
48
|
return post(url, wsBase(repo, ws, fn), req, FunctionCallRequestType, ExecuteResultType, options);
|
|
73
49
|
}
|
|
74
|
-
/** Launch an async workspace-scoped function call. */
|
|
75
|
-
export async function workspaceFunctionCallLaunch(url, repo, ws, fn, req, options) {
|
|
76
|
-
return post(url, `${wsBase(repo, ws, fn)}/async`, req, FunctionCallRequestType, CallStartResultType, options);
|
|
77
|
-
}
|
|
78
|
-
/** Poll an async workspace-scoped function call. */
|
|
79
|
-
export async function workspaceFunctionCallPoll(url, repo, ws, fn, callId, options) {
|
|
80
|
-
return get(url, `${wsBase(repo, ws, fn)}/calls/${enc(callId)}`, CallStatusResultType, options);
|
|
81
|
-
}
|
|
82
|
-
/** Cancel an async workspace-scoped function call. */
|
|
83
|
-
export async function workspaceFunctionCallCancel(url, repo, ws, fn, callId, options) {
|
|
84
|
-
await del(url, `${wsBase(repo, ws, fn)}/calls/${enc(callId)}`, NullType, options);
|
|
85
|
-
}
|
|
86
50
|
// =============================================================================
|
|
87
51
|
// One-shot (anonymous caller-supplied IR; server-side role gate)
|
|
88
52
|
// =============================================================================
|
|
@@ -90,16 +54,4 @@ export async function workspaceFunctionCallCancel(url, repo, ws, fn, callId, opt
|
|
|
90
54
|
export async function oneShotExecute(url, repo, ws, req, options) {
|
|
91
55
|
return post(url, oneShotBase(repo, ws), req, OneShotRequestType, ExecuteResultType, options);
|
|
92
56
|
}
|
|
93
|
-
/** Launch an async one-shot; poll with {@link oneShotPoll}. */
|
|
94
|
-
export async function oneShotLaunch(url, repo, ws, req, options) {
|
|
95
|
-
return post(url, `${oneShotBase(repo, ws)}/async`, req, OneShotRequestType, CallStartResultType, options);
|
|
96
|
-
}
|
|
97
|
-
/** Poll an async one-shot call. */
|
|
98
|
-
export async function oneShotPoll(url, repo, ws, callId, options) {
|
|
99
|
-
return get(url, `${oneShotBase(repo, ws)}/calls/${enc(callId)}`, CallStatusResultType, options);
|
|
100
|
-
}
|
|
101
|
-
/** Cancel an async one-shot call. */
|
|
102
|
-
export async function oneShotCancel(url, repo, ws, callId, options) {
|
|
103
|
-
await del(url, `${oneShotBase(repo, ws)}/calls/${enc(callId)}`, NullType, options);
|
|
104
|
-
}
|
|
105
57
|
//# sourceMappingURL=functions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../src/functions.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../src/functions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAoBH,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAuB,MAAM,WAAW,CAAC;AAE3D,MAAM,GAAG,GAAG,kBAAkB,CAAC;AAE/B,SAAS,OAAO,CAAC,IAAY,EAAE,GAAW,EAAE,OAAe,EAAE,EAAW;IACtE,MAAM,IAAI,GAAG,UAAU,GAAG,CAAC,IAAI,CAAC,aAAa,GAAG,CAAC,GAAG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EACnB,OAAuB;IAEvB,OAAO,IAAI,CAAC,GAAG,EAAE,WAAW,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,GAAG,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;AAC/F,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Uses BEAST2 serialization for request/response bodies.
|
|
10
10
|
*/
|
|
11
11
|
export { ApiTypes } from './types.js';
|
|
12
|
-
export type { RepositoryStatus, GcRequest, GcResult, GcStartResult, GcStatusResult, AsyncOperationStatus, PackageListItem, PackageImportResult, WorkspaceInfo, WorkspaceStatusResult, DatasetStatus, DatasetStatusInfo, TaskStatus, TaskStatusInfo, WorkspaceStatusSummary, TaskListItem, TaskDetails, DataflowGraph, DataflowGraphTask, LogChunk, TaskExecutionResult, DataflowResult, DataflowEvent, ExecutionStatus, DataflowExecutionSummary, DataflowExecutionState, ExecutionListItem, ExecutionHistoryStatus, TreeKind, ListEntry, DatasetStatusDetail, RunnerValue, ExecuteLimits, Diagnostic, ExecuteResult, FunctionCallRequest, FunctionSignature,
|
|
12
|
+
export type { RepositoryStatus, GcRequest, GcResult, GcStartResult, GcStatusResult, AsyncOperationStatus, PackageListItem, PackageImportResult, WorkspaceInfo, WorkspaceStatusResult, DatasetStatus, DatasetStatusInfo, TaskStatus, TaskStatusInfo, WorkspaceStatusSummary, TaskListItem, TaskDetails, DataflowGraph, DataflowGraphTask, LogChunk, TaskExecutionResult, DataflowResult, DataflowEvent, ExecutionStatus, DataflowExecutionSummary, DataflowExecutionState, ExecutionListItem, ExecutionHistoryStatus, TreeKind, ListEntry, DatasetStatusDetail, RunnerValue, ExecuteLimits, Diagnostic, ExecuteResult, FunctionCallRequest, FunctionSignature, OneShotRequest, } from './types.js';
|
|
13
13
|
export { ApiError, AuthError, fetchWithAuth, get, post, put, del, putEmpty, unwrap } from './http.js';
|
|
14
14
|
export type { RequestOptions, Response } from './http.js';
|
|
15
15
|
export { repoStatus, repoGc, repoGcStart, repoGcStatus, repoCreate, repoRemove, } from './repository.js';
|
|
@@ -18,7 +18,7 @@ export { packageList, packageGet, packageImport, packageExport, packageRemove, p
|
|
|
18
18
|
export { workspaceList, workspaceCreate, workspaceGet, workspaceStatus, workspaceRemove, workspaceDeploy, workspaceExport, } from './workspaces.js';
|
|
19
19
|
export { datasetList, datasetListAt, datasetListRecursive, datasetListRecursivePaths, datasetListWithStatus, datasetGet, datasetGetStatus, datasetSet, } from './datasets.js';
|
|
20
20
|
export { taskList, taskGet, taskExecutionList } from './tasks.js';
|
|
21
|
-
export { functionList, functionDescribe, functionCall,
|
|
21
|
+
export { functionList, functionDescribe, functionCall, workspaceFunctionList, workspaceFunctionDescribe, workspaceFunctionCall, oneShotExecute, } from './functions.js';
|
|
22
22
|
export { dataflowExecute, dataflowExecuteLaunch, dataflowExecutePoll, dataflowGraph, dataflowCancel, taskLogs, dataflowStart, dataflowExecution, type DataflowOptions, type DataflowPollOptions, type LogOptions, type ExecutionStateOptions, } from './executions.js';
|
|
23
23
|
export { Platform, PlatformImpl, LogOptionsType, platform_repo_status, platform_repo_gc, platform_package_list, platform_package_get, platform_package_import, platform_package_export, platform_package_remove, platform_workspace_list, platform_workspace_create, platform_workspace_get, platform_workspace_status, platform_workspace_remove, platform_workspace_deploy, platform_workspace_export, platform_dataset_list, platform_dataset_list_at, platform_dataset_get, platform_dataset_set, platform_task_list, platform_task_get, platform_dataflow_start, platform_dataflow_execute, platform_dataflow_graph, platform_task_logs, platform_function_call, platform_one_shot_execute, } from './platform.js';
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,YAAY,EACZ,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,mBAAmB,EACnB,cAAc,EACd,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,QAAQ,EACR,SAAS,EACT,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EACV,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,YAAY,EACZ,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,QAAQ,EACR,mBAAmB,EACnB,cAAc,EACd,aAAa,EACb,eAAe,EACf,wBAAwB,EACxB,sBAAsB,EACtB,iBAAiB,EACjB,sBAAsB,EACtB,QAAQ,EACR,SAAS,EACT,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,UAAU,EACV,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,GACf,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,QAA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BAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,kBAAkB,EAClB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,eAAe,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -25,7 +25,7 @@ export { datasetList, datasetListAt, datasetListRecursive, datasetListRecursiveP
|
|
|
25
25
|
// Tasks
|
|
26
26
|
export { taskList, taskGet, taskExecutionList } from './tasks.js';
|
|
27
27
|
// Functions / one-shot
|
|
28
|
-
export { functionList, functionDescribe, functionCall,
|
|
28
|
+
export { functionList, functionDescribe, functionCall, workspaceFunctionList, workspaceFunctionDescribe, workspaceFunctionCall, oneShotExecute, } from './functions.js';
|
|
29
29
|
// Executions
|
|
30
30
|
export { dataflowExecute, dataflowExecuteLaunch, dataflowExecutePoll, dataflowGraph, dataflowCancel, taskLogs,
|
|
31
31
|
// Backward compatibility aliases
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,QAAQ;AACR,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,QAAQ;AACR,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AA0CtC,0BAA0B;AAC1B,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAGtG,aAAa;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B,wBAAwB,EACxB,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EAClB,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,kBAAkB,EAClB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,eAAe,CAAC"}
|
package/dist/src/platform.d.ts
CHANGED
|
@@ -286,6 +286,9 @@ export declare const platform_function_call: import("@elaraai/east").AsyncPlatfo
|
|
|
286
286
|
readonly east_c: StructType<{
|
|
287
287
|
readonly platforms: ArrayType<StringType>;
|
|
288
288
|
}>;
|
|
289
|
+
readonly custom: StructType<{
|
|
290
|
+
readonly command: ArrayType<StringType>;
|
|
291
|
+
}>;
|
|
289
292
|
}>>;
|
|
290
293
|
readonly limits: import("@elaraai/east").OptionType<StructType<{
|
|
291
294
|
readonly timeoutMs: import("@elaraai/east").OptionType<IntegerType>;
|
|
@@ -340,6 +343,9 @@ export declare const platform_one_shot_execute: import("@elaraai/east").AsyncPla
|
|
|
340
343
|
readonly east_c: StructType<{
|
|
341
344
|
readonly platforms: ArrayType<StringType>;
|
|
342
345
|
}>;
|
|
346
|
+
readonly custom: StructType<{
|
|
347
|
+
readonly command: ArrayType<StringType>;
|
|
348
|
+
}>;
|
|
343
349
|
}>;
|
|
344
350
|
readonly limits: import("@elaraai/east").OptionType<StructType<{
|
|
345
351
|
readonly timeoutMs: import("@elaraai/east").OptionType<IntegerType>;
|
|
@@ -652,6 +658,9 @@ export declare const Platform: {
|
|
|
652
658
|
readonly east_c: StructType<{
|
|
653
659
|
readonly platforms: ArrayType<StringType>;
|
|
654
660
|
}>;
|
|
661
|
+
readonly custom: StructType<{
|
|
662
|
+
readonly command: ArrayType<StringType>;
|
|
663
|
+
}>;
|
|
655
664
|
}>>;
|
|
656
665
|
readonly limits: import("@elaraai/east").OptionType<StructType<{
|
|
657
666
|
readonly timeoutMs: import("@elaraai/east").OptionType<IntegerType>;
|
|
@@ -705,6 +714,9 @@ export declare const Platform: {
|
|
|
705
714
|
readonly east_c: StructType<{
|
|
706
715
|
readonly platforms: ArrayType<StringType>;
|
|
707
716
|
}>;
|
|
717
|
+
readonly custom: StructType<{
|
|
718
|
+
readonly command: ArrayType<StringType>;
|
|
719
|
+
}>;
|
|
708
720
|
}>;
|
|
709
721
|
readonly limits: import("@elaraai/east").OptionType<StructType<{
|
|
710
722
|
readonly timeoutMs: import("@elaraai/east").OptionType<IntegerType>;
|
|
@@ -923,6 +935,9 @@ export declare const Platform: {
|
|
|
923
935
|
readonly east_c: StructType<{
|
|
924
936
|
readonly platforms: ArrayType<StringType>;
|
|
925
937
|
}>;
|
|
938
|
+
readonly custom: StructType<{
|
|
939
|
+
readonly command: ArrayType<StringType>;
|
|
940
|
+
}>;
|
|
926
941
|
}>>;
|
|
927
942
|
readonly limits: import("@elaraai/east").OptionType<StructType<{
|
|
928
943
|
readonly timeoutMs: import("@elaraai/east").OptionType<IntegerType>;
|
|
@@ -977,6 +992,9 @@ export declare const Platform: {
|
|
|
977
992
|
readonly east_c: StructType<{
|
|
978
993
|
readonly platforms: ArrayType<StringType>;
|
|
979
994
|
}>;
|
|
995
|
+
readonly custom: StructType<{
|
|
996
|
+
readonly command: ArrayType<StringType>;
|
|
997
|
+
}>;
|
|
980
998
|
}>;
|
|
981
999
|
readonly limits: import("@elaraai/east").OptionType<StructType<{
|
|
982
1000
|
readonly timeoutMs: import("@elaraai/east").OptionType<IntegerType>;
|
|
@@ -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;AAmE/D,eAAO,MAAM,oBAAoB;;;;;GAIhC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DX,CAAC;AAGX,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
package/dist/src/types.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* Types with "Api" prefix in e3-types are re-exported here with shorter names
|
|
10
10
|
* since API consumers don't see the conflicting domain types.
|
|
11
11
|
*/
|
|
12
|
-
export { WorkspaceNotFoundErrorType, WorkspaceNotDeployedErrorType, WorkspaceExistsErrorType, LockHolderType, WorkspaceLockedErrorType, PackageNotFoundErrorType, PackageExistsErrorType, PackageInvalidErrorType, DatasetNotFoundErrorType, TaskNotFoundErrorType, ExecutionNotFoundErrorType, ObjectNotFoundErrorType, DataflowErrorType, PermissionDeniedErrorType, InternalErrorType, RepositoryNotFoundErrorType, ErrorType, ResponseType, RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType, PackageListItemType, PackageImportResultType, PackageInfoType, PackageDetailsType, WorkspaceCreateRequestType, WorkspaceInfoType, WorkspaceDeployRequestType, WorkspaceExportRequestType, DatasetStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, TaskStatusType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, LogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType as ExecutionStatusType, DataflowExecutionSummaryType, ApiDataflowExecutionStateType as DataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, RunnerType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, FunctionCallRequestType, FunctionSignatureType,
|
|
13
|
-
export type { Error, RepositoryStatus, GcRequest, GcResult, AsyncOperationStatus, GcStartResult, GcStatusResult, PackageListItem, PackageImportResult, PackageInfo, PackageDetails, WorkspaceInfo, WorkspaceCreateRequest, WorkspaceDeployRequest, DatasetStatus, ApiTaskStatus as TaskStatus, DatasetStatusInfo, TaskStatusInfo, WorkspaceStatusSummary, WorkspaceStatusResult, TaskListItem, TaskDetails, DataflowRequest, LogChunk, TaskExecutionResult, DataflowResult, DataflowEvent, ApiExecutionStatus as ExecutionStatus, DataflowExecutionSummary, ApiDataflowExecutionState as DataflowExecutionState, ExecutionHistoryStatus, ExecutionListItem, TreeKind, ListEntry, DatasetStatusDetail, TransferUploadRequest, TransferUploadResponse, TransferDoneResponse, PackageImportStatus, PackageExportStatus, RunnerValue, ExecuteLimits, Diagnostic, ExecuteResult, FunctionCallRequest, FunctionSignature,
|
|
12
|
+
export { WorkspaceNotFoundErrorType, WorkspaceNotDeployedErrorType, WorkspaceExistsErrorType, LockHolderType, WorkspaceLockedErrorType, PackageNotFoundErrorType, PackageExistsErrorType, PackageInvalidErrorType, DatasetNotFoundErrorType, TaskNotFoundErrorType, ExecutionNotFoundErrorType, ObjectNotFoundErrorType, DataflowErrorType, PermissionDeniedErrorType, InternalErrorType, RepositoryNotFoundErrorType, ErrorType, ResponseType, RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType, PackageListItemType, PackageImportResultType, PackageInfoType, PackageDetailsType, WorkspaceCreateRequestType, WorkspaceInfoType, WorkspaceDeployRequestType, WorkspaceExportRequestType, DatasetStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, TaskStatusType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, LogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType as ExecutionStatusType, DataflowExecutionSummaryType, ApiDataflowExecutionStateType as DataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, RunnerType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType, DataflowGraphType, DataflowGraphTaskType, } from '@elaraai/e3-types';
|
|
13
|
+
export type { Error, RepositoryStatus, GcRequest, GcResult, AsyncOperationStatus, GcStartResult, GcStatusResult, PackageListItem, PackageImportResult, PackageInfo, PackageDetails, WorkspaceInfo, WorkspaceCreateRequest, WorkspaceDeployRequest, DatasetStatus, ApiTaskStatus as TaskStatus, DatasetStatusInfo, TaskStatusInfo, WorkspaceStatusSummary, WorkspaceStatusResult, TaskListItem, TaskDetails, DataflowRequest, LogChunk, TaskExecutionResult, DataflowResult, DataflowEvent, ApiExecutionStatus as ExecutionStatus, DataflowExecutionSummary, ApiDataflowExecutionState as DataflowExecutionState, ExecutionHistoryStatus, ExecutionListItem, TreeKind, ListEntry, DatasetStatusDetail, TransferUploadRequest, TransferUploadResponse, TransferDoneResponse, PackageImportStatus, PackageExportStatus, RunnerValue, ExecuteLimits, Diagnostic, ExecuteResult, FunctionCallRequest, FunctionSignature, OneShotRequest, DataflowGraph, DataflowGraphTask, } from '@elaraai/e3-types';
|
|
14
14
|
export declare const ApiTypes: {
|
|
15
15
|
readonly ErrorType: import("@elaraai/east").VariantType<{
|
|
16
16
|
readonly repository_not_found: import("@elaraai/east").StructType<{
|
|
@@ -869,6 +869,9 @@ export declare const ApiTypes: {
|
|
|
869
869
|
readonly east_c: import("@elaraai/east").StructType<{
|
|
870
870
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
871
871
|
}>;
|
|
872
|
+
readonly custom: import("@elaraai/east").StructType<{
|
|
873
|
+
readonly command: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
874
|
+
}>;
|
|
872
875
|
}>;
|
|
873
876
|
readonly ExecuteLimitsType: import("@elaraai/east").StructType<{
|
|
874
877
|
readonly timeoutMs: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
@@ -922,6 +925,9 @@ export declare const ApiTypes: {
|
|
|
922
925
|
readonly east_c: import("@elaraai/east").StructType<{
|
|
923
926
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
924
927
|
}>;
|
|
928
|
+
readonly custom: import("@elaraai/east").StructType<{
|
|
929
|
+
readonly command: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
930
|
+
}>;
|
|
925
931
|
}>>;
|
|
926
932
|
readonly limits: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
|
|
927
933
|
readonly timeoutMs: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
@@ -1025,54 +1031,10 @@ export declare const ApiTypes: {
|
|
|
1025
1031
|
readonly east_c: import("@elaraai/east").StructType<{
|
|
1026
1032
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1027
1033
|
}>;
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
readonly CallStartResultType: import("@elaraai/east").StructType<{
|
|
1031
|
-
readonly callId: import("@elaraai/east").StringType;
|
|
1032
|
-
}>;
|
|
1033
|
-
readonly CallStatusType: import("@elaraai/east").VariantType<{
|
|
1034
|
-
readonly running: import("@elaraai/east").NullType;
|
|
1035
|
-
readonly succeeded: import("@elaraai/east").NullType;
|
|
1036
|
-
readonly failed: import("@elaraai/east").NullType;
|
|
1037
|
-
readonly cancelled: import("@elaraai/east").NullType;
|
|
1038
|
-
}>;
|
|
1039
|
-
readonly CallStatusResultType: import("@elaraai/east").StructType<{
|
|
1040
|
-
readonly status: import("@elaraai/east").VariantType<{
|
|
1041
|
-
readonly running: import("@elaraai/east").NullType;
|
|
1042
|
-
readonly succeeded: import("@elaraai/east").NullType;
|
|
1043
|
-
readonly failed: import("@elaraai/east").NullType;
|
|
1044
|
-
readonly cancelled: import("@elaraai/east").NullType;
|
|
1045
|
-
}>;
|
|
1046
|
-
readonly result: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
|
|
1047
|
-
readonly outcome: import("@elaraai/east").VariantType<{
|
|
1048
|
-
readonly success: import("@elaraai/east").StructType<{
|
|
1049
|
-
readonly value: import("@elaraai/east").BlobType;
|
|
1050
|
-
}>;
|
|
1051
|
-
readonly failed: import("@elaraai/east").StructType<{
|
|
1052
|
-
readonly exitCode: import("@elaraai/east").IntegerType;
|
|
1053
|
-
}>;
|
|
1054
|
-
readonly invalid: import("@elaraai/east").StructType<{
|
|
1055
|
-
readonly diagnostics: import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
|
|
1056
|
-
readonly message: import("@elaraai/east").StringType;
|
|
1057
|
-
readonly filename: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
1058
|
-
readonly line: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
1059
|
-
readonly column: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
1060
|
-
}>>;
|
|
1061
|
-
}>;
|
|
1062
|
-
readonly too_large: import("@elaraai/east").StructType<{
|
|
1063
|
-
readonly bytes: import("@elaraai/east").IntegerType;
|
|
1064
|
-
readonly limit: import("@elaraai/east").IntegerType;
|
|
1065
|
-
}>;
|
|
1066
|
-
readonly timed_out: import("@elaraai/east").StructType<{
|
|
1067
|
-
readonly ms: import("@elaraai/east").IntegerType;
|
|
1068
|
-
}>;
|
|
1034
|
+
readonly custom: import("@elaraai/east").StructType<{
|
|
1035
|
+
readonly command: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1069
1036
|
}>;
|
|
1070
|
-
|
|
1071
|
-
readonly stderr: import("@elaraai/east").StringType;
|
|
1072
|
-
readonly stdoutTruncated: import("@elaraai/east").BooleanType;
|
|
1073
|
-
readonly stderrTruncated: import("@elaraai/east").BooleanType;
|
|
1074
|
-
}>>;
|
|
1075
|
-
readonly error: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
1037
|
+
}>;
|
|
1076
1038
|
}>;
|
|
1077
1039
|
readonly OneShotRequestType: import("@elaraai/east").StructType<{
|
|
1078
1040
|
readonly bodyIr: import("@elaraai/east").BlobType;
|
|
@@ -1092,6 +1054,9 @@ export declare const ApiTypes: {
|
|
|
1092
1054
|
readonly east_c: import("@elaraai/east").StructType<{
|
|
1093
1055
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1094
1056
|
}>;
|
|
1057
|
+
readonly custom: import("@elaraai/east").StructType<{
|
|
1058
|
+
readonly command: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1059
|
+
}>;
|
|
1095
1060
|
}>;
|
|
1096
1061
|
readonly limits: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
|
|
1097
1062
|
readonly timeoutMs: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
package/dist/src/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAGH,OAAO,EAEL,0BAA0B,EAC1B,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,EACvB,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,EACjB,2BAA2B,EAC3B,SAAS,EACT,YAAY,EAEZ,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAElB,mBAAmB,EACnB,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAElB,0BAA0B,EAC1B,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B,EAE1B,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,cAAc,EACd,qBAAqB,EACrB,kBAAkB,EAClB,0BAA0B,EAC1B,yBAAyB,EAEzB,gBAAgB,EAChB,eAAe,EAEf,mBAAmB,EACnB,YAAY,EACZ,uBAAuB,EACvB,kBAAkB,EAElB,iBAAiB,EACjB,sBAAsB,IAAI,mBAAmB,EAC7C,4BAA4B,EAC5B,6BAA6B,IAAI,0BAA0B,EAE3D,0BAA0B,EAC1B,qBAAqB,EAErB,YAAY,EACZ,aAAa,EAEb,uBAAuB,EAEvB,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EAEvB,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,uBAAuB,EACvB,qBAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAGH,OAAO,EAEL,0BAA0B,EAC1B,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,EACvB,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,EACjB,2BAA2B,EAC3B,SAAS,EACT,YAAY,EAEZ,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAElB,mBAAmB,EACnB,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAElB,0BAA0B,EAC1B,iBAAiB,EACjB,0BAA0B,EAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuGX,CAAC"}
|
package/dist/src/types.js
CHANGED
|
@@ -36,13 +36,13 @@ DatasetStatusDetailType,
|
|
|
36
36
|
// Transfer types
|
|
37
37
|
TransferUploadRequestType, TransferUploadResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType,
|
|
38
38
|
// Function / one-shot execution
|
|
39
|
-
RunnerType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, FunctionCallRequestType, FunctionSignatureType,
|
|
39
|
+
RunnerType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType,
|
|
40
40
|
// Graph types (from dataflow.ts, structurally identical to old API GraphTaskType)
|
|
41
41
|
DataflowGraphType, DataflowGraphTaskType, } from '@elaraai/e3-types';
|
|
42
42
|
// =============================================================================
|
|
43
43
|
// Namespace export for convenience
|
|
44
44
|
// =============================================================================
|
|
45
|
-
import { ErrorType, RepositoryNotFoundErrorType, WorkspaceNotFoundErrorType, WorkspaceNotDeployedErrorType, WorkspaceExistsErrorType, WorkspaceLockedErrorType, LockHolderType, PackageNotFoundErrorType, PackageExistsErrorType, PackageInvalidErrorType, DatasetNotFoundErrorType, TaskNotFoundErrorType, ExecutionNotFoundErrorType, ObjectNotFoundErrorType, DataflowErrorType, PermissionDeniedErrorType, InternalErrorType, ResponseType, RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType, PackageListItemType, PackageImportResultType, PackageInfoType, PackageDetailsType, WorkspaceCreateRequestType, WorkspaceInfoType, WorkspaceDeployRequestType, WorkspaceExportRequestType, DatasetStatusType, TaskStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, DataflowGraphType, DataflowGraphTaskType, LogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType, DataflowExecutionSummaryType, ApiDataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, RunnerType as _RunnerType, ExecuteLimitsType as _ExecuteLimitsType, DiagnosticType as _DiagnosticType, ExecuteResultType as _ExecuteResultType, FunctionCallRequestType as _FunctionCallRequestType, FunctionSignatureType as _FunctionSignatureType,
|
|
45
|
+
import { ErrorType, RepositoryNotFoundErrorType, WorkspaceNotFoundErrorType, WorkspaceNotDeployedErrorType, WorkspaceExistsErrorType, WorkspaceLockedErrorType, LockHolderType, PackageNotFoundErrorType, PackageExistsErrorType, PackageInvalidErrorType, DatasetNotFoundErrorType, TaskNotFoundErrorType, ExecutionNotFoundErrorType, ObjectNotFoundErrorType, DataflowErrorType, PermissionDeniedErrorType, InternalErrorType, ResponseType, RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType, PackageListItemType, PackageImportResultType, PackageInfoType, PackageDetailsType, WorkspaceCreateRequestType, WorkspaceInfoType, WorkspaceDeployRequestType, WorkspaceExportRequestType, DatasetStatusType, TaskStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, DataflowGraphType, DataflowGraphTaskType, LogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType, DataflowExecutionSummaryType, ApiDataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, RunnerType as _RunnerType, ExecuteLimitsType as _ExecuteLimitsType, DiagnosticType as _DiagnosticType, ExecuteResultType as _ExecuteResultType, FunctionCallRequestType as _FunctionCallRequestType, FunctionSignatureType as _FunctionSignatureType, OneShotRequestType as _OneShotRequestType, } from '@elaraai/e3-types';
|
|
46
46
|
export const ApiTypes = {
|
|
47
47
|
// Errors
|
|
48
48
|
ErrorType,
|
|
@@ -131,9 +131,6 @@ export const ApiTypes = {
|
|
|
131
131
|
ExecuteResultType: _ExecuteResultType,
|
|
132
132
|
FunctionCallRequestType: _FunctionCallRequestType,
|
|
133
133
|
FunctionSignatureType: _FunctionSignatureType,
|
|
134
|
-
CallStartResultType: _CallStartResultType,
|
|
135
|
-
CallStatusType: _CallStatusType,
|
|
136
|
-
CallStatusResultType: _CallStatusResultType,
|
|
137
134
|
OneShotRequestType: _OneShotRequestType,
|
|
138
135
|
};
|
|
139
136
|
//# sourceMappingURL=types.js.map
|
package/dist/src/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAEH,oDAAoD;AACpD,OAAO;AACL,cAAc;AACd,0BAA0B,EAC1B,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,EACvB,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,EACjB,2BAA2B,EAC3B,SAAS,EACT,YAAY;AACZ,aAAa;AACb,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB;AAClB,WAAW;AACX,mBAAmB,EACnB,uBAAuB,EACvB,eAAe,EACf,kBAAkB;AAClB,aAAa;AACb,0BAA0B,EAC1B,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B;AAC1B,mBAAmB;AACnB,iBAAiB,EACjB,sBAAsB,EACtB,qBAAqB,EACrB,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,cAAc,EACd,qBAAqB,EACrB,kBAAkB,EAClB,0BAA0B,EAC1B,yBAAyB;AACzB,QAAQ;AACR,gBAAgB,EAChB,eAAe;AACf,YAAY;AACZ,mBAAmB,EACnB,YAAY,EACZ,uBAAuB,EACvB,kBAAkB;AAClB,uBAAuB;AACvB,iBAAiB,EACjB,sBAAsB,IAAI,mBAAmB,EAC7C,4BAA4B,EAC5B,6BAA6B,IAAI,0BAA0B;AAC3D,yBAAyB;AACzB,0BAA0B,EAC1B,qBAAqB;AACrB,eAAe;AACf,YAAY,EACZ,aAAa;AACb,wBAAwB;AACxB,uBAAuB;AACvB,iBAAiB;AACjB,yBAAyB,EACzB,0BAA0B,EAC1B,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB;AACvB,gCAAgC;AAChC,UAAU,EACV,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,uBAAuB,EACvB,qBAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAEH,oDAAoD;AACpD,OAAO;AACL,cAAc;AACd,0BAA0B,EAC1B,6BAA6B,EAC7B,wBAAwB,EACxB,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,EACvB,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,EAC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@@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elaraai/e3-api-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "East Execution Engine API Client - TypeScript client library for e3 API server",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"directory": "libs/e3/packages/e3-api-client"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@elaraai/e3-types": "1.0.
|
|
33
|
+
"@elaraai/e3-types": "1.0.8"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@elaraai/east": "1.0.
|
|
36
|
+
"@elaraai/east": "1.0.8"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^22.0.0",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"eslint": "^9.0.0",
|
|
43
43
|
"eslint-plugin-headers": "^1.3.3",
|
|
44
44
|
"typescript": "^5.6.0",
|
|
45
|
-
"@elaraai/east-node-std": "1.0.
|
|
45
|
+
"@elaraai/east-node-std": "1.0.8"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsc",
|