@trigger.dev/core 4.0.0-v4-beta.26 → 4.0.0-v4-beta.27
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/commonjs/v3/apiClient/core.js +0 -3
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +47 -35
- package/dist/commonjs/v3/index.d.ts +1 -0
- package/dist/commonjs/v3/index.js +1 -0
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/index.d.ts +1 -0
- package/dist/commonjs/v3/isomorphic/index.js +1 -0
- package/dist/commonjs/v3/isomorphic/index.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/traceContext.d.ts +5 -0
- package/dist/commonjs/v3/isomorphic/traceContext.js +25 -0
- package/dist/commonjs/v3/isomorphic/traceContext.js.map +1 -0
- package/dist/commonjs/v3/otel/tracingSDK.d.ts +1 -14
- package/dist/commonjs/v3/otel/tracingSDK.js +92 -84
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/catalog.d.ts +2 -1
- package/dist/commonjs/v3/resource-catalog/index.d.ts +2 -1
- package/dist/commonjs/v3/resource-catalog/index.js +3 -0
- package/dist/commonjs/v3/resource-catalog/index.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.d.ts +2 -1
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js +3 -0
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.d.ts +3 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js +10 -2
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +253 -246
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +253 -246
- package/dist/commonjs/v3/schemas/api.d.ts +117 -80
- package/dist/commonjs/v3/schemas/api.js +2 -0
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +52 -40
- package/dist/commonjs/v3/schemas/common.d.ts +697 -684
- package/dist/commonjs/v3/schemas/common.js +1 -0
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/fetch.d.ts +12 -12
- package/dist/commonjs/v3/schemas/messages.d.ts +3832 -3885
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +18 -18
- package/dist/commonjs/v3/schemas/resources.d.ts +34 -28
- package/dist/commonjs/v3/schemas/resources.js +2 -0
- package/dist/commonjs/v3/schemas/resources.js.map +1 -1
- package/dist/commonjs/v3/schemas/runEngine.d.ts +19 -12
- package/dist/commonjs/v3/schemas/schemas.d.ts +70 -130
- package/dist/commonjs/v3/schemas/schemas.js +12 -1
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/taskContext/otelProcessors.d.ts +4 -5
- package/dist/commonjs/v3/taskContext/otelProcessors.js +4 -3
- package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/commonjs/v3/trace-context-api.d.ts +3 -0
- package/dist/commonjs/v3/trace-context-api.js +9 -0
- package/dist/commonjs/v3/trace-context-api.js.map +1 -0
- package/dist/commonjs/v3/traceContext/api.d.ts +19 -0
- package/dist/commonjs/v3/traceContext/api.js +59 -0
- package/dist/commonjs/v3/traceContext/api.js.map +1 -0
- package/dist/commonjs/v3/traceContext/manager.d.ts +14 -0
- package/dist/commonjs/v3/traceContext/manager.js +60 -0
- package/dist/commonjs/v3/traceContext/manager.js.map +1 -0
- package/dist/commonjs/v3/traceContext/types.d.ts +12 -0
- package/dist/commonjs/v3/traceContext/types.js +3 -0
- package/dist/commonjs/v3/traceContext/types.js.map +1 -0
- package/dist/commonjs/v3/tracer.d.ts +0 -1
- package/dist/commonjs/v3/tracer.js +0 -3
- package/dist/commonjs/v3/tracer.js.map +1 -1
- package/dist/commonjs/v3/types/index.d.ts +1 -0
- package/dist/commonjs/v3/types/index.js +1 -0
- package/dist/commonjs/v3/types/index.js.map +1 -1
- package/dist/commonjs/v3/types/jsonSchema.d.ts +51 -0
- package/dist/commonjs/v3/types/jsonSchema.js +3 -0
- package/dist/commonjs/v3/types/jsonSchema.js.map +1 -0
- package/dist/commonjs/v3/types/tasks.d.ts +24 -0
- package/dist/commonjs/v3/types/tasks.js.map +1 -1
- package/dist/commonjs/v3/utils/globals.d.ts +2 -0
- package/dist/commonjs/v3/utils/globals.js.map +1 -1
- package/dist/commonjs/v3/workers/index.d.ts +1 -0
- package/dist/commonjs/v3/workers/index.js +3 -1
- package/dist/commonjs/v3/workers/index.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.d.ts +2 -2
- package/dist/commonjs/v3/workers/taskExecutor.js +3 -15
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/core.js +0 -3
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/config.d.ts +47 -35
- package/dist/esm/v3/index.d.ts +1 -0
- package/dist/esm/v3/index.js +1 -0
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/isomorphic/index.d.ts +1 -0
- package/dist/esm/v3/isomorphic/index.js +1 -0
- package/dist/esm/v3/isomorphic/index.js.map +1 -1
- package/dist/esm/v3/isomorphic/traceContext.d.ts +5 -0
- package/dist/esm/v3/isomorphic/traceContext.js +21 -0
- package/dist/esm/v3/isomorphic/traceContext.js.map +1 -0
- package/dist/esm/v3/otel/tracingSDK.d.ts +1 -14
- package/dist/esm/v3/otel/tracingSDK.js +93 -85
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/resource-catalog/catalog.d.ts +2 -1
- package/dist/esm/v3/resource-catalog/index.d.ts +2 -1
- package/dist/esm/v3/resource-catalog/index.js +3 -0
- package/dist/esm/v3/resource-catalog/index.js.map +1 -1
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.d.ts +2 -1
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.js +3 -0
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.d.ts +3 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js +10 -2
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +253 -246
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +253 -246
- package/dist/esm/v3/schemas/api.d.ts +117 -80
- package/dist/esm/v3/schemas/api.js +2 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +52 -40
- package/dist/esm/v3/schemas/common.d.ts +697 -684
- package/dist/esm/v3/schemas/common.js +1 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/fetch.d.ts +12 -12
- package/dist/esm/v3/schemas/messages.d.ts +3832 -3885
- package/dist/esm/v3/schemas/openTelemetry.d.ts +18 -18
- package/dist/esm/v3/schemas/resources.d.ts +34 -28
- package/dist/esm/v3/schemas/resources.js +2 -0
- package/dist/esm/v3/schemas/resources.js.map +1 -1
- package/dist/esm/v3/schemas/runEngine.d.ts +19 -12
- package/dist/esm/v3/schemas/schemas.d.ts +70 -130
- package/dist/esm/v3/schemas/schemas.js +11 -0
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/taskContext/otelProcessors.d.ts +4 -5
- package/dist/esm/v3/taskContext/otelProcessors.js +4 -3
- package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/esm/v3/trace-context-api.d.ts +3 -0
- package/dist/esm/v3/trace-context-api.js +6 -0
- package/dist/esm/v3/trace-context-api.js.map +1 -0
- package/dist/esm/v3/traceContext/api.d.ts +19 -0
- package/dist/esm/v3/traceContext/api.js +55 -0
- package/dist/esm/v3/traceContext/api.js.map +1 -0
- package/dist/esm/v3/traceContext/manager.d.ts +14 -0
- package/dist/esm/v3/traceContext/manager.js +56 -0
- package/dist/esm/v3/traceContext/manager.js.map +1 -0
- package/dist/esm/v3/traceContext/types.d.ts +12 -0
- package/dist/esm/v3/traceContext/types.js +2 -0
- package/dist/esm/v3/traceContext/types.js.map +1 -0
- package/dist/esm/v3/tracer.d.ts +0 -1
- package/dist/esm/v3/tracer.js +1 -4
- package/dist/esm/v3/tracer.js.map +1 -1
- package/dist/esm/v3/types/index.d.ts +1 -0
- package/dist/esm/v3/types/index.js +1 -0
- package/dist/esm/v3/types/index.js.map +1 -1
- package/dist/esm/v3/types/jsonSchema.d.ts +51 -0
- package/dist/esm/v3/types/jsonSchema.js +2 -0
- package/dist/esm/v3/types/jsonSchema.js.map +1 -0
- package/dist/esm/v3/types/tasks.d.ts +24 -0
- package/dist/esm/v3/types/tasks.js.map +1 -1
- package/dist/esm/v3/utils/globals.d.ts +2 -0
- package/dist/esm/v3/utils/globals.js.map +1 -1
- package/dist/esm/v3/workers/index.d.ts +1 -0
- package/dist/esm/v3/workers/index.js +1 -0
- package/dist/esm/v3/workers/index.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.d.ts +2 -2
- package/dist/esm/v3/workers/taskExecutor.js +5 -17
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +12 -13
|
@@ -957,6 +957,7 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
957
957
|
rootTaskRunId: z.ZodOptional<z.ZodString>;
|
|
958
958
|
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
959
959
|
costInCents: z.ZodOptional<z.ZodNumber>;
|
|
960
|
+
region: z.ZodOptional<z.ZodString>;
|
|
960
961
|
}, "strip", z.ZodTypeAny, {
|
|
961
962
|
payload: string;
|
|
962
963
|
id: string;
|
|
@@ -976,6 +977,7 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
976
977
|
rootTaskRunId?: string | undefined;
|
|
977
978
|
durationMs?: number | undefined;
|
|
978
979
|
costInCents?: number | undefined;
|
|
980
|
+
region?: string | undefined;
|
|
979
981
|
}, {
|
|
980
982
|
payload: string;
|
|
981
983
|
id: string;
|
|
@@ -995,6 +997,7 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
995
997
|
rootTaskRunId?: string | undefined;
|
|
996
998
|
durationMs?: number | undefined;
|
|
997
999
|
costInCents?: number | undefined;
|
|
1000
|
+
region?: string | undefined;
|
|
998
1001
|
}>, z.ZodObject<{
|
|
999
1002
|
traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1000
1003
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1072,6 +1075,7 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1072
1075
|
rootTaskRunId?: string | undefined;
|
|
1073
1076
|
durationMs?: number | undefined;
|
|
1074
1077
|
costInCents?: number | undefined;
|
|
1078
|
+
region?: string | undefined;
|
|
1075
1079
|
} & {
|
|
1076
1080
|
traceContext?: Record<string, unknown> | undefined;
|
|
1077
1081
|
};
|
|
@@ -1166,6 +1170,7 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1166
1170
|
rootTaskRunId?: string | undefined;
|
|
1167
1171
|
durationMs?: number | undefined;
|
|
1168
1172
|
costInCents?: number | undefined;
|
|
1173
|
+
region?: string | undefined;
|
|
1169
1174
|
} & {
|
|
1170
1175
|
traceContext?: Record<string, unknown> | undefined;
|
|
1171
1176
|
};
|
|
@@ -1262,6 +1267,7 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1262
1267
|
rootTaskRunId?: string | undefined;
|
|
1263
1268
|
durationMs?: number | undefined;
|
|
1264
1269
|
costInCents?: number | undefined;
|
|
1270
|
+
region?: string | undefined;
|
|
1265
1271
|
} & {
|
|
1266
1272
|
traceContext?: Record<string, unknown> | undefined;
|
|
1267
1273
|
};
|
|
@@ -1358,6 +1364,7 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1358
1364
|
rootTaskRunId?: string | undefined;
|
|
1359
1365
|
durationMs?: number | undefined;
|
|
1360
1366
|
costInCents?: number | undefined;
|
|
1367
|
+
region?: string | undefined;
|
|
1361
1368
|
} & {
|
|
1362
1369
|
traceContext?: Record<string, unknown> | undefined;
|
|
1363
1370
|
};
|
|
@@ -1411,22 +1418,22 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1411
1418
|
type: z.ZodLiteral<"update">;
|
|
1412
1419
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1413
1420
|
}, "strip", z.ZodTypeAny, {
|
|
1414
|
-
type: "update";
|
|
1415
1421
|
value: Record<string, unknown>;
|
|
1416
|
-
}, {
|
|
1417
1422
|
type: "update";
|
|
1423
|
+
}, {
|
|
1418
1424
|
value: Record<string, unknown>;
|
|
1425
|
+
type: "update";
|
|
1419
1426
|
}>, z.ZodObject<{
|
|
1420
1427
|
type: z.ZodLiteral<"set">;
|
|
1421
1428
|
key: z.ZodString;
|
|
1422
1429
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1423
1430
|
}, "strip", z.ZodTypeAny, {
|
|
1424
|
-
type: "set";
|
|
1425
1431
|
value: import("../../../index.js").DeserializedJson;
|
|
1432
|
+
type: "set";
|
|
1426
1433
|
key: string;
|
|
1427
1434
|
}, {
|
|
1428
|
-
type: "set";
|
|
1429
1435
|
value: import("../../../index.js").DeserializedJson;
|
|
1436
|
+
type: "set";
|
|
1430
1437
|
key: string;
|
|
1431
1438
|
}>, z.ZodObject<{
|
|
1432
1439
|
type: z.ZodLiteral<"delete">;
|
|
@@ -1442,58 +1449,58 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1442
1449
|
key: z.ZodString;
|
|
1443
1450
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1444
1451
|
}, "strip", z.ZodTypeAny, {
|
|
1445
|
-
type: "append";
|
|
1446
1452
|
value: import("../../../index.js").DeserializedJson;
|
|
1453
|
+
type: "append";
|
|
1447
1454
|
key: string;
|
|
1448
1455
|
}, {
|
|
1449
|
-
type: "append";
|
|
1450
1456
|
value: import("../../../index.js").DeserializedJson;
|
|
1457
|
+
type: "append";
|
|
1451
1458
|
key: string;
|
|
1452
1459
|
}>, z.ZodObject<{
|
|
1453
1460
|
type: z.ZodLiteral<"remove">;
|
|
1454
1461
|
key: z.ZodString;
|
|
1455
1462
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1456
1463
|
}, "strip", z.ZodTypeAny, {
|
|
1457
|
-
type: "remove";
|
|
1458
1464
|
value: import("../../../index.js").DeserializedJson;
|
|
1465
|
+
type: "remove";
|
|
1459
1466
|
key: string;
|
|
1460
1467
|
}, {
|
|
1461
|
-
type: "remove";
|
|
1462
1468
|
value: import("../../../index.js").DeserializedJson;
|
|
1469
|
+
type: "remove";
|
|
1463
1470
|
key: string;
|
|
1464
1471
|
}>, z.ZodObject<{
|
|
1465
1472
|
type: z.ZodLiteral<"increment">;
|
|
1466
1473
|
key: z.ZodString;
|
|
1467
1474
|
value: z.ZodNumber;
|
|
1468
1475
|
}, "strip", z.ZodTypeAny, {
|
|
1469
|
-
type: "increment";
|
|
1470
1476
|
value: number;
|
|
1477
|
+
type: "increment";
|
|
1471
1478
|
key: string;
|
|
1472
1479
|
}, {
|
|
1473
|
-
type: "increment";
|
|
1474
1480
|
value: number;
|
|
1481
|
+
type: "increment";
|
|
1475
1482
|
key: string;
|
|
1476
1483
|
}>]>, "many">>;
|
|
1477
1484
|
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1478
1485
|
type: z.ZodLiteral<"update">;
|
|
1479
1486
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1480
1487
|
}, "strip", z.ZodTypeAny, {
|
|
1481
|
-
type: "update";
|
|
1482
1488
|
value: Record<string, unknown>;
|
|
1483
|
-
}, {
|
|
1484
1489
|
type: "update";
|
|
1490
|
+
}, {
|
|
1485
1491
|
value: Record<string, unknown>;
|
|
1492
|
+
type: "update";
|
|
1486
1493
|
}>, z.ZodObject<{
|
|
1487
1494
|
type: z.ZodLiteral<"set">;
|
|
1488
1495
|
key: z.ZodString;
|
|
1489
1496
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1490
1497
|
}, "strip", z.ZodTypeAny, {
|
|
1491
|
-
type: "set";
|
|
1492
1498
|
value: import("../../../index.js").DeserializedJson;
|
|
1499
|
+
type: "set";
|
|
1493
1500
|
key: string;
|
|
1494
1501
|
}, {
|
|
1495
|
-
type: "set";
|
|
1496
1502
|
value: import("../../../index.js").DeserializedJson;
|
|
1503
|
+
type: "set";
|
|
1497
1504
|
key: string;
|
|
1498
1505
|
}>, z.ZodObject<{
|
|
1499
1506
|
type: z.ZodLiteral<"delete">;
|
|
@@ -1509,58 +1516,58 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1509
1516
|
key: z.ZodString;
|
|
1510
1517
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1511
1518
|
}, "strip", z.ZodTypeAny, {
|
|
1512
|
-
type: "append";
|
|
1513
1519
|
value: import("../../../index.js").DeserializedJson;
|
|
1520
|
+
type: "append";
|
|
1514
1521
|
key: string;
|
|
1515
1522
|
}, {
|
|
1516
|
-
type: "append";
|
|
1517
1523
|
value: import("../../../index.js").DeserializedJson;
|
|
1524
|
+
type: "append";
|
|
1518
1525
|
key: string;
|
|
1519
1526
|
}>, z.ZodObject<{
|
|
1520
1527
|
type: z.ZodLiteral<"remove">;
|
|
1521
1528
|
key: z.ZodString;
|
|
1522
1529
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1523
1530
|
}, "strip", z.ZodTypeAny, {
|
|
1524
|
-
type: "remove";
|
|
1525
1531
|
value: import("../../../index.js").DeserializedJson;
|
|
1532
|
+
type: "remove";
|
|
1526
1533
|
key: string;
|
|
1527
1534
|
}, {
|
|
1528
|
-
type: "remove";
|
|
1529
1535
|
value: import("../../../index.js").DeserializedJson;
|
|
1536
|
+
type: "remove";
|
|
1530
1537
|
key: string;
|
|
1531
1538
|
}>, z.ZodObject<{
|
|
1532
1539
|
type: z.ZodLiteral<"increment">;
|
|
1533
1540
|
key: z.ZodString;
|
|
1534
1541
|
value: z.ZodNumber;
|
|
1535
1542
|
}, "strip", z.ZodTypeAny, {
|
|
1536
|
-
type: "increment";
|
|
1537
1543
|
value: number;
|
|
1544
|
+
type: "increment";
|
|
1538
1545
|
key: string;
|
|
1539
1546
|
}, {
|
|
1540
|
-
type: "increment";
|
|
1541
1547
|
value: number;
|
|
1548
|
+
type: "increment";
|
|
1542
1549
|
key: string;
|
|
1543
1550
|
}>]>, "many">>;
|
|
1544
1551
|
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1545
1552
|
type: z.ZodLiteral<"update">;
|
|
1546
1553
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1547
1554
|
}, "strip", z.ZodTypeAny, {
|
|
1548
|
-
type: "update";
|
|
1549
1555
|
value: Record<string, unknown>;
|
|
1550
|
-
}, {
|
|
1551
1556
|
type: "update";
|
|
1557
|
+
}, {
|
|
1552
1558
|
value: Record<string, unknown>;
|
|
1559
|
+
type: "update";
|
|
1553
1560
|
}>, z.ZodObject<{
|
|
1554
1561
|
type: z.ZodLiteral<"set">;
|
|
1555
1562
|
key: z.ZodString;
|
|
1556
1563
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1557
1564
|
}, "strip", z.ZodTypeAny, {
|
|
1558
|
-
type: "set";
|
|
1559
1565
|
value: import("../../../index.js").DeserializedJson;
|
|
1566
|
+
type: "set";
|
|
1560
1567
|
key: string;
|
|
1561
1568
|
}, {
|
|
1562
|
-
type: "set";
|
|
1563
1569
|
value: import("../../../index.js").DeserializedJson;
|
|
1570
|
+
type: "set";
|
|
1564
1571
|
key: string;
|
|
1565
1572
|
}>, z.ZodObject<{
|
|
1566
1573
|
type: z.ZodLiteral<"delete">;
|
|
@@ -1576,178 +1583,178 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1576
1583
|
key: z.ZodString;
|
|
1577
1584
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1578
1585
|
}, "strip", z.ZodTypeAny, {
|
|
1579
|
-
type: "append";
|
|
1580
1586
|
value: import("../../../index.js").DeserializedJson;
|
|
1587
|
+
type: "append";
|
|
1581
1588
|
key: string;
|
|
1582
1589
|
}, {
|
|
1583
|
-
type: "append";
|
|
1584
1590
|
value: import("../../../index.js").DeserializedJson;
|
|
1591
|
+
type: "append";
|
|
1585
1592
|
key: string;
|
|
1586
1593
|
}>, z.ZodObject<{
|
|
1587
1594
|
type: z.ZodLiteral<"remove">;
|
|
1588
1595
|
key: z.ZodString;
|
|
1589
1596
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1590
1597
|
}, "strip", z.ZodTypeAny, {
|
|
1591
|
-
type: "remove";
|
|
1592
1598
|
value: import("../../../index.js").DeserializedJson;
|
|
1599
|
+
type: "remove";
|
|
1593
1600
|
key: string;
|
|
1594
1601
|
}, {
|
|
1595
|
-
type: "remove";
|
|
1596
1602
|
value: import("../../../index.js").DeserializedJson;
|
|
1603
|
+
type: "remove";
|
|
1597
1604
|
key: string;
|
|
1598
1605
|
}>, z.ZodObject<{
|
|
1599
1606
|
type: z.ZodLiteral<"increment">;
|
|
1600
1607
|
key: z.ZodString;
|
|
1601
1608
|
value: z.ZodNumber;
|
|
1602
1609
|
}, "strip", z.ZodTypeAny, {
|
|
1603
|
-
type: "increment";
|
|
1604
1610
|
value: number;
|
|
1611
|
+
type: "increment";
|
|
1605
1612
|
key: string;
|
|
1606
1613
|
}, {
|
|
1607
|
-
type: "increment";
|
|
1608
1614
|
value: number;
|
|
1615
|
+
type: "increment";
|
|
1609
1616
|
key: string;
|
|
1610
1617
|
}>]>, "many">>;
|
|
1611
1618
|
}, "strip", z.ZodTypeAny, {
|
|
1612
1619
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1613
1620
|
operations?: ({
|
|
1614
|
-
type: "update";
|
|
1615
1621
|
value: Record<string, unknown>;
|
|
1622
|
+
type: "update";
|
|
1616
1623
|
} | {
|
|
1617
|
-
type: "set";
|
|
1618
1624
|
value: import("../../../index.js").DeserializedJson;
|
|
1625
|
+
type: "set";
|
|
1619
1626
|
key: string;
|
|
1620
1627
|
} | {
|
|
1621
1628
|
type: "delete";
|
|
1622
1629
|
key: string;
|
|
1623
1630
|
} | {
|
|
1624
|
-
type: "append";
|
|
1625
1631
|
value: import("../../../index.js").DeserializedJson;
|
|
1632
|
+
type: "append";
|
|
1626
1633
|
key: string;
|
|
1627
1634
|
} | {
|
|
1628
|
-
type: "remove";
|
|
1629
1635
|
value: import("../../../index.js").DeserializedJson;
|
|
1636
|
+
type: "remove";
|
|
1630
1637
|
key: string;
|
|
1631
1638
|
} | {
|
|
1632
|
-
type: "increment";
|
|
1633
1639
|
value: number;
|
|
1640
|
+
type: "increment";
|
|
1634
1641
|
key: string;
|
|
1635
1642
|
})[] | undefined;
|
|
1636
1643
|
parentOperations?: ({
|
|
1637
|
-
type: "update";
|
|
1638
1644
|
value: Record<string, unknown>;
|
|
1645
|
+
type: "update";
|
|
1639
1646
|
} | {
|
|
1640
|
-
type: "set";
|
|
1641
1647
|
value: import("../../../index.js").DeserializedJson;
|
|
1648
|
+
type: "set";
|
|
1642
1649
|
key: string;
|
|
1643
1650
|
} | {
|
|
1644
1651
|
type: "delete";
|
|
1645
1652
|
key: string;
|
|
1646
1653
|
} | {
|
|
1647
|
-
type: "append";
|
|
1648
1654
|
value: import("../../../index.js").DeserializedJson;
|
|
1655
|
+
type: "append";
|
|
1649
1656
|
key: string;
|
|
1650
1657
|
} | {
|
|
1651
|
-
type: "remove";
|
|
1652
1658
|
value: import("../../../index.js").DeserializedJson;
|
|
1659
|
+
type: "remove";
|
|
1653
1660
|
key: string;
|
|
1654
1661
|
} | {
|
|
1655
|
-
type: "increment";
|
|
1656
1662
|
value: number;
|
|
1663
|
+
type: "increment";
|
|
1657
1664
|
key: string;
|
|
1658
1665
|
})[] | undefined;
|
|
1659
1666
|
rootOperations?: ({
|
|
1660
|
-
type: "update";
|
|
1661
1667
|
value: Record<string, unknown>;
|
|
1668
|
+
type: "update";
|
|
1662
1669
|
} | {
|
|
1663
|
-
type: "set";
|
|
1664
1670
|
value: import("../../../index.js").DeserializedJson;
|
|
1671
|
+
type: "set";
|
|
1665
1672
|
key: string;
|
|
1666
1673
|
} | {
|
|
1667
1674
|
type: "delete";
|
|
1668
1675
|
key: string;
|
|
1669
1676
|
} | {
|
|
1670
|
-
type: "append";
|
|
1671
1677
|
value: import("../../../index.js").DeserializedJson;
|
|
1678
|
+
type: "append";
|
|
1672
1679
|
key: string;
|
|
1673
1680
|
} | {
|
|
1674
|
-
type: "remove";
|
|
1675
1681
|
value: import("../../../index.js").DeserializedJson;
|
|
1682
|
+
type: "remove";
|
|
1676
1683
|
key: string;
|
|
1677
1684
|
} | {
|
|
1678
|
-
type: "increment";
|
|
1679
1685
|
value: number;
|
|
1686
|
+
type: "increment";
|
|
1680
1687
|
key: string;
|
|
1681
1688
|
})[] | undefined;
|
|
1682
1689
|
}, {
|
|
1683
1690
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1684
1691
|
operations?: ({
|
|
1685
|
-
type: "update";
|
|
1686
1692
|
value: Record<string, unknown>;
|
|
1693
|
+
type: "update";
|
|
1687
1694
|
} | {
|
|
1688
|
-
type: "set";
|
|
1689
1695
|
value: import("../../../index.js").DeserializedJson;
|
|
1696
|
+
type: "set";
|
|
1690
1697
|
key: string;
|
|
1691
1698
|
} | {
|
|
1692
1699
|
type: "delete";
|
|
1693
1700
|
key: string;
|
|
1694
1701
|
} | {
|
|
1695
|
-
type: "append";
|
|
1696
1702
|
value: import("../../../index.js").DeserializedJson;
|
|
1703
|
+
type: "append";
|
|
1697
1704
|
key: string;
|
|
1698
1705
|
} | {
|
|
1699
|
-
type: "remove";
|
|
1700
1706
|
value: import("../../../index.js").DeserializedJson;
|
|
1707
|
+
type: "remove";
|
|
1701
1708
|
key: string;
|
|
1702
1709
|
} | {
|
|
1703
|
-
type: "increment";
|
|
1704
1710
|
value: number;
|
|
1711
|
+
type: "increment";
|
|
1705
1712
|
key: string;
|
|
1706
1713
|
})[] | undefined;
|
|
1707
1714
|
parentOperations?: ({
|
|
1708
|
-
type: "update";
|
|
1709
1715
|
value: Record<string, unknown>;
|
|
1716
|
+
type: "update";
|
|
1710
1717
|
} | {
|
|
1711
|
-
type: "set";
|
|
1712
1718
|
value: import("../../../index.js").DeserializedJson;
|
|
1719
|
+
type: "set";
|
|
1713
1720
|
key: string;
|
|
1714
1721
|
} | {
|
|
1715
1722
|
type: "delete";
|
|
1716
1723
|
key: string;
|
|
1717
1724
|
} | {
|
|
1718
|
-
type: "append";
|
|
1719
1725
|
value: import("../../../index.js").DeserializedJson;
|
|
1726
|
+
type: "append";
|
|
1720
1727
|
key: string;
|
|
1721
1728
|
} | {
|
|
1722
|
-
type: "remove";
|
|
1723
1729
|
value: import("../../../index.js").DeserializedJson;
|
|
1730
|
+
type: "remove";
|
|
1724
1731
|
key: string;
|
|
1725
1732
|
} | {
|
|
1726
|
-
type: "increment";
|
|
1727
1733
|
value: number;
|
|
1734
|
+
type: "increment";
|
|
1728
1735
|
key: string;
|
|
1729
1736
|
})[] | undefined;
|
|
1730
1737
|
rootOperations?: ({
|
|
1731
|
-
type: "update";
|
|
1732
1738
|
value: Record<string, unknown>;
|
|
1739
|
+
type: "update";
|
|
1733
1740
|
} | {
|
|
1734
|
-
type: "set";
|
|
1735
1741
|
value: import("../../../index.js").DeserializedJson;
|
|
1742
|
+
type: "set";
|
|
1736
1743
|
key: string;
|
|
1737
1744
|
} | {
|
|
1738
1745
|
type: "delete";
|
|
1739
1746
|
key: string;
|
|
1740
1747
|
} | {
|
|
1741
|
-
type: "append";
|
|
1742
1748
|
value: import("../../../index.js").DeserializedJson;
|
|
1749
|
+
type: "append";
|
|
1743
1750
|
key: string;
|
|
1744
1751
|
} | {
|
|
1745
|
-
type: "remove";
|
|
1746
1752
|
value: import("../../../index.js").DeserializedJson;
|
|
1753
|
+
type: "remove";
|
|
1747
1754
|
key: string;
|
|
1748
1755
|
} | {
|
|
1749
|
-
type: "increment";
|
|
1750
1756
|
value: number;
|
|
1757
|
+
type: "increment";
|
|
1751
1758
|
key: string;
|
|
1752
1759
|
})[] | undefined;
|
|
1753
1760
|
}>>;
|
|
@@ -1768,72 +1775,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1768
1775
|
metadata?: {
|
|
1769
1776
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1770
1777
|
operations?: ({
|
|
1771
|
-
type: "update";
|
|
1772
1778
|
value: Record<string, unknown>;
|
|
1779
|
+
type: "update";
|
|
1773
1780
|
} | {
|
|
1774
|
-
type: "set";
|
|
1775
1781
|
value: import("../../../index.js").DeserializedJson;
|
|
1782
|
+
type: "set";
|
|
1776
1783
|
key: string;
|
|
1777
1784
|
} | {
|
|
1778
1785
|
type: "delete";
|
|
1779
1786
|
key: string;
|
|
1780
1787
|
} | {
|
|
1781
|
-
type: "append";
|
|
1782
1788
|
value: import("../../../index.js").DeserializedJson;
|
|
1789
|
+
type: "append";
|
|
1783
1790
|
key: string;
|
|
1784
1791
|
} | {
|
|
1785
|
-
type: "remove";
|
|
1786
1792
|
value: import("../../../index.js").DeserializedJson;
|
|
1793
|
+
type: "remove";
|
|
1787
1794
|
key: string;
|
|
1788
1795
|
} | {
|
|
1789
|
-
type: "increment";
|
|
1790
1796
|
value: number;
|
|
1797
|
+
type: "increment";
|
|
1791
1798
|
key: string;
|
|
1792
1799
|
})[] | undefined;
|
|
1793
1800
|
parentOperations?: ({
|
|
1794
|
-
type: "update";
|
|
1795
1801
|
value: Record<string, unknown>;
|
|
1802
|
+
type: "update";
|
|
1796
1803
|
} | {
|
|
1797
|
-
type: "set";
|
|
1798
1804
|
value: import("../../../index.js").DeserializedJson;
|
|
1805
|
+
type: "set";
|
|
1799
1806
|
key: string;
|
|
1800
1807
|
} | {
|
|
1801
1808
|
type: "delete";
|
|
1802
1809
|
key: string;
|
|
1803
1810
|
} | {
|
|
1804
|
-
type: "append";
|
|
1805
1811
|
value: import("../../../index.js").DeserializedJson;
|
|
1812
|
+
type: "append";
|
|
1806
1813
|
key: string;
|
|
1807
1814
|
} | {
|
|
1808
|
-
type: "remove";
|
|
1809
1815
|
value: import("../../../index.js").DeserializedJson;
|
|
1816
|
+
type: "remove";
|
|
1810
1817
|
key: string;
|
|
1811
1818
|
} | {
|
|
1812
|
-
type: "increment";
|
|
1813
1819
|
value: number;
|
|
1820
|
+
type: "increment";
|
|
1814
1821
|
key: string;
|
|
1815
1822
|
})[] | undefined;
|
|
1816
1823
|
rootOperations?: ({
|
|
1817
|
-
type: "update";
|
|
1818
1824
|
value: Record<string, unknown>;
|
|
1825
|
+
type: "update";
|
|
1819
1826
|
} | {
|
|
1820
|
-
type: "set";
|
|
1821
1827
|
value: import("../../../index.js").DeserializedJson;
|
|
1828
|
+
type: "set";
|
|
1822
1829
|
key: string;
|
|
1823
1830
|
} | {
|
|
1824
1831
|
type: "delete";
|
|
1825
1832
|
key: string;
|
|
1826
1833
|
} | {
|
|
1827
|
-
type: "append";
|
|
1828
1834
|
value: import("../../../index.js").DeserializedJson;
|
|
1835
|
+
type: "append";
|
|
1829
1836
|
key: string;
|
|
1830
1837
|
} | {
|
|
1831
|
-
type: "remove";
|
|
1832
1838
|
value: import("../../../index.js").DeserializedJson;
|
|
1839
|
+
type: "remove";
|
|
1833
1840
|
key: string;
|
|
1834
1841
|
} | {
|
|
1835
|
-
type: "increment";
|
|
1836
1842
|
value: number;
|
|
1843
|
+
type: "increment";
|
|
1837
1844
|
key: string;
|
|
1838
1845
|
})[] | undefined;
|
|
1839
1846
|
} | undefined;
|
|
@@ -1853,72 +1860,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1853
1860
|
metadata?: {
|
|
1854
1861
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1855
1862
|
operations?: ({
|
|
1856
|
-
type: "update";
|
|
1857
1863
|
value: Record<string, unknown>;
|
|
1864
|
+
type: "update";
|
|
1858
1865
|
} | {
|
|
1859
|
-
type: "set";
|
|
1860
1866
|
value: import("../../../index.js").DeserializedJson;
|
|
1867
|
+
type: "set";
|
|
1861
1868
|
key: string;
|
|
1862
1869
|
} | {
|
|
1863
1870
|
type: "delete";
|
|
1864
1871
|
key: string;
|
|
1865
1872
|
} | {
|
|
1866
|
-
type: "append";
|
|
1867
1873
|
value: import("../../../index.js").DeserializedJson;
|
|
1874
|
+
type: "append";
|
|
1868
1875
|
key: string;
|
|
1869
1876
|
} | {
|
|
1870
|
-
type: "remove";
|
|
1871
1877
|
value: import("../../../index.js").DeserializedJson;
|
|
1878
|
+
type: "remove";
|
|
1872
1879
|
key: string;
|
|
1873
1880
|
} | {
|
|
1874
|
-
type: "increment";
|
|
1875
1881
|
value: number;
|
|
1882
|
+
type: "increment";
|
|
1876
1883
|
key: string;
|
|
1877
1884
|
})[] | undefined;
|
|
1878
1885
|
parentOperations?: ({
|
|
1879
|
-
type: "update";
|
|
1880
1886
|
value: Record<string, unknown>;
|
|
1887
|
+
type: "update";
|
|
1881
1888
|
} | {
|
|
1882
|
-
type: "set";
|
|
1883
1889
|
value: import("../../../index.js").DeserializedJson;
|
|
1890
|
+
type: "set";
|
|
1884
1891
|
key: string;
|
|
1885
1892
|
} | {
|
|
1886
1893
|
type: "delete";
|
|
1887
1894
|
key: string;
|
|
1888
1895
|
} | {
|
|
1889
|
-
type: "append";
|
|
1890
1896
|
value: import("../../../index.js").DeserializedJson;
|
|
1897
|
+
type: "append";
|
|
1891
1898
|
key: string;
|
|
1892
1899
|
} | {
|
|
1893
|
-
type: "remove";
|
|
1894
1900
|
value: import("../../../index.js").DeserializedJson;
|
|
1901
|
+
type: "remove";
|
|
1895
1902
|
key: string;
|
|
1896
1903
|
} | {
|
|
1897
|
-
type: "increment";
|
|
1898
1904
|
value: number;
|
|
1905
|
+
type: "increment";
|
|
1899
1906
|
key: string;
|
|
1900
1907
|
})[] | undefined;
|
|
1901
1908
|
rootOperations?: ({
|
|
1902
|
-
type: "update";
|
|
1903
1909
|
value: Record<string, unknown>;
|
|
1910
|
+
type: "update";
|
|
1904
1911
|
} | {
|
|
1905
|
-
type: "set";
|
|
1906
1912
|
value: import("../../../index.js").DeserializedJson;
|
|
1913
|
+
type: "set";
|
|
1907
1914
|
key: string;
|
|
1908
1915
|
} | {
|
|
1909
1916
|
type: "delete";
|
|
1910
1917
|
key: string;
|
|
1911
1918
|
} | {
|
|
1912
|
-
type: "append";
|
|
1913
1919
|
value: import("../../../index.js").DeserializedJson;
|
|
1920
|
+
type: "append";
|
|
1914
1921
|
key: string;
|
|
1915
1922
|
} | {
|
|
1916
|
-
type: "remove";
|
|
1917
1923
|
value: import("../../../index.js").DeserializedJson;
|
|
1924
|
+
type: "remove";
|
|
1918
1925
|
key: string;
|
|
1919
1926
|
} | {
|
|
1920
|
-
type: "increment";
|
|
1921
1927
|
value: number;
|
|
1928
|
+
type: "increment";
|
|
1922
1929
|
key: string;
|
|
1923
1930
|
})[] | undefined;
|
|
1924
1931
|
} | undefined;
|
|
@@ -2011,22 +2018,22 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2011
2018
|
type: z.ZodLiteral<"update">;
|
|
2012
2019
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2013
2020
|
}, "strip", z.ZodTypeAny, {
|
|
2014
|
-
type: "update";
|
|
2015
2021
|
value: Record<string, unknown>;
|
|
2016
|
-
}, {
|
|
2017
2022
|
type: "update";
|
|
2023
|
+
}, {
|
|
2018
2024
|
value: Record<string, unknown>;
|
|
2025
|
+
type: "update";
|
|
2019
2026
|
}>, z.ZodObject<{
|
|
2020
2027
|
type: z.ZodLiteral<"set">;
|
|
2021
2028
|
key: z.ZodString;
|
|
2022
2029
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2023
2030
|
}, "strip", z.ZodTypeAny, {
|
|
2024
|
-
type: "set";
|
|
2025
2031
|
value: import("../../../index.js").DeserializedJson;
|
|
2032
|
+
type: "set";
|
|
2026
2033
|
key: string;
|
|
2027
2034
|
}, {
|
|
2028
|
-
type: "set";
|
|
2029
2035
|
value: import("../../../index.js").DeserializedJson;
|
|
2036
|
+
type: "set";
|
|
2030
2037
|
key: string;
|
|
2031
2038
|
}>, z.ZodObject<{
|
|
2032
2039
|
type: z.ZodLiteral<"delete">;
|
|
@@ -2042,58 +2049,58 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2042
2049
|
key: z.ZodString;
|
|
2043
2050
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2044
2051
|
}, "strip", z.ZodTypeAny, {
|
|
2045
|
-
type: "append";
|
|
2046
2052
|
value: import("../../../index.js").DeserializedJson;
|
|
2053
|
+
type: "append";
|
|
2047
2054
|
key: string;
|
|
2048
2055
|
}, {
|
|
2049
|
-
type: "append";
|
|
2050
2056
|
value: import("../../../index.js").DeserializedJson;
|
|
2057
|
+
type: "append";
|
|
2051
2058
|
key: string;
|
|
2052
2059
|
}>, z.ZodObject<{
|
|
2053
2060
|
type: z.ZodLiteral<"remove">;
|
|
2054
2061
|
key: z.ZodString;
|
|
2055
2062
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2056
2063
|
}, "strip", z.ZodTypeAny, {
|
|
2057
|
-
type: "remove";
|
|
2058
2064
|
value: import("../../../index.js").DeserializedJson;
|
|
2065
|
+
type: "remove";
|
|
2059
2066
|
key: string;
|
|
2060
2067
|
}, {
|
|
2061
|
-
type: "remove";
|
|
2062
2068
|
value: import("../../../index.js").DeserializedJson;
|
|
2069
|
+
type: "remove";
|
|
2063
2070
|
key: string;
|
|
2064
2071
|
}>, z.ZodObject<{
|
|
2065
2072
|
type: z.ZodLiteral<"increment">;
|
|
2066
2073
|
key: z.ZodString;
|
|
2067
2074
|
value: z.ZodNumber;
|
|
2068
2075
|
}, "strip", z.ZodTypeAny, {
|
|
2069
|
-
type: "increment";
|
|
2070
2076
|
value: number;
|
|
2077
|
+
type: "increment";
|
|
2071
2078
|
key: string;
|
|
2072
2079
|
}, {
|
|
2073
|
-
type: "increment";
|
|
2074
2080
|
value: number;
|
|
2081
|
+
type: "increment";
|
|
2075
2082
|
key: string;
|
|
2076
2083
|
}>]>, "many">>;
|
|
2077
2084
|
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2078
2085
|
type: z.ZodLiteral<"update">;
|
|
2079
2086
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2080
2087
|
}, "strip", z.ZodTypeAny, {
|
|
2081
|
-
type: "update";
|
|
2082
2088
|
value: Record<string, unknown>;
|
|
2083
|
-
}, {
|
|
2084
2089
|
type: "update";
|
|
2090
|
+
}, {
|
|
2085
2091
|
value: Record<string, unknown>;
|
|
2092
|
+
type: "update";
|
|
2086
2093
|
}>, z.ZodObject<{
|
|
2087
2094
|
type: z.ZodLiteral<"set">;
|
|
2088
2095
|
key: z.ZodString;
|
|
2089
2096
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2090
2097
|
}, "strip", z.ZodTypeAny, {
|
|
2091
|
-
type: "set";
|
|
2092
2098
|
value: import("../../../index.js").DeserializedJson;
|
|
2099
|
+
type: "set";
|
|
2093
2100
|
key: string;
|
|
2094
2101
|
}, {
|
|
2095
|
-
type: "set";
|
|
2096
2102
|
value: import("../../../index.js").DeserializedJson;
|
|
2103
|
+
type: "set";
|
|
2097
2104
|
key: string;
|
|
2098
2105
|
}>, z.ZodObject<{
|
|
2099
2106
|
type: z.ZodLiteral<"delete">;
|
|
@@ -2109,58 +2116,58 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2109
2116
|
key: z.ZodString;
|
|
2110
2117
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2111
2118
|
}, "strip", z.ZodTypeAny, {
|
|
2112
|
-
type: "append";
|
|
2113
2119
|
value: import("../../../index.js").DeserializedJson;
|
|
2120
|
+
type: "append";
|
|
2114
2121
|
key: string;
|
|
2115
2122
|
}, {
|
|
2116
|
-
type: "append";
|
|
2117
2123
|
value: import("../../../index.js").DeserializedJson;
|
|
2124
|
+
type: "append";
|
|
2118
2125
|
key: string;
|
|
2119
2126
|
}>, z.ZodObject<{
|
|
2120
2127
|
type: z.ZodLiteral<"remove">;
|
|
2121
2128
|
key: z.ZodString;
|
|
2122
2129
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2123
2130
|
}, "strip", z.ZodTypeAny, {
|
|
2124
|
-
type: "remove";
|
|
2125
2131
|
value: import("../../../index.js").DeserializedJson;
|
|
2132
|
+
type: "remove";
|
|
2126
2133
|
key: string;
|
|
2127
2134
|
}, {
|
|
2128
|
-
type: "remove";
|
|
2129
2135
|
value: import("../../../index.js").DeserializedJson;
|
|
2136
|
+
type: "remove";
|
|
2130
2137
|
key: string;
|
|
2131
2138
|
}>, z.ZodObject<{
|
|
2132
2139
|
type: z.ZodLiteral<"increment">;
|
|
2133
2140
|
key: z.ZodString;
|
|
2134
2141
|
value: z.ZodNumber;
|
|
2135
2142
|
}, "strip", z.ZodTypeAny, {
|
|
2136
|
-
type: "increment";
|
|
2137
2143
|
value: number;
|
|
2144
|
+
type: "increment";
|
|
2138
2145
|
key: string;
|
|
2139
2146
|
}, {
|
|
2140
|
-
type: "increment";
|
|
2141
2147
|
value: number;
|
|
2148
|
+
type: "increment";
|
|
2142
2149
|
key: string;
|
|
2143
2150
|
}>]>, "many">>;
|
|
2144
2151
|
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2145
2152
|
type: z.ZodLiteral<"update">;
|
|
2146
2153
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2147
2154
|
}, "strip", z.ZodTypeAny, {
|
|
2148
|
-
type: "update";
|
|
2149
2155
|
value: Record<string, unknown>;
|
|
2150
|
-
}, {
|
|
2151
2156
|
type: "update";
|
|
2157
|
+
}, {
|
|
2152
2158
|
value: Record<string, unknown>;
|
|
2159
|
+
type: "update";
|
|
2153
2160
|
}>, z.ZodObject<{
|
|
2154
2161
|
type: z.ZodLiteral<"set">;
|
|
2155
2162
|
key: z.ZodString;
|
|
2156
2163
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2157
2164
|
}, "strip", z.ZodTypeAny, {
|
|
2158
|
-
type: "set";
|
|
2159
2165
|
value: import("../../../index.js").DeserializedJson;
|
|
2166
|
+
type: "set";
|
|
2160
2167
|
key: string;
|
|
2161
2168
|
}, {
|
|
2162
|
-
type: "set";
|
|
2163
2169
|
value: import("../../../index.js").DeserializedJson;
|
|
2170
|
+
type: "set";
|
|
2164
2171
|
key: string;
|
|
2165
2172
|
}>, z.ZodObject<{
|
|
2166
2173
|
type: z.ZodLiteral<"delete">;
|
|
@@ -2176,178 +2183,178 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2176
2183
|
key: z.ZodString;
|
|
2177
2184
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2178
2185
|
}, "strip", z.ZodTypeAny, {
|
|
2179
|
-
type: "append";
|
|
2180
2186
|
value: import("../../../index.js").DeserializedJson;
|
|
2187
|
+
type: "append";
|
|
2181
2188
|
key: string;
|
|
2182
2189
|
}, {
|
|
2183
|
-
type: "append";
|
|
2184
2190
|
value: import("../../../index.js").DeserializedJson;
|
|
2191
|
+
type: "append";
|
|
2185
2192
|
key: string;
|
|
2186
2193
|
}>, z.ZodObject<{
|
|
2187
2194
|
type: z.ZodLiteral<"remove">;
|
|
2188
2195
|
key: z.ZodString;
|
|
2189
2196
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2190
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2191
|
-
type: "remove";
|
|
2192
2198
|
value: import("../../../index.js").DeserializedJson;
|
|
2199
|
+
type: "remove";
|
|
2193
2200
|
key: string;
|
|
2194
2201
|
}, {
|
|
2195
|
-
type: "remove";
|
|
2196
2202
|
value: import("../../../index.js").DeserializedJson;
|
|
2203
|
+
type: "remove";
|
|
2197
2204
|
key: string;
|
|
2198
2205
|
}>, z.ZodObject<{
|
|
2199
2206
|
type: z.ZodLiteral<"increment">;
|
|
2200
2207
|
key: z.ZodString;
|
|
2201
2208
|
value: z.ZodNumber;
|
|
2202
2209
|
}, "strip", z.ZodTypeAny, {
|
|
2203
|
-
type: "increment";
|
|
2204
2210
|
value: number;
|
|
2211
|
+
type: "increment";
|
|
2205
2212
|
key: string;
|
|
2206
2213
|
}, {
|
|
2207
|
-
type: "increment";
|
|
2208
2214
|
value: number;
|
|
2215
|
+
type: "increment";
|
|
2209
2216
|
key: string;
|
|
2210
2217
|
}>]>, "many">>;
|
|
2211
2218
|
}, "strip", z.ZodTypeAny, {
|
|
2212
2219
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2213
2220
|
operations?: ({
|
|
2214
|
-
type: "update";
|
|
2215
2221
|
value: Record<string, unknown>;
|
|
2222
|
+
type: "update";
|
|
2216
2223
|
} | {
|
|
2217
|
-
type: "set";
|
|
2218
2224
|
value: import("../../../index.js").DeserializedJson;
|
|
2225
|
+
type: "set";
|
|
2219
2226
|
key: string;
|
|
2220
2227
|
} | {
|
|
2221
2228
|
type: "delete";
|
|
2222
2229
|
key: string;
|
|
2223
2230
|
} | {
|
|
2224
|
-
type: "append";
|
|
2225
2231
|
value: import("../../../index.js").DeserializedJson;
|
|
2232
|
+
type: "append";
|
|
2226
2233
|
key: string;
|
|
2227
2234
|
} | {
|
|
2228
|
-
type: "remove";
|
|
2229
2235
|
value: import("../../../index.js").DeserializedJson;
|
|
2236
|
+
type: "remove";
|
|
2230
2237
|
key: string;
|
|
2231
2238
|
} | {
|
|
2232
|
-
type: "increment";
|
|
2233
2239
|
value: number;
|
|
2240
|
+
type: "increment";
|
|
2234
2241
|
key: string;
|
|
2235
2242
|
})[] | undefined;
|
|
2236
2243
|
parentOperations?: ({
|
|
2237
|
-
type: "update";
|
|
2238
2244
|
value: Record<string, unknown>;
|
|
2245
|
+
type: "update";
|
|
2239
2246
|
} | {
|
|
2240
|
-
type: "set";
|
|
2241
2247
|
value: import("../../../index.js").DeserializedJson;
|
|
2248
|
+
type: "set";
|
|
2242
2249
|
key: string;
|
|
2243
2250
|
} | {
|
|
2244
2251
|
type: "delete";
|
|
2245
2252
|
key: string;
|
|
2246
2253
|
} | {
|
|
2247
|
-
type: "append";
|
|
2248
2254
|
value: import("../../../index.js").DeserializedJson;
|
|
2255
|
+
type: "append";
|
|
2249
2256
|
key: string;
|
|
2250
2257
|
} | {
|
|
2251
|
-
type: "remove";
|
|
2252
2258
|
value: import("../../../index.js").DeserializedJson;
|
|
2259
|
+
type: "remove";
|
|
2253
2260
|
key: string;
|
|
2254
2261
|
} | {
|
|
2255
|
-
type: "increment";
|
|
2256
2262
|
value: number;
|
|
2263
|
+
type: "increment";
|
|
2257
2264
|
key: string;
|
|
2258
2265
|
})[] | undefined;
|
|
2259
2266
|
rootOperations?: ({
|
|
2260
|
-
type: "update";
|
|
2261
2267
|
value: Record<string, unknown>;
|
|
2268
|
+
type: "update";
|
|
2262
2269
|
} | {
|
|
2263
|
-
type: "set";
|
|
2264
2270
|
value: import("../../../index.js").DeserializedJson;
|
|
2271
|
+
type: "set";
|
|
2265
2272
|
key: string;
|
|
2266
2273
|
} | {
|
|
2267
2274
|
type: "delete";
|
|
2268
2275
|
key: string;
|
|
2269
2276
|
} | {
|
|
2270
|
-
type: "append";
|
|
2271
2277
|
value: import("../../../index.js").DeserializedJson;
|
|
2278
|
+
type: "append";
|
|
2272
2279
|
key: string;
|
|
2273
2280
|
} | {
|
|
2274
|
-
type: "remove";
|
|
2275
2281
|
value: import("../../../index.js").DeserializedJson;
|
|
2282
|
+
type: "remove";
|
|
2276
2283
|
key: string;
|
|
2277
2284
|
} | {
|
|
2278
|
-
type: "increment";
|
|
2279
2285
|
value: number;
|
|
2286
|
+
type: "increment";
|
|
2280
2287
|
key: string;
|
|
2281
2288
|
})[] | undefined;
|
|
2282
2289
|
}, {
|
|
2283
2290
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2284
2291
|
operations?: ({
|
|
2285
|
-
type: "update";
|
|
2286
2292
|
value: Record<string, unknown>;
|
|
2293
|
+
type: "update";
|
|
2287
2294
|
} | {
|
|
2288
|
-
type: "set";
|
|
2289
2295
|
value: import("../../../index.js").DeserializedJson;
|
|
2296
|
+
type: "set";
|
|
2290
2297
|
key: string;
|
|
2291
2298
|
} | {
|
|
2292
2299
|
type: "delete";
|
|
2293
2300
|
key: string;
|
|
2294
2301
|
} | {
|
|
2295
|
-
type: "append";
|
|
2296
2302
|
value: import("../../../index.js").DeserializedJson;
|
|
2303
|
+
type: "append";
|
|
2297
2304
|
key: string;
|
|
2298
2305
|
} | {
|
|
2299
|
-
type: "remove";
|
|
2300
2306
|
value: import("../../../index.js").DeserializedJson;
|
|
2307
|
+
type: "remove";
|
|
2301
2308
|
key: string;
|
|
2302
2309
|
} | {
|
|
2303
|
-
type: "increment";
|
|
2304
2310
|
value: number;
|
|
2311
|
+
type: "increment";
|
|
2305
2312
|
key: string;
|
|
2306
2313
|
})[] | undefined;
|
|
2307
2314
|
parentOperations?: ({
|
|
2308
|
-
type: "update";
|
|
2309
2315
|
value: Record<string, unknown>;
|
|
2316
|
+
type: "update";
|
|
2310
2317
|
} | {
|
|
2311
|
-
type: "set";
|
|
2312
2318
|
value: import("../../../index.js").DeserializedJson;
|
|
2319
|
+
type: "set";
|
|
2313
2320
|
key: string;
|
|
2314
2321
|
} | {
|
|
2315
2322
|
type: "delete";
|
|
2316
2323
|
key: string;
|
|
2317
2324
|
} | {
|
|
2318
|
-
type: "append";
|
|
2319
2325
|
value: import("../../../index.js").DeserializedJson;
|
|
2326
|
+
type: "append";
|
|
2320
2327
|
key: string;
|
|
2321
2328
|
} | {
|
|
2322
|
-
type: "remove";
|
|
2323
2329
|
value: import("../../../index.js").DeserializedJson;
|
|
2330
|
+
type: "remove";
|
|
2324
2331
|
key: string;
|
|
2325
2332
|
} | {
|
|
2326
|
-
type: "increment";
|
|
2327
2333
|
value: number;
|
|
2334
|
+
type: "increment";
|
|
2328
2335
|
key: string;
|
|
2329
2336
|
})[] | undefined;
|
|
2330
2337
|
rootOperations?: ({
|
|
2331
|
-
type: "update";
|
|
2332
2338
|
value: Record<string, unknown>;
|
|
2339
|
+
type: "update";
|
|
2333
2340
|
} | {
|
|
2334
|
-
type: "set";
|
|
2335
2341
|
value: import("../../../index.js").DeserializedJson;
|
|
2342
|
+
type: "set";
|
|
2336
2343
|
key: string;
|
|
2337
2344
|
} | {
|
|
2338
2345
|
type: "delete";
|
|
2339
2346
|
key: string;
|
|
2340
2347
|
} | {
|
|
2341
|
-
type: "append";
|
|
2342
2348
|
value: import("../../../index.js").DeserializedJson;
|
|
2349
|
+
type: "append";
|
|
2343
2350
|
key: string;
|
|
2344
2351
|
} | {
|
|
2345
|
-
type: "remove";
|
|
2346
2352
|
value: import("../../../index.js").DeserializedJson;
|
|
2353
|
+
type: "remove";
|
|
2347
2354
|
key: string;
|
|
2348
2355
|
} | {
|
|
2349
|
-
type: "increment";
|
|
2350
2356
|
value: number;
|
|
2357
|
+
type: "increment";
|
|
2351
2358
|
key: string;
|
|
2352
2359
|
})[] | undefined;
|
|
2353
2360
|
}>>;
|
|
@@ -2384,72 +2391,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2384
2391
|
metadata?: {
|
|
2385
2392
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2386
2393
|
operations?: ({
|
|
2387
|
-
type: "update";
|
|
2388
2394
|
value: Record<string, unknown>;
|
|
2395
|
+
type: "update";
|
|
2389
2396
|
} | {
|
|
2390
|
-
type: "set";
|
|
2391
2397
|
value: import("../../../index.js").DeserializedJson;
|
|
2398
|
+
type: "set";
|
|
2392
2399
|
key: string;
|
|
2393
2400
|
} | {
|
|
2394
2401
|
type: "delete";
|
|
2395
2402
|
key: string;
|
|
2396
2403
|
} | {
|
|
2397
|
-
type: "append";
|
|
2398
2404
|
value: import("../../../index.js").DeserializedJson;
|
|
2405
|
+
type: "append";
|
|
2399
2406
|
key: string;
|
|
2400
2407
|
} | {
|
|
2401
|
-
type: "remove";
|
|
2402
2408
|
value: import("../../../index.js").DeserializedJson;
|
|
2409
|
+
type: "remove";
|
|
2403
2410
|
key: string;
|
|
2404
2411
|
} | {
|
|
2405
|
-
type: "increment";
|
|
2406
2412
|
value: number;
|
|
2413
|
+
type: "increment";
|
|
2407
2414
|
key: string;
|
|
2408
2415
|
})[] | undefined;
|
|
2409
2416
|
parentOperations?: ({
|
|
2410
|
-
type: "update";
|
|
2411
2417
|
value: Record<string, unknown>;
|
|
2418
|
+
type: "update";
|
|
2412
2419
|
} | {
|
|
2413
|
-
type: "set";
|
|
2414
2420
|
value: import("../../../index.js").DeserializedJson;
|
|
2421
|
+
type: "set";
|
|
2415
2422
|
key: string;
|
|
2416
2423
|
} | {
|
|
2417
2424
|
type: "delete";
|
|
2418
2425
|
key: string;
|
|
2419
2426
|
} | {
|
|
2420
|
-
type: "append";
|
|
2421
2427
|
value: import("../../../index.js").DeserializedJson;
|
|
2428
|
+
type: "append";
|
|
2422
2429
|
key: string;
|
|
2423
2430
|
} | {
|
|
2424
|
-
type: "remove";
|
|
2425
2431
|
value: import("../../../index.js").DeserializedJson;
|
|
2432
|
+
type: "remove";
|
|
2426
2433
|
key: string;
|
|
2427
2434
|
} | {
|
|
2428
|
-
type: "increment";
|
|
2429
2435
|
value: number;
|
|
2436
|
+
type: "increment";
|
|
2430
2437
|
key: string;
|
|
2431
2438
|
})[] | undefined;
|
|
2432
2439
|
rootOperations?: ({
|
|
2433
|
-
type: "update";
|
|
2434
2440
|
value: Record<string, unknown>;
|
|
2441
|
+
type: "update";
|
|
2435
2442
|
} | {
|
|
2436
|
-
type: "set";
|
|
2437
2443
|
value: import("../../../index.js").DeserializedJson;
|
|
2444
|
+
type: "set";
|
|
2438
2445
|
key: string;
|
|
2439
2446
|
} | {
|
|
2440
2447
|
type: "delete";
|
|
2441
2448
|
key: string;
|
|
2442
2449
|
} | {
|
|
2443
|
-
type: "append";
|
|
2444
2450
|
value: import("../../../index.js").DeserializedJson;
|
|
2451
|
+
type: "append";
|
|
2445
2452
|
key: string;
|
|
2446
2453
|
} | {
|
|
2447
|
-
type: "remove";
|
|
2448
2454
|
value: import("../../../index.js").DeserializedJson;
|
|
2455
|
+
type: "remove";
|
|
2449
2456
|
key: string;
|
|
2450
2457
|
} | {
|
|
2451
|
-
type: "increment";
|
|
2452
2458
|
value: number;
|
|
2459
|
+
type: "increment";
|
|
2453
2460
|
key: string;
|
|
2454
2461
|
})[] | undefined;
|
|
2455
2462
|
} | undefined;
|
|
@@ -2490,72 +2497,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2490
2497
|
metadata?: {
|
|
2491
2498
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2492
2499
|
operations?: ({
|
|
2493
|
-
type: "update";
|
|
2494
2500
|
value: Record<string, unknown>;
|
|
2501
|
+
type: "update";
|
|
2495
2502
|
} | {
|
|
2496
|
-
type: "set";
|
|
2497
2503
|
value: import("../../../index.js").DeserializedJson;
|
|
2504
|
+
type: "set";
|
|
2498
2505
|
key: string;
|
|
2499
2506
|
} | {
|
|
2500
2507
|
type: "delete";
|
|
2501
2508
|
key: string;
|
|
2502
2509
|
} | {
|
|
2503
|
-
type: "append";
|
|
2504
2510
|
value: import("../../../index.js").DeserializedJson;
|
|
2511
|
+
type: "append";
|
|
2505
2512
|
key: string;
|
|
2506
2513
|
} | {
|
|
2507
|
-
type: "remove";
|
|
2508
2514
|
value: import("../../../index.js").DeserializedJson;
|
|
2515
|
+
type: "remove";
|
|
2509
2516
|
key: string;
|
|
2510
2517
|
} | {
|
|
2511
|
-
type: "increment";
|
|
2512
2518
|
value: number;
|
|
2519
|
+
type: "increment";
|
|
2513
2520
|
key: string;
|
|
2514
2521
|
})[] | undefined;
|
|
2515
2522
|
parentOperations?: ({
|
|
2516
|
-
type: "update";
|
|
2517
2523
|
value: Record<string, unknown>;
|
|
2524
|
+
type: "update";
|
|
2518
2525
|
} | {
|
|
2519
|
-
type: "set";
|
|
2520
2526
|
value: import("../../../index.js").DeserializedJson;
|
|
2527
|
+
type: "set";
|
|
2521
2528
|
key: string;
|
|
2522
2529
|
} | {
|
|
2523
2530
|
type: "delete";
|
|
2524
2531
|
key: string;
|
|
2525
2532
|
} | {
|
|
2526
|
-
type: "append";
|
|
2527
2533
|
value: import("../../../index.js").DeserializedJson;
|
|
2534
|
+
type: "append";
|
|
2528
2535
|
key: string;
|
|
2529
2536
|
} | {
|
|
2530
|
-
type: "remove";
|
|
2531
2537
|
value: import("../../../index.js").DeserializedJson;
|
|
2538
|
+
type: "remove";
|
|
2532
2539
|
key: string;
|
|
2533
2540
|
} | {
|
|
2534
|
-
type: "increment";
|
|
2535
2541
|
value: number;
|
|
2542
|
+
type: "increment";
|
|
2536
2543
|
key: string;
|
|
2537
2544
|
})[] | undefined;
|
|
2538
2545
|
rootOperations?: ({
|
|
2539
|
-
type: "update";
|
|
2540
2546
|
value: Record<string, unknown>;
|
|
2547
|
+
type: "update";
|
|
2541
2548
|
} | {
|
|
2542
|
-
type: "set";
|
|
2543
2549
|
value: import("../../../index.js").DeserializedJson;
|
|
2550
|
+
type: "set";
|
|
2544
2551
|
key: string;
|
|
2545
2552
|
} | {
|
|
2546
2553
|
type: "delete";
|
|
2547
2554
|
key: string;
|
|
2548
2555
|
} | {
|
|
2549
|
-
type: "append";
|
|
2550
2556
|
value: import("../../../index.js").DeserializedJson;
|
|
2557
|
+
type: "append";
|
|
2551
2558
|
key: string;
|
|
2552
2559
|
} | {
|
|
2553
|
-
type: "remove";
|
|
2554
2560
|
value: import("../../../index.js").DeserializedJson;
|
|
2561
|
+
type: "remove";
|
|
2555
2562
|
key: string;
|
|
2556
2563
|
} | {
|
|
2557
|
-
type: "increment";
|
|
2558
2564
|
value: number;
|
|
2565
|
+
type: "increment";
|
|
2559
2566
|
key: string;
|
|
2560
2567
|
})[] | undefined;
|
|
2561
2568
|
} | undefined;
|
|
@@ -2598,72 +2605,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2598
2605
|
metadata?: {
|
|
2599
2606
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2600
2607
|
operations?: ({
|
|
2601
|
-
type: "update";
|
|
2602
2608
|
value: Record<string, unknown>;
|
|
2609
|
+
type: "update";
|
|
2603
2610
|
} | {
|
|
2604
|
-
type: "set";
|
|
2605
2611
|
value: import("../../../index.js").DeserializedJson;
|
|
2612
|
+
type: "set";
|
|
2606
2613
|
key: string;
|
|
2607
2614
|
} | {
|
|
2608
2615
|
type: "delete";
|
|
2609
2616
|
key: string;
|
|
2610
2617
|
} | {
|
|
2611
|
-
type: "append";
|
|
2612
2618
|
value: import("../../../index.js").DeserializedJson;
|
|
2619
|
+
type: "append";
|
|
2613
2620
|
key: string;
|
|
2614
2621
|
} | {
|
|
2615
|
-
type: "remove";
|
|
2616
2622
|
value: import("../../../index.js").DeserializedJson;
|
|
2623
|
+
type: "remove";
|
|
2617
2624
|
key: string;
|
|
2618
2625
|
} | {
|
|
2619
|
-
type: "increment";
|
|
2620
2626
|
value: number;
|
|
2627
|
+
type: "increment";
|
|
2621
2628
|
key: string;
|
|
2622
2629
|
})[] | undefined;
|
|
2623
2630
|
parentOperations?: ({
|
|
2624
|
-
type: "update";
|
|
2625
2631
|
value: Record<string, unknown>;
|
|
2632
|
+
type: "update";
|
|
2626
2633
|
} | {
|
|
2627
|
-
type: "set";
|
|
2628
2634
|
value: import("../../../index.js").DeserializedJson;
|
|
2635
|
+
type: "set";
|
|
2629
2636
|
key: string;
|
|
2630
2637
|
} | {
|
|
2631
2638
|
type: "delete";
|
|
2632
2639
|
key: string;
|
|
2633
2640
|
} | {
|
|
2634
|
-
type: "append";
|
|
2635
2641
|
value: import("../../../index.js").DeserializedJson;
|
|
2642
|
+
type: "append";
|
|
2636
2643
|
key: string;
|
|
2637
2644
|
} | {
|
|
2638
|
-
type: "remove";
|
|
2639
2645
|
value: import("../../../index.js").DeserializedJson;
|
|
2646
|
+
type: "remove";
|
|
2640
2647
|
key: string;
|
|
2641
2648
|
} | {
|
|
2642
|
-
type: "increment";
|
|
2643
2649
|
value: number;
|
|
2650
|
+
type: "increment";
|
|
2644
2651
|
key: string;
|
|
2645
2652
|
})[] | undefined;
|
|
2646
2653
|
rootOperations?: ({
|
|
2647
|
-
type: "update";
|
|
2648
2654
|
value: Record<string, unknown>;
|
|
2655
|
+
type: "update";
|
|
2649
2656
|
} | {
|
|
2650
|
-
type: "set";
|
|
2651
2657
|
value: import("../../../index.js").DeserializedJson;
|
|
2658
|
+
type: "set";
|
|
2652
2659
|
key: string;
|
|
2653
2660
|
} | {
|
|
2654
2661
|
type: "delete";
|
|
2655
2662
|
key: string;
|
|
2656
2663
|
} | {
|
|
2657
|
-
type: "append";
|
|
2658
2664
|
value: import("../../../index.js").DeserializedJson;
|
|
2665
|
+
type: "append";
|
|
2659
2666
|
key: string;
|
|
2660
2667
|
} | {
|
|
2661
|
-
type: "remove";
|
|
2662
2668
|
value: import("../../../index.js").DeserializedJson;
|
|
2669
|
+
type: "remove";
|
|
2663
2670
|
key: string;
|
|
2664
2671
|
} | {
|
|
2665
|
-
type: "increment";
|
|
2666
2672
|
value: number;
|
|
2673
|
+
type: "increment";
|
|
2667
2674
|
key: string;
|
|
2668
2675
|
})[] | undefined;
|
|
2669
2676
|
} | undefined;
|
|
@@ -2688,72 +2695,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2688
2695
|
metadata?: {
|
|
2689
2696
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2690
2697
|
operations?: ({
|
|
2691
|
-
type: "update";
|
|
2692
2698
|
value: Record<string, unknown>;
|
|
2699
|
+
type: "update";
|
|
2693
2700
|
} | {
|
|
2694
|
-
type: "set";
|
|
2695
2701
|
value: import("../../../index.js").DeserializedJson;
|
|
2702
|
+
type: "set";
|
|
2696
2703
|
key: string;
|
|
2697
2704
|
} | {
|
|
2698
2705
|
type: "delete";
|
|
2699
2706
|
key: string;
|
|
2700
2707
|
} | {
|
|
2701
|
-
type: "append";
|
|
2702
2708
|
value: import("../../../index.js").DeserializedJson;
|
|
2709
|
+
type: "append";
|
|
2703
2710
|
key: string;
|
|
2704
2711
|
} | {
|
|
2705
|
-
type: "remove";
|
|
2706
2712
|
value: import("../../../index.js").DeserializedJson;
|
|
2713
|
+
type: "remove";
|
|
2707
2714
|
key: string;
|
|
2708
2715
|
} | {
|
|
2709
|
-
type: "increment";
|
|
2710
2716
|
value: number;
|
|
2717
|
+
type: "increment";
|
|
2711
2718
|
key: string;
|
|
2712
2719
|
})[] | undefined;
|
|
2713
2720
|
parentOperations?: ({
|
|
2714
|
-
type: "update";
|
|
2715
2721
|
value: Record<string, unknown>;
|
|
2722
|
+
type: "update";
|
|
2716
2723
|
} | {
|
|
2717
|
-
type: "set";
|
|
2718
2724
|
value: import("../../../index.js").DeserializedJson;
|
|
2725
|
+
type: "set";
|
|
2719
2726
|
key: string;
|
|
2720
2727
|
} | {
|
|
2721
2728
|
type: "delete";
|
|
2722
2729
|
key: string;
|
|
2723
2730
|
} | {
|
|
2724
|
-
type: "append";
|
|
2725
2731
|
value: import("../../../index.js").DeserializedJson;
|
|
2732
|
+
type: "append";
|
|
2726
2733
|
key: string;
|
|
2727
2734
|
} | {
|
|
2728
|
-
type: "remove";
|
|
2729
2735
|
value: import("../../../index.js").DeserializedJson;
|
|
2736
|
+
type: "remove";
|
|
2730
2737
|
key: string;
|
|
2731
2738
|
} | {
|
|
2732
|
-
type: "increment";
|
|
2733
2739
|
value: number;
|
|
2740
|
+
type: "increment";
|
|
2734
2741
|
key: string;
|
|
2735
2742
|
})[] | undefined;
|
|
2736
2743
|
rootOperations?: ({
|
|
2737
|
-
type: "update";
|
|
2738
2744
|
value: Record<string, unknown>;
|
|
2745
|
+
type: "update";
|
|
2739
2746
|
} | {
|
|
2740
|
-
type: "set";
|
|
2741
2747
|
value: import("../../../index.js").DeserializedJson;
|
|
2748
|
+
type: "set";
|
|
2742
2749
|
key: string;
|
|
2743
2750
|
} | {
|
|
2744
2751
|
type: "delete";
|
|
2745
2752
|
key: string;
|
|
2746
2753
|
} | {
|
|
2747
|
-
type: "append";
|
|
2748
2754
|
value: import("../../../index.js").DeserializedJson;
|
|
2755
|
+
type: "append";
|
|
2749
2756
|
key: string;
|
|
2750
2757
|
} | {
|
|
2751
|
-
type: "remove";
|
|
2752
2758
|
value: import("../../../index.js").DeserializedJson;
|
|
2759
|
+
type: "remove";
|
|
2753
2760
|
key: string;
|
|
2754
2761
|
} | {
|
|
2755
|
-
type: "increment";
|
|
2756
2762
|
value: number;
|
|
2763
|
+
type: "increment";
|
|
2757
2764
|
key: string;
|
|
2758
2765
|
})[] | undefined;
|
|
2759
2766
|
} | undefined;
|
|
@@ -2791,72 +2798,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2791
2798
|
metadata?: {
|
|
2792
2799
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2793
2800
|
operations?: ({
|
|
2794
|
-
type: "update";
|
|
2795
2801
|
value: Record<string, unknown>;
|
|
2802
|
+
type: "update";
|
|
2796
2803
|
} | {
|
|
2797
|
-
type: "set";
|
|
2798
2804
|
value: import("../../../index.js").DeserializedJson;
|
|
2805
|
+
type: "set";
|
|
2799
2806
|
key: string;
|
|
2800
2807
|
} | {
|
|
2801
2808
|
type: "delete";
|
|
2802
2809
|
key: string;
|
|
2803
2810
|
} | {
|
|
2804
|
-
type: "append";
|
|
2805
2811
|
value: import("../../../index.js").DeserializedJson;
|
|
2812
|
+
type: "append";
|
|
2806
2813
|
key: string;
|
|
2807
2814
|
} | {
|
|
2808
|
-
type: "remove";
|
|
2809
2815
|
value: import("../../../index.js").DeserializedJson;
|
|
2816
|
+
type: "remove";
|
|
2810
2817
|
key: string;
|
|
2811
2818
|
} | {
|
|
2812
|
-
type: "increment";
|
|
2813
2819
|
value: number;
|
|
2820
|
+
type: "increment";
|
|
2814
2821
|
key: string;
|
|
2815
2822
|
})[] | undefined;
|
|
2816
2823
|
parentOperations?: ({
|
|
2817
|
-
type: "update";
|
|
2818
2824
|
value: Record<string, unknown>;
|
|
2825
|
+
type: "update";
|
|
2819
2826
|
} | {
|
|
2820
|
-
type: "set";
|
|
2821
2827
|
value: import("../../../index.js").DeserializedJson;
|
|
2828
|
+
type: "set";
|
|
2822
2829
|
key: string;
|
|
2823
2830
|
} | {
|
|
2824
2831
|
type: "delete";
|
|
2825
2832
|
key: string;
|
|
2826
2833
|
} | {
|
|
2827
|
-
type: "append";
|
|
2828
2834
|
value: import("../../../index.js").DeserializedJson;
|
|
2835
|
+
type: "append";
|
|
2829
2836
|
key: string;
|
|
2830
2837
|
} | {
|
|
2831
|
-
type: "remove";
|
|
2832
2838
|
value: import("../../../index.js").DeserializedJson;
|
|
2839
|
+
type: "remove";
|
|
2833
2840
|
key: string;
|
|
2834
2841
|
} | {
|
|
2835
|
-
type: "increment";
|
|
2836
2842
|
value: number;
|
|
2843
|
+
type: "increment";
|
|
2837
2844
|
key: string;
|
|
2838
2845
|
})[] | undefined;
|
|
2839
2846
|
rootOperations?: ({
|
|
2840
|
-
type: "update";
|
|
2841
2847
|
value: Record<string, unknown>;
|
|
2848
|
+
type: "update";
|
|
2842
2849
|
} | {
|
|
2843
|
-
type: "set";
|
|
2844
2850
|
value: import("../../../index.js").DeserializedJson;
|
|
2851
|
+
type: "set";
|
|
2845
2852
|
key: string;
|
|
2846
2853
|
} | {
|
|
2847
2854
|
type: "delete";
|
|
2848
2855
|
key: string;
|
|
2849
2856
|
} | {
|
|
2850
|
-
type: "append";
|
|
2851
2857
|
value: import("../../../index.js").DeserializedJson;
|
|
2858
|
+
type: "append";
|
|
2852
2859
|
key: string;
|
|
2853
2860
|
} | {
|
|
2854
|
-
type: "remove";
|
|
2855
2861
|
value: import("../../../index.js").DeserializedJson;
|
|
2862
|
+
type: "remove";
|
|
2856
2863
|
key: string;
|
|
2857
2864
|
} | {
|
|
2858
|
-
type: "increment";
|
|
2859
2865
|
value: number;
|
|
2866
|
+
type: "increment";
|
|
2860
2867
|
key: string;
|
|
2861
2868
|
})[] | undefined;
|
|
2862
2869
|
} | undefined;
|
|
@@ -2881,72 +2888,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2881
2888
|
metadata?: {
|
|
2882
2889
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2883
2890
|
operations?: ({
|
|
2884
|
-
type: "update";
|
|
2885
2891
|
value: Record<string, unknown>;
|
|
2892
|
+
type: "update";
|
|
2886
2893
|
} | {
|
|
2887
|
-
type: "set";
|
|
2888
2894
|
value: import("../../../index.js").DeserializedJson;
|
|
2895
|
+
type: "set";
|
|
2889
2896
|
key: string;
|
|
2890
2897
|
} | {
|
|
2891
2898
|
type: "delete";
|
|
2892
2899
|
key: string;
|
|
2893
2900
|
} | {
|
|
2894
|
-
type: "append";
|
|
2895
2901
|
value: import("../../../index.js").DeserializedJson;
|
|
2902
|
+
type: "append";
|
|
2896
2903
|
key: string;
|
|
2897
2904
|
} | {
|
|
2898
|
-
type: "remove";
|
|
2899
2905
|
value: import("../../../index.js").DeserializedJson;
|
|
2906
|
+
type: "remove";
|
|
2900
2907
|
key: string;
|
|
2901
2908
|
} | {
|
|
2902
|
-
type: "increment";
|
|
2903
2909
|
value: number;
|
|
2910
|
+
type: "increment";
|
|
2904
2911
|
key: string;
|
|
2905
2912
|
})[] | undefined;
|
|
2906
2913
|
parentOperations?: ({
|
|
2907
|
-
type: "update";
|
|
2908
2914
|
value: Record<string, unknown>;
|
|
2915
|
+
type: "update";
|
|
2909
2916
|
} | {
|
|
2910
|
-
type: "set";
|
|
2911
2917
|
value: import("../../../index.js").DeserializedJson;
|
|
2918
|
+
type: "set";
|
|
2912
2919
|
key: string;
|
|
2913
2920
|
} | {
|
|
2914
2921
|
type: "delete";
|
|
2915
2922
|
key: string;
|
|
2916
2923
|
} | {
|
|
2917
|
-
type: "append";
|
|
2918
2924
|
value: import("../../../index.js").DeserializedJson;
|
|
2925
|
+
type: "append";
|
|
2919
2926
|
key: string;
|
|
2920
2927
|
} | {
|
|
2921
|
-
type: "remove";
|
|
2922
2928
|
value: import("../../../index.js").DeserializedJson;
|
|
2929
|
+
type: "remove";
|
|
2923
2930
|
key: string;
|
|
2924
2931
|
} | {
|
|
2925
|
-
type: "increment";
|
|
2926
2932
|
value: number;
|
|
2933
|
+
type: "increment";
|
|
2927
2934
|
key: string;
|
|
2928
2935
|
})[] | undefined;
|
|
2929
2936
|
rootOperations?: ({
|
|
2930
|
-
type: "update";
|
|
2931
2937
|
value: Record<string, unknown>;
|
|
2938
|
+
type: "update";
|
|
2932
2939
|
} | {
|
|
2933
|
-
type: "set";
|
|
2934
2940
|
value: import("../../../index.js").DeserializedJson;
|
|
2941
|
+
type: "set";
|
|
2935
2942
|
key: string;
|
|
2936
2943
|
} | {
|
|
2937
2944
|
type: "delete";
|
|
2938
2945
|
key: string;
|
|
2939
2946
|
} | {
|
|
2940
|
-
type: "append";
|
|
2941
2947
|
value: import("../../../index.js").DeserializedJson;
|
|
2948
|
+
type: "append";
|
|
2942
2949
|
key: string;
|
|
2943
2950
|
} | {
|
|
2944
|
-
type: "remove";
|
|
2945
2951
|
value: import("../../../index.js").DeserializedJson;
|
|
2952
|
+
type: "remove";
|
|
2946
2953
|
key: string;
|
|
2947
2954
|
} | {
|
|
2948
|
-
type: "increment";
|
|
2949
2955
|
value: number;
|
|
2956
|
+
type: "increment";
|
|
2950
2957
|
key: string;
|
|
2951
2958
|
})[] | undefined;
|
|
2952
2959
|
} | undefined;
|
|
@@ -3120,15 +3127,15 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
3120
3127
|
id: string;
|
|
3121
3128
|
friendlyId: string;
|
|
3122
3129
|
}>>;
|
|
3123
|
-
checkpoint: z.ZodOptional<z.ZodObject<
|
|
3130
|
+
checkpoint: z.ZodOptional<z.ZodObject<{
|
|
3124
3131
|
type: z.ZodEnum<[import("../../schemas/runEngine.js").CheckpointTypeEnum]>;
|
|
3125
3132
|
location: z.ZodString;
|
|
3126
3133
|
imageRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3127
3134
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3128
|
-
}
|
|
3135
|
+
} & {
|
|
3129
3136
|
id: z.ZodString;
|
|
3130
3137
|
friendlyId: z.ZodString;
|
|
3131
|
-
}
|
|
3138
|
+
}, "strip", z.ZodTypeAny, {
|
|
3132
3139
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
3133
3140
|
id: string;
|
|
3134
3141
|
friendlyId: string;
|
|
@@ -3934,15 +3941,15 @@ export declare const WorkerApiRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3934
3941
|
id: string;
|
|
3935
3942
|
friendlyId: string;
|
|
3936
3943
|
}>>;
|
|
3937
|
-
checkpoint: z.ZodOptional<z.ZodObject<
|
|
3944
|
+
checkpoint: z.ZodOptional<z.ZodObject<{
|
|
3938
3945
|
type: z.ZodEnum<[import("../../schemas/runEngine.js").CheckpointTypeEnum]>;
|
|
3939
3946
|
location: z.ZodString;
|
|
3940
3947
|
imageRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3941
3948
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3942
|
-
}
|
|
3949
|
+
} & {
|
|
3943
3950
|
id: z.ZodString;
|
|
3944
3951
|
friendlyId: z.ZodString;
|
|
3945
|
-
}
|
|
3952
|
+
}, "strip", z.ZodTypeAny, {
|
|
3946
3953
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
3947
3954
|
id: string;
|
|
3948
3955
|
friendlyId: string;
|