@trigger.dev/core 0.0.0-prerelease-20240905123715 → 0.0.0-prerelease-20240911144933

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/commonjs/v3/apiClient/index.d.ts +18 -18
  2. package/dist/commonjs/v3/build/externals.d.ts +1 -0
  3. package/dist/commonjs/v3/build/externals.js +5 -0
  4. package/dist/commonjs/v3/build/externals.js.map +1 -0
  5. package/dist/commonjs/v3/build/index.d.ts +1 -0
  6. package/dist/commonjs/v3/build/index.js +1 -0
  7. package/dist/commonjs/v3/build/index.js.map +1 -1
  8. package/dist/commonjs/v3/build/resolvedConfig.d.ts +1 -0
  9. package/dist/commonjs/v3/schemas/api.d.ts +170 -161
  10. package/dist/commonjs/v3/schemas/api.js +3 -0
  11. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  12. package/dist/commonjs/v3/schemas/build.d.ts +60 -60
  13. package/dist/commonjs/v3/schemas/messages.d.ts +1609 -1609
  14. package/dist/commonjs/v3/schemas/resources.d.ts +12 -12
  15. package/dist/commonjs/v3/schemas/schemas.d.ts +227 -227
  16. package/dist/commonjs/version.js +1 -1
  17. package/dist/esm/v3/apiClient/index.d.ts +18 -18
  18. package/dist/esm/v3/build/externals.d.ts +1 -0
  19. package/dist/esm/v3/build/externals.js +2 -0
  20. package/dist/esm/v3/build/externals.js.map +1 -0
  21. package/dist/esm/v3/build/index.d.ts +1 -0
  22. package/dist/esm/v3/build/index.js +1 -0
  23. package/dist/esm/v3/build/index.js.map +1 -1
  24. package/dist/esm/v3/build/resolvedConfig.d.ts +1 -0
  25. package/dist/esm/v3/schemas/api.d.ts +170 -161
  26. package/dist/esm/v3/schemas/api.js +3 -0
  27. package/dist/esm/v3/schemas/api.js.map +1 -1
  28. package/dist/esm/v3/schemas/build.d.ts +60 -60
  29. package/dist/esm/v3/schemas/messages.d.ts +1609 -1609
  30. package/dist/esm/v3/schemas/resources.d.ts +12 -12
  31. package/dist/esm/v3/schemas/schemas.d.ts +227 -227
  32. package/dist/esm/version.js +1 -1
  33. package/package.json +112 -4
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = "0.0.0-prerelease-20240905123715";
4
+ exports.VERSION = "0.0.0-prerelease-20240911144933";
5
5
  //# sourceMappingURL=version.js.map
