@trigger.dev/core 0.0.0-v3-prerelease-20240618084116 → 0.0.0-v3-prerelease-20240619130535

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.
Files changed (33) hide show
  1. package/dist/{catalog-BY89ZnAT.d.ts → catalog-EP9DGAGm.d.ts} +2 -2
  2. package/dist/{catalog-bucrsOn7.d.mts → catalog-Gjy5NtAB.d.mts} +2 -2
  3. package/dist/{manager-7wgeUu45.d.mts → manager-S98VaLUy.d.mts} +8 -8
  4. package/dist/{manager-7wgeUu45.d.ts → manager-S98VaLUy.d.ts} +8 -8
  5. package/dist/{messages-TXYTx0wj.d.mts → messages--WkQvA2l.d.mts} +199 -199
  6. package/dist/{messages-TXYTx0wj.d.ts → messages--WkQvA2l.d.ts} +199 -199
  7. package/dist/{schemas-r_DPYnY7.d.mts → schemas-Sb0sJcEt.d.mts} +33 -33
  8. package/dist/{schemas-r_DPYnY7.d.ts → schemas-Sb0sJcEt.d.ts} +33 -33
  9. package/dist/v3/dev/index.d.mts +1 -1
  10. package/dist/v3/dev/index.d.ts +1 -1
  11. package/dist/v3/index.d.mts +20 -11
  12. package/dist/v3/index.d.ts +20 -11
  13. package/dist/v3/index.js +8 -3
  14. package/dist/v3/index.js.map +1 -1
  15. package/dist/v3/index.mjs +8 -3
  16. package/dist/v3/index.mjs.map +1 -1
  17. package/dist/v3/otel/index.js +3 -3
  18. package/dist/v3/otel/index.js.map +1 -1
  19. package/dist/v3/otel/index.mjs +3 -3
  20. package/dist/v3/otel/index.mjs.map +1 -1
  21. package/dist/v3/prod/index.d.mts +2 -2
  22. package/dist/v3/prod/index.d.ts +2 -2
  23. package/dist/v3/workers/index.d.mts +6 -6
  24. package/dist/v3/workers/index.d.ts +6 -6
  25. package/dist/v3/workers/index.js +10 -5
  26. package/dist/v3/workers/index.js.map +1 -1
  27. package/dist/v3/workers/index.mjs +10 -5
  28. package/dist/v3/workers/index.mjs.map +1 -1
  29. package/dist/v3/zodMessageHandler.d.mts +1 -1
  30. package/dist/v3/zodMessageHandler.d.ts +1 -1
  31. package/dist/v3/zodfetch.d.mts +1 -1
  32. package/dist/v3/zodfetch.d.ts +1 -1
  33. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { Context as Context$1, Span, SpanOptions, Tracer } from '@opentelemetry/api';
2
2
  import { Logger } from '@opentelemetry/api-logs';
3
- import { M as MachinePresetName, a as TaskRunContext } from './manager-7wgeUu45.js';
4
- import { R as RetryOptions, P as Prettify, b as TaskMetadata, T as TaskFileMetadata, a as TaskMetadataWithFilePath } from './schemas-r_DPYnY7.js';
3
+ import { M as MachinePresetName, a as TaskRunContext } from './manager-S98VaLUy.js';
4
+ import { R as RetryOptions, P as Prettify, b as TaskMetadata, T as TaskFileMetadata, a as TaskMetadataWithFilePath } from './schemas-Sb0sJcEt.js';
5
5
  import { InstrumentationOption } from '@opentelemetry/instrumentation';
6
6
 
