@elaraai/e3-api-client 1.0.86 → 1.0.88
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/executions.d.ts +28 -2
- package/dist/src/executions.d.ts.map +1 -1
- package/dist/src/executions.js +65 -7
- package/dist/src/executions.js.map +1 -1
- package/dist/src/http.d.ts +67 -1
- package/dist/src/http.d.ts.map +1 -1
- package/dist/src/http.js +87 -3
- package/dist/src/http.js.map +1 -1
- package/dist/src/index.d.ts +6 -6
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/repository.d.ts +24 -5
- package/dist/src/repository.d.ts.map +1 -1
- package/dist/src/repository.js +47 -8
- package/dist/src/repository.js.map +1 -1
- package/dist/src/repository.spec.d.ts +6 -0
- package/dist/src/repository.spec.d.ts.map +1 -0
- package/dist/src/repository.spec.js +95 -0
- package/dist/src/repository.spec.js.map +1 -0
- package/dist/src/stopping-run.spec.d.ts +6 -0
- package/dist/src/stopping-run.spec.d.ts.map +1 -0
- package/dist/src/stopping-run.spec.js +145 -0
- package/dist/src/stopping-run.spec.js.map +1 -0
- package/dist/src/types.d.ts +71 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js +7 -3
- package/dist/src/types.js.map +1 -1
- package/dist/src/workspaces.d.ts +44 -6
- package/dist/src/workspaces.d.ts.map +1 -1
- package/dist/src/workspaces.js +47 -10
- package/dist/src/workspaces.js.map +1 -1
- package/package.json +4 -4
package/dist/src/types.js
CHANGED
|
@@ -14,11 +14,11 @@ export {
|
|
|
14
14
|
// Error types
|
|
15
15
|
WorkspaceNotFoundErrorType, WorkspaceNotDeployedErrorType, WorkspaceExistsErrorType, LockHolderType, WorkspaceLockedErrorType, PackageNotFoundErrorType, PackageExistsErrorType, PackageInvalidErrorType, DatasetNotFoundErrorType, TaskNotFoundErrorType, ExecutionNotFoundErrorType, ObjectNotFoundErrorType, DataflowErrorType, PermissionDeniedErrorType, InternalErrorType, RepositoryNotFoundErrorType, ErrorType, ResponseType,
|
|
16
16
|
// Repository
|
|
17
|
-
RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType,
|
|
17
|
+
RepositoryStatusType, GcRequestType, GcResultType, AsyncOperationStatusType, GcStartResultType, GcStatusResultType, RepositoryRemovalType,
|
|
18
18
|
// Packages
|
|
19
19
|
PackageListItemType, PackageImportResultType, PackageInfoType, PackageDetailsType,
|
|
20
20
|
// Workspaces
|
|
21
|
-
WorkspaceCreateRequestType, WorkspaceInfoType, SchemaPolicyType, WorkspaceDeployRequestType, RecordPlanType, RecordIndexPlanType, WorkspaceDeployResultType, WorkspaceDeployProgressType, WorkspaceDeployStatusType, WorkspaceExportRequestType, LockStatusType,
|
|
21
|
+
WorkspaceCreateRequestType, WorkspaceCopyRequestType, WorkspaceInfoType, SchemaPolicyType, InputPolicyType, WorkspaceDeployRequestType, RecordPlanType, RecordIndexPlanType, InputPlanType, WorkspaceDeployResultType, WorkspaceDeployProgressType, WorkspaceDeployStatusType, WorkspaceExportRequestType, LockStatusType,
|
|
22
22
|
// Workspace Status
|
|
23
23
|
DatasetStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, TaskStatusType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType,
|
|
24
24
|
// Tasks
|
|
@@ -44,7 +44,7 @@ DataflowGraphType, DataflowGraphTaskType, } from '@elaraai/e3-types';
|
|
|
44
44
|
// =============================================================================
|
|
45
45
|
// Namespace export for convenience
|
|
46
46
|
// =============================================================================
|
|
47
|
-
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, SchemaPolicyType, WorkspaceDeployRequestType, RecordPlanType, RecordIndexPlanType, WorkspaceDeployResultType, WorkspaceDeployProgressType, WorkspaceDeployStatusType, WorkspaceExportRequestType, LockStatusType, DatasetStatusType, TaskStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, DataflowGraphType, DataflowGraphTaskType, LogChunkType, TaskLogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferPartResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, RunnerType as _RunnerType, ExecuteLimitsType as _ExecuteLimitsType, DiagnosticType as _DiagnosticType, ExecuteResultType as _ExecuteResultType, CallArgType as _CallArgType, FunctionCallRequestType as _FunctionCallRequestType, FunctionSignatureType as _FunctionSignatureType, OneShotRequestType as _OneShotRequestType, SplitCallArgType as _SplitCallArgType, SplitCallRequestType as _SplitCallRequestType, SplitCallProgressType as _SplitCallProgressType, SplitCallStatusType as _SplitCallStatusType, SplitCallPlanType as _SplitCallPlanType, } from '@elaraai/e3-types';
|
|
47
|
+
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, RepositoryRemovalType, PackageListItemType, PackageImportResultType, PackageInfoType, PackageDetailsType, WorkspaceCreateRequestType, WorkspaceCopyRequestType, WorkspaceInfoType, SchemaPolicyType, InputPolicyType, WorkspaceDeployRequestType, RecordPlanType, RecordIndexPlanType, InputPlanType, WorkspaceDeployResultType, WorkspaceDeployProgressType, WorkspaceDeployStatusType, WorkspaceExportRequestType, LockStatusType, DatasetStatusType, TaskStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, DataflowGraphType, DataflowGraphTaskType, LogChunkType, TaskLogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferPartResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, RunnerType as _RunnerType, ExecuteLimitsType as _ExecuteLimitsType, DiagnosticType as _DiagnosticType, ExecuteResultType as _ExecuteResultType, CallArgType as _CallArgType, FunctionCallRequestType as _FunctionCallRequestType, FunctionSignatureType as _FunctionSignatureType, OneShotRequestType as _OneShotRequestType, SplitCallArgType as _SplitCallArgType, SplitCallRequestType as _SplitCallRequestType, SplitCallProgressType as _SplitCallProgressType, SplitCallStatusType as _SplitCallStatusType, SplitCallPlanType as _SplitCallPlanType, } from '@elaraai/e3-types';
|
|
48
48
|
export const ApiTypes = {
|
|
49
49
|
// Errors
|
|
50
50
|
ErrorType,
|
|
@@ -74,6 +74,7 @@ export const ApiTypes = {
|
|
|
74
74
|
AsyncOperationStatusType,
|
|
75
75
|
GcStartResultType,
|
|
76
76
|
GcStatusResultType,
|
|
77
|
+
RepositoryRemovalType,
|
|
77
78
|
// Packages
|
|
78
79
|
PackageListItemType,
|
|
79
80
|
PackageImportResultType,
|
|
@@ -81,11 +82,14 @@ export const ApiTypes = {
|
|
|
81
82
|
PackageDetailsType,
|
|
82
83
|
// Workspaces
|
|
83
84
|
WorkspaceCreateRequestType,
|
|
85
|
+
WorkspaceCopyRequestType,
|
|
84
86
|
WorkspaceInfoType,
|
|
85
87
|
SchemaPolicyType,
|
|
88
|
+
InputPolicyType,
|
|
86
89
|
WorkspaceDeployRequestType,
|
|
87
90
|
RecordPlanType,
|
|
88
91
|
RecordIndexPlanType,
|
|
92
|
+
InputPlanType,
|
|
89
93
|
WorkspaceDeployResultType,
|
|
90
94
|
WorkspaceDeployProgressType,
|
|
91
95
|
WorkspaceDeployStatusType,
|
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;
|
|
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,EAClB,qBAAqB;AACrB,WAAW;AACX,mBAAmB,EACnB,uBAAuB,EACvB,eAAe,EACf,kBAAkB;AAClB,aAAa;AACb,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,0BAA0B,EAC1B,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc;AACd,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,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB;AAClB,uBAAuB;AACvB,iBAAiB,EACjB,sBAAsB,IAAI,mBAA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IACX,yBAAyB;IACzB,0BAA0B;IAC1B,wBAAwB;IACxB,wBAAwB;IACxB,uBAAuB;IACvB,uBAAuB;IAEvB,gCAAgC;IAChC,UAAU,EAAE,WAAW;IACvB,iBAAiB,EAAE,kBAAkB;IACrC,cAAc,EAAE,eAAe;IAC/B,iBAAiB,EAAE,kBAAkB;IACrC,WAAW,EAAE,YAAY;IACzB,uBAAuB,EAAE,wBAAwB;IACjD,qBAAqB,EAAE,sBAAsB;IAC7C,kBAAkB,EAAE,mBAAmB;IAEvC,cAAc;IACd,gBAAgB,EAAE,iBAAiB;IACnC,oBAAoB,EAAE,qBAAqB;IAC3C,qBAAqB,EAAE,sBAAsB;IAC7C,mBAAmB,EAAE,oBAAoB;IACzC,iBAAiB,EAAE,kBAAkB;CAC7B,CAAC"}
|
package/dist/src/workspaces.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under BSL 1.1. See LICENSE for details.
|
|
4
4
|
*/
|
|
5
5
|
import { type WorkspaceState, type PackageExportProgress, type TreePath } from '@elaraai/e3-types';
|
|
6
|
-
import type { LockStatus, SchemaPolicy, WorkspaceDeployProgress, WorkspaceDeployResult, WorkspaceInfo, WorkspaceStatusResult } from './types.js';
|
|
6
|
+
import type { InputPolicy, LockStatus, SchemaPolicy, WorkspaceDeployProgress, WorkspaceDeployResult, WorkspaceInfo, WorkspaceStatusResult } from './types.js';
|
|
7
7
|
import { type RequestOptions } from './http.js';
|
|
8
8
|
/**
|
|
9
9
|
* List all workspaces in the repository.
|
|
@@ -28,6 +28,31 @@ export declare function workspaceList(url: string, repo: string, options: Reques
|
|
|
28
28
|
* @throws {AuthError} On 401 Unauthorized
|
|
29
29
|
*/
|
|
30
30
|
export declare function workspaceCreate(url: string, repo: string, name: string, options: RequestOptions): Promise<WorkspaceInfo>;
|
|
31
|
+
/**
|
|
32
|
+
* Copy a workspace within its repository: the target becomes the source as it
|
|
33
|
+
* is now — its deployed package and every dataset ref, each record's head and
|
|
34
|
+
* indexes and each task's output with them, so nothing needs to run again.
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* The copy writes refs only, so it costs what the workspace has of datasets,
|
|
38
|
+
* never what they weigh. Nothing in the source changes, and a write to either
|
|
39
|
+
* workspace afterwards leaves the other as it was. A target that exists is
|
|
40
|
+
* replaced whole, its runs with it. The server holds the source shared, so
|
|
41
|
+
* its work goes on, and the target exclusively, as a deploy does.
|
|
42
|
+
*
|
|
43
|
+
* @param url - Base URL of the e3 API server
|
|
44
|
+
* @param repo - Repository name
|
|
45
|
+
* @param from - The workspace copied
|
|
46
|
+
* @param to - The workspace it is copied to, made or replaced
|
|
47
|
+
* @param options - Request options including auth token
|
|
48
|
+
* @returns The target, as the workspace list gives it
|
|
49
|
+
* @throws {ApiError} `workspace_not_found` for a source that does not exist,
|
|
50
|
+
* `workspace_locked` for a target a dataflow runs in or something else
|
|
51
|
+
* holds, or a source held exclusively, and `invalid_name` for a name no
|
|
52
|
+
* workspace can have, or a target that is the source
|
|
53
|
+
* @throws {AuthError} On 401 Unauthorized
|
|
54
|
+
*/
|
|
55
|
+
export declare function workspaceCopy(url: string, repo: string, from: string, to: string, options: RequestOptions): Promise<WorkspaceInfo>;
|
|
31
56
|
/**
|
|
32
57
|
* Get workspace state (deployed package info and current root hash).
|
|
33
58
|
*
|
|
@@ -91,11 +116,16 @@ export declare function workspaceLockStatus(url: string, repo: string, name: str
|
|
|
91
116
|
/**
|
|
92
117
|
* Remove a workspace.
|
|
93
118
|
*
|
|
119
|
+
* @remarks
|
|
120
|
+
* A workspace a run that is stopping still holds is refused with a
|
|
121
|
+
* `Retry-After`, which the client waits out ({@link retryingRefusal}).
|
|
122
|
+
*
|
|
94
123
|
* @param url - Base URL of the e3 API server
|
|
95
124
|
* @param repo - Repository name
|
|
96
125
|
* @param name - Workspace name
|
|
97
126
|
* @param options - Request options including auth token
|
|
98
|
-
* @throws {ApiError} On application-level errors
|
|
127
|
+
* @throws {ApiError} On application-level errors: `workspace_locked` while
|
|
128
|
+
* something else holds the workspace
|
|
99
129
|
* @throws {AuthError} On 401 Unauthorized
|
|
100
130
|
*/
|
|
101
131
|
export declare function workspaceRemove(url: string, repo: string, name: string, options: RequestOptions): Promise<void>;
|
|
@@ -106,6 +136,10 @@ export interface WorkspaceDeployOptions {
|
|
|
106
136
|
/** What the deploy does with a record it cannot keep as it is (default
|
|
107
137
|
* `migrate`). */
|
|
108
138
|
schema?: SchemaPolicy;
|
|
139
|
+
/** What the deploy does with an input someone set: give it the package's
|
|
140
|
+
* value (`reset`, the default), or keep it while its type is the package's
|
|
141
|
+
* (`keep-edited`). */
|
|
142
|
+
inputs?: InputPolicy;
|
|
109
143
|
/** Whether a record the package no longer declares may be dropped, with its
|
|
110
144
|
* state and history (default false). */
|
|
111
145
|
allowDropRecords?: boolean;
|
|
@@ -122,16 +156,20 @@ export interface WorkspaceDeployOptions {
|
|
|
122
156
|
* The server runs the deploy as a job, since one that migrates a record, or
|
|
123
157
|
* builds an index over one, can outlast a request. This starts the job and
|
|
124
158
|
* polls it until it answers: 100 ms apart at first, backing off to a second.
|
|
159
|
+
* A workspace a run that is stopping still holds is refused with a
|
|
160
|
+
* `Retry-After`, which the client waits out before it starts the job
|
|
161
|
+
* ({@link retryingRefusal}).
|
|
125
162
|
*
|
|
126
163
|
* @param url - Base URL of the e3 API server
|
|
127
164
|
* @param repo - Repository name
|
|
128
165
|
* @param name - Workspace name
|
|
129
166
|
* @param packageRef - Package reference (name or name@version)
|
|
130
167
|
* @param options - Request options including auth token
|
|
131
|
-
* @param deployOptions - What the deploy does with a record it cannot keep
|
|
132
|
-
* whether it only plans, and its progress and
|
|
133
|
-
*
|
|
134
|
-
*
|
|
168
|
+
* @param deployOptions - What the deploy does with a record it cannot keep and
|
|
169
|
+
* with an input someone set, whether it only plans, and its progress and
|
|
170
|
+
* cancellation
|
|
171
|
+
* @returns What the deploy decided for each record, index and input, and the
|
|
172
|
+
* inputs it left unassigned
|
|
135
173
|
* @throws {ApiError} When the server does not start the deploy, such as for a
|
|
136
174
|
* package the repository does not hold
|
|
137
175
|
* @throws {AuthError} On 401 Unauthorized
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/workspaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAEL,KAAK,cAAc,EAGnB,KAAK,qBAAqB,EAC1B,KAAK,QAAQ,EACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,UAAU,EAAE,YAAY,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,aAAa,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/workspaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAEL,KAAK,cAAc,EAGnB,KAAK,qBAAqB,EAC1B,KAAK,QAAQ,EACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,aAAa,EAAE,qBAAqB,EAC5H,MAAM,YAAY,CAAC;AAapB,OAAO,EAA+E,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AAG7H;;;;;;;;;GASG;AACH,wBAAsB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAEhH;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC,CAS9H;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAsB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI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E,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACzD,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAsB,eAAe,CACnC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,cAAc,EACvB,aAAa,GAAE,sBAA2B,GACzC,OAAO,CAAC,qBAAqB,CAAC,CAyBhC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACvD,kBAAkB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjE,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,eAAe,CACnC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,MAAM,EACZ,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,cAAc,EACvB,aAAa,CAAC,EAAE,sBAAsB,GACrC,OAAO,CAAC,UAAU,CAAC,CA0CrB"}
|
package/dist/src/workspaces.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { ArrayType, NullType, OptionType, encodeBeast2For, decodeBeast2For, some, none, variant } from '@elaraai/east';
|
|
6
6
|
import { WorkspaceStateType, PackageJobResponseType, pathToString, } from '@elaraai/e3-types';
|
|
7
|
-
import { WorkspaceInfoType, WorkspaceCreateRequestType, WorkspaceDeployRequestType, WorkspaceDeployStatusType, WorkspaceStatusResultType, WorkspaceExportRequestType, LockStatusType, ResponseType, } from './types.js';
|
|
7
|
+
import { WorkspaceInfoType, WorkspaceCreateRequestType, WorkspaceCopyRequestType, WorkspaceDeployRequestType, WorkspaceDeployStatusType, WorkspaceStatusResultType, WorkspaceExportRequestType, LockStatusType, ResponseType, } from './types.js';
|
|
8
8
|
import { BEAST2_CONTENT_TYPE } from '@elaraai/e3-types';
|
|
9
|
-
import { get, post, del, fetchWithAuth, fetchWithProgress, ApiError } from './http.js';
|
|
9
|
+
import { get, post, del, fetchWithAuth, fetchWithProgress, retryingRefusal, ApiError } from './http.js';
|
|
10
10
|
import { JOB_POLL_MAX_MS, JOB_POLL_MIN_MS, pollExport } from './packages.js';
|
|
11
11
|
/**
|
|
12
12
|
* List all workspaces in the repository.
|
|
@@ -35,6 +35,33 @@ export async function workspaceList(url, repo, options) {
|
|
|
35
35
|
export async function workspaceCreate(url, repo, name, options) {
|
|
36
36
|
return post(url, `/repos/${encodeURIComponent(repo)}/workspaces`, { name }, WorkspaceCreateRequestType, WorkspaceInfoType, options);
|
|
37
37
|
}
|
|
38
|
+
/**
|
|
39
|
+
* Copy a workspace within its repository: the target becomes the source as it
|
|
40
|
+
* is now — its deployed package and every dataset ref, each record's head and
|
|
41
|
+
* indexes and each task's output with them, so nothing needs to run again.
|
|
42
|
+
*
|
|
43
|
+
* @remarks
|
|
44
|
+
* The copy writes refs only, so it costs what the workspace has of datasets,
|
|
45
|
+
* never what they weigh. Nothing in the source changes, and a write to either
|
|
46
|
+
* workspace afterwards leaves the other as it was. A target that exists is
|
|
47
|
+
* replaced whole, its runs with it. The server holds the source shared, so
|
|
48
|
+
* its work goes on, and the target exclusively, as a deploy does.
|
|
49
|
+
*
|
|
50
|
+
* @param url - Base URL of the e3 API server
|
|
51
|
+
* @param repo - Repository name
|
|
52
|
+
* @param from - The workspace copied
|
|
53
|
+
* @param to - The workspace it is copied to, made or replaced
|
|
54
|
+
* @param options - Request options including auth token
|
|
55
|
+
* @returns The target, as the workspace list gives it
|
|
56
|
+
* @throws {ApiError} `workspace_not_found` for a source that does not exist,
|
|
57
|
+
* `workspace_locked` for a target a dataflow runs in or something else
|
|
58
|
+
* holds, or a source held exclusively, and `invalid_name` for a name no
|
|
59
|
+
* workspace can have, or a target that is the source
|
|
60
|
+
* @throws {AuthError} On 401 Unauthorized
|
|
61
|
+
*/
|
|
62
|
+
export async function workspaceCopy(url, repo, from, to, options) {
|
|
63
|
+
return post(url, `/repos/${encodeURIComponent(repo)}/workspaces/${encodeURIComponent(from)}/copy`, { to }, WorkspaceCopyRequestType, WorkspaceInfoType, options);
|
|
64
|
+
}
|
|
38
65
|
/**
|
|
39
66
|
* Get workspace state (deployed package info and current root hash).
|
|
40
67
|
*
|
|
@@ -98,15 +125,20 @@ export async function workspaceLockStatus(url, repo, name, options) {
|
|
|
98
125
|
/**
|
|
99
126
|
* Remove a workspace.
|
|
100
127
|
*
|
|
128
|
+
* @remarks
|
|
129
|
+
* A workspace a run that is stopping still holds is refused with a
|
|
130
|
+
* `Retry-After`, which the client waits out ({@link retryingRefusal}).
|
|
131
|
+
*
|
|
101
132
|
* @param url - Base URL of the e3 API server
|
|
102
133
|
* @param repo - Repository name
|
|
103
134
|
* @param name - Workspace name
|
|
104
135
|
* @param options - Request options including auth token
|
|
105
|
-
* @throws {ApiError} On application-level errors
|
|
136
|
+
* @throws {ApiError} On application-level errors: `workspace_locked` while
|
|
137
|
+
* something else holds the workspace
|
|
106
138
|
* @throws {AuthError} On 401 Unauthorized
|
|
107
139
|
*/
|
|
108
140
|
export async function workspaceRemove(url, repo, name, options) {
|
|
109
|
-
await del(url, `/repos/${encodeURIComponent(repo)}/workspaces/${encodeURIComponent(name)}`, NullType, options);
|
|
141
|
+
await retryingRefusal('workspace_locked', () => del(url, `/repos/${encodeURIComponent(repo)}/workspaces/${encodeURIComponent(name)}`, NullType, options), options);
|
|
110
142
|
}
|
|
111
143
|
/**
|
|
112
144
|
* Deploy a package to a workspace.
|
|
@@ -115,16 +147,20 @@ export async function workspaceRemove(url, repo, name, options) {
|
|
|
115
147
|
* The server runs the deploy as a job, since one that migrates a record, or
|
|
116
148
|
* builds an index over one, can outlast a request. This starts the job and
|
|
117
149
|
* polls it until it answers: 100 ms apart at first, backing off to a second.
|
|
150
|
+
* A workspace a run that is stopping still holds is refused with a
|
|
151
|
+
* `Retry-After`, which the client waits out before it starts the job
|
|
152
|
+
* ({@link retryingRefusal}).
|
|
118
153
|
*
|
|
119
154
|
* @param url - Base URL of the e3 API server
|
|
120
155
|
* @param repo - Repository name
|
|
121
156
|
* @param name - Workspace name
|
|
122
157
|
* @param packageRef - Package reference (name or name@version)
|
|
123
158
|
* @param options - Request options including auth token
|
|
124
|
-
* @param deployOptions - What the deploy does with a record it cannot keep
|
|
125
|
-
* whether it only plans, and its progress and
|
|
126
|
-
*
|
|
127
|
-
*
|
|
159
|
+
* @param deployOptions - What the deploy does with a record it cannot keep and
|
|
160
|
+
* with an input someone set, whether it only plans, and its progress and
|
|
161
|
+
* cancellation
|
|
162
|
+
* @returns What the deploy decided for each record, index and input, and the
|
|
163
|
+
* inputs it left unassigned
|
|
128
164
|
* @throws {ApiError} When the server does not start the deploy, such as for a
|
|
129
165
|
* package the repository does not hold
|
|
130
166
|
* @throws {AuthError} On 401 Unauthorized
|
|
@@ -132,12 +168,13 @@ export async function workspaceRemove(url, repo, name, options) {
|
|
|
132
168
|
*/
|
|
133
169
|
export async function workspaceDeploy(url, repo, name, packageRef, options, deployOptions = {}) {
|
|
134
170
|
const path = `/repos/${encodeURIComponent(repo)}/workspaces/${encodeURIComponent(name)}/deploy`;
|
|
135
|
-
const { id } = await post(url, path, {
|
|
171
|
+
const { id } = await retryingRefusal('workspace_locked', () => post(url, path, {
|
|
136
172
|
packageRef,
|
|
137
173
|
schema: variant(deployOptions.schema ?? 'migrate', null),
|
|
174
|
+
inputs: variant(deployOptions.inputs ?? 'reset', null),
|
|
138
175
|
allowDropRecords: deployOptions.allowDropRecords ?? false,
|
|
139
176
|
plan: deployOptions.plan ?? false,
|
|
140
|
-
}, WorkspaceDeployRequestType, PackageJobResponseType, options);
|
|
177
|
+
}, WorkspaceDeployRequestType, PackageJobResponseType, options), options);
|
|
141
178
|
for (let wait = JOB_POLL_MIN_MS;; wait = Math.min(wait * 2, JOB_POLL_MAX_MS)) {
|
|
142
179
|
deployOptions.signal?.throwIfAborted();
|
|
143
180
|
const status = await get(url, `${path}/${encodeURIComponent(id)}`, WorkspaceDeployStatusType, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../src/workspaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACvH,OAAO,EACL,kBAAkB,EAElB,sBAAsB,EACtB,YAAY,GAGb,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAC1B,0BAA0B,EAC1B,yBAAyB,EACzB,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,YAAY,GACb,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,aAAa,EAAE,iBAAiB,EAAE,QAAQ,EAAuB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"workspaces.js","sourceRoot":"","sources":["../../src/workspaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,EAAE,eAAe,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACvH,OAAO,EACL,kBAAkB,EAElB,sBAAsB,EACtB,YAAY,GAGb,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAC1B,wB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;IAErC,4DAA4D;IAC5D,OAAO,iBAAiB,CAAC,WAAW,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;AAClG,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elaraai/e3-api-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.88",
|
|
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.88"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@elaraai/east": "1.0.
|
|
36
|
+
"@elaraai/east": "1.0.88"
|
|
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.88"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsc",
|