@@ -35,12 +35,8 @@ export declare class ApiClient {
35
35
  retrieveRun(runId: string, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
36
36
  status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
37
37
  id: string;
38
- tags: string[];
39
- isTest: boolean;
40
38
  createdAt: Date;
41
- durationMs: number;
42
- costInCents: number;
43
- baseCostInCents: number;
39
+ tags: string[];
44
40
  attempts: ({
45
41
  status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
46
42
  id: string;
@@ -62,6 +58,10 @@ export declare class ApiClient {
62
58
  isSuccess: boolean;
63
59
  isFailed: boolean;
64
60
  isCancelled: boolean;
61
+ isTest: boolean;
62
+ costInCents: number;
63
+ baseCostInCents: number;
64
+ durationMs: number;
65
65
  payload?: any;
66
66
  payloadPresignedUrl?: string | undefined;
67
67
  output?: any;
@@ -95,12 +95,8 @@ export declare class ApiClient {
95
95
  rescheduleRun(runId: string, body: RescheduleRunRequestBody, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
96
96
  status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
97
97
  id: string;
98
- tags: string[];
99
- isTest: boolean;
100
98
  createdAt: Date;
101
- durationMs: number;
102
- costInCents: number;
103
- baseCostInCents: number;
99
+ tags: string[];
104
100
  attempts: ({
105
101
  status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
106
102
  id: string;
@@ -122,6 +118,10 @@ export declare class ApiClient {
122
118
  isSuccess: boolean;
123
119
  isFailed: boolean;
124
120
  isCancelled: boolean;
121
+ isTest: boolean;
122
+ costInCents: number;
123
+ baseCostInCents: number;
124
+ durationMs: number;
125
125
  payload?: any;
126
126
  payloadPresignedUrl?: string | undefined;
127
127
  output?: any;
@@ -149,8 +149,8 @@ export declare class ApiClient {
149
149
  }>;
150
150
  createSchedule(options: CreateScheduleOptions, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
151
151
  type: "DECLARATIVE" | "IMPERATIVE";
152
- timezone: string;
153
152
  id: string;
153
+ timezone: string;
154
154
  task: string;
155
155
  active: boolean;
156
156
  generator: {
@@ -204,8 +204,8 @@ export declare class ApiClient {
204
204
  }>, "many">;
205
205
  }, "strip", z.ZodTypeAny, {
206
206
  type: "DECLARATIVE" | "IMPERATIVE";
207
- timezone: string;
208
207
  id: string;
208
+ timezone: string;
209
209
  task: string;
210
210
  active: boolean;
211
211
  generator: {
@@ -223,8 +223,8 @@ export declare class ApiClient {
223
223
  nextRun?: Date | null | undefined;
224
224
  }, {
225
225
  type: "DECLARATIVE" | "IMPERATIVE";
226
- timezone: string;
227
226
  id: string;
227
+ timezone: string;
228
228
  task: string;
229
229
  active: boolean;
230
230
  generator: {
@@ -243,8 +243,8 @@ export declare class ApiClient {
243
243
  }>>;
244
244
  retrieveSchedule(scheduleId: string, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
245
245
  type: "DECLARATIVE" | "IMPERATIVE";
246
- timezone: string;
247
246
  id: string;
247
+ timezone: string;
248
248
  task: string;
249
249
  active: boolean;
250
250
  generator: {
@@ -263,8 +263,8 @@ export declare class ApiClient {
263
263
  }>;
264
264
  updateSchedule(scheduleId: string, options: UpdateScheduleOptions, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
265
265
  type: "DECLARATIVE" | "IMPERATIVE";
266
- timezone: string;
267
266
  id: string;
267
+ timezone: string;
268
268
  task: string;
269
269
  active: boolean;
270
270
  generator: {
@@ -283,8 +283,8 @@ export declare class ApiClient {
283
283
  }>;
284
284
  deactivateSchedule(scheduleId: string, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
285
285
  type: "DECLARATIVE" | "IMPERATIVE";
286
- timezone: string;
287
286
  id: string;
287
+ timezone: string;
288
288
  task: string;
289
289
  active: boolean;
290
290
  generator: {
@@ -303,8 +303,8 @@ export declare class ApiClient {
303
303
  }>;
304
304
  activateSchedule(scheduleId: string, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
305
305
  type: "DECLARATIVE" | "IMPERATIVE";
306
- timezone: string;
307
306
  id: string;
307
+ timezone: string;
308
308
  task: string;
309
309
  active: boolean;
310
310
  generator: {
@@ -325,8 +325,8 @@ export declare class ApiClient {
325
325
  id: string;
326
326
  }>;
327
327
  listEnvVars(projectRef: string, slug: string, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
328
- name: string;
329
328
  value: string;
329
+ name: string;
330
330
  }[]>;
331
331
  importEnvVars(projectRef: string, slug: string, body: ImportEnvironmentVariablesParams, requestOptions?: ZodFetchOptions): import("./core.js").ApiPromise<{
332
332
  success: boolean;
@@ -0,0 +1 @@
1
+ export declare const alwaysExternal: string[];
@@ -0,0 +1,2 @@
1
+ export const alwaysExternal = ["import-in-the-middle", "header-generator"];
2
+ //# sourceMappingURL=externals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"externals.js","sourceRoot":"","sources":["../../../../src/v3/build/externals.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from "./extensions.js";
2
2
  export * from "./resolvedConfig.js";
3
3
  export * from "./runtime.js";
4
+ export * from "./externals.js";
@@ -1,4 +1,5 @@
1
1
  export * from "./extensions.js";
2
2
  export * from "./resolvedConfig.js";
3
3
  export * from "./runtime.js";
4
+ export * from "./externals.js";
4
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v3/build/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v3/build/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC"}
@@ -24,4 +24,5 @@ export type ResolvedConfig = Prettify<Defu<TriggerConfig, [
24
24
  lockfilePath: string;
25
25
  configFile?: string;
26
26
  resolveEnvVars?: ResolveEnvironmentVariablesFunction;
27
+ instrumentedPackageNames?: string[];
27
28
  }>;