@trigger.dev/core 0.0.0-v3-trigger-dirs-20240422221109 → 0.0.0-v3-trigger-dirs-20240423091017
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/{consoleInterceptor-6WZo2qUS.d.ts → consoleInterceptor-pKvaiAI6.d.ts} +380 -380
- package/dist/{consoleInterceptor-hjdjADX8.d.mts → consoleInterceptor-tCKb2R0l.d.mts} +380 -380
- package/dist/v3/dev/index.d.mts +1 -1
- package/dist/v3/dev/index.d.ts +1 -1
- package/dist/v3/index.d.mts +14 -14
- package/dist/v3/index.d.ts +14 -14
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/index.mjs.map +1 -1
- package/dist/v3/prod/index.d.mts +2 -2
- package/dist/v3/prod/index.d.ts +2 -2
- package/dist/v3/workers/index.d.mts +5 -5
- package/dist/v3/workers/index.d.ts +5 -5
- package/package.json +3 -3
- package/dist/{manager-psJfQhBB.d.mts → manager-KhqZOMNe.d.mts} +80 -80
- package/dist/{manager-psJfQhBB.d.ts → manager-KhqZOMNe.d.ts} +80 -80
- package/dist/{messages-GvjBDSAA.d.mts → messages-oFuHKbi4.d.mts} +465 -465
- package/dist/{messages-GvjBDSAA.d.ts → messages-oFuHKbi4.d.ts} +465 -465
package/dist/v3/dev/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RuntimeManager, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, b as TaskRunContext, p as TaskRunExecution } from '../../manager-
|
|
1
|
+
import { R as RuntimeManager, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, b as TaskRunContext, p as TaskRunExecution } from '../../manager-KhqZOMNe.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
|
|
4
4
|
declare class DevRuntimeManager implements RuntimeManager {
|
package/dist/v3/dev/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RuntimeManager, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, b as TaskRunContext, p as TaskRunExecution } from '../../manager-
|
|
1
|
+
import { R as RuntimeManager, T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, b as TaskRunContext, p as TaskRunExecution } from '../../manager-KhqZOMNe.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
|
|
4
4
|
declare class DevRuntimeManager implements RuntimeManager {
|
package/dist/v3/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as zod from 'zod';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunError, b as TaskRunContext, R as RuntimeManager } from '../manager-
|
|
4
|
-
export { h as TaskRun, c as TaskRunBuiltInError, d as TaskRunCustomErrorObject, f as TaskRunErrorCodes, p as TaskRunExecution, j as TaskRunExecutionAttempt, o as TaskRunExecutionBatch, k as TaskRunExecutionEnvironment, l as TaskRunExecutionOrganization, m as TaskRunExecutionProject, n as TaskRunExecutionQueue, q as TaskRunExecutionRetry, i as TaskRunExecutionTask, r as TaskRunFailedExecutionResult, g as TaskRunInternalError, e as TaskRunStringError, s as TaskRunSuccessfulExecutionResult } from '../manager-
|
|
5
|
-
import { T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../messages-
|
|
6
|
-
export { f as BackgroundWorkerClientMessages, g as BackgroundWorkerProperties, B as BackgroundWorkerServerMessages, E as EnvironmentType, F as FixedWindowRateLimit, c as Machine, M as MachineCpu, b as MachineMemory, m as ProdChildToWorkerMessages, P as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, n as ProdWorkerToChildMessages, Q as QueueOptions, i as RateLimitOptions, S as SlidingWindowRateLimit, j as TaskMetadata, k as TaskMetadataFailedToParseData, d as TaskRunExecutionPayload, U as UncaughtExceptionMessage, l as childToWorkerMessages, h as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-
|
|
7
|
-
import { P as Prettify, T as TaskLogger, C as Clock, a as ClockTime, b as TaskMetadataWithFunctions, c as TriggerTracer } from '../consoleInterceptor-
|
|
8
|
-
export { n as ClientToSharedQueueMessages, h as Config, e as ConsoleInterceptor, u as Context, k as CoordinatorToPlatformMessages, p as CoordinatorToProdWorkerMessages, y as HandleErrorArgs, H as HandleErrorFnParams, z as HandleErrorFunction, w as HandleErrorModificationOptions, x as HandleErrorResult, s as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, O as OtelTaskLogger, m as PlatformToCoordinatorMessages, j as PlatformToProviderMessages, f as PostStartCauses, g as PreStopCauses, q as ProdWorkerSocketData, o as ProdWorkerToCoordinatorMessages, B as ProjectConfig, i as ProviderToPlatformMessages, A as RequireKeys, R as ResolvedConfig, r as RunFnParams, S as SharedQueueToClientMessages, v as SuccessFnParams, d as TaskContextSpanProcessor, W as WaitReason, l as logLevels, t as taskContextManager } from '../consoleInterceptor-
|
|
3
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunError, b as TaskRunContext, R as RuntimeManager } from '../manager-KhqZOMNe.mjs';
|
|
4
|
+
export { h as TaskRun, c as TaskRunBuiltInError, d as TaskRunCustomErrorObject, f as TaskRunErrorCodes, p as TaskRunExecution, j as TaskRunExecutionAttempt, o as TaskRunExecutionBatch, k as TaskRunExecutionEnvironment, l as TaskRunExecutionOrganization, m as TaskRunExecutionProject, n as TaskRunExecutionQueue, q as TaskRunExecutionRetry, i as TaskRunExecutionTask, r as TaskRunFailedExecutionResult, g as TaskRunInternalError, e as TaskRunStringError, s as TaskRunSuccessfulExecutionResult } from '../manager-KhqZOMNe.mjs';
|
|
5
|
+
import { T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../messages-oFuHKbi4.mjs';
|
|
6
|
+
export { f as BackgroundWorkerClientMessages, g as BackgroundWorkerProperties, B as BackgroundWorkerServerMessages, E as EnvironmentType, F as FixedWindowRateLimit, c as Machine, M as MachineCpu, b as MachineMemory, m as ProdChildToWorkerMessages, P as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, n as ProdWorkerToChildMessages, Q as QueueOptions, i as RateLimitOptions, S as SlidingWindowRateLimit, j as TaskMetadata, k as TaskMetadataFailedToParseData, d as TaskRunExecutionPayload, U as UncaughtExceptionMessage, l as childToWorkerMessages, h as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-oFuHKbi4.mjs';
|
|
7
|
+
import { P as Prettify, T as TaskLogger, C as Clock, a as ClockTime, b as TaskMetadataWithFunctions, c as TriggerTracer } from '../consoleInterceptor-tCKb2R0l.mjs';
|
|
8
|
+
export { n as ClientToSharedQueueMessages, h as Config, e as ConsoleInterceptor, u as Context, k as CoordinatorToPlatformMessages, p as CoordinatorToProdWorkerMessages, y as HandleErrorArgs, H as HandleErrorFnParams, z as HandleErrorFunction, w as HandleErrorModificationOptions, x as HandleErrorResult, s as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, O as OtelTaskLogger, m as PlatformToCoordinatorMessages, j as PlatformToProviderMessages, f as PostStartCauses, g as PreStopCauses, q as ProdWorkerSocketData, o as ProdWorkerToCoordinatorMessages, B as ProjectConfig, i as ProviderToPlatformMessages, A as RequireKeys, R as ResolvedConfig, r as RunFnParams, S as SharedQueueToClientMessages, v as SuccessFnParams, d as TaskContextSpanProcessor, W as WaitReason, l as logLevels, t as taskContextManager } from '../consoleInterceptor-tCKb2R0l.mjs';
|
|
9
9
|
import { Span, Attributes } from '@opentelemetry/api';
|
|
10
10
|
import { SeverityNumber } from '@opentelemetry/api-logs';
|
|
11
11
|
import { Unit } from 'humanize-duration';
|
|
@@ -1696,19 +1696,19 @@ declare const GetBatchResponseBody: z.ZodObject<{
|
|
|
1696
1696
|
taskRunId: string;
|
|
1697
1697
|
}>, "many">;
|
|
1698
1698
|
}, "strip", z.ZodTypeAny, {
|
|
1699
|
+
id: string;
|
|
1699
1700
|
items: {
|
|
1700
1701
|
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
|
|
1701
1702
|
id: string;
|
|
1702
1703
|
taskRunId: string;
|
|
1703
1704
|
}[];
|
|
1704
|
-
id: string;
|
|
1705
1705
|
}, {
|
|
1706
|
+
id: string;
|
|
1706
1707
|
items: {
|
|
1707
1708
|
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
|
|
1708
1709
|
id: string;
|
|
1709
1710
|
taskRunId: string;
|
|
1710
1711
|
}[];
|
|
1711
|
-
id: string;
|
|
1712
1712
|
}>;
|
|
1713
1713
|
type GetBatchResponseBody = z.infer<typeof GetBatchResponseBody>;
|
|
1714
1714
|
declare const GetEnvironmentVariablesResponseBody: z.ZodObject<{
|
|
@@ -1814,12 +1814,12 @@ declare const DeploymentErrorData: z.ZodObject<{
|
|
|
1814
1814
|
message: z.ZodString;
|
|
1815
1815
|
stack: z.ZodOptional<z.ZodString>;
|
|
1816
1816
|
}, "strip", z.ZodTypeAny, {
|
|
1817
|
-
name: string;
|
|
1818
1817
|
message: string;
|
|
1818
|
+
name: string;
|
|
1819
1819
|
stack?: string | undefined;
|
|
1820
1820
|
}, {
|
|
1821
|
-
name: string;
|
|
1822
1821
|
message: string;
|
|
1822
|
+
name: string;
|
|
1823
1823
|
stack?: string | undefined;
|
|
1824
1824
|
}>;
|
|
1825
1825
|
declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
@@ -1834,12 +1834,12 @@ declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1834
1834
|
message: z.ZodString;
|
|
1835
1835
|
stack: z.ZodOptional<z.ZodString>;
|
|
1836
1836
|
}, "strip", z.ZodTypeAny, {
|
|
1837
|
-
name: string;
|
|
1838
1837
|
message: string;
|
|
1838
|
+
name: string;
|
|
1839
1839
|
stack?: string | undefined;
|
|
1840
1840
|
}, {
|
|
1841
|
-
name: string;
|
|
1842
1841
|
message: string;
|
|
1842
|
+
name: string;
|
|
1843
1843
|
stack?: string | undefined;
|
|
1844
1844
|
}>>>;
|
|
1845
1845
|
worker: z.ZodOptional<z.ZodObject<{
|
|
@@ -1888,8 +1888,8 @@ declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1888
1888
|
shortCode: string;
|
|
1889
1889
|
imageReference?: string | undefined;
|
|
1890
1890
|
errorData?: {
|
|
1891
|
-
name: string;
|
|
1892
1891
|
message: string;
|
|
1892
|
+
name: string;
|
|
1893
1893
|
stack?: string | undefined;
|
|
1894
1894
|
} | null | undefined;
|
|
1895
1895
|
worker?: {
|
|
@@ -1910,8 +1910,8 @@ declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1910
1910
|
shortCode: string;
|
|
1911
1911
|
imageReference?: string | undefined;
|
|
1912
1912
|
errorData?: {
|
|
1913
|
-
name: string;
|
|
1914
1913
|
message: string;
|
|
1914
|
+
name: string;
|
|
1915
1915
|
stack?: string | undefined;
|
|
1916
1916
|
} | null | undefined;
|
|
1917
1917
|
worker?: {
|
package/dist/v3/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as zod from 'zod';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunError, b as TaskRunContext, R as RuntimeManager } from '../manager-
|
|
4
|
-
export { h as TaskRun, c as TaskRunBuiltInError, d as TaskRunCustomErrorObject, f as TaskRunErrorCodes, p as TaskRunExecution, j as TaskRunExecutionAttempt, o as TaskRunExecutionBatch, k as TaskRunExecutionEnvironment, l as TaskRunExecutionOrganization, m as TaskRunExecutionProject, n as TaskRunExecutionQueue, q as TaskRunExecutionRetry, i as TaskRunExecutionTask, r as TaskRunFailedExecutionResult, g as TaskRunInternalError, e as TaskRunStringError, s as TaskRunSuccessfulExecutionResult } from '../manager-
|
|
5
|
-
import { T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../messages-
|
|
6
|
-
export { f as BackgroundWorkerClientMessages, g as BackgroundWorkerProperties, B as BackgroundWorkerServerMessages, E as EnvironmentType, F as FixedWindowRateLimit, c as Machine, M as MachineCpu, b as MachineMemory, m as ProdChildToWorkerMessages, P as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, n as ProdWorkerToChildMessages, Q as QueueOptions, i as RateLimitOptions, S as SlidingWindowRateLimit, j as TaskMetadata, k as TaskMetadataFailedToParseData, d as TaskRunExecutionPayload, U as UncaughtExceptionMessage, l as childToWorkerMessages, h as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-
|
|
7
|
-
import { P as Prettify, T as TaskLogger, C as Clock, a as ClockTime, b as TaskMetadataWithFunctions, c as TriggerTracer } from '../consoleInterceptor-
|
|
8
|
-
export { n as ClientToSharedQueueMessages, h as Config, e as ConsoleInterceptor, u as Context, k as CoordinatorToPlatformMessages, p as CoordinatorToProdWorkerMessages, y as HandleErrorArgs, H as HandleErrorFnParams, z as HandleErrorFunction, w as HandleErrorModificationOptions, x as HandleErrorResult, s as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, O as OtelTaskLogger, m as PlatformToCoordinatorMessages, j as PlatformToProviderMessages, f as PostStartCauses, g as PreStopCauses, q as ProdWorkerSocketData, o as ProdWorkerToCoordinatorMessages, B as ProjectConfig, i as ProviderToPlatformMessages, A as RequireKeys, R as ResolvedConfig, r as RunFnParams, S as SharedQueueToClientMessages, v as SuccessFnParams, d as TaskContextSpanProcessor, W as WaitReason, l as logLevels, t as taskContextManager } from '../consoleInterceptor-
|
|
3
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunError, b as TaskRunContext, R as RuntimeManager } from '../manager-KhqZOMNe.js';
|
|
4
|
+
export { h as TaskRun, c as TaskRunBuiltInError, d as TaskRunCustomErrorObject, f as TaskRunErrorCodes, p as TaskRunExecution, j as TaskRunExecutionAttempt, o as TaskRunExecutionBatch, k as TaskRunExecutionEnvironment, l as TaskRunExecutionOrganization, m as TaskRunExecutionProject, n as TaskRunExecutionQueue, q as TaskRunExecutionRetry, i as TaskRunExecutionTask, r as TaskRunFailedExecutionResult, g as TaskRunInternalError, e as TaskRunStringError, s as TaskRunSuccessfulExecutionResult } from '../manager-KhqZOMNe.js';
|
|
5
|
+
import { T as TaskFileMetadata, a as TaskMetadataWithFilePath, R as RetryOptions } from '../messages-oFuHKbi4.js';
|
|
6
|
+
export { f as BackgroundWorkerClientMessages, g as BackgroundWorkerProperties, B as BackgroundWorkerServerMessages, E as EnvironmentType, F as FixedWindowRateLimit, c as Machine, M as MachineCpu, b as MachineMemory, m as ProdChildToWorkerMessages, P as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, n as ProdWorkerToChildMessages, Q as QueueOptions, i as RateLimitOptions, S as SlidingWindowRateLimit, j as TaskMetadata, k as TaskMetadataFailedToParseData, d as TaskRunExecutionPayload, U as UncaughtExceptionMessage, l as childToWorkerMessages, h as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-oFuHKbi4.js';
|
|
7
|
+
import { P as Prettify, T as TaskLogger, C as Clock, a as ClockTime, b as TaskMetadataWithFunctions, c as TriggerTracer } from '../consoleInterceptor-pKvaiAI6.js';
|
|
8
|
+
export { n as ClientToSharedQueueMessages, h as Config, e as ConsoleInterceptor, u as Context, k as CoordinatorToPlatformMessages, p as CoordinatorToProdWorkerMessages, y as HandleErrorArgs, H as HandleErrorFnParams, z as HandleErrorFunction, w as HandleErrorModificationOptions, x as HandleErrorResult, s as InitFnParams, I as InitOutput, L as LogLevel, M as MiddlewareFnParams, O as OtelTaskLogger, m as PlatformToCoordinatorMessages, j as PlatformToProviderMessages, f as PostStartCauses, g as PreStopCauses, q as ProdWorkerSocketData, o as ProdWorkerToCoordinatorMessages, B as ProjectConfig, i as ProviderToPlatformMessages, A as RequireKeys, R as ResolvedConfig, r as RunFnParams, S as SharedQueueToClientMessages, v as SuccessFnParams, d as TaskContextSpanProcessor, W as WaitReason, l as logLevels, t as taskContextManager } from '../consoleInterceptor-pKvaiAI6.js';
|
|
9
9
|
import { Span, Attributes } from '@opentelemetry/api';
|
|
10
10
|
import { SeverityNumber } from '@opentelemetry/api-logs';
|
|
11
11
|
import { Unit } from 'humanize-duration';
|
|
@@ -1696,19 +1696,19 @@ declare const GetBatchResponseBody: z.ZodObject<{
|
|
|
1696
1696
|
taskRunId: string;
|
|
1697
1697
|
}>, "many">;
|
|
1698
1698
|
}, "strip", z.ZodTypeAny, {
|
|
1699
|
+
id: string;
|
|
1699
1700
|
items: {
|
|
1700
1701
|
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
|
|
1701
1702
|
id: string;
|
|
1702
1703
|
taskRunId: string;
|
|
1703
1704
|
}[];
|
|
1704
|
-
id: string;
|
|
1705
1705
|
}, {
|
|
1706
|
+
id: string;
|
|
1706
1707
|
items: {
|
|
1707
1708
|
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
|
|
1708
1709
|
id: string;
|
|
1709
1710
|
taskRunId: string;
|
|
1710
1711
|
}[];
|
|
1711
|
-
id: string;
|
|
1712
1712
|
}>;
|
|
1713
1713
|
type GetBatchResponseBody = z.infer<typeof GetBatchResponseBody>;
|
|
1714
1714
|
declare const GetEnvironmentVariablesResponseBody: z.ZodObject<{
|
|
@@ -1814,12 +1814,12 @@ declare const DeploymentErrorData: z.ZodObject<{
|
|
|
1814
1814
|
message: z.ZodString;
|
|
1815
1815
|
stack: z.ZodOptional<z.ZodString>;
|
|
1816
1816
|
}, "strip", z.ZodTypeAny, {
|
|
1817
|
-
name: string;
|
|
1818
1817
|
message: string;
|
|
1818
|
+
name: string;
|
|
1819
1819
|
stack?: string | undefined;
|
|
1820
1820
|
}, {
|
|
1821
|
-
name: string;
|
|
1822
1821
|
message: string;
|
|
1822
|
+
name: string;
|
|
1823
1823
|
stack?: string | undefined;
|
|
1824
1824
|
}>;
|
|
1825
1825
|
declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
@@ -1834,12 +1834,12 @@ declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1834
1834
|
message: z.ZodString;
|
|
1835
1835
|
stack: z.ZodOptional<z.ZodString>;
|
|
1836
1836
|
}, "strip", z.ZodTypeAny, {
|
|
1837
|
-
name: string;
|
|
1838
1837
|
message: string;
|
|
1838
|
+
name: string;
|
|
1839
1839
|
stack?: string | undefined;
|
|
1840
1840
|
}, {
|
|
1841
|
-
name: string;
|
|
1842
1841
|
message: string;
|
|
1842
|
+
name: string;
|
|
1843
1843
|
stack?: string | undefined;
|
|
1844
1844
|
}>>>;
|
|
1845
1845
|
worker: z.ZodOptional<z.ZodObject<{
|
|
@@ -1888,8 +1888,8 @@ declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1888
1888
|
shortCode: string;
|
|
1889
1889
|
imageReference?: string | undefined;
|
|
1890
1890
|
errorData?: {
|
|
1891
|
-
name: string;
|
|
1892
1891
|
message: string;
|
|
1892
|
+
name: string;
|
|
1893
1893
|
stack?: string | undefined;
|
|
1894
1894
|
} | null | undefined;
|
|
1895
1895
|
worker?: {
|
|
@@ -1910,8 +1910,8 @@ declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1910
1910
|
shortCode: string;
|
|
1911
1911
|
imageReference?: string | undefined;
|
|
1912
1912
|
errorData?: {
|
|
1913
|
-
name: string;
|
|
1914
1913
|
message: string;
|
|
1914
|
+
name: string;
|
|
1915
1915
|
stack?: string | undefined;
|
|
1916
1916
|
} | null | undefined;
|
|
1917
1917
|
worker?: {
|