@trigger.dev/core 4.0.0-v4-beta.25 → 4.0.0-v4-beta.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/logger.d.ts +1 -0
- package/dist/commonjs/logger.js +5 -0
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/v3/apiClient/core.js +0 -3
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +8 -8
- package/dist/commonjs/v3/config.d.ts +47 -35
- package/dist/commonjs/v3/index.d.ts +1 -0
- package/dist/commonjs/v3/index.js +1 -0
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/friendlyId.d.ts +1 -0
- package/dist/commonjs/v3/isomorphic/friendlyId.js +2 -1
- package/dist/commonjs/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/index.d.ts +1 -0
- package/dist/commonjs/v3/isomorphic/index.js +1 -0
- package/dist/commonjs/v3/isomorphic/index.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/traceContext.d.ts +5 -0
- package/dist/commonjs/v3/isomorphic/traceContext.js +25 -0
- package/dist/commonjs/v3/isomorphic/traceContext.js.map +1 -0
- package/dist/commonjs/v3/otel/tracingSDK.d.ts +1 -14
- package/dist/commonjs/v3/otel/tracingSDK.js +92 -84
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/catalog.d.ts +2 -1
- package/dist/commonjs/v3/resource-catalog/index.d.ts +2 -1
- package/dist/commonjs/v3/resource-catalog/index.js +3 -0
- package/dist/commonjs/v3/resource-catalog/index.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.d.ts +2 -1
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js +3 -0
- package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.d.ts +3 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js +10 -2
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +80 -61
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +628 -489
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +64 -45
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +625 -486
- package/dist/commonjs/v3/runMetadata/manager.d.ts +1 -0
- package/dist/commonjs/v3/runMetadata/manager.js +72 -2
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +233 -196
- package/dist/commonjs/v3/schemas/api.js +2 -0
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +88 -76
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +72 -72
- package/dist/commonjs/v3/schemas/common.d.ts +2351 -1038
- package/dist/commonjs/v3/schemas/common.js +102 -42
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/fetch.d.ts +12 -12
- package/dist/commonjs/v3/schemas/messages.d.ts +6692 -6167
- package/dist/commonjs/v3/schemas/messages.js +10 -10
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +18 -18
- package/dist/commonjs/v3/schemas/resources.d.ts +44 -38
- package/dist/commonjs/v3/schemas/resources.js +2 -0
- package/dist/commonjs/v3/schemas/resources.js.map +1 -1
- package/dist/commonjs/v3/schemas/runEngine.d.ts +360 -221
- package/dist/commonjs/v3/schemas/schemas.d.ts +593 -533
- package/dist/commonjs/v3/schemas/schemas.js +15 -4
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/schemas/webhooks.d.ts +120 -120
- package/dist/commonjs/v3/taskContext/index.js +0 -2
- package/dist/commonjs/v3/taskContext/index.js.map +1 -1
- package/dist/commonjs/v3/taskContext/otelProcessors.d.ts +4 -5
- package/dist/commonjs/v3/taskContext/otelProcessors.js +4 -3
- package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/commonjs/v3/trace-context-api.d.ts +3 -0
- package/dist/commonjs/v3/trace-context-api.js +9 -0
- package/dist/commonjs/v3/trace-context-api.js.map +1 -0
- package/dist/commonjs/v3/traceContext/api.d.ts +19 -0
- package/dist/commonjs/v3/traceContext/api.js +59 -0
- package/dist/commonjs/v3/traceContext/api.js.map +1 -0
- package/dist/commonjs/v3/traceContext/manager.d.ts +14 -0
- package/dist/commonjs/v3/traceContext/manager.js +60 -0
- package/dist/commonjs/v3/traceContext/manager.js.map +1 -0
- package/dist/commonjs/v3/traceContext/types.d.ts +12 -0
- package/dist/commonjs/v3/traceContext/types.js +3 -0
- package/dist/commonjs/v3/traceContext/types.js.map +1 -0
- package/dist/commonjs/v3/tracer.d.ts +0 -1
- package/dist/commonjs/v3/tracer.js +0 -3
- package/dist/commonjs/v3/tracer.js.map +1 -1
- package/dist/commonjs/v3/types/index.d.ts +1 -0
- package/dist/commonjs/v3/types/index.js +1 -0
- package/dist/commonjs/v3/types/index.js.map +1 -1
- package/dist/commonjs/v3/types/jsonSchema.d.ts +51 -0
- package/dist/commonjs/v3/types/jsonSchema.js +3 -0
- package/dist/commonjs/v3/types/jsonSchema.js.map +1 -0
- package/dist/commonjs/v3/types/tasks.d.ts +24 -0
- package/dist/commonjs/v3/types/tasks.js.map +1 -1
- package/dist/commonjs/v3/usage/api.d.ts +2 -1
- package/dist/commonjs/v3/usage/api.js +3 -0
- package/dist/commonjs/v3/usage/api.js.map +1 -1
- package/dist/commonjs/v3/usage/devUsageManager.d.ts +4 -1
- package/dist/commonjs/v3/usage/devUsageManager.js +14 -0
- package/dist/commonjs/v3/usage/devUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/noopUsageManager.d.ts +2 -1
- package/dist/commonjs/v3/usage/noopUsageManager.js +6 -0
- package/dist/commonjs/v3/usage/noopUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/prodUsageManager.d.ts +4 -1
- package/dist/commonjs/v3/usage/prodUsageManager.js +14 -0
- package/dist/commonjs/v3/usage/prodUsageManager.js.map +1 -1
- package/dist/commonjs/v3/usage/types.d.ts +5 -0
- package/dist/commonjs/v3/utils/globals.d.ts +2 -0
- package/dist/commonjs/v3/utils/globals.js.map +1 -1
- package/dist/commonjs/v3/workers/index.d.ts +1 -0
- package/dist/commonjs/v3/workers/index.js +3 -1
- package/dist/commonjs/v3/workers/index.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.d.ts +2 -2
- package/dist/commonjs/v3/workers/taskExecutor.js +3 -15
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/logger.d.ts +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/v3/apiClient/core.js +0 -3
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +8 -8
- package/dist/esm/v3/config.d.ts +47 -35
- package/dist/esm/v3/index.d.ts +1 -0
- package/dist/esm/v3/index.js +1 -0
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/isomorphic/friendlyId.d.ts +1 -0
- package/dist/esm/v3/isomorphic/friendlyId.js +1 -0
- package/dist/esm/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/esm/v3/isomorphic/index.d.ts +1 -0
- package/dist/esm/v3/isomorphic/index.js +1 -0
- package/dist/esm/v3/isomorphic/index.js.map +1 -1
- package/dist/esm/v3/isomorphic/traceContext.d.ts +5 -0
- package/dist/esm/v3/isomorphic/traceContext.js +21 -0
- package/dist/esm/v3/isomorphic/traceContext.js.map +1 -0
- package/dist/esm/v3/otel/tracingSDK.d.ts +1 -14
- package/dist/esm/v3/otel/tracingSDK.js +93 -85
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/resource-catalog/catalog.d.ts +2 -1
- package/dist/esm/v3/resource-catalog/index.d.ts +2 -1
- package/dist/esm/v3/resource-catalog/index.js +3 -0
- package/dist/esm/v3/resource-catalog/index.js.map +1 -1
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.d.ts +2 -1
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.js +3 -0
- package/dist/esm/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.d.ts +3 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js +10 -2
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +80 -61
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +628 -489
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +64 -45
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +625 -486
- package/dist/esm/v3/runMetadata/manager.d.ts +1 -0
- package/dist/esm/v3/runMetadata/manager.js +72 -2
- package/dist/esm/v3/runMetadata/manager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +233 -196
- package/dist/esm/v3/schemas/api.js +2 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +88 -76
- package/dist/esm/v3/schemas/checkpoints.d.ts +72 -72
- package/dist/esm/v3/schemas/common.d.ts +2351 -1038
- package/dist/esm/v3/schemas/common.js +101 -41
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/fetch.d.ts +12 -12
- package/dist/esm/v3/schemas/messages.d.ts +6692 -6167
- package/dist/esm/v3/schemas/messages.js +11 -11
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/openTelemetry.d.ts +18 -18
- package/dist/esm/v3/schemas/resources.d.ts +44 -38
- package/dist/esm/v3/schemas/resources.js +2 -0
- package/dist/esm/v3/schemas/resources.js.map +1 -1
- package/dist/esm/v3/schemas/runEngine.d.ts +360 -221
- package/dist/esm/v3/schemas/schemas.d.ts +593 -533
- package/dist/esm/v3/schemas/schemas.js +15 -4
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/schemas/webhooks.d.ts +120 -120
- package/dist/esm/v3/taskContext/index.js +0 -2
- package/dist/esm/v3/taskContext/index.js.map +1 -1
- package/dist/esm/v3/taskContext/otelProcessors.d.ts +4 -5
- package/dist/esm/v3/taskContext/otelProcessors.js +4 -3
- package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/esm/v3/trace-context-api.d.ts +3 -0
- package/dist/esm/v3/trace-context-api.js +6 -0
- package/dist/esm/v3/trace-context-api.js.map +1 -0
- package/dist/esm/v3/traceContext/api.d.ts +19 -0
- package/dist/esm/v3/traceContext/api.js +55 -0
- package/dist/esm/v3/traceContext/api.js.map +1 -0
- package/dist/esm/v3/traceContext/manager.d.ts +14 -0
- package/dist/esm/v3/traceContext/manager.js +56 -0
- package/dist/esm/v3/traceContext/manager.js.map +1 -0
- package/dist/esm/v3/traceContext/types.d.ts +12 -0
- package/dist/esm/v3/traceContext/types.js +2 -0
- package/dist/esm/v3/traceContext/types.js.map +1 -0
- package/dist/esm/v3/tracer.d.ts +0 -1
- package/dist/esm/v3/tracer.js +1 -4
- package/dist/esm/v3/tracer.js.map +1 -1
- package/dist/esm/v3/types/index.d.ts +1 -0
- package/dist/esm/v3/types/index.js +1 -0
- package/dist/esm/v3/types/index.js.map +1 -1
- package/dist/esm/v3/types/jsonSchema.d.ts +51 -0
- package/dist/esm/v3/types/jsonSchema.js +2 -0
- package/dist/esm/v3/types/jsonSchema.js.map +1 -0
- package/dist/esm/v3/types/tasks.d.ts +24 -0
- package/dist/esm/v3/types/tasks.js.map +1 -1
- package/dist/esm/v3/usage/api.d.ts +2 -1
- package/dist/esm/v3/usage/api.js +3 -0
- package/dist/esm/v3/usage/api.js.map +1 -1
- package/dist/esm/v3/usage/devUsageManager.d.ts +4 -1
- package/dist/esm/v3/usage/devUsageManager.js +14 -0
- package/dist/esm/v3/usage/devUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/noopUsageManager.d.ts +2 -1
- package/dist/esm/v3/usage/noopUsageManager.js +6 -0
- package/dist/esm/v3/usage/noopUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/prodUsageManager.d.ts +4 -1
- package/dist/esm/v3/usage/prodUsageManager.js +14 -0
- package/dist/esm/v3/usage/prodUsageManager.js.map +1 -1
- package/dist/esm/v3/usage/types.d.ts +5 -0
- package/dist/esm/v3/utils/globals.d.ts +2 -0
- package/dist/esm/v3/utils/globals.js.map +1 -1
- package/dist/esm/v3/workers/index.d.ts +1 -0
- package/dist/esm/v3/workers/index.js +1 -0
- package/dist/esm/v3/workers/index.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.d.ts +2 -2
- package/dist/esm/v3/workers/taskExecutor.js +5 -17
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +12 -13
|
@@ -420,26 +420,26 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
420
420
|
}, "strip", z.ZodTypeAny, {
|
|
421
421
|
id: string;
|
|
422
422
|
isTest: boolean;
|
|
423
|
-
traceContext: Record<string, unknown>;
|
|
424
423
|
machine: {
|
|
425
424
|
cpu: number;
|
|
426
425
|
memory: number;
|
|
427
426
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
428
427
|
centsPerMs: number;
|
|
429
428
|
};
|
|
429
|
+
traceContext: Record<string, unknown>;
|
|
430
430
|
friendlyId: string;
|
|
431
431
|
attemptNumber: number;
|
|
432
432
|
masterQueue: string;
|
|
433
433
|
}, {
|
|
434
434
|
id: string;
|
|
435
435
|
isTest: boolean;
|
|
436
|
-
traceContext: Record<string, unknown>;
|
|
437
436
|
machine: {
|
|
438
437
|
cpu: number;
|
|
439
438
|
memory: number;
|
|
440
439
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
441
440
|
centsPerMs: number;
|
|
442
441
|
};
|
|
442
|
+
traceContext: Record<string, unknown>;
|
|
443
443
|
friendlyId: string;
|
|
444
444
|
attemptNumber: number;
|
|
445
445
|
masterQueue: string;
|
|
@@ -470,30 +470,35 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
470
470
|
}>;
|
|
471
471
|
}, "strip", z.ZodTypeAny, {
|
|
472
472
|
version: "1";
|
|
473
|
+
environment: {
|
|
474
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
475
|
+
id: string;
|
|
476
|
+
};
|
|
477
|
+
organization: {
|
|
478
|
+
id: string;
|
|
479
|
+
};
|
|
480
|
+
project: {
|
|
481
|
+
id: string;
|
|
482
|
+
};
|
|
483
|
+
deployment: {
|
|
484
|
+
id?: string | undefined;
|
|
485
|
+
friendlyId?: string | undefined;
|
|
486
|
+
imagePlatform?: string | undefined;
|
|
487
|
+
};
|
|
473
488
|
run: {
|
|
474
489
|
id: string;
|
|
475
490
|
isTest: boolean;
|
|
476
|
-
traceContext: Record<string, unknown>;
|
|
477
491
|
machine: {
|
|
478
492
|
cpu: number;
|
|
479
493
|
memory: number;
|
|
480
494
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
481
495
|
centsPerMs: number;
|
|
482
496
|
};
|
|
497
|
+
traceContext: Record<string, unknown>;
|
|
483
498
|
friendlyId: string;
|
|
484
499
|
attemptNumber: number;
|
|
485
500
|
masterQueue: string;
|
|
486
501
|
};
|
|
487
|
-
environment: {
|
|
488
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
489
|
-
id: string;
|
|
490
|
-
};
|
|
491
|
-
organization: {
|
|
492
|
-
id: string;
|
|
493
|
-
};
|
|
494
|
-
project: {
|
|
495
|
-
id: string;
|
|
496
|
-
};
|
|
497
502
|
snapshot: {
|
|
498
503
|
id: string;
|
|
499
504
|
createdAt: Date;
|
|
@@ -531,11 +536,6 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
531
536
|
version: string;
|
|
532
537
|
friendlyId: string;
|
|
533
538
|
};
|
|
534
|
-
deployment: {
|
|
535
|
-
id?: string | undefined;
|
|
536
|
-
friendlyId?: string | undefined;
|
|
537
|
-
imagePlatform?: string | undefined;
|
|
538
|
-
};
|
|
539
539
|
checkpoint?: {
|
|
540
540
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
541
541
|
id: string;
|
|
@@ -546,30 +546,35 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
546
546
|
image?: string | undefined;
|
|
547
547
|
}, {
|
|
548
548
|
version: "1";
|
|
549
|
+
environment: {
|
|
550
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
551
|
+
id: string;
|
|
552
|
+
};
|
|
553
|
+
organization: {
|
|
554
|
+
id: string;
|
|
555
|
+
};
|
|
556
|
+
project: {
|
|
557
|
+
id: string;
|
|
558
|
+
};
|
|
559
|
+
deployment: {
|
|
560
|
+
id?: string | undefined;
|
|
561
|
+
friendlyId?: string | undefined;
|
|
562
|
+
imagePlatform?: string | undefined;
|
|
563
|
+
};
|
|
549
564
|
run: {
|
|
550
565
|
id: string;
|
|
551
566
|
isTest: boolean;
|
|
552
|
-
traceContext: Record<string, unknown>;
|
|
553
567
|
machine: {
|
|
554
568
|
cpu: number;
|
|
555
569
|
memory: number;
|
|
556
570
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
557
571
|
centsPerMs: number;
|
|
558
572
|
};
|
|
573
|
+
traceContext: Record<string, unknown>;
|
|
559
574
|
friendlyId: string;
|
|
560
575
|
attemptNumber: number;
|
|
561
576
|
masterQueue: string;
|
|
562
577
|
};
|
|
563
|
-
environment: {
|
|
564
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
565
|
-
id: string;
|
|
566
|
-
};
|
|
567
|
-
organization: {
|
|
568
|
-
id: string;
|
|
569
|
-
};
|
|
570
|
-
project: {
|
|
571
|
-
id: string;
|
|
572
|
-
};
|
|
573
578
|
snapshot: {
|
|
574
579
|
id: string;
|
|
575
580
|
createdAt: Date;
|
|
@@ -607,11 +612,6 @@ export declare const WorkerApiDequeueResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
607
612
|
version: string;
|
|
608
613
|
friendlyId: string;
|
|
609
614
|
};
|
|
610
|
-
deployment: {
|
|
611
|
-
id?: string | undefined;
|
|
612
|
-
friendlyId?: string | undefined;
|
|
613
|
-
imagePlatform?: string | undefined;
|
|
614
|
-
};
|
|
615
615
|
checkpoint?: {
|
|
616
616
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
617
617
|
id: string;
|
|
@@ -718,99 +718,13 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
718
718
|
task: z.ZodObject<{
|
|
719
719
|
id: z.ZodString;
|
|
720
720
|
filePath: z.ZodString;
|
|
721
|
-
|
|
722
|
-
}, "strip", z.ZodTypeAny, {
|
|
723
|
-
id: string;
|
|
724
|
-
filePath: string;
|
|
725
|
-
exportName?: string | undefined;
|
|
726
|
-
}, {
|
|
727
|
-
id: string;
|
|
728
|
-
filePath: string;
|
|
729
|
-
exportName?: string | undefined;
|
|
730
|
-
}>;
|
|
731
|
-
attempt: z.ZodObject<{
|
|
732
|
-
number: z.ZodNumber;
|
|
733
|
-
startedAt: z.ZodDate;
|
|
721
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
734
722
|
id: z.ZodString;
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
status: z.ZodString;
|
|
738
|
-
}, "strip", z.ZodTypeAny, {
|
|
739
|
-
number: number;
|
|
740
|
-
status: string;
|
|
741
|
-
id: string;
|
|
742
|
-
startedAt: Date;
|
|
743
|
-
backgroundWorkerId: string;
|
|
744
|
-
backgroundWorkerTaskId: string;
|
|
745
|
-
}, {
|
|
746
|
-
number: number;
|
|
747
|
-
status: string;
|
|
748
|
-
id: string;
|
|
749
|
-
startedAt: Date;
|
|
750
|
-
backgroundWorkerId: string;
|
|
751
|
-
backgroundWorkerTaskId: string;
|
|
752
|
-
}>;
|
|
753
|
-
run: z.ZodIntersection<z.ZodObject<{
|
|
723
|
+
filePath: z.ZodString;
|
|
724
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
754
725
|
id: z.ZodString;
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
tags: z.ZodArray<z.ZodString, "many">;
|
|
758
|
-
isTest: z.ZodDefault<z.ZodBoolean>;
|
|
759
|
-
createdAt: z.ZodDate;
|
|
760
|
-
startedAt: z.ZodDefault<z.ZodDate>;
|
|
761
|
-
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
762
|
-
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
763
|
-
version: z.ZodOptional<z.ZodString>;
|
|
764
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>>>;
|
|
765
|
-
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
766
|
-
context: z.ZodAny;
|
|
767
|
-
durationMs: z.ZodDefault<z.ZodNumber>;
|
|
768
|
-
costInCents: z.ZodDefault<z.ZodNumber>;
|
|
769
|
-
baseCostInCents: z.ZodDefault<z.ZodNumber>;
|
|
770
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
771
|
-
}, "strip", z.ZodTypeAny, {
|
|
772
|
-
payload: string;
|
|
773
|
-
id: string;
|
|
774
|
-
payloadType: string;
|
|
775
|
-
tags: string[];
|
|
776
|
-
isTest: boolean;
|
|
777
|
-
createdAt: Date;
|
|
778
|
-
startedAt: Date;
|
|
779
|
-
durationMs: number;
|
|
780
|
-
costInCents: number;
|
|
781
|
-
baseCostInCents: number;
|
|
782
|
-
context?: any;
|
|
783
|
-
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
784
|
-
idempotencyKey?: string | undefined;
|
|
785
|
-
maxAttempts?: number | undefined;
|
|
786
|
-
version?: string | undefined;
|
|
787
|
-
maxDuration?: number | undefined;
|
|
788
|
-
priority?: number | undefined;
|
|
789
|
-
}, {
|
|
790
|
-
payload: string;
|
|
791
|
-
id: string;
|
|
792
|
-
payloadType: string;
|
|
793
|
-
tags: string[];
|
|
794
|
-
createdAt: Date;
|
|
795
|
-
context?: any;
|
|
796
|
-
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
797
|
-
isTest?: boolean | undefined;
|
|
798
|
-
startedAt?: Date | undefined;
|
|
799
|
-
idempotencyKey?: string | undefined;
|
|
800
|
-
maxAttempts?: number | undefined;
|
|
801
|
-
version?: string | undefined;
|
|
802
|
-
maxDuration?: number | undefined;
|
|
803
|
-
durationMs?: number | undefined;
|
|
804
|
-
costInCents?: number | undefined;
|
|
805
|
-
baseCostInCents?: number | undefined;
|
|
806
|
-
priority?: number | undefined;
|
|
807
|
-
}>, z.ZodObject<{
|
|
808
|
-
traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
809
|
-
}, "strip", z.ZodTypeAny, {
|
|
810
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
811
|
-
}, {
|
|
812
|
-
traceContext?: Record<string, unknown> | undefined;
|
|
813
|
-
}>>;
|
|
726
|
+
filePath: z.ZodString;
|
|
727
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
814
728
|
queue: z.ZodObject<{
|
|
815
729
|
id: z.ZodString;
|
|
816
730
|
name: z.ZodString;
|
|
@@ -919,13 +833,6 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
919
833
|
slug: string;
|
|
920
834
|
ref: string;
|
|
921
835
|
}>;
|
|
922
|
-
batch: z.ZodOptional<z.ZodObject<{
|
|
923
|
-
id: z.ZodString;
|
|
924
|
-
}, "strip", z.ZodTypeAny, {
|
|
925
|
-
id: string;
|
|
926
|
-
}, {
|
|
927
|
-
id: string;
|
|
928
|
-
}>>;
|
|
929
836
|
machine: z.ZodObject<{
|
|
930
837
|
name: z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>;
|
|
931
838
|
cpu: z.ZodNumber;
|
|
@@ -942,21 +849,116 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
942
849
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
943
850
|
centsPerMs: number;
|
|
944
851
|
}>;
|
|
945
|
-
|
|
946
|
-
|
|
852
|
+
batch: z.ZodOptional<z.ZodObject<{
|
|
853
|
+
id: z.ZodString;
|
|
854
|
+
}, "strip", z.ZodTypeAny, {
|
|
947
855
|
id: string;
|
|
948
|
-
|
|
949
|
-
exportName?: string | undefined;
|
|
950
|
-
};
|
|
951
|
-
attempt: {
|
|
952
|
-
number: number;
|
|
953
|
-
status: string;
|
|
856
|
+
}, {
|
|
954
857
|
id: string;
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
858
|
+
}>>;
|
|
859
|
+
deployment: z.ZodOptional<z.ZodObject<{
|
|
860
|
+
id: z.ZodString;
|
|
861
|
+
shortCode: z.ZodString;
|
|
862
|
+
version: z.ZodString;
|
|
863
|
+
runtime: z.ZodString;
|
|
864
|
+
runtimeVersion: z.ZodString;
|
|
865
|
+
git: z.ZodOptional<z.ZodObject<{
|
|
866
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
867
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
868
|
+
commitRef: z.ZodOptional<z.ZodString>;
|
|
869
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
870
|
+
dirty: z.ZodOptional<z.ZodBoolean>;
|
|
871
|
+
remoteUrl: z.ZodOptional<z.ZodString>;
|
|
872
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
873
|
+
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
874
|
+
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
875
|
+
}, "strip", z.ZodTypeAny, {
|
|
876
|
+
dirty?: boolean | undefined;
|
|
877
|
+
commitAuthorName?: string | undefined;
|
|
878
|
+
commitMessage?: string | undefined;
|
|
879
|
+
commitRef?: string | undefined;
|
|
880
|
+
commitSha?: string | undefined;
|
|
881
|
+
remoteUrl?: string | undefined;
|
|
882
|
+
pullRequestNumber?: number | undefined;
|
|
883
|
+
pullRequestTitle?: string | undefined;
|
|
884
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
885
|
+
}, {
|
|
886
|
+
dirty?: boolean | undefined;
|
|
887
|
+
commitAuthorName?: string | undefined;
|
|
888
|
+
commitMessage?: string | undefined;
|
|
889
|
+
commitRef?: string | undefined;
|
|
890
|
+
commitSha?: string | undefined;
|
|
891
|
+
remoteUrl?: string | undefined;
|
|
892
|
+
pullRequestNumber?: number | undefined;
|
|
893
|
+
pullRequestTitle?: string | undefined;
|
|
894
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
895
|
+
}>>;
|
|
896
|
+
}, "strip", z.ZodTypeAny, {
|
|
897
|
+
id: string;
|
|
898
|
+
version: string;
|
|
899
|
+
shortCode: string;
|
|
900
|
+
runtime: string;
|
|
901
|
+
runtimeVersion: string;
|
|
902
|
+
git?: {
|
|
903
|
+
dirty?: boolean | undefined;
|
|
904
|
+
commitAuthorName?: string | undefined;
|
|
905
|
+
commitMessage?: string | undefined;
|
|
906
|
+
commitRef?: string | undefined;
|
|
907
|
+
commitSha?: string | undefined;
|
|
908
|
+
remoteUrl?: string | undefined;
|
|
909
|
+
pullRequestNumber?: number | undefined;
|
|
910
|
+
pullRequestTitle?: string | undefined;
|
|
911
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
912
|
+
} | undefined;
|
|
913
|
+
}, {
|
|
914
|
+
id: string;
|
|
915
|
+
version: string;
|
|
916
|
+
shortCode: string;
|
|
917
|
+
runtime: string;
|
|
918
|
+
runtimeVersion: string;
|
|
919
|
+
git?: {
|
|
920
|
+
dirty?: boolean | undefined;
|
|
921
|
+
commitAuthorName?: string | undefined;
|
|
922
|
+
commitMessage?: string | undefined;
|
|
923
|
+
commitRef?: string | undefined;
|
|
924
|
+
commitSha?: string | undefined;
|
|
925
|
+
remoteUrl?: string | undefined;
|
|
926
|
+
pullRequestNumber?: number | undefined;
|
|
927
|
+
pullRequestTitle?: string | undefined;
|
|
928
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
929
|
+
} | undefined;
|
|
930
|
+
}>>;
|
|
931
|
+
attempt: z.ZodObject<{
|
|
932
|
+
number: z.ZodNumber;
|
|
933
|
+
startedAt: z.ZodDate;
|
|
934
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
935
|
+
number: z.ZodNumber;
|
|
936
|
+
startedAt: z.ZodDate;
|
|
937
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
938
|
+
number: z.ZodNumber;
|
|
939
|
+
startedAt: z.ZodDate;
|
|
940
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
941
|
+
run: z.ZodIntersection<z.ZodObject<{
|
|
942
|
+
id: z.ZodString;
|
|
943
|
+
payload: z.ZodString;
|
|
944
|
+
payloadType: z.ZodString;
|
|
945
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
946
|
+
isTest: z.ZodDefault<z.ZodBoolean>;
|
|
947
|
+
createdAt: z.ZodDate;
|
|
948
|
+
startedAt: z.ZodDefault<z.ZodDate>;
|
|
949
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
950
|
+
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
951
|
+
version: z.ZodOptional<z.ZodString>;
|
|
952
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>>>;
|
|
953
|
+
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
954
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
955
|
+
baseCostInCents: z.ZodOptional<z.ZodNumber>;
|
|
956
|
+
parentTaskRunId: z.ZodOptional<z.ZodString>;
|
|
957
|
+
rootTaskRunId: z.ZodOptional<z.ZodString>;
|
|
958
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
959
|
+
costInCents: z.ZodOptional<z.ZodNumber>;
|
|
960
|
+
region: z.ZodOptional<z.ZodString>;
|
|
961
|
+
}, "strip", z.ZodTypeAny, {
|
|
960
962
|
payload: string;
|
|
961
963
|
id: string;
|
|
962
964
|
payloadType: string;
|
|
@@ -964,18 +966,51 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
964
966
|
isTest: boolean;
|
|
965
967
|
createdAt: Date;
|
|
966
968
|
startedAt: Date;
|
|
967
|
-
durationMs: number;
|
|
968
|
-
costInCents: number;
|
|
969
|
-
baseCostInCents: number;
|
|
970
|
-
context?: any;
|
|
971
969
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
972
970
|
idempotencyKey?: string | undefined;
|
|
973
971
|
maxAttempts?: number | undefined;
|
|
974
972
|
version?: string | undefined;
|
|
975
973
|
maxDuration?: number | undefined;
|
|
976
974
|
priority?: number | undefined;
|
|
977
|
-
|
|
975
|
+
baseCostInCents?: number | undefined;
|
|
976
|
+
parentTaskRunId?: string | undefined;
|
|
977
|
+
rootTaskRunId?: string | undefined;
|
|
978
|
+
durationMs?: number | undefined;
|
|
979
|
+
costInCents?: number | undefined;
|
|
980
|
+
region?: string | undefined;
|
|
981
|
+
}, {
|
|
982
|
+
payload: string;
|
|
983
|
+
id: string;
|
|
984
|
+
payloadType: string;
|
|
985
|
+
tags: string[];
|
|
986
|
+
createdAt: Date;
|
|
987
|
+
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
988
|
+
isTest?: boolean | undefined;
|
|
989
|
+
startedAt?: Date | undefined;
|
|
990
|
+
idempotencyKey?: string | undefined;
|
|
991
|
+
maxAttempts?: number | undefined;
|
|
992
|
+
version?: string | undefined;
|
|
993
|
+
maxDuration?: number | undefined;
|
|
994
|
+
priority?: number | undefined;
|
|
995
|
+
baseCostInCents?: number | undefined;
|
|
996
|
+
parentTaskRunId?: string | undefined;
|
|
997
|
+
rootTaskRunId?: string | undefined;
|
|
998
|
+
durationMs?: number | undefined;
|
|
999
|
+
costInCents?: number | undefined;
|
|
1000
|
+
region?: string | undefined;
|
|
1001
|
+
}>, z.ZodObject<{
|
|
1002
|
+
traceContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1003
|
+
}, "strip", z.ZodTypeAny, {
|
|
1004
|
+
traceContext?: Record<string, unknown> | undefined;
|
|
1005
|
+
}, {
|
|
978
1006
|
traceContext?: Record<string, unknown> | undefined;
|
|
1007
|
+
}>>;
|
|
1008
|
+
}, "strip", z.ZodTypeAny, {
|
|
1009
|
+
task: {
|
|
1010
|
+
id: string;
|
|
1011
|
+
filePath: string;
|
|
1012
|
+
} & {
|
|
1013
|
+
[k: string]: unknown;
|
|
979
1014
|
};
|
|
980
1015
|
queue: {
|
|
981
1016
|
name: string;
|
|
@@ -1015,44 +1050,63 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1015
1050
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1016
1051
|
centsPerMs: number;
|
|
1017
1052
|
};
|
|
1018
|
-
batch?: {
|
|
1019
|
-
id: string;
|
|
1020
|
-
} | undefined;
|
|
1021
|
-
}, {
|
|
1022
|
-
task: {
|
|
1023
|
-
id: string;
|
|
1024
|
-
filePath: string;
|
|
1025
|
-
exportName?: string | undefined;
|
|
1026
|
-
};
|
|
1027
1053
|
attempt: {
|
|
1028
1054
|
number: number;
|
|
1029
|
-
status: string;
|
|
1030
|
-
id: string;
|
|
1031
1055
|
startedAt: Date;
|
|
1032
|
-
|
|
1033
|
-
|
|
1056
|
+
} & {
|
|
1057
|
+
[k: string]: unknown;
|
|
1034
1058
|
};
|
|
1035
1059
|
run: {
|
|
1036
1060
|
payload: string;
|
|
1037
1061
|
id: string;
|
|
1038
1062
|
payloadType: string;
|
|
1039
1063
|
tags: string[];
|
|
1064
|
+
isTest: boolean;
|
|
1040
1065
|
createdAt: Date;
|
|
1041
|
-
|
|
1066
|
+
startedAt: Date;
|
|
1042
1067
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1043
|
-
isTest?: boolean | undefined;
|
|
1044
|
-
startedAt?: Date | undefined;
|
|
1045
1068
|
idempotencyKey?: string | undefined;
|
|
1046
1069
|
maxAttempts?: number | undefined;
|
|
1047
1070
|
version?: string | undefined;
|
|
1048
1071
|
maxDuration?: number | undefined;
|
|
1072
|
+
priority?: number | undefined;
|
|
1073
|
+
baseCostInCents?: number | undefined;
|
|
1074
|
+
parentTaskRunId?: string | undefined;
|
|
1075
|
+
rootTaskRunId?: string | undefined;
|
|
1049
1076
|
durationMs?: number | undefined;
|
|
1050
1077
|
costInCents?: number | undefined;
|
|
1051
|
-
|
|
1052
|
-
priority?: number | undefined;
|
|
1078
|
+
region?: string | undefined;
|
|
1053
1079
|
} & {
|
|
1054
1080
|
traceContext?: Record<string, unknown> | undefined;
|
|
1055
1081
|
};
|
|
1082
|
+
batch?: {
|
|
1083
|
+
id: string;
|
|
1084
|
+
} | undefined;
|
|
1085
|
+
deployment?: {
|
|
1086
|
+
id: string;
|
|
1087
|
+
version: string;
|
|
1088
|
+
shortCode: string;
|
|
1089
|
+
runtime: string;
|
|
1090
|
+
runtimeVersion: string;
|
|
1091
|
+
git?: {
|
|
1092
|
+
dirty?: boolean | undefined;
|
|
1093
|
+
commitAuthorName?: string | undefined;
|
|
1094
|
+
commitMessage?: string | undefined;
|
|
1095
|
+
commitRef?: string | undefined;
|
|
1096
|
+
commitSha?: string | undefined;
|
|
1097
|
+
remoteUrl?: string | undefined;
|
|
1098
|
+
pullRequestNumber?: number | undefined;
|
|
1099
|
+
pullRequestTitle?: string | undefined;
|
|
1100
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1101
|
+
} | undefined;
|
|
1102
|
+
} | undefined;
|
|
1103
|
+
}, {
|
|
1104
|
+
task: {
|
|
1105
|
+
id: string;
|
|
1106
|
+
filePath: string;
|
|
1107
|
+
} & {
|
|
1108
|
+
[k: string]: unknown;
|
|
1109
|
+
};
|
|
1056
1110
|
queue: {
|
|
1057
1111
|
name: string;
|
|
1058
1112
|
id: string;
|
|
@@ -1091,46 +1145,65 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1091
1145
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1092
1146
|
centsPerMs: number;
|
|
1093
1147
|
};
|
|
1094
|
-
batch?: {
|
|
1095
|
-
id: string;
|
|
1096
|
-
} | undefined;
|
|
1097
|
-
}>;
|
|
1098
|
-
}, "strip", z.ZodTypeAny, {
|
|
1099
|
-
execution: {
|
|
1100
|
-
task: {
|
|
1101
|
-
id: string;
|
|
1102
|
-
filePath: string;
|
|
1103
|
-
exportName?: string | undefined;
|
|
1104
|
-
};
|
|
1105
1148
|
attempt: {
|
|
1106
1149
|
number: number;
|
|
1107
|
-
status: string;
|
|
1108
|
-
id: string;
|
|
1109
1150
|
startedAt: Date;
|
|
1110
|
-
|
|
1111
|
-
|
|
1151
|
+
} & {
|
|
1152
|
+
[k: string]: unknown;
|
|
1112
1153
|
};
|
|
1113
1154
|
run: {
|
|
1114
1155
|
payload: string;
|
|
1115
1156
|
id: string;
|
|
1116
1157
|
payloadType: string;
|
|
1117
1158
|
tags: string[];
|
|
1118
|
-
isTest: boolean;
|
|
1119
1159
|
createdAt: Date;
|
|
1120
|
-
startedAt: Date;
|
|
1121
|
-
durationMs: number;
|
|
1122
|
-
costInCents: number;
|
|
1123
|
-
baseCostInCents: number;
|
|
1124
|
-
context?: any;
|
|
1125
1160
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1161
|
+
isTest?: boolean | undefined;
|
|
1162
|
+
startedAt?: Date | undefined;
|
|
1126
1163
|
idempotencyKey?: string | undefined;
|
|
1127
1164
|
maxAttempts?: number | undefined;
|
|
1128
1165
|
version?: string | undefined;
|
|
1129
1166
|
maxDuration?: number | undefined;
|
|
1130
1167
|
priority?: number | undefined;
|
|
1168
|
+
baseCostInCents?: number | undefined;
|
|
1169
|
+
parentTaskRunId?: string | undefined;
|
|
1170
|
+
rootTaskRunId?: string | undefined;
|
|
1171
|
+
durationMs?: number | undefined;
|
|
1172
|
+
costInCents?: number | undefined;
|
|
1173
|
+
region?: string | undefined;
|
|
1131
1174
|
} & {
|
|
1132
1175
|
traceContext?: Record<string, unknown> | undefined;
|
|
1133
1176
|
};
|
|
1177
|
+
batch?: {
|
|
1178
|
+
id: string;
|
|
1179
|
+
} | undefined;
|
|
1180
|
+
deployment?: {
|
|
1181
|
+
id: string;
|
|
1182
|
+
version: string;
|
|
1183
|
+
shortCode: string;
|
|
1184
|
+
runtime: string;
|
|
1185
|
+
runtimeVersion: string;
|
|
1186
|
+
git?: {
|
|
1187
|
+
dirty?: boolean | undefined;
|
|
1188
|
+
commitAuthorName?: string | undefined;
|
|
1189
|
+
commitMessage?: string | undefined;
|
|
1190
|
+
commitRef?: string | undefined;
|
|
1191
|
+
commitSha?: string | undefined;
|
|
1192
|
+
remoteUrl?: string | undefined;
|
|
1193
|
+
pullRequestNumber?: number | undefined;
|
|
1194
|
+
pullRequestTitle?: string | undefined;
|
|
1195
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1196
|
+
} | undefined;
|
|
1197
|
+
} | undefined;
|
|
1198
|
+
}>;
|
|
1199
|
+
}, "strip", z.ZodTypeAny, {
|
|
1200
|
+
execution: {
|
|
1201
|
+
task: {
|
|
1202
|
+
id: string;
|
|
1203
|
+
filePath: string;
|
|
1204
|
+
} & {
|
|
1205
|
+
[k: string]: unknown;
|
|
1206
|
+
};
|
|
1134
1207
|
queue: {
|
|
1135
1208
|
name: string;
|
|
1136
1209
|
id: string;
|
|
@@ -1169,46 +1242,65 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1169
1242
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1170
1243
|
centsPerMs: number;
|
|
1171
1244
|
};
|
|
1172
|
-
batch?: {
|
|
1173
|
-
id: string;
|
|
1174
|
-
} | undefined;
|
|
1175
|
-
};
|
|
1176
|
-
}, {
|
|
1177
|
-
execution: {
|
|
1178
|
-
task: {
|
|
1179
|
-
id: string;
|
|
1180
|
-
filePath: string;
|
|
1181
|
-
exportName?: string | undefined;
|
|
1182
|
-
};
|
|
1183
1245
|
attempt: {
|
|
1184
1246
|
number: number;
|
|
1185
|
-
status: string;
|
|
1186
|
-
id: string;
|
|
1187
1247
|
startedAt: Date;
|
|
1188
|
-
|
|
1189
|
-
|
|
1248
|
+
} & {
|
|
1249
|
+
[k: string]: unknown;
|
|
1190
1250
|
};
|
|
1191
1251
|
run: {
|
|
1192
1252
|
payload: string;
|
|
1193
1253
|
id: string;
|
|
1194
1254
|
payloadType: string;
|
|
1195
1255
|
tags: string[];
|
|
1256
|
+
isTest: boolean;
|
|
1196
1257
|
createdAt: Date;
|
|
1197
|
-
|
|
1258
|
+
startedAt: Date;
|
|
1198
1259
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1199
|
-
isTest?: boolean | undefined;
|
|
1200
|
-
startedAt?: Date | undefined;
|
|
1201
1260
|
idempotencyKey?: string | undefined;
|
|
1202
1261
|
maxAttempts?: number | undefined;
|
|
1203
1262
|
version?: string | undefined;
|
|
1204
1263
|
maxDuration?: number | undefined;
|
|
1264
|
+
priority?: number | undefined;
|
|
1265
|
+
baseCostInCents?: number | undefined;
|
|
1266
|
+
parentTaskRunId?: string | undefined;
|
|
1267
|
+
rootTaskRunId?: string | undefined;
|
|
1205
1268
|
durationMs?: number | undefined;
|
|
1206
1269
|
costInCents?: number | undefined;
|
|
1207
|
-
|
|
1208
|
-
priority?: number | undefined;
|
|
1270
|
+
region?: string | undefined;
|
|
1209
1271
|
} & {
|
|
1210
1272
|
traceContext?: Record<string, unknown> | undefined;
|
|
1211
1273
|
};
|
|
1274
|
+
batch?: {
|
|
1275
|
+
id: string;
|
|
1276
|
+
} | undefined;
|
|
1277
|
+
deployment?: {
|
|
1278
|
+
id: string;
|
|
1279
|
+
version: string;
|
|
1280
|
+
shortCode: string;
|
|
1281
|
+
runtime: string;
|
|
1282
|
+
runtimeVersion: string;
|
|
1283
|
+
git?: {
|
|
1284
|
+
dirty?: boolean | undefined;
|
|
1285
|
+
commitAuthorName?: string | undefined;
|
|
1286
|
+
commitMessage?: string | undefined;
|
|
1287
|
+
commitRef?: string | undefined;
|
|
1288
|
+
commitSha?: string | undefined;
|
|
1289
|
+
remoteUrl?: string | undefined;
|
|
1290
|
+
pullRequestNumber?: number | undefined;
|
|
1291
|
+
pullRequestTitle?: string | undefined;
|
|
1292
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1293
|
+
} | undefined;
|
|
1294
|
+
} | undefined;
|
|
1295
|
+
};
|
|
1296
|
+
}, {
|
|
1297
|
+
execution: {
|
|
1298
|
+
task: {
|
|
1299
|
+
id: string;
|
|
1300
|
+
filePath: string;
|
|
1301
|
+
} & {
|
|
1302
|
+
[k: string]: unknown;
|
|
1303
|
+
};
|
|
1212
1304
|
queue: {
|
|
1213
1305
|
name: string;
|
|
1214
1306
|
id: string;
|
|
@@ -1247,9 +1339,56 @@ export declare const WorkerApiRunAttemptStartResponseBody: z.ZodIntersection<z.Z
|
|
|
1247
1339
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
1248
1340
|
centsPerMs: number;
|
|
1249
1341
|
};
|
|
1342
|
+
attempt: {
|
|
1343
|
+
number: number;
|
|
1344
|
+
startedAt: Date;
|
|
1345
|
+
} & {
|
|
1346
|
+
[k: string]: unknown;
|
|
1347
|
+
};
|
|
1348
|
+
run: {
|
|
1349
|
+
payload: string;
|
|
1350
|
+
id: string;
|
|
1351
|
+
payloadType: string;
|
|
1352
|
+
tags: string[];
|
|
1353
|
+
createdAt: Date;
|
|
1354
|
+
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1355
|
+
isTest?: boolean | undefined;
|
|
1356
|
+
startedAt?: Date | undefined;
|
|
1357
|
+
idempotencyKey?: string | undefined;
|
|
1358
|
+
maxAttempts?: number | undefined;
|
|
1359
|
+
version?: string | undefined;
|
|
1360
|
+
maxDuration?: number | undefined;
|
|
1361
|
+
priority?: number | undefined;
|
|
1362
|
+
baseCostInCents?: number | undefined;
|
|
1363
|
+
parentTaskRunId?: string | undefined;
|
|
1364
|
+
rootTaskRunId?: string | undefined;
|
|
1365
|
+
durationMs?: number | undefined;
|
|
1366
|
+
costInCents?: number | undefined;
|
|
1367
|
+
region?: string | undefined;
|
|
1368
|
+
} & {
|
|
1369
|
+
traceContext?: Record<string, unknown> | undefined;
|
|
1370
|
+
};
|
|
1250
1371
|
batch?: {
|
|
1251
1372
|
id: string;
|
|
1252
1373
|
} | undefined;
|
|
1374
|
+
deployment?: {
|
|
1375
|
+
id: string;
|
|
1376
|
+
version: string;
|
|
1377
|
+
shortCode: string;
|
|
1378
|
+
runtime: string;
|
|
1379
|
+
runtimeVersion: string;
|
|
1380
|
+
git?: {
|
|
1381
|
+
dirty?: boolean | undefined;
|
|
1382
|
+
commitAuthorName?: string | undefined;
|
|
1383
|
+
commitMessage?: string | undefined;
|
|
1384
|
+
commitRef?: string | undefined;
|
|
1385
|
+
commitSha?: string | undefined;
|
|
1386
|
+
remoteUrl?: string | undefined;
|
|
1387
|
+
pullRequestNumber?: number | undefined;
|
|
1388
|
+
pullRequestTitle?: string | undefined;
|
|
1389
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1390
|
+
} | undefined;
|
|
1391
|
+
} | undefined;
|
|
1253
1392
|
};
|
|
1254
1393
|
}>>, z.ZodObject<{
|
|
1255
1394
|
envVars: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -1279,22 +1418,22 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1279
1418
|
type: z.ZodLiteral<"update">;
|
|
1280
1419
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1281
1420
|
}, "strip", z.ZodTypeAny, {
|
|
1282
|
-
type: "update";
|
|
1283
1421
|
value: Record<string, unknown>;
|
|
1284
|
-
}, {
|
|
1285
1422
|
type: "update";
|
|
1423
|
+
}, {
|
|
1286
1424
|
value: Record<string, unknown>;
|
|
1425
|
+
type: "update";
|
|
1287
1426
|
}>, z.ZodObject<{
|
|
1288
1427
|
type: z.ZodLiteral<"set">;
|
|
1289
1428
|
key: z.ZodString;
|
|
1290
1429
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1291
1430
|
}, "strip", z.ZodTypeAny, {
|
|
1292
|
-
type: "set";
|
|
1293
1431
|
value: import("../../../index.js").DeserializedJson;
|
|
1432
|
+
type: "set";
|
|
1294
1433
|
key: string;
|
|
1295
1434
|
}, {
|
|
1296
|
-
type: "set";
|
|
1297
1435
|
value: import("../../../index.js").DeserializedJson;
|
|
1436
|
+
type: "set";
|
|
1298
1437
|
key: string;
|
|
1299
1438
|
}>, z.ZodObject<{
|
|
1300
1439
|
type: z.ZodLiteral<"delete">;
|
|
@@ -1310,58 +1449,58 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1310
1449
|
key: z.ZodString;
|
|
1311
1450
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1312
1451
|
}, "strip", z.ZodTypeAny, {
|
|
1313
|
-
type: "append";
|
|
1314
1452
|
value: import("../../../index.js").DeserializedJson;
|
|
1453
|
+
type: "append";
|
|
1315
1454
|
key: string;
|
|
1316
1455
|
}, {
|
|
1317
|
-
type: "append";
|
|
1318
1456
|
value: import("../../../index.js").DeserializedJson;
|
|
1457
|
+
type: "append";
|
|
1319
1458
|
key: string;
|
|
1320
1459
|
}>, z.ZodObject<{
|
|
1321
1460
|
type: z.ZodLiteral<"remove">;
|
|
1322
1461
|
key: z.ZodString;
|
|
1323
1462
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1324
1463
|
}, "strip", z.ZodTypeAny, {
|
|
1325
|
-
type: "remove";
|
|
1326
1464
|
value: import("../../../index.js").DeserializedJson;
|
|
1465
|
+
type: "remove";
|
|
1327
1466
|
key: string;
|
|
1328
1467
|
}, {
|
|
1329
|
-
type: "remove";
|
|
1330
1468
|
value: import("../../../index.js").DeserializedJson;
|
|
1469
|
+
type: "remove";
|
|
1331
1470
|
key: string;
|
|
1332
1471
|
}>, z.ZodObject<{
|
|
1333
1472
|
type: z.ZodLiteral<"increment">;
|
|
1334
1473
|
key: z.ZodString;
|
|
1335
1474
|
value: z.ZodNumber;
|
|
1336
1475
|
}, "strip", z.ZodTypeAny, {
|
|
1337
|
-
type: "increment";
|
|
1338
1476
|
value: number;
|
|
1477
|
+
type: "increment";
|
|
1339
1478
|
key: string;
|
|
1340
1479
|
}, {
|
|
1341
|
-
type: "increment";
|
|
1342
1480
|
value: number;
|
|
1481
|
+
type: "increment";
|
|
1343
1482
|
key: string;
|
|
1344
1483
|
}>]>, "many">>;
|
|
1345
1484
|
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1346
1485
|
type: z.ZodLiteral<"update">;
|
|
1347
1486
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1348
1487
|
}, "strip", z.ZodTypeAny, {
|
|
1349
|
-
type: "update";
|
|
1350
1488
|
value: Record<string, unknown>;
|
|
1351
|
-
}, {
|
|
1352
1489
|
type: "update";
|
|
1490
|
+
}, {
|
|
1353
1491
|
value: Record<string, unknown>;
|
|
1492
|
+
type: "update";
|
|
1354
1493
|
}>, z.ZodObject<{
|
|
1355
1494
|
type: z.ZodLiteral<"set">;
|
|
1356
1495
|
key: z.ZodString;
|
|
1357
1496
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1358
1497
|
}, "strip", z.ZodTypeAny, {
|
|
1359
|
-
type: "set";
|
|
1360
1498
|
value: import("../../../index.js").DeserializedJson;
|
|
1499
|
+
type: "set";
|
|
1361
1500
|
key: string;
|
|
1362
1501
|
}, {
|
|
1363
|
-
type: "set";
|
|
1364
1502
|
value: import("../../../index.js").DeserializedJson;
|
|
1503
|
+
type: "set";
|
|
1365
1504
|
key: string;
|
|
1366
1505
|
}>, z.ZodObject<{
|
|
1367
1506
|
type: z.ZodLiteral<"delete">;
|
|
@@ -1377,58 +1516,58 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1377
1516
|
key: z.ZodString;
|
|
1378
1517
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1379
1518
|
}, "strip", z.ZodTypeAny, {
|
|
1380
|
-
type: "append";
|
|
1381
1519
|
value: import("../../../index.js").DeserializedJson;
|
|
1520
|
+
type: "append";
|
|
1382
1521
|
key: string;
|
|
1383
1522
|
}, {
|
|
1384
|
-
type: "append";
|
|
1385
1523
|
value: import("../../../index.js").DeserializedJson;
|
|
1524
|
+
type: "append";
|
|
1386
1525
|
key: string;
|
|
1387
1526
|
}>, z.ZodObject<{
|
|
1388
1527
|
type: z.ZodLiteral<"remove">;
|
|
1389
1528
|
key: z.ZodString;
|
|
1390
1529
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1391
1530
|
}, "strip", z.ZodTypeAny, {
|
|
1392
|
-
type: "remove";
|
|
1393
1531
|
value: import("../../../index.js").DeserializedJson;
|
|
1532
|
+
type: "remove";
|
|
1394
1533
|
key: string;
|
|
1395
1534
|
}, {
|
|
1396
|
-
type: "remove";
|
|
1397
1535
|
value: import("../../../index.js").DeserializedJson;
|
|
1536
|
+
type: "remove";
|
|
1398
1537
|
key: string;
|
|
1399
1538
|
}>, z.ZodObject<{
|
|
1400
1539
|
type: z.ZodLiteral<"increment">;
|
|
1401
1540
|
key: z.ZodString;
|
|
1402
1541
|
value: z.ZodNumber;
|
|
1403
1542
|
}, "strip", z.ZodTypeAny, {
|
|
1404
|
-
type: "increment";
|
|
1405
1543
|
value: number;
|
|
1544
|
+
type: "increment";
|
|
1406
1545
|
key: string;
|
|
1407
1546
|
}, {
|
|
1408
|
-
type: "increment";
|
|
1409
1547
|
value: number;
|
|
1548
|
+
type: "increment";
|
|
1410
1549
|
key: string;
|
|
1411
1550
|
}>]>, "many">>;
|
|
1412
1551
|
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1413
1552
|
type: z.ZodLiteral<"update">;
|
|
1414
1553
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1415
1554
|
}, "strip", z.ZodTypeAny, {
|
|
1416
|
-
type: "update";
|
|
1417
1555
|
value: Record<string, unknown>;
|
|
1418
|
-
}, {
|
|
1419
1556
|
type: "update";
|
|
1557
|
+
}, {
|
|
1420
1558
|
value: Record<string, unknown>;
|
|
1559
|
+
type: "update";
|
|
1421
1560
|
}>, z.ZodObject<{
|
|
1422
1561
|
type: z.ZodLiteral<"set">;
|
|
1423
1562
|
key: z.ZodString;
|
|
1424
1563
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1425
1564
|
}, "strip", z.ZodTypeAny, {
|
|
1426
|
-
type: "set";
|
|
1427
1565
|
value: import("../../../index.js").DeserializedJson;
|
|
1566
|
+
type: "set";
|
|
1428
1567
|
key: string;
|
|
1429
1568
|
}, {
|
|
1430
|
-
type: "set";
|
|
1431
1569
|
value: import("../../../index.js").DeserializedJson;
|
|
1570
|
+
type: "set";
|
|
1432
1571
|
key: string;
|
|
1433
1572
|
}>, z.ZodObject<{
|
|
1434
1573
|
type: z.ZodLiteral<"delete">;
|
|
@@ -1444,178 +1583,178 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1444
1583
|
key: z.ZodString;
|
|
1445
1584
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1446
1585
|
}, "strip", z.ZodTypeAny, {
|
|
1447
|
-
type: "append";
|
|
1448
1586
|
value: import("../../../index.js").DeserializedJson;
|
|
1587
|
+
type: "append";
|
|
1449
1588
|
key: string;
|
|
1450
1589
|
}, {
|
|
1451
|
-
type: "append";
|
|
1452
1590
|
value: import("../../../index.js").DeserializedJson;
|
|
1591
|
+
type: "append";
|
|
1453
1592
|
key: string;
|
|
1454
1593
|
}>, z.ZodObject<{
|
|
1455
1594
|
type: z.ZodLiteral<"remove">;
|
|
1456
1595
|
key: z.ZodString;
|
|
1457
1596
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1458
1597
|
}, "strip", z.ZodTypeAny, {
|
|
1459
|
-
type: "remove";
|
|
1460
1598
|
value: import("../../../index.js").DeserializedJson;
|
|
1599
|
+
type: "remove";
|
|
1461
1600
|
key: string;
|
|
1462
1601
|
}, {
|
|
1463
|
-
type: "remove";
|
|
1464
1602
|
value: import("../../../index.js").DeserializedJson;
|
|
1603
|
+
type: "remove";
|
|
1465
1604
|
key: string;
|
|
1466
1605
|
}>, z.ZodObject<{
|
|
1467
1606
|
type: z.ZodLiteral<"increment">;
|
|
1468
1607
|
key: z.ZodString;
|
|
1469
1608
|
value: z.ZodNumber;
|
|
1470
1609
|
}, "strip", z.ZodTypeAny, {
|
|
1471
|
-
type: "increment";
|
|
1472
1610
|
value: number;
|
|
1611
|
+
type: "increment";
|
|
1473
1612
|
key: string;
|
|
1474
1613
|
}, {
|
|
1475
|
-
type: "increment";
|
|
1476
1614
|
value: number;
|
|
1615
|
+
type: "increment";
|
|
1477
1616
|
key: string;
|
|
1478
1617
|
}>]>, "many">>;
|
|
1479
1618
|
}, "strip", z.ZodTypeAny, {
|
|
1480
1619
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1481
1620
|
operations?: ({
|
|
1482
|
-
type: "update";
|
|
1483
1621
|
value: Record<string, unknown>;
|
|
1622
|
+
type: "update";
|
|
1484
1623
|
} | {
|
|
1485
|
-
type: "set";
|
|
1486
1624
|
value: import("../../../index.js").DeserializedJson;
|
|
1625
|
+
type: "set";
|
|
1487
1626
|
key: string;
|
|
1488
1627
|
} | {
|
|
1489
1628
|
type: "delete";
|
|
1490
1629
|
key: string;
|
|
1491
1630
|
} | {
|
|
1492
|
-
type: "append";
|
|
1493
1631
|
value: import("../../../index.js").DeserializedJson;
|
|
1632
|
+
type: "append";
|
|
1494
1633
|
key: string;
|
|
1495
1634
|
} | {
|
|
1496
|
-
type: "remove";
|
|
1497
1635
|
value: import("../../../index.js").DeserializedJson;
|
|
1636
|
+
type: "remove";
|
|
1498
1637
|
key: string;
|
|
1499
1638
|
} | {
|
|
1500
|
-
type: "increment";
|
|
1501
1639
|
value: number;
|
|
1640
|
+
type: "increment";
|
|
1502
1641
|
key: string;
|
|
1503
1642
|
})[] | undefined;
|
|
1504
1643
|
parentOperations?: ({
|
|
1505
|
-
type: "update";
|
|
1506
1644
|
value: Record<string, unknown>;
|
|
1645
|
+
type: "update";
|
|
1507
1646
|
} | {
|
|
1508
|
-
type: "set";
|
|
1509
1647
|
value: import("../../../index.js").DeserializedJson;
|
|
1648
|
+
type: "set";
|
|
1510
1649
|
key: string;
|
|
1511
1650
|
} | {
|
|
1512
1651
|
type: "delete";
|
|
1513
1652
|
key: string;
|
|
1514
1653
|
} | {
|
|
1515
|
-
type: "append";
|
|
1516
1654
|
value: import("../../../index.js").DeserializedJson;
|
|
1655
|
+
type: "append";
|
|
1517
1656
|
key: string;
|
|
1518
1657
|
} | {
|
|
1519
|
-
type: "remove";
|
|
1520
1658
|
value: import("../../../index.js").DeserializedJson;
|
|
1659
|
+
type: "remove";
|
|
1521
1660
|
key: string;
|
|
1522
1661
|
} | {
|
|
1523
|
-
type: "increment";
|
|
1524
1662
|
value: number;
|
|
1663
|
+
type: "increment";
|
|
1525
1664
|
key: string;
|
|
1526
1665
|
})[] | undefined;
|
|
1527
1666
|
rootOperations?: ({
|
|
1528
|
-
type: "update";
|
|
1529
1667
|
value: Record<string, unknown>;
|
|
1668
|
+
type: "update";
|
|
1530
1669
|
} | {
|
|
1531
|
-
type: "set";
|
|
1532
1670
|
value: import("../../../index.js").DeserializedJson;
|
|
1671
|
+
type: "set";
|
|
1533
1672
|
key: string;
|
|
1534
1673
|
} | {
|
|
1535
1674
|
type: "delete";
|
|
1536
1675
|
key: string;
|
|
1537
1676
|
} | {
|
|
1538
|
-
type: "append";
|
|
1539
1677
|
value: import("../../../index.js").DeserializedJson;
|
|
1678
|
+
type: "append";
|
|
1540
1679
|
key: string;
|
|
1541
1680
|
} | {
|
|
1542
|
-
type: "remove";
|
|
1543
1681
|
value: import("../../../index.js").DeserializedJson;
|
|
1682
|
+
type: "remove";
|
|
1544
1683
|
key: string;
|
|
1545
1684
|
} | {
|
|
1546
|
-
type: "increment";
|
|
1547
1685
|
value: number;
|
|
1686
|
+
type: "increment";
|
|
1548
1687
|
key: string;
|
|
1549
1688
|
})[] | undefined;
|
|
1550
1689
|
}, {
|
|
1551
1690
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1552
1691
|
operations?: ({
|
|
1553
|
-
type: "update";
|
|
1554
1692
|
value: Record<string, unknown>;
|
|
1693
|
+
type: "update";
|
|
1555
1694
|
} | {
|
|
1556
|
-
type: "set";
|
|
1557
1695
|
value: import("../../../index.js").DeserializedJson;
|
|
1696
|
+
type: "set";
|
|
1558
1697
|
key: string;
|
|
1559
1698
|
} | {
|
|
1560
1699
|
type: "delete";
|
|
1561
1700
|
key: string;
|
|
1562
1701
|
} | {
|
|
1563
|
-
type: "append";
|
|
1564
1702
|
value: import("../../../index.js").DeserializedJson;
|
|
1703
|
+
type: "append";
|
|
1565
1704
|
key: string;
|
|
1566
1705
|
} | {
|
|
1567
|
-
type: "remove";
|
|
1568
1706
|
value: import("../../../index.js").DeserializedJson;
|
|
1707
|
+
type: "remove";
|
|
1569
1708
|
key: string;
|
|
1570
1709
|
} | {
|
|
1571
|
-
type: "increment";
|
|
1572
1710
|
value: number;
|
|
1711
|
+
type: "increment";
|
|
1573
1712
|
key: string;
|
|
1574
1713
|
})[] | undefined;
|
|
1575
1714
|
parentOperations?: ({
|
|
1576
|
-
type: "update";
|
|
1577
1715
|
value: Record<string, unknown>;
|
|
1716
|
+
type: "update";
|
|
1578
1717
|
} | {
|
|
1579
|
-
type: "set";
|
|
1580
1718
|
value: import("../../../index.js").DeserializedJson;
|
|
1719
|
+
type: "set";
|
|
1581
1720
|
key: string;
|
|
1582
1721
|
} | {
|
|
1583
1722
|
type: "delete";
|
|
1584
1723
|
key: string;
|
|
1585
1724
|
} | {
|
|
1586
|
-
type: "append";
|
|
1587
1725
|
value: import("../../../index.js").DeserializedJson;
|
|
1726
|
+
type: "append";
|
|
1588
1727
|
key: string;
|
|
1589
1728
|
} | {
|
|
1590
|
-
type: "remove";
|
|
1591
1729
|
value: import("../../../index.js").DeserializedJson;
|
|
1730
|
+
type: "remove";
|
|
1592
1731
|
key: string;
|
|
1593
1732
|
} | {
|
|
1594
|
-
type: "increment";
|
|
1595
1733
|
value: number;
|
|
1734
|
+
type: "increment";
|
|
1596
1735
|
key: string;
|
|
1597
1736
|
})[] | undefined;
|
|
1598
1737
|
rootOperations?: ({
|
|
1599
|
-
type: "update";
|
|
1600
1738
|
value: Record<string, unknown>;
|
|
1739
|
+
type: "update";
|
|
1601
1740
|
} | {
|
|
1602
|
-
type: "set";
|
|
1603
1741
|
value: import("../../../index.js").DeserializedJson;
|
|
1742
|
+
type: "set";
|
|
1604
1743
|
key: string;
|
|
1605
1744
|
} | {
|
|
1606
1745
|
type: "delete";
|
|
1607
1746
|
key: string;
|
|
1608
1747
|
} | {
|
|
1609
|
-
type: "append";
|
|
1610
1748
|
value: import("../../../index.js").DeserializedJson;
|
|
1749
|
+
type: "append";
|
|
1611
1750
|
key: string;
|
|
1612
1751
|
} | {
|
|
1613
|
-
type: "remove";
|
|
1614
1752
|
value: import("../../../index.js").DeserializedJson;
|
|
1753
|
+
type: "remove";
|
|
1615
1754
|
key: string;
|
|
1616
1755
|
} | {
|
|
1617
|
-
type: "increment";
|
|
1618
1756
|
value: number;
|
|
1757
|
+
type: "increment";
|
|
1619
1758
|
key: string;
|
|
1620
1759
|
})[] | undefined;
|
|
1621
1760
|
}>>;
|
|
@@ -1636,72 +1775,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1636
1775
|
metadata?: {
|
|
1637
1776
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1638
1777
|
operations?: ({
|
|
1639
|
-
type: "update";
|
|
1640
1778
|
value: Record<string, unknown>;
|
|
1779
|
+
type: "update";
|
|
1641
1780
|
} | {
|
|
1642
|
-
type: "set";
|
|
1643
1781
|
value: import("../../../index.js").DeserializedJson;
|
|
1782
|
+
type: "set";
|
|
1644
1783
|
key: string;
|
|
1645
1784
|
} | {
|
|
1646
1785
|
type: "delete";
|
|
1647
1786
|
key: string;
|
|
1648
1787
|
} | {
|
|
1649
|
-
type: "append";
|
|
1650
1788
|
value: import("../../../index.js").DeserializedJson;
|
|
1789
|
+
type: "append";
|
|
1651
1790
|
key: string;
|
|
1652
1791
|
} | {
|
|
1653
|
-
type: "remove";
|
|
1654
1792
|
value: import("../../../index.js").DeserializedJson;
|
|
1793
|
+
type: "remove";
|
|
1655
1794
|
key: string;
|
|
1656
1795
|
} | {
|
|
1657
|
-
type: "increment";
|
|
1658
1796
|
value: number;
|
|
1797
|
+
type: "increment";
|
|
1659
1798
|
key: string;
|
|
1660
1799
|
})[] | undefined;
|
|
1661
1800
|
parentOperations?: ({
|
|
1662
|
-
type: "update";
|
|
1663
1801
|
value: Record<string, unknown>;
|
|
1802
|
+
type: "update";
|
|
1664
1803
|
} | {
|
|
1665
|
-
type: "set";
|
|
1666
1804
|
value: import("../../../index.js").DeserializedJson;
|
|
1805
|
+
type: "set";
|
|
1667
1806
|
key: string;
|
|
1668
1807
|
} | {
|
|
1669
1808
|
type: "delete";
|
|
1670
1809
|
key: string;
|
|
1671
1810
|
} | {
|
|
1672
|
-
type: "append";
|
|
1673
1811
|
value: import("../../../index.js").DeserializedJson;
|
|
1812
|
+
type: "append";
|
|
1674
1813
|
key: string;
|
|
1675
1814
|
} | {
|
|
1676
|
-
type: "remove";
|
|
1677
1815
|
value: import("../../../index.js").DeserializedJson;
|
|
1816
|
+
type: "remove";
|
|
1678
1817
|
key: string;
|
|
1679
1818
|
} | {
|
|
1680
|
-
type: "increment";
|
|
1681
1819
|
value: number;
|
|
1820
|
+
type: "increment";
|
|
1682
1821
|
key: string;
|
|
1683
1822
|
})[] | undefined;
|
|
1684
1823
|
rootOperations?: ({
|
|
1685
|
-
type: "update";
|
|
1686
1824
|
value: Record<string, unknown>;
|
|
1825
|
+
type: "update";
|
|
1687
1826
|
} | {
|
|
1688
|
-
type: "set";
|
|
1689
1827
|
value: import("../../../index.js").DeserializedJson;
|
|
1828
|
+
type: "set";
|
|
1690
1829
|
key: string;
|
|
1691
1830
|
} | {
|
|
1692
1831
|
type: "delete";
|
|
1693
1832
|
key: string;
|
|
1694
1833
|
} | {
|
|
1695
|
-
type: "append";
|
|
1696
1834
|
value: import("../../../index.js").DeserializedJson;
|
|
1835
|
+
type: "append";
|
|
1697
1836
|
key: string;
|
|
1698
1837
|
} | {
|
|
1699
|
-
type: "remove";
|
|
1700
1838
|
value: import("../../../index.js").DeserializedJson;
|
|
1839
|
+
type: "remove";
|
|
1701
1840
|
key: string;
|
|
1702
1841
|
} | {
|
|
1703
|
-
type: "increment";
|
|
1704
1842
|
value: number;
|
|
1843
|
+
type: "increment";
|
|
1705
1844
|
key: string;
|
|
1706
1845
|
})[] | undefined;
|
|
1707
1846
|
} | undefined;
|
|
@@ -1721,72 +1860,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1721
1860
|
metadata?: {
|
|
1722
1861
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
1723
1862
|
operations?: ({
|
|
1724
|
-
type: "update";
|
|
1725
1863
|
value: Record<string, unknown>;
|
|
1864
|
+
type: "update";
|
|
1726
1865
|
} | {
|
|
1727
|
-
type: "set";
|
|
1728
1866
|
value: import("../../../index.js").DeserializedJson;
|
|
1867
|
+
type: "set";
|
|
1729
1868
|
key: string;
|
|
1730
1869
|
} | {
|
|
1731
1870
|
type: "delete";
|
|
1732
1871
|
key: string;
|
|
1733
1872
|
} | {
|
|
1734
|
-
type: "append";
|
|
1735
1873
|
value: import("../../../index.js").DeserializedJson;
|
|
1874
|
+
type: "append";
|
|
1736
1875
|
key: string;
|
|
1737
1876
|
} | {
|
|
1738
|
-
type: "remove";
|
|
1739
1877
|
value: import("../../../index.js").DeserializedJson;
|
|
1878
|
+
type: "remove";
|
|
1740
1879
|
key: string;
|
|
1741
1880
|
} | {
|
|
1742
|
-
type: "increment";
|
|
1743
1881
|
value: number;
|
|
1882
|
+
type: "increment";
|
|
1744
1883
|
key: string;
|
|
1745
1884
|
})[] | undefined;
|
|
1746
1885
|
parentOperations?: ({
|
|
1747
|
-
type: "update";
|
|
1748
1886
|
value: Record<string, unknown>;
|
|
1887
|
+
type: "update";
|
|
1749
1888
|
} | {
|
|
1750
|
-
type: "set";
|
|
1751
1889
|
value: import("../../../index.js").DeserializedJson;
|
|
1890
|
+
type: "set";
|
|
1752
1891
|
key: string;
|
|
1753
1892
|
} | {
|
|
1754
1893
|
type: "delete";
|
|
1755
1894
|
key: string;
|
|
1756
1895
|
} | {
|
|
1757
|
-
type: "append";
|
|
1758
1896
|
value: import("../../../index.js").DeserializedJson;
|
|
1897
|
+
type: "append";
|
|
1759
1898
|
key: string;
|
|
1760
1899
|
} | {
|
|
1761
|
-
type: "remove";
|
|
1762
1900
|
value: import("../../../index.js").DeserializedJson;
|
|
1901
|
+
type: "remove";
|
|
1763
1902
|
key: string;
|
|
1764
1903
|
} | {
|
|
1765
|
-
type: "increment";
|
|
1766
1904
|
value: number;
|
|
1905
|
+
type: "increment";
|
|
1767
1906
|
key: string;
|
|
1768
1907
|
})[] | undefined;
|
|
1769
1908
|
rootOperations?: ({
|
|
1770
|
-
type: "update";
|
|
1771
1909
|
value: Record<string, unknown>;
|
|
1910
|
+
type: "update";
|
|
1772
1911
|
} | {
|
|
1773
|
-
type: "set";
|
|
1774
1912
|
value: import("../../../index.js").DeserializedJson;
|
|
1913
|
+
type: "set";
|
|
1775
1914
|
key: string;
|
|
1776
1915
|
} | {
|
|
1777
1916
|
type: "delete";
|
|
1778
1917
|
key: string;
|
|
1779
1918
|
} | {
|
|
1780
|
-
type: "append";
|
|
1781
1919
|
value: import("../../../index.js").DeserializedJson;
|
|
1920
|
+
type: "append";
|
|
1782
1921
|
key: string;
|
|
1783
1922
|
} | {
|
|
1784
|
-
type: "remove";
|
|
1785
1923
|
value: import("../../../index.js").DeserializedJson;
|
|
1924
|
+
type: "remove";
|
|
1786
1925
|
key: string;
|
|
1787
1926
|
} | {
|
|
1788
|
-
type: "increment";
|
|
1789
1927
|
value: number;
|
|
1928
|
+
type: "increment";
|
|
1790
1929
|
key: string;
|
|
1791
1930
|
})[] | undefined;
|
|
1792
1931
|
} | undefined;
|
|
@@ -1879,22 +2018,22 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1879
2018
|
type: z.ZodLiteral<"update">;
|
|
1880
2019
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1881
2020
|
}, "strip", z.ZodTypeAny, {
|
|
1882
|
-
type: "update";
|
|
1883
2021
|
value: Record<string, unknown>;
|
|
1884
|
-
}, {
|
|
1885
2022
|
type: "update";
|
|
2023
|
+
}, {
|
|
1886
2024
|
value: Record<string, unknown>;
|
|
2025
|
+
type: "update";
|
|
1887
2026
|
}>, z.ZodObject<{
|
|
1888
2027
|
type: z.ZodLiteral<"set">;
|
|
1889
2028
|
key: z.ZodString;
|
|
1890
2029
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1891
2030
|
}, "strip", z.ZodTypeAny, {
|
|
1892
|
-
type: "set";
|
|
1893
2031
|
value: import("../../../index.js").DeserializedJson;
|
|
2032
|
+
type: "set";
|
|
1894
2033
|
key: string;
|
|
1895
2034
|
}, {
|
|
1896
|
-
type: "set";
|
|
1897
2035
|
value: import("../../../index.js").DeserializedJson;
|
|
2036
|
+
type: "set";
|
|
1898
2037
|
key: string;
|
|
1899
2038
|
}>, z.ZodObject<{
|
|
1900
2039
|
type: z.ZodLiteral<"delete">;
|
|
@@ -1910,58 +2049,58 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1910
2049
|
key: z.ZodString;
|
|
1911
2050
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1912
2051
|
}, "strip", z.ZodTypeAny, {
|
|
1913
|
-
type: "append";
|
|
1914
2052
|
value: import("../../../index.js").DeserializedJson;
|
|
2053
|
+
type: "append";
|
|
1915
2054
|
key: string;
|
|
1916
2055
|
}, {
|
|
1917
|
-
type: "append";
|
|
1918
2056
|
value: import("../../../index.js").DeserializedJson;
|
|
2057
|
+
type: "append";
|
|
1919
2058
|
key: string;
|
|
1920
2059
|
}>, z.ZodObject<{
|
|
1921
2060
|
type: z.ZodLiteral<"remove">;
|
|
1922
2061
|
key: z.ZodString;
|
|
1923
2062
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1924
2063
|
}, "strip", z.ZodTypeAny, {
|
|
1925
|
-
type: "remove";
|
|
1926
2064
|
value: import("../../../index.js").DeserializedJson;
|
|
2065
|
+
type: "remove";
|
|
1927
2066
|
key: string;
|
|
1928
2067
|
}, {
|
|
1929
|
-
type: "remove";
|
|
1930
2068
|
value: import("../../../index.js").DeserializedJson;
|
|
2069
|
+
type: "remove";
|
|
1931
2070
|
key: string;
|
|
1932
2071
|
}>, z.ZodObject<{
|
|
1933
2072
|
type: z.ZodLiteral<"increment">;
|
|
1934
2073
|
key: z.ZodString;
|
|
1935
2074
|
value: z.ZodNumber;
|
|
1936
2075
|
}, "strip", z.ZodTypeAny, {
|
|
1937
|
-
type: "increment";
|
|
1938
2076
|
value: number;
|
|
2077
|
+
type: "increment";
|
|
1939
2078
|
key: string;
|
|
1940
2079
|
}, {
|
|
1941
|
-
type: "increment";
|
|
1942
2080
|
value: number;
|
|
2081
|
+
type: "increment";
|
|
1943
2082
|
key: string;
|
|
1944
2083
|
}>]>, "many">>;
|
|
1945
2084
|
parentOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1946
2085
|
type: z.ZodLiteral<"update">;
|
|
1947
2086
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1948
2087
|
}, "strip", z.ZodTypeAny, {
|
|
1949
|
-
type: "update";
|
|
1950
2088
|
value: Record<string, unknown>;
|
|
1951
|
-
}, {
|
|
1952
2089
|
type: "update";
|
|
2090
|
+
}, {
|
|
1953
2091
|
value: Record<string, unknown>;
|
|
2092
|
+
type: "update";
|
|
1954
2093
|
}>, z.ZodObject<{
|
|
1955
2094
|
type: z.ZodLiteral<"set">;
|
|
1956
2095
|
key: z.ZodString;
|
|
1957
2096
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1958
2097
|
}, "strip", z.ZodTypeAny, {
|
|
1959
|
-
type: "set";
|
|
1960
2098
|
value: import("../../../index.js").DeserializedJson;
|
|
2099
|
+
type: "set";
|
|
1961
2100
|
key: string;
|
|
1962
2101
|
}, {
|
|
1963
|
-
type: "set";
|
|
1964
2102
|
value: import("../../../index.js").DeserializedJson;
|
|
2103
|
+
type: "set";
|
|
1965
2104
|
key: string;
|
|
1966
2105
|
}>, z.ZodObject<{
|
|
1967
2106
|
type: z.ZodLiteral<"delete">;
|
|
@@ -1977,58 +2116,58 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
1977
2116
|
key: z.ZodString;
|
|
1978
2117
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1979
2118
|
}, "strip", z.ZodTypeAny, {
|
|
1980
|
-
type: "append";
|
|
1981
2119
|
value: import("../../../index.js").DeserializedJson;
|
|
2120
|
+
type: "append";
|
|
1982
2121
|
key: string;
|
|
1983
2122
|
}, {
|
|
1984
|
-
type: "append";
|
|
1985
2123
|
value: import("../../../index.js").DeserializedJson;
|
|
2124
|
+
type: "append";
|
|
1986
2125
|
key: string;
|
|
1987
2126
|
}>, z.ZodObject<{
|
|
1988
2127
|
type: z.ZodLiteral<"remove">;
|
|
1989
2128
|
key: z.ZodString;
|
|
1990
2129
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
1991
2130
|
}, "strip", z.ZodTypeAny, {
|
|
1992
|
-
type: "remove";
|
|
1993
2131
|
value: import("../../../index.js").DeserializedJson;
|
|
2132
|
+
type: "remove";
|
|
1994
2133
|
key: string;
|
|
1995
2134
|
}, {
|
|
1996
|
-
type: "remove";
|
|
1997
2135
|
value: import("../../../index.js").DeserializedJson;
|
|
2136
|
+
type: "remove";
|
|
1998
2137
|
key: string;
|
|
1999
2138
|
}>, z.ZodObject<{
|
|
2000
2139
|
type: z.ZodLiteral<"increment">;
|
|
2001
2140
|
key: z.ZodString;
|
|
2002
2141
|
value: z.ZodNumber;
|
|
2003
2142
|
}, "strip", z.ZodTypeAny, {
|
|
2004
|
-
type: "increment";
|
|
2005
2143
|
value: number;
|
|
2144
|
+
type: "increment";
|
|
2006
2145
|
key: string;
|
|
2007
2146
|
}, {
|
|
2008
|
-
type: "increment";
|
|
2009
2147
|
value: number;
|
|
2148
|
+
type: "increment";
|
|
2010
2149
|
key: string;
|
|
2011
2150
|
}>]>, "many">>;
|
|
2012
2151
|
rootOperations: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2013
2152
|
type: z.ZodLiteral<"update">;
|
|
2014
2153
|
value: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2015
2154
|
}, "strip", z.ZodTypeAny, {
|
|
2016
|
-
type: "update";
|
|
2017
2155
|
value: Record<string, unknown>;
|
|
2018
|
-
}, {
|
|
2019
2156
|
type: "update";
|
|
2157
|
+
}, {
|
|
2020
2158
|
value: Record<string, unknown>;
|
|
2159
|
+
type: "update";
|
|
2021
2160
|
}>, z.ZodObject<{
|
|
2022
2161
|
type: z.ZodLiteral<"set">;
|
|
2023
2162
|
key: z.ZodString;
|
|
2024
2163
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2025
2164
|
}, "strip", z.ZodTypeAny, {
|
|
2026
|
-
type: "set";
|
|
2027
2165
|
value: import("../../../index.js").DeserializedJson;
|
|
2166
|
+
type: "set";
|
|
2028
2167
|
key: string;
|
|
2029
2168
|
}, {
|
|
2030
|
-
type: "set";
|
|
2031
2169
|
value: import("../../../index.js").DeserializedJson;
|
|
2170
|
+
type: "set";
|
|
2032
2171
|
key: string;
|
|
2033
2172
|
}>, z.ZodObject<{
|
|
2034
2173
|
type: z.ZodLiteral<"delete">;
|
|
@@ -2044,178 +2183,178 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2044
2183
|
key: z.ZodString;
|
|
2045
2184
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2046
2185
|
}, "strip", z.ZodTypeAny, {
|
|
2047
|
-
type: "append";
|
|
2048
2186
|
value: import("../../../index.js").DeserializedJson;
|
|
2187
|
+
type: "append";
|
|
2049
2188
|
key: string;
|
|
2050
2189
|
}, {
|
|
2051
|
-
type: "append";
|
|
2052
2190
|
value: import("../../../index.js").DeserializedJson;
|
|
2191
|
+
type: "append";
|
|
2053
2192
|
key: string;
|
|
2054
2193
|
}>, z.ZodObject<{
|
|
2055
2194
|
type: z.ZodLiteral<"remove">;
|
|
2056
2195
|
key: z.ZodString;
|
|
2057
2196
|
value: z.ZodType<import("../../../index.js").DeserializedJson, z.ZodTypeDef, import("../../../index.js").DeserializedJson>;
|
|
2058
2197
|
}, "strip", z.ZodTypeAny, {
|
|
2059
|
-
type: "remove";
|
|
2060
2198
|
value: import("../../../index.js").DeserializedJson;
|
|
2199
|
+
type: "remove";
|
|
2061
2200
|
key: string;
|
|
2062
2201
|
}, {
|
|
2063
|
-
type: "remove";
|
|
2064
2202
|
value: import("../../../index.js").DeserializedJson;
|
|
2203
|
+
type: "remove";
|
|
2065
2204
|
key: string;
|
|
2066
2205
|
}>, z.ZodObject<{
|
|
2067
2206
|
type: z.ZodLiteral<"increment">;
|
|
2068
2207
|
key: z.ZodString;
|
|
2069
2208
|
value: z.ZodNumber;
|
|
2070
2209
|
}, "strip", z.ZodTypeAny, {
|
|
2071
|
-
type: "increment";
|
|
2072
2210
|
value: number;
|
|
2211
|
+
type: "increment";
|
|
2073
2212
|
key: string;
|
|
2074
2213
|
}, {
|
|
2075
|
-
type: "increment";
|
|
2076
2214
|
value: number;
|
|
2215
|
+
type: "increment";
|
|
2077
2216
|
key: string;
|
|
2078
2217
|
}>]>, "many">>;
|
|
2079
2218
|
}, "strip", z.ZodTypeAny, {
|
|
2080
2219
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2081
2220
|
operations?: ({
|
|
2082
|
-
type: "update";
|
|
2083
2221
|
value: Record<string, unknown>;
|
|
2222
|
+
type: "update";
|
|
2084
2223
|
} | {
|
|
2085
|
-
type: "set";
|
|
2086
2224
|
value: import("../../../index.js").DeserializedJson;
|
|
2225
|
+
type: "set";
|
|
2087
2226
|
key: string;
|
|
2088
2227
|
} | {
|
|
2089
2228
|
type: "delete";
|
|
2090
2229
|
key: string;
|
|
2091
2230
|
} | {
|
|
2092
|
-
type: "append";
|
|
2093
2231
|
value: import("../../../index.js").DeserializedJson;
|
|
2232
|
+
type: "append";
|
|
2094
2233
|
key: string;
|
|
2095
2234
|
} | {
|
|
2096
|
-
type: "remove";
|
|
2097
2235
|
value: import("../../../index.js").DeserializedJson;
|
|
2236
|
+
type: "remove";
|
|
2098
2237
|
key: string;
|
|
2099
2238
|
} | {
|
|
2100
|
-
type: "increment";
|
|
2101
2239
|
value: number;
|
|
2240
|
+
type: "increment";
|
|
2102
2241
|
key: string;
|
|
2103
2242
|
})[] | undefined;
|
|
2104
2243
|
parentOperations?: ({
|
|
2105
|
-
type: "update";
|
|
2106
2244
|
value: Record<string, unknown>;
|
|
2245
|
+
type: "update";
|
|
2107
2246
|
} | {
|
|
2108
|
-
type: "set";
|
|
2109
2247
|
value: import("../../../index.js").DeserializedJson;
|
|
2248
|
+
type: "set";
|
|
2110
2249
|
key: string;
|
|
2111
2250
|
} | {
|
|
2112
2251
|
type: "delete";
|
|
2113
2252
|
key: string;
|
|
2114
2253
|
} | {
|
|
2115
|
-
type: "append";
|
|
2116
2254
|
value: import("../../../index.js").DeserializedJson;
|
|
2255
|
+
type: "append";
|
|
2117
2256
|
key: string;
|
|
2118
2257
|
} | {
|
|
2119
|
-
type: "remove";
|
|
2120
2258
|
value: import("../../../index.js").DeserializedJson;
|
|
2259
|
+
type: "remove";
|
|
2121
2260
|
key: string;
|
|
2122
2261
|
} | {
|
|
2123
|
-
type: "increment";
|
|
2124
2262
|
value: number;
|
|
2263
|
+
type: "increment";
|
|
2125
2264
|
key: string;
|
|
2126
2265
|
})[] | undefined;
|
|
2127
2266
|
rootOperations?: ({
|
|
2128
|
-
type: "update";
|
|
2129
2267
|
value: Record<string, unknown>;
|
|
2268
|
+
type: "update";
|
|
2130
2269
|
} | {
|
|
2131
|
-
type: "set";
|
|
2132
2270
|
value: import("../../../index.js").DeserializedJson;
|
|
2271
|
+
type: "set";
|
|
2133
2272
|
key: string;
|
|
2134
2273
|
} | {
|
|
2135
2274
|
type: "delete";
|
|
2136
2275
|
key: string;
|
|
2137
2276
|
} | {
|
|
2138
|
-
type: "append";
|
|
2139
2277
|
value: import("../../../index.js").DeserializedJson;
|
|
2278
|
+
type: "append";
|
|
2140
2279
|
key: string;
|
|
2141
2280
|
} | {
|
|
2142
|
-
type: "remove";
|
|
2143
2281
|
value: import("../../../index.js").DeserializedJson;
|
|
2282
|
+
type: "remove";
|
|
2144
2283
|
key: string;
|
|
2145
2284
|
} | {
|
|
2146
|
-
type: "increment";
|
|
2147
2285
|
value: number;
|
|
2286
|
+
type: "increment";
|
|
2148
2287
|
key: string;
|
|
2149
2288
|
})[] | undefined;
|
|
2150
2289
|
}, {
|
|
2151
2290
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2152
2291
|
operations?: ({
|
|
2153
|
-
type: "update";
|
|
2154
2292
|
value: Record<string, unknown>;
|
|
2293
|
+
type: "update";
|
|
2155
2294
|
} | {
|
|
2156
|
-
type: "set";
|
|
2157
2295
|
value: import("../../../index.js").DeserializedJson;
|
|
2296
|
+
type: "set";
|
|
2158
2297
|
key: string;
|
|
2159
2298
|
} | {
|
|
2160
2299
|
type: "delete";
|
|
2161
2300
|
key: string;
|
|
2162
2301
|
} | {
|
|
2163
|
-
type: "append";
|
|
2164
2302
|
value: import("../../../index.js").DeserializedJson;
|
|
2303
|
+
type: "append";
|
|
2165
2304
|
key: string;
|
|
2166
2305
|
} | {
|
|
2167
|
-
type: "remove";
|
|
2168
2306
|
value: import("../../../index.js").DeserializedJson;
|
|
2307
|
+
type: "remove";
|
|
2169
2308
|
key: string;
|
|
2170
2309
|
} | {
|
|
2171
|
-
type: "increment";
|
|
2172
2310
|
value: number;
|
|
2311
|
+
type: "increment";
|
|
2173
2312
|
key: string;
|
|
2174
2313
|
})[] | undefined;
|
|
2175
2314
|
parentOperations?: ({
|
|
2176
|
-
type: "update";
|
|
2177
2315
|
value: Record<string, unknown>;
|
|
2316
|
+
type: "update";
|
|
2178
2317
|
} | {
|
|
2179
|
-
type: "set";
|
|
2180
2318
|
value: import("../../../index.js").DeserializedJson;
|
|
2319
|
+
type: "set";
|
|
2181
2320
|
key: string;
|
|
2182
2321
|
} | {
|
|
2183
2322
|
type: "delete";
|
|
2184
2323
|
key: string;
|
|
2185
2324
|
} | {
|
|
2186
|
-
type: "append";
|
|
2187
2325
|
value: import("../../../index.js").DeserializedJson;
|
|
2326
|
+
type: "append";
|
|
2188
2327
|
key: string;
|
|
2189
2328
|
} | {
|
|
2190
|
-
type: "remove";
|
|
2191
2329
|
value: import("../../../index.js").DeserializedJson;
|
|
2330
|
+
type: "remove";
|
|
2192
2331
|
key: string;
|
|
2193
2332
|
} | {
|
|
2194
|
-
type: "increment";
|
|
2195
2333
|
value: number;
|
|
2334
|
+
type: "increment";
|
|
2196
2335
|
key: string;
|
|
2197
2336
|
})[] | undefined;
|
|
2198
2337
|
rootOperations?: ({
|
|
2199
|
-
type: "update";
|
|
2200
2338
|
value: Record<string, unknown>;
|
|
2339
|
+
type: "update";
|
|
2201
2340
|
} | {
|
|
2202
|
-
type: "set";
|
|
2203
2341
|
value: import("../../../index.js").DeserializedJson;
|
|
2342
|
+
type: "set";
|
|
2204
2343
|
key: string;
|
|
2205
2344
|
} | {
|
|
2206
2345
|
type: "delete";
|
|
2207
2346
|
key: string;
|
|
2208
2347
|
} | {
|
|
2209
|
-
type: "append";
|
|
2210
2348
|
value: import("../../../index.js").DeserializedJson;
|
|
2349
|
+
type: "append";
|
|
2211
2350
|
key: string;
|
|
2212
2351
|
} | {
|
|
2213
|
-
type: "remove";
|
|
2214
2352
|
value: import("../../../index.js").DeserializedJson;
|
|
2353
|
+
type: "remove";
|
|
2215
2354
|
key: string;
|
|
2216
2355
|
} | {
|
|
2217
|
-
type: "increment";
|
|
2218
2356
|
value: number;
|
|
2357
|
+
type: "increment";
|
|
2219
2358
|
key: string;
|
|
2220
2359
|
})[] | undefined;
|
|
2221
2360
|
}>>;
|
|
@@ -2252,72 +2391,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2252
2391
|
metadata?: {
|
|
2253
2392
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2254
2393
|
operations?: ({
|
|
2255
|
-
type: "update";
|
|
2256
2394
|
value: Record<string, unknown>;
|
|
2395
|
+
type: "update";
|
|
2257
2396
|
} | {
|
|
2258
|
-
type: "set";
|
|
2259
2397
|
value: import("../../../index.js").DeserializedJson;
|
|
2398
|
+
type: "set";
|
|
2260
2399
|
key: string;
|
|
2261
2400
|
} | {
|
|
2262
2401
|
type: "delete";
|
|
2263
2402
|
key: string;
|
|
2264
2403
|
} | {
|
|
2265
|
-
type: "append";
|
|
2266
2404
|
value: import("../../../index.js").DeserializedJson;
|
|
2405
|
+
type: "append";
|
|
2267
2406
|
key: string;
|
|
2268
2407
|
} | {
|
|
2269
|
-
type: "remove";
|
|
2270
2408
|
value: import("../../../index.js").DeserializedJson;
|
|
2409
|
+
type: "remove";
|
|
2271
2410
|
key: string;
|
|
2272
2411
|
} | {
|
|
2273
|
-
type: "increment";
|
|
2274
2412
|
value: number;
|
|
2413
|
+
type: "increment";
|
|
2275
2414
|
key: string;
|
|
2276
2415
|
})[] | undefined;
|
|
2277
2416
|
parentOperations?: ({
|
|
2278
|
-
type: "update";
|
|
2279
2417
|
value: Record<string, unknown>;
|
|
2418
|
+
type: "update";
|
|
2280
2419
|
} | {
|
|
2281
|
-
type: "set";
|
|
2282
2420
|
value: import("../../../index.js").DeserializedJson;
|
|
2421
|
+
type: "set";
|
|
2283
2422
|
key: string;
|
|
2284
2423
|
} | {
|
|
2285
2424
|
type: "delete";
|
|
2286
2425
|
key: string;
|
|
2287
2426
|
} | {
|
|
2288
|
-
type: "append";
|
|
2289
2427
|
value: import("../../../index.js").DeserializedJson;
|
|
2428
|
+
type: "append";
|
|
2290
2429
|
key: string;
|
|
2291
2430
|
} | {
|
|
2292
|
-
type: "remove";
|
|
2293
2431
|
value: import("../../../index.js").DeserializedJson;
|
|
2432
|
+
type: "remove";
|
|
2294
2433
|
key: string;
|
|
2295
2434
|
} | {
|
|
2296
|
-
type: "increment";
|
|
2297
2435
|
value: number;
|
|
2436
|
+
type: "increment";
|
|
2298
2437
|
key: string;
|
|
2299
2438
|
})[] | undefined;
|
|
2300
2439
|
rootOperations?: ({
|
|
2301
|
-
type: "update";
|
|
2302
2440
|
value: Record<string, unknown>;
|
|
2441
|
+
type: "update";
|
|
2303
2442
|
} | {
|
|
2304
|
-
type: "set";
|
|
2305
2443
|
value: import("../../../index.js").DeserializedJson;
|
|
2444
|
+
type: "set";
|
|
2306
2445
|
key: string;
|
|
2307
2446
|
} | {
|
|
2308
2447
|
type: "delete";
|
|
2309
2448
|
key: string;
|
|
2310
2449
|
} | {
|
|
2311
|
-
type: "append";
|
|
2312
2450
|
value: import("../../../index.js").DeserializedJson;
|
|
2451
|
+
type: "append";
|
|
2313
2452
|
key: string;
|
|
2314
2453
|
} | {
|
|
2315
|
-
type: "remove";
|
|
2316
2454
|
value: import("../../../index.js").DeserializedJson;
|
|
2455
|
+
type: "remove";
|
|
2317
2456
|
key: string;
|
|
2318
2457
|
} | {
|
|
2319
|
-
type: "increment";
|
|
2320
2458
|
value: number;
|
|
2459
|
+
type: "increment";
|
|
2321
2460
|
key: string;
|
|
2322
2461
|
})[] | undefined;
|
|
2323
2462
|
} | undefined;
|
|
@@ -2358,72 +2497,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2358
2497
|
metadata?: {
|
|
2359
2498
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2360
2499
|
operations?: ({
|
|
2361
|
-
type: "update";
|
|
2362
2500
|
value: Record<string, unknown>;
|
|
2501
|
+
type: "update";
|
|
2363
2502
|
} | {
|
|
2364
|
-
type: "set";
|
|
2365
2503
|
value: import("../../../index.js").DeserializedJson;
|
|
2504
|
+
type: "set";
|
|
2366
2505
|
key: string;
|
|
2367
2506
|
} | {
|
|
2368
2507
|
type: "delete";
|
|
2369
2508
|
key: string;
|
|
2370
2509
|
} | {
|
|
2371
|
-
type: "append";
|
|
2372
2510
|
value: import("../../../index.js").DeserializedJson;
|
|
2511
|
+
type: "append";
|
|
2373
2512
|
key: string;
|
|
2374
2513
|
} | {
|
|
2375
|
-
type: "remove";
|
|
2376
2514
|
value: import("../../../index.js").DeserializedJson;
|
|
2515
|
+
type: "remove";
|
|
2377
2516
|
key: string;
|
|
2378
2517
|
} | {
|
|
2379
|
-
type: "increment";
|
|
2380
2518
|
value: number;
|
|
2519
|
+
type: "increment";
|
|
2381
2520
|
key: string;
|
|
2382
2521
|
})[] | undefined;
|
|
2383
2522
|
parentOperations?: ({
|
|
2384
|
-
type: "update";
|
|
2385
2523
|
value: Record<string, unknown>;
|
|
2524
|
+
type: "update";
|
|
2386
2525
|
} | {
|
|
2387
|
-
type: "set";
|
|
2388
2526
|
value: import("../../../index.js").DeserializedJson;
|
|
2527
|
+
type: "set";
|
|
2389
2528
|
key: string;
|
|
2390
2529
|
} | {
|
|
2391
2530
|
type: "delete";
|
|
2392
2531
|
key: string;
|
|
2393
2532
|
} | {
|
|
2394
|
-
type: "append";
|
|
2395
2533
|
value: import("../../../index.js").DeserializedJson;
|
|
2534
|
+
type: "append";
|
|
2396
2535
|
key: string;
|
|
2397
2536
|
} | {
|
|
2398
|
-
type: "remove";
|
|
2399
2537
|
value: import("../../../index.js").DeserializedJson;
|
|
2538
|
+
type: "remove";
|
|
2400
2539
|
key: string;
|
|
2401
2540
|
} | {
|
|
2402
|
-
type: "increment";
|
|
2403
2541
|
value: number;
|
|
2542
|
+
type: "increment";
|
|
2404
2543
|
key: string;
|
|
2405
2544
|
})[] | undefined;
|
|
2406
2545
|
rootOperations?: ({
|
|
2407
|
-
type: "update";
|
|
2408
2546
|
value: Record<string, unknown>;
|
|
2547
|
+
type: "update";
|
|
2409
2548
|
} | {
|
|
2410
|
-
type: "set";
|
|
2411
2549
|
value: import("../../../index.js").DeserializedJson;
|
|
2550
|
+
type: "set";
|
|
2412
2551
|
key: string;
|
|
2413
2552
|
} | {
|
|
2414
2553
|
type: "delete";
|
|
2415
2554
|
key: string;
|
|
2416
2555
|
} | {
|
|
2417
|
-
type: "append";
|
|
2418
2556
|
value: import("../../../index.js").DeserializedJson;
|
|
2557
|
+
type: "append";
|
|
2419
2558
|
key: string;
|
|
2420
2559
|
} | {
|
|
2421
|
-
type: "remove";
|
|
2422
2560
|
value: import("../../../index.js").DeserializedJson;
|
|
2561
|
+
type: "remove";
|
|
2423
2562
|
key: string;
|
|
2424
2563
|
} | {
|
|
2425
|
-
type: "increment";
|
|
2426
2564
|
value: number;
|
|
2565
|
+
type: "increment";
|
|
2427
2566
|
key: string;
|
|
2428
2567
|
})[] | undefined;
|
|
2429
2568
|
} | undefined;
|
|
@@ -2466,72 +2605,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2466
2605
|
metadata?: {
|
|
2467
2606
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2468
2607
|
operations?: ({
|
|
2469
|
-
type: "update";
|
|
2470
2608
|
value: Record<string, unknown>;
|
|
2609
|
+
type: "update";
|
|
2471
2610
|
} | {
|
|
2472
|
-
type: "set";
|
|
2473
2611
|
value: import("../../../index.js").DeserializedJson;
|
|
2612
|
+
type: "set";
|
|
2474
2613
|
key: string;
|
|
2475
2614
|
} | {
|
|
2476
2615
|
type: "delete";
|
|
2477
2616
|
key: string;
|
|
2478
2617
|
} | {
|
|
2479
|
-
type: "append";
|
|
2480
2618
|
value: import("../../../index.js").DeserializedJson;
|
|
2619
|
+
type: "append";
|
|
2481
2620
|
key: string;
|
|
2482
2621
|
} | {
|
|
2483
|
-
type: "remove";
|
|
2484
2622
|
value: import("../../../index.js").DeserializedJson;
|
|
2623
|
+
type: "remove";
|
|
2485
2624
|
key: string;
|
|
2486
2625
|
} | {
|
|
2487
|
-
type: "increment";
|
|
2488
2626
|
value: number;
|
|
2627
|
+
type: "increment";
|
|
2489
2628
|
key: string;
|
|
2490
2629
|
})[] | undefined;
|
|
2491
2630
|
parentOperations?: ({
|
|
2492
|
-
type: "update";
|
|
2493
2631
|
value: Record<string, unknown>;
|
|
2632
|
+
type: "update";
|
|
2494
2633
|
} | {
|
|
2495
|
-
type: "set";
|
|
2496
2634
|
value: import("../../../index.js").DeserializedJson;
|
|
2635
|
+
type: "set";
|
|
2497
2636
|
key: string;
|
|
2498
2637
|
} | {
|
|
2499
2638
|
type: "delete";
|
|
2500
2639
|
key: string;
|
|
2501
2640
|
} | {
|
|
2502
|
-
type: "append";
|
|
2503
2641
|
value: import("../../../index.js").DeserializedJson;
|
|
2642
|
+
type: "append";
|
|
2504
2643
|
key: string;
|
|
2505
2644
|
} | {
|
|
2506
|
-
type: "remove";
|
|
2507
2645
|
value: import("../../../index.js").DeserializedJson;
|
|
2646
|
+
type: "remove";
|
|
2508
2647
|
key: string;
|
|
2509
2648
|
} | {
|
|
2510
|
-
type: "increment";
|
|
2511
2649
|
value: number;
|
|
2650
|
+
type: "increment";
|
|
2512
2651
|
key: string;
|
|
2513
2652
|
})[] | undefined;
|
|
2514
2653
|
rootOperations?: ({
|
|
2515
|
-
type: "update";
|
|
2516
2654
|
value: Record<string, unknown>;
|
|
2655
|
+
type: "update";
|
|
2517
2656
|
} | {
|
|
2518
|
-
type: "set";
|
|
2519
2657
|
value: import("../../../index.js").DeserializedJson;
|
|
2658
|
+
type: "set";
|
|
2520
2659
|
key: string;
|
|
2521
2660
|
} | {
|
|
2522
2661
|
type: "delete";
|
|
2523
2662
|
key: string;
|
|
2524
2663
|
} | {
|
|
2525
|
-
type: "append";
|
|
2526
2664
|
value: import("../../../index.js").DeserializedJson;
|
|
2665
|
+
type: "append";
|
|
2527
2666
|
key: string;
|
|
2528
2667
|
} | {
|
|
2529
|
-
type: "remove";
|
|
2530
2668
|
value: import("../../../index.js").DeserializedJson;
|
|
2669
|
+
type: "remove";
|
|
2531
2670
|
key: string;
|
|
2532
2671
|
} | {
|
|
2533
|
-
type: "increment";
|
|
2534
2672
|
value: number;
|
|
2673
|
+
type: "increment";
|
|
2535
2674
|
key: string;
|
|
2536
2675
|
})[] | undefined;
|
|
2537
2676
|
} | undefined;
|
|
@@ -2556,72 +2695,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2556
2695
|
metadata?: {
|
|
2557
2696
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2558
2697
|
operations?: ({
|
|
2559
|
-
type: "update";
|
|
2560
2698
|
value: Record<string, unknown>;
|
|
2699
|
+
type: "update";
|
|
2561
2700
|
} | {
|
|
2562
|
-
type: "set";
|
|
2563
2701
|
value: import("../../../index.js").DeserializedJson;
|
|
2702
|
+
type: "set";
|
|
2564
2703
|
key: string;
|
|
2565
2704
|
} | {
|
|
2566
2705
|
type: "delete";
|
|
2567
2706
|
key: string;
|
|
2568
2707
|
} | {
|
|
2569
|
-
type: "append";
|
|
2570
2708
|
value: import("../../../index.js").DeserializedJson;
|
|
2709
|
+
type: "append";
|
|
2571
2710
|
key: string;
|
|
2572
2711
|
} | {
|
|
2573
|
-
type: "remove";
|
|
2574
2712
|
value: import("../../../index.js").DeserializedJson;
|
|
2713
|
+
type: "remove";
|
|
2575
2714
|
key: string;
|
|
2576
2715
|
} | {
|
|
2577
|
-
type: "increment";
|
|
2578
2716
|
value: number;
|
|
2717
|
+
type: "increment";
|
|
2579
2718
|
key: string;
|
|
2580
2719
|
})[] | undefined;
|
|
2581
2720
|
parentOperations?: ({
|
|
2582
|
-
type: "update";
|
|
2583
2721
|
value: Record<string, unknown>;
|
|
2722
|
+
type: "update";
|
|
2584
2723
|
} | {
|
|
2585
|
-
type: "set";
|
|
2586
2724
|
value: import("../../../index.js").DeserializedJson;
|
|
2725
|
+
type: "set";
|
|
2587
2726
|
key: string;
|
|
2588
2727
|
} | {
|
|
2589
2728
|
type: "delete";
|
|
2590
2729
|
key: string;
|
|
2591
2730
|
} | {
|
|
2592
|
-
type: "append";
|
|
2593
2731
|
value: import("../../../index.js").DeserializedJson;
|
|
2732
|
+
type: "append";
|
|
2594
2733
|
key: string;
|
|
2595
2734
|
} | {
|
|
2596
|
-
type: "remove";
|
|
2597
2735
|
value: import("../../../index.js").DeserializedJson;
|
|
2736
|
+
type: "remove";
|
|
2598
2737
|
key: string;
|
|
2599
2738
|
} | {
|
|
2600
|
-
type: "increment";
|
|
2601
2739
|
value: number;
|
|
2740
|
+
type: "increment";
|
|
2602
2741
|
key: string;
|
|
2603
2742
|
})[] | undefined;
|
|
2604
2743
|
rootOperations?: ({
|
|
2605
|
-
type: "update";
|
|
2606
2744
|
value: Record<string, unknown>;
|
|
2745
|
+
type: "update";
|
|
2607
2746
|
} | {
|
|
2608
|
-
type: "set";
|
|
2609
2747
|
value: import("../../../index.js").DeserializedJson;
|
|
2748
|
+
type: "set";
|
|
2610
2749
|
key: string;
|
|
2611
2750
|
} | {
|
|
2612
2751
|
type: "delete";
|
|
2613
2752
|
key: string;
|
|
2614
2753
|
} | {
|
|
2615
|
-
type: "append";
|
|
2616
2754
|
value: import("../../../index.js").DeserializedJson;
|
|
2755
|
+
type: "append";
|
|
2617
2756
|
key: string;
|
|
2618
2757
|
} | {
|
|
2619
|
-
type: "remove";
|
|
2620
2758
|
value: import("../../../index.js").DeserializedJson;
|
|
2759
|
+
type: "remove";
|
|
2621
2760
|
key: string;
|
|
2622
2761
|
} | {
|
|
2623
|
-
type: "increment";
|
|
2624
2762
|
value: number;
|
|
2763
|
+
type: "increment";
|
|
2625
2764
|
key: string;
|
|
2626
2765
|
})[] | undefined;
|
|
2627
2766
|
} | undefined;
|
|
@@ -2659,72 +2798,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2659
2798
|
metadata?: {
|
|
2660
2799
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2661
2800
|
operations?: ({
|
|
2662
|
-
type: "update";
|
|
2663
2801
|
value: Record<string, unknown>;
|
|
2802
|
+
type: "update";
|
|
2664
2803
|
} | {
|
|
2665
|
-
type: "set";
|
|
2666
2804
|
value: import("../../../index.js").DeserializedJson;
|
|
2805
|
+
type: "set";
|
|
2667
2806
|
key: string;
|
|
2668
2807
|
} | {
|
|
2669
2808
|
type: "delete";
|
|
2670
2809
|
key: string;
|
|
2671
2810
|
} | {
|
|
2672
|
-
type: "append";
|
|
2673
2811
|
value: import("../../../index.js").DeserializedJson;
|
|
2812
|
+
type: "append";
|
|
2674
2813
|
key: string;
|
|
2675
2814
|
} | {
|
|
2676
|
-
type: "remove";
|
|
2677
2815
|
value: import("../../../index.js").DeserializedJson;
|
|
2816
|
+
type: "remove";
|
|
2678
2817
|
key: string;
|
|
2679
2818
|
} | {
|
|
2680
|
-
type: "increment";
|
|
2681
2819
|
value: number;
|
|
2820
|
+
type: "increment";
|
|
2682
2821
|
key: string;
|
|
2683
2822
|
})[] | undefined;
|
|
2684
2823
|
parentOperations?: ({
|
|
2685
|
-
type: "update";
|
|
2686
2824
|
value: Record<string, unknown>;
|
|
2825
|
+
type: "update";
|
|
2687
2826
|
} | {
|
|
2688
|
-
type: "set";
|
|
2689
2827
|
value: import("../../../index.js").DeserializedJson;
|
|
2828
|
+
type: "set";
|
|
2690
2829
|
key: string;
|
|
2691
2830
|
} | {
|
|
2692
2831
|
type: "delete";
|
|
2693
2832
|
key: string;
|
|
2694
2833
|
} | {
|
|
2695
|
-
type: "append";
|
|
2696
2834
|
value: import("../../../index.js").DeserializedJson;
|
|
2835
|
+
type: "append";
|
|
2697
2836
|
key: string;
|
|
2698
2837
|
} | {
|
|
2699
|
-
type: "remove";
|
|
2700
2838
|
value: import("../../../index.js").DeserializedJson;
|
|
2839
|
+
type: "remove";
|
|
2701
2840
|
key: string;
|
|
2702
2841
|
} | {
|
|
2703
|
-
type: "increment";
|
|
2704
2842
|
value: number;
|
|
2843
|
+
type: "increment";
|
|
2705
2844
|
key: string;
|
|
2706
2845
|
})[] | undefined;
|
|
2707
2846
|
rootOperations?: ({
|
|
2708
|
-
type: "update";
|
|
2709
2847
|
value: Record<string, unknown>;
|
|
2848
|
+
type: "update";
|
|
2710
2849
|
} | {
|
|
2711
|
-
type: "set";
|
|
2712
2850
|
value: import("../../../index.js").DeserializedJson;
|
|
2851
|
+
type: "set";
|
|
2713
2852
|
key: string;
|
|
2714
2853
|
} | {
|
|
2715
2854
|
type: "delete";
|
|
2716
2855
|
key: string;
|
|
2717
2856
|
} | {
|
|
2718
|
-
type: "append";
|
|
2719
2857
|
value: import("../../../index.js").DeserializedJson;
|
|
2858
|
+
type: "append";
|
|
2720
2859
|
key: string;
|
|
2721
2860
|
} | {
|
|
2722
|
-
type: "remove";
|
|
2723
2861
|
value: import("../../../index.js").DeserializedJson;
|
|
2862
|
+
type: "remove";
|
|
2724
2863
|
key: string;
|
|
2725
2864
|
} | {
|
|
2726
|
-
type: "increment";
|
|
2727
2865
|
value: number;
|
|
2866
|
+
type: "increment";
|
|
2728
2867
|
key: string;
|
|
2729
2868
|
})[] | undefined;
|
|
2730
2869
|
} | undefined;
|
|
@@ -2749,72 +2888,72 @@ export declare const WorkerApiRunAttemptCompleteRequestBody: z.ZodObject<{
|
|
|
2749
2888
|
metadata?: {
|
|
2750
2889
|
metadata?: Record<string, import("../../../index.js").DeserializedJson> | undefined;
|
|
2751
2890
|
operations?: ({
|
|
2752
|
-
type: "update";
|
|
2753
2891
|
value: Record<string, unknown>;
|
|
2892
|
+
type: "update";
|
|
2754
2893
|
} | {
|
|
2755
|
-
type: "set";
|
|
2756
2894
|
value: import("../../../index.js").DeserializedJson;
|
|
2895
|
+
type: "set";
|
|
2757
2896
|
key: string;
|
|
2758
2897
|
} | {
|
|
2759
2898
|
type: "delete";
|
|
2760
2899
|
key: string;
|
|
2761
2900
|
} | {
|
|
2762
|
-
type: "append";
|
|
2763
2901
|
value: import("../../../index.js").DeserializedJson;
|
|
2902
|
+
type: "append";
|
|
2764
2903
|
key: string;
|
|
2765
2904
|
} | {
|
|
2766
|
-
type: "remove";
|
|
2767
2905
|
value: import("../../../index.js").DeserializedJson;
|
|
2906
|
+
type: "remove";
|
|
2768
2907
|
key: string;
|
|
2769
2908
|
} | {
|
|
2770
|
-
type: "increment";
|
|
2771
2909
|
value: number;
|
|
2910
|
+
type: "increment";
|
|
2772
2911
|
key: string;
|
|
2773
2912
|
})[] | undefined;
|
|
2774
2913
|
parentOperations?: ({
|
|
2775
|
-
type: "update";
|
|
2776
2914
|
value: Record<string, unknown>;
|
|
2915
|
+
type: "update";
|
|
2777
2916
|
} | {
|
|
2778
|
-
type: "set";
|
|
2779
2917
|
value: import("../../../index.js").DeserializedJson;
|
|
2918
|
+
type: "set";
|
|
2780
2919
|
key: string;
|
|
2781
2920
|
} | {
|
|
2782
2921
|
type: "delete";
|
|
2783
2922
|
key: string;
|
|
2784
2923
|
} | {
|
|
2785
|
-
type: "append";
|
|
2786
2924
|
value: import("../../../index.js").DeserializedJson;
|
|
2925
|
+
type: "append";
|
|
2787
2926
|
key: string;
|
|
2788
2927
|
} | {
|
|
2789
|
-
type: "remove";
|
|
2790
2928
|
value: import("../../../index.js").DeserializedJson;
|
|
2929
|
+
type: "remove";
|
|
2791
2930
|
key: string;
|
|
2792
2931
|
} | {
|
|
2793
|
-
type: "increment";
|
|
2794
2932
|
value: number;
|
|
2933
|
+
type: "increment";
|
|
2795
2934
|
key: string;
|
|
2796
2935
|
})[] | undefined;
|
|
2797
2936
|
rootOperations?: ({
|
|
2798
|
-
type: "update";
|
|
2799
2937
|
value: Record<string, unknown>;
|
|
2938
|
+
type: "update";
|
|
2800
2939
|
} | {
|
|
2801
|
-
type: "set";
|
|
2802
2940
|
value: import("../../../index.js").DeserializedJson;
|
|
2941
|
+
type: "set";
|
|
2803
2942
|
key: string;
|
|
2804
2943
|
} | {
|
|
2805
2944
|
type: "delete";
|
|
2806
2945
|
key: string;
|
|
2807
2946
|
} | {
|
|
2808
|
-
type: "append";
|
|
2809
2947
|
value: import("../../../index.js").DeserializedJson;
|
|
2948
|
+
type: "append";
|
|
2810
2949
|
key: string;
|
|
2811
2950
|
} | {
|
|
2812
|
-
type: "remove";
|
|
2813
2951
|
value: import("../../../index.js").DeserializedJson;
|
|
2952
|
+
type: "remove";
|
|
2814
2953
|
key: string;
|
|
2815
2954
|
} | {
|
|
2816
|
-
type: "increment";
|
|
2817
2955
|
value: number;
|
|
2956
|
+
type: "increment";
|
|
2818
2957
|
key: string;
|
|
2819
2958
|
})[] | undefined;
|
|
2820
2959
|
} | undefined;
|
|
@@ -2988,15 +3127,15 @@ export declare const WorkerApiRunLatestSnapshotResponseBody: z.ZodObject<{
|
|
|
2988
3127
|
id: string;
|
|
2989
3128
|
friendlyId: string;
|
|
2990
3129
|
}>>;
|
|
2991
|
-
checkpoint: z.ZodOptional<z.ZodObject<
|
|
3130
|
+
checkpoint: z.ZodOptional<z.ZodObject<{
|
|
2992
3131
|
type: z.ZodEnum<[import("../../schemas/runEngine.js").CheckpointTypeEnum]>;
|
|
2993
3132
|
location: z.ZodString;
|
|
2994
3133
|
imageRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2995
3134
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2996
|
-
}
|
|
3135
|
+
} & {
|
|
2997
3136
|
id: z.ZodString;
|
|
2998
3137
|
friendlyId: z.ZodString;
|
|
2999
|
-
}
|
|
3138
|
+
}, "strip", z.ZodTypeAny, {
|
|
3000
3139
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
3001
3140
|
id: string;
|
|
3002
3141
|
friendlyId: string;
|
|
@@ -3508,26 +3647,26 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3508
3647
|
}, "strip", z.ZodTypeAny, {
|
|
3509
3648
|
id: string;
|
|
3510
3649
|
isTest: boolean;
|
|
3511
|
-
traceContext: Record<string, unknown>;
|
|
3512
3650
|
machine: {
|
|
3513
3651
|
cpu: number;
|
|
3514
3652
|
memory: number;
|
|
3515
3653
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3516
3654
|
centsPerMs: number;
|
|
3517
3655
|
};
|
|
3656
|
+
traceContext: Record<string, unknown>;
|
|
3518
3657
|
friendlyId: string;
|
|
3519
3658
|
attemptNumber: number;
|
|
3520
3659
|
masterQueue: string;
|
|
3521
3660
|
}, {
|
|
3522
3661
|
id: string;
|
|
3523
3662
|
isTest: boolean;
|
|
3524
|
-
traceContext: Record<string, unknown>;
|
|
3525
3663
|
machine: {
|
|
3526
3664
|
cpu: number;
|
|
3527
3665
|
memory: number;
|
|
3528
3666
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3529
3667
|
centsPerMs: number;
|
|
3530
3668
|
};
|
|
3669
|
+
traceContext: Record<string, unknown>;
|
|
3531
3670
|
friendlyId: string;
|
|
3532
3671
|
attemptNumber: number;
|
|
3533
3672
|
masterQueue: string;
|
|
@@ -3558,30 +3697,35 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3558
3697
|
}>;
|
|
3559
3698
|
}, "strip", z.ZodTypeAny, {
|
|
3560
3699
|
version: "1";
|
|
3700
|
+
environment: {
|
|
3701
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3702
|
+
id: string;
|
|
3703
|
+
};
|
|
3704
|
+
organization: {
|
|
3705
|
+
id: string;
|
|
3706
|
+
};
|
|
3707
|
+
project: {
|
|
3708
|
+
id: string;
|
|
3709
|
+
};
|
|
3710
|
+
deployment: {
|
|
3711
|
+
id?: string | undefined;
|
|
3712
|
+
friendlyId?: string | undefined;
|
|
3713
|
+
imagePlatform?: string | undefined;
|
|
3714
|
+
};
|
|
3561
3715
|
run: {
|
|
3562
3716
|
id: string;
|
|
3563
3717
|
isTest: boolean;
|
|
3564
|
-
traceContext: Record<string, unknown>;
|
|
3565
3718
|
machine: {
|
|
3566
3719
|
cpu: number;
|
|
3567
3720
|
memory: number;
|
|
3568
3721
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3569
3722
|
centsPerMs: number;
|
|
3570
3723
|
};
|
|
3724
|
+
traceContext: Record<string, unknown>;
|
|
3571
3725
|
friendlyId: string;
|
|
3572
3726
|
attemptNumber: number;
|
|
3573
3727
|
masterQueue: string;
|
|
3574
3728
|
};
|
|
3575
|
-
environment: {
|
|
3576
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3577
|
-
id: string;
|
|
3578
|
-
};
|
|
3579
|
-
organization: {
|
|
3580
|
-
id: string;
|
|
3581
|
-
};
|
|
3582
|
-
project: {
|
|
3583
|
-
id: string;
|
|
3584
|
-
};
|
|
3585
3729
|
snapshot: {
|
|
3586
3730
|
id: string;
|
|
3587
3731
|
createdAt: Date;
|
|
@@ -3619,11 +3763,6 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3619
3763
|
version: string;
|
|
3620
3764
|
friendlyId: string;
|
|
3621
3765
|
};
|
|
3622
|
-
deployment: {
|
|
3623
|
-
id?: string | undefined;
|
|
3624
|
-
friendlyId?: string | undefined;
|
|
3625
|
-
imagePlatform?: string | undefined;
|
|
3626
|
-
};
|
|
3627
3766
|
checkpoint?: {
|
|
3628
3767
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
3629
3768
|
id: string;
|
|
@@ -3634,30 +3773,35 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3634
3773
|
image?: string | undefined;
|
|
3635
3774
|
}, {
|
|
3636
3775
|
version: "1";
|
|
3776
|
+
environment: {
|
|
3777
|
+
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3778
|
+
id: string;
|
|
3779
|
+
};
|
|
3780
|
+
organization: {
|
|
3781
|
+
id: string;
|
|
3782
|
+
};
|
|
3783
|
+
project: {
|
|
3784
|
+
id: string;
|
|
3785
|
+
};
|
|
3786
|
+
deployment: {
|
|
3787
|
+
id?: string | undefined;
|
|
3788
|
+
friendlyId?: string | undefined;
|
|
3789
|
+
imagePlatform?: string | undefined;
|
|
3790
|
+
};
|
|
3637
3791
|
run: {
|
|
3638
3792
|
id: string;
|
|
3639
3793
|
isTest: boolean;
|
|
3640
|
-
traceContext: Record<string, unknown>;
|
|
3641
3794
|
machine: {
|
|
3642
3795
|
cpu: number;
|
|
3643
3796
|
memory: number;
|
|
3644
3797
|
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3645
3798
|
centsPerMs: number;
|
|
3646
3799
|
};
|
|
3800
|
+
traceContext: Record<string, unknown>;
|
|
3647
3801
|
friendlyId: string;
|
|
3648
3802
|
attemptNumber: number;
|
|
3649
3803
|
masterQueue: string;
|
|
3650
3804
|
};
|
|
3651
|
-
environment: {
|
|
3652
|
-
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
3653
|
-
id: string;
|
|
3654
|
-
};
|
|
3655
|
-
organization: {
|
|
3656
|
-
id: string;
|
|
3657
|
-
};
|
|
3658
|
-
project: {
|
|
3659
|
-
id: string;
|
|
3660
|
-
};
|
|
3661
3805
|
snapshot: {
|
|
3662
3806
|
id: string;
|
|
3663
3807
|
createdAt: Date;
|
|
@@ -3695,11 +3839,6 @@ export declare const WorkerApiDequeueFromVersionResponseBody: z.ZodArray<z.ZodOb
|
|
|
3695
3839
|
version: string;
|
|
3696
3840
|
friendlyId: string;
|
|
3697
3841
|
};
|
|
3698
|
-
deployment: {
|
|
3699
|
-
id?: string | undefined;
|
|
3700
|
-
friendlyId?: string | undefined;
|
|
3701
|
-
imagePlatform?: string | undefined;
|
|
3702
|
-
};
|
|
3703
3842
|
checkpoint?: {
|
|
3704
3843
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
3705
3844
|
id: string;
|
|
@@ -3802,15 +3941,15 @@ export declare const WorkerApiRunSnapshotsSinceResponseBody: z.ZodObject<{
|
|
|
3802
3941
|
id: string;
|
|
3803
3942
|
friendlyId: string;
|
|
3804
3943
|
}>>;
|
|
3805
|
-
checkpoint: z.ZodOptional<z.ZodObject<
|
|
3944
|
+
checkpoint: z.ZodOptional<z.ZodObject<{
|
|
3806
3945
|
type: z.ZodEnum<[import("../../schemas/runEngine.js").CheckpointTypeEnum]>;
|
|
3807
3946
|
location: z.ZodString;
|
|
3808
3947
|
imageRef: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3809
3948
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3810
|
-
}
|
|
3949
|
+
} & {
|
|
3811
3950
|
id: z.ZodString;
|
|
3812
3951
|
friendlyId: z.ZodString;
|
|
3813
|
-
}
|
|
3952
|
+
}, "strip", z.ZodTypeAny, {
|
|
3814
3953
|
type: import("../../schemas/runEngine.js").CheckpointTypeEnum;
|
|
3815
3954
|
id: string;
|
|
3816
3955
|
friendlyId: string;
|