@trigger.dev/core 4.0.0-v4-beta.12 → 4.0.0-v4-beta.14
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/index.d.ts +3 -2
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +60 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js +9 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +434 -3
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js +16 -7
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +59 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.js +8 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +410 -3
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.js +2 -1
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.js.map +1 -1
- package/dist/commonjs/v3/runtime/{managedRuntimeManager.d.ts → sharedRuntimeManager.d.ts} +13 -6
- package/dist/commonjs/v3/runtime/sharedRuntimeManager.js +276 -0
- package/dist/commonjs/v3/runtime/sharedRuntimeManager.js.map +1 -0
- package/dist/commonjs/v3/schemas/api.d.ts +22 -0
- package/dist/commonjs/v3/schemas/api.js +3 -0
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +9 -4
- package/dist/commonjs/v3/schemas/messages.d.ts +228 -3814
- package/dist/commonjs/v3/schemas/messages.js +9 -54
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/runEngine.d.ts +30 -0
- package/dist/commonjs/v3/schemas/runEngine.js +1 -0
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +0 -23
- package/dist/commonjs/v3/schemas/schemas.js +1 -12
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/serverOnly/httpServer.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/httpServer.js +12 -2
- package/dist/commonjs/v3/serverOnly/httpServer.js.map +1 -1
- package/dist/commonjs/v3/utils/interval.d.ts +3 -1
- package/dist/commonjs/v3/utils/interval.js +5 -1
- package/dist/commonjs/v3/utils/interval.js.map +1 -1
- package/dist/commonjs/v3/workers/index.d.ts +1 -1
- package/dist/commonjs/v3/workers/index.js +3 -3
- package/dist/commonjs/v3/workers/index.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +3 -2
- package/dist/esm/v3/apiClient/index.js +1 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +60 -0
- package/dist/esm/v3/runEngineWorker/supervisor/http.js +10 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +434 -3
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.js +15 -6
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +59 -0
- package/dist/esm/v3/runEngineWorker/workload/http.js +9 -1
- package/dist/esm/v3/runEngineWorker/workload/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +410 -3
- package/dist/esm/v3/runEngineWorker/workload/schemas.js +2 -1
- package/dist/esm/v3/runEngineWorker/workload/schemas.js.map +1 -1
- package/dist/esm/v3/runtime/{managedRuntimeManager.d.ts → sharedRuntimeManager.d.ts} +13 -6
- package/dist/esm/v3/runtime/sharedRuntimeManager.js +272 -0
- package/dist/esm/v3/runtime/sharedRuntimeManager.js.map +1 -0
- package/dist/esm/v3/schemas/api.d.ts +22 -0
- package/dist/esm/v3/schemas/api.js +3 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/checkpoints.d.ts +9 -4
- package/dist/esm/v3/schemas/messages.d.ts +228 -3814
- package/dist/esm/v3/schemas/messages.js +10 -55
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/runEngine.d.ts +30 -0
- package/dist/esm/v3/schemas/runEngine.js +1 -0
- package/dist/esm/v3/schemas/runEngine.js.map +1 -1
- package/dist/esm/v3/schemas/schemas.d.ts +0 -23
- package/dist/esm/v3/schemas/schemas.js +0 -11
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/serverOnly/httpServer.d.ts +1 -0
- package/dist/esm/v3/serverOnly/httpServer.js +12 -2
- package/dist/esm/v3/serverOnly/httpServer.js.map +1 -1
- package/dist/esm/v3/utils/interval.d.ts +3 -1
- package/dist/esm/v3/utils/interval.js +5 -1
- package/dist/esm/v3/utils/interval.js.map +1 -1
- package/dist/esm/v3/workers/index.d.ts +1 -1
- package/dist/esm/v3/workers/index.js +1 -1
- package/dist/esm/v3/workers/index.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
- package/dist/commonjs/v3/runtime/managedRuntimeManager.js +0 -189
- package/dist/commonjs/v3/runtime/managedRuntimeManager.js.map +0 -1
- package/dist/esm/v3/runtime/managedRuntimeManager.js +0 -185
- package/dist/esm/v3/runtime/managedRuntimeManager.js.map +0 -1
|
@@ -9362,54 +9362,6 @@ export declare const ExecutorToWorkerMessageCatalog: {
|
|
|
9362
9362
|
version?: "v1" | undefined;
|
|
9363
9363
|
}>;
|
|
9364
9364
|
};
|
|
9365
|
-
READY_TO_DISPOSE: {
|
|
9366
|
-
message: z.ZodUndefined;
|
|
9367
|
-
};
|
|
9368
|
-
WAIT_FOR_DURATION: {
|
|
9369
|
-
message: z.ZodObject<{
|
|
9370
|
-
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
9371
|
-
ms: z.ZodNumber;
|
|
9372
|
-
now: z.ZodNumber;
|
|
9373
|
-
waitThresholdInMs: z.ZodNumber;
|
|
9374
|
-
}, "strip", z.ZodTypeAny, {
|
|
9375
|
-
version: "v1";
|
|
9376
|
-
ms: number;
|
|
9377
|
-
now: number;
|
|
9378
|
-
waitThresholdInMs: number;
|
|
9379
|
-
}, {
|
|
9380
|
-
ms: number;
|
|
9381
|
-
now: number;
|
|
9382
|
-
waitThresholdInMs: number;
|
|
9383
|
-
version?: "v1" | undefined;
|
|
9384
|
-
}>;
|
|
9385
|
-
};
|
|
9386
|
-
WAIT_FOR_TASK: {
|
|
9387
|
-
message: z.ZodObject<{
|
|
9388
|
-
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
9389
|
-
friendlyId: z.ZodString;
|
|
9390
|
-
}, "strip", z.ZodTypeAny, {
|
|
9391
|
-
version: "v1";
|
|
9392
|
-
friendlyId: string;
|
|
9393
|
-
}, {
|
|
9394
|
-
friendlyId: string;
|
|
9395
|
-
version?: "v1" | undefined;
|
|
9396
|
-
}>;
|
|
9397
|
-
};
|
|
9398
|
-
WAIT_FOR_BATCH: {
|
|
9399
|
-
message: z.ZodObject<{
|
|
9400
|
-
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
9401
|
-
batchFriendlyId: z.ZodString;
|
|
9402
|
-
runFriendlyIds: z.ZodArray<z.ZodString, "many">;
|
|
9403
|
-
}, "strip", z.ZodTypeAny, {
|
|
9404
|
-
version: "v1";
|
|
9405
|
-
batchFriendlyId: string;
|
|
9406
|
-
runFriendlyIds: string[];
|
|
9407
|
-
}, {
|
|
9408
|
-
batchFriendlyId: string;
|
|
9409
|
-
runFriendlyIds: string[];
|
|
9410
|
-
version?: "v1" | undefined;
|
|
9411
|
-
}>;
|
|
9412
|
-
};
|
|
9413
9365
|
UNCAUGHT_EXCEPTION: {
|
|
9414
9366
|
message: z.ZodObject<{
|
|
9415
9367
|
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
@@ -9445,50 +9397,30 @@ export declare const ExecutorToWorkerMessageCatalog: {
|
|
|
9445
9397
|
version?: "v1" | undefined;
|
|
9446
9398
|
}>;
|
|
9447
9399
|
};
|
|
9448
|
-
|
|
9400
|
+
SEND_DEBUG_LOG: {
|
|
9449
9401
|
message: z.ZodObject<{
|
|
9450
9402
|
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
9451
|
-
|
|
9452
|
-
|
|
9453
|
-
id: z.ZodString;
|
|
9454
|
-
date: z.ZodDate;
|
|
9455
|
-
}, "strip", z.ZodTypeAny, {
|
|
9456
|
-
type: "DATETIME";
|
|
9457
|
-
date: Date;
|
|
9458
|
-
id: string;
|
|
9459
|
-
}, {
|
|
9460
|
-
type: "DATETIME";
|
|
9461
|
-
date: Date;
|
|
9462
|
-
id: string;
|
|
9463
|
-
}>, z.ZodObject<{
|
|
9464
|
-
type: z.ZodLiteral<"MANUAL">;
|
|
9465
|
-
id: z.ZodString;
|
|
9466
|
-
}, "strip", z.ZodTypeAny, {
|
|
9467
|
-
type: "MANUAL";
|
|
9468
|
-
id: string;
|
|
9469
|
-
}, {
|
|
9470
|
-
type: "MANUAL";
|
|
9471
|
-
id: string;
|
|
9472
|
-
}>]>;
|
|
9403
|
+
message: z.ZodString;
|
|
9404
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9473
9405
|
}, "strip", z.ZodTypeAny, {
|
|
9406
|
+
message: string;
|
|
9474
9407
|
version: "v1";
|
|
9475
|
-
|
|
9476
|
-
type: "DATETIME";
|
|
9477
|
-
date: Date;
|
|
9478
|
-
id: string;
|
|
9479
|
-
} | {
|
|
9480
|
-
type: "MANUAL";
|
|
9481
|
-
id: string;
|
|
9482
|
-
};
|
|
9408
|
+
properties?: Record<string, unknown> | undefined;
|
|
9483
9409
|
}, {
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9410
|
+
message: string;
|
|
9411
|
+
version?: "v1" | undefined;
|
|
9412
|
+
properties?: Record<string, unknown> | undefined;
|
|
9413
|
+
}>;
|
|
9414
|
+
};
|
|
9415
|
+
SET_SUSPENDABLE: {
|
|
9416
|
+
message: z.ZodObject<{
|
|
9417
|
+
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
9418
|
+
suspendable: z.ZodBoolean;
|
|
9419
|
+
}, "strip", z.ZodTypeAny, {
|
|
9420
|
+
version: "v1";
|
|
9421
|
+
suspendable: boolean;
|
|
9422
|
+
}, {
|
|
9423
|
+
suspendable: boolean;
|
|
9492
9424
|
version?: "v1" | undefined;
|
|
9493
9425
|
}>;
|
|
9494
9426
|
};
|
|
@@ -9791,3695 +9723,212 @@ export declare const WorkerToExecutorMessageCatalog: {
|
|
|
9791
9723
|
machine: {
|
|
9792
9724
|
cpu: number;
|
|
9793
9725
|
memory: number;
|
|
9794
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
9795
|
-
centsPerMs: number;
|
|
9796
|
-
};
|
|
9797
|
-
batch?: {
|
|
9798
|
-
id: string;
|
|
9799
|
-
} | undefined;
|
|
9800
|
-
}>;
|
|
9801
|
-
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9802
|
-
metadata: z.ZodObject<{
|
|
9803
|
-
id: z.ZodString;
|
|
9804
|
-
version: z.ZodString;
|
|
9805
|
-
contentHash: z.ZodString;
|
|
9806
|
-
engine: z.ZodOptional<z.ZodEnum<["V1", "V2"]>>;
|
|
9807
|
-
}, "strip", z.ZodTypeAny, {
|
|
9808
|
-
id: string;
|
|
9809
|
-
version: string;
|
|
9810
|
-
contentHash: string;
|
|
9811
|
-
engine?: "V1" | "V2" | undefined;
|
|
9812
|
-
}, {
|
|
9813
|
-
id: string;
|
|
9814
|
-
version: string;
|
|
9815
|
-
contentHash: string;
|
|
9816
|
-
engine?: "V1" | "V2" | undefined;
|
|
9817
|
-
}>;
|
|
9818
|
-
metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9819
|
-
name: z.ZodString;
|
|
9820
|
-
event: z.ZodString;
|
|
9821
|
-
timestamp: z.ZodNumber;
|
|
9822
|
-
duration: z.ZodNumber;
|
|
9823
|
-
}, "strip", z.ZodTypeAny, {
|
|
9824
|
-
event: string;
|
|
9825
|
-
name: string;
|
|
9826
|
-
timestamp: number;
|
|
9827
|
-
duration: number;
|
|
9828
|
-
}, {
|
|
9829
|
-
event: string;
|
|
9830
|
-
name: string;
|
|
9831
|
-
timestamp: number;
|
|
9832
|
-
duration: number;
|
|
9833
|
-
}>, "many">>;
|
|
9834
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9835
|
-
isWarmStart: z.ZodOptional<z.ZodBoolean>;
|
|
9836
|
-
}, "strip", z.ZodTypeAny, {
|
|
9837
|
-
metadata: {
|
|
9838
|
-
id: string;
|
|
9839
|
-
version: string;
|
|
9840
|
-
contentHash: string;
|
|
9841
|
-
engine?: "V1" | "V2" | undefined;
|
|
9842
|
-
};
|
|
9843
|
-
version: "v1";
|
|
9844
|
-
traceContext: Record<string, unknown>;
|
|
9845
|
-
execution: {
|
|
9846
|
-
task: {
|
|
9847
|
-
id: string;
|
|
9848
|
-
filePath: string;
|
|
9849
|
-
exportName?: string | undefined;
|
|
9850
|
-
};
|
|
9851
|
-
attempt: {
|
|
9852
|
-
number: number;
|
|
9853
|
-
status: string;
|
|
9854
|
-
id: string;
|
|
9855
|
-
startedAt: Date;
|
|
9856
|
-
backgroundWorkerId: string;
|
|
9857
|
-
backgroundWorkerTaskId: string;
|
|
9858
|
-
};
|
|
9859
|
-
run: {
|
|
9860
|
-
payload: string;
|
|
9861
|
-
id: string;
|
|
9862
|
-
payloadType: string;
|
|
9863
|
-
tags: string[];
|
|
9864
|
-
isTest: boolean;
|
|
9865
|
-
createdAt: Date;
|
|
9866
|
-
startedAt: Date;
|
|
9867
|
-
durationMs: number;
|
|
9868
|
-
costInCents: number;
|
|
9869
|
-
baseCostInCents: number;
|
|
9870
|
-
context?: any;
|
|
9871
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
9872
|
-
idempotencyKey?: string | undefined;
|
|
9873
|
-
maxAttempts?: number | undefined;
|
|
9874
|
-
version?: string | undefined;
|
|
9875
|
-
maxDuration?: number | undefined;
|
|
9876
|
-
priority?: number | undefined;
|
|
9877
|
-
} & {
|
|
9878
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
9879
|
-
};
|
|
9880
|
-
queue: {
|
|
9881
|
-
name: string;
|
|
9882
|
-
id: string;
|
|
9883
|
-
};
|
|
9884
|
-
environment: {
|
|
9885
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
9886
|
-
id: string;
|
|
9887
|
-
slug: string;
|
|
9888
|
-
};
|
|
9889
|
-
organization: {
|
|
9890
|
-
name: string;
|
|
9891
|
-
id: string;
|
|
9892
|
-
slug: string;
|
|
9893
|
-
};
|
|
9894
|
-
project: {
|
|
9895
|
-
name: string;
|
|
9896
|
-
id: string;
|
|
9897
|
-
slug: string;
|
|
9898
|
-
ref: string;
|
|
9899
|
-
};
|
|
9900
|
-
machine: {
|
|
9901
|
-
cpu: number;
|
|
9902
|
-
memory: number;
|
|
9903
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
9904
|
-
centsPerMs: number;
|
|
9905
|
-
};
|
|
9906
|
-
batch?: {
|
|
9907
|
-
id: string;
|
|
9908
|
-
} | undefined;
|
|
9909
|
-
};
|
|
9910
|
-
metrics?: {
|
|
9911
|
-
event: string;
|
|
9912
|
-
name: string;
|
|
9913
|
-
timestamp: number;
|
|
9914
|
-
duration: number;
|
|
9915
|
-
}[] | undefined;
|
|
9916
|
-
env?: Record<string, string> | undefined;
|
|
9917
|
-
isWarmStart?: boolean | undefined;
|
|
9918
|
-
}, {
|
|
9919
|
-
metadata: {
|
|
9920
|
-
id: string;
|
|
9921
|
-
version: string;
|
|
9922
|
-
contentHash: string;
|
|
9923
|
-
engine?: "V1" | "V2" | undefined;
|
|
9924
|
-
};
|
|
9925
|
-
traceContext: Record<string, unknown>;
|
|
9926
|
-
execution: {
|
|
9927
|
-
task: {
|
|
9928
|
-
id: string;
|
|
9929
|
-
filePath: string;
|
|
9930
|
-
exportName?: string | undefined;
|
|
9931
|
-
};
|
|
9932
|
-
attempt: {
|
|
9933
|
-
number: number;
|
|
9934
|
-
status: string;
|
|
9935
|
-
id: string;
|
|
9936
|
-
startedAt: Date;
|
|
9937
|
-
backgroundWorkerId: string;
|
|
9938
|
-
backgroundWorkerTaskId: string;
|
|
9939
|
-
};
|
|
9940
|
-
run: {
|
|
9941
|
-
payload: string;
|
|
9942
|
-
id: string;
|
|
9943
|
-
payloadType: string;
|
|
9944
|
-
tags: string[];
|
|
9945
|
-
createdAt: Date;
|
|
9946
|
-
context?: any;
|
|
9947
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
9948
|
-
isTest?: boolean | undefined;
|
|
9949
|
-
startedAt?: Date | undefined;
|
|
9950
|
-
idempotencyKey?: string | undefined;
|
|
9951
|
-
maxAttempts?: number | undefined;
|
|
9952
|
-
version?: string | undefined;
|
|
9953
|
-
maxDuration?: number | undefined;
|
|
9954
|
-
durationMs?: number | undefined;
|
|
9955
|
-
costInCents?: number | undefined;
|
|
9956
|
-
baseCostInCents?: number | undefined;
|
|
9957
|
-
priority?: number | undefined;
|
|
9958
|
-
} & {
|
|
9959
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
9960
|
-
};
|
|
9961
|
-
queue: {
|
|
9962
|
-
name: string;
|
|
9963
|
-
id: string;
|
|
9964
|
-
};
|
|
9965
|
-
environment: {
|
|
9966
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
9967
|
-
id: string;
|
|
9968
|
-
slug: string;
|
|
9969
|
-
};
|
|
9970
|
-
organization: {
|
|
9971
|
-
name: string;
|
|
9972
|
-
id: string;
|
|
9973
|
-
slug: string;
|
|
9974
|
-
};
|
|
9975
|
-
project: {
|
|
9976
|
-
name: string;
|
|
9977
|
-
id: string;
|
|
9978
|
-
slug: string;
|
|
9979
|
-
ref: string;
|
|
9980
|
-
};
|
|
9981
|
-
machine: {
|
|
9982
|
-
cpu: number;
|
|
9983
|
-
memory: number;
|
|
9984
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
9985
|
-
centsPerMs: number;
|
|
9986
|
-
};
|
|
9987
|
-
batch?: {
|
|
9988
|
-
id: string;
|
|
9989
|
-
} | undefined;
|
|
9990
|
-
};
|
|
9991
|
-
version?: "v1" | undefined;
|
|
9992
|
-
metrics?: {
|
|
9993
|
-
event: string;
|
|
9994
|
-
name: string;
|
|
9995
|
-
timestamp: number;
|
|
9996
|
-
duration: number;
|
|
9997
|
-
}[] | undefined;
|
|
9998
|
-
env?: Record<string, string> | undefined;
|
|
9999
|
-
isWarmStart?: boolean | undefined;
|
|
10000
|
-
}>;
|
|
10001
|
-
};
|
|
10002
|
-
TASK_RUN_COMPLETED_NOTIFICATION: {
|
|
10003
|
-
message: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
|
|
10004
|
-
version: z.ZodLiteral<"v1">;
|
|
10005
|
-
completion: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
10006
|
-
ok: z.ZodLiteral<true>;
|
|
10007
|
-
id: z.ZodString;
|
|
10008
|
-
output: z.ZodOptional<z.ZodString>;
|
|
10009
|
-
outputType: z.ZodString;
|
|
10010
|
-
usage: z.ZodOptional<z.ZodObject<{
|
|
10011
|
-
durationMs: z.ZodNumber;
|
|
10012
|
-
}, "strip", z.ZodTypeAny, {
|
|
10013
|
-
durationMs: number;
|
|
10014
|
-
}, {
|
|
10015
|
-
durationMs: number;
|
|
10016
|
-
}>>;
|
|
10017
|
-
taskIdentifier: z.ZodOptional<z.ZodString>;
|
|
10018
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
10019
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
|
|
10020
|
-
operations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10021
|
-
type: z.ZodLiteral<"update">;
|
|
10022
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10023
|
-
}, "strip", z.ZodTypeAny, {
|
|
10024
|
-
type: "update";
|
|
10025
|
-
value: Record<string, unknown>;
|
|
10026
|
-
}, {
|
|
10027
|
-
type: "update";
|
|
10028
|
-
value: Record<string, unknown>;
|
|
10029
|
-
}>, z.ZodObject<{
|
|
10030
|
-
type: z.ZodLiteral<"set">;
|
|
10031
|
-
key: z.ZodString;
|
|
10032
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10033
|
-
}, "strip", z.ZodTypeAny, {
|
|
10034
|
-
type: "set";
|
|
10035
|
-
value: import("../../index.js").DeserializedJson;
|
|
10036
|
-
key: string;
|
|
10037
|
-
}, {
|
|
10038
|
-
type: "set";
|
|
10039
|
-
value: import("../../index.js").DeserializedJson;
|
|
10040
|
-
key: string;
|
|
10041
|
-
}>, z.ZodObject<{
|
|
10042
|
-
type: z.ZodLiteral<"delete">;
|
|
10043
|
-
key: z.ZodString;
|
|
10044
|
-
}, "strip", z.ZodTypeAny, {
|
|
10045
|
-
type: "delete";
|
|
10046
|
-
key: string;
|
|
10047
|
-
}, {
|
|
10048
|
-
type: "delete";
|
|
10049
|
-
key: string;
|
|
10050
|
-
}>, z.ZodObject<{
|
|
10051
|
-
type: z.ZodLiteral<"append">;
|
|
10052
|
-
key: z.ZodString;
|
|
10053
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10054
|
-
}, "strip", z.ZodTypeAny, {
|
|
10055
|
-
type: "append";
|
|
10056
|
-
value: import("../../index.js").DeserializedJson;
|
|
10057
|
-
key: string;
|
|
10058
|
-
}, {
|
|
10059
|
-
type: "append";
|
|
10060
|
-
value: import("../../index.js").DeserializedJson;
|
|
10061
|
-
key: string;
|
|
10062
|
-
}>, z.ZodObject<{
|
|
10063
|
-
type: z.ZodLiteral<"remove">;
|
|
10064
|
-
key: z.ZodString;
|
|
10065
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10066
|
-
}, "strip", z.ZodTypeAny, {
|
|
10067
|
-
type: "remove";
|
|
10068
|
-
value: import("../../index.js").DeserializedJson;
|
|
10069
|
-
key: string;
|
|
10070
|
-
}, {
|
|
10071
|
-
type: "remove";
|
|
10072
|
-
value: import("../../index.js").DeserializedJson;
|
|
10073
|
-
key: string;
|
|
10074
|
-
}>, z.ZodObject<{
|
|
10075
|
-
type: z.ZodLiteral<"increment">;
|
|
10076
|
-
key: z.ZodString;
|
|
10077
|
-
value: z.ZodNumber;
|
|
10078
|
-
}, "strip", z.ZodTypeAny, {
|
|
10079
|
-
type: "increment";
|
|
10080
|
-
value: number;
|
|
10081
|
-
key: string;
|
|
10082
|
-
}, {
|
|
10083
|
-
type: "increment";
|
|
10084
|
-
value: number;
|
|
10085
|
-
key: string;
|
|
10086
|
-
}>]>, "many">>;
|
|
10087
|
-
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10088
|
-
type: z.ZodLiteral<"update">;
|
|
10089
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10090
|
-
}, "strip", z.ZodTypeAny, {
|
|
10091
|
-
type: "update";
|
|
10092
|
-
value: Record<string, unknown>;
|
|
10093
|
-
}, {
|
|
10094
|
-
type: "update";
|
|
10095
|
-
value: Record<string, unknown>;
|
|
10096
|
-
}>, z.ZodObject<{
|
|
10097
|
-
type: z.ZodLiteral<"set">;
|
|
10098
|
-
key: z.ZodString;
|
|
10099
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10100
|
-
}, "strip", z.ZodTypeAny, {
|
|
10101
|
-
type: "set";
|
|
10102
|
-
value: import("../../index.js").DeserializedJson;
|
|
10103
|
-
key: string;
|
|
10104
|
-
}, {
|
|
10105
|
-
type: "set";
|
|
10106
|
-
value: import("../../index.js").DeserializedJson;
|
|
10107
|
-
key: string;
|
|
10108
|
-
}>, z.ZodObject<{
|
|
10109
|
-
type: z.ZodLiteral<"delete">;
|
|
10110
|
-
key: z.ZodString;
|
|
10111
|
-
}, "strip", z.ZodTypeAny, {
|
|
10112
|
-
type: "delete";
|
|
10113
|
-
key: string;
|
|
10114
|
-
}, {
|
|
10115
|
-
type: "delete";
|
|
10116
|
-
key: string;
|
|
10117
|
-
}>, z.ZodObject<{
|
|
10118
|
-
type: z.ZodLiteral<"append">;
|
|
10119
|
-
key: z.ZodString;
|
|
10120
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10121
|
-
}, "strip", z.ZodTypeAny, {
|
|
10122
|
-
type: "append";
|
|
10123
|
-
value: import("../../index.js").DeserializedJson;
|
|
10124
|
-
key: string;
|
|
10125
|
-
}, {
|
|
10126
|
-
type: "append";
|
|
10127
|
-
value: import("../../index.js").DeserializedJson;
|
|
10128
|
-
key: string;
|
|
10129
|
-
}>, z.ZodObject<{
|
|
10130
|
-
type: z.ZodLiteral<"remove">;
|
|
10131
|
-
key: z.ZodString;
|
|
10132
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10133
|
-
}, "strip", z.ZodTypeAny, {
|
|
10134
|
-
type: "remove";
|
|
10135
|
-
value: import("../../index.js").DeserializedJson;
|
|
10136
|
-
key: string;
|
|
10137
|
-
}, {
|
|
10138
|
-
type: "remove";
|
|
10139
|
-
value: import("../../index.js").DeserializedJson;
|
|
10140
|
-
key: string;
|
|
10141
|
-
}>, z.ZodObject<{
|
|
10142
|
-
type: z.ZodLiteral<"increment">;
|
|
10143
|
-
key: z.ZodString;
|
|
10144
|
-
value: z.ZodNumber;
|
|
10145
|
-
}, "strip", z.ZodTypeAny, {
|
|
10146
|
-
type: "increment";
|
|
10147
|
-
value: number;
|
|
10148
|
-
key: string;
|
|
10149
|
-
}, {
|
|
10150
|
-
type: "increment";
|
|
10151
|
-
value: number;
|
|
10152
|
-
key: string;
|
|
10153
|
-
}>]>, "many">>;
|
|
10154
|
-
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10155
|
-
type: z.ZodLiteral<"update">;
|
|
10156
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10157
|
-
}, "strip", z.ZodTypeAny, {
|
|
10158
|
-
type: "update";
|
|
10159
|
-
value: Record<string, unknown>;
|
|
10160
|
-
}, {
|
|
10161
|
-
type: "update";
|
|
10162
|
-
value: Record<string, unknown>;
|
|
10163
|
-
}>, z.ZodObject<{
|
|
10164
|
-
type: z.ZodLiteral<"set">;
|
|
10165
|
-
key: z.ZodString;
|
|
10166
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10167
|
-
}, "strip", z.ZodTypeAny, {
|
|
10168
|
-
type: "set";
|
|
10169
|
-
value: import("../../index.js").DeserializedJson;
|
|
10170
|
-
key: string;
|
|
10171
|
-
}, {
|
|
10172
|
-
type: "set";
|
|
10173
|
-
value: import("../../index.js").DeserializedJson;
|
|
10174
|
-
key: string;
|
|
10175
|
-
}>, z.ZodObject<{
|
|
10176
|
-
type: z.ZodLiteral<"delete">;
|
|
10177
|
-
key: z.ZodString;
|
|
10178
|
-
}, "strip", z.ZodTypeAny, {
|
|
10179
|
-
type: "delete";
|
|
10180
|
-
key: string;
|
|
10181
|
-
}, {
|
|
10182
|
-
type: "delete";
|
|
10183
|
-
key: string;
|
|
10184
|
-
}>, z.ZodObject<{
|
|
10185
|
-
type: z.ZodLiteral<"append">;
|
|
10186
|
-
key: z.ZodString;
|
|
10187
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10188
|
-
}, "strip", z.ZodTypeAny, {
|
|
10189
|
-
type: "append";
|
|
10190
|
-
value: import("../../index.js").DeserializedJson;
|
|
10191
|
-
key: string;
|
|
10192
|
-
}, {
|
|
10193
|
-
type: "append";
|
|
10194
|
-
value: import("../../index.js").DeserializedJson;
|
|
10195
|
-
key: string;
|
|
10196
|
-
}>, z.ZodObject<{
|
|
10197
|
-
type: z.ZodLiteral<"remove">;
|
|
10198
|
-
key: z.ZodString;
|
|
10199
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10200
|
-
}, "strip", z.ZodTypeAny, {
|
|
10201
|
-
type: "remove";
|
|
10202
|
-
value: import("../../index.js").DeserializedJson;
|
|
10203
|
-
key: string;
|
|
10204
|
-
}, {
|
|
10205
|
-
type: "remove";
|
|
10206
|
-
value: import("../../index.js").DeserializedJson;
|
|
10207
|
-
key: string;
|
|
10208
|
-
}>, z.ZodObject<{
|
|
10209
|
-
type: z.ZodLiteral<"increment">;
|
|
10210
|
-
key: z.ZodString;
|
|
10211
|
-
value: z.ZodNumber;
|
|
10212
|
-
}, "strip", z.ZodTypeAny, {
|
|
10213
|
-
type: "increment";
|
|
10214
|
-
value: number;
|
|
10215
|
-
key: string;
|
|
10216
|
-
}, {
|
|
10217
|
-
type: "increment";
|
|
10218
|
-
value: number;
|
|
10219
|
-
key: string;
|
|
10220
|
-
}>]>, "many">>;
|
|
10221
|
-
}, "strip", z.ZodTypeAny, {
|
|
10222
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
10223
|
-
operations?: ({
|
|
10224
|
-
type: "update";
|
|
10225
|
-
value: Record<string, unknown>;
|
|
10226
|
-
} | {
|
|
10227
|
-
type: "set";
|
|
10228
|
-
value: import("../../index.js").DeserializedJson;
|
|
10229
|
-
key: string;
|
|
10230
|
-
} | {
|
|
10231
|
-
type: "delete";
|
|
10232
|
-
key: string;
|
|
10233
|
-
} | {
|
|
10234
|
-
type: "append";
|
|
10235
|
-
value: import("../../index.js").DeserializedJson;
|
|
10236
|
-
key: string;
|
|
10237
|
-
} | {
|
|
10238
|
-
type: "remove";
|
|
10239
|
-
value: import("../../index.js").DeserializedJson;
|
|
10240
|
-
key: string;
|
|
10241
|
-
} | {
|
|
10242
|
-
type: "increment";
|
|
10243
|
-
value: number;
|
|
10244
|
-
key: string;
|
|
10245
|
-
})[] | undefined;
|
|
10246
|
-
parentOperations?: ({
|
|
10247
|
-
type: "update";
|
|
10248
|
-
value: Record<string, unknown>;
|
|
10249
|
-
} | {
|
|
10250
|
-
type: "set";
|
|
10251
|
-
value: import("../../index.js").DeserializedJson;
|
|
10252
|
-
key: string;
|
|
10253
|
-
} | {
|
|
10254
|
-
type: "delete";
|
|
10255
|
-
key: string;
|
|
10256
|
-
} | {
|
|
10257
|
-
type: "append";
|
|
10258
|
-
value: import("../../index.js").DeserializedJson;
|
|
10259
|
-
key: string;
|
|
10260
|
-
} | {
|
|
10261
|
-
type: "remove";
|
|
10262
|
-
value: import("../../index.js").DeserializedJson;
|
|
10263
|
-
key: string;
|
|
10264
|
-
} | {
|
|
10265
|
-
type: "increment";
|
|
10266
|
-
value: number;
|
|
10267
|
-
key: string;
|
|
10268
|
-
})[] | undefined;
|
|
10269
|
-
rootOperations?: ({
|
|
10270
|
-
type: "update";
|
|
10271
|
-
value: Record<string, unknown>;
|
|
10272
|
-
} | {
|
|
10273
|
-
type: "set";
|
|
10274
|
-
value: import("../../index.js").DeserializedJson;
|
|
10275
|
-
key: string;
|
|
10276
|
-
} | {
|
|
10277
|
-
type: "delete";
|
|
10278
|
-
key: string;
|
|
10279
|
-
} | {
|
|
10280
|
-
type: "append";
|
|
10281
|
-
value: import("../../index.js").DeserializedJson;
|
|
10282
|
-
key: string;
|
|
10283
|
-
} | {
|
|
10284
|
-
type: "remove";
|
|
10285
|
-
value: import("../../index.js").DeserializedJson;
|
|
10286
|
-
key: string;
|
|
10287
|
-
} | {
|
|
10288
|
-
type: "increment";
|
|
10289
|
-
value: number;
|
|
10290
|
-
key: string;
|
|
10291
|
-
})[] | undefined;
|
|
10292
|
-
}, {
|
|
10293
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
10294
|
-
operations?: ({
|
|
10295
|
-
type: "update";
|
|
10296
|
-
value: Record<string, unknown>;
|
|
10297
|
-
} | {
|
|
10298
|
-
type: "set";
|
|
10299
|
-
value: import("../../index.js").DeserializedJson;
|
|
10300
|
-
key: string;
|
|
10301
|
-
} | {
|
|
10302
|
-
type: "delete";
|
|
10303
|
-
key: string;
|
|
10304
|
-
} | {
|
|
10305
|
-
type: "append";
|
|
10306
|
-
value: import("../../index.js").DeserializedJson;
|
|
10307
|
-
key: string;
|
|
10308
|
-
} | {
|
|
10309
|
-
type: "remove";
|
|
10310
|
-
value: import("../../index.js").DeserializedJson;
|
|
10311
|
-
key: string;
|
|
10312
|
-
} | {
|
|
10313
|
-
type: "increment";
|
|
10314
|
-
value: number;
|
|
10315
|
-
key: string;
|
|
10316
|
-
})[] | undefined;
|
|
10317
|
-
parentOperations?: ({
|
|
10318
|
-
type: "update";
|
|
10319
|
-
value: Record<string, unknown>;
|
|
10320
|
-
} | {
|
|
10321
|
-
type: "set";
|
|
10322
|
-
value: import("../../index.js").DeserializedJson;
|
|
10323
|
-
key: string;
|
|
10324
|
-
} | {
|
|
10325
|
-
type: "delete";
|
|
10326
|
-
key: string;
|
|
10327
|
-
} | {
|
|
10328
|
-
type: "append";
|
|
10329
|
-
value: import("../../index.js").DeserializedJson;
|
|
10330
|
-
key: string;
|
|
10331
|
-
} | {
|
|
10332
|
-
type: "remove";
|
|
10333
|
-
value: import("../../index.js").DeserializedJson;
|
|
10334
|
-
key: string;
|
|
10335
|
-
} | {
|
|
10336
|
-
type: "increment";
|
|
10337
|
-
value: number;
|
|
10338
|
-
key: string;
|
|
10339
|
-
})[] | undefined;
|
|
10340
|
-
rootOperations?: ({
|
|
10341
|
-
type: "update";
|
|
10342
|
-
value: Record<string, unknown>;
|
|
10343
|
-
} | {
|
|
10344
|
-
type: "set";
|
|
10345
|
-
value: import("../../index.js").DeserializedJson;
|
|
10346
|
-
key: string;
|
|
10347
|
-
} | {
|
|
10348
|
-
type: "delete";
|
|
10349
|
-
key: string;
|
|
10350
|
-
} | {
|
|
10351
|
-
type: "append";
|
|
10352
|
-
value: import("../../index.js").DeserializedJson;
|
|
10353
|
-
key: string;
|
|
10354
|
-
} | {
|
|
10355
|
-
type: "remove";
|
|
10356
|
-
value: import("../../index.js").DeserializedJson;
|
|
10357
|
-
key: string;
|
|
10358
|
-
} | {
|
|
10359
|
-
type: "increment";
|
|
10360
|
-
value: number;
|
|
10361
|
-
key: string;
|
|
10362
|
-
})[] | undefined;
|
|
10363
|
-
}>>;
|
|
10364
|
-
}, "strip", z.ZodTypeAny, {
|
|
10365
|
-
ok: true;
|
|
10366
|
-
id: string;
|
|
10367
|
-
outputType: string;
|
|
10368
|
-
metadata?: {
|
|
10369
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
10370
|
-
operations?: ({
|
|
10371
|
-
type: "update";
|
|
10372
|
-
value: Record<string, unknown>;
|
|
10373
|
-
} | {
|
|
10374
|
-
type: "set";
|
|
10375
|
-
value: import("../../index.js").DeserializedJson;
|
|
10376
|
-
key: string;
|
|
10377
|
-
} | {
|
|
10378
|
-
type: "delete";
|
|
10379
|
-
key: string;
|
|
10380
|
-
} | {
|
|
10381
|
-
type: "append";
|
|
10382
|
-
value: import("../../index.js").DeserializedJson;
|
|
10383
|
-
key: string;
|
|
10384
|
-
} | {
|
|
10385
|
-
type: "remove";
|
|
10386
|
-
value: import("../../index.js").DeserializedJson;
|
|
10387
|
-
key: string;
|
|
10388
|
-
} | {
|
|
10389
|
-
type: "increment";
|
|
10390
|
-
value: number;
|
|
10391
|
-
key: string;
|
|
10392
|
-
})[] | undefined;
|
|
10393
|
-
parentOperations?: ({
|
|
10394
|
-
type: "update";
|
|
10395
|
-
value: Record<string, unknown>;
|
|
10396
|
-
} | {
|
|
10397
|
-
type: "set";
|
|
10398
|
-
value: import("../../index.js").DeserializedJson;
|
|
10399
|
-
key: string;
|
|
10400
|
-
} | {
|
|
10401
|
-
type: "delete";
|
|
10402
|
-
key: string;
|
|
10403
|
-
} | {
|
|
10404
|
-
type: "append";
|
|
10405
|
-
value: import("../../index.js").DeserializedJson;
|
|
10406
|
-
key: string;
|
|
10407
|
-
} | {
|
|
10408
|
-
type: "remove";
|
|
10409
|
-
value: import("../../index.js").DeserializedJson;
|
|
10410
|
-
key: string;
|
|
10411
|
-
} | {
|
|
10412
|
-
type: "increment";
|
|
10413
|
-
value: number;
|
|
10414
|
-
key: string;
|
|
10415
|
-
})[] | undefined;
|
|
10416
|
-
rootOperations?: ({
|
|
10417
|
-
type: "update";
|
|
10418
|
-
value: Record<string, unknown>;
|
|
10419
|
-
} | {
|
|
10420
|
-
type: "set";
|
|
10421
|
-
value: import("../../index.js").DeserializedJson;
|
|
10422
|
-
key: string;
|
|
10423
|
-
} | {
|
|
10424
|
-
type: "delete";
|
|
10425
|
-
key: string;
|
|
10426
|
-
} | {
|
|
10427
|
-
type: "append";
|
|
10428
|
-
value: import("../../index.js").DeserializedJson;
|
|
10429
|
-
key: string;
|
|
10430
|
-
} | {
|
|
10431
|
-
type: "remove";
|
|
10432
|
-
value: import("../../index.js").DeserializedJson;
|
|
10433
|
-
key: string;
|
|
10434
|
-
} | {
|
|
10435
|
-
type: "increment";
|
|
10436
|
-
value: number;
|
|
10437
|
-
key: string;
|
|
10438
|
-
})[] | undefined;
|
|
10439
|
-
} | undefined;
|
|
10440
|
-
usage?: {
|
|
10441
|
-
durationMs: number;
|
|
10442
|
-
} | undefined;
|
|
10443
|
-
taskIdentifier?: string | undefined;
|
|
10444
|
-
output?: string | undefined;
|
|
10445
|
-
}, {
|
|
10446
|
-
ok: true;
|
|
10447
|
-
id: string;
|
|
10448
|
-
outputType: string;
|
|
10449
|
-
metadata?: {
|
|
10450
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
10451
|
-
operations?: ({
|
|
10452
|
-
type: "update";
|
|
10453
|
-
value: Record<string, unknown>;
|
|
10454
|
-
} | {
|
|
10455
|
-
type: "set";
|
|
10456
|
-
value: import("../../index.js").DeserializedJson;
|
|
10457
|
-
key: string;
|
|
10458
|
-
} | {
|
|
10459
|
-
type: "delete";
|
|
10460
|
-
key: string;
|
|
10461
|
-
} | {
|
|
10462
|
-
type: "append";
|
|
10463
|
-
value: import("../../index.js").DeserializedJson;
|
|
10464
|
-
key: string;
|
|
10465
|
-
} | {
|
|
10466
|
-
type: "remove";
|
|
10467
|
-
value: import("../../index.js").DeserializedJson;
|
|
10468
|
-
key: string;
|
|
10469
|
-
} | {
|
|
10470
|
-
type: "increment";
|
|
10471
|
-
value: number;
|
|
10472
|
-
key: string;
|
|
10473
|
-
})[] | undefined;
|
|
10474
|
-
parentOperations?: ({
|
|
10475
|
-
type: "update";
|
|
10476
|
-
value: Record<string, unknown>;
|
|
10477
|
-
} | {
|
|
10478
|
-
type: "set";
|
|
10479
|
-
value: import("../../index.js").DeserializedJson;
|
|
10480
|
-
key: string;
|
|
10481
|
-
} | {
|
|
10482
|
-
type: "delete";
|
|
10483
|
-
key: string;
|
|
10484
|
-
} | {
|
|
10485
|
-
type: "append";
|
|
10486
|
-
value: import("../../index.js").DeserializedJson;
|
|
10487
|
-
key: string;
|
|
10488
|
-
} | {
|
|
10489
|
-
type: "remove";
|
|
10490
|
-
value: import("../../index.js").DeserializedJson;
|
|
10491
|
-
key: string;
|
|
10492
|
-
} | {
|
|
10493
|
-
type: "increment";
|
|
10494
|
-
value: number;
|
|
10495
|
-
key: string;
|
|
10496
|
-
})[] | undefined;
|
|
10497
|
-
rootOperations?: ({
|
|
10498
|
-
type: "update";
|
|
10499
|
-
value: Record<string, unknown>;
|
|
10500
|
-
} | {
|
|
10501
|
-
type: "set";
|
|
10502
|
-
value: import("../../index.js").DeserializedJson;
|
|
10503
|
-
key: string;
|
|
10504
|
-
} | {
|
|
10505
|
-
type: "delete";
|
|
10506
|
-
key: string;
|
|
10507
|
-
} | {
|
|
10508
|
-
type: "append";
|
|
10509
|
-
value: import("../../index.js").DeserializedJson;
|
|
10510
|
-
key: string;
|
|
10511
|
-
} | {
|
|
10512
|
-
type: "remove";
|
|
10513
|
-
value: import("../../index.js").DeserializedJson;
|
|
10514
|
-
key: string;
|
|
10515
|
-
} | {
|
|
10516
|
-
type: "increment";
|
|
10517
|
-
value: number;
|
|
10518
|
-
key: string;
|
|
10519
|
-
})[] | undefined;
|
|
10520
|
-
} | undefined;
|
|
10521
|
-
usage?: {
|
|
10522
|
-
durationMs: number;
|
|
10523
|
-
} | undefined;
|
|
10524
|
-
taskIdentifier?: string | undefined;
|
|
10525
|
-
output?: string | undefined;
|
|
10526
|
-
}>, z.ZodObject<{
|
|
10527
|
-
ok: z.ZodLiteral<false>;
|
|
10528
|
-
id: z.ZodString;
|
|
10529
|
-
error: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10530
|
-
type: z.ZodLiteral<"BUILT_IN_ERROR">;
|
|
10531
|
-
name: z.ZodString;
|
|
10532
|
-
message: z.ZodString;
|
|
10533
|
-
stackTrace: z.ZodString;
|
|
10534
|
-
}, "strip", z.ZodTypeAny, {
|
|
10535
|
-
message: string;
|
|
10536
|
-
type: "BUILT_IN_ERROR";
|
|
10537
|
-
name: string;
|
|
10538
|
-
stackTrace: string;
|
|
10539
|
-
}, {
|
|
10540
|
-
message: string;
|
|
10541
|
-
type: "BUILT_IN_ERROR";
|
|
10542
|
-
name: string;
|
|
10543
|
-
stackTrace: string;
|
|
10544
|
-
}>, z.ZodObject<{
|
|
10545
|
-
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
10546
|
-
raw: z.ZodString;
|
|
10547
|
-
}, "strip", z.ZodTypeAny, {
|
|
10548
|
-
type: "CUSTOM_ERROR";
|
|
10549
|
-
raw: string;
|
|
10550
|
-
}, {
|
|
10551
|
-
type: "CUSTOM_ERROR";
|
|
10552
|
-
raw: string;
|
|
10553
|
-
}>, z.ZodObject<{
|
|
10554
|
-
type: z.ZodLiteral<"STRING_ERROR">;
|
|
10555
|
-
raw: z.ZodString;
|
|
10556
|
-
}, "strip", z.ZodTypeAny, {
|
|
10557
|
-
type: "STRING_ERROR";
|
|
10558
|
-
raw: string;
|
|
10559
|
-
}, {
|
|
10560
|
-
type: "STRING_ERROR";
|
|
10561
|
-
raw: string;
|
|
10562
|
-
}>, z.ZodObject<{
|
|
10563
|
-
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
10564
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "COULD_NOT_IMPORT_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_PROCESS_SIGKILL_TIMEOUT", "TASK_PROCESS_SIGSEGV", "TASK_PROCESS_SIGTERM", "TASK_PROCESS_OOM_KILLED", "TASK_PROCESS_MAYBE_OOM_KILLED", "TASK_RUN_CANCELLED", "TASK_INPUT_ERROR", "TASK_OUTPUT_ERROR", "TASK_MIDDLEWARE_ERROR", "HANDLE_ERROR_ERROR", "GRACEFUL_EXIT_TIMEOUT", "TASK_RUN_HEARTBEAT_TIMEOUT", "TASK_RUN_CRASHED", "MAX_DURATION_EXCEEDED", "DISK_SPACE_EXCEEDED", "POD_EVICTED", "POD_UNKNOWN_ERROR", "TASK_HAS_N0_EXECUTION_SNAPSHOT", "TASK_DEQUEUED_INVALID_STATE", "TASK_DEQUEUED_QUEUE_NOT_FOUND", "TASK_RUN_DEQUEUED_MAX_RETRIES", "TASK_RUN_STALLED_EXECUTING", "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS", "OUTDATED_SDK_VERSION", "TASK_DID_CONCURRENT_WAIT", "RECURSIVE_WAIT_DEADLOCK"]>;
|
|
10565
|
-
message: z.ZodOptional<z.ZodString>;
|
|
10566
|
-
stackTrace: z.ZodOptional<z.ZodString>;
|
|
10567
|
-
}, "strip", z.ZodTypeAny, {
|
|
10568
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
10569
|
-
type: "INTERNAL_ERROR";
|
|
10570
|
-
message?: string | undefined;
|
|
10571
|
-
stackTrace?: string | undefined;
|
|
10572
|
-
}, {
|
|
10573
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
10574
|
-
type: "INTERNAL_ERROR";
|
|
10575
|
-
message?: string | undefined;
|
|
10576
|
-
stackTrace?: string | undefined;
|
|
10577
|
-
}>]>;
|
|
10578
|
-
retry: z.ZodOptional<z.ZodObject<{
|
|
10579
|
-
timestamp: z.ZodNumber;
|
|
10580
|
-
delay: z.ZodNumber;
|
|
10581
|
-
error: z.ZodOptional<z.ZodUnknown>;
|
|
10582
|
-
}, "strip", z.ZodTypeAny, {
|
|
10583
|
-
timestamp: number;
|
|
10584
|
-
delay: number;
|
|
10585
|
-
error?: unknown;
|
|
10586
|
-
}, {
|
|
10587
|
-
timestamp: number;
|
|
10588
|
-
delay: number;
|
|
10589
|
-
error?: unknown;
|
|
10590
|
-
}>>;
|
|
10591
|
-
skippedRetrying: z.ZodOptional<z.ZodBoolean>;
|
|
10592
|
-
usage: z.ZodOptional<z.ZodObject<{
|
|
10593
|
-
durationMs: z.ZodNumber;
|
|
10594
|
-
}, "strip", z.ZodTypeAny, {
|
|
10595
|
-
durationMs: number;
|
|
10596
|
-
}, {
|
|
10597
|
-
durationMs: number;
|
|
10598
|
-
}>>;
|
|
10599
|
-
taskIdentifier: z.ZodOptional<z.ZodString>;
|
|
10600
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
10601
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
|
|
10602
|
-
operations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10603
|
-
type: z.ZodLiteral<"update">;
|
|
10604
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10605
|
-
}, "strip", z.ZodTypeAny, {
|
|
10606
|
-
type: "update";
|
|
10607
|
-
value: Record<string, unknown>;
|
|
10608
|
-
}, {
|
|
10609
|
-
type: "update";
|
|
10610
|
-
value: Record<string, unknown>;
|
|
10611
|
-
}>, z.ZodObject<{
|
|
10612
|
-
type: z.ZodLiteral<"set">;
|
|
10613
|
-
key: z.ZodString;
|
|
10614
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10615
|
-
}, "strip", z.ZodTypeAny, {
|
|
10616
|
-
type: "set";
|
|
10617
|
-
value: import("../../index.js").DeserializedJson;
|
|
10618
|
-
key: string;
|
|
10619
|
-
}, {
|
|
10620
|
-
type: "set";
|
|
10621
|
-
value: import("../../index.js").DeserializedJson;
|
|
10622
|
-
key: string;
|
|
10623
|
-
}>, z.ZodObject<{
|
|
10624
|
-
type: z.ZodLiteral<"delete">;
|
|
10625
|
-
key: z.ZodString;
|
|
10626
|
-
}, "strip", z.ZodTypeAny, {
|
|
10627
|
-
type: "delete";
|
|
10628
|
-
key: string;
|
|
10629
|
-
}, {
|
|
10630
|
-
type: "delete";
|
|
10631
|
-
key: string;
|
|
10632
|
-
}>, z.ZodObject<{
|
|
10633
|
-
type: z.ZodLiteral<"append">;
|
|
10634
|
-
key: z.ZodString;
|
|
10635
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10636
|
-
}, "strip", z.ZodTypeAny, {
|
|
10637
|
-
type: "append";
|
|
10638
|
-
value: import("../../index.js").DeserializedJson;
|
|
10639
|
-
key: string;
|
|
10640
|
-
}, {
|
|
10641
|
-
type: "append";
|
|
10642
|
-
value: import("../../index.js").DeserializedJson;
|
|
10643
|
-
key: string;
|
|
10644
|
-
}>, z.ZodObject<{
|
|
10645
|
-
type: z.ZodLiteral<"remove">;
|
|
10646
|
-
key: z.ZodString;
|
|
10647
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10648
|
-
}, "strip", z.ZodTypeAny, {
|
|
10649
|
-
type: "remove";
|
|
10650
|
-
value: import("../../index.js").DeserializedJson;
|
|
10651
|
-
key: string;
|
|
10652
|
-
}, {
|
|
10653
|
-
type: "remove";
|
|
10654
|
-
value: import("../../index.js").DeserializedJson;
|
|
10655
|
-
key: string;
|
|
10656
|
-
}>, z.ZodObject<{
|
|
10657
|
-
type: z.ZodLiteral<"increment">;
|
|
10658
|
-
key: z.ZodString;
|
|
10659
|
-
value: z.ZodNumber;
|
|
10660
|
-
}, "strip", z.ZodTypeAny, {
|
|
10661
|
-
type: "increment";
|
|
10662
|
-
value: number;
|
|
10663
|
-
key: string;
|
|
10664
|
-
}, {
|
|
10665
|
-
type: "increment";
|
|
10666
|
-
value: number;
|
|
10667
|
-
key: string;
|
|
10668
|
-
}>]>, "many">>;
|
|
10669
|
-
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10670
|
-
type: z.ZodLiteral<"update">;
|
|
10671
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10672
|
-
}, "strip", z.ZodTypeAny, {
|
|
10673
|
-
type: "update";
|
|
10674
|
-
value: Record<string, unknown>;
|
|
10675
|
-
}, {
|
|
10676
|
-
type: "update";
|
|
10677
|
-
value: Record<string, unknown>;
|
|
10678
|
-
}>, z.ZodObject<{
|
|
10679
|
-
type: z.ZodLiteral<"set">;
|
|
10680
|
-
key: z.ZodString;
|
|
10681
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10682
|
-
}, "strip", z.ZodTypeAny, {
|
|
10683
|
-
type: "set";
|
|
10684
|
-
value: import("../../index.js").DeserializedJson;
|
|
10685
|
-
key: string;
|
|
10686
|
-
}, {
|
|
10687
|
-
type: "set";
|
|
10688
|
-
value: import("../../index.js").DeserializedJson;
|
|
10689
|
-
key: string;
|
|
10690
|
-
}>, z.ZodObject<{
|
|
10691
|
-
type: z.ZodLiteral<"delete">;
|
|
10692
|
-
key: z.ZodString;
|
|
10693
|
-
}, "strip", z.ZodTypeAny, {
|
|
10694
|
-
type: "delete";
|
|
10695
|
-
key: string;
|
|
10696
|
-
}, {
|
|
10697
|
-
type: "delete";
|
|
10698
|
-
key: string;
|
|
10699
|
-
}>, z.ZodObject<{
|
|
10700
|
-
type: z.ZodLiteral<"append">;
|
|
10701
|
-
key: z.ZodString;
|
|
10702
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10703
|
-
}, "strip", z.ZodTypeAny, {
|
|
10704
|
-
type: "append";
|
|
10705
|
-
value: import("../../index.js").DeserializedJson;
|
|
10706
|
-
key: string;
|
|
10707
|
-
}, {
|
|
10708
|
-
type: "append";
|
|
10709
|
-
value: import("../../index.js").DeserializedJson;
|
|
10710
|
-
key: string;
|
|
10711
|
-
}>, z.ZodObject<{
|
|
10712
|
-
type: z.ZodLiteral<"remove">;
|
|
10713
|
-
key: z.ZodString;
|
|
10714
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10715
|
-
}, "strip", z.ZodTypeAny, {
|
|
10716
|
-
type: "remove";
|
|
10717
|
-
value: import("../../index.js").DeserializedJson;
|
|
10718
|
-
key: string;
|
|
10719
|
-
}, {
|
|
10720
|
-
type: "remove";
|
|
10721
|
-
value: import("../../index.js").DeserializedJson;
|
|
10722
|
-
key: string;
|
|
10723
|
-
}>, z.ZodObject<{
|
|
10724
|
-
type: z.ZodLiteral<"increment">;
|
|
10725
|
-
key: z.ZodString;
|
|
10726
|
-
value: z.ZodNumber;
|
|
10727
|
-
}, "strip", z.ZodTypeAny, {
|
|
10728
|
-
type: "increment";
|
|
10729
|
-
value: number;
|
|
10730
|
-
key: string;
|
|
10731
|
-
}, {
|
|
10732
|
-
type: "increment";
|
|
10733
|
-
value: number;
|
|
10734
|
-
key: string;
|
|
10735
|
-
}>]>, "many">>;
|
|
10736
|
-
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10737
|
-
type: z.ZodLiteral<"update">;
|
|
10738
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10739
|
-
}, "strip", z.ZodTypeAny, {
|
|
10740
|
-
type: "update";
|
|
10741
|
-
value: Record<string, unknown>;
|
|
10742
|
-
}, {
|
|
10743
|
-
type: "update";
|
|
10744
|
-
value: Record<string, unknown>;
|
|
10745
|
-
}>, z.ZodObject<{
|
|
10746
|
-
type: z.ZodLiteral<"set">;
|
|
10747
|
-
key: z.ZodString;
|
|
10748
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10749
|
-
}, "strip", z.ZodTypeAny, {
|
|
10750
|
-
type: "set";
|
|
10751
|
-
value: import("../../index.js").DeserializedJson;
|
|
10752
|
-
key: string;
|
|
10753
|
-
}, {
|
|
10754
|
-
type: "set";
|
|
10755
|
-
value: import("../../index.js").DeserializedJson;
|
|
10756
|
-
key: string;
|
|
10757
|
-
}>, z.ZodObject<{
|
|
10758
|
-
type: z.ZodLiteral<"delete">;
|
|
10759
|
-
key: z.ZodString;
|
|
10760
|
-
}, "strip", z.ZodTypeAny, {
|
|
10761
|
-
type: "delete";
|
|
10762
|
-
key: string;
|
|
10763
|
-
}, {
|
|
10764
|
-
type: "delete";
|
|
10765
|
-
key: string;
|
|
10766
|
-
}>, z.ZodObject<{
|
|
10767
|
-
type: z.ZodLiteral<"append">;
|
|
10768
|
-
key: z.ZodString;
|
|
10769
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10770
|
-
}, "strip", z.ZodTypeAny, {
|
|
10771
|
-
type: "append";
|
|
10772
|
-
value: import("../../index.js").DeserializedJson;
|
|
10773
|
-
key: string;
|
|
10774
|
-
}, {
|
|
10775
|
-
type: "append";
|
|
10776
|
-
value: import("../../index.js").DeserializedJson;
|
|
10777
|
-
key: string;
|
|
10778
|
-
}>, z.ZodObject<{
|
|
10779
|
-
type: z.ZodLiteral<"remove">;
|
|
10780
|
-
key: z.ZodString;
|
|
10781
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
10782
|
-
}, "strip", z.ZodTypeAny, {
|
|
10783
|
-
type: "remove";
|
|
10784
|
-
value: import("../../index.js").DeserializedJson;
|
|
10785
|
-
key: string;
|
|
10786
|
-
}, {
|
|
10787
|
-
type: "remove";
|
|
10788
|
-
value: import("../../index.js").DeserializedJson;
|
|
10789
|
-
key: string;
|
|
10790
|
-
}>, z.ZodObject<{
|
|
10791
|
-
type: z.ZodLiteral<"increment">;
|
|
10792
|
-
key: z.ZodString;
|
|
10793
|
-
value: z.ZodNumber;
|
|
10794
|
-
}, "strip", z.ZodTypeAny, {
|
|
10795
|
-
type: "increment";
|
|
10796
|
-
value: number;
|
|
10797
|
-
key: string;
|
|
10798
|
-
}, {
|
|
10799
|
-
type: "increment";
|
|
10800
|
-
value: number;
|
|
10801
|
-
key: string;
|
|
10802
|
-
}>]>, "many">>;
|
|
10803
|
-
}, "strip", z.ZodTypeAny, {
|
|
10804
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
10805
|
-
operations?: ({
|
|
10806
|
-
type: "update";
|
|
10807
|
-
value: Record<string, unknown>;
|
|
10808
|
-
} | {
|
|
10809
|
-
type: "set";
|
|
10810
|
-
value: import("../../index.js").DeserializedJson;
|
|
10811
|
-
key: string;
|
|
10812
|
-
} | {
|
|
10813
|
-
type: "delete";
|
|
10814
|
-
key: string;
|
|
10815
|
-
} | {
|
|
10816
|
-
type: "append";
|
|
10817
|
-
value: import("../../index.js").DeserializedJson;
|
|
10818
|
-
key: string;
|
|
10819
|
-
} | {
|
|
10820
|
-
type: "remove";
|
|
10821
|
-
value: import("../../index.js").DeserializedJson;
|
|
10822
|
-
key: string;
|
|
10823
|
-
} | {
|
|
10824
|
-
type: "increment";
|
|
10825
|
-
value: number;
|
|
10826
|
-
key: string;
|
|
10827
|
-
})[] | undefined;
|
|
10828
|
-
parentOperations?: ({
|
|
10829
|
-
type: "update";
|
|
10830
|
-
value: Record<string, unknown>;
|
|
10831
|
-
} | {
|
|
10832
|
-
type: "set";
|
|
10833
|
-
value: import("../../index.js").DeserializedJson;
|
|
10834
|
-
key: string;
|
|
10835
|
-
} | {
|
|
10836
|
-
type: "delete";
|
|
10837
|
-
key: string;
|
|
10838
|
-
} | {
|
|
10839
|
-
type: "append";
|
|
10840
|
-
value: import("../../index.js").DeserializedJson;
|
|
10841
|
-
key: string;
|
|
10842
|
-
} | {
|
|
10843
|
-
type: "remove";
|
|
10844
|
-
value: import("../../index.js").DeserializedJson;
|
|
10845
|
-
key: string;
|
|
10846
|
-
} | {
|
|
10847
|
-
type: "increment";
|
|
10848
|
-
value: number;
|
|
10849
|
-
key: string;
|
|
10850
|
-
})[] | undefined;
|
|
10851
|
-
rootOperations?: ({
|
|
10852
|
-
type: "update";
|
|
10853
|
-
value: Record<string, unknown>;
|
|
10854
|
-
} | {
|
|
10855
|
-
type: "set";
|
|
10856
|
-
value: import("../../index.js").DeserializedJson;
|
|
10857
|
-
key: string;
|
|
10858
|
-
} | {
|
|
10859
|
-
type: "delete";
|
|
10860
|
-
key: string;
|
|
10861
|
-
} | {
|
|
10862
|
-
type: "append";
|
|
10863
|
-
value: import("../../index.js").DeserializedJson;
|
|
10864
|
-
key: string;
|
|
10865
|
-
} | {
|
|
10866
|
-
type: "remove";
|
|
10867
|
-
value: import("../../index.js").DeserializedJson;
|
|
10868
|
-
key: string;
|
|
10869
|
-
} | {
|
|
10870
|
-
type: "increment";
|
|
10871
|
-
value: number;
|
|
10872
|
-
key: string;
|
|
10873
|
-
})[] | undefined;
|
|
10874
|
-
}, {
|
|
10875
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
10876
|
-
operations?: ({
|
|
10877
|
-
type: "update";
|
|
10878
|
-
value: Record<string, unknown>;
|
|
10879
|
-
} | {
|
|
10880
|
-
type: "set";
|
|
10881
|
-
value: import("../../index.js").DeserializedJson;
|
|
10882
|
-
key: string;
|
|
10883
|
-
} | {
|
|
10884
|
-
type: "delete";
|
|
10885
|
-
key: string;
|
|
10886
|
-
} | {
|
|
10887
|
-
type: "append";
|
|
10888
|
-
value: import("../../index.js").DeserializedJson;
|
|
10889
|
-
key: string;
|
|
10890
|
-
} | {
|
|
10891
|
-
type: "remove";
|
|
10892
|
-
value: import("../../index.js").DeserializedJson;
|
|
10893
|
-
key: string;
|
|
10894
|
-
} | {
|
|
10895
|
-
type: "increment";
|
|
10896
|
-
value: number;
|
|
10897
|
-
key: string;
|
|
10898
|
-
})[] | undefined;
|
|
10899
|
-
parentOperations?: ({
|
|
10900
|
-
type: "update";
|
|
10901
|
-
value: Record<string, unknown>;
|
|
10902
|
-
} | {
|
|
10903
|
-
type: "set";
|
|
10904
|
-
value: import("../../index.js").DeserializedJson;
|
|
10905
|
-
key: string;
|
|
10906
|
-
} | {
|
|
10907
|
-
type: "delete";
|
|
10908
|
-
key: string;
|
|
10909
|
-
} | {
|
|
10910
|
-
type: "append";
|
|
10911
|
-
value: import("../../index.js").DeserializedJson;
|
|
10912
|
-
key: string;
|
|
10913
|
-
} | {
|
|
10914
|
-
type: "remove";
|
|
10915
|
-
value: import("../../index.js").DeserializedJson;
|
|
10916
|
-
key: string;
|
|
10917
|
-
} | {
|
|
10918
|
-
type: "increment";
|
|
10919
|
-
value: number;
|
|
10920
|
-
key: string;
|
|
10921
|
-
})[] | undefined;
|
|
10922
|
-
rootOperations?: ({
|
|
10923
|
-
type: "update";
|
|
10924
|
-
value: Record<string, unknown>;
|
|
10925
|
-
} | {
|
|
10926
|
-
type: "set";
|
|
10927
|
-
value: import("../../index.js").DeserializedJson;
|
|
10928
|
-
key: string;
|
|
10929
|
-
} | {
|
|
10930
|
-
type: "delete";
|
|
10931
|
-
key: string;
|
|
10932
|
-
} | {
|
|
10933
|
-
type: "append";
|
|
10934
|
-
value: import("../../index.js").DeserializedJson;
|
|
10935
|
-
key: string;
|
|
10936
|
-
} | {
|
|
10937
|
-
type: "remove";
|
|
10938
|
-
value: import("../../index.js").DeserializedJson;
|
|
10939
|
-
key: string;
|
|
10940
|
-
} | {
|
|
10941
|
-
type: "increment";
|
|
10942
|
-
value: number;
|
|
10943
|
-
key: string;
|
|
10944
|
-
})[] | undefined;
|
|
10945
|
-
}>>;
|
|
10946
|
-
}, "strip", z.ZodTypeAny, {
|
|
10947
|
-
error: {
|
|
10948
|
-
message: string;
|
|
10949
|
-
type: "BUILT_IN_ERROR";
|
|
10950
|
-
name: string;
|
|
10951
|
-
stackTrace: string;
|
|
10952
|
-
} | {
|
|
10953
|
-
type: "CUSTOM_ERROR";
|
|
10954
|
-
raw: string;
|
|
10955
|
-
} | {
|
|
10956
|
-
type: "STRING_ERROR";
|
|
10957
|
-
raw: string;
|
|
10958
|
-
} | {
|
|
10959
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
10960
|
-
type: "INTERNAL_ERROR";
|
|
10961
|
-
message?: string | undefined;
|
|
10962
|
-
stackTrace?: string | undefined;
|
|
10963
|
-
};
|
|
10964
|
-
ok: false;
|
|
10965
|
-
id: string;
|
|
10966
|
-
metadata?: {
|
|
10967
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
10968
|
-
operations?: ({
|
|
10969
|
-
type: "update";
|
|
10970
|
-
value: Record<string, unknown>;
|
|
10971
|
-
} | {
|
|
10972
|
-
type: "set";
|
|
10973
|
-
value: import("../../index.js").DeserializedJson;
|
|
10974
|
-
key: string;
|
|
10975
|
-
} | {
|
|
10976
|
-
type: "delete";
|
|
10977
|
-
key: string;
|
|
10978
|
-
} | {
|
|
10979
|
-
type: "append";
|
|
10980
|
-
value: import("../../index.js").DeserializedJson;
|
|
10981
|
-
key: string;
|
|
10982
|
-
} | {
|
|
10983
|
-
type: "remove";
|
|
10984
|
-
value: import("../../index.js").DeserializedJson;
|
|
10985
|
-
key: string;
|
|
10986
|
-
} | {
|
|
10987
|
-
type: "increment";
|
|
10988
|
-
value: number;
|
|
10989
|
-
key: string;
|
|
10990
|
-
})[] | undefined;
|
|
10991
|
-
parentOperations?: ({
|
|
10992
|
-
type: "update";
|
|
10993
|
-
value: Record<string, unknown>;
|
|
10994
|
-
} | {
|
|
10995
|
-
type: "set";
|
|
10996
|
-
value: import("../../index.js").DeserializedJson;
|
|
10997
|
-
key: string;
|
|
10998
|
-
} | {
|
|
10999
|
-
type: "delete";
|
|
11000
|
-
key: string;
|
|
11001
|
-
} | {
|
|
11002
|
-
type: "append";
|
|
11003
|
-
value: import("../../index.js").DeserializedJson;
|
|
11004
|
-
key: string;
|
|
11005
|
-
} | {
|
|
11006
|
-
type: "remove";
|
|
11007
|
-
value: import("../../index.js").DeserializedJson;
|
|
11008
|
-
key: string;
|
|
11009
|
-
} | {
|
|
11010
|
-
type: "increment";
|
|
11011
|
-
value: number;
|
|
11012
|
-
key: string;
|
|
11013
|
-
})[] | undefined;
|
|
11014
|
-
rootOperations?: ({
|
|
11015
|
-
type: "update";
|
|
11016
|
-
value: Record<string, unknown>;
|
|
11017
|
-
} | {
|
|
11018
|
-
type: "set";
|
|
11019
|
-
value: import("../../index.js").DeserializedJson;
|
|
11020
|
-
key: string;
|
|
11021
|
-
} | {
|
|
11022
|
-
type: "delete";
|
|
11023
|
-
key: string;
|
|
11024
|
-
} | {
|
|
11025
|
-
type: "append";
|
|
11026
|
-
value: import("../../index.js").DeserializedJson;
|
|
11027
|
-
key: string;
|
|
11028
|
-
} | {
|
|
11029
|
-
type: "remove";
|
|
11030
|
-
value: import("../../index.js").DeserializedJson;
|
|
11031
|
-
key: string;
|
|
11032
|
-
} | {
|
|
11033
|
-
type: "increment";
|
|
11034
|
-
value: number;
|
|
11035
|
-
key: string;
|
|
11036
|
-
})[] | undefined;
|
|
11037
|
-
} | undefined;
|
|
11038
|
-
retry?: {
|
|
11039
|
-
timestamp: number;
|
|
11040
|
-
delay: number;
|
|
11041
|
-
error?: unknown;
|
|
11042
|
-
} | undefined;
|
|
11043
|
-
skippedRetrying?: boolean | undefined;
|
|
11044
|
-
usage?: {
|
|
11045
|
-
durationMs: number;
|
|
11046
|
-
} | undefined;
|
|
11047
|
-
taskIdentifier?: string | undefined;
|
|
11048
|
-
}, {
|
|
11049
|
-
error: {
|
|
11050
|
-
message: string;
|
|
11051
|
-
type: "BUILT_IN_ERROR";
|
|
11052
|
-
name: string;
|
|
11053
|
-
stackTrace: string;
|
|
11054
|
-
} | {
|
|
11055
|
-
type: "CUSTOM_ERROR";
|
|
11056
|
-
raw: string;
|
|
11057
|
-
} | {
|
|
11058
|
-
type: "STRING_ERROR";
|
|
11059
|
-
raw: string;
|
|
11060
|
-
} | {
|
|
11061
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
11062
|
-
type: "INTERNAL_ERROR";
|
|
11063
|
-
message?: string | undefined;
|
|
11064
|
-
stackTrace?: string | undefined;
|
|
11065
|
-
};
|
|
11066
|
-
ok: false;
|
|
11067
|
-
id: string;
|
|
11068
|
-
metadata?: {
|
|
11069
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
11070
|
-
operations?: ({
|
|
11071
|
-
type: "update";
|
|
11072
|
-
value: Record<string, unknown>;
|
|
11073
|
-
} | {
|
|
11074
|
-
type: "set";
|
|
11075
|
-
value: import("../../index.js").DeserializedJson;
|
|
11076
|
-
key: string;
|
|
11077
|
-
} | {
|
|
11078
|
-
type: "delete";
|
|
11079
|
-
key: string;
|
|
11080
|
-
} | {
|
|
11081
|
-
type: "append";
|
|
11082
|
-
value: import("../../index.js").DeserializedJson;
|
|
11083
|
-
key: string;
|
|
11084
|
-
} | {
|
|
11085
|
-
type: "remove";
|
|
11086
|
-
value: import("../../index.js").DeserializedJson;
|
|
11087
|
-
key: string;
|
|
11088
|
-
} | {
|
|
11089
|
-
type: "increment";
|
|
11090
|
-
value: number;
|
|
11091
|
-
key: string;
|
|
11092
|
-
})[] | undefined;
|
|
11093
|
-
parentOperations?: ({
|
|
11094
|
-
type: "update";
|
|
11095
|
-
value: Record<string, unknown>;
|
|
11096
|
-
} | {
|
|
11097
|
-
type: "set";
|
|
11098
|
-
value: import("../../index.js").DeserializedJson;
|
|
11099
|
-
key: string;
|
|
11100
|
-
} | {
|
|
11101
|
-
type: "delete";
|
|
11102
|
-
key: string;
|
|
11103
|
-
} | {
|
|
11104
|
-
type: "append";
|
|
11105
|
-
value: import("../../index.js").DeserializedJson;
|
|
11106
|
-
key: string;
|
|
11107
|
-
} | {
|
|
11108
|
-
type: "remove";
|
|
11109
|
-
value: import("../../index.js").DeserializedJson;
|
|
11110
|
-
key: string;
|
|
11111
|
-
} | {
|
|
11112
|
-
type: "increment";
|
|
11113
|
-
value: number;
|
|
11114
|
-
key: string;
|
|
11115
|
-
})[] | undefined;
|
|
11116
|
-
rootOperations?: ({
|
|
11117
|
-
type: "update";
|
|
11118
|
-
value: Record<string, unknown>;
|
|
11119
|
-
} | {
|
|
11120
|
-
type: "set";
|
|
11121
|
-
value: import("../../index.js").DeserializedJson;
|
|
11122
|
-
key: string;
|
|
11123
|
-
} | {
|
|
11124
|
-
type: "delete";
|
|
11125
|
-
key: string;
|
|
11126
|
-
} | {
|
|
11127
|
-
type: "append";
|
|
11128
|
-
value: import("../../index.js").DeserializedJson;
|
|
11129
|
-
key: string;
|
|
11130
|
-
} | {
|
|
11131
|
-
type: "remove";
|
|
11132
|
-
value: import("../../index.js").DeserializedJson;
|
|
11133
|
-
key: string;
|
|
11134
|
-
} | {
|
|
11135
|
-
type: "increment";
|
|
11136
|
-
value: number;
|
|
11137
|
-
key: string;
|
|
11138
|
-
})[] | undefined;
|
|
11139
|
-
} | undefined;
|
|
11140
|
-
retry?: {
|
|
11141
|
-
timestamp: number;
|
|
11142
|
-
delay: number;
|
|
11143
|
-
error?: unknown;
|
|
11144
|
-
} | undefined;
|
|
11145
|
-
skippedRetrying?: boolean | undefined;
|
|
11146
|
-
usage?: {
|
|
11147
|
-
durationMs: number;
|
|
11148
|
-
} | undefined;
|
|
11149
|
-
taskIdentifier?: string | undefined;
|
|
11150
|
-
}>]>;
|
|
11151
|
-
execution: z.ZodObject<{
|
|
11152
|
-
task: z.ZodObject<{
|
|
11153
|
-
id: z.ZodString;
|
|
11154
|
-
filePath: z.ZodString;
|
|
11155
|
-
exportName: z.ZodOptional<z.ZodString>;
|
|
11156
|
-
}, "strip", z.ZodTypeAny, {
|
|
11157
|
-
id: string;
|
|
11158
|
-
filePath: string;
|
|
11159
|
-
exportName?: string | undefined;
|
|
11160
|
-
}, {
|
|
11161
|
-
id: string;
|
|
11162
|
-
filePath: string;
|
|
11163
|
-
exportName?: string | undefined;
|
|
11164
|
-
}>;
|
|
11165
|
-
attempt: z.ZodObject<{
|
|
11166
|
-
number: z.ZodNumber;
|
|
11167
|
-
startedAt: z.ZodDate;
|
|
11168
|
-
id: z.ZodString;
|
|
11169
|
-
backgroundWorkerId: z.ZodString;
|
|
11170
|
-
backgroundWorkerTaskId: z.ZodString;
|
|
11171
|
-
status: z.ZodString;
|
|
11172
|
-
}, "strip", z.ZodTypeAny, {
|
|
11173
|
-
number: number;
|
|
11174
|
-
status: string;
|
|
11175
|
-
id: string;
|
|
11176
|
-
startedAt: Date;
|
|
11177
|
-
backgroundWorkerId: string;
|
|
11178
|
-
backgroundWorkerTaskId: string;
|
|
11179
|
-
}, {
|
|
11180
|
-
number: number;
|
|
11181
|
-
status: string;
|
|
11182
|
-
id: string;
|
|
11183
|
-
startedAt: Date;
|
|
11184
|
-
backgroundWorkerId: string;
|
|
11185
|
-
backgroundWorkerTaskId: string;
|
|
11186
|
-
}>;
|
|
11187
|
-
run: z.ZodIntersection<z.ZodObject<{
|
|
11188
|
-
id: z.ZodString;
|
|
11189
|
-
payload: z.ZodString;
|
|
11190
|
-
payloadType: z.ZodString;
|
|
11191
|
-
tags: z.ZodArray<z.ZodString, "many">;
|
|
11192
|
-
isTest: z.ZodDefault<z.ZodBoolean>;
|
|
11193
|
-
createdAt: z.ZodDate;
|
|
11194
|
-
startedAt: z.ZodDefault<z.ZodDate>;
|
|
11195
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
11196
|
-
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
11197
|
-
version: z.ZodOptional<z.ZodString>;
|
|
11198
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
|
|
11199
|
-
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
11200
|
-
context: z.ZodAny;
|
|
11201
|
-
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
11202
|
-
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
11203
|
-
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
11204
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
11205
|
-
}, "strip", z.ZodTypeAny, {
|
|
11206
|
-
payload: string;
|
|
11207
|
-
id: string;
|
|
11208
|
-
payloadType: string;
|
|
11209
|
-
tags: string[];
|
|
11210
|
-
isTest: boolean;
|
|
11211
|
-
createdAt: Date;
|
|
11212
|
-
startedAt: Date;
|
|
11213
|
-
durationMs: number;
|
|
11214
|
-
costInCents: number;
|
|
11215
|
-
baseCostInCents: number;
|
|
11216
|
-
context?: any;
|
|
11217
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
11218
|
-
idempotencyKey?: string | undefined;
|
|
11219
|
-
maxAttempts?: number | undefined;
|
|
11220
|
-
version?: string | undefined;
|
|
11221
|
-
maxDuration?: number | undefined;
|
|
11222
|
-
priority?: number | undefined;
|
|
11223
|
-
}, {
|
|
11224
|
-
payload: string;
|
|
11225
|
-
id: string;
|
|
11226
|
-
payloadType: string;
|
|
11227
|
-
tags: string[];
|
|
11228
|
-
createdAt: Date;
|
|
11229
|
-
context?: any;
|
|
11230
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
11231
|
-
isTest?: boolean | undefined;
|
|
11232
|
-
startedAt?: Date | undefined;
|
|
11233
|
-
idempotencyKey?: string | undefined;
|
|
11234
|
-
maxAttempts?: number | undefined;
|
|
11235
|
-
version?: string | undefined;
|
|
11236
|
-
maxDuration?: number | undefined;
|
|
11237
|
-
durationMs?: number | undefined;
|
|
11238
|
-
costInCents?: number | undefined;
|
|
11239
|
-
baseCostInCents?: number | undefined;
|
|
11240
|
-
priority?: number | undefined;
|
|
11241
|
-
}>, z.ZodObject<{
|
|
11242
|
-
traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11243
|
-
}, "strip", z.ZodTypeAny, {
|
|
11244
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
11245
|
-
}, {
|
|
11246
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
11247
|
-
}>>;
|
|
11248
|
-
queue: z.ZodObject<{
|
|
11249
|
-
id: z.ZodString;
|
|
11250
|
-
name: z.ZodString;
|
|
11251
|
-
}, "strip", z.ZodTypeAny, {
|
|
11252
|
-
name: string;
|
|
11253
|
-
id: string;
|
|
11254
|
-
}, {
|
|
11255
|
-
name: string;
|
|
11256
|
-
id: string;
|
|
11257
|
-
}>;
|
|
11258
|
-
environment: z.ZodObject<{
|
|
11259
|
-
id: z.ZodString;
|
|
11260
|
-
slug: z.ZodString;
|
|
11261
|
-
type: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
|
|
11262
|
-
}, "strip", z.ZodTypeAny, {
|
|
11263
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
11264
|
-
id: string;
|
|
11265
|
-
slug: string;
|
|
11266
|
-
}, {
|
|
11267
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
11268
|
-
id: string;
|
|
11269
|
-
slug: string;
|
|
11270
|
-
}>;
|
|
11271
|
-
organization: z.ZodObject<{
|
|
11272
|
-
id: z.ZodString;
|
|
11273
|
-
slug: z.ZodString;
|
|
11274
|
-
name: z.ZodString;
|
|
11275
|
-
}, "strip", z.ZodTypeAny, {
|
|
11276
|
-
name: string;
|
|
11277
|
-
id: string;
|
|
11278
|
-
slug: string;
|
|
11279
|
-
}, {
|
|
11280
|
-
name: string;
|
|
11281
|
-
id: string;
|
|
11282
|
-
slug: string;
|
|
11283
|
-
}>;
|
|
11284
|
-
project: z.ZodObject<{
|
|
11285
|
-
id: z.ZodString;
|
|
11286
|
-
ref: z.ZodString;
|
|
11287
|
-
slug: z.ZodString;
|
|
11288
|
-
name: z.ZodString;
|
|
11289
|
-
}, "strip", z.ZodTypeAny, {
|
|
11290
|
-
name: string;
|
|
11291
|
-
id: string;
|
|
11292
|
-
slug: string;
|
|
11293
|
-
ref: string;
|
|
11294
|
-
}, {
|
|
11295
|
-
name: string;
|
|
11296
|
-
id: string;
|
|
11297
|
-
slug: string;
|
|
11298
|
-
ref: string;
|
|
11299
|
-
}>;
|
|
11300
|
-
batch: z.ZodOptional<z.ZodObject<{
|
|
11301
|
-
id: z.ZodString;
|
|
11302
|
-
}, "strip", z.ZodTypeAny, {
|
|
11303
|
-
id: string;
|
|
11304
|
-
}, {
|
|
11305
|
-
id: string;
|
|
11306
|
-
}>>;
|
|
11307
|
-
machine: z.ZodObject<{
|
|
11308
|
-
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
11309
|
-
cpu: z.ZodNumber;
|
|
11310
|
-
memory: z.ZodNumber;
|
|
11311
|
-
centsPerMs: z.ZodNumber;
|
|
11312
|
-
}, "strip", z.ZodTypeAny, {
|
|
11313
|
-
cpu: number;
|
|
11314
|
-
memory: number;
|
|
11315
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
11316
|
-
centsPerMs: number;
|
|
11317
|
-
}, {
|
|
11318
|
-
cpu: number;
|
|
11319
|
-
memory: number;
|
|
11320
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
11321
|
-
centsPerMs: number;
|
|
11322
|
-
}>;
|
|
11323
|
-
}, "strip", z.ZodTypeAny, {
|
|
11324
|
-
task: {
|
|
11325
|
-
id: string;
|
|
11326
|
-
filePath: string;
|
|
11327
|
-
exportName?: string | undefined;
|
|
11328
|
-
};
|
|
11329
|
-
attempt: {
|
|
11330
|
-
number: number;
|
|
11331
|
-
status: string;
|
|
11332
|
-
id: string;
|
|
11333
|
-
startedAt: Date;
|
|
11334
|
-
backgroundWorkerId: string;
|
|
11335
|
-
backgroundWorkerTaskId: string;
|
|
11336
|
-
};
|
|
11337
|
-
run: {
|
|
11338
|
-
payload: string;
|
|
11339
|
-
id: string;
|
|
11340
|
-
payloadType: string;
|
|
11341
|
-
tags: string[];
|
|
11342
|
-
isTest: boolean;
|
|
11343
|
-
createdAt: Date;
|
|
11344
|
-
startedAt: Date;
|
|
11345
|
-
durationMs: number;
|
|
11346
|
-
costInCents: number;
|
|
11347
|
-
baseCostInCents: number;
|
|
11348
|
-
context?: any;
|
|
11349
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
11350
|
-
idempotencyKey?: string | undefined;
|
|
11351
|
-
maxAttempts?: number | undefined;
|
|
11352
|
-
version?: string | undefined;
|
|
11353
|
-
maxDuration?: number | undefined;
|
|
11354
|
-
priority?: number | undefined;
|
|
11355
|
-
} & {
|
|
11356
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
11357
|
-
};
|
|
11358
|
-
queue: {
|
|
11359
|
-
name: string;
|
|
11360
|
-
id: string;
|
|
11361
|
-
};
|
|
11362
|
-
environment: {
|
|
11363
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
11364
|
-
id: string;
|
|
11365
|
-
slug: string;
|
|
11366
|
-
};
|
|
11367
|
-
organization: {
|
|
11368
|
-
name: string;
|
|
11369
|
-
id: string;
|
|
11370
|
-
slug: string;
|
|
11371
|
-
};
|
|
11372
|
-
project: {
|
|
11373
|
-
name: string;
|
|
11374
|
-
id: string;
|
|
11375
|
-
slug: string;
|
|
11376
|
-
ref: string;
|
|
11377
|
-
};
|
|
11378
|
-
machine: {
|
|
11379
|
-
cpu: number;
|
|
11380
|
-
memory: number;
|
|
11381
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
11382
|
-
centsPerMs: number;
|
|
11383
|
-
};
|
|
11384
|
-
batch?: {
|
|
11385
|
-
id: string;
|
|
11386
|
-
} | undefined;
|
|
11387
|
-
}, {
|
|
11388
|
-
task: {
|
|
11389
|
-
id: string;
|
|
11390
|
-
filePath: string;
|
|
11391
|
-
exportName?: string | undefined;
|
|
11392
|
-
};
|
|
11393
|
-
attempt: {
|
|
11394
|
-
number: number;
|
|
11395
|
-
status: string;
|
|
11396
|
-
id: string;
|
|
11397
|
-
startedAt: Date;
|
|
11398
|
-
backgroundWorkerId: string;
|
|
11399
|
-
backgroundWorkerTaskId: string;
|
|
11400
|
-
};
|
|
11401
|
-
run: {
|
|
11402
|
-
payload: string;
|
|
11403
|
-
id: string;
|
|
11404
|
-
payloadType: string;
|
|
11405
|
-
tags: string[];
|
|
11406
|
-
createdAt: Date;
|
|
11407
|
-
context?: any;
|
|
11408
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
11409
|
-
isTest?: boolean | undefined;
|
|
11410
|
-
startedAt?: Date | undefined;
|
|
11411
|
-
idempotencyKey?: string | undefined;
|
|
11412
|
-
maxAttempts?: number | undefined;
|
|
11413
|
-
version?: string | undefined;
|
|
11414
|
-
maxDuration?: number | undefined;
|
|
11415
|
-
durationMs?: number | undefined;
|
|
11416
|
-
costInCents?: number | undefined;
|
|
11417
|
-
baseCostInCents?: number | undefined;
|
|
11418
|
-
priority?: number | undefined;
|
|
11419
|
-
} & {
|
|
11420
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
11421
|
-
};
|
|
11422
|
-
queue: {
|
|
11423
|
-
name: string;
|
|
11424
|
-
id: string;
|
|
11425
|
-
};
|
|
11426
|
-
environment: {
|
|
11427
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
11428
|
-
id: string;
|
|
11429
|
-
slug: string;
|
|
11430
|
-
};
|
|
11431
|
-
organization: {
|
|
11432
|
-
name: string;
|
|
11433
|
-
id: string;
|
|
11434
|
-
slug: string;
|
|
11435
|
-
};
|
|
11436
|
-
project: {
|
|
11437
|
-
name: string;
|
|
11438
|
-
id: string;
|
|
11439
|
-
slug: string;
|
|
11440
|
-
ref: string;
|
|
11441
|
-
};
|
|
11442
|
-
machine: {
|
|
11443
|
-
cpu: number;
|
|
11444
|
-
memory: number;
|
|
11445
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
11446
|
-
centsPerMs: number;
|
|
11447
|
-
};
|
|
11448
|
-
batch?: {
|
|
11449
|
-
id: string;
|
|
11450
|
-
} | undefined;
|
|
11451
|
-
}>;
|
|
11452
|
-
}, "strip", z.ZodTypeAny, {
|
|
11453
|
-
version: "v1";
|
|
11454
|
-
execution: {
|
|
11455
|
-
task: {
|
|
11456
|
-
id: string;
|
|
11457
|
-
filePath: string;
|
|
11458
|
-
exportName?: string | undefined;
|
|
11459
|
-
};
|
|
11460
|
-
attempt: {
|
|
11461
|
-
number: number;
|
|
11462
|
-
status: string;
|
|
11463
|
-
id: string;
|
|
11464
|
-
startedAt: Date;
|
|
11465
|
-
backgroundWorkerId: string;
|
|
11466
|
-
backgroundWorkerTaskId: string;
|
|
11467
|
-
};
|
|
11468
|
-
run: {
|
|
11469
|
-
payload: string;
|
|
11470
|
-
id: string;
|
|
11471
|
-
payloadType: string;
|
|
11472
|
-
tags: string[];
|
|
11473
|
-
isTest: boolean;
|
|
11474
|
-
createdAt: Date;
|
|
11475
|
-
startedAt: Date;
|
|
11476
|
-
durationMs: number;
|
|
11477
|
-
costInCents: number;
|
|
11478
|
-
baseCostInCents: number;
|
|
11479
|
-
context?: any;
|
|
11480
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
11481
|
-
idempotencyKey?: string | undefined;
|
|
11482
|
-
maxAttempts?: number | undefined;
|
|
11483
|
-
version?: string | undefined;
|
|
11484
|
-
maxDuration?: number | undefined;
|
|
11485
|
-
priority?: number | undefined;
|
|
11486
|
-
} & {
|
|
11487
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
11488
|
-
};
|
|
11489
|
-
queue: {
|
|
11490
|
-
name: string;
|
|
11491
|
-
id: string;
|
|
11492
|
-
};
|
|
11493
|
-
environment: {
|
|
11494
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
11495
|
-
id: string;
|
|
11496
|
-
slug: string;
|
|
11497
|
-
};
|
|
11498
|
-
organization: {
|
|
11499
|
-
name: string;
|
|
11500
|
-
id: string;
|
|
11501
|
-
slug: string;
|
|
11502
|
-
};
|
|
11503
|
-
project: {
|
|
11504
|
-
name: string;
|
|
11505
|
-
id: string;
|
|
11506
|
-
slug: string;
|
|
11507
|
-
ref: string;
|
|
11508
|
-
};
|
|
11509
|
-
machine: {
|
|
11510
|
-
cpu: number;
|
|
11511
|
-
memory: number;
|
|
11512
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
11513
|
-
centsPerMs: number;
|
|
11514
|
-
};
|
|
11515
|
-
batch?: {
|
|
11516
|
-
id: string;
|
|
11517
|
-
} | undefined;
|
|
11518
|
-
};
|
|
11519
|
-
completion: {
|
|
11520
|
-
error: {
|
|
11521
|
-
message: string;
|
|
11522
|
-
type: "BUILT_IN_ERROR";
|
|
11523
|
-
name: string;
|
|
11524
|
-
stackTrace: string;
|
|
11525
|
-
} | {
|
|
11526
|
-
type: "CUSTOM_ERROR";
|
|
11527
|
-
raw: string;
|
|
11528
|
-
} | {
|
|
11529
|
-
type: "STRING_ERROR";
|
|
11530
|
-
raw: string;
|
|
11531
|
-
} | {
|
|
11532
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
11533
|
-
type: "INTERNAL_ERROR";
|
|
11534
|
-
message?: string | undefined;
|
|
11535
|
-
stackTrace?: string | undefined;
|
|
11536
|
-
};
|
|
11537
|
-
ok: false;
|
|
11538
|
-
id: string;
|
|
11539
|
-
metadata?: {
|
|
11540
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
11541
|
-
operations?: ({
|
|
11542
|
-
type: "update";
|
|
11543
|
-
value: Record<string, unknown>;
|
|
11544
|
-
} | {
|
|
11545
|
-
type: "set";
|
|
11546
|
-
value: import("../../index.js").DeserializedJson;
|
|
11547
|
-
key: string;
|
|
11548
|
-
} | {
|
|
11549
|
-
type: "delete";
|
|
11550
|
-
key: string;
|
|
11551
|
-
} | {
|
|
11552
|
-
type: "append";
|
|
11553
|
-
value: import("../../index.js").DeserializedJson;
|
|
11554
|
-
key: string;
|
|
11555
|
-
} | {
|
|
11556
|
-
type: "remove";
|
|
11557
|
-
value: import("../../index.js").DeserializedJson;
|
|
11558
|
-
key: string;
|
|
11559
|
-
} | {
|
|
11560
|
-
type: "increment";
|
|
11561
|
-
value: number;
|
|
11562
|
-
key: string;
|
|
11563
|
-
})[] | undefined;
|
|
11564
|
-
parentOperations?: ({
|
|
11565
|
-
type: "update";
|
|
11566
|
-
value: Record<string, unknown>;
|
|
11567
|
-
} | {
|
|
11568
|
-
type: "set";
|
|
11569
|
-
value: import("../../index.js").DeserializedJson;
|
|
11570
|
-
key: string;
|
|
11571
|
-
} | {
|
|
11572
|
-
type: "delete";
|
|
11573
|
-
key: string;
|
|
11574
|
-
} | {
|
|
11575
|
-
type: "append";
|
|
11576
|
-
value: import("../../index.js").DeserializedJson;
|
|
11577
|
-
key: string;
|
|
11578
|
-
} | {
|
|
11579
|
-
type: "remove";
|
|
11580
|
-
value: import("../../index.js").DeserializedJson;
|
|
11581
|
-
key: string;
|
|
11582
|
-
} | {
|
|
11583
|
-
type: "increment";
|
|
11584
|
-
value: number;
|
|
11585
|
-
key: string;
|
|
11586
|
-
})[] | undefined;
|
|
11587
|
-
rootOperations?: ({
|
|
11588
|
-
type: "update";
|
|
11589
|
-
value: Record<string, unknown>;
|
|
11590
|
-
} | {
|
|
11591
|
-
type: "set";
|
|
11592
|
-
value: import("../../index.js").DeserializedJson;
|
|
11593
|
-
key: string;
|
|
11594
|
-
} | {
|
|
11595
|
-
type: "delete";
|
|
11596
|
-
key: string;
|
|
11597
|
-
} | {
|
|
11598
|
-
type: "append";
|
|
11599
|
-
value: import("../../index.js").DeserializedJson;
|
|
11600
|
-
key: string;
|
|
11601
|
-
} | {
|
|
11602
|
-
type: "remove";
|
|
11603
|
-
value: import("../../index.js").DeserializedJson;
|
|
11604
|
-
key: string;
|
|
11605
|
-
} | {
|
|
11606
|
-
type: "increment";
|
|
11607
|
-
value: number;
|
|
11608
|
-
key: string;
|
|
11609
|
-
})[] | undefined;
|
|
11610
|
-
} | undefined;
|
|
11611
|
-
retry?: {
|
|
11612
|
-
timestamp: number;
|
|
11613
|
-
delay: number;
|
|
11614
|
-
error?: unknown;
|
|
11615
|
-
} | undefined;
|
|
11616
|
-
skippedRetrying?: boolean | undefined;
|
|
11617
|
-
usage?: {
|
|
11618
|
-
durationMs: number;
|
|
11619
|
-
} | undefined;
|
|
11620
|
-
taskIdentifier?: string | undefined;
|
|
11621
|
-
} | {
|
|
11622
|
-
ok: true;
|
|
11623
|
-
id: string;
|
|
11624
|
-
outputType: string;
|
|
11625
|
-
metadata?: {
|
|
11626
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
11627
|
-
operations?: ({
|
|
11628
|
-
type: "update";
|
|
11629
|
-
value: Record<string, unknown>;
|
|
11630
|
-
} | {
|
|
11631
|
-
type: "set";
|
|
11632
|
-
value: import("../../index.js").DeserializedJson;
|
|
11633
|
-
key: string;
|
|
11634
|
-
} | {
|
|
11635
|
-
type: "delete";
|
|
11636
|
-
key: string;
|
|
11637
|
-
} | {
|
|
11638
|
-
type: "append";
|
|
11639
|
-
value: import("../../index.js").DeserializedJson;
|
|
11640
|
-
key: string;
|
|
11641
|
-
} | {
|
|
11642
|
-
type: "remove";
|
|
11643
|
-
value: import("../../index.js").DeserializedJson;
|
|
11644
|
-
key: string;
|
|
11645
|
-
} | {
|
|
11646
|
-
type: "increment";
|
|
11647
|
-
value: number;
|
|
11648
|
-
key: string;
|
|
11649
|
-
})[] | undefined;
|
|
11650
|
-
parentOperations?: ({
|
|
11651
|
-
type: "update";
|
|
11652
|
-
value: Record<string, unknown>;
|
|
11653
|
-
} | {
|
|
11654
|
-
type: "set";
|
|
11655
|
-
value: import("../../index.js").DeserializedJson;
|
|
11656
|
-
key: string;
|
|
11657
|
-
} | {
|
|
11658
|
-
type: "delete";
|
|
11659
|
-
key: string;
|
|
11660
|
-
} | {
|
|
11661
|
-
type: "append";
|
|
11662
|
-
value: import("../../index.js").DeserializedJson;
|
|
11663
|
-
key: string;
|
|
11664
|
-
} | {
|
|
11665
|
-
type: "remove";
|
|
11666
|
-
value: import("../../index.js").DeserializedJson;
|
|
11667
|
-
key: string;
|
|
11668
|
-
} | {
|
|
11669
|
-
type: "increment";
|
|
11670
|
-
value: number;
|
|
11671
|
-
key: string;
|
|
11672
|
-
})[] | undefined;
|
|
11673
|
-
rootOperations?: ({
|
|
11674
|
-
type: "update";
|
|
11675
|
-
value: Record<string, unknown>;
|
|
11676
|
-
} | {
|
|
11677
|
-
type: "set";
|
|
11678
|
-
value: import("../../index.js").DeserializedJson;
|
|
11679
|
-
key: string;
|
|
11680
|
-
} | {
|
|
11681
|
-
type: "delete";
|
|
11682
|
-
key: string;
|
|
11683
|
-
} | {
|
|
11684
|
-
type: "append";
|
|
11685
|
-
value: import("../../index.js").DeserializedJson;
|
|
11686
|
-
key: string;
|
|
11687
|
-
} | {
|
|
11688
|
-
type: "remove";
|
|
11689
|
-
value: import("../../index.js").DeserializedJson;
|
|
11690
|
-
key: string;
|
|
11691
|
-
} | {
|
|
11692
|
-
type: "increment";
|
|
11693
|
-
value: number;
|
|
11694
|
-
key: string;
|
|
11695
|
-
})[] | undefined;
|
|
11696
|
-
} | undefined;
|
|
11697
|
-
usage?: {
|
|
11698
|
-
durationMs: number;
|
|
11699
|
-
} | undefined;
|
|
11700
|
-
taskIdentifier?: string | undefined;
|
|
11701
|
-
output?: string | undefined;
|
|
11702
|
-
};
|
|
11703
|
-
}, {
|
|
11704
|
-
version: "v1";
|
|
11705
|
-
execution: {
|
|
11706
|
-
task: {
|
|
11707
|
-
id: string;
|
|
11708
|
-
filePath: string;
|
|
11709
|
-
exportName?: string | undefined;
|
|
11710
|
-
};
|
|
11711
|
-
attempt: {
|
|
11712
|
-
number: number;
|
|
11713
|
-
status: string;
|
|
11714
|
-
id: string;
|
|
11715
|
-
startedAt: Date;
|
|
11716
|
-
backgroundWorkerId: string;
|
|
11717
|
-
backgroundWorkerTaskId: string;
|
|
11718
|
-
};
|
|
11719
|
-
run: {
|
|
11720
|
-
payload: string;
|
|
11721
|
-
id: string;
|
|
11722
|
-
payloadType: string;
|
|
11723
|
-
tags: string[];
|
|
11724
|
-
createdAt: Date;
|
|
11725
|
-
context?: any;
|
|
11726
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
11727
|
-
isTest?: boolean | undefined;
|
|
11728
|
-
startedAt?: Date | undefined;
|
|
11729
|
-
idempotencyKey?: string | undefined;
|
|
11730
|
-
maxAttempts?: number | undefined;
|
|
11731
|
-
version?: string | undefined;
|
|
11732
|
-
maxDuration?: number | undefined;
|
|
11733
|
-
durationMs?: number | undefined;
|
|
11734
|
-
costInCents?: number | undefined;
|
|
11735
|
-
baseCostInCents?: number | undefined;
|
|
11736
|
-
priority?: number | undefined;
|
|
11737
|
-
} & {
|
|
11738
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
11739
|
-
};
|
|
11740
|
-
queue: {
|
|
11741
|
-
name: string;
|
|
11742
|
-
id: string;
|
|
11743
|
-
};
|
|
11744
|
-
environment: {
|
|
11745
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
11746
|
-
id: string;
|
|
11747
|
-
slug: string;
|
|
11748
|
-
};
|
|
11749
|
-
organization: {
|
|
11750
|
-
name: string;
|
|
11751
|
-
id: string;
|
|
11752
|
-
slug: string;
|
|
11753
|
-
};
|
|
11754
|
-
project: {
|
|
11755
|
-
name: string;
|
|
11756
|
-
id: string;
|
|
11757
|
-
slug: string;
|
|
11758
|
-
ref: string;
|
|
11759
|
-
};
|
|
11760
|
-
machine: {
|
|
11761
|
-
cpu: number;
|
|
11762
|
-
memory: number;
|
|
11763
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
11764
|
-
centsPerMs: number;
|
|
11765
|
-
};
|
|
11766
|
-
batch?: {
|
|
11767
|
-
id: string;
|
|
11768
|
-
} | undefined;
|
|
11769
|
-
};
|
|
11770
|
-
completion: {
|
|
11771
|
-
error: {
|
|
11772
|
-
message: string;
|
|
11773
|
-
type: "BUILT_IN_ERROR";
|
|
11774
|
-
name: string;
|
|
11775
|
-
stackTrace: string;
|
|
11776
|
-
} | {
|
|
11777
|
-
type: "CUSTOM_ERROR";
|
|
11778
|
-
raw: string;
|
|
11779
|
-
} | {
|
|
11780
|
-
type: "STRING_ERROR";
|
|
11781
|
-
raw: string;
|
|
11782
|
-
} | {
|
|
11783
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
11784
|
-
type: "INTERNAL_ERROR";
|
|
11785
|
-
message?: string | undefined;
|
|
11786
|
-
stackTrace?: string | undefined;
|
|
11787
|
-
};
|
|
11788
|
-
ok: false;
|
|
11789
|
-
id: string;
|
|
11790
|
-
metadata?: {
|
|
11791
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
11792
|
-
operations?: ({
|
|
11793
|
-
type: "update";
|
|
11794
|
-
value: Record<string, unknown>;
|
|
11795
|
-
} | {
|
|
11796
|
-
type: "set";
|
|
11797
|
-
value: import("../../index.js").DeserializedJson;
|
|
11798
|
-
key: string;
|
|
11799
|
-
} | {
|
|
11800
|
-
type: "delete";
|
|
11801
|
-
key: string;
|
|
11802
|
-
} | {
|
|
11803
|
-
type: "append";
|
|
11804
|
-
value: import("../../index.js").DeserializedJson;
|
|
11805
|
-
key: string;
|
|
11806
|
-
} | {
|
|
11807
|
-
type: "remove";
|
|
11808
|
-
value: import("../../index.js").DeserializedJson;
|
|
11809
|
-
key: string;
|
|
11810
|
-
} | {
|
|
11811
|
-
type: "increment";
|
|
11812
|
-
value: number;
|
|
11813
|
-
key: string;
|
|
11814
|
-
})[] | undefined;
|
|
11815
|
-
parentOperations?: ({
|
|
11816
|
-
type: "update";
|
|
11817
|
-
value: Record<string, unknown>;
|
|
11818
|
-
} | {
|
|
11819
|
-
type: "set";
|
|
11820
|
-
value: import("../../index.js").DeserializedJson;
|
|
11821
|
-
key: string;
|
|
11822
|
-
} | {
|
|
11823
|
-
type: "delete";
|
|
11824
|
-
key: string;
|
|
11825
|
-
} | {
|
|
11826
|
-
type: "append";
|
|
11827
|
-
value: import("../../index.js").DeserializedJson;
|
|
11828
|
-
key: string;
|
|
11829
|
-
} | {
|
|
11830
|
-
type: "remove";
|
|
11831
|
-
value: import("../../index.js").DeserializedJson;
|
|
11832
|
-
key: string;
|
|
11833
|
-
} | {
|
|
11834
|
-
type: "increment";
|
|
11835
|
-
value: number;
|
|
11836
|
-
key: string;
|
|
11837
|
-
})[] | undefined;
|
|
11838
|
-
rootOperations?: ({
|
|
11839
|
-
type: "update";
|
|
11840
|
-
value: Record<string, unknown>;
|
|
11841
|
-
} | {
|
|
11842
|
-
type: "set";
|
|
11843
|
-
value: import("../../index.js").DeserializedJson;
|
|
11844
|
-
key: string;
|
|
11845
|
-
} | {
|
|
11846
|
-
type: "delete";
|
|
11847
|
-
key: string;
|
|
11848
|
-
} | {
|
|
11849
|
-
type: "append";
|
|
11850
|
-
value: import("../../index.js").DeserializedJson;
|
|
11851
|
-
key: string;
|
|
11852
|
-
} | {
|
|
11853
|
-
type: "remove";
|
|
11854
|
-
value: import("../../index.js").DeserializedJson;
|
|
11855
|
-
key: string;
|
|
11856
|
-
} | {
|
|
11857
|
-
type: "increment";
|
|
11858
|
-
value: number;
|
|
11859
|
-
key: string;
|
|
11860
|
-
})[] | undefined;
|
|
11861
|
-
} | undefined;
|
|
11862
|
-
retry?: {
|
|
11863
|
-
timestamp: number;
|
|
11864
|
-
delay: number;
|
|
11865
|
-
error?: unknown;
|
|
11866
|
-
} | undefined;
|
|
11867
|
-
skippedRetrying?: boolean | undefined;
|
|
11868
|
-
usage?: {
|
|
11869
|
-
durationMs: number;
|
|
11870
|
-
} | undefined;
|
|
11871
|
-
taskIdentifier?: string | undefined;
|
|
11872
|
-
} | {
|
|
11873
|
-
ok: true;
|
|
11874
|
-
id: string;
|
|
11875
|
-
outputType: string;
|
|
11876
|
-
metadata?: {
|
|
11877
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
11878
|
-
operations?: ({
|
|
11879
|
-
type: "update";
|
|
11880
|
-
value: Record<string, unknown>;
|
|
11881
|
-
} | {
|
|
11882
|
-
type: "set";
|
|
11883
|
-
value: import("../../index.js").DeserializedJson;
|
|
11884
|
-
key: string;
|
|
11885
|
-
} | {
|
|
11886
|
-
type: "delete";
|
|
11887
|
-
key: string;
|
|
11888
|
-
} | {
|
|
11889
|
-
type: "append";
|
|
11890
|
-
value: import("../../index.js").DeserializedJson;
|
|
11891
|
-
key: string;
|
|
11892
|
-
} | {
|
|
11893
|
-
type: "remove";
|
|
11894
|
-
value: import("../../index.js").DeserializedJson;
|
|
11895
|
-
key: string;
|
|
11896
|
-
} | {
|
|
11897
|
-
type: "increment";
|
|
11898
|
-
value: number;
|
|
11899
|
-
key: string;
|
|
11900
|
-
})[] | undefined;
|
|
11901
|
-
parentOperations?: ({
|
|
11902
|
-
type: "update";
|
|
11903
|
-
value: Record<string, unknown>;
|
|
11904
|
-
} | {
|
|
11905
|
-
type: "set";
|
|
11906
|
-
value: import("../../index.js").DeserializedJson;
|
|
11907
|
-
key: string;
|
|
11908
|
-
} | {
|
|
11909
|
-
type: "delete";
|
|
11910
|
-
key: string;
|
|
11911
|
-
} | {
|
|
11912
|
-
type: "append";
|
|
11913
|
-
value: import("../../index.js").DeserializedJson;
|
|
11914
|
-
key: string;
|
|
11915
|
-
} | {
|
|
11916
|
-
type: "remove";
|
|
11917
|
-
value: import("../../index.js").DeserializedJson;
|
|
11918
|
-
key: string;
|
|
11919
|
-
} | {
|
|
11920
|
-
type: "increment";
|
|
11921
|
-
value: number;
|
|
11922
|
-
key: string;
|
|
11923
|
-
})[] | undefined;
|
|
11924
|
-
rootOperations?: ({
|
|
11925
|
-
type: "update";
|
|
11926
|
-
value: Record<string, unknown>;
|
|
11927
|
-
} | {
|
|
11928
|
-
type: "set";
|
|
11929
|
-
value: import("../../index.js").DeserializedJson;
|
|
11930
|
-
key: string;
|
|
11931
|
-
} | {
|
|
11932
|
-
type: "delete";
|
|
11933
|
-
key: string;
|
|
11934
|
-
} | {
|
|
11935
|
-
type: "append";
|
|
11936
|
-
value: import("../../index.js").DeserializedJson;
|
|
11937
|
-
key: string;
|
|
11938
|
-
} | {
|
|
11939
|
-
type: "remove";
|
|
11940
|
-
value: import("../../index.js").DeserializedJson;
|
|
11941
|
-
key: string;
|
|
11942
|
-
} | {
|
|
11943
|
-
type: "increment";
|
|
11944
|
-
value: number;
|
|
11945
|
-
key: string;
|
|
11946
|
-
})[] | undefined;
|
|
11947
|
-
} | undefined;
|
|
11948
|
-
usage?: {
|
|
11949
|
-
durationMs: number;
|
|
11950
|
-
} | undefined;
|
|
11951
|
-
taskIdentifier?: string | undefined;
|
|
11952
|
-
output?: string | undefined;
|
|
11953
|
-
};
|
|
11954
|
-
}>, z.ZodObject<{
|
|
11955
|
-
version: z.ZodLiteral<"v2">;
|
|
11956
|
-
completion: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
11957
|
-
ok: z.ZodLiteral<true>;
|
|
11958
|
-
id: z.ZodString;
|
|
11959
|
-
output: z.ZodOptional<z.ZodString>;
|
|
11960
|
-
outputType: z.ZodString;
|
|
11961
|
-
usage: z.ZodOptional<z.ZodObject<{
|
|
11962
|
-
durationMs: z.ZodNumber;
|
|
11963
|
-
}, "strip", z.ZodTypeAny, {
|
|
11964
|
-
durationMs: number;
|
|
11965
|
-
}, {
|
|
11966
|
-
durationMs: number;
|
|
11967
|
-
}>>;
|
|
11968
|
-
taskIdentifier: z.ZodOptional<z.ZodString>;
|
|
11969
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
11970
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
|
|
11971
|
-
operations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
11972
|
-
type: z.ZodLiteral<"update">;
|
|
11973
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11974
|
-
}, "strip", z.ZodTypeAny, {
|
|
11975
|
-
type: "update";
|
|
11976
|
-
value: Record<string, unknown>;
|
|
11977
|
-
}, {
|
|
11978
|
-
type: "update";
|
|
11979
|
-
value: Record<string, unknown>;
|
|
11980
|
-
}>, z.ZodObject<{
|
|
11981
|
-
type: z.ZodLiteral<"set">;
|
|
11982
|
-
key: z.ZodString;
|
|
11983
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
11984
|
-
}, "strip", z.ZodTypeAny, {
|
|
11985
|
-
type: "set";
|
|
11986
|
-
value: import("../../index.js").DeserializedJson;
|
|
11987
|
-
key: string;
|
|
11988
|
-
}, {
|
|
11989
|
-
type: "set";
|
|
11990
|
-
value: import("../../index.js").DeserializedJson;
|
|
11991
|
-
key: string;
|
|
11992
|
-
}>, z.ZodObject<{
|
|
11993
|
-
type: z.ZodLiteral<"delete">;
|
|
11994
|
-
key: z.ZodString;
|
|
11995
|
-
}, "strip", z.ZodTypeAny, {
|
|
11996
|
-
type: "delete";
|
|
11997
|
-
key: string;
|
|
11998
|
-
}, {
|
|
11999
|
-
type: "delete";
|
|
12000
|
-
key: string;
|
|
12001
|
-
}>, z.ZodObject<{
|
|
12002
|
-
type: z.ZodLiteral<"append">;
|
|
12003
|
-
key: z.ZodString;
|
|
12004
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12005
|
-
}, "strip", z.ZodTypeAny, {
|
|
12006
|
-
type: "append";
|
|
12007
|
-
value: import("../../index.js").DeserializedJson;
|
|
12008
|
-
key: string;
|
|
12009
|
-
}, {
|
|
12010
|
-
type: "append";
|
|
12011
|
-
value: import("../../index.js").DeserializedJson;
|
|
12012
|
-
key: string;
|
|
12013
|
-
}>, z.ZodObject<{
|
|
12014
|
-
type: z.ZodLiteral<"remove">;
|
|
12015
|
-
key: z.ZodString;
|
|
12016
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12017
|
-
}, "strip", z.ZodTypeAny, {
|
|
12018
|
-
type: "remove";
|
|
12019
|
-
value: import("../../index.js").DeserializedJson;
|
|
12020
|
-
key: string;
|
|
12021
|
-
}, {
|
|
12022
|
-
type: "remove";
|
|
12023
|
-
value: import("../../index.js").DeserializedJson;
|
|
12024
|
-
key: string;
|
|
12025
|
-
}>, z.ZodObject<{
|
|
12026
|
-
type: z.ZodLiteral<"increment">;
|
|
12027
|
-
key: z.ZodString;
|
|
12028
|
-
value: z.ZodNumber;
|
|
12029
|
-
}, "strip", z.ZodTypeAny, {
|
|
12030
|
-
type: "increment";
|
|
12031
|
-
value: number;
|
|
12032
|
-
key: string;
|
|
12033
|
-
}, {
|
|
12034
|
-
type: "increment";
|
|
12035
|
-
value: number;
|
|
12036
|
-
key: string;
|
|
12037
|
-
}>]>, "many">>;
|
|
12038
|
-
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
12039
|
-
type: z.ZodLiteral<"update">;
|
|
12040
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12041
|
-
}, "strip", z.ZodTypeAny, {
|
|
12042
|
-
type: "update";
|
|
12043
|
-
value: Record<string, unknown>;
|
|
12044
|
-
}, {
|
|
12045
|
-
type: "update";
|
|
12046
|
-
value: Record<string, unknown>;
|
|
12047
|
-
}>, z.ZodObject<{
|
|
12048
|
-
type: z.ZodLiteral<"set">;
|
|
12049
|
-
key: z.ZodString;
|
|
12050
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12051
|
-
}, "strip", z.ZodTypeAny, {
|
|
12052
|
-
type: "set";
|
|
12053
|
-
value: import("../../index.js").DeserializedJson;
|
|
12054
|
-
key: string;
|
|
12055
|
-
}, {
|
|
12056
|
-
type: "set";
|
|
12057
|
-
value: import("../../index.js").DeserializedJson;
|
|
12058
|
-
key: string;
|
|
12059
|
-
}>, z.ZodObject<{
|
|
12060
|
-
type: z.ZodLiteral<"delete">;
|
|
12061
|
-
key: z.ZodString;
|
|
12062
|
-
}, "strip", z.ZodTypeAny, {
|
|
12063
|
-
type: "delete";
|
|
12064
|
-
key: string;
|
|
12065
|
-
}, {
|
|
12066
|
-
type: "delete";
|
|
12067
|
-
key: string;
|
|
12068
|
-
}>, z.ZodObject<{
|
|
12069
|
-
type: z.ZodLiteral<"append">;
|
|
12070
|
-
key: z.ZodString;
|
|
12071
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12072
|
-
}, "strip", z.ZodTypeAny, {
|
|
12073
|
-
type: "append";
|
|
12074
|
-
value: import("../../index.js").DeserializedJson;
|
|
12075
|
-
key: string;
|
|
12076
|
-
}, {
|
|
12077
|
-
type: "append";
|
|
12078
|
-
value: import("../../index.js").DeserializedJson;
|
|
12079
|
-
key: string;
|
|
12080
|
-
}>, z.ZodObject<{
|
|
12081
|
-
type: z.ZodLiteral<"remove">;
|
|
12082
|
-
key: z.ZodString;
|
|
12083
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12084
|
-
}, "strip", z.ZodTypeAny, {
|
|
12085
|
-
type: "remove";
|
|
12086
|
-
value: import("../../index.js").DeserializedJson;
|
|
12087
|
-
key: string;
|
|
12088
|
-
}, {
|
|
12089
|
-
type: "remove";
|
|
12090
|
-
value: import("../../index.js").DeserializedJson;
|
|
12091
|
-
key: string;
|
|
12092
|
-
}>, z.ZodObject<{
|
|
12093
|
-
type: z.ZodLiteral<"increment">;
|
|
12094
|
-
key: z.ZodString;
|
|
12095
|
-
value: z.ZodNumber;
|
|
12096
|
-
}, "strip", z.ZodTypeAny, {
|
|
12097
|
-
type: "increment";
|
|
12098
|
-
value: number;
|
|
12099
|
-
key: string;
|
|
12100
|
-
}, {
|
|
12101
|
-
type: "increment";
|
|
12102
|
-
value: number;
|
|
12103
|
-
key: string;
|
|
12104
|
-
}>]>, "many">>;
|
|
12105
|
-
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
12106
|
-
type: z.ZodLiteral<"update">;
|
|
12107
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12108
|
-
}, "strip", z.ZodTypeAny, {
|
|
12109
|
-
type: "update";
|
|
12110
|
-
value: Record<string, unknown>;
|
|
12111
|
-
}, {
|
|
12112
|
-
type: "update";
|
|
12113
|
-
value: Record<string, unknown>;
|
|
12114
|
-
}>, z.ZodObject<{
|
|
12115
|
-
type: z.ZodLiteral<"set">;
|
|
12116
|
-
key: z.ZodString;
|
|
12117
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12118
|
-
}, "strip", z.ZodTypeAny, {
|
|
12119
|
-
type: "set";
|
|
12120
|
-
value: import("../../index.js").DeserializedJson;
|
|
12121
|
-
key: string;
|
|
12122
|
-
}, {
|
|
12123
|
-
type: "set";
|
|
12124
|
-
value: import("../../index.js").DeserializedJson;
|
|
12125
|
-
key: string;
|
|
12126
|
-
}>, z.ZodObject<{
|
|
12127
|
-
type: z.ZodLiteral<"delete">;
|
|
12128
|
-
key: z.ZodString;
|
|
12129
|
-
}, "strip", z.ZodTypeAny, {
|
|
12130
|
-
type: "delete";
|
|
12131
|
-
key: string;
|
|
12132
|
-
}, {
|
|
12133
|
-
type: "delete";
|
|
12134
|
-
key: string;
|
|
12135
|
-
}>, z.ZodObject<{
|
|
12136
|
-
type: z.ZodLiteral<"append">;
|
|
12137
|
-
key: z.ZodString;
|
|
12138
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12139
|
-
}, "strip", z.ZodTypeAny, {
|
|
12140
|
-
type: "append";
|
|
12141
|
-
value: import("../../index.js").DeserializedJson;
|
|
12142
|
-
key: string;
|
|
12143
|
-
}, {
|
|
12144
|
-
type: "append";
|
|
12145
|
-
value: import("../../index.js").DeserializedJson;
|
|
12146
|
-
key: string;
|
|
12147
|
-
}>, z.ZodObject<{
|
|
12148
|
-
type: z.ZodLiteral<"remove">;
|
|
12149
|
-
key: z.ZodString;
|
|
12150
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12151
|
-
}, "strip", z.ZodTypeAny, {
|
|
12152
|
-
type: "remove";
|
|
12153
|
-
value: import("../../index.js").DeserializedJson;
|
|
12154
|
-
key: string;
|
|
12155
|
-
}, {
|
|
12156
|
-
type: "remove";
|
|
12157
|
-
value: import("../../index.js").DeserializedJson;
|
|
12158
|
-
key: string;
|
|
12159
|
-
}>, z.ZodObject<{
|
|
12160
|
-
type: z.ZodLiteral<"increment">;
|
|
12161
|
-
key: z.ZodString;
|
|
12162
|
-
value: z.ZodNumber;
|
|
12163
|
-
}, "strip", z.ZodTypeAny, {
|
|
12164
|
-
type: "increment";
|
|
12165
|
-
value: number;
|
|
12166
|
-
key: string;
|
|
12167
|
-
}, {
|
|
12168
|
-
type: "increment";
|
|
12169
|
-
value: number;
|
|
12170
|
-
key: string;
|
|
12171
|
-
}>]>, "many">>;
|
|
12172
|
-
}, "strip", z.ZodTypeAny, {
|
|
12173
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
12174
|
-
operations?: ({
|
|
12175
|
-
type: "update";
|
|
12176
|
-
value: Record<string, unknown>;
|
|
12177
|
-
} | {
|
|
12178
|
-
type: "set";
|
|
12179
|
-
value: import("../../index.js").DeserializedJson;
|
|
12180
|
-
key: string;
|
|
12181
|
-
} | {
|
|
12182
|
-
type: "delete";
|
|
12183
|
-
key: string;
|
|
12184
|
-
} | {
|
|
12185
|
-
type: "append";
|
|
12186
|
-
value: import("../../index.js").DeserializedJson;
|
|
12187
|
-
key: string;
|
|
12188
|
-
} | {
|
|
12189
|
-
type: "remove";
|
|
12190
|
-
value: import("../../index.js").DeserializedJson;
|
|
12191
|
-
key: string;
|
|
12192
|
-
} | {
|
|
12193
|
-
type: "increment";
|
|
12194
|
-
value: number;
|
|
12195
|
-
key: string;
|
|
12196
|
-
})[] | undefined;
|
|
12197
|
-
parentOperations?: ({
|
|
12198
|
-
type: "update";
|
|
12199
|
-
value: Record<string, unknown>;
|
|
12200
|
-
} | {
|
|
12201
|
-
type: "set";
|
|
12202
|
-
value: import("../../index.js").DeserializedJson;
|
|
12203
|
-
key: string;
|
|
12204
|
-
} | {
|
|
12205
|
-
type: "delete";
|
|
12206
|
-
key: string;
|
|
12207
|
-
} | {
|
|
12208
|
-
type: "append";
|
|
12209
|
-
value: import("../../index.js").DeserializedJson;
|
|
12210
|
-
key: string;
|
|
12211
|
-
} | {
|
|
12212
|
-
type: "remove";
|
|
12213
|
-
value: import("../../index.js").DeserializedJson;
|
|
12214
|
-
key: string;
|
|
12215
|
-
} | {
|
|
12216
|
-
type: "increment";
|
|
12217
|
-
value: number;
|
|
12218
|
-
key: string;
|
|
12219
|
-
})[] | undefined;
|
|
12220
|
-
rootOperations?: ({
|
|
12221
|
-
type: "update";
|
|
12222
|
-
value: Record<string, unknown>;
|
|
12223
|
-
} | {
|
|
12224
|
-
type: "set";
|
|
12225
|
-
value: import("../../index.js").DeserializedJson;
|
|
12226
|
-
key: string;
|
|
12227
|
-
} | {
|
|
12228
|
-
type: "delete";
|
|
12229
|
-
key: string;
|
|
12230
|
-
} | {
|
|
12231
|
-
type: "append";
|
|
12232
|
-
value: import("../../index.js").DeserializedJson;
|
|
12233
|
-
key: string;
|
|
12234
|
-
} | {
|
|
12235
|
-
type: "remove";
|
|
12236
|
-
value: import("../../index.js").DeserializedJson;
|
|
12237
|
-
key: string;
|
|
12238
|
-
} | {
|
|
12239
|
-
type: "increment";
|
|
12240
|
-
value: number;
|
|
12241
|
-
key: string;
|
|
12242
|
-
})[] | undefined;
|
|
12243
|
-
}, {
|
|
12244
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
12245
|
-
operations?: ({
|
|
12246
|
-
type: "update";
|
|
12247
|
-
value: Record<string, unknown>;
|
|
12248
|
-
} | {
|
|
12249
|
-
type: "set";
|
|
12250
|
-
value: import("../../index.js").DeserializedJson;
|
|
12251
|
-
key: string;
|
|
12252
|
-
} | {
|
|
12253
|
-
type: "delete";
|
|
12254
|
-
key: string;
|
|
12255
|
-
} | {
|
|
12256
|
-
type: "append";
|
|
12257
|
-
value: import("../../index.js").DeserializedJson;
|
|
12258
|
-
key: string;
|
|
12259
|
-
} | {
|
|
12260
|
-
type: "remove";
|
|
12261
|
-
value: import("../../index.js").DeserializedJson;
|
|
12262
|
-
key: string;
|
|
12263
|
-
} | {
|
|
12264
|
-
type: "increment";
|
|
12265
|
-
value: number;
|
|
12266
|
-
key: string;
|
|
12267
|
-
})[] | undefined;
|
|
12268
|
-
parentOperations?: ({
|
|
12269
|
-
type: "update";
|
|
12270
|
-
value: Record<string, unknown>;
|
|
12271
|
-
} | {
|
|
12272
|
-
type: "set";
|
|
12273
|
-
value: import("../../index.js").DeserializedJson;
|
|
12274
|
-
key: string;
|
|
12275
|
-
} | {
|
|
12276
|
-
type: "delete";
|
|
12277
|
-
key: string;
|
|
12278
|
-
} | {
|
|
12279
|
-
type: "append";
|
|
12280
|
-
value: import("../../index.js").DeserializedJson;
|
|
12281
|
-
key: string;
|
|
12282
|
-
} | {
|
|
12283
|
-
type: "remove";
|
|
12284
|
-
value: import("../../index.js").DeserializedJson;
|
|
12285
|
-
key: string;
|
|
12286
|
-
} | {
|
|
12287
|
-
type: "increment";
|
|
12288
|
-
value: number;
|
|
12289
|
-
key: string;
|
|
12290
|
-
})[] | undefined;
|
|
12291
|
-
rootOperations?: ({
|
|
12292
|
-
type: "update";
|
|
12293
|
-
value: Record<string, unknown>;
|
|
12294
|
-
} | {
|
|
12295
|
-
type: "set";
|
|
12296
|
-
value: import("../../index.js").DeserializedJson;
|
|
12297
|
-
key: string;
|
|
12298
|
-
} | {
|
|
12299
|
-
type: "delete";
|
|
12300
|
-
key: string;
|
|
12301
|
-
} | {
|
|
12302
|
-
type: "append";
|
|
12303
|
-
value: import("../../index.js").DeserializedJson;
|
|
12304
|
-
key: string;
|
|
12305
|
-
} | {
|
|
12306
|
-
type: "remove";
|
|
12307
|
-
value: import("../../index.js").DeserializedJson;
|
|
12308
|
-
key: string;
|
|
12309
|
-
} | {
|
|
12310
|
-
type: "increment";
|
|
12311
|
-
value: number;
|
|
12312
|
-
key: string;
|
|
12313
|
-
})[] | undefined;
|
|
12314
|
-
}>>;
|
|
12315
|
-
}, "strip", z.ZodTypeAny, {
|
|
12316
|
-
ok: true;
|
|
12317
|
-
id: string;
|
|
12318
|
-
outputType: string;
|
|
12319
|
-
metadata?: {
|
|
12320
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
12321
|
-
operations?: ({
|
|
12322
|
-
type: "update";
|
|
12323
|
-
value: Record<string, unknown>;
|
|
12324
|
-
} | {
|
|
12325
|
-
type: "set";
|
|
12326
|
-
value: import("../../index.js").DeserializedJson;
|
|
12327
|
-
key: string;
|
|
12328
|
-
} | {
|
|
12329
|
-
type: "delete";
|
|
12330
|
-
key: string;
|
|
12331
|
-
} | {
|
|
12332
|
-
type: "append";
|
|
12333
|
-
value: import("../../index.js").DeserializedJson;
|
|
12334
|
-
key: string;
|
|
12335
|
-
} | {
|
|
12336
|
-
type: "remove";
|
|
12337
|
-
value: import("../../index.js").DeserializedJson;
|
|
12338
|
-
key: string;
|
|
12339
|
-
} | {
|
|
12340
|
-
type: "increment";
|
|
12341
|
-
value: number;
|
|
12342
|
-
key: string;
|
|
12343
|
-
})[] | undefined;
|
|
12344
|
-
parentOperations?: ({
|
|
12345
|
-
type: "update";
|
|
12346
|
-
value: Record<string, unknown>;
|
|
12347
|
-
} | {
|
|
12348
|
-
type: "set";
|
|
12349
|
-
value: import("../../index.js").DeserializedJson;
|
|
12350
|
-
key: string;
|
|
12351
|
-
} | {
|
|
12352
|
-
type: "delete";
|
|
12353
|
-
key: string;
|
|
12354
|
-
} | {
|
|
12355
|
-
type: "append";
|
|
12356
|
-
value: import("../../index.js").DeserializedJson;
|
|
12357
|
-
key: string;
|
|
12358
|
-
} | {
|
|
12359
|
-
type: "remove";
|
|
12360
|
-
value: import("../../index.js").DeserializedJson;
|
|
12361
|
-
key: string;
|
|
12362
|
-
} | {
|
|
12363
|
-
type: "increment";
|
|
12364
|
-
value: number;
|
|
12365
|
-
key: string;
|
|
12366
|
-
})[] | undefined;
|
|
12367
|
-
rootOperations?: ({
|
|
12368
|
-
type: "update";
|
|
12369
|
-
value: Record<string, unknown>;
|
|
12370
|
-
} | {
|
|
12371
|
-
type: "set";
|
|
12372
|
-
value: import("../../index.js").DeserializedJson;
|
|
12373
|
-
key: string;
|
|
12374
|
-
} | {
|
|
12375
|
-
type: "delete";
|
|
12376
|
-
key: string;
|
|
12377
|
-
} | {
|
|
12378
|
-
type: "append";
|
|
12379
|
-
value: import("../../index.js").DeserializedJson;
|
|
12380
|
-
key: string;
|
|
12381
|
-
} | {
|
|
12382
|
-
type: "remove";
|
|
12383
|
-
value: import("../../index.js").DeserializedJson;
|
|
12384
|
-
key: string;
|
|
12385
|
-
} | {
|
|
12386
|
-
type: "increment";
|
|
12387
|
-
value: number;
|
|
12388
|
-
key: string;
|
|
12389
|
-
})[] | undefined;
|
|
12390
|
-
} | undefined;
|
|
12391
|
-
usage?: {
|
|
12392
|
-
durationMs: number;
|
|
12393
|
-
} | undefined;
|
|
12394
|
-
taskIdentifier?: string | undefined;
|
|
12395
|
-
output?: string | undefined;
|
|
12396
|
-
}, {
|
|
12397
|
-
ok: true;
|
|
12398
|
-
id: string;
|
|
12399
|
-
outputType: string;
|
|
12400
|
-
metadata?: {
|
|
12401
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
12402
|
-
operations?: ({
|
|
12403
|
-
type: "update";
|
|
12404
|
-
value: Record<string, unknown>;
|
|
12405
|
-
} | {
|
|
12406
|
-
type: "set";
|
|
12407
|
-
value: import("../../index.js").DeserializedJson;
|
|
12408
|
-
key: string;
|
|
12409
|
-
} | {
|
|
12410
|
-
type: "delete";
|
|
12411
|
-
key: string;
|
|
12412
|
-
} | {
|
|
12413
|
-
type: "append";
|
|
12414
|
-
value: import("../../index.js").DeserializedJson;
|
|
12415
|
-
key: string;
|
|
12416
|
-
} | {
|
|
12417
|
-
type: "remove";
|
|
12418
|
-
value: import("../../index.js").DeserializedJson;
|
|
12419
|
-
key: string;
|
|
12420
|
-
} | {
|
|
12421
|
-
type: "increment";
|
|
12422
|
-
value: number;
|
|
12423
|
-
key: string;
|
|
12424
|
-
})[] | undefined;
|
|
12425
|
-
parentOperations?: ({
|
|
12426
|
-
type: "update";
|
|
12427
|
-
value: Record<string, unknown>;
|
|
12428
|
-
} | {
|
|
12429
|
-
type: "set";
|
|
12430
|
-
value: import("../../index.js").DeserializedJson;
|
|
12431
|
-
key: string;
|
|
12432
|
-
} | {
|
|
12433
|
-
type: "delete";
|
|
12434
|
-
key: string;
|
|
12435
|
-
} | {
|
|
12436
|
-
type: "append";
|
|
12437
|
-
value: import("../../index.js").DeserializedJson;
|
|
12438
|
-
key: string;
|
|
12439
|
-
} | {
|
|
12440
|
-
type: "remove";
|
|
12441
|
-
value: import("../../index.js").DeserializedJson;
|
|
12442
|
-
key: string;
|
|
12443
|
-
} | {
|
|
12444
|
-
type: "increment";
|
|
12445
|
-
value: number;
|
|
12446
|
-
key: string;
|
|
12447
|
-
})[] | undefined;
|
|
12448
|
-
rootOperations?: ({
|
|
12449
|
-
type: "update";
|
|
12450
|
-
value: Record<string, unknown>;
|
|
12451
|
-
} | {
|
|
12452
|
-
type: "set";
|
|
12453
|
-
value: import("../../index.js").DeserializedJson;
|
|
12454
|
-
key: string;
|
|
12455
|
-
} | {
|
|
12456
|
-
type: "delete";
|
|
12457
|
-
key: string;
|
|
12458
|
-
} | {
|
|
12459
|
-
type: "append";
|
|
12460
|
-
value: import("../../index.js").DeserializedJson;
|
|
12461
|
-
key: string;
|
|
12462
|
-
} | {
|
|
12463
|
-
type: "remove";
|
|
12464
|
-
value: import("../../index.js").DeserializedJson;
|
|
12465
|
-
key: string;
|
|
12466
|
-
} | {
|
|
12467
|
-
type: "increment";
|
|
12468
|
-
value: number;
|
|
12469
|
-
key: string;
|
|
12470
|
-
})[] | undefined;
|
|
12471
|
-
} | undefined;
|
|
12472
|
-
usage?: {
|
|
12473
|
-
durationMs: number;
|
|
12474
|
-
} | undefined;
|
|
12475
|
-
taskIdentifier?: string | undefined;
|
|
12476
|
-
output?: string | undefined;
|
|
12477
|
-
}>, z.ZodObject<{
|
|
12478
|
-
ok: z.ZodLiteral<false>;
|
|
12479
|
-
id: z.ZodString;
|
|
12480
|
-
error: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
12481
|
-
type: z.ZodLiteral<"BUILT_IN_ERROR">;
|
|
12482
|
-
name: z.ZodString;
|
|
12483
|
-
message: z.ZodString;
|
|
12484
|
-
stackTrace: z.ZodString;
|
|
12485
|
-
}, "strip", z.ZodTypeAny, {
|
|
12486
|
-
message: string;
|
|
12487
|
-
type: "BUILT_IN_ERROR";
|
|
12488
|
-
name: string;
|
|
12489
|
-
stackTrace: string;
|
|
12490
|
-
}, {
|
|
12491
|
-
message: string;
|
|
12492
|
-
type: "BUILT_IN_ERROR";
|
|
12493
|
-
name: string;
|
|
12494
|
-
stackTrace: string;
|
|
12495
|
-
}>, z.ZodObject<{
|
|
12496
|
-
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
12497
|
-
raw: z.ZodString;
|
|
12498
|
-
}, "strip", z.ZodTypeAny, {
|
|
12499
|
-
type: "CUSTOM_ERROR";
|
|
12500
|
-
raw: string;
|
|
12501
|
-
}, {
|
|
12502
|
-
type: "CUSTOM_ERROR";
|
|
12503
|
-
raw: string;
|
|
12504
|
-
}>, z.ZodObject<{
|
|
12505
|
-
type: z.ZodLiteral<"STRING_ERROR">;
|
|
12506
|
-
raw: z.ZodString;
|
|
12507
|
-
}, "strip", z.ZodTypeAny, {
|
|
12508
|
-
type: "STRING_ERROR";
|
|
12509
|
-
raw: string;
|
|
12510
|
-
}, {
|
|
12511
|
-
type: "STRING_ERROR";
|
|
12512
|
-
raw: string;
|
|
12513
|
-
}>, z.ZodObject<{
|
|
12514
|
-
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
12515
|
-
code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "COULD_NOT_IMPORT_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_PROCESS_SIGKILL_TIMEOUT", "TASK_PROCESS_SIGSEGV", "TASK_PROCESS_SIGTERM", "TASK_PROCESS_OOM_KILLED", "TASK_PROCESS_MAYBE_OOM_KILLED", "TASK_RUN_CANCELLED", "TASK_INPUT_ERROR", "TASK_OUTPUT_ERROR", "TASK_MIDDLEWARE_ERROR", "HANDLE_ERROR_ERROR", "GRACEFUL_EXIT_TIMEOUT", "TASK_RUN_HEARTBEAT_TIMEOUT", "TASK_RUN_CRASHED", "MAX_DURATION_EXCEEDED", "DISK_SPACE_EXCEEDED", "POD_EVICTED", "POD_UNKNOWN_ERROR", "TASK_HAS_N0_EXECUTION_SNAPSHOT", "TASK_DEQUEUED_INVALID_STATE", "TASK_DEQUEUED_QUEUE_NOT_FOUND", "TASK_RUN_DEQUEUED_MAX_RETRIES", "TASK_RUN_STALLED_EXECUTING", "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS", "OUTDATED_SDK_VERSION", "TASK_DID_CONCURRENT_WAIT", "RECURSIVE_WAIT_DEADLOCK"]>;
|
|
12516
|
-
message: z.ZodOptional<z.ZodString>;
|
|
12517
|
-
stackTrace: z.ZodOptional<z.ZodString>;
|
|
12518
|
-
}, "strip", z.ZodTypeAny, {
|
|
12519
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
12520
|
-
type: "INTERNAL_ERROR";
|
|
12521
|
-
message?: string | undefined;
|
|
12522
|
-
stackTrace?: string | undefined;
|
|
12523
|
-
}, {
|
|
12524
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
12525
|
-
type: "INTERNAL_ERROR";
|
|
12526
|
-
message?: string | undefined;
|
|
12527
|
-
stackTrace?: string | undefined;
|
|
12528
|
-
}>]>;
|
|
12529
|
-
retry: z.ZodOptional<z.ZodObject<{
|
|
12530
|
-
timestamp: z.ZodNumber;
|
|
12531
|
-
delay: z.ZodNumber;
|
|
12532
|
-
error: z.ZodOptional<z.ZodUnknown>;
|
|
12533
|
-
}, "strip", z.ZodTypeAny, {
|
|
12534
|
-
timestamp: number;
|
|
12535
|
-
delay: number;
|
|
12536
|
-
error?: unknown;
|
|
12537
|
-
}, {
|
|
12538
|
-
timestamp: number;
|
|
12539
|
-
delay: number;
|
|
12540
|
-
error?: unknown;
|
|
12541
|
-
}>>;
|
|
12542
|
-
skippedRetrying: z.ZodOptional<z.ZodBoolean>;
|
|
12543
|
-
usage: z.ZodOptional<z.ZodObject<{
|
|
12544
|
-
durationMs: z.ZodNumber;
|
|
12545
|
-
}, "strip", z.ZodTypeAny, {
|
|
12546
|
-
durationMs: number;
|
|
12547
|
-
}, {
|
|
12548
|
-
durationMs: number;
|
|
12549
|
-
}>>;
|
|
12550
|
-
taskIdentifier: z.ZodOptional<z.ZodString>;
|
|
12551
|
-
metadata: z.ZodOptional<z.ZodObject<{
|
|
12552
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>>>;
|
|
12553
|
-
operations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
12554
|
-
type: z.ZodLiteral<"update">;
|
|
12555
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12556
|
-
}, "strip", z.ZodTypeAny, {
|
|
12557
|
-
type: "update";
|
|
12558
|
-
value: Record<string, unknown>;
|
|
12559
|
-
}, {
|
|
12560
|
-
type: "update";
|
|
12561
|
-
value: Record<string, unknown>;
|
|
12562
|
-
}>, z.ZodObject<{
|
|
12563
|
-
type: z.ZodLiteral<"set">;
|
|
12564
|
-
key: z.ZodString;
|
|
12565
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12566
|
-
}, "strip", z.ZodTypeAny, {
|
|
12567
|
-
type: "set";
|
|
12568
|
-
value: import("../../index.js").DeserializedJson;
|
|
12569
|
-
key: string;
|
|
12570
|
-
}, {
|
|
12571
|
-
type: "set";
|
|
12572
|
-
value: import("../../index.js").DeserializedJson;
|
|
12573
|
-
key: string;
|
|
12574
|
-
}>, z.ZodObject<{
|
|
12575
|
-
type: z.ZodLiteral<"delete">;
|
|
12576
|
-
key: z.ZodString;
|
|
12577
|
-
}, "strip", z.ZodTypeAny, {
|
|
12578
|
-
type: "delete";
|
|
12579
|
-
key: string;
|
|
12580
|
-
}, {
|
|
12581
|
-
type: "delete";
|
|
12582
|
-
key: string;
|
|
12583
|
-
}>, z.ZodObject<{
|
|
12584
|
-
type: z.ZodLiteral<"append">;
|
|
12585
|
-
key: z.ZodString;
|
|
12586
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12587
|
-
}, "strip", z.ZodTypeAny, {
|
|
12588
|
-
type: "append";
|
|
12589
|
-
value: import("../../index.js").DeserializedJson;
|
|
12590
|
-
key: string;
|
|
12591
|
-
}, {
|
|
12592
|
-
type: "append";
|
|
12593
|
-
value: import("../../index.js").DeserializedJson;
|
|
12594
|
-
key: string;
|
|
12595
|
-
}>, z.ZodObject<{
|
|
12596
|
-
type: z.ZodLiteral<"remove">;
|
|
12597
|
-
key: z.ZodString;
|
|
12598
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12599
|
-
}, "strip", z.ZodTypeAny, {
|
|
12600
|
-
type: "remove";
|
|
12601
|
-
value: import("../../index.js").DeserializedJson;
|
|
12602
|
-
key: string;
|
|
12603
|
-
}, {
|
|
12604
|
-
type: "remove";
|
|
12605
|
-
value: import("../../index.js").DeserializedJson;
|
|
12606
|
-
key: string;
|
|
12607
|
-
}>, z.ZodObject<{
|
|
12608
|
-
type: z.ZodLiteral<"increment">;
|
|
12609
|
-
key: z.ZodString;
|
|
12610
|
-
value: z.ZodNumber;
|
|
12611
|
-
}, "strip", z.ZodTypeAny, {
|
|
12612
|
-
type: "increment";
|
|
12613
|
-
value: number;
|
|
12614
|
-
key: string;
|
|
12615
|
-
}, {
|
|
12616
|
-
type: "increment";
|
|
12617
|
-
value: number;
|
|
12618
|
-
key: string;
|
|
12619
|
-
}>]>, "many">>;
|
|
12620
|
-
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
12621
|
-
type: z.ZodLiteral<"update">;
|
|
12622
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12623
|
-
}, "strip", z.ZodTypeAny, {
|
|
12624
|
-
type: "update";
|
|
12625
|
-
value: Record<string, unknown>;
|
|
12626
|
-
}, {
|
|
12627
|
-
type: "update";
|
|
12628
|
-
value: Record<string, unknown>;
|
|
12629
|
-
}>, z.ZodObject<{
|
|
12630
|
-
type: z.ZodLiteral<"set">;
|
|
12631
|
-
key: z.ZodString;
|
|
12632
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12633
|
-
}, "strip", z.ZodTypeAny, {
|
|
12634
|
-
type: "set";
|
|
12635
|
-
value: import("../../index.js").DeserializedJson;
|
|
12636
|
-
key: string;
|
|
12637
|
-
}, {
|
|
12638
|
-
type: "set";
|
|
12639
|
-
value: import("../../index.js").DeserializedJson;
|
|
12640
|
-
key: string;
|
|
12641
|
-
}>, z.ZodObject<{
|
|
12642
|
-
type: z.ZodLiteral<"delete">;
|
|
12643
|
-
key: z.ZodString;
|
|
12644
|
-
}, "strip", z.ZodTypeAny, {
|
|
12645
|
-
type: "delete";
|
|
12646
|
-
key: string;
|
|
12647
|
-
}, {
|
|
12648
|
-
type: "delete";
|
|
12649
|
-
key: string;
|
|
12650
|
-
}>, z.ZodObject<{
|
|
12651
|
-
type: z.ZodLiteral<"append">;
|
|
12652
|
-
key: z.ZodString;
|
|
12653
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12654
|
-
}, "strip", z.ZodTypeAny, {
|
|
12655
|
-
type: "append";
|
|
12656
|
-
value: import("../../index.js").DeserializedJson;
|
|
12657
|
-
key: string;
|
|
12658
|
-
}, {
|
|
12659
|
-
type: "append";
|
|
12660
|
-
value: import("../../index.js").DeserializedJson;
|
|
12661
|
-
key: string;
|
|
12662
|
-
}>, z.ZodObject<{
|
|
12663
|
-
type: z.ZodLiteral<"remove">;
|
|
12664
|
-
key: z.ZodString;
|
|
12665
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12666
|
-
}, "strip", z.ZodTypeAny, {
|
|
12667
|
-
type: "remove";
|
|
12668
|
-
value: import("../../index.js").DeserializedJson;
|
|
12669
|
-
key: string;
|
|
12670
|
-
}, {
|
|
12671
|
-
type: "remove";
|
|
12672
|
-
value: import("../../index.js").DeserializedJson;
|
|
12673
|
-
key: string;
|
|
12674
|
-
}>, z.ZodObject<{
|
|
12675
|
-
type: z.ZodLiteral<"increment">;
|
|
12676
|
-
key: z.ZodString;
|
|
12677
|
-
value: z.ZodNumber;
|
|
12678
|
-
}, "strip", z.ZodTypeAny, {
|
|
12679
|
-
type: "increment";
|
|
12680
|
-
value: number;
|
|
12681
|
-
key: string;
|
|
12682
|
-
}, {
|
|
12683
|
-
type: "increment";
|
|
12684
|
-
value: number;
|
|
12685
|
-
key: string;
|
|
12686
|
-
}>]>, "many">>;
|
|
12687
|
-
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
12688
|
-
type: z.ZodLiteral<"update">;
|
|
12689
|
-
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12690
|
-
}, "strip", z.ZodTypeAny, {
|
|
12691
|
-
type: "update";
|
|
12692
|
-
value: Record<string, unknown>;
|
|
12693
|
-
}, {
|
|
12694
|
-
type: "update";
|
|
12695
|
-
value: Record<string, unknown>;
|
|
12696
|
-
}>, z.ZodObject<{
|
|
12697
|
-
type: z.ZodLiteral<"set">;
|
|
12698
|
-
key: z.ZodString;
|
|
12699
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12700
|
-
}, "strip", z.ZodTypeAny, {
|
|
12701
|
-
type: "set";
|
|
12702
|
-
value: import("../../index.js").DeserializedJson;
|
|
12703
|
-
key: string;
|
|
12704
|
-
}, {
|
|
12705
|
-
type: "set";
|
|
12706
|
-
value: import("../../index.js").DeserializedJson;
|
|
12707
|
-
key: string;
|
|
12708
|
-
}>, z.ZodObject<{
|
|
12709
|
-
type: z.ZodLiteral<"delete">;
|
|
12710
|
-
key: z.ZodString;
|
|
12711
|
-
}, "strip", z.ZodTypeAny, {
|
|
12712
|
-
type: "delete";
|
|
12713
|
-
key: string;
|
|
12714
|
-
}, {
|
|
12715
|
-
type: "delete";
|
|
12716
|
-
key: string;
|
|
12717
|
-
}>, z.ZodObject<{
|
|
12718
|
-
type: z.ZodLiteral<"append">;
|
|
12719
|
-
key: z.ZodString;
|
|
12720
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12721
|
-
}, "strip", z.ZodTypeAny, {
|
|
12722
|
-
type: "append";
|
|
12723
|
-
value: import("../../index.js").DeserializedJson;
|
|
12724
|
-
key: string;
|
|
12725
|
-
}, {
|
|
12726
|
-
type: "append";
|
|
12727
|
-
value: import("../../index.js").DeserializedJson;
|
|
12728
|
-
key: string;
|
|
12729
|
-
}>, z.ZodObject<{
|
|
12730
|
-
type: z.ZodLiteral<"remove">;
|
|
12731
|
-
key: z.ZodString;
|
|
12732
|
-
value: z.ZodType<import("../../index.js").DeserializedJson, z.ZodTypeDef, import("../../index.js").DeserializedJson>;
|
|
12733
|
-
}, "strip", z.ZodTypeAny, {
|
|
12734
|
-
type: "remove";
|
|
12735
|
-
value: import("../../index.js").DeserializedJson;
|
|
12736
|
-
key: string;
|
|
12737
|
-
}, {
|
|
12738
|
-
type: "remove";
|
|
12739
|
-
value: import("../../index.js").DeserializedJson;
|
|
12740
|
-
key: string;
|
|
12741
|
-
}>, z.ZodObject<{
|
|
12742
|
-
type: z.ZodLiteral<"increment">;
|
|
12743
|
-
key: z.ZodString;
|
|
12744
|
-
value: z.ZodNumber;
|
|
12745
|
-
}, "strip", z.ZodTypeAny, {
|
|
12746
|
-
type: "increment";
|
|
12747
|
-
value: number;
|
|
12748
|
-
key: string;
|
|
12749
|
-
}, {
|
|
12750
|
-
type: "increment";
|
|
12751
|
-
value: number;
|
|
12752
|
-
key: string;
|
|
12753
|
-
}>]>, "many">>;
|
|
12754
|
-
}, "strip", z.ZodTypeAny, {
|
|
12755
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
12756
|
-
operations?: ({
|
|
12757
|
-
type: "update";
|
|
12758
|
-
value: Record<string, unknown>;
|
|
12759
|
-
} | {
|
|
12760
|
-
type: "set";
|
|
12761
|
-
value: import("../../index.js").DeserializedJson;
|
|
12762
|
-
key: string;
|
|
12763
|
-
} | {
|
|
12764
|
-
type: "delete";
|
|
12765
|
-
key: string;
|
|
12766
|
-
} | {
|
|
12767
|
-
type: "append";
|
|
12768
|
-
value: import("../../index.js").DeserializedJson;
|
|
12769
|
-
key: string;
|
|
12770
|
-
} | {
|
|
12771
|
-
type: "remove";
|
|
12772
|
-
value: import("../../index.js").DeserializedJson;
|
|
12773
|
-
key: string;
|
|
12774
|
-
} | {
|
|
12775
|
-
type: "increment";
|
|
12776
|
-
value: number;
|
|
12777
|
-
key: string;
|
|
12778
|
-
})[] | undefined;
|
|
12779
|
-
parentOperations?: ({
|
|
12780
|
-
type: "update";
|
|
12781
|
-
value: Record<string, unknown>;
|
|
12782
|
-
} | {
|
|
12783
|
-
type: "set";
|
|
12784
|
-
value: import("../../index.js").DeserializedJson;
|
|
12785
|
-
key: string;
|
|
12786
|
-
} | {
|
|
12787
|
-
type: "delete";
|
|
12788
|
-
key: string;
|
|
12789
|
-
} | {
|
|
12790
|
-
type: "append";
|
|
12791
|
-
value: import("../../index.js").DeserializedJson;
|
|
12792
|
-
key: string;
|
|
12793
|
-
} | {
|
|
12794
|
-
type: "remove";
|
|
12795
|
-
value: import("../../index.js").DeserializedJson;
|
|
12796
|
-
key: string;
|
|
12797
|
-
} | {
|
|
12798
|
-
type: "increment";
|
|
12799
|
-
value: number;
|
|
12800
|
-
key: string;
|
|
12801
|
-
})[] | undefined;
|
|
12802
|
-
rootOperations?: ({
|
|
12803
|
-
type: "update";
|
|
12804
|
-
value: Record<string, unknown>;
|
|
12805
|
-
} | {
|
|
12806
|
-
type: "set";
|
|
12807
|
-
value: import("../../index.js").DeserializedJson;
|
|
12808
|
-
key: string;
|
|
12809
|
-
} | {
|
|
12810
|
-
type: "delete";
|
|
12811
|
-
key: string;
|
|
12812
|
-
} | {
|
|
12813
|
-
type: "append";
|
|
12814
|
-
value: import("../../index.js").DeserializedJson;
|
|
12815
|
-
key: string;
|
|
12816
|
-
} | {
|
|
12817
|
-
type: "remove";
|
|
12818
|
-
value: import("../../index.js").DeserializedJson;
|
|
12819
|
-
key: string;
|
|
12820
|
-
} | {
|
|
12821
|
-
type: "increment";
|
|
12822
|
-
value: number;
|
|
12823
|
-
key: string;
|
|
12824
|
-
})[] | undefined;
|
|
12825
|
-
}, {
|
|
12826
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
12827
|
-
operations?: ({
|
|
12828
|
-
type: "update";
|
|
12829
|
-
value: Record<string, unknown>;
|
|
12830
|
-
} | {
|
|
12831
|
-
type: "set";
|
|
12832
|
-
value: import("../../index.js").DeserializedJson;
|
|
12833
|
-
key: string;
|
|
12834
|
-
} | {
|
|
12835
|
-
type: "delete";
|
|
12836
|
-
key: string;
|
|
12837
|
-
} | {
|
|
12838
|
-
type: "append";
|
|
12839
|
-
value: import("../../index.js").DeserializedJson;
|
|
12840
|
-
key: string;
|
|
12841
|
-
} | {
|
|
12842
|
-
type: "remove";
|
|
12843
|
-
value: import("../../index.js").DeserializedJson;
|
|
12844
|
-
key: string;
|
|
12845
|
-
} | {
|
|
12846
|
-
type: "increment";
|
|
12847
|
-
value: number;
|
|
12848
|
-
key: string;
|
|
12849
|
-
})[] | undefined;
|
|
12850
|
-
parentOperations?: ({
|
|
12851
|
-
type: "update";
|
|
12852
|
-
value: Record<string, unknown>;
|
|
12853
|
-
} | {
|
|
12854
|
-
type: "set";
|
|
12855
|
-
value: import("../../index.js").DeserializedJson;
|
|
12856
|
-
key: string;
|
|
12857
|
-
} | {
|
|
12858
|
-
type: "delete";
|
|
12859
|
-
key: string;
|
|
12860
|
-
} | {
|
|
12861
|
-
type: "append";
|
|
12862
|
-
value: import("../../index.js").DeserializedJson;
|
|
12863
|
-
key: string;
|
|
12864
|
-
} | {
|
|
12865
|
-
type: "remove";
|
|
12866
|
-
value: import("../../index.js").DeserializedJson;
|
|
12867
|
-
key: string;
|
|
12868
|
-
} | {
|
|
12869
|
-
type: "increment";
|
|
12870
|
-
value: number;
|
|
12871
|
-
key: string;
|
|
12872
|
-
})[] | undefined;
|
|
12873
|
-
rootOperations?: ({
|
|
12874
|
-
type: "update";
|
|
12875
|
-
value: Record<string, unknown>;
|
|
12876
|
-
} | {
|
|
12877
|
-
type: "set";
|
|
12878
|
-
value: import("../../index.js").DeserializedJson;
|
|
12879
|
-
key: string;
|
|
12880
|
-
} | {
|
|
12881
|
-
type: "delete";
|
|
12882
|
-
key: string;
|
|
12883
|
-
} | {
|
|
12884
|
-
type: "append";
|
|
12885
|
-
value: import("../../index.js").DeserializedJson;
|
|
12886
|
-
key: string;
|
|
12887
|
-
} | {
|
|
12888
|
-
type: "remove";
|
|
12889
|
-
value: import("../../index.js").DeserializedJson;
|
|
12890
|
-
key: string;
|
|
12891
|
-
} | {
|
|
12892
|
-
type: "increment";
|
|
12893
|
-
value: number;
|
|
12894
|
-
key: string;
|
|
12895
|
-
})[] | undefined;
|
|
12896
|
-
}>>;
|
|
12897
|
-
}, "strip", z.ZodTypeAny, {
|
|
12898
|
-
error: {
|
|
12899
|
-
message: string;
|
|
12900
|
-
type: "BUILT_IN_ERROR";
|
|
12901
|
-
name: string;
|
|
12902
|
-
stackTrace: string;
|
|
12903
|
-
} | {
|
|
12904
|
-
type: "CUSTOM_ERROR";
|
|
12905
|
-
raw: string;
|
|
12906
|
-
} | {
|
|
12907
|
-
type: "STRING_ERROR";
|
|
12908
|
-
raw: string;
|
|
12909
|
-
} | {
|
|
12910
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
12911
|
-
type: "INTERNAL_ERROR";
|
|
12912
|
-
message?: string | undefined;
|
|
12913
|
-
stackTrace?: string | undefined;
|
|
12914
|
-
};
|
|
12915
|
-
ok: false;
|
|
12916
|
-
id: string;
|
|
12917
|
-
metadata?: {
|
|
12918
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
12919
|
-
operations?: ({
|
|
12920
|
-
type: "update";
|
|
12921
|
-
value: Record<string, unknown>;
|
|
12922
|
-
} | {
|
|
12923
|
-
type: "set";
|
|
12924
|
-
value: import("../../index.js").DeserializedJson;
|
|
12925
|
-
key: string;
|
|
12926
|
-
} | {
|
|
12927
|
-
type: "delete";
|
|
12928
|
-
key: string;
|
|
12929
|
-
} | {
|
|
12930
|
-
type: "append";
|
|
12931
|
-
value: import("../../index.js").DeserializedJson;
|
|
12932
|
-
key: string;
|
|
12933
|
-
} | {
|
|
12934
|
-
type: "remove";
|
|
12935
|
-
value: import("../../index.js").DeserializedJson;
|
|
12936
|
-
key: string;
|
|
12937
|
-
} | {
|
|
12938
|
-
type: "increment";
|
|
12939
|
-
value: number;
|
|
12940
|
-
key: string;
|
|
12941
|
-
})[] | undefined;
|
|
12942
|
-
parentOperations?: ({
|
|
12943
|
-
type: "update";
|
|
12944
|
-
value: Record<string, unknown>;
|
|
12945
|
-
} | {
|
|
12946
|
-
type: "set";
|
|
12947
|
-
value: import("../../index.js").DeserializedJson;
|
|
12948
|
-
key: string;
|
|
12949
|
-
} | {
|
|
12950
|
-
type: "delete";
|
|
12951
|
-
key: string;
|
|
12952
|
-
} | {
|
|
12953
|
-
type: "append";
|
|
12954
|
-
value: import("../../index.js").DeserializedJson;
|
|
12955
|
-
key: string;
|
|
12956
|
-
} | {
|
|
12957
|
-
type: "remove";
|
|
12958
|
-
value: import("../../index.js").DeserializedJson;
|
|
12959
|
-
key: string;
|
|
12960
|
-
} | {
|
|
12961
|
-
type: "increment";
|
|
12962
|
-
value: number;
|
|
12963
|
-
key: string;
|
|
12964
|
-
})[] | undefined;
|
|
12965
|
-
rootOperations?: ({
|
|
12966
|
-
type: "update";
|
|
12967
|
-
value: Record<string, unknown>;
|
|
12968
|
-
} | {
|
|
12969
|
-
type: "set";
|
|
12970
|
-
value: import("../../index.js").DeserializedJson;
|
|
12971
|
-
key: string;
|
|
12972
|
-
} | {
|
|
12973
|
-
type: "delete";
|
|
12974
|
-
key: string;
|
|
12975
|
-
} | {
|
|
12976
|
-
type: "append";
|
|
12977
|
-
value: import("../../index.js").DeserializedJson;
|
|
12978
|
-
key: string;
|
|
12979
|
-
} | {
|
|
12980
|
-
type: "remove";
|
|
12981
|
-
value: import("../../index.js").DeserializedJson;
|
|
12982
|
-
key: string;
|
|
12983
|
-
} | {
|
|
12984
|
-
type: "increment";
|
|
12985
|
-
value: number;
|
|
12986
|
-
key: string;
|
|
12987
|
-
})[] | undefined;
|
|
12988
|
-
} | undefined;
|
|
12989
|
-
retry?: {
|
|
12990
|
-
timestamp: number;
|
|
12991
|
-
delay: number;
|
|
12992
|
-
error?: unknown;
|
|
12993
|
-
} | undefined;
|
|
12994
|
-
skippedRetrying?: boolean | undefined;
|
|
12995
|
-
usage?: {
|
|
12996
|
-
durationMs: number;
|
|
12997
|
-
} | undefined;
|
|
12998
|
-
taskIdentifier?: string | undefined;
|
|
12999
|
-
}, {
|
|
13000
|
-
error: {
|
|
13001
|
-
message: string;
|
|
13002
|
-
type: "BUILT_IN_ERROR";
|
|
13003
|
-
name: string;
|
|
13004
|
-
stackTrace: string;
|
|
13005
|
-
} | {
|
|
13006
|
-
type: "CUSTOM_ERROR";
|
|
13007
|
-
raw: string;
|
|
13008
|
-
} | {
|
|
13009
|
-
type: "STRING_ERROR";
|
|
13010
|
-
raw: string;
|
|
13011
|
-
} | {
|
|
13012
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
13013
|
-
type: "INTERNAL_ERROR";
|
|
13014
|
-
message?: string | undefined;
|
|
13015
|
-
stackTrace?: string | undefined;
|
|
13016
|
-
};
|
|
13017
|
-
ok: false;
|
|
13018
|
-
id: string;
|
|
13019
|
-
metadata?: {
|
|
13020
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
13021
|
-
operations?: ({
|
|
13022
|
-
type: "update";
|
|
13023
|
-
value: Record<string, unknown>;
|
|
13024
|
-
} | {
|
|
13025
|
-
type: "set";
|
|
13026
|
-
value: import("../../index.js").DeserializedJson;
|
|
13027
|
-
key: string;
|
|
13028
|
-
} | {
|
|
13029
|
-
type: "delete";
|
|
13030
|
-
key: string;
|
|
13031
|
-
} | {
|
|
13032
|
-
type: "append";
|
|
13033
|
-
value: import("../../index.js").DeserializedJson;
|
|
13034
|
-
key: string;
|
|
13035
|
-
} | {
|
|
13036
|
-
type: "remove";
|
|
13037
|
-
value: import("../../index.js").DeserializedJson;
|
|
13038
|
-
key: string;
|
|
13039
|
-
} | {
|
|
13040
|
-
type: "increment";
|
|
13041
|
-
value: number;
|
|
13042
|
-
key: string;
|
|
13043
|
-
})[] | undefined;
|
|
13044
|
-
parentOperations?: ({
|
|
13045
|
-
type: "update";
|
|
13046
|
-
value: Record<string, unknown>;
|
|
13047
|
-
} | {
|
|
13048
|
-
type: "set";
|
|
13049
|
-
value: import("../../index.js").DeserializedJson;
|
|
13050
|
-
key: string;
|
|
13051
|
-
} | {
|
|
13052
|
-
type: "delete";
|
|
13053
|
-
key: string;
|
|
13054
|
-
} | {
|
|
13055
|
-
type: "append";
|
|
13056
|
-
value: import("../../index.js").DeserializedJson;
|
|
13057
|
-
key: string;
|
|
13058
|
-
} | {
|
|
13059
|
-
type: "remove";
|
|
13060
|
-
value: import("../../index.js").DeserializedJson;
|
|
13061
|
-
key: string;
|
|
13062
|
-
} | {
|
|
13063
|
-
type: "increment";
|
|
13064
|
-
value: number;
|
|
13065
|
-
key: string;
|
|
13066
|
-
})[] | undefined;
|
|
13067
|
-
rootOperations?: ({
|
|
13068
|
-
type: "update";
|
|
13069
|
-
value: Record<string, unknown>;
|
|
13070
|
-
} | {
|
|
13071
|
-
type: "set";
|
|
13072
|
-
value: import("../../index.js").DeserializedJson;
|
|
13073
|
-
key: string;
|
|
13074
|
-
} | {
|
|
13075
|
-
type: "delete";
|
|
13076
|
-
key: string;
|
|
13077
|
-
} | {
|
|
13078
|
-
type: "append";
|
|
13079
|
-
value: import("../../index.js").DeserializedJson;
|
|
13080
|
-
key: string;
|
|
13081
|
-
} | {
|
|
13082
|
-
type: "remove";
|
|
13083
|
-
value: import("../../index.js").DeserializedJson;
|
|
13084
|
-
key: string;
|
|
13085
|
-
} | {
|
|
13086
|
-
type: "increment";
|
|
13087
|
-
value: number;
|
|
13088
|
-
key: string;
|
|
13089
|
-
})[] | undefined;
|
|
13090
|
-
} | undefined;
|
|
13091
|
-
retry?: {
|
|
13092
|
-
timestamp: number;
|
|
13093
|
-
delay: number;
|
|
13094
|
-
error?: unknown;
|
|
13095
|
-
} | undefined;
|
|
13096
|
-
skippedRetrying?: boolean | undefined;
|
|
13097
|
-
usage?: {
|
|
13098
|
-
durationMs: number;
|
|
13099
|
-
} | undefined;
|
|
13100
|
-
taskIdentifier?: string | undefined;
|
|
13101
|
-
}>]>;
|
|
13102
|
-
}, "strip", z.ZodTypeAny, {
|
|
13103
|
-
version: "v2";
|
|
13104
|
-
completion: {
|
|
13105
|
-
error: {
|
|
13106
|
-
message: string;
|
|
13107
|
-
type: "BUILT_IN_ERROR";
|
|
13108
|
-
name: string;
|
|
13109
|
-
stackTrace: string;
|
|
13110
|
-
} | {
|
|
13111
|
-
type: "CUSTOM_ERROR";
|
|
13112
|
-
raw: string;
|
|
13113
|
-
} | {
|
|
13114
|
-
type: "STRING_ERROR";
|
|
13115
|
-
raw: string;
|
|
13116
|
-
} | {
|
|
13117
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
13118
|
-
type: "INTERNAL_ERROR";
|
|
13119
|
-
message?: string | undefined;
|
|
13120
|
-
stackTrace?: string | undefined;
|
|
13121
|
-
};
|
|
13122
|
-
ok: false;
|
|
13123
|
-
id: string;
|
|
13124
|
-
metadata?: {
|
|
13125
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
13126
|
-
operations?: ({
|
|
13127
|
-
type: "update";
|
|
13128
|
-
value: Record<string, unknown>;
|
|
13129
|
-
} | {
|
|
13130
|
-
type: "set";
|
|
13131
|
-
value: import("../../index.js").DeserializedJson;
|
|
13132
|
-
key: string;
|
|
13133
|
-
} | {
|
|
13134
|
-
type: "delete";
|
|
13135
|
-
key: string;
|
|
13136
|
-
} | {
|
|
13137
|
-
type: "append";
|
|
13138
|
-
value: import("../../index.js").DeserializedJson;
|
|
13139
|
-
key: string;
|
|
13140
|
-
} | {
|
|
13141
|
-
type: "remove";
|
|
13142
|
-
value: import("../../index.js").DeserializedJson;
|
|
13143
|
-
key: string;
|
|
13144
|
-
} | {
|
|
13145
|
-
type: "increment";
|
|
13146
|
-
value: number;
|
|
13147
|
-
key: string;
|
|
13148
|
-
})[] | undefined;
|
|
13149
|
-
parentOperations?: ({
|
|
13150
|
-
type: "update";
|
|
13151
|
-
value: Record<string, unknown>;
|
|
13152
|
-
} | {
|
|
13153
|
-
type: "set";
|
|
13154
|
-
value: import("../../index.js").DeserializedJson;
|
|
13155
|
-
key: string;
|
|
13156
|
-
} | {
|
|
13157
|
-
type: "delete";
|
|
13158
|
-
key: string;
|
|
13159
|
-
} | {
|
|
13160
|
-
type: "append";
|
|
13161
|
-
value: import("../../index.js").DeserializedJson;
|
|
13162
|
-
key: string;
|
|
13163
|
-
} | {
|
|
13164
|
-
type: "remove";
|
|
13165
|
-
value: import("../../index.js").DeserializedJson;
|
|
13166
|
-
key: string;
|
|
13167
|
-
} | {
|
|
13168
|
-
type: "increment";
|
|
13169
|
-
value: number;
|
|
13170
|
-
key: string;
|
|
13171
|
-
})[] | undefined;
|
|
13172
|
-
rootOperations?: ({
|
|
13173
|
-
type: "update";
|
|
13174
|
-
value: Record<string, unknown>;
|
|
13175
|
-
} | {
|
|
13176
|
-
type: "set";
|
|
13177
|
-
value: import("../../index.js").DeserializedJson;
|
|
13178
|
-
key: string;
|
|
13179
|
-
} | {
|
|
13180
|
-
type: "delete";
|
|
13181
|
-
key: string;
|
|
13182
|
-
} | {
|
|
13183
|
-
type: "append";
|
|
13184
|
-
value: import("../../index.js").DeserializedJson;
|
|
13185
|
-
key: string;
|
|
13186
|
-
} | {
|
|
13187
|
-
type: "remove";
|
|
13188
|
-
value: import("../../index.js").DeserializedJson;
|
|
13189
|
-
key: string;
|
|
13190
|
-
} | {
|
|
13191
|
-
type: "increment";
|
|
13192
|
-
value: number;
|
|
13193
|
-
key: string;
|
|
13194
|
-
})[] | undefined;
|
|
13195
|
-
} | undefined;
|
|
13196
|
-
retry?: {
|
|
13197
|
-
timestamp: number;
|
|
13198
|
-
delay: number;
|
|
13199
|
-
error?: unknown;
|
|
13200
|
-
} | undefined;
|
|
13201
|
-
skippedRetrying?: boolean | undefined;
|
|
13202
|
-
usage?: {
|
|
13203
|
-
durationMs: number;
|
|
13204
|
-
} | undefined;
|
|
13205
|
-
taskIdentifier?: string | undefined;
|
|
13206
|
-
} | {
|
|
13207
|
-
ok: true;
|
|
13208
|
-
id: string;
|
|
13209
|
-
outputType: string;
|
|
13210
|
-
metadata?: {
|
|
13211
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
13212
|
-
operations?: ({
|
|
13213
|
-
type: "update";
|
|
13214
|
-
value: Record<string, unknown>;
|
|
13215
|
-
} | {
|
|
13216
|
-
type: "set";
|
|
13217
|
-
value: import("../../index.js").DeserializedJson;
|
|
13218
|
-
key: string;
|
|
13219
|
-
} | {
|
|
13220
|
-
type: "delete";
|
|
13221
|
-
key: string;
|
|
13222
|
-
} | {
|
|
13223
|
-
type: "append";
|
|
13224
|
-
value: import("../../index.js").DeserializedJson;
|
|
13225
|
-
key: string;
|
|
13226
|
-
} | {
|
|
13227
|
-
type: "remove";
|
|
13228
|
-
value: import("../../index.js").DeserializedJson;
|
|
13229
|
-
key: string;
|
|
13230
|
-
} | {
|
|
13231
|
-
type: "increment";
|
|
13232
|
-
value: number;
|
|
13233
|
-
key: string;
|
|
13234
|
-
})[] | undefined;
|
|
13235
|
-
parentOperations?: ({
|
|
13236
|
-
type: "update";
|
|
13237
|
-
value: Record<string, unknown>;
|
|
13238
|
-
} | {
|
|
13239
|
-
type: "set";
|
|
13240
|
-
value: import("../../index.js").DeserializedJson;
|
|
13241
|
-
key: string;
|
|
13242
|
-
} | {
|
|
13243
|
-
type: "delete";
|
|
13244
|
-
key: string;
|
|
13245
|
-
} | {
|
|
13246
|
-
type: "append";
|
|
13247
|
-
value: import("../../index.js").DeserializedJson;
|
|
13248
|
-
key: string;
|
|
13249
|
-
} | {
|
|
13250
|
-
type: "remove";
|
|
13251
|
-
value: import("../../index.js").DeserializedJson;
|
|
13252
|
-
key: string;
|
|
13253
|
-
} | {
|
|
13254
|
-
type: "increment";
|
|
13255
|
-
value: number;
|
|
13256
|
-
key: string;
|
|
13257
|
-
})[] | undefined;
|
|
13258
|
-
rootOperations?: ({
|
|
13259
|
-
type: "update";
|
|
13260
|
-
value: Record<string, unknown>;
|
|
13261
|
-
} | {
|
|
13262
|
-
type: "set";
|
|
13263
|
-
value: import("../../index.js").DeserializedJson;
|
|
13264
|
-
key: string;
|
|
13265
|
-
} | {
|
|
13266
|
-
type: "delete";
|
|
13267
|
-
key: string;
|
|
13268
|
-
} | {
|
|
13269
|
-
type: "append";
|
|
13270
|
-
value: import("../../index.js").DeserializedJson;
|
|
13271
|
-
key: string;
|
|
13272
|
-
} | {
|
|
13273
|
-
type: "remove";
|
|
13274
|
-
value: import("../../index.js").DeserializedJson;
|
|
13275
|
-
key: string;
|
|
13276
|
-
} | {
|
|
13277
|
-
type: "increment";
|
|
13278
|
-
value: number;
|
|
13279
|
-
key: string;
|
|
13280
|
-
})[] | undefined;
|
|
13281
|
-
} | undefined;
|
|
13282
|
-
usage?: {
|
|
13283
|
-
durationMs: number;
|
|
13284
|
-
} | undefined;
|
|
13285
|
-
taskIdentifier?: string | undefined;
|
|
13286
|
-
output?: string | undefined;
|
|
13287
|
-
};
|
|
13288
|
-
}, {
|
|
13289
|
-
version: "v2";
|
|
13290
|
-
completion: {
|
|
13291
|
-
error: {
|
|
13292
|
-
message: string;
|
|
13293
|
-
type: "BUILT_IN_ERROR";
|
|
13294
|
-
name: string;
|
|
13295
|
-
stackTrace: string;
|
|
13296
|
-
} | {
|
|
13297
|
-
type: "CUSTOM_ERROR";
|
|
13298
|
-
raw: string;
|
|
13299
|
-
} | {
|
|
13300
|
-
type: "STRING_ERROR";
|
|
13301
|
-
raw: string;
|
|
13302
|
-
} | {
|
|
13303
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "TASK_MIDDLEWARE_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "TASK_HAS_N0_EXECUTION_SNAPSHOT" | "TASK_DEQUEUED_INVALID_STATE" | "TASK_DEQUEUED_QUEUE_NOT_FOUND" | "TASK_RUN_DEQUEUED_MAX_RETRIES" | "TASK_RUN_STALLED_EXECUTING" | "TASK_RUN_STALLED_EXECUTING_WITH_WAITPOINTS" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
|
|
13304
|
-
type: "INTERNAL_ERROR";
|
|
13305
|
-
message?: string | undefined;
|
|
13306
|
-
stackTrace?: string | undefined;
|
|
13307
|
-
};
|
|
13308
|
-
ok: false;
|
|
13309
|
-
id: string;
|
|
13310
|
-
metadata?: {
|
|
13311
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
13312
|
-
operations?: ({
|
|
13313
|
-
type: "update";
|
|
13314
|
-
value: Record<string, unknown>;
|
|
13315
|
-
} | {
|
|
13316
|
-
type: "set";
|
|
13317
|
-
value: import("../../index.js").DeserializedJson;
|
|
13318
|
-
key: string;
|
|
13319
|
-
} | {
|
|
13320
|
-
type: "delete";
|
|
13321
|
-
key: string;
|
|
13322
|
-
} | {
|
|
13323
|
-
type: "append";
|
|
13324
|
-
value: import("../../index.js").DeserializedJson;
|
|
13325
|
-
key: string;
|
|
13326
|
-
} | {
|
|
13327
|
-
type: "remove";
|
|
13328
|
-
value: import("../../index.js").DeserializedJson;
|
|
13329
|
-
key: string;
|
|
13330
|
-
} | {
|
|
13331
|
-
type: "increment";
|
|
13332
|
-
value: number;
|
|
13333
|
-
key: string;
|
|
13334
|
-
})[] | undefined;
|
|
13335
|
-
parentOperations?: ({
|
|
13336
|
-
type: "update";
|
|
13337
|
-
value: Record<string, unknown>;
|
|
13338
|
-
} | {
|
|
13339
|
-
type: "set";
|
|
13340
|
-
value: import("../../index.js").DeserializedJson;
|
|
13341
|
-
key: string;
|
|
13342
|
-
} | {
|
|
13343
|
-
type: "delete";
|
|
13344
|
-
key: string;
|
|
13345
|
-
} | {
|
|
13346
|
-
type: "append";
|
|
13347
|
-
value: import("../../index.js").DeserializedJson;
|
|
13348
|
-
key: string;
|
|
13349
|
-
} | {
|
|
13350
|
-
type: "remove";
|
|
13351
|
-
value: import("../../index.js").DeserializedJson;
|
|
13352
|
-
key: string;
|
|
13353
|
-
} | {
|
|
13354
|
-
type: "increment";
|
|
13355
|
-
value: number;
|
|
13356
|
-
key: string;
|
|
13357
|
-
})[] | undefined;
|
|
13358
|
-
rootOperations?: ({
|
|
13359
|
-
type: "update";
|
|
13360
|
-
value: Record<string, unknown>;
|
|
13361
|
-
} | {
|
|
13362
|
-
type: "set";
|
|
13363
|
-
value: import("../../index.js").DeserializedJson;
|
|
13364
|
-
key: string;
|
|
13365
|
-
} | {
|
|
13366
|
-
type: "delete";
|
|
13367
|
-
key: string;
|
|
13368
|
-
} | {
|
|
13369
|
-
type: "append";
|
|
13370
|
-
value: import("../../index.js").DeserializedJson;
|
|
13371
|
-
key: string;
|
|
13372
|
-
} | {
|
|
13373
|
-
type: "remove";
|
|
13374
|
-
value: import("../../index.js").DeserializedJson;
|
|
13375
|
-
key: string;
|
|
13376
|
-
} | {
|
|
13377
|
-
type: "increment";
|
|
13378
|
-
value: number;
|
|
13379
|
-
key: string;
|
|
13380
|
-
})[] | undefined;
|
|
13381
|
-
} | undefined;
|
|
13382
|
-
retry?: {
|
|
13383
|
-
timestamp: number;
|
|
13384
|
-
delay: number;
|
|
13385
|
-
error?: unknown;
|
|
13386
|
-
} | undefined;
|
|
13387
|
-
skippedRetrying?: boolean | undefined;
|
|
13388
|
-
usage?: {
|
|
13389
|
-
durationMs: number;
|
|
13390
|
-
} | undefined;
|
|
13391
|
-
taskIdentifier?: string | undefined;
|
|
13392
|
-
} | {
|
|
13393
|
-
ok: true;
|
|
13394
|
-
id: string;
|
|
13395
|
-
outputType: string;
|
|
13396
|
-
metadata?: {
|
|
13397
|
-
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
13398
|
-
operations?: ({
|
|
13399
|
-
type: "update";
|
|
13400
|
-
value: Record<string, unknown>;
|
|
13401
|
-
} | {
|
|
13402
|
-
type: "set";
|
|
13403
|
-
value: import("../../index.js").DeserializedJson;
|
|
13404
|
-
key: string;
|
|
13405
|
-
} | {
|
|
13406
|
-
type: "delete";
|
|
13407
|
-
key: string;
|
|
13408
|
-
} | {
|
|
13409
|
-
type: "append";
|
|
13410
|
-
value: import("../../index.js").DeserializedJson;
|
|
13411
|
-
key: string;
|
|
13412
|
-
} | {
|
|
13413
|
-
type: "remove";
|
|
13414
|
-
value: import("../../index.js").DeserializedJson;
|
|
13415
|
-
key: string;
|
|
13416
|
-
} | {
|
|
13417
|
-
type: "increment";
|
|
13418
|
-
value: number;
|
|
13419
|
-
key: string;
|
|
13420
|
-
})[] | undefined;
|
|
13421
|
-
parentOperations?: ({
|
|
13422
|
-
type: "update";
|
|
13423
|
-
value: Record<string, unknown>;
|
|
13424
|
-
} | {
|
|
13425
|
-
type: "set";
|
|
13426
|
-
value: import("../../index.js").DeserializedJson;
|
|
13427
|
-
key: string;
|
|
13428
|
-
} | {
|
|
13429
|
-
type: "delete";
|
|
13430
|
-
key: string;
|
|
13431
|
-
} | {
|
|
13432
|
-
type: "append";
|
|
13433
|
-
value: import("../../index.js").DeserializedJson;
|
|
13434
|
-
key: string;
|
|
13435
|
-
} | {
|
|
13436
|
-
type: "remove";
|
|
13437
|
-
value: import("../../index.js").DeserializedJson;
|
|
13438
|
-
key: string;
|
|
13439
|
-
} | {
|
|
13440
|
-
type: "increment";
|
|
13441
|
-
value: number;
|
|
13442
|
-
key: string;
|
|
13443
|
-
})[] | undefined;
|
|
13444
|
-
rootOperations?: ({
|
|
13445
|
-
type: "update";
|
|
13446
|
-
value: Record<string, unknown>;
|
|
13447
|
-
} | {
|
|
13448
|
-
type: "set";
|
|
13449
|
-
value: import("../../index.js").DeserializedJson;
|
|
13450
|
-
key: string;
|
|
13451
|
-
} | {
|
|
13452
|
-
type: "delete";
|
|
13453
|
-
key: string;
|
|
13454
|
-
} | {
|
|
13455
|
-
type: "append";
|
|
13456
|
-
value: import("../../index.js").DeserializedJson;
|
|
13457
|
-
key: string;
|
|
13458
|
-
} | {
|
|
13459
|
-
type: "remove";
|
|
13460
|
-
value: import("../../index.js").DeserializedJson;
|
|
13461
|
-
key: string;
|
|
13462
|
-
} | {
|
|
13463
|
-
type: "increment";
|
|
13464
|
-
value: number;
|
|
13465
|
-
key: string;
|
|
13466
|
-
})[] | undefined;
|
|
9726
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
9727
|
+
centsPerMs: number;
|
|
9728
|
+
};
|
|
9729
|
+
batch?: {
|
|
9730
|
+
id: string;
|
|
13467
9731
|
} | undefined;
|
|
13468
|
-
|
|
9732
|
+
}>;
|
|
9733
|
+
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9734
|
+
metadata: z.ZodObject<{
|
|
9735
|
+
id: z.ZodString;
|
|
9736
|
+
version: z.ZodString;
|
|
9737
|
+
contentHash: z.ZodString;
|
|
9738
|
+
engine: z.ZodOptional<z.ZodEnum<["V1", "V2"]>>;
|
|
9739
|
+
}, "strip", z.ZodTypeAny, {
|
|
9740
|
+
id: string;
|
|
9741
|
+
version: string;
|
|
9742
|
+
contentHash: string;
|
|
9743
|
+
engine?: "V1" | "V2" | undefined;
|
|
9744
|
+
}, {
|
|
9745
|
+
id: string;
|
|
9746
|
+
version: string;
|
|
9747
|
+
contentHash: string;
|
|
9748
|
+
engine?: "V1" | "V2" | undefined;
|
|
9749
|
+
}>;
|
|
9750
|
+
metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9751
|
+
name: z.ZodString;
|
|
9752
|
+
event: z.ZodString;
|
|
9753
|
+
timestamp: z.ZodNumber;
|
|
9754
|
+
duration: z.ZodNumber;
|
|
9755
|
+
}, "strip", z.ZodTypeAny, {
|
|
9756
|
+
event: string;
|
|
9757
|
+
name: string;
|
|
9758
|
+
timestamp: number;
|
|
9759
|
+
duration: number;
|
|
9760
|
+
}, {
|
|
9761
|
+
event: string;
|
|
9762
|
+
name: string;
|
|
9763
|
+
timestamp: number;
|
|
9764
|
+
duration: number;
|
|
9765
|
+
}>, "many">>;
|
|
9766
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9767
|
+
isWarmStart: z.ZodOptional<z.ZodBoolean>;
|
|
9768
|
+
}, "strip", z.ZodTypeAny, {
|
|
9769
|
+
metadata: {
|
|
9770
|
+
id: string;
|
|
9771
|
+
version: string;
|
|
9772
|
+
contentHash: string;
|
|
9773
|
+
engine?: "V1" | "V2" | undefined;
|
|
9774
|
+
};
|
|
9775
|
+
version: "v1";
|
|
9776
|
+
traceContext: Record<string, unknown>;
|
|
9777
|
+
execution: {
|
|
9778
|
+
task: {
|
|
9779
|
+
id: string;
|
|
9780
|
+
filePath: string;
|
|
9781
|
+
exportName?: string | undefined;
|
|
9782
|
+
};
|
|
9783
|
+
attempt: {
|
|
9784
|
+
number: number;
|
|
9785
|
+
status: string;
|
|
9786
|
+
id: string;
|
|
9787
|
+
startedAt: Date;
|
|
9788
|
+
backgroundWorkerId: string;
|
|
9789
|
+
backgroundWorkerTaskId: string;
|
|
9790
|
+
};
|
|
9791
|
+
run: {
|
|
9792
|
+
payload: string;
|
|
9793
|
+
id: string;
|
|
9794
|
+
payloadType: string;
|
|
9795
|
+
tags: string[];
|
|
9796
|
+
isTest: boolean;
|
|
9797
|
+
createdAt: Date;
|
|
9798
|
+
startedAt: Date;
|
|
13469
9799
|
durationMs: number;
|
|
9800
|
+
costInCents: number;
|
|
9801
|
+
baseCostInCents: number;
|
|
9802
|
+
context?: any;
|
|
9803
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
9804
|
+
idempotencyKey?: string | undefined;
|
|
9805
|
+
maxAttempts?: number | undefined;
|
|
9806
|
+
version?: string | undefined;
|
|
9807
|
+
maxDuration?: number | undefined;
|
|
9808
|
+
priority?: number | undefined;
|
|
9809
|
+
} & {
|
|
9810
|
+
traceContext?: Record<string, unknown> | undefined;
|
|
9811
|
+
};
|
|
9812
|
+
queue: {
|
|
9813
|
+
name: string;
|
|
9814
|
+
id: string;
|
|
9815
|
+
};
|
|
9816
|
+
environment: {
|
|
9817
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
9818
|
+
id: string;
|
|
9819
|
+
slug: string;
|
|
9820
|
+
};
|
|
9821
|
+
organization: {
|
|
9822
|
+
name: string;
|
|
9823
|
+
id: string;
|
|
9824
|
+
slug: string;
|
|
9825
|
+
};
|
|
9826
|
+
project: {
|
|
9827
|
+
name: string;
|
|
9828
|
+
id: string;
|
|
9829
|
+
slug: string;
|
|
9830
|
+
ref: string;
|
|
9831
|
+
};
|
|
9832
|
+
machine: {
|
|
9833
|
+
cpu: number;
|
|
9834
|
+
memory: number;
|
|
9835
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
9836
|
+
centsPerMs: number;
|
|
9837
|
+
};
|
|
9838
|
+
batch?: {
|
|
9839
|
+
id: string;
|
|
13470
9840
|
} | undefined;
|
|
13471
|
-
taskIdentifier?: string | undefined;
|
|
13472
|
-
output?: string | undefined;
|
|
13473
9841
|
};
|
|
13474
|
-
|
|
13475
|
-
|
|
13476
|
-
|
|
13477
|
-
|
|
13478
|
-
|
|
13479
|
-
|
|
13480
|
-
|
|
9842
|
+
metrics?: {
|
|
9843
|
+
event: string;
|
|
9844
|
+
name: string;
|
|
9845
|
+
timestamp: number;
|
|
9846
|
+
duration: number;
|
|
9847
|
+
}[] | undefined;
|
|
9848
|
+
env?: Record<string, string> | undefined;
|
|
9849
|
+
isWarmStart?: boolean | undefined;
|
|
13481
9850
|
}, {
|
|
9851
|
+
metadata: {
|
|
9852
|
+
id: string;
|
|
9853
|
+
version: string;
|
|
9854
|
+
contentHash: string;
|
|
9855
|
+
engine?: "V1" | "V2" | undefined;
|
|
9856
|
+
};
|
|
9857
|
+
traceContext: Record<string, unknown>;
|
|
9858
|
+
execution: {
|
|
9859
|
+
task: {
|
|
9860
|
+
id: string;
|
|
9861
|
+
filePath: string;
|
|
9862
|
+
exportName?: string | undefined;
|
|
9863
|
+
};
|
|
9864
|
+
attempt: {
|
|
9865
|
+
number: number;
|
|
9866
|
+
status: string;
|
|
9867
|
+
id: string;
|
|
9868
|
+
startedAt: Date;
|
|
9869
|
+
backgroundWorkerId: string;
|
|
9870
|
+
backgroundWorkerTaskId: string;
|
|
9871
|
+
};
|
|
9872
|
+
run: {
|
|
9873
|
+
payload: string;
|
|
9874
|
+
id: string;
|
|
9875
|
+
payloadType: string;
|
|
9876
|
+
tags: string[];
|
|
9877
|
+
createdAt: Date;
|
|
9878
|
+
context?: any;
|
|
9879
|
+
metadata?: Record<string, import("../../index.js").DeserializedJson> | undefined;
|
|
9880
|
+
isTest?: boolean | undefined;
|
|
9881
|
+
startedAt?: Date | undefined;
|
|
9882
|
+
idempotencyKey?: string | undefined;
|
|
9883
|
+
maxAttempts?: number | undefined;
|
|
9884
|
+
version?: string | undefined;
|
|
9885
|
+
maxDuration?: number | undefined;
|
|
9886
|
+
durationMs?: number | undefined;
|
|
9887
|
+
costInCents?: number | undefined;
|
|
9888
|
+
baseCostInCents?: number | undefined;
|
|
9889
|
+
priority?: number | undefined;
|
|
9890
|
+
} & {
|
|
9891
|
+
traceContext?: Record<string, unknown> | undefined;
|
|
9892
|
+
};
|
|
9893
|
+
queue: {
|
|
9894
|
+
name: string;
|
|
9895
|
+
id: string;
|
|
9896
|
+
};
|
|
9897
|
+
environment: {
|
|
9898
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
9899
|
+
id: string;
|
|
9900
|
+
slug: string;
|
|
9901
|
+
};
|
|
9902
|
+
organization: {
|
|
9903
|
+
name: string;
|
|
9904
|
+
id: string;
|
|
9905
|
+
slug: string;
|
|
9906
|
+
};
|
|
9907
|
+
project: {
|
|
9908
|
+
name: string;
|
|
9909
|
+
id: string;
|
|
9910
|
+
slug: string;
|
|
9911
|
+
ref: string;
|
|
9912
|
+
};
|
|
9913
|
+
machine: {
|
|
9914
|
+
cpu: number;
|
|
9915
|
+
memory: number;
|
|
9916
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
9917
|
+
centsPerMs: number;
|
|
9918
|
+
};
|
|
9919
|
+
batch?: {
|
|
9920
|
+
id: string;
|
|
9921
|
+
} | undefined;
|
|
9922
|
+
};
|
|
13482
9923
|
version?: "v1" | undefined;
|
|
9924
|
+
metrics?: {
|
|
9925
|
+
event: string;
|
|
9926
|
+
name: string;
|
|
9927
|
+
timestamp: number;
|
|
9928
|
+
duration: number;
|
|
9929
|
+
}[] | undefined;
|
|
9930
|
+
env?: Record<string, string> | undefined;
|
|
9931
|
+
isWarmStart?: boolean | undefined;
|
|
13483
9932
|
}>;
|
|
13484
9933
|
};
|
|
13485
9934
|
FLUSH: {
|
|
@@ -13502,42 +9951,7 @@ export declare const WorkerToExecutorMessageCatalog: {
|
|
|
13502
9951
|
}>;
|
|
13503
9952
|
callback: z.ZodVoid;
|
|
13504
9953
|
};
|
|
13505
|
-
|
|
13506
|
-
message: z.ZodObject<{
|
|
13507
|
-
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
13508
|
-
wait: z.ZodObject<{
|
|
13509
|
-
id: z.ZodString;
|
|
13510
|
-
}, "strip", z.ZodTypeAny, {
|
|
13511
|
-
id: string;
|
|
13512
|
-
}, {
|
|
13513
|
-
id: string;
|
|
13514
|
-
}>;
|
|
13515
|
-
waitpoint: z.ZodObject<{
|
|
13516
|
-
id: z.ZodString;
|
|
13517
|
-
}, "strip", z.ZodTypeAny, {
|
|
13518
|
-
id: string;
|
|
13519
|
-
}, {
|
|
13520
|
-
id: string;
|
|
13521
|
-
}>;
|
|
13522
|
-
}, "strip", z.ZodTypeAny, {
|
|
13523
|
-
version: "v1";
|
|
13524
|
-
waitpoint: {
|
|
13525
|
-
id: string;
|
|
13526
|
-
};
|
|
13527
|
-
wait: {
|
|
13528
|
-
id: string;
|
|
13529
|
-
};
|
|
13530
|
-
}, {
|
|
13531
|
-
waitpoint: {
|
|
13532
|
-
id: string;
|
|
13533
|
-
};
|
|
13534
|
-
wait: {
|
|
13535
|
-
id: string;
|
|
13536
|
-
};
|
|
13537
|
-
version?: "v1" | undefined;
|
|
13538
|
-
}>;
|
|
13539
|
-
};
|
|
13540
|
-
WAITPOINT_COMPLETED: {
|
|
9954
|
+
RESOLVE_WAITPOINT: {
|
|
13541
9955
|
message: z.ZodObject<{
|
|
13542
9956
|
version: z.ZodDefault<z.ZodLiteral<"v1">>;
|
|
13543
9957
|
waitpoint: z.ZodObject<{
|
|
@@ -21176,12 +17590,12 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
21176
17590
|
runFriendlyIds: z.ZodArray<z.ZodString, "many">;
|
|
21177
17591
|
}, "strip", z.ZodTypeAny, {
|
|
21178
17592
|
type: "WAIT_FOR_BATCH";
|
|
21179
|
-
batchFriendlyId: string;
|
|
21180
17593
|
runFriendlyIds: string[];
|
|
17594
|
+
batchFriendlyId: string;
|
|
21181
17595
|
}, {
|
|
21182
17596
|
type: "WAIT_FOR_BATCH";
|
|
21183
|
-
batchFriendlyId: string;
|
|
21184
17597
|
runFriendlyIds: string[];
|
|
17598
|
+
batchFriendlyId: string;
|
|
21185
17599
|
}>, z.ZodObject<{
|
|
21186
17600
|
type: z.ZodLiteral<"WAIT_FOR_TASK">;
|
|
21187
17601
|
friendlyId: z.ZodString;
|
|
@@ -21220,8 +17634,8 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
21220
17634
|
now: number;
|
|
21221
17635
|
} | {
|
|
21222
17636
|
type: "WAIT_FOR_BATCH";
|
|
21223
|
-
batchFriendlyId: string;
|
|
21224
17637
|
runFriendlyIds: string[];
|
|
17638
|
+
batchFriendlyId: string;
|
|
21225
17639
|
} | {
|
|
21226
17640
|
type: "WAIT_FOR_TASK";
|
|
21227
17641
|
friendlyId: string;
|
|
@@ -21243,8 +17657,8 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
21243
17657
|
now: number;
|
|
21244
17658
|
} | {
|
|
21245
17659
|
type: "WAIT_FOR_BATCH";
|
|
21246
|
-
batchFriendlyId: string;
|
|
21247
17660
|
runFriendlyIds: string[];
|
|
17661
|
+
batchFriendlyId: string;
|
|
21248
17662
|
} | {
|
|
21249
17663
|
type: "WAIT_FOR_TASK";
|
|
21250
17664
|
friendlyId: string;
|
|
@@ -32704,13 +29118,13 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
32704
29118
|
attemptFriendlyId: z.ZodString;
|
|
32705
29119
|
}, "strip", z.ZodTypeAny, {
|
|
32706
29120
|
version: "v1";
|
|
29121
|
+
attemptFriendlyId: string;
|
|
32707
29122
|
ms: number;
|
|
32708
29123
|
now: number;
|
|
32709
|
-
attemptFriendlyId: string;
|
|
32710
29124
|
}, {
|
|
29125
|
+
attemptFriendlyId: string;
|
|
32711
29126
|
ms: number;
|
|
32712
29127
|
now: number;
|
|
32713
|
-
attemptFriendlyId: string;
|
|
32714
29128
|
version?: "v1" | undefined;
|
|
32715
29129
|
}>;
|
|
32716
29130
|
callback: z.ZodObject<{
|
|
@@ -32751,13 +29165,13 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
32751
29165
|
attemptFriendlyId: z.ZodString;
|
|
32752
29166
|
}, "strip", z.ZodTypeAny, {
|
|
32753
29167
|
version: "v1" | "v2";
|
|
32754
|
-
batchFriendlyId: string;
|
|
32755
29168
|
runFriendlyIds: string[];
|
|
32756
29169
|
attemptFriendlyId: string;
|
|
32757
|
-
}, {
|
|
32758
29170
|
batchFriendlyId: string;
|
|
29171
|
+
}, {
|
|
32759
29172
|
runFriendlyIds: string[];
|
|
32760
29173
|
attemptFriendlyId: string;
|
|
29174
|
+
batchFriendlyId: string;
|
|
32761
29175
|
version?: "v1" | "v2" | undefined;
|
|
32762
29176
|
}>;
|
|
32763
29177
|
callback: z.ZodObject<{
|