@elaraai/e3-types 1.0.5 → 1.0.7
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/api.d.ts +226 -0
- package/dist/src/api.d.ts.map +1 -1
- package/dist/src/api.js +80 -0
- package/dist/src/api.js.map +1 -1
- package/dist/src/function.d.ts +132 -0
- package/dist/src/function.d.ts.map +1 -0
- package/dist/src/function.js +36 -0
- package/dist/src/function.js.map +1 -0
- package/dist/src/index.d.ts +4 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +8 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/package.d.ts +14 -0
- package/dist/src/package.d.ts.map +1 -1
- package/dist/src/package.js +39 -1
- package/dist/src/package.js.map +1 -1
- package/dist/src/runner.d.ts +55 -0
- package/dist/src/runner.d.ts.map +1 -0
- package/dist/src/runner.js +55 -0
- package/dist/src/runner.js.map +1 -0
- package/dist/src/task.d.ts +22 -0
- package/dist/src/task.d.ts.map +1 -1
- package/dist/src/task.js +10 -0
- package/dist/src/task.js.map +1 -1
- package/package.json +2 -2
- package/src/api.ts +93 -0
- package/src/function.ts +41 -0
- package/src/index.ts +27 -0
- package/src/package.ts +40 -1
- package/src/runner.ts +62 -0
- package/src/task.ts +10 -0
package/dist/src/api.d.ts
CHANGED
|
@@ -1094,6 +1094,226 @@ export declare const DatasetStatusDetailType: StructType<{
|
|
|
1094
1094
|
readonly hash: OptionType<StringType>;
|
|
1095
1095
|
readonly size: OptionType<IntegerType>;
|
|
1096
1096
|
}>;
|
|
1097
|
+
/**
|
|
1098
|
+
* Execution limits for a function/one-shot call.
|
|
1099
|
+
*
|
|
1100
|
+
* @property timeoutMs - Wall-clock limit; over it the call is killed and returns `timed_out`
|
|
1101
|
+
* @property maxResultBytes - Inline result cap; over it the call returns `too_large`
|
|
1102
|
+
* @property maxLogBytes - Per-stream stdout/stderr tail cap
|
|
1103
|
+
*/
|
|
1104
|
+
export declare const ExecuteLimitsType: StructType<{
|
|
1105
|
+
readonly timeoutMs: OptionType<IntegerType>;
|
|
1106
|
+
readonly maxResultBytes: OptionType<IntegerType>;
|
|
1107
|
+
readonly maxLogBytes: OptionType<IntegerType>;
|
|
1108
|
+
}>;
|
|
1109
|
+
/**
|
|
1110
|
+
* A diagnostic attached to an `invalid` call outcome.
|
|
1111
|
+
*/
|
|
1112
|
+
export declare const DiagnosticType: StructType<{
|
|
1113
|
+
readonly message: StringType;
|
|
1114
|
+
readonly filename: OptionType<StringType>;
|
|
1115
|
+
readonly line: OptionType<IntegerType>;
|
|
1116
|
+
readonly column: OptionType<IntegerType>;
|
|
1117
|
+
}>;
|
|
1118
|
+
/**
|
|
1119
|
+
* The terminal result of a function/one-shot call.
|
|
1120
|
+
*
|
|
1121
|
+
* - `success`: beast2-encoded result value; decode with the function's `outputType`
|
|
1122
|
+
* - `failed`: process exited non-zero (see stderr)
|
|
1123
|
+
* - `invalid`: signature/IR error; nothing ran
|
|
1124
|
+
* - `too_large`: result over `maxResultBytes`; deploy a task and read it with `datasetGet`
|
|
1125
|
+
* - `timed_out`: exceeded `timeoutMs` / the server's sync deadline guard
|
|
1126
|
+
*/
|
|
1127
|
+
export declare const ExecuteResultType: StructType<{
|
|
1128
|
+
readonly outcome: VariantType<{
|
|
1129
|
+
readonly success: StructType<{
|
|
1130
|
+
readonly value: BlobType;
|
|
1131
|
+
}>;
|
|
1132
|
+
readonly failed: StructType<{
|
|
1133
|
+
readonly exitCode: IntegerType;
|
|
1134
|
+
}>;
|
|
1135
|
+
readonly invalid: StructType<{
|
|
1136
|
+
readonly diagnostics: ArrayType<StructType<{
|
|
1137
|
+
readonly message: StringType;
|
|
1138
|
+
readonly filename: OptionType<StringType>;
|
|
1139
|
+
readonly line: OptionType<IntegerType>;
|
|
1140
|
+
readonly column: OptionType<IntegerType>;
|
|
1141
|
+
}>>;
|
|
1142
|
+
}>;
|
|
1143
|
+
readonly too_large: StructType<{
|
|
1144
|
+
readonly bytes: IntegerType;
|
|
1145
|
+
readonly limit: IntegerType;
|
|
1146
|
+
}>;
|
|
1147
|
+
readonly timed_out: StructType<{
|
|
1148
|
+
readonly ms: IntegerType;
|
|
1149
|
+
}>;
|
|
1150
|
+
}>;
|
|
1151
|
+
readonly stdout: StringType;
|
|
1152
|
+
readonly stderr: StringType;
|
|
1153
|
+
readonly stdoutTruncated: BooleanType;
|
|
1154
|
+
readonly stderrTruncated: BooleanType;
|
|
1155
|
+
}>;
|
|
1156
|
+
/** Named function call. Positional args, one beast2-encoded value per param. */
|
|
1157
|
+
export declare const FunctionCallRequestType: StructType<{
|
|
1158
|
+
readonly args: ArrayType<BlobType>;
|
|
1159
|
+
readonly runner: OptionType<VariantType<{
|
|
1160
|
+
readonly east_node: StructType<{
|
|
1161
|
+
readonly platforms: ArrayType<StringType>;
|
|
1162
|
+
}>;
|
|
1163
|
+
readonly east_py: StructType<{
|
|
1164
|
+
readonly platforms: ArrayType<StringType>;
|
|
1165
|
+
}>;
|
|
1166
|
+
readonly east_c: StructType<{
|
|
1167
|
+
readonly platforms: ArrayType<StringType>;
|
|
1168
|
+
}>;
|
|
1169
|
+
readonly custom: StructType<{
|
|
1170
|
+
readonly command: ArrayType<StringType>;
|
|
1171
|
+
}>;
|
|
1172
|
+
}>>;
|
|
1173
|
+
readonly limits: OptionType<StructType<{
|
|
1174
|
+
readonly timeoutMs: OptionType<IntegerType>;
|
|
1175
|
+
readonly maxResultBytes: OptionType<IntegerType>;
|
|
1176
|
+
readonly maxLogBytes: OptionType<IntegerType>;
|
|
1177
|
+
}>>;
|
|
1178
|
+
}>;
|
|
1179
|
+
/** A function signature, returned by `describe` so dynamic callers can encode args. */
|
|
1180
|
+
export declare const FunctionSignatureType: StructType<{
|
|
1181
|
+
readonly name: StringType;
|
|
1182
|
+
readonly inputTypes: ArrayType<import("@elaraai/east").RecursiveType<VariantType<{
|
|
1183
|
+
readonly Never: NullType;
|
|
1184
|
+
readonly Null: NullType;
|
|
1185
|
+
readonly Boolean: NullType;
|
|
1186
|
+
readonly Integer: NullType;
|
|
1187
|
+
readonly Float: NullType;
|
|
1188
|
+
readonly String: NullType;
|
|
1189
|
+
readonly DateTime: NullType;
|
|
1190
|
+
readonly Blob: NullType;
|
|
1191
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
1192
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
1193
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
1194
|
+
readonly Dict: StructType<{
|
|
1195
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
1196
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
1197
|
+
}>;
|
|
1198
|
+
readonly Struct: ArrayType<StructType<{
|
|
1199
|
+
readonly name: StringType;
|
|
1200
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1201
|
+
}>>;
|
|
1202
|
+
readonly Variant: ArrayType<StructType<{
|
|
1203
|
+
readonly name: StringType;
|
|
1204
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1205
|
+
}>>;
|
|
1206
|
+
readonly Recursive: VariantType<{
|
|
1207
|
+
readonly ref: IntegerType;
|
|
1208
|
+
readonly wrapper: StructType<{
|
|
1209
|
+
readonly id: IntegerType;
|
|
1210
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
1211
|
+
}>;
|
|
1212
|
+
}>;
|
|
1213
|
+
readonly Function: StructType<{
|
|
1214
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1215
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1216
|
+
}>;
|
|
1217
|
+
readonly AsyncFunction: StructType<{
|
|
1218
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1219
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1220
|
+
}>;
|
|
1221
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
1222
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
1223
|
+
}>>>;
|
|
1224
|
+
readonly outputType: import("@elaraai/east").RecursiveType<VariantType<{
|
|
1225
|
+
readonly Never: NullType;
|
|
1226
|
+
readonly Null: NullType;
|
|
1227
|
+
readonly Boolean: NullType;
|
|
1228
|
+
readonly Integer: NullType;
|
|
1229
|
+
readonly Float: NullType;
|
|
1230
|
+
readonly String: NullType;
|
|
1231
|
+
readonly DateTime: NullType;
|
|
1232
|
+
readonly Blob: NullType;
|
|
1233
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
1234
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
1235
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
1236
|
+
readonly Dict: StructType<{
|
|
1237
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
1238
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
1239
|
+
}>;
|
|
1240
|
+
readonly Struct: ArrayType<StructType<{
|
|
1241
|
+
readonly name: StringType;
|
|
1242
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1243
|
+
}>>;
|
|
1244
|
+
readonly Variant: ArrayType<StructType<{
|
|
1245
|
+
readonly name: StringType;
|
|
1246
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
1247
|
+
}>>;
|
|
1248
|
+
readonly Recursive: VariantType<{
|
|
1249
|
+
readonly ref: IntegerType;
|
|
1250
|
+
readonly wrapper: StructType<{
|
|
1251
|
+
readonly id: IntegerType;
|
|
1252
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
1253
|
+
}>;
|
|
1254
|
+
}>;
|
|
1255
|
+
readonly Function: StructType<{
|
|
1256
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1257
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1258
|
+
}>;
|
|
1259
|
+
readonly AsyncFunction: StructType<{
|
|
1260
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
1261
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
1262
|
+
}>;
|
|
1263
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
1264
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
1265
|
+
}>>;
|
|
1266
|
+
readonly runner: VariantType<{
|
|
1267
|
+
readonly east_node: StructType<{
|
|
1268
|
+
readonly platforms: ArrayType<StringType>;
|
|
1269
|
+
}>;
|
|
1270
|
+
readonly east_py: StructType<{
|
|
1271
|
+
readonly platforms: ArrayType<StringType>;
|
|
1272
|
+
}>;
|
|
1273
|
+
readonly east_c: StructType<{
|
|
1274
|
+
readonly platforms: ArrayType<StringType>;
|
|
1275
|
+
}>;
|
|
1276
|
+
readonly custom: StructType<{
|
|
1277
|
+
readonly command: ArrayType<StringType>;
|
|
1278
|
+
}>;
|
|
1279
|
+
}>;
|
|
1280
|
+
}>;
|
|
1281
|
+
/**
|
|
1282
|
+
* One-shot execution request: run an anonymous function whose IR is supplied
|
|
1283
|
+
* at call time, optionally bound to existing workspace datasets, returning
|
|
1284
|
+
* the result inline and persisting nothing.
|
|
1285
|
+
*
|
|
1286
|
+
* SECURITY: one-shot evaluates a caller-supplied IR — remote code execution
|
|
1287
|
+
* with the server's authority. Gate behind an elevated role.
|
|
1288
|
+
*/
|
|
1289
|
+
export declare const OneShotRequestType: StructType<{
|
|
1290
|
+
readonly bodyIr: BlobType;
|
|
1291
|
+
readonly args: ArrayType<VariantType<{
|
|
1292
|
+
readonly value: BlobType;
|
|
1293
|
+
readonly dataset: ArrayType<VariantType<{
|
|
1294
|
+
readonly field: StringType;
|
|
1295
|
+
}>>;
|
|
1296
|
+
}>>;
|
|
1297
|
+
readonly runner: VariantType<{
|
|
1298
|
+
readonly east_node: StructType<{
|
|
1299
|
+
readonly platforms: ArrayType<StringType>;
|
|
1300
|
+
}>;
|
|
1301
|
+
readonly east_py: StructType<{
|
|
1302
|
+
readonly platforms: ArrayType<StringType>;
|
|
1303
|
+
}>;
|
|
1304
|
+
readonly east_c: StructType<{
|
|
1305
|
+
readonly platforms: ArrayType<StringType>;
|
|
1306
|
+
}>;
|
|
1307
|
+
readonly custom: StructType<{
|
|
1308
|
+
readonly command: ArrayType<StringType>;
|
|
1309
|
+
}>;
|
|
1310
|
+
}>;
|
|
1311
|
+
readonly limits: OptionType<StructType<{
|
|
1312
|
+
readonly timeoutMs: OptionType<IntegerType>;
|
|
1313
|
+
readonly maxResultBytes: OptionType<IntegerType>;
|
|
1314
|
+
readonly maxLogBytes: OptionType<IntegerType>;
|
|
1315
|
+
}>>;
|
|
1316
|
+
}>;
|
|
1097
1317
|
export type Error = ValueTypeOf<typeof ErrorType>;
|
|
1098
1318
|
export type RepositoryStatus = ValueTypeOf<typeof RepositoryStatusType>;
|
|
1099
1319
|
export type GcRequest = ValueTypeOf<typeof GcRequestType>;
|
|
@@ -1128,4 +1348,10 @@ export type ExecutionListItem = ValueTypeOf<typeof ExecutionListItemType>;
|
|
|
1128
1348
|
export type TreeKind = ValueTypeOf<typeof TreeKindType>;
|
|
1129
1349
|
export type ListEntry = ValueTypeOf<typeof ListEntryType>;
|
|
1130
1350
|
export type DatasetStatusDetail = ValueTypeOf<typeof DatasetStatusDetailType>;
|
|
1351
|
+
export type ExecuteLimits = ValueTypeOf<typeof ExecuteLimitsType>;
|
|
1352
|
+
export type Diagnostic = ValueTypeOf<typeof DiagnosticType>;
|
|
1353
|
+
export type ExecuteResult = ValueTypeOf<typeof ExecuteResultType>;
|
|
1354
|
+
export type FunctionCallRequest = ValueTypeOf<typeof FunctionCallRequestType>;
|
|
1355
|
+
export type FunctionSignature = ValueTypeOf<typeof FunctionSignatureType>;
|
|
1356
|
+
export type OneShotRequest = ValueTypeOf<typeof OneShotRequestType>;
|
|
1131
1357
|
//# sourceMappingURL=api.d.ts.map
|
package/dist/src/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,EACL,WAAW,EACX,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,EACR,QAAQ,EAER,KAAK,QAAQ,EACb,KAAK,WAAW,EACjB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,EACL,WAAW,EACX,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,EACR,QAAQ,EAER,KAAK,QAAQ,EACb,KAAK,WAAW,EACjB,MAAM,eAAe,CAAC;AASvB,eAAO,MAAM,0BAA0B;;EAAwC,CAAC;AAChF,eAAO,MAAM,6BAA6B;;EAAwC,CAAC;AACnF,eAAO,MAAM,wBAAwB;;EAAwC,CAAC;AAC9E,eAAO,MAAM,cAAc;;;;;EAKzB,CAAC;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;EAGnC,CAAC;AACH,eAAO,MAAM,wBAAwB;;;EAGnC,CAAC;AACH,eAAO,MAAM,sBAAsB;;;EAA+D,CAAC;AACnG,eAAO,MAAM,uBAAuB;;EAAqC,CAAC;AAC1E,eAAO,MAAM,wBAAwB;;;EAA0D,CAAC;AAChG,eAAO,MAAM,qBAAqB;;EAAmC,CAAC;AACtE,eAAO,MAAM,0BAA0B;;EAAmC,CAAC;AAC3E,eAAO,MAAM,uBAAuB;;EAAmC,CAAC;AACxE,eAAO,MAAM,iBAAiB;;EAAsC,CAAC;AACrE,eAAO,MAAM,yBAAyB;;E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GAAG,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC5E,MAAM,MAAM,wBAAwB,GAAG,WAAW,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACxF,MAAM,MAAM,yBAAyB,GAAG,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAC1F,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,OAAO,0BAA0B,CAAC,CAAC;AACpF,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,MAAM,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,YAAY,CAAC,CAAC;AACxD,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;AAC1D,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC9E,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAClE,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC9E,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
package/dist/src/api.js
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import { VariantType, StructType, ArrayType, OptionType, StringType, IntegerType, FloatType, BooleanType, BlobType, NullType, EastTypeType, } from '@elaraai/east';
|
|
20
20
|
import { StructureType, TreePathType } from './structure.js';
|
|
21
|
+
import { RunnerType } from './runner.js';
|
|
21
22
|
// =============================================================================
|
|
22
23
|
// Error Types
|
|
23
24
|
// =============================================================================
|
|
@@ -649,4 +650,83 @@ export const DatasetStatusDetailType = StructType({
|
|
|
649
650
|
hash: OptionType(StringType),
|
|
650
651
|
size: OptionType(IntegerType),
|
|
651
652
|
});
|
|
653
|
+
// =============================================================================
|
|
654
|
+
// Function / one-shot execution types
|
|
655
|
+
// =============================================================================
|
|
656
|
+
// Shared by the named-function path AND one-shot execution. The result of a
|
|
657
|
+
// call is an in-memory, bounded value returned inline — never promoted to a
|
|
658
|
+
// durable artifact.
|
|
659
|
+
/**
|
|
660
|
+
* Execution limits for a function/one-shot call.
|
|
661
|
+
*
|
|
662
|
+
* @property timeoutMs - Wall-clock limit; over it the call is killed and returns `timed_out`
|
|
663
|
+
* @property maxResultBytes - Inline result cap; over it the call returns `too_large`
|
|
664
|
+
* @property maxLogBytes - Per-stream stdout/stderr tail cap
|
|
665
|
+
*/
|
|
666
|
+
export const ExecuteLimitsType = StructType({
|
|
667
|
+
timeoutMs: OptionType(IntegerType),
|
|
668
|
+
maxResultBytes: OptionType(IntegerType),
|
|
669
|
+
maxLogBytes: OptionType(IntegerType),
|
|
670
|
+
});
|
|
671
|
+
/**
|
|
672
|
+
* A diagnostic attached to an `invalid` call outcome.
|
|
673
|
+
*/
|
|
674
|
+
export const DiagnosticType = StructType({
|
|
675
|
+
message: StringType,
|
|
676
|
+
filename: OptionType(StringType),
|
|
677
|
+
line: OptionType(IntegerType),
|
|
678
|
+
column: OptionType(IntegerType),
|
|
679
|
+
});
|
|
680
|
+
/**
|
|
681
|
+
* The terminal result of a function/one-shot call.
|
|
682
|
+
*
|
|
683
|
+
* - `success`: beast2-encoded result value; decode with the function's `outputType`
|
|
684
|
+
* - `failed`: process exited non-zero (see stderr)
|
|
685
|
+
* - `invalid`: signature/IR error; nothing ran
|
|
686
|
+
* - `too_large`: result over `maxResultBytes`; deploy a task and read it with `datasetGet`
|
|
687
|
+
* - `timed_out`: exceeded `timeoutMs` / the server's sync deadline guard
|
|
688
|
+
*/
|
|
689
|
+
export const ExecuteResultType = StructType({
|
|
690
|
+
outcome: VariantType({
|
|
691
|
+
success: StructType({ value: BlobType }),
|
|
692
|
+
failed: StructType({ exitCode: IntegerType }),
|
|
693
|
+
invalid: StructType({ diagnostics: ArrayType(DiagnosticType) }),
|
|
694
|
+
too_large: StructType({ bytes: IntegerType, limit: IntegerType }),
|
|
695
|
+
timed_out: StructType({ ms: IntegerType }),
|
|
696
|
+
}),
|
|
697
|
+
stdout: StringType,
|
|
698
|
+
stderr: StringType,
|
|
699
|
+
stdoutTruncated: BooleanType,
|
|
700
|
+
stderrTruncated: BooleanType,
|
|
701
|
+
});
|
|
702
|
+
/** Named function call. Positional args, one beast2-encoded value per param. */
|
|
703
|
+
export const FunctionCallRequestType = StructType({
|
|
704
|
+
args: ArrayType(BlobType),
|
|
705
|
+
runner: OptionType(RunnerType), // optional override; only the known runtimes
|
|
706
|
+
limits: OptionType(ExecuteLimitsType),
|
|
707
|
+
});
|
|
708
|
+
/** A function signature, returned by `describe` so dynamic callers can encode args. */
|
|
709
|
+
export const FunctionSignatureType = StructType({
|
|
710
|
+
name: StringType,
|
|
711
|
+
inputTypes: ArrayType(EastTypeType),
|
|
712
|
+
outputType: EastTypeType,
|
|
713
|
+
runner: RunnerType,
|
|
714
|
+
});
|
|
715
|
+
/**
|
|
716
|
+
* One-shot execution request: run an anonymous function whose IR is supplied
|
|
717
|
+
* at call time, optionally bound to existing workspace datasets, returning
|
|
718
|
+
* the result inline and persisting nothing.
|
|
719
|
+
*
|
|
720
|
+
* SECURITY: one-shot evaluates a caller-supplied IR — remote code execution
|
|
721
|
+
* with the server's authority. Gate behind an elevated role.
|
|
722
|
+
*/
|
|
723
|
+
export const OneShotRequestType = StructType({
|
|
724
|
+
bodyIr: BlobType, // anonymous EastIR, not deployed
|
|
725
|
+
args: ArrayType(VariantType({
|
|
726
|
+
value: BlobType,
|
|
727
|
+
dataset: TreePathType, // workspace-scoped; resolved + pinned by content hash at launch
|
|
728
|
+
})),
|
|
729
|
+
runner: RunnerType,
|
|
730
|
+
limits: OptionType(ExecuteLimitsType),
|
|
731
|
+
});
|
|
652
732
|
//# sourceMappingURL=api.js.map
|
package/dist/src/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,EACL,WAAW,EACX,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,YAAY,GAGb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE7D,gFAAgF;AAChF,cAAc;AACd,gFAAgF;AAEhF,MAAM,CAAC,MAAM,0BAA0B,GAAG,UAAU,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,CAAC;AAChF,MAAM,CAAC,MAAM,6BAA6B,GAAG,UAAU,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,CAAC;AACnF,MAAM,CAAC,MAAM,wBAAwB,GAAG,UAAU,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,CAAC;AAC9E,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC;IACvC,GAAG,EAAE,WAAW;IAChB,UAAU,EAAE,UAAU;IACtB,MAAM,EAAE,UAAU,CAAC,UAAU,CAAC;IAC9B,OAAO,EAAE,UAAU,CAAC,UAAU,CAAC;CAChC,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,UAAU,CAAC;IACjD,SAAS,EAAE,UAAU;IACrB,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC;CAClE,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,UAAU,CAAC;IACj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SAAS,EAAE,UAAU,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC;KAC3C,CAAC;IACF,MAAM,EAAE,UAAU;IAClB,MAAM,EAAE,UAAU;IAClB,eAAe,EAAE,WAAW;IAC5B,eAAe,EAAE,WAAW;CAC7B,CAAC,CAAC;AAEH,gFAAgF;AAChF,MAAM,CAAC,MAAM,uBAAuB,GAAG,UAAU,CAAC;IAChD,IAAI,EAAI,SAAS,CAAC,QAAQ,CAAC;IAC3B,MAAM,EAAE,UAAU,CAAC,UAAU,CAAC,EAAQ,6CAA6C;IACnF,MAAM,EAAE,UAAU,CAAC,iBAAiB,CAAC;CACtC,CAAC,CAAC;AAEH,uFAAuF;AACvF,MAAM,CAAC,MAAM,qBAAqB,GAAG,UAAU,CAAC;IAC9C,IAAI,EAAQ,UAAU;IACtB,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC;IACnC,UAAU,EAAE,YAAY;IACxB,MAAM,EAAM,UAAU;CACvB,CAAC,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC;IAC3C,MAAM,EAAE,QAAQ,EAAwB,iCAAiC;IACzE,IAAI,EAAI,SAAS,CAAC,WAAW,CAAC;QAC5B,KAAK,EAAI,QAAQ;QACjB,OAAO,EAAE,YAAY,EAAiB,gEAAgE;KACvG,CAAC,CAAC;IACH,MAAM,EAAE,UAAU;IAClB,MAAM,EAAE,UAAU,CAAC,iBAAiB,CAAC;CACtC,CAAC,CAAC"}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Function object types for e3.
|
|
7
|
+
*
|
|
8
|
+
* An `e3.function` is a named, typed function stored in a package and
|
|
9
|
+
* invoked by name with argument values over the CLI and HTTP API. Unlike
|
|
10
|
+
* a task it is not wired to datasets, not part of the dataflow graph, and
|
|
11
|
+
* triggers no recomputation.
|
|
12
|
+
*
|
|
13
|
+
* The function object stores its signature explicitly so `describe` and
|
|
14
|
+
* arity/type validation work from the small function object without
|
|
15
|
+
* loading the IR bundle, and so dynamic callers (CLI literal parsing,
|
|
16
|
+
* non-TS clients) have the types they need to encode arguments.
|
|
17
|
+
*/
|
|
18
|
+
import { StructType, StringType, ArrayType, ValueTypeOf } from '@elaraai/east';
|
|
19
|
+
/**
|
|
20
|
+
* Function object stored in the object store, referenced by name from
|
|
21
|
+
* `PackageObject.functions`.
|
|
22
|
+
*/
|
|
23
|
+
export declare const FunctionObjectType: StructType<{
|
|
24
|
+
/** Hash of the encoded EastIR bundle (encodeEastIR), like a task's commandIr object. */
|
|
25
|
+
readonly bodyIr: StringType;
|
|
26
|
+
/** Positional parameter types — the IR's signature, surfaced for arity/type
|
|
27
|
+
* validation and `describe` without decoding the whole IR. */
|
|
28
|
+
readonly inputTypes: ArrayType<import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
29
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
30
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
31
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
32
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
33
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
34
|
+
readonly String: import("@elaraai/east").NullType;
|
|
35
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
36
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
37
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
38
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
39
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
40
|
+
readonly Dict: StructType<{
|
|
41
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
42
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
43
|
+
}>;
|
|
44
|
+
readonly Struct: ArrayType<StructType<{
|
|
45
|
+
readonly name: StringType;
|
|
46
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
47
|
+
}>>;
|
|
48
|
+
readonly Variant: ArrayType<StructType<{
|
|
49
|
+
readonly name: StringType;
|
|
50
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
51
|
+
}>>;
|
|
52
|
+
readonly Recursive: import("@elaraai/east").VariantType<{
|
|
53
|
+
readonly ref: import("@elaraai/east").IntegerType;
|
|
54
|
+
readonly wrapper: StructType<{
|
|
55
|
+
readonly id: import("@elaraai/east").IntegerType;
|
|
56
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
57
|
+
}>;
|
|
58
|
+
}>;
|
|
59
|
+
readonly Function: StructType<{
|
|
60
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
61
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
62
|
+
}>;
|
|
63
|
+
readonly AsyncFunction: StructType<{
|
|
64
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
65
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
66
|
+
}>;
|
|
67
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
68
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
69
|
+
}>>>;
|
|
70
|
+
/** Return type — used to decode the result `value` blob client-side. */
|
|
71
|
+
readonly outputType: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
72
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
73
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
74
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
75
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
76
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
77
|
+
readonly String: import("@elaraai/east").NullType;
|
|
78
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
79
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
80
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
81
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
82
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
83
|
+
readonly Dict: StructType<{
|
|
84
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
85
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
86
|
+
}>;
|
|
87
|
+
readonly Struct: ArrayType<StructType<{
|
|
88
|
+
readonly name: StringType;
|
|
89
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
90
|
+
}>>;
|
|
91
|
+
readonly Variant: ArrayType<StructType<{
|
|
92
|
+
readonly name: StringType;
|
|
93
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
94
|
+
}>>;
|
|
95
|
+
readonly Recursive: import("@elaraai/east").VariantType<{
|
|
96
|
+
readonly ref: import("@elaraai/east").IntegerType;
|
|
97
|
+
readonly wrapper: StructType<{
|
|
98
|
+
readonly id: import("@elaraai/east").IntegerType;
|
|
99
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
100
|
+
}>;
|
|
101
|
+
}>;
|
|
102
|
+
readonly Function: StructType<{
|
|
103
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
104
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
105
|
+
}>;
|
|
106
|
+
readonly AsyncFunction: StructType<{
|
|
107
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
108
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
109
|
+
}>;
|
|
110
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
111
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
112
|
+
}>>;
|
|
113
|
+
/** Author-chosen runtime; resolved to argv by runnerToArgv. One of the known
|
|
114
|
+
* runtime tags — there is no raw-argv runner for functions. */
|
|
115
|
+
readonly runner: import("@elaraai/east").VariantType<{
|
|
116
|
+
readonly east_node: StructType<{
|
|
117
|
+
readonly platforms: ArrayType<StringType>;
|
|
118
|
+
}>;
|
|
119
|
+
readonly east_py: StructType<{
|
|
120
|
+
readonly platforms: ArrayType<StringType>;
|
|
121
|
+
}>;
|
|
122
|
+
readonly east_c: StructType<{
|
|
123
|
+
readonly platforms: ArrayType<StringType>;
|
|
124
|
+
}>;
|
|
125
|
+
readonly custom: StructType<{
|
|
126
|
+
readonly command: ArrayType<StringType>;
|
|
127
|
+
}>;
|
|
128
|
+
}>;
|
|
129
|
+
}>;
|
|
130
|
+
export type FunctionObjectType = typeof FunctionObjectType;
|
|
131
|
+
export type FunctionObject = ValueTypeOf<typeof FunctionObjectType>;
|
|
132
|
+
//# sourceMappingURL=function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function.d.ts","sourceRoot":"","sources":["../../src/function.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAgB,WAAW,EAAE,MAAM,eAAe,CAAC;AAG7F;;;GAGG;AACH,eAAO,MAAM,kBAAkB;IAC7B,wFAAwF;;IAExF;mEAC+D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE/D,wEAAwE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExE;oEACgE;;;;;;;;;;;;;;;EAEhE,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Function object types for e3.
|
|
7
|
+
*
|
|
8
|
+
* An `e3.function` is a named, typed function stored in a package and
|
|
9
|
+
* invoked by name with argument values over the CLI and HTTP API. Unlike
|
|
10
|
+
* a task it is not wired to datasets, not part of the dataflow graph, and
|
|
11
|
+
* triggers no recomputation.
|
|
12
|
+
*
|
|
13
|
+
* The function object stores its signature explicitly so `describe` and
|
|
14
|
+
* arity/type validation work from the small function object without
|
|
15
|
+
* loading the IR bundle, and so dynamic callers (CLI literal parsing,
|
|
16
|
+
* non-TS clients) have the types they need to encode arguments.
|
|
17
|
+
*/
|
|
18
|
+
import { StructType, StringType, ArrayType, EastTypeType } from '@elaraai/east';
|
|
19
|
+
import { RunnerType } from './runner.js';
|
|
20
|
+
/**
|
|
21
|
+
* Function object stored in the object store, referenced by name from
|
|
22
|
+
* `PackageObject.functions`.
|
|
23
|
+
*/
|
|
24
|
+
export const FunctionObjectType = StructType({
|
|
25
|
+
/** Hash of the encoded EastIR bundle (encodeEastIR), like a task's commandIr object. */
|
|
26
|
+
bodyIr: StringType,
|
|
27
|
+
/** Positional parameter types — the IR's signature, surfaced for arity/type
|
|
28
|
+
* validation and `describe` without decoding the whole IR. */
|
|
29
|
+
inputTypes: ArrayType(EastTypeType),
|
|
30
|
+
/** Return type — used to decode the result `value` blob client-side. */
|
|
31
|
+
outputType: EastTypeType,
|
|
32
|
+
/** Author-chosen runtime; resolved to argv by runnerToArgv. One of the known
|
|
33
|
+
* runtime tags — there is no raw-argv runner for functions. */
|
|
34
|
+
runner: RunnerType,
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../src/function.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAe,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAAC;IAC3C,wFAAwF;IACxF,MAAM,EAAE,UAAU;IAClB;mEAC+D;IAC/D,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC;IACnC,wEAAwE;IACxE,UAAU,EAAE,YAAY;IACxB;oEACgE;IAChE,MAAM,EAAE,UAAU;CACnB,CAAC,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -24,12 +24,14 @@ export { DataRefType, type DataRef, unassignedRef, nullRef, DataTreeType, } from
|
|
|
24
24
|
export { VersionVectorType, type VersionVector, DatasetRefType, type DatasetRef, } from './dataset-ref.js';
|
|
25
25
|
export { TaskObjectType, type TaskObject, } from './task.js';
|
|
26
26
|
export { StructureType, type Structure, PathSegmentType, type PathSegment, TreePathType, type TreePath, type ParsePathResult, type ParseDatasetPathResult, type ParsePackageRefResult, treePath, pathToString, parsePath, parseDatasetPath, parsePackageRef, urlPathToTreePath, DatasetSchemaType, type DatasetSchema, } from './structure.js';
|
|
27
|
-
export {
|
|
27
|
+
export { RunnerType, type RunnerValue, runnerToArgv, } from './runner.js';
|
|
28
|
+
export { FunctionObjectType, type FunctionObject, } from './function.js';
|
|
29
|
+
export { PackageDataType, type PackageData, PackageObjectType, type PackageObject, decodePackageObject, PackageDatasetsType, type PackageDatasets, PackageTransferInitRequestType, type PackageTransferInitRequest, PackageTransferInitResponseType, type PackageTransferInitResponse, PackageJobResponseType, type PackageJobResponse, PackageImportResultType, type PackageImportResult, PackageExportResultType, type PackageExportResult, PackageImportProgressType, type PackageImportProgress, PackageImportStatusType, type PackageImportStatus, PackageExportProgressType, type PackageExportProgress, PackageExportStatusType, type PackageExportStatus, } from './package.js';
|
|
28
30
|
export { WorkspaceStateType, type WorkspaceState, } from './workspace.js';
|
|
29
31
|
export { ExecutionStatusType, type ExecutionStatus, } from './execution.js';
|
|
30
32
|
export { LockOperationType, type LockOperation, ProcessHolderType, type ProcessHolder, LockStateType, type LockState, } from './lock.js';
|
|
31
33
|
export { TransferUploadRequestType, type TransferUploadRequest, TransferUploadResponseType, type TransferUploadResponse, TransferDoneResponseType, type TransferDoneResponse, } from './transfer.js';
|
|
32
34
|
export { BEAST2_CONTENT_TYPE } from './constants.js';
|
|
33
|
-
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, 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, DataflowExecutionSummaryType, ApiDataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, type Error, type RepositoryStatus, type GcRequest, type GcResult, type AsyncOperationStatus, type GcStartResult, type GcStatusResult, type PackageListItem, type PackageInfo, type PackageDetails, type WorkspaceInfo, type WorkspaceCreateRequest, type WorkspaceDeployRequest, type DatasetStatus, type TaskStatus as ApiTaskStatus, type DatasetStatusInfo, type TaskStatusInfo, type WorkspaceStatusSummary, type WorkspaceStatusResult, type TaskListItem, type TaskDetails, type DataflowRequest, type LogChunk, type TaskExecutionResult, type DataflowResult, type DataflowEvent, type ApiExecutionStatus, type DataflowExecutionSummary, type ApiDataflowExecutionState, type ExecutionHistoryStatus, type ExecutionListItem, type TreeKind, type ListEntry, type DatasetStatusDetail, } from './api.js';
|
|
35
|
+
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, 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, DataflowExecutionSummaryType, ApiDataflowExecutionStateType, ExecutionHistoryStatusType, ExecutionListItemType, TreeKindType, ListEntryType, DatasetStatusDetailType, ExecuteLimitsType, DiagnosticType, ExecuteResultType, FunctionCallRequestType, FunctionSignatureType, OneShotRequestType, type Error, type RepositoryStatus, type GcRequest, type GcResult, type AsyncOperationStatus, type GcStartResult, type GcStatusResult, type PackageListItem, type PackageInfo, type PackageDetails, type WorkspaceInfo, type WorkspaceCreateRequest, type WorkspaceDeployRequest, type DatasetStatus, type TaskStatus as ApiTaskStatus, type DatasetStatusInfo, type TaskStatusInfo, type WorkspaceStatusSummary, type WorkspaceStatusResult, type TaskListItem, type TaskDetails, type DataflowRequest, type LogChunk, type TaskExecutionResult, type DataflowResult, type DataflowEvent, type ApiExecutionStatus, type DataflowExecutionSummary, type ApiDataflowExecutionState, type ExecutionHistoryStatus, type ExecutionListItem, type TreeKind, type ListEntry, type DatasetStatusDetail, type ExecuteLimits, type Diagnostic, type ExecuteResult, type FunctionCallRequest, type FunctionSignature, type OneShotRequest, } from './api.js';
|
|
34
36
|
export { type DataflowExecutionStatus, type TaskStatus, TaskStateType, type TaskState, DataflowGraphTaskType, type DataflowGraphTask, DataflowGraphType, type DataflowGraph, ExecutionEventType, type ExecutionEvent, DataflowExecutionStateType, type DataflowExecutionState, DataflowRunStatusType, type DataflowRunStatus, TaskExecutionRecordType, type TaskExecutionRecord, DataflowRunSummaryType, type DataflowRunSummary, DataflowRunType, type DataflowRun, } from './dataflow.js';
|
|
35
37
|
//# 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;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EACL,WAAW,EACX,KAAK,OAAO,EACZ,aAAa,EACb,OAAO,EACP,YAAY,GACb,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,iBAAiB,EACjB,KAAK,aAAa,EAClB,cAAc,EACd,KAAK,UAAU,GAChB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,cAAc,EACd,KAAK,UAAU,GAChB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,aAAa,EACb,KAAK,SAAS,EACd,eAAe,EACf,KAAK,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