7
7
  type TriggerTracerConfig = {
@@ -1,7 +1,7 @@
1
1
  import { Context as Context$1, Span, SpanOptions, Tracer } from '@opentelemetry/api';
2
2
  import { Logger } from '@opentelemetry/api-logs';
3
- import { M as MachinePresetName, a as TaskRunContext } from './manager-7wgeUu45.mjs';
4
- import { R as RetryOptions, P as Prettify, b as TaskMetadata, T as TaskFileMetadata, a as TaskMetadataWithFilePath } from './schemas-r_DPYnY7.mjs';
3
+ import { M as MachinePresetName, a as TaskRunContext } from './manager-S98VaLUy.mjs';
4
+ import { R as RetryOptions, P as Prettify, b as TaskMetadata, T as TaskFileMetadata, a as TaskMetadataWithFilePath } from './schemas-Sb0sJcEt.mjs';
5
5
  import { InstrumentationOption } from '@opentelemetry/instrumentation';
6
6
 
7
7
  type TriggerTracerConfig = {
@@ -159,7 +159,7 @@ declare const TaskRun: z.ZodObject<{
159
159
  tags: z.ZodArray<z.ZodString, "many">;
160
160
  isTest: z.ZodDefault<z.ZodBoolean>;
161
161
  createdAt: z.ZodDate;
162
- startedAt: z.ZodDate;
162
+ startedAt: z.ZodDefault<z.ZodDate>;
163
163
  idempotencyKey: z.ZodOptional<z.ZodString>;
164
164
  durationMs: z.ZodDefault<z.ZodNumber>;
165
165
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -179,13 +179,13 @@ declare const TaskRun: z.ZodObject<{
179
179
  idempotencyKey?: string | undefined;
180
180
  }, {
181
181
  id: string;
182
- startedAt: Date;
183
182
  payload: string;
184
183
  payloadType: string;
185
184
  tags: string[];
186
185
  createdAt: Date;
187
186
  context?: any;
188
187
  isTest?: boolean | undefined;
188
+ startedAt?: Date | undefined;
189
189
  idempotencyKey?: string | undefined;
190
190
  durationMs?: number | undefined;
191
191
  costInCents?: number | undefined;
@@ -336,7 +336,7 @@ declare const TaskRunExecution: z.ZodObject<{
336
336
  tags: z.ZodArray<z.ZodString, "many">;
337
337
  isTest: z.ZodDefault<z.ZodBoolean>;
338
338
  createdAt: z.ZodDate;
339
- startedAt: z.ZodDate;
339
+ startedAt: z.ZodDefault<z.ZodDate>;
340
340
  idempotencyKey: z.ZodOptional<z.ZodString>;
341
341
  durationMs: z.ZodDefault<z.ZodNumber>;
342
342
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -356,13 +356,13 @@ declare const TaskRunExecution: z.ZodObject<{
356
356
  idempotencyKey?: string | undefined;
357
357
  }, {
358
358
  id: string;
359
- startedAt: Date;
360
359
  payload: string;
361
360
  payloadType: string;
362
361
  tags: string[];
363
362
  createdAt: Date;
364
363
  context?: any;
365
364
  isTest?: boolean | undefined;
365
+ startedAt?: Date | undefined;
366
366
  idempotencyKey?: string | undefined;
367
367
  durationMs?: number | undefined;
368
368
  costInCents?: number | undefined;
@@ -516,13 +516,13 @@ declare const TaskRunExecution: z.ZodObject<{
516
516
  };
517
517
  run: {
518
518
  id: string;
519
- startedAt: Date;
520
519
  payload: string;
521
520
  payloadType: string;
522
521
  tags: string[];
523
522
  createdAt: Date;
524
523
  context?: any;
525
524
  isTest?: boolean | undefined;
525
+ startedAt?: Date | undefined;
526
526
  idempotencyKey?: string | undefined;
527
527
  durationMs?: number | undefined;
528
528
  costInCents?: number | undefined;
@@ -599,7 +599,7 @@ declare const TaskRunContext: z.ZodObject<{
599
599
  tags: z.ZodArray<z.ZodString, "many">;
600
600
  isTest: z.ZodDefault<z.ZodBoolean>;
601
601
  createdAt: z.ZodDate;
602
- startedAt: z.ZodDate;
602
+ startedAt: z.ZodDefault<z.ZodDate>;
603
603
  idempotencyKey: z.ZodOptional<z.ZodString>;
604
604
  durationMs: z.ZodDefault<z.ZodNumber>;
605
605
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -617,9 +617,9 @@ declare const TaskRunContext: z.ZodObject<{
617
617
  idempotencyKey?: string | undefined;
618
618
  }, {
619
619
  id: string;
620
- startedAt: Date;
621
620
  tags: string[];
622
621
  createdAt: Date;
622
+ startedAt?: Date | undefined;
623
623
  context?: any;
624
624
  isTest?: boolean | undefined;
625
625
  idempotencyKey?: string | undefined;
@@ -769,9 +769,9 @@ declare const TaskRunContext: z.ZodObject<{
769
769
  };
770
770
  run: {
771
771
  id: string;
772
- startedAt: Date;
773
772
  tags: string[];
774
773
  createdAt: Date;
774
+ startedAt?: Date | undefined;
775
775
  context?: any;
776
776
  isTest?: boolean | undefined;
777
777
  idempotencyKey?: string | undefined;
@@ -159,7 +159,7 @@ declare const TaskRun: z.ZodObject<{
159
159
  tags: z.ZodArray<z.ZodString, "many">;
160
160
  isTest: z.ZodDefault<z.ZodBoolean>;
161
161
  createdAt: z.ZodDate;
162
- startedAt: z.ZodDate;
162
+ startedAt: z.ZodDefault<z.ZodDate>;
163
163
  idempotencyKey: z.ZodOptional<z.ZodString>;
164
164
  durationMs: z.ZodDefault<z.ZodNumber>;
165
165
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -179,13 +179,13 @@ declare const TaskRun: z.ZodObject<{
179
179
  idempotencyKey?: string | undefined;
180
180
  }, {
181
181
  id: string;
182
- startedAt: Date;
183
182
  payload: string;
184
183
  payloadType: string;
185
184
  tags: string[];
186
185
  createdAt: Date;
187
186
  context?: any;
188
187
  isTest?: boolean | undefined;
188
+ startedAt?: Date | undefined;
189
189
  idempotencyKey?: string | undefined;
190
190
  durationMs?: number | undefined;
191
191
  costInCents?: number | undefined;
@@ -336,7 +336,7 @@ declare const TaskRunExecution: z.ZodObject<{
336
336
  tags: z.ZodArray<z.ZodString, "many">;
337
337
  isTest: z.ZodDefault<z.ZodBoolean>;
338
338
  createdAt: z.ZodDate;
339
- startedAt: z.ZodDate;
339
+ startedAt: z.ZodDefault<z.ZodDate>;
340
340
  idempotencyKey: z.ZodOptional<z.ZodString>;
341
341
  durationMs: z.ZodDefault<z.ZodNumber>;
342
342
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -356,13 +356,13 @@ declare const TaskRunExecution: z.ZodObject<{
356
356
  idempotencyKey?: string | undefined;
357
357
  }, {
358
358
  id: string;
359
- startedAt: Date;
360
359
  payload: string;
361
360
  payloadType: string;
362
361
  tags: string[];
363
362
  createdAt: Date;
364
363
  context?: any;
365
364
  isTest?: boolean | undefined;
365
+ startedAt?: Date | undefined;
366
366
  idempotencyKey?: string | undefined;
367
367
  durationMs?: number | undefined;
368
368
  costInCents?: number | undefined;
@@ -516,13 +516,13 @@ declare const TaskRunExecution: z.ZodObject<{
516
516
  };
517
517
  run: {
518
518
  id: string;
519
- startedAt: Date;
520
519
  payload: string;
521
520
  payloadType: string;
522
521
  tags: string[];
523
522
  createdAt: Date;
524
523
  context?: any;
525
524
  isTest?: boolean | undefined;
525
+ startedAt?: Date | undefined;
526
526
  idempotencyKey?: string | undefined;
527
527
  durationMs?: number | undefined;
528
528
  costInCents?: number | undefined;
@@ -599,7 +599,7 @@ declare const TaskRunContext: z.ZodObject<{
599
599
  tags: z.ZodArray<z.ZodString, "many">;
600
600
  isTest: z.ZodDefault<z.ZodBoolean>;
601
601
  createdAt: z.ZodDate;
602
- startedAt: z.ZodDate;
602
+ startedAt: z.ZodDefault<z.ZodDate>;
603
603
  idempotencyKey: z.ZodOptional<z.ZodString>;
604
604
  durationMs: z.ZodDefault<z.ZodNumber>;
605
605
  costInCents: z.ZodDefault<z.ZodNumber>;
@@ -617,9 +617,9 @@ declare const TaskRunContext: z.ZodObject<{
617
617
  idempotencyKey?: string | undefined;
618
618
  }, {
619
619
  id: string;
620
- startedAt: Date;
621
620
  tags: string[];
622
621
  createdAt: Date;
622
+ startedAt?: Date | undefined;
623
623
  context?: any;
624
624
  isTest?: boolean | undefined;
625
625
  idempotencyKey?: string | undefined;
@@ -769,9 +769,9 @@ declare const TaskRunContext: z.ZodObject<{
769
769
  };
770
770
  run: {
771
771
  id: string;
772
- startedAt: Date;
773
772
  tags: string[];
774
773
  createdAt: Date;
774
+ startedAt?: Date | undefined;
775
775
  context?: any;
776
776
  isTest?: boolean | undefined;
777
777
  idempotencyKey?: string | undefined;