@trigger.dev/sdk 0.0.0-prerelease-20240920102011 → 0.0.0-prerelease-20240920143613
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/runs.d.ts +18 -0
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/runs.d.ts +18 -0
- package/dist/esm/version.js +1 -1
- package/package.json +2 -2
|
@@ -32,6 +32,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
32
32
|
id: string;
|
|
33
33
|
createdAt: Date;
|
|
34
34
|
tags: string[];
|
|
35
|
+
depth: number;
|
|
36
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
35
37
|
taskIdentifier: string;
|
|
36
38
|
isQueued: boolean;
|
|
37
39
|
isExecuting: boolean;
|
|
@@ -157,6 +159,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
157
159
|
externalId?: string | undefined;
|
|
158
160
|
deduplicationKey?: string | undefined;
|
|
159
161
|
} | undefined;
|
|
162
|
+
batchId?: string | undefined;
|
|
160
163
|
idempotencyKey?: string | undefined;
|
|
161
164
|
version?: string | undefined;
|
|
162
165
|
startedAt?: Date | undefined;
|
|
@@ -171,6 +174,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
171
174
|
id: string;
|
|
172
175
|
createdAt: Date;
|
|
173
176
|
tags: string[];
|
|
177
|
+
depth: number;
|
|
178
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
174
179
|
taskIdentifier: string;
|
|
175
180
|
isQueued: boolean;
|
|
176
181
|
isExecuting: boolean;
|
|
@@ -296,6 +301,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
296
301
|
externalId?: string | undefined;
|
|
297
302
|
deduplicationKey?: string | undefined;
|
|
298
303
|
} | undefined;
|
|
304
|
+
batchId?: string | undefined;
|
|
299
305
|
idempotencyKey?: string | undefined;
|
|
300
306
|
version?: string | undefined;
|
|
301
307
|
startedAt?: Date | undefined;
|
|
@@ -310,6 +316,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
310
316
|
id: string;
|
|
311
317
|
createdAt: Date;
|
|
312
318
|
tags: string[];
|
|
319
|
+
depth: number;
|
|
320
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
313
321
|
taskIdentifier: string;
|
|
314
322
|
isQueued: boolean;
|
|
315
323
|
isExecuting: boolean;
|
|
@@ -435,6 +443,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
435
443
|
externalId?: string | undefined;
|
|
436
444
|
deduplicationKey?: string | undefined;
|
|
437
445
|
} | undefined;
|
|
446
|
+
batchId?: string | undefined;
|
|
438
447
|
idempotencyKey?: string | undefined;
|
|
439
448
|
version?: string | undefined;
|
|
440
449
|
startedAt?: Date | undefined;
|
|
@@ -447,6 +456,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
447
456
|
id: string;
|
|
448
457
|
createdAt: Date;
|
|
449
458
|
tags: string[];
|
|
459
|
+
depth: number;
|
|
460
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
450
461
|
taskIdentifier: string;
|
|
451
462
|
isQueued: boolean;
|
|
452
463
|
isExecuting: boolean;
|
|
@@ -572,6 +583,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
572
583
|
externalId?: string | undefined;
|
|
573
584
|
deduplicationKey?: string | undefined;
|
|
574
585
|
} | undefined;
|
|
586
|
+
batchId?: string | undefined;
|
|
575
587
|
idempotencyKey?: string | undefined;
|
|
576
588
|
version?: string | undefined;
|
|
577
589
|
startedAt?: Date | undefined;
|
|
@@ -586,6 +598,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
586
598
|
id: string;
|
|
587
599
|
createdAt: Date;
|
|
588
600
|
tags: string[];
|
|
601
|
+
depth: number;
|
|
602
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
589
603
|
taskIdentifier: string;
|
|
590
604
|
isQueued: boolean;
|
|
591
605
|
isExecuting: boolean;
|
|
@@ -711,6 +725,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
711
725
|
externalId?: string | undefined;
|
|
712
726
|
deduplicationKey?: string | undefined;
|
|
713
727
|
} | undefined;
|
|
728
|
+
batchId?: string | undefined;
|
|
714
729
|
idempotencyKey?: string | undefined;
|
|
715
730
|
version?: string | undefined;
|
|
716
731
|
startedAt?: Date | undefined;
|
|
@@ -725,6 +740,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
725
740
|
id: string;
|
|
726
741
|
createdAt: Date;
|
|
727
742
|
tags: string[];
|
|
743
|
+
depth: number;
|
|
744
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
728
745
|
taskIdentifier: string;
|
|
729
746
|
isQueued: boolean;
|
|
730
747
|
isExecuting: boolean;
|
|
@@ -850,6 +867,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
850
867
|
externalId?: string | undefined;
|
|
851
868
|
deduplicationKey?: string | undefined;
|
|
852
869
|
} | undefined;
|
|
870
|
+
batchId?: string | undefined;
|
|
853
871
|
idempotencyKey?: string | undefined;
|
|
854
872
|
version?: string | undefined;
|
|
855
873
|
startedAt?: Date | undefined;
|
package/dist/commonjs/version.js
CHANGED
package/dist/esm/v3/runs.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
32
32
|
id: string;
|
|
33
33
|
createdAt: Date;
|
|
34
34
|
tags: string[];
|
|
35
|
+
depth: number;
|
|
36
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
35
37
|
taskIdentifier: string;
|
|
36
38
|
isQueued: boolean;
|
|
37
39
|
isExecuting: boolean;
|
|
@@ -157,6 +159,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
157
159
|
externalId?: string | undefined;
|
|
158
160
|
deduplicationKey?: string | undefined;
|
|
159
161
|
} | undefined;
|
|
162
|
+
batchId?: string | undefined;
|
|
160
163
|
idempotencyKey?: string | undefined;
|
|
161
164
|
version?: string | undefined;
|
|
162
165
|
startedAt?: Date | undefined;
|
|
@@ -171,6 +174,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
171
174
|
id: string;
|
|
172
175
|
createdAt: Date;
|
|
173
176
|
tags: string[];
|
|
177
|
+
depth: number;
|
|
178
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
174
179
|
taskIdentifier: string;
|
|
175
180
|
isQueued: boolean;
|
|
176
181
|
isExecuting: boolean;
|
|
@@ -296,6 +301,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
296
301
|
externalId?: string | undefined;
|
|
297
302
|
deduplicationKey?: string | undefined;
|
|
298
303
|
} | undefined;
|
|
304
|
+
batchId?: string | undefined;
|
|
299
305
|
idempotencyKey?: string | undefined;
|
|
300
306
|
version?: string | undefined;
|
|
301
307
|
startedAt?: Date | undefined;
|
|
@@ -310,6 +316,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
310
316
|
id: string;
|
|
311
317
|
createdAt: Date;
|
|
312
318
|
tags: string[];
|
|
319
|
+
depth: number;
|
|
320
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
313
321
|
taskIdentifier: string;
|
|
314
322
|
isQueued: boolean;
|
|
315
323
|
isExecuting: boolean;
|
|
@@ -435,6 +443,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
435
443
|
externalId?: string | undefined;
|
|
436
444
|
deduplicationKey?: string | undefined;
|
|
437
445
|
} | undefined;
|
|
446
|
+
batchId?: string | undefined;
|
|
438
447
|
idempotencyKey?: string | undefined;
|
|
439
448
|
version?: string | undefined;
|
|
440
449
|
startedAt?: Date | undefined;
|
|
@@ -447,6 +456,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
447
456
|
id: string;
|
|
448
457
|
createdAt: Date;
|
|
449
458
|
tags: string[];
|
|
459
|
+
depth: number;
|
|
460
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
450
461
|
taskIdentifier: string;
|
|
451
462
|
isQueued: boolean;
|
|
452
463
|
isExecuting: boolean;
|
|
@@ -572,6 +583,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
572
583
|
externalId?: string | undefined;
|
|
573
584
|
deduplicationKey?: string | undefined;
|
|
574
585
|
} | undefined;
|
|
586
|
+
batchId?: string | undefined;
|
|
575
587
|
idempotencyKey?: string | undefined;
|
|
576
588
|
version?: string | undefined;
|
|
577
589
|
startedAt?: Date | undefined;
|
|
@@ -586,6 +598,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
586
598
|
id: string;
|
|
587
599
|
createdAt: Date;
|
|
588
600
|
tags: string[];
|
|
601
|
+
depth: number;
|
|
602
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
589
603
|
taskIdentifier: string;
|
|
590
604
|
isQueued: boolean;
|
|
591
605
|
isExecuting: boolean;
|
|
@@ -711,6 +725,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
711
725
|
externalId?: string | undefined;
|
|
712
726
|
deduplicationKey?: string | undefined;
|
|
713
727
|
} | undefined;
|
|
728
|
+
batchId?: string | undefined;
|
|
714
729
|
idempotencyKey?: string | undefined;
|
|
715
730
|
version?: string | undefined;
|
|
716
731
|
startedAt?: Date | undefined;
|
|
@@ -725,6 +740,8 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
725
740
|
id: string;
|
|
726
741
|
createdAt: Date;
|
|
727
742
|
tags: string[];
|
|
743
|
+
depth: number;
|
|
744
|
+
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
728
745
|
taskIdentifier: string;
|
|
729
746
|
isQueued: boolean;
|
|
730
747
|
isExecuting: boolean;
|
|
@@ -850,6 +867,7 @@ declare function poll<TRunId extends RunHandle<any> | AnyTask | string>(runId: R
|
|
|
850
867
|
externalId?: string | undefined;
|
|
851
868
|
deduplicationKey?: string | undefined;
|
|
852
869
|
} | undefined;
|
|
870
|
+
batchId?: string | undefined;
|
|
853
871
|
idempotencyKey?: string | undefined;
|
|
854
872
|
version?: string | undefined;
|
|
855
873
|
startedAt?: Date | undefined;
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "0.0.0-prerelease-
|
|
1
|
+
export const VERSION = "0.0.0-prerelease-20240920143613";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trigger.dev/sdk",
|
|
3
|
-
"version": "0.0.0-prerelease-
|
|
3
|
+
"version": "0.0.0-prerelease-20240920143613",
|
|
4
4
|
"description": "trigger.dev Node.JS SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@opentelemetry/api": "1.9.0",
|
|
41
41
|
"@opentelemetry/api-logs": "0.52.1",
|
|
42
42
|
"@opentelemetry/semantic-conventions": "1.25.1",
|
|
43
|
-
"@trigger.dev/core": "0.0.0-prerelease-
|
|
43
|
+
"@trigger.dev/core": "0.0.0-prerelease-20240920143613",
|
|
44
44
|
"chalk": "^5.2.0",
|
|
45
45
|
"cronstrue": "^2.21.0",
|
|
46
46
|
"debug": "^4.3.4",
|