@trigger.dev/core 4.0.0-v4-beta.23 → 4.0.0-v4-beta.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/v3/apiClient/index.d.ts +18 -42
- package/dist/commonjs/v3/apiClient/index.js +17 -4
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +7 -1
- package/dist/commonjs/v3/apiClient/runStream.js +26 -12
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/stream.js +2 -0
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/types.d.ts +22 -1
- package/dist/commonjs/v3/apiClient/version.d.ts +2 -0
- package/dist/commonjs/v3/apiClient/version.js +6 -0
- package/dist/commonjs/v3/apiClient/version.js.map +1 -0
- package/dist/commonjs/v3/config.d.ts +7 -0
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js +2 -7
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +4 -4
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +20 -20
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +3 -3
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +16 -16
- package/dist/commonjs/v3/schemas/api.d.ts +83 -157
- package/dist/commonjs/v3/schemas/api.js +5 -28
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +0 -32
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +4 -4
- package/dist/commonjs/v3/schemas/messages.d.ts +4 -52
- package/dist/commonjs/v3/schemas/queues.d.ts +15 -4
- package/dist/commonjs/v3/schemas/queues.js +10 -14
- package/dist/commonjs/v3/schemas/queues.js.map +1 -1
- package/dist/commonjs/v3/schemas/resources.d.ts +0 -17
- package/dist/commonjs/v3/schemas/runEngine.d.ts +11 -10
- package/dist/commonjs/v3/schemas/runEngine.js +1 -0
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +0 -25
- package/dist/commonjs/v3/schemas/schemas.js +0 -5
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/schemas/webhooks.d.ts +12 -12
- package/dist/commonjs/v3/serverOnly/index.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/index.js +1 -0
- package/dist/commonjs/v3/serverOnly/index.js.map +1 -1
- package/dist/commonjs/v3/types/queues.d.ts +0 -5
- package/dist/commonjs/v3/types/tasks.d.ts +1 -11
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +18 -42
- package/dist/esm/v3/apiClient/index.js +17 -4
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +7 -1
- package/dist/esm/v3/apiClient/runStream.js +26 -12
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/apiClient/stream.js +2 -0
- package/dist/esm/v3/apiClient/stream.js.map +1 -1
- package/dist/esm/v3/apiClient/types.d.ts +22 -1
- package/dist/esm/v3/apiClient/version.d.ts +2 -0
- package/dist/esm/v3/apiClient/version.js +3 -0
- package/dist/esm/v3/apiClient/version.js.map +1 -0
- package/dist/esm/v3/config.d.ts +7 -0
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js +2 -7
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +4 -4
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +20 -20
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +3 -3
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +16 -16
- package/dist/esm/v3/schemas/api.d.ts +83 -157
- package/dist/esm/v3/schemas/api.js +5 -28
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +0 -32
- package/dist/esm/v3/schemas/checkpoints.d.ts +4 -4
- package/dist/esm/v3/schemas/messages.d.ts +4 -52
- package/dist/esm/v3/schemas/queues.d.ts +15 -4
- package/dist/esm/v3/schemas/queues.js +9 -13
- package/dist/esm/v3/schemas/queues.js.map +1 -1
- package/dist/esm/v3/schemas/resources.d.ts +0 -17
- package/dist/esm/v3/schemas/runEngine.d.ts +11 -10
- package/dist/esm/v3/schemas/runEngine.js +1 -0
- package/dist/esm/v3/schemas/runEngine.js.map +1 -1
- package/dist/esm/v3/schemas/schemas.d.ts +0 -25
- package/dist/esm/v3/schemas/schemas.js +0 -5
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/schemas/webhooks.d.ts +12 -12
- package/dist/esm/v3/serverOnly/index.d.ts +1 -0
- package/dist/esm/v3/serverOnly/index.js +1 -0
- package/dist/esm/v3/serverOnly/index.js.map +1 -1
- package/dist/esm/v3/types/queues.d.ts +0 -5
- package/dist/esm/v3/types/tasks.d.ts +1 -11
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -7361,17 +7361,14 @@ export declare const indexerToWorkerMessages: {
|
|
|
7361
7361
|
queue: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
7362
7362
|
name: z.ZodString;
|
|
7363
7363
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7364
|
-
releaseConcurrencyOnWaitpoint: z.ZodOptional<z.ZodBoolean>;
|
|
7365
7364
|
}, {
|
|
7366
7365
|
name: z.ZodOptional<z.ZodString>;
|
|
7367
7366
|
}>, "strip", z.ZodTypeAny, {
|
|
7368
7367
|
name?: string | undefined;
|
|
7369
7368
|
concurrencyLimit?: number | null | undefined;
|
|
7370
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7371
7369
|
}, {
|
|
7372
7370
|
name?: string | undefined;
|
|
7373
7371
|
concurrencyLimit?: number | null | undefined;
|
|
7374
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7375
7372
|
}>>;
|
|
7376
7373
|
retry: z.ZodOptional<z.ZodObject<{
|
|
7377
7374
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7442,7 +7439,6 @@ export declare const indexerToWorkerMessages: {
|
|
|
7442
7439
|
queue?: {
|
|
7443
7440
|
name?: string | undefined;
|
|
7444
7441
|
concurrencyLimit?: number | null | undefined;
|
|
7445
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7446
7442
|
} | undefined;
|
|
7447
7443
|
machine?: {
|
|
7448
7444
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -7475,7 +7471,6 @@ export declare const indexerToWorkerMessages: {
|
|
|
7475
7471
|
queue?: {
|
|
7476
7472
|
name?: string | undefined;
|
|
7477
7473
|
concurrencyLimit?: number | null | undefined;
|
|
7478
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7479
7474
|
} | undefined;
|
|
7480
7475
|
machine?: {
|
|
7481
7476
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -7503,15 +7498,12 @@ export declare const indexerToWorkerMessages: {
|
|
|
7503
7498
|
queues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7504
7499
|
name: z.ZodString;
|
|
7505
7500
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7506
|
-
releaseConcurrencyOnWaitpoint: z.ZodOptional<z.ZodBoolean>;
|
|
7507
7501
|
}, "strip", z.ZodTypeAny, {
|
|
7508
7502
|
name: string;
|
|
7509
7503
|
concurrencyLimit?: number | null | undefined;
|
|
7510
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7511
7504
|
}, {
|
|
7512
7505
|
name: string;
|
|
7513
7506
|
concurrencyLimit?: number | null | undefined;
|
|
7514
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7515
7507
|
}>, "many">>;
|
|
7516
7508
|
workerEntryPoint: z.ZodString;
|
|
7517
7509
|
controllerEntryPoint: z.ZodOptional<z.ZodString>;
|
|
@@ -7551,7 +7543,6 @@ export declare const indexerToWorkerMessages: {
|
|
|
7551
7543
|
queue?: {
|
|
7552
7544
|
name?: string | undefined;
|
|
7553
7545
|
concurrencyLimit?: number | null | undefined;
|
|
7554
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7555
7546
|
} | undefined;
|
|
7556
7547
|
machine?: {
|
|
7557
7548
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -7582,7 +7573,6 @@ export declare const indexerToWorkerMessages: {
|
|
|
7582
7573
|
queues?: {
|
|
7583
7574
|
name: string;
|
|
7584
7575
|
concurrencyLimit?: number | null | undefined;
|
|
7585
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7586
7576
|
}[] | undefined;
|
|
7587
7577
|
runtimeVersion?: string | undefined;
|
|
7588
7578
|
loaderEntryPoint?: string | undefined;
|
|
@@ -7608,7 +7598,6 @@ export declare const indexerToWorkerMessages: {
|
|
|
7608
7598
|
queue?: {
|
|
7609
7599
|
name?: string | undefined;
|
|
7610
7600
|
concurrencyLimit?: number | null | undefined;
|
|
7611
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7612
7601
|
} | undefined;
|
|
7613
7602
|
machine?: {
|
|
7614
7603
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -7639,7 +7628,6 @@ export declare const indexerToWorkerMessages: {
|
|
|
7639
7628
|
queues?: {
|
|
7640
7629
|
name: string;
|
|
7641
7630
|
concurrencyLimit?: number | null | undefined;
|
|
7642
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7643
7631
|
}[] | undefined;
|
|
7644
7632
|
runtimeVersion?: string | undefined;
|
|
7645
7633
|
loaderEntryPoint?: string | undefined;
|
|
@@ -7684,7 +7672,6 @@ export declare const indexerToWorkerMessages: {
|
|
|
7684
7672
|
queue?: {
|
|
7685
7673
|
name?: string | undefined;
|
|
7686
7674
|
concurrencyLimit?: number | null | undefined;
|
|
7687
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7688
7675
|
} | undefined;
|
|
7689
7676
|
machine?: {
|
|
7690
7677
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -7715,7 +7702,6 @@ export declare const indexerToWorkerMessages: {
|
|
|
7715
7702
|
queues?: {
|
|
7716
7703
|
name: string;
|
|
7717
7704
|
concurrencyLimit?: number | null | undefined;
|
|
7718
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7719
7705
|
}[] | undefined;
|
|
7720
7706
|
runtimeVersion?: string | undefined;
|
|
7721
7707
|
loaderEntryPoint?: string | undefined;
|
|
@@ -7749,7 +7735,6 @@ export declare const indexerToWorkerMessages: {
|
|
|
7749
7735
|
queue?: {
|
|
7750
7736
|
name?: string | undefined;
|
|
7751
7737
|
concurrencyLimit?: number | null | undefined;
|
|
7752
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7753
7738
|
} | undefined;
|
|
7754
7739
|
machine?: {
|
|
7755
7740
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -7780,7 +7765,6 @@ export declare const indexerToWorkerMessages: {
|
|
|
7780
7765
|
queues?: {
|
|
7781
7766
|
name: string;
|
|
7782
7767
|
concurrencyLimit?: number | null | undefined;
|
|
7783
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
7784
7768
|
}[] | undefined;
|
|
7785
7769
|
runtimeVersion?: string | undefined;
|
|
7786
7770
|
loaderEntryPoint?: string | undefined;
|
|
@@ -10723,8 +10707,8 @@ export declare const WorkerToExecutorMessageCatalog: {
|
|
|
10723
10707
|
}, "strip", z.ZodTypeAny, {
|
|
10724
10708
|
type: import("./runEngine.js").WaitpointType;
|
|
10725
10709
|
id: string;
|
|
10726
|
-
completedAt: Date;
|
|
10727
10710
|
friendlyId: string;
|
|
10711
|
+
completedAt: Date;
|
|
10728
10712
|
outputIsError: boolean;
|
|
10729
10713
|
idempotencyKey?: string | undefined;
|
|
10730
10714
|
output?: string | undefined;
|
|
@@ -10746,8 +10730,8 @@ export declare const WorkerToExecutorMessageCatalog: {
|
|
|
10746
10730
|
}, {
|
|
10747
10731
|
type: import("./runEngine.js").WaitpointType;
|
|
10748
10732
|
id: string;
|
|
10749
|
-
completedAt: Date;
|
|
10750
10733
|
friendlyId: string;
|
|
10734
|
+
completedAt: Date;
|
|
10751
10735
|
outputIsError: boolean;
|
|
10752
10736
|
idempotencyKey?: string | undefined;
|
|
10753
10737
|
output?: string | undefined;
|
|
@@ -10772,8 +10756,8 @@ export declare const WorkerToExecutorMessageCatalog: {
|
|
|
10772
10756
|
waitpoint: {
|
|
10773
10757
|
type: import("./runEngine.js").WaitpointType;
|
|
10774
10758
|
id: string;
|
|
10775
|
-
completedAt: Date;
|
|
10776
10759
|
friendlyId: string;
|
|
10760
|
+
completedAt: Date;
|
|
10777
10761
|
outputIsError: boolean;
|
|
10778
10762
|
idempotencyKey?: string | undefined;
|
|
10779
10763
|
output?: string | undefined;
|
|
@@ -10797,8 +10781,8 @@ export declare const WorkerToExecutorMessageCatalog: {
|
|
|
10797
10781
|
waitpoint: {
|
|
10798
10782
|
type: import("./runEngine.js").WaitpointType;
|
|
10799
10783
|
id: string;
|
|
10800
|
-
completedAt: Date;
|
|
10801
10784
|
friendlyId: string;
|
|
10785
|
+
completedAt: Date;
|
|
10802
10786
|
outputIsError: boolean;
|
|
10803
10787
|
idempotencyKey?: string | undefined;
|
|
10804
10788
|
output?: string | undefined;
|
|
@@ -11141,17 +11125,14 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11141
11125
|
queue: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
11142
11126
|
name: z.ZodString;
|
|
11143
11127
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
11144
|
-
releaseConcurrencyOnWaitpoint: z.ZodOptional<z.ZodBoolean>;
|
|
11145
11128
|
}, {
|
|
11146
11129
|
name: z.ZodOptional<z.ZodString>;
|
|
11147
11130
|
}>, "strip", z.ZodTypeAny, {
|
|
11148
11131
|
name?: string | undefined;
|
|
11149
11132
|
concurrencyLimit?: number | null | undefined;
|
|
11150
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11151
11133
|
}, {
|
|
11152
11134
|
name?: string | undefined;
|
|
11153
11135
|
concurrencyLimit?: number | null | undefined;
|
|
11154
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11155
11136
|
}>>;
|
|
11156
11137
|
retry: z.ZodOptional<z.ZodObject<{
|
|
11157
11138
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11221,7 +11202,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11221
11202
|
queue?: {
|
|
11222
11203
|
name?: string | undefined;
|
|
11223
11204
|
concurrencyLimit?: number | null | undefined;
|
|
11224
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11225
11205
|
} | undefined;
|
|
11226
11206
|
machine?: {
|
|
11227
11207
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -11253,7 +11233,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11253
11233
|
queue?: {
|
|
11254
11234
|
name?: string | undefined;
|
|
11255
11235
|
concurrencyLimit?: number | null | undefined;
|
|
11256
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11257
11236
|
} | undefined;
|
|
11258
11237
|
machine?: {
|
|
11259
11238
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -11289,7 +11268,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11289
11268
|
queue?: {
|
|
11290
11269
|
name?: string | undefined;
|
|
11291
11270
|
concurrencyLimit?: number | null | undefined;
|
|
11292
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11293
11271
|
} | undefined;
|
|
11294
11272
|
machine?: {
|
|
11295
11273
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -11326,7 +11304,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11326
11304
|
queue?: {
|
|
11327
11305
|
name?: string | undefined;
|
|
11328
11306
|
concurrencyLimit?: number | null | undefined;
|
|
11329
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11330
11307
|
} | undefined;
|
|
11331
11308
|
machine?: {
|
|
11332
11309
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -11367,7 +11344,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11367
11344
|
queue?: {
|
|
11368
11345
|
name?: string | undefined;
|
|
11369
11346
|
concurrencyLimit?: number | null | undefined;
|
|
11370
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11371
11347
|
} | undefined;
|
|
11372
11348
|
machine?: {
|
|
11373
11349
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -11410,7 +11386,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11410
11386
|
queue?: {
|
|
11411
11387
|
name?: string | undefined;
|
|
11412
11388
|
concurrencyLimit?: number | null | undefined;
|
|
11413
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11414
11389
|
} | undefined;
|
|
11415
11390
|
machine?: {
|
|
11416
11391
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -11457,17 +11432,14 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11457
11432
|
queue: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
11458
11433
|
name: z.ZodString;
|
|
11459
11434
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
11460
|
-
releaseConcurrencyOnWaitpoint: z.ZodOptional<z.ZodBoolean>;
|
|
11461
11435
|
}, {
|
|
11462
11436
|
name: z.ZodOptional<z.ZodString>;
|
|
11463
11437
|
}>, "strip", z.ZodTypeAny, {
|
|
11464
11438
|
name?: string | undefined;
|
|
11465
11439
|
concurrencyLimit?: number | null | undefined;
|
|
11466
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11467
11440
|
}, {
|
|
11468
11441
|
name?: string | undefined;
|
|
11469
11442
|
concurrencyLimit?: number | null | undefined;
|
|
11470
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11471
11443
|
}>>;
|
|
11472
11444
|
retry: z.ZodOptional<z.ZodObject<{
|
|
11473
11445
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11537,7 +11509,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11537
11509
|
queue?: {
|
|
11538
11510
|
name?: string | undefined;
|
|
11539
11511
|
concurrencyLimit?: number | null | undefined;
|
|
11540
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11541
11512
|
} | undefined;
|
|
11542
11513
|
machine?: {
|
|
11543
11514
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -11569,7 +11540,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11569
11540
|
queue?: {
|
|
11570
11541
|
name?: string | undefined;
|
|
11571
11542
|
concurrencyLimit?: number | null | undefined;
|
|
11572
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11573
11543
|
} | undefined;
|
|
11574
11544
|
machine?: {
|
|
11575
11545
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -11605,7 +11575,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11605
11575
|
queue?: {
|
|
11606
11576
|
name?: string | undefined;
|
|
11607
11577
|
concurrencyLimit?: number | null | undefined;
|
|
11608
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11609
11578
|
} | undefined;
|
|
11610
11579
|
machine?: {
|
|
11611
11580
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -11642,7 +11611,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11642
11611
|
queue?: {
|
|
11643
11612
|
name?: string | undefined;
|
|
11644
11613
|
concurrencyLimit?: number | null | undefined;
|
|
11645
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11646
11614
|
} | undefined;
|
|
11647
11615
|
machine?: {
|
|
11648
11616
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -11684,7 +11652,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11684
11652
|
queue?: {
|
|
11685
11653
|
name?: string | undefined;
|
|
11686
11654
|
concurrencyLimit?: number | null | undefined;
|
|
11687
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11688
11655
|
} | undefined;
|
|
11689
11656
|
machine?: {
|
|
11690
11657
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -11728,7 +11695,6 @@ export declare const CoordinatorToPlatformMessages: {
|
|
|
11728
11695
|
queue?: {
|
|
11729
11696
|
name?: string | undefined;
|
|
11730
11697
|
concurrencyLimit?: number | null | undefined;
|
|
11731
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
11732
11698
|
} | undefined;
|
|
11733
11699
|
machine?: {
|
|
11734
11700
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -27550,17 +27516,14 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
27550
27516
|
queue: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
27551
27517
|
name: z.ZodString;
|
|
27552
27518
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
27553
|
-
releaseConcurrencyOnWaitpoint: z.ZodOptional<z.ZodBoolean>;
|
|
27554
27519
|
}, {
|
|
27555
27520
|
name: z.ZodOptional<z.ZodString>;
|
|
27556
27521
|
}>, "strip", z.ZodTypeAny, {
|
|
27557
27522
|
name?: string | undefined;
|
|
27558
27523
|
concurrencyLimit?: number | null | undefined;
|
|
27559
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27560
27524
|
}, {
|
|
27561
27525
|
name?: string | undefined;
|
|
27562
27526
|
concurrencyLimit?: number | null | undefined;
|
|
27563
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27564
27527
|
}>>;
|
|
27565
27528
|
retry: z.ZodOptional<z.ZodObject<{
|
|
27566
27529
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -27630,7 +27593,6 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
27630
27593
|
queue?: {
|
|
27631
27594
|
name?: string | undefined;
|
|
27632
27595
|
concurrencyLimit?: number | null | undefined;
|
|
27633
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27634
27596
|
} | undefined;
|
|
27635
27597
|
machine?: {
|
|
27636
27598
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -27662,7 +27624,6 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
27662
27624
|
queue?: {
|
|
27663
27625
|
name?: string | undefined;
|
|
27664
27626
|
concurrencyLimit?: number | null | undefined;
|
|
27665
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27666
27627
|
} | undefined;
|
|
27667
27628
|
machine?: {
|
|
27668
27629
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -27701,7 +27662,6 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
27701
27662
|
queue?: {
|
|
27702
27663
|
name?: string | undefined;
|
|
27703
27664
|
concurrencyLimit?: number | null | undefined;
|
|
27704
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27705
27665
|
} | undefined;
|
|
27706
27666
|
machine?: {
|
|
27707
27667
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -27738,7 +27698,6 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
27738
27698
|
queue?: {
|
|
27739
27699
|
name?: string | undefined;
|
|
27740
27700
|
concurrencyLimit?: number | null | undefined;
|
|
27741
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27742
27701
|
} | undefined;
|
|
27743
27702
|
machine?: {
|
|
27744
27703
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -27775,17 +27734,14 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
27775
27734
|
queue: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
27776
27735
|
name: z.ZodString;
|
|
27777
27736
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
27778
|
-
releaseConcurrencyOnWaitpoint: z.ZodOptional<z.ZodBoolean>;
|
|
27779
27737
|
}, {
|
|
27780
27738
|
name: z.ZodOptional<z.ZodString>;
|
|
27781
27739
|
}>, "strip", z.ZodTypeAny, {
|
|
27782
27740
|
name?: string | undefined;
|
|
27783
27741
|
concurrencyLimit?: number | null | undefined;
|
|
27784
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27785
27742
|
}, {
|
|
27786
27743
|
name?: string | undefined;
|
|
27787
27744
|
concurrencyLimit?: number | null | undefined;
|
|
27788
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27789
27745
|
}>>;
|
|
27790
27746
|
retry: z.ZodOptional<z.ZodObject<{
|
|
27791
27747
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -27855,7 +27811,6 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
27855
27811
|
queue?: {
|
|
27856
27812
|
name?: string | undefined;
|
|
27857
27813
|
concurrencyLimit?: number | null | undefined;
|
|
27858
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27859
27814
|
} | undefined;
|
|
27860
27815
|
machine?: {
|
|
27861
27816
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -27887,7 +27842,6 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
27887
27842
|
queue?: {
|
|
27888
27843
|
name?: string | undefined;
|
|
27889
27844
|
concurrencyLimit?: number | null | undefined;
|
|
27890
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27891
27845
|
} | undefined;
|
|
27892
27846
|
machine?: {
|
|
27893
27847
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -27927,7 +27881,6 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
27927
27881
|
queue?: {
|
|
27928
27882
|
name?: string | undefined;
|
|
27929
27883
|
concurrencyLimit?: number | null | undefined;
|
|
27930
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27931
27884
|
} | undefined;
|
|
27932
27885
|
machine?: {
|
|
27933
27886
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -27965,7 +27918,6 @@ export declare const ProdWorkerToCoordinatorMessages: {
|
|
|
27965
27918
|
queue?: {
|
|
27966
27919
|
name?: string | undefined;
|
|
27967
27920
|
concurrencyLimit?: number | null | undefined;
|
|
27968
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
27969
27921
|
} | undefined;
|
|
27970
27922
|
machine?: {
|
|
27971
27923
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -27,14 +27,11 @@ export declare const QueueItem: z.ZodObject<{
|
|
|
27
27
|
concurrencyLimit: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
/** Whether the queue is paused. If it's paused, no new runs will be started. */
|
|
29
29
|
paused: z.ZodBoolean;
|
|
30
|
-
/** Whether the queue releases concurrency on waitpoints. */
|
|
31
|
-
releaseConcurrencyOnWaitpoint: z.ZodBoolean;
|
|
32
30
|
}, "strip", z.ZodTypeAny, {
|
|
33
31
|
type: "custom" | "task";
|
|
34
32
|
name: string;
|
|
35
33
|
id: string;
|
|
36
34
|
concurrencyLimit: number | null;
|
|
37
|
-
releaseConcurrencyOnWaitpoint: boolean;
|
|
38
35
|
running: number;
|
|
39
36
|
queued: number;
|
|
40
37
|
paused: boolean;
|
|
@@ -43,7 +40,6 @@ export declare const QueueItem: z.ZodObject<{
|
|
|
43
40
|
name: string;
|
|
44
41
|
id: string;
|
|
45
42
|
concurrencyLimit: number | null;
|
|
46
|
-
releaseConcurrencyOnWaitpoint: boolean;
|
|
47
43
|
running: number;
|
|
48
44
|
queued: number;
|
|
49
45
|
paused: boolean;
|
|
@@ -62,6 +58,21 @@ export declare const ListQueueOptions: z.ZodObject<{
|
|
|
62
58
|
perPage?: number | undefined;
|
|
63
59
|
}>;
|
|
64
60
|
export type ListQueueOptions = z.infer<typeof ListQueueOptions>;
|
|
61
|
+
export declare const QueueTypeName: z.ZodObject<{
|
|
62
|
+
/** "task" or "custom" */
|
|
63
|
+
type: z.ZodEnum<["task", "custom"]>;
|
|
64
|
+
/** The name of your queue.
|
|
65
|
+
* For "task" type it will be the task id, for "custom" it will be the name you specified.
|
|
66
|
+
* */
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
|
+
type: "custom" | "task";
|
|
70
|
+
name: string;
|
|
71
|
+
}, {
|
|
72
|
+
type: "custom" | "task";
|
|
73
|
+
name: string;
|
|
74
|
+
}>;
|
|
75
|
+
export type QueueTypeName = z.infer<typeof QueueTypeName>;
|
|
65
76
|
/**
|
|
66
77
|
* When retrieving a queue you can either use the queue id,
|
|
67
78
|
* or the type and name.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RetrieveQueueParam = exports.ListQueueOptions = exports.QueueItem = exports.RetrieveQueueType = exports.QueueType = void 0;
|
|
3
|
+
exports.RetrieveQueueParam = exports.QueueTypeName = exports.ListQueueOptions = exports.QueueItem = exports.RetrieveQueueType = exports.QueueType = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const queueTypes = ["task", "custom"];
|
|
6
6
|
/**
|
|
@@ -29,8 +29,6 @@ exports.QueueItem = zod_1.z.object({
|
|
|
29
29
|
concurrencyLimit: zod_1.z.number().nullable(),
|
|
30
30
|
/** Whether the queue is paused. If it's paused, no new runs will be started. */
|
|
31
31
|
paused: zod_1.z.boolean(),
|
|
32
|
-
/** Whether the queue releases concurrency on waitpoints. */
|
|
33
|
-
releaseConcurrencyOnWaitpoint: zod_1.z.boolean(),
|
|
34
32
|
});
|
|
35
33
|
exports.ListQueueOptions = zod_1.z.object({
|
|
36
34
|
/** The page number */
|
|
@@ -38,6 +36,14 @@ exports.ListQueueOptions = zod_1.z.object({
|
|
|
38
36
|
/** The number of queues per page */
|
|
39
37
|
perPage: zod_1.z.number().optional(),
|
|
40
38
|
});
|
|
39
|
+
exports.QueueTypeName = zod_1.z.object({
|
|
40
|
+
/** "task" or "custom" */
|
|
41
|
+
type: exports.QueueType,
|
|
42
|
+
/** The name of your queue.
|
|
43
|
+
* For "task" type it will be the task id, for "custom" it will be the name you specified.
|
|
44
|
+
* */
|
|
45
|
+
name: zod_1.z.string(),
|
|
46
|
+
});
|
|
41
47
|
/**
|
|
42
48
|
* When retrieving a queue you can either use the queue id,
|
|
43
49
|
* or the type and name.
|
|
@@ -56,15 +62,5 @@ exports.ListQueueOptions = zod_1.z.object({
|
|
|
56
62
|
* const q3 = await queues.retrieve({ type: "custom", name: "my-custom-queue" });
|
|
57
63
|
* ```
|
|
58
64
|
*/
|
|
59
|
-
exports.RetrieveQueueParam = zod_1.z.union([
|
|
60
|
-
zod_1.z.string(),
|
|
61
|
-
zod_1.z.object({
|
|
62
|
-
/** "task" or "custom" */
|
|
63
|
-
type: exports.QueueType,
|
|
64
|
-
/** The name of your queue.
|
|
65
|
-
* For "task" type it will be the task id, for "custom" it will be the name you specified.
|
|
66
|
-
* */
|
|
67
|
-
name: zod_1.z.string(),
|
|
68
|
-
}),
|
|
69
|
-
]);
|
|
65
|
+
exports.RetrieveQueueParam = zod_1.z.union([zod_1.z.string(), exports.QueueTypeName]);
|
|
70
66
|
//# sourceMappingURL=queues.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queues.js","sourceRoot":"","sources":["../../../../src/v3/schemas/queues.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAU,CAAC;AAE/C;;;;KAIK;AACQ,QAAA,SAAS,GAAG,OAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAG/B,QAAA,iBAAiB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,GAAG,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;AAGlD,QAAA,SAAS,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,qCAAqC;IACrC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,qBAAqB;IACrB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB;;;;SAIK;IACL,IAAI,EAAE,iBAAS;IACf,2CAA2C;IAC3C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,0CAA0C;IAC1C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,yCAAyC;IACzC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,gFAAgF;IAChF,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"queues.js","sourceRoot":"","sources":["../../../../src/v3/schemas/queues.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAU,CAAC;AAE/C;;;;KAIK;AACQ,QAAA,SAAS,GAAG,OAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAG/B,QAAA,iBAAiB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,GAAG,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;AAGlD,QAAA,SAAS,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,qCAAqC;IACrC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,qBAAqB;IACrB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB;;;;SAIK;IACL,IAAI,EAAE,iBAAS;IACf,2CAA2C;IAC3C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE;IACnB,0CAA0C;IAC1C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,yCAAyC;IACzC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,gFAAgF;IAChF,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE;CACpB,CAAC,CAAC;AAIU,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,sBAAsB;IACtB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,oCAAoC;IACpC,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC;AAIU,QAAA,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC;IACpC,yBAAyB;IACzB,IAAI,EAAE,iBAAS;IACf;;SAEK;IACL,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAIH;;;;;;;;;;;;;;;;;GAiBG;AACU,QAAA,kBAAkB,GAAG,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,qBAAa,CAAC,CAAC,CAAC"}
|
|
@@ -7,17 +7,14 @@ export declare const TaskResource: z.ZodObject<{
|
|
|
7
7
|
queue: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
10
|
-
releaseConcurrencyOnWaitpoint: z.ZodOptional<z.ZodBoolean>;
|
|
11
10
|
}, {
|
|
12
11
|
name: z.ZodOptional<z.ZodString>;
|
|
13
12
|
}>, "strip", z.ZodTypeAny, {
|
|
14
13
|
name?: string | undefined;
|
|
15
14
|
concurrencyLimit?: number | null | undefined;
|
|
16
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
17
15
|
}, {
|
|
18
16
|
name?: string | undefined;
|
|
19
17
|
concurrencyLimit?: number | null | undefined;
|
|
20
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
21
18
|
}>>;
|
|
22
19
|
retry: z.ZodOptional<z.ZodObject<{
|
|
23
20
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -87,7 +84,6 @@ export declare const TaskResource: z.ZodObject<{
|
|
|
87
84
|
queue?: {
|
|
88
85
|
name?: string | undefined;
|
|
89
86
|
concurrencyLimit?: number | null | undefined;
|
|
90
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
91
87
|
} | undefined;
|
|
92
88
|
machine?: {
|
|
93
89
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -119,7 +115,6 @@ export declare const TaskResource: z.ZodObject<{
|
|
|
119
115
|
queue?: {
|
|
120
116
|
name?: string | undefined;
|
|
121
117
|
concurrencyLimit?: number | null | undefined;
|
|
122
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
123
118
|
} | undefined;
|
|
124
119
|
machine?: {
|
|
125
120
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -174,17 +169,14 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
174
169
|
queue: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
175
170
|
name: z.ZodString;
|
|
176
171
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
177
|
-
releaseConcurrencyOnWaitpoint: z.ZodOptional<z.ZodBoolean>;
|
|
178
172
|
}, {
|
|
179
173
|
name: z.ZodOptional<z.ZodString>;
|
|
180
174
|
}>, "strip", z.ZodTypeAny, {
|
|
181
175
|
name?: string | undefined;
|
|
182
176
|
concurrencyLimit?: number | null | undefined;
|
|
183
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
184
177
|
}, {
|
|
185
178
|
name?: string | undefined;
|
|
186
179
|
concurrencyLimit?: number | null | undefined;
|
|
187
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
188
180
|
}>>;
|
|
189
181
|
retry: z.ZodOptional<z.ZodObject<{
|
|
190
182
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -254,7 +246,6 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
254
246
|
queue?: {
|
|
255
247
|
name?: string | undefined;
|
|
256
248
|
concurrencyLimit?: number | null | undefined;
|
|
257
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
258
249
|
} | undefined;
|
|
259
250
|
machine?: {
|
|
260
251
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -286,7 +277,6 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
286
277
|
queue?: {
|
|
287
278
|
name?: string | undefined;
|
|
288
279
|
concurrencyLimit?: number | null | undefined;
|
|
289
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
290
280
|
} | undefined;
|
|
291
281
|
machine?: {
|
|
292
282
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -314,15 +304,12 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
314
304
|
queues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
315
305
|
name: z.ZodString;
|
|
316
306
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
317
|
-
releaseConcurrencyOnWaitpoint: z.ZodOptional<z.ZodBoolean>;
|
|
318
307
|
}, "strip", z.ZodTypeAny, {
|
|
319
308
|
name: string;
|
|
320
309
|
concurrencyLimit?: number | null | undefined;
|
|
321
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
322
310
|
}, {
|
|
323
311
|
name: string;
|
|
324
312
|
concurrencyLimit?: number | null | undefined;
|
|
325
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
326
313
|
}>, "many">>;
|
|
327
314
|
sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
328
315
|
filePath: z.ZodString;
|
|
@@ -353,7 +340,6 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
353
340
|
queue?: {
|
|
354
341
|
name?: string | undefined;
|
|
355
342
|
concurrencyLimit?: number | null | undefined;
|
|
356
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
357
343
|
} | undefined;
|
|
358
344
|
machine?: {
|
|
359
345
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -381,7 +367,6 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
381
367
|
queues?: {
|
|
382
368
|
name: string;
|
|
383
369
|
concurrencyLimit?: number | null | undefined;
|
|
384
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
385
370
|
}[] | undefined;
|
|
386
371
|
cliPackageVersion?: string | undefined;
|
|
387
372
|
sourceFiles?: {
|
|
@@ -403,7 +388,6 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
403
388
|
queue?: {
|
|
404
389
|
name?: string | undefined;
|
|
405
390
|
concurrencyLimit?: number | null | undefined;
|
|
406
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
407
391
|
} | undefined;
|
|
408
392
|
machine?: {
|
|
409
393
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -431,7 +415,6 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
|
|
|
431
415
|
queues?: {
|
|
432
416
|
name: string;
|
|
433
417
|
concurrencyLimit?: number | null | undefined;
|
|
434
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
435
418
|
}[] | undefined;
|
|
436
419
|
cliPackageVersion?: string | undefined;
|
|
437
420
|
sourceFiles?: {
|