@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/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, SchemaPolicyType, WorkspaceDeployRequestType, RecordPlanType, RecordIndexPlanType, WorkspaceDeployResultType, WorkspaceDeployProgressType, WorkspaceDeployStatusType, WorkspaceExportRequestType, LockStatusType, DatasetStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, TaskStatusType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, LogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType as ExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType as DataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferPartResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, RunnerType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType, SplitCallArgType, SplitCallRequestType, SplitCallProgressType, SplitCallStatusType, SplitCallPlanType, MutationCallRequestType, MutationResultType, RecordSignatureType, RecordCommitInfoType, RecordHistoryResultType, DataflowGraphType, DataflowGraphTaskType, } from '@elaraai/e3-types';
|
|
13
|
-
export type { Error, RepositoryStatus, GcRequest, GcResult, AsyncOperationStatus, GcStartResult, GcStatusResult, PackageListItem, PackageImportResult, PackageInfo, PackageDetails, WorkspaceInfo, WorkspaceCreateRequest, WorkspaceDeployRequest, SchemaPolicy, RecordPlan, RecordIndexPlan, WorkspaceDeployResult, WorkspaceDeployProgress, WorkspaceDeployStatus, LockStatus, LockProgress, DeployProgress, RecordDeployState, RecordDeployStep, IntakeFile, IntakeStep, DatasetStatus, ApiTaskStatus as TaskStatus, DatasetStatusInfo, TaskStatusInfo, WorkspaceStatusSummary, WorkspaceStatusResult, TaskListItem, TaskDetails, DataflowRequest, LogChunk, TaskExecutionResult, DataflowResult, DataflowEvent, ApiExecutionStatus as ExecutionStatus, DataflowExecutionSummary, DataflowBudget, UnitWait, SplitProgress, StageUnit, RequeueReason, ApiDataflowExecutionState as DataflowExecutionState, ExecutionHistoryStatus, ExecutionListItem, TreeKind, ListEntry, DatasetStatusDetail, TransferUploadRequest, TransferUploadResponse, TransferPartResponse, TransferDoneResponse, PackageImportStatus, PackageExportStatus, RunnerValue, ExecuteLimits, Diagnostic, ExecuteResult, FunctionCallRequest, FunctionSignature, OneShotRequest, SplitCallArg, SplitCallRequest, SplitCallProgress, SplitCallStatus, SplitCallPlan, MutationCallRequest, MutationResult, RecordSignature, RecordCommitInfo, RecordHistoryResult, DataflowGraph, DataflowGraphTask, } from '@elaraai/e3-types';
|
|
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, SchemaPolicyType, WorkspaceDeployRequestType, RecordPlanType, RecordIndexPlanType, WorkspaceDeployResultType, WorkspaceDeployProgressType, WorkspaceDeployStatusType, WorkspaceExportRequestType, LockStatusType, DatasetStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInProgressType, TaskStatusFailedType, TaskStatusErrorType, TaskStatusStaleRunningType, TaskStatusType, DatasetStatusInfoType, TaskStatusInfoType, WorkspaceStatusSummaryType, WorkspaceStatusResultType, TaskListItemType, TaskDetailsType, DataflowRequestType, LogChunkType, TaskLogChunkType, TaskExecutionResultType, DataflowResultType, DataflowEventType, ApiExecutionStatusType as ExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType as DataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TASK_EXECUTIONS_PAGE_DEFAULT, TASK_EXECUTIONS_PAGE_MAX, TreeKindType, ListEntryType, DatasetStatusDetailType, TransferUploadRequestType, TransferUploadResponseType, TransferPartResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType, RunnerType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, CallArgType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType, SplitCallArgType, SplitCallRequestType, SplitCallProgressType, SplitCallStatusType, SplitCallPlanType, MutationCallRequestType, MutationResultType, RecordMigrationAppliedType, RecordSignatureType, RecordCommitInfoType, RecordArgPreviewType, RecordCommitArgsType, RecordHistoryCommitType, RecordHistoryResultType, RECORD_ARG_TEXT_CHARS, RECORD_ARG_TEXT_BYTES, RECORD_ARGS_READ_BYTES, DataflowGraphType, DataflowGraphTaskType, } from '@elaraai/e3-types';
|
|
13
|
+
export type { Error, RepositoryStatus, GcRequest, GcResult, AsyncOperationStatus, GcStartResult, GcStatusResult, PackageListItem, PackageImportResult, PackageInfo, PackageDetails, WorkspaceInfo, WorkspaceCreateRequest, WorkspaceDeployRequest, SchemaPolicy, RecordPlan, RecordIndexPlan, WorkspaceDeployResult, WorkspaceDeployProgress, WorkspaceDeployStatus, LockStatus, LockProgress, DeployProgress, RecordDeployState, RecordDeployStep, IntakeFile, IntakeStep, DatasetStatus, ApiTaskStatus as TaskStatus, DatasetStatusInfo, TaskStatusInfo, WorkspaceStatusSummary, WorkspaceStatusResult, TaskListItem, TaskDetails, DataflowRequest, LogChunk, TaskLogChunk, TaskExecutionResult, DataflowResult, DataflowEvent, ApiExecutionStatus as ExecutionStatus, DataflowExecutionSummary, DataflowBudget, UnitWait, SplitProgress, StageUnit, RequeueReason, ApiDataflowExecutionState as DataflowExecutionState, ExecutionHistoryStatus, ExecutionListItem, TreeKind, ListEntry, DatasetStatusDetail, TransferUploadRequest, TransferUploadResponse, TransferPartResponse, TransferDoneResponse, PackageImportStatus, PackageExportStatus, RunnerValue, ExecuteLimits, Diagnostic, ExecuteResult, CallArg, FunctionCallRequest, FunctionSignature, OneShotRequest, SplitCallArg, SplitCallRequest, SplitCallProgress, SplitCallStatus, SplitCallPlan, MutationCallRequest, MutationResult, RecordMigrationApplied, RecordSignature, RecordCommitInfo, RecordArgPreview, RecordCommitArgs, RecordHistoryCommit, RecordHistoryResult, 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<{
|
|
@@ -767,6 +767,16 @@ export declare const ApiTypes: {
|
|
|
767
767
|
readonly output: import("@elaraai/east").StringType;
|
|
768
768
|
readonly dependsOn: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
769
769
|
readonly peakBytes: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
770
|
+
readonly stopped: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
|
|
771
|
+
readonly kind: import("@elaraai/east").VariantType<{
|
|
772
|
+
readonly aborted: import("@elaraai/east").NullType;
|
|
773
|
+
readonly yielded: import("@elaraai/east").NullType;
|
|
774
|
+
readonly owner_gone: import("@elaraai/east").NullType;
|
|
775
|
+
readonly host: import("@elaraai/east").StringType;
|
|
776
|
+
readonly unrecorded: import("@elaraai/east").NullType;
|
|
777
|
+
}>;
|
|
778
|
+
readonly message: import("@elaraai/east").StringType;
|
|
779
|
+
}>>;
|
|
770
780
|
}>;
|
|
771
781
|
readonly WorkspaceStatusSummaryType: import("@elaraai/east").StructType<{
|
|
772
782
|
readonly datasets: import("@elaraai/east").StructType<{
|
|
@@ -837,6 +847,16 @@ export declare const ApiTypes: {
|
|
|
837
847
|
readonly output: import("@elaraai/east").StringType;
|
|
838
848
|
readonly dependsOn: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
839
849
|
readonly peakBytes: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
850
|
+
readonly stopped: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
|
|
851
|
+
readonly kind: import("@elaraai/east").VariantType<{
|
|
852
|
+
readonly aborted: import("@elaraai/east").NullType;
|
|
853
|
+
readonly yielded: import("@elaraai/east").NullType;
|
|
854
|
+
readonly owner_gone: import("@elaraai/east").NullType;
|
|
855
|
+
readonly host: import("@elaraai/east").StringType;
|
|
856
|
+
readonly unrecorded: import("@elaraai/east").NullType;
|
|
857
|
+
}>;
|
|
858
|
+
readonly message: import("@elaraai/east").StringType;
|
|
859
|
+
}>>;
|
|
840
860
|
}>>;
|
|
841
861
|
readonly summary: import("@elaraai/east").StructType<{
|
|
842
862
|
readonly datasets: import("@elaraai/east").StructType<{
|
|
@@ -888,12 +908,24 @@ export declare const ApiTypes: {
|
|
|
888
908
|
readonly runner: import("@elaraai/east").VariantType<{
|
|
889
909
|
readonly east_node: import("@elaraai/east").StructType<{
|
|
890
910
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
911
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
912
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
913
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
914
|
+
}>;
|
|
891
915
|
}>;
|
|
892
916
|
readonly east_py: import("@elaraai/east").StructType<{
|
|
893
917
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
918
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
919
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
920
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
921
|
+
}>;
|
|
894
922
|
}>;
|
|
895
923
|
readonly east_c: import("@elaraai/east").StructType<{
|
|
896
924
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
925
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
926
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
927
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
928
|
+
}>;
|
|
897
929
|
}>;
|
|
898
930
|
readonly custom: import("@elaraai/east").StructType<{
|
|
899
931
|
readonly command: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
@@ -939,7 +971,11 @@ export declare const ApiTypes: {
|
|
|
939
971
|
}>;
|
|
940
972
|
}>;
|
|
941
973
|
readonly DataflowRequestType: import("@elaraai/east").StructType<{
|
|
942
|
-
readonly force: import("@elaraai/east").
|
|
974
|
+
readonly force: import("@elaraai/east").VariantType<{
|
|
975
|
+
readonly none: import("@elaraai/east").NullType;
|
|
976
|
+
readonly all: import("@elaraai/east").NullType;
|
|
977
|
+
readonly tasks: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
978
|
+
}>;
|
|
943
979
|
readonly filter: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
944
980
|
}>;
|
|
945
981
|
readonly DataflowGraphType: import("@elaraai/east").StructType<{
|
|
@@ -965,6 +1001,16 @@ export declare const ApiTypes: {
|
|
|
965
1001
|
readonly totalSize: import("@elaraai/east").IntegerType;
|
|
966
1002
|
readonly complete: import("@elaraai/east").BooleanType;
|
|
967
1003
|
}>;
|
|
1004
|
+
readonly TaskLogChunkType: import("@elaraai/east").StructType<{
|
|
1005
|
+
readonly data: import("@elaraai/east").StringType;
|
|
1006
|
+
readonly offset: import("@elaraai/east").IntegerType;
|
|
1007
|
+
readonly size: import("@elaraai/east").IntegerType;
|
|
1008
|
+
readonly totalSize: import("@elaraai/east").IntegerType;
|
|
1009
|
+
readonly complete: import("@elaraai/east").BooleanType;
|
|
1010
|
+
readonly inputsHash: import("@elaraai/east").StringType;
|
|
1011
|
+
readonly executionId: import("@elaraai/east").StringType;
|
|
1012
|
+
readonly ended: import("@elaraai/east").BooleanType;
|
|
1013
|
+
}>;
|
|
968
1014
|
readonly TaskExecutionResultType: import("@elaraai/east").StructType<{
|
|
969
1015
|
readonly name: import("@elaraai/east").StringType;
|
|
970
1016
|
readonly cached: import("@elaraai/east").BooleanType;
|
|
@@ -1096,6 +1142,7 @@ export declare const ApiTypes: {
|
|
|
1096
1142
|
readonly units: import("@elaraai/east").IntegerType;
|
|
1097
1143
|
}>;
|
|
1098
1144
|
readonly DataflowExecutionStateType: import("@elaraai/east").StructType<{
|
|
1145
|
+
readonly runId: import("@elaraai/east").StringType;
|
|
1099
1146
|
readonly status: import("@elaraai/east").VariantType<{
|
|
1100
1147
|
readonly running: import("@elaraai/east").NullType;
|
|
1101
1148
|
readonly completed: import("@elaraai/east").NullType;
|
|
@@ -1162,7 +1209,8 @@ export declare const ApiTypes: {
|
|
|
1162
1209
|
readonly reserves: import("@elaraai/east").IntegerType;
|
|
1163
1210
|
}>;
|
|
1164
1211
|
}>>;
|
|
1165
|
-
readonly
|
|
1212
|
+
readonly nextSeq: import("@elaraai/east").IntegerType;
|
|
1213
|
+
readonly lastSeq: import("@elaraai/east").IntegerType;
|
|
1166
1214
|
readonly budget: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
|
|
1167
1215
|
readonly cores: import("@elaraai/east").IntegerType;
|
|
1168
1216
|
readonly memory: import("@elaraai/east").IntegerType;
|
|
@@ -1202,6 +1250,7 @@ export declare const ApiTypes: {
|
|
|
1202
1250
|
}>;
|
|
1203
1251
|
readonly ExecutionListItemType: import("@elaraai/east").StructType<{
|
|
1204
1252
|
readonly inputsHash: import("@elaraai/east").StringType;
|
|
1253
|
+
readonly executionId: import("@elaraai/east").StringType;
|
|
1205
1254
|
readonly inputHashes: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1206
1255
|
readonly status: import("@elaraai/east").VariantType<{
|
|
1207
1256
|
readonly running: import("@elaraai/east").NullType;
|
|
@@ -1216,6 +1265,16 @@ export declare const ApiTypes: {
|
|
|
1216
1265
|
readonly duration: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
1217
1266
|
readonly exitCode: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
1218
1267
|
readonly peakBytes: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
1268
|
+
readonly reason: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
|
|
1269
|
+
readonly kind: import("@elaraai/east").VariantType<{
|
|
1270
|
+
readonly aborted: import("@elaraai/east").NullType;
|
|
1271
|
+
readonly yielded: import("@elaraai/east").NullType;
|
|
1272
|
+
readonly owner_gone: import("@elaraai/east").NullType;
|
|
1273
|
+
readonly host: import("@elaraai/east").StringType;
|
|
1274
|
+
readonly unrecorded: import("@elaraai/east").NullType;
|
|
1275
|
+
}>;
|
|
1276
|
+
readonly message: import("@elaraai/east").StringType;
|
|
1277
|
+
}>>;
|
|
1219
1278
|
}>;
|
|
1220
1279
|
readonly TreeKindType: import("@elaraai/east").VariantType<{
|
|
1221
1280
|
readonly struct: import("@elaraai/east").NullType;
|
|
@@ -1401,12 +1460,24 @@ export declare const ApiTypes: {
|
|
|
1401
1460
|
readonly RunnerType: import("@elaraai/east").VariantType<{
|
|
1402
1461
|
readonly east_node: import("@elaraai/east").StructType<{
|
|
1403
1462
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1463
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1464
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1465
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1466
|
+
}>;
|
|
1404
1467
|
}>;
|
|
1405
1468
|
readonly east_py: import("@elaraai/east").StructType<{
|
|
1406
1469
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1470
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1471
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1472
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1473
|
+
}>;
|
|
1407
1474
|
}>;
|
|
1408
1475
|
readonly east_c: import("@elaraai/east").StructType<{
|
|
1409
1476
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1477
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1478
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1479
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1480
|
+
}>;
|
|
1410
1481
|
}>;
|
|
1411
1482
|
readonly custom: import("@elaraai/east").StructType<{
|
|
1412
1483
|
readonly command: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
@@ -1458,17 +1529,40 @@ export declare const ApiTypes: {
|
|
|
1458
1529
|
readonly hash: import("@elaraai/east").StringType;
|
|
1459
1530
|
}>>;
|
|
1460
1531
|
}>;
|
|
1532
|
+
readonly CallArgType: import("@elaraai/east").VariantType<{
|
|
1533
|
+
readonly value: import("@elaraai/east").BlobType;
|
|
1534
|
+
readonly dataset: import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
|
|
1535
|
+
readonly field: import("@elaraai/east").StringType;
|
|
1536
|
+
}>>;
|
|
1537
|
+
}>;
|
|
1461
1538
|
readonly FunctionCallRequestType: import("@elaraai/east").StructType<{
|
|
1462
|
-
readonly args: import("@elaraai/east").ArrayType<import("@elaraai/east").
|
|
1539
|
+
readonly args: import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
|
|
1540
|
+
readonly value: import("@elaraai/east").BlobType;
|
|
1541
|
+
readonly dataset: import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
|
|
1542
|
+
readonly field: import("@elaraai/east").StringType;
|
|
1543
|
+
}>>;
|
|
1544
|
+
}>>;
|
|
1463
1545
|
readonly runner: import("@elaraai/east").OptionType<import("@elaraai/east").VariantType<{
|
|
1464
1546
|
readonly east_node: import("@elaraai/east").StructType<{
|
|
1465
1547
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1548
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1549
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1550
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1551
|
+
}>;
|
|
1466
1552
|
}>;
|
|
1467
1553
|
readonly east_py: import("@elaraai/east").StructType<{
|
|
1468
1554
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1555
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1556
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1557
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1558
|
+
}>;
|
|
1469
1559
|
}>;
|
|
1470
1560
|
readonly east_c: import("@elaraai/east").StructType<{
|
|
1471
1561
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1562
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1563
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1564
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1565
|
+
}>;
|
|
1472
1566
|
}>;
|
|
1473
1567
|
readonly custom: import("@elaraai/east").StructType<{
|
|
1474
1568
|
readonly command: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
@@ -1569,12 +1663,24 @@ export declare const ApiTypes: {
|
|
|
1569
1663
|
readonly runner: import("@elaraai/east").VariantType<{
|
|
1570
1664
|
readonly east_node: import("@elaraai/east").StructType<{
|
|
1571
1665
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1666
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1667
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1668
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1669
|
+
}>;
|
|
1572
1670
|
}>;
|
|
1573
1671
|
readonly east_py: import("@elaraai/east").StructType<{
|
|
1574
1672
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1673
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1674
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1675
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1676
|
+
}>;
|
|
1575
1677
|
}>;
|
|
1576
1678
|
readonly east_c: import("@elaraai/east").StructType<{
|
|
1577
1679
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1680
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1681
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1682
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1683
|
+
}>;
|
|
1578
1684
|
}>;
|
|
1579
1685
|
readonly custom: import("@elaraai/east").StructType<{
|
|
1580
1686
|
readonly command: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
@@ -1592,12 +1698,24 @@ export declare const ApiTypes: {
|
|
|
1592
1698
|
readonly runner: import("@elaraai/east").VariantType<{
|
|
1593
1699
|
readonly east_node: import("@elaraai/east").StructType<{
|
|
1594
1700
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1701
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1702
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1703
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1704
|
+
}>;
|
|
1595
1705
|
}>;
|
|
1596
1706
|
readonly east_py: import("@elaraai/east").StructType<{
|
|
1597
1707
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1708
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1709
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1710
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1711
|
+
}>;
|
|
1598
1712
|
}>;
|
|
1599
1713
|
readonly east_c: import("@elaraai/east").StructType<{
|
|
1600
1714
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1715
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1716
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1717
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1718
|
+
}>;
|
|
1601
1719
|
}>;
|
|
1602
1720
|
readonly custom: import("@elaraai/east").StructType<{
|
|
1603
1721
|
readonly command: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
@@ -1645,12 +1763,24 @@ export declare const ApiTypes: {
|
|
|
1645
1763
|
readonly runner: import("@elaraai/east").VariantType<{
|
|
1646
1764
|
readonly east_node: import("@elaraai/east").StructType<{
|
|
1647
1765
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1766
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1767
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1768
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1769
|
+
}>;
|
|
1648
1770
|
}>;
|
|
1649
1771
|
readonly east_py: import("@elaraai/east").StructType<{
|
|
1650
1772
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1773
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1774
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1775
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1776
|
+
}>;
|
|
1651
1777
|
}>;
|
|
1652
1778
|
readonly east_c: import("@elaraai/east").StructType<{
|
|
1653
1779
|
readonly platforms: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
|
1780
|
+
readonly decode: import("@elaraai/east").VariantType<{
|
|
1781
|
+
readonly lazy: import("@elaraai/east").NullType;
|
|
1782
|
+
readonly whole: import("@elaraai/east").NullType;
|
|
1783
|
+
}>;
|
|
1654
1784
|
}>;
|
|
1655
1785
|
readonly custom: import("@elaraai/east").StructType<{
|
|
1656
1786
|
readonly command: import("@elaraai/east").ArrayType<import("@elaraai/east").StringType>;
|
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,gBAAgB,EAChB,0BAA0B,EAC1B,cAAc,EACd,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EAEd,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,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,6BAA6B,IAAI,0BAA0B,EAE3D,0BAA0B,EAC1B,qBAAqB,
|
|
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,EACx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
@@ -24,11 +24,11 @@ DatasetStatusType, TaskStatusUpToDateType, TaskStatusWaitingType, TaskStatusInPr
|
|
|
24
24
|
// Tasks
|
|
25
25
|
TaskListItemType, TaskDetailsType,
|
|
26
26
|
// Execution
|
|
27
|
-
DataflowRequestType, LogChunkType, TaskExecutionResultType, DataflowResultType,
|
|
27
|
+
DataflowRequestType, LogChunkType, TaskLogChunkType, TaskExecutionResultType, DataflowResultType,
|
|
28
28
|
// Dataflow API polling
|
|
29
29
|
DataflowEventType, ApiExecutionStatusType as ExecutionStatusType, DataflowExecutionSummaryType, DataflowBudgetType, UnitWaitType, SplitProgressType, ApiDataflowExecutionStateType as DataflowExecutionStateType,
|
|
30
30
|
// Task Execution History
|
|
31
|
-
ExecutionHistoryStatusType, ExecutionListItemType,
|
|
31
|
+
ExecutionHistoryStatusType, ExecutionListItemType, TASK_EXECUTIONS_PAGE_DEFAULT, TASK_EXECUTIONS_PAGE_MAX,
|
|
32
32
|
// Dataset List
|
|
33
33
|
TreeKindType, ListEntryType,
|
|
34
34
|
// Dataset Status Detail
|
|
@@ -36,15 +36,15 @@ DatasetStatusDetailType,
|
|
|
36
36
|
// Transfer types
|
|
37
37
|
TransferUploadRequestType, TransferUploadResponseType, TransferPartResponseType, TransferDoneResponseType, PackageImportStatusType, PackageExportStatusType,
|
|
38
38
|
// Function / one-shot execution
|
|
39
|
-
RunnerType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType,
|
|
39
|
+
RunnerType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, CallArgType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType,
|
|
40
40
|
// Split calls
|
|
41
|
-
SplitCallArgType, SplitCallRequestType, SplitCallProgressType, SplitCallStatusType, SplitCallPlanType, MutationCallRequestType, MutationResultType, RecordSignatureType, RecordCommitInfoType, RecordHistoryResultType,
|
|
41
|
+
SplitCallArgType, SplitCallRequestType, SplitCallProgressType, SplitCallStatusType, SplitCallPlanType, MutationCallRequestType, MutationResultType, RecordMigrationAppliedType, RecordSignatureType, RecordCommitInfoType, RecordArgPreviewType, RecordCommitArgsType, RecordHistoryCommitType, RecordHistoryResultType, RECORD_ARG_TEXT_CHARS, RECORD_ARG_TEXT_BYTES, RECORD_ARGS_READ_BYTES,
|
|
42
42
|
// Graph types (from dataflow.ts, structurally identical to old API GraphTaskType)
|
|
43
43
|
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, 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, 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, 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';
|
|
48
48
|
export const ApiTypes = {
|
|
49
49
|
// Errors
|
|
50
50
|
ErrorType,
|
|
@@ -112,6 +112,7 @@ export const ApiTypes = {
|
|
|
112
112
|
DataflowGraphType,
|
|
113
113
|
DataflowGraphTaskType,
|
|
114
114
|
LogChunkType,
|
|
115
|
+
TaskLogChunkType,
|
|
115
116
|
TaskExecutionResultType,
|
|
116
117
|
DataflowResultType,
|
|
117
118
|
// Execution State (polling)
|
|
@@ -142,6 +143,7 @@ export const ApiTypes = {
|
|
|
142
143
|
ExecuteLimitsType: _ExecuteLimitsType,
|
|
143
144
|
DiagnosticType: _DiagnosticType,
|
|
144
145
|
ExecuteResultType: _ExecuteResultType,
|
|
146
|
+
CallArgType: _CallArgType,
|
|
145
147
|
FunctionCallRequestType: _FunctionCallRequestType,
|
|
146
148
|
FunctionSignatureType: _FunctionSignatureType,
|
|
147
149
|
OneShotRequestType: _OneShotRequestType,
|
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,gBAAgB,EAChB,0BAA0B,EAC1B,cAAc,EACd,mBAAmB,EACnB,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,uBAAuB,EACvB,kBAAkB;AAClB,uBAAuB;AACvB,iBAAiB,EACjB,sBAAsB,IAAI,mBAAmB,EAC7C,4BAA4B,EAC5B,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,6BAA6B,IAAI,0BAA0B;AAC3D,yBAAyB;AACzB,0BAA0B,EAC1B,qBAAqB;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"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C,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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
3
|
* Licensed under BSL 1.1. See LICENSE for details.
|
|
4
4
|
*/
|
|
5
|
-
import { type WorkspaceState, type PackageExportProgress } from '@elaraai/e3-types';
|
|
5
|
+
import { type WorkspaceState, type PackageExportProgress, type TreePath } from '@elaraai/e3-types';
|
|
6
6
|
import type { LockStatus, SchemaPolicy, WorkspaceDeployProgress, WorkspaceDeployResult, WorkspaceInfo, WorkspaceStatusResult } from './types.js';
|
|
7
7
|
import { type RequestOptions } from './http.js';
|
|
8
8
|
/**
|
|
@@ -40,20 +40,34 @@ export declare function workspaceCreate(url: string, repo: string, name: string,
|
|
|
40
40
|
* @throws {AuthError} On 401 Unauthorized
|
|
41
41
|
*/
|
|
42
42
|
export declare function workspaceGet(url: string, repo: string, name: string, options: RequestOptions): Promise<WorkspaceState>;
|
|
43
|
+
/** What {@link workspaceStatus} answers for. */
|
|
44
|
+
export interface WorkspaceStatusQuery {
|
|
45
|
+
/**
|
|
46
|
+
* The datasets to answer for, such as those a view binds. The answer then
|
|
47
|
+
* holds those the workspace has, and the tasks that produce them, each with
|
|
48
|
+
* the status the whole workspace's answer gives it; a path that names no
|
|
49
|
+
* dataset of the workspace is left out. The whole workspace when omitted or
|
|
50
|
+
* empty.
|
|
51
|
+
*/
|
|
52
|
+
paths?: readonly TreePath[];
|
|
53
|
+
}
|
|
43
54
|
/**
|
|
44
55
|
* Get comprehensive workspace status including datasets, tasks, and lock info.
|
|
45
56
|
*
|
|
46
57
|
* Use this to poll for execution progress after calling dataflowExecuteLaunch().
|
|
58
|
+
* A poll that follows a few datasets asks for those (`query.paths`), and costs
|
|
59
|
+
* the server what it follows rather than the workspace.
|
|
47
60
|
*
|
|
48
61
|
* @param url - Base URL of the e3 API server
|
|
49
62
|
* @param repo - Repository name
|
|
50
63
|
* @param name - Workspace name
|
|
51
64
|
* @param options - Request options including auth token
|
|
65
|
+
* @param query - The datasets to answer for; the whole workspace when omitted
|
|
52
66
|
* @returns Workspace status with datasets, tasks, and summary
|
|
53
67
|
* @throws {ApiError} On application-level errors
|
|
54
68
|
* @throws {AuthError} On 401 Unauthorized
|
|
55
69
|
*/
|
|
56
|
-
export declare function workspaceStatus(url: string, repo: string, name: string, options: RequestOptions): Promise<WorkspaceStatusResult>;
|
|
70
|
+
export declare function workspaceStatus(url: string, repo: string, name: string, options: RequestOptions, query?: WorkspaceStatusQuery): Promise<WorkspaceStatusResult>;
|
|
57
71
|
/**
|
|
58
72
|
* What holds a workspace exclusively, and how far that operation says it has
|
|
59
73
|
* got.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/workspaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAEL,KAAK,cAAc,
|
|
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,EAC/G,MAAM,YAAY,CAAC;AAYpB,OAAO,EAA8D,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AAG5G;;;;;;;;;GASG;AACH,wBAAsB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,OAAO,CAA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AAI,CAAC,EAAE,OAAO,CAAC;IACf,wEAAwE;IACxE,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACzD,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;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,CAwBhC;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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under BSL 1.1. See LICENSE for details.
|
|
4
4
|
*/
|
|
5
5
|
import { ArrayType, NullType, OptionType, encodeBeast2For, decodeBeast2For, some, none, variant } from '@elaraai/east';
|
|
6
|
-
import { WorkspaceStateType, PackageJobResponseType, } from '@elaraai/e3-types';
|
|
6
|
+
import { WorkspaceStateType, PackageJobResponseType, pathToString, } from '@elaraai/e3-types';
|
|
7
7
|
import { WorkspaceInfoType, WorkspaceCreateRequestType, WorkspaceDeployRequestType, WorkspaceDeployStatusType, WorkspaceStatusResultType, WorkspaceExportRequestType, LockStatusType, ResponseType, } from './types.js';
|
|
8
8
|
import { BEAST2_CONTENT_TYPE } from '@elaraai/e3-types';
|
|
9
9
|
import { get, post, del, fetchWithAuth, fetchWithProgress, ApiError } from './http.js';
|
|
@@ -53,17 +53,24 @@ export async function workspaceGet(url, repo, name, options) {
|
|
|
53
53
|
* Get comprehensive workspace status including datasets, tasks, and lock info.
|
|
54
54
|
*
|
|
55
55
|
* Use this to poll for execution progress after calling dataflowExecuteLaunch().
|
|
56
|
+
* A poll that follows a few datasets asks for those (`query.paths`), and costs
|
|
57
|
+
* the server what it follows rather than the workspace.
|
|
56
58
|
*
|
|
57
59
|
* @param url - Base URL of the e3 API server
|
|
58
60
|
* @param repo - Repository name
|
|
59
61
|
* @param name - Workspace name
|
|
60
62
|
* @param options - Request options including auth token
|
|
63
|
+
* @param query - The datasets to answer for; the whole workspace when omitted
|
|
61
64
|
* @returns Workspace status with datasets, tasks, and summary
|
|
62
65
|
* @throws {ApiError} On application-level errors
|
|
63
66
|
* @throws {AuthError} On 401 Unauthorized
|
|
64
67
|
*/
|
|
65
|
-
export async function workspaceStatus(url, repo, name, options) {
|
|
66
|
-
|
|
68
|
+
export async function workspaceStatus(url, repo, name, options, query = {}) {
|
|
69
|
+
const params = new URLSearchParams();
|
|
70
|
+
for (const path of query.paths ?? [])
|
|
71
|
+
params.append('path', pathToString(path));
|
|
72
|
+
const search = params.toString();
|
|
73
|
+
return get(url, `/repos/${encodeURIComponent(repo)}/workspaces/${encodeURIComponent(name)}/status${search === '' ? '' : `?${search}`}`, WorkspaceStatusResultType, options);
|
|
67
74
|
}
|
|
68
75
|
/**
|
|
69
76
|
* What holds a workspace exclusively, and how far that operation says it has
|
|
@@ -192,6 +199,6 @@ export async function workspaceExport(url, repo, workspace, options, exportOptio
|
|
|
192
199
|
}
|
|
193
200
|
const { downloadUrl } = status.value;
|
|
194
201
|
// 3. Download zip (no auth — URL may be a presigned S3 URL)
|
|
195
|
-
return fetchWithProgress(downloadUrl, exportOptions?.onDownloadProgress, signal);
|
|
202
|
+
return fetchWithProgress(downloadUrl, exportOptions?.onDownloadProgress, signal, options.fetch);
|
|
196
203
|
}
|
|
197
204
|
//# sourceMappingURL=workspaces.js.map
|
|
@@ -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,
|
|
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;AAC5G,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE7E;;;;;;;;;GASG;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AI,KAAK,QAAQ,EAAE,CAAC;QAC7B,MAAM,IAAI,KAAK,CAAC,4BAA4B,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IACD,IAAI,MAAM,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAC3C,CAAC;IAED,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC,KAAK,CAAC;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.85",
|
|
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.85"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@elaraai/east": "1.0.
|
|
36
|
+
"@elaraai/east": "1.0.85"
|
|
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.85"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsc",
|