@trigger.dev/core 3.0.0-beta.53 → 3.0.0-beta.54
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/{catalog-5dTDJ-TQ.d.ts → catalog-gM5Cvgc3.d.ts} +1 -1
- package/dist/{catalog-gw5uEsZY.d.mts → catalog-nhfltZFA.d.mts} +1 -1
- package/dist/{common-kzhJv2gD.d.mts → common-B45g-vNI.d.mts} +23 -24
- package/dist/{common-kzhJv2gD.d.ts → common-B45g-vNI.d.ts} +23 -24
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{manager-k_givRJe.d.mts → manager-q7bZZNwE.d.mts} +1 -1
- package/dist/{manager--64zd93C.d.ts → manager-zf0yn2lA.d.ts} +1 -1
- package/dist/{messages-EutV4lq2.d.mts → messages-248C7Ut6.d.mts} +144 -181
- package/dist/{messages-EutV4lq2.d.ts → messages-248C7Ut6.d.ts} +144 -181
- package/dist/retry.d.mts +1 -1
- package/dist/retry.d.ts +1 -1
- package/dist/schemas/index.d.mts +6 -6
- package/dist/schemas/index.d.ts +6 -6
- package/dist/v3/dev/index.d.mts +2 -2
- package/dist/v3/dev/index.d.ts +2 -2
- package/dist/v3/errors.d.mts +1 -1
- package/dist/v3/errors.d.ts +1 -1
- package/dist/v3/index.d.mts +7 -7
- package/dist/v3/index.d.ts +7 -7
- package/dist/v3/index.js +11 -31
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/index.mjs +11 -31
- package/dist/v3/index.mjs.map +1 -1
- package/dist/v3/otel/index.js +1 -1
- package/dist/v3/otel/index.js.map +1 -1
- package/dist/v3/otel/index.mjs +1 -1
- package/dist/v3/otel/index.mjs.map +1 -1
- package/dist/v3/prod/index.d.mts +3 -3
- package/dist/v3/prod/index.d.ts +3 -3
- package/dist/v3/schemas/index.d.mts +2 -2
- package/dist/v3/schemas/index.d.ts +2 -2
- package/dist/v3/schemas/index.js +10 -30
- package/dist/v3/schemas/index.js.map +1 -1
- package/dist/v3/schemas/index.mjs +10 -30
- package/dist/v3/schemas/index.mjs.map +1 -1
- package/dist/v3/utils/ioSerialization.js +2 -3
- package/dist/v3/utils/ioSerialization.js.map +1 -1
- package/dist/v3/utils/ioSerialization.mjs +2 -3
- package/dist/v3/utils/ioSerialization.mjs.map +1 -1
- package/dist/v3/workers/index.d.mts +5 -5
- package/dist/v3/workers/index.d.ts +5 -5
- package/dist/v3/workers/index.js +3 -5
- package/dist/v3/workers/index.js.map +1 -1
- package/dist/v3/workers/index.mjs +3 -5
- package/dist/v3/workers/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/{api-a39zAY3E.d.mts → api-Pl9fxB8v.d.mts} +153 -153
- package/dist/{api--StDLb4h.d.ts → api-sNoooMbT.d.ts} +153 -153
package/dist/retry.d.mts
CHANGED
package/dist/retry.d.ts
CHANGED
package/dist/schemas/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { au as RuntimeEnvironmentType } from '../api-
|
|
2
|
-
export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api-
|
|
1
|
+
import { au as RuntimeEnvironmentType } from '../api-Pl9fxB8v.mjs';
|
|
2
|
+
export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api-Pl9fxB8v.mjs';
|
|
3
3
|
import { S as SerializableJson } from '../json-DBPEJQRe.mjs';
|
|
4
4
|
export { D as DeserializedJson, a as DeserializedJsonSchema, b as SerializableJsonSchema } from '../json-DBPEJQRe.mjs';
|
|
5
5
|
import { E as EventFilter } from '../eventFilter-66NaBAMi.mjs';
|
|
@@ -558,11 +558,11 @@ declare const SchemaErrorSchema: z.ZodObject<{
|
|
|
558
558
|
path: z.ZodArray<z.ZodString, "many">;
|
|
559
559
|
message: z.ZodString;
|
|
560
560
|
}, "strip", z.ZodTypeAny, {
|
|
561
|
-
path: string[];
|
|
562
561
|
message: string;
|
|
563
|
-
}, {
|
|
564
562
|
path: string[];
|
|
563
|
+
}, {
|
|
565
564
|
message: string;
|
|
565
|
+
path: string[];
|
|
566
566
|
}>;
|
|
567
567
|
type SchemaError = z.infer<typeof SchemaErrorSchema>;
|
|
568
568
|
|
|
@@ -2273,16 +2273,16 @@ declare const RunTaskSchema: z.ZodObject<{
|
|
|
2273
2273
|
/** When the task completed */
|
|
2274
2274
|
completedAt: z.ZodNullable<z.ZodDate>;
|
|
2275
2275
|
}, "strip", z.ZodTypeAny, {
|
|
2276
|
-
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2277
2276
|
name: string;
|
|
2277
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2278
2278
|
id: string;
|
|
2279
2279
|
icon: string | null;
|
|
2280
2280
|
startedAt: Date | null;
|
|
2281
2281
|
completedAt: Date | null;
|
|
2282
2282
|
displayKey: string | null;
|
|
2283
2283
|
}, {
|
|
2284
|
-
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2285
2284
|
name: string;
|
|
2285
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2286
2286
|
id: string;
|
|
2287
2287
|
icon: string | null;
|
|
2288
2288
|
startedAt: Date | null;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { au as RuntimeEnvironmentType } from '../api
|
|
2
|
-
export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api
|
|
1
|
+
import { au as RuntimeEnvironmentType } from '../api-sNoooMbT.js';
|
|
2
|
+
export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api-sNoooMbT.js';
|
|
3
3
|
import { S as SerializableJson } from '../json-DBPEJQRe.js';
|
|
4
4
|
export { D as DeserializedJson, a as DeserializedJsonSchema, b as SerializableJsonSchema } from '../json-DBPEJQRe.js';
|
|
5
5
|
import { E as EventFilter } from '../eventFilter-66NaBAMi.js';
|
|
@@ -558,11 +558,11 @@ declare const SchemaErrorSchema: z.ZodObject<{
|
|
|
558
558
|
path: z.ZodArray<z.ZodString, "many">;
|
|
559
559
|
message: z.ZodString;
|
|
560
560
|
}, "strip", z.ZodTypeAny, {
|
|
561
|
-
path: string[];
|
|
562
561
|
message: string;
|
|
563
|
-
}, {
|
|
564
562
|
path: string[];
|
|
563
|
+
}, {
|
|
565
564
|
message: string;
|
|
565
|
+
path: string[];
|
|
566
566
|
}>;
|
|
567
567
|
type SchemaError = z.infer<typeof SchemaErrorSchema>;
|
|
568
568
|
|
|
@@ -2273,16 +2273,16 @@ declare const RunTaskSchema: z.ZodObject<{
|
|
|
2273
2273
|
/** When the task completed */
|
|
2274
2274
|
completedAt: z.ZodNullable<z.ZodDate>;
|
|
2275
2275
|
}, "strip", z.ZodTypeAny, {
|
|
2276
|
-
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2277
2276
|
name: string;
|
|
2277
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2278
2278
|
id: string;
|
|
2279
2279
|
icon: string | null;
|
|
2280
2280
|
startedAt: Date | null;
|
|
2281
2281
|
completedAt: Date | null;
|
|
2282
2282
|
displayKey: string | null;
|
|
2283
2283
|
}, {
|
|
2284
|
-
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2285
2284
|
name: string;
|
|
2285
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
2286
2286
|
id: string;
|
|
2287
2287
|
icon: string | null;
|
|
2288
2288
|
startedAt: Date | null;
|
package/dist/v3/dev/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-
|
|
2
|
-
import { R as RuntimeManager } from '../../manager-
|
|
1
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-B45g-vNI.mjs';
|
|
2
|
+
import { R as RuntimeManager } from '../../manager-q7bZZNwE.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
|
|
5
5
|
declare class DevRuntimeManager implements RuntimeManager {
|
package/dist/v3/dev/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-
|
|
2
|
-
import { R as RuntimeManager } from '../../manager
|
|
1
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../../common-B45g-vNI.js';
|
|
2
|
+
import { R as RuntimeManager } from '../../manager-zf0yn2lA.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
|
|
5
5
|
declare class DevRuntimeManager implements RuntimeManager {
|
package/dist/v3/errors.d.mts
CHANGED
package/dist/v3/errors.d.ts
CHANGED
package/dist/v3/index.d.mts
CHANGED
|
@@ -3,16 +3,16 @@ export { APIHeaders, ApiConnectionError, ApiError, AuthenticationError, BadReque
|
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { RunStatus, TriggerTaskRequestBody, BatchTriggerTaskRequestBody, ListRunResponseItem, RescheduleRunRequestBody, AddTagsRequestBody, CreateScheduleOptions, ListScheduleOptions, UpdateScheduleOptions, CreateEnvironmentVariableRequestBody, UpdateEnvironmentVariableRequestBody, Accessory } from './schemas/index.mjs';
|
|
5
5
|
export { AttemptStatus, BackgroundWorkerMetadata, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, EnvironmentVariable, EnvironmentVariableResponseBody, EnvironmentVariableValue, EnvironmentVariables, EventFilter, ExceptionEventProperties, ExceptionSpanEvent, ExternalBuildData, FetchRetryBackoffStrategy, FetchRetryByStatusOptions, FetchRetryHeadersStrategy, FetchRetryOptions, FetchRetryStrategy, FetchTimeoutOptions, GetBatchResponseBody, GetDeploymentResponseBody, GetEnvironmentVariablesResponseBody, GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, GetProjectEnvResponse, GetProjectResponseBody, GetProjectsResponseBody, ImageDetailsMetadata, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, ListRunResponse, ListSchedulesResult, OtherSpanEvent, PRIMARY_VARIANT, ReplayRunResponse, RetrieveRunResponse, RunEnvironmentDetails, RunScheduleDetails, RunTags, ScheduleGenerator, ScheduleObject, ScheduleType, ScheduledTaskPayload, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskResource, TimezonesResult, TriggerTaskResponse, Variant, WhoAmIResponse, WhoAmIResponseSchema, isCancellationSpanEvent, isExceptionSpanEvent, stringPatternMatchers } from './schemas/index.mjs';
|
|
6
|
-
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../common-
|
|
7
|
-
export { f as MachineConfig, d as MachineCpu, e as MachineMemory, g as MachinePreset, M as MachinePresetName, m as TaskRun, h as TaskRunBuiltInError, i as TaskRunCustomErrorObject, b as TaskRunError, k as TaskRunErrorCodes, c as TaskRunExecution, o as TaskRunExecutionAttempt, t as TaskRunExecutionBatch, p as TaskRunExecutionEnvironment, q as TaskRunExecutionOrganization, r as TaskRunExecutionProject, s as TaskRunExecutionQueue, u as TaskRunExecutionRetry, n as TaskRunExecutionTask, v as TaskRunExecutionUsage, w as TaskRunFailedExecutionResult, l as TaskRunInternalError, j as TaskRunStringError, x as TaskRunSuccessfulExecutionResult } from '../common-
|
|
8
|
-
import { C as Clock, a as ClockTime, b as TaskCatalog, T as TaskMetadataWithFunctions } from '../catalog-
|
|
9
|
-
export { f as Context, F as FailureFnParams, k as HandleErrorArgs, h as HandleErrorFnParams, H as HandleErrorFunction, i as HandleErrorModificationOptions, j as HandleErrorResult, e as InitFnParams, I as InitOutput, M as MiddlewareFnParams, P as ProjectConfig, n as ResolveEnvironmentVariablesFunction, m as ResolveEnvironmentVariablesParams, l as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, g as SuccessFnParams, u as usage } from '../catalog-
|
|
6
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../common-B45g-vNI.mjs';
|
|
7
|
+
export { f as MachineConfig, d as MachineCpu, e as MachineMemory, g as MachinePreset, M as MachinePresetName, m as TaskRun, h as TaskRunBuiltInError, i as TaskRunCustomErrorObject, b as TaskRunError, k as TaskRunErrorCodes, c as TaskRunExecution, o as TaskRunExecutionAttempt, t as TaskRunExecutionBatch, p as TaskRunExecutionEnvironment, q as TaskRunExecutionOrganization, r as TaskRunExecutionProject, s as TaskRunExecutionQueue, u as TaskRunExecutionRetry, n as TaskRunExecutionTask, v as TaskRunExecutionUsage, w as TaskRunFailedExecutionResult, l as TaskRunInternalError, j as TaskRunStringError, x as TaskRunSuccessfulExecutionResult } from '../common-B45g-vNI.mjs';
|
|
8
|
+
import { C as Clock, a as ClockTime, b as TaskCatalog, T as TaskMetadataWithFunctions } from '../catalog-nhfltZFA.mjs';
|
|
9
|
+
export { f as Context, F as FailureFnParams, k as HandleErrorArgs, h as HandleErrorFnParams, H as HandleErrorFunction, i as HandleErrorModificationOptions, j as HandleErrorResult, e as InitFnParams, I as InitOutput, M as MiddlewareFnParams, P as ProjectConfig, n as ResolveEnvironmentVariablesFunction, m as ResolveEnvironmentVariablesParams, l as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, g as SuccessFnParams, u as usage } from '../catalog-nhfltZFA.mjs';
|
|
10
10
|
export { AbortTaskRunError, SerializedError, correctErrorStackTrace, createErrorTaskError, createJsonErrorObject, groupTaskMetadataIssuesByTask, parseError, sanitizeError } from './errors.mjs';
|
|
11
11
|
import { Attributes } from '@opentelemetry/api';
|
|
12
12
|
export { logger } from './logger-api.mjs';
|
|
13
|
-
import { R as RuntimeManager } from '../manager-
|
|
14
|
-
import { B as BackgroundWorkerProperties } from '../messages-
|
|
15
|
-
export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, m as CoordinatorSocketData, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-
|
|
13
|
+
import { R as RuntimeManager } from '../manager-q7bZZNwE.mjs';
|
|
14
|
+
import { B as BackgroundWorkerProperties } from '../messages-248C7Ut6.mjs';
|
|
15
|
+
export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, m as CoordinatorSocketData, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-248C7Ut6.mjs';
|
|
16
16
|
import { a as TaskFileMetadata, b as TaskMetadataWithFilePath } from '../schemas-38ilA21d.mjs';
|
|
17
17
|
export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, h as PostStartCauses, i as PreStopCauses, P as Prettify, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, l as RequireKeys, j as ResolvedConfig, R as RetryOptions, g as ScheduleMetadata, S as SlidingWindowRateLimit, T as TaskMetadata, k as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../schemas-38ilA21d.mjs';
|
|
18
18
|
export { SemanticInternalAttributes } from './semanticInternalAttributes.mjs';
|
package/dist/v3/index.d.ts
CHANGED
|
@@ -3,16 +3,16 @@ export { APIHeaders, ApiConnectionError, ApiError, AuthenticationError, BadReque
|
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { RunStatus, TriggerTaskRequestBody, BatchTriggerTaskRequestBody, ListRunResponseItem, RescheduleRunRequestBody, AddTagsRequestBody, CreateScheduleOptions, ListScheduleOptions, UpdateScheduleOptions, CreateEnvironmentVariableRequestBody, UpdateEnvironmentVariableRequestBody, Accessory } from './schemas/index.js';
|
|
5
5
|
export { AttemptStatus, BackgroundWorkerMetadata, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, EnvironmentVariable, EnvironmentVariableResponseBody, EnvironmentVariableValue, EnvironmentVariables, EventFilter, ExceptionEventProperties, ExceptionSpanEvent, ExternalBuildData, FetchRetryBackoffStrategy, FetchRetryByStatusOptions, FetchRetryHeadersStrategy, FetchRetryOptions, FetchRetryStrategy, FetchTimeoutOptions, GetBatchResponseBody, GetDeploymentResponseBody, GetEnvironmentVariablesResponseBody, GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, GetProjectEnvResponse, GetProjectResponseBody, GetProjectsResponseBody, ImageDetailsMetadata, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, ListRunResponse, ListSchedulesResult, OtherSpanEvent, PRIMARY_VARIANT, ReplayRunResponse, RetrieveRunResponse, RunEnvironmentDetails, RunScheduleDetails, RunTags, ScheduleGenerator, ScheduleObject, ScheduleType, ScheduledTaskPayload, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskResource, TimezonesResult, TriggerTaskResponse, Variant, WhoAmIResponse, WhoAmIResponseSchema, isCancellationSpanEvent, isExceptionSpanEvent, stringPatternMatchers } from './schemas/index.js';
|
|
6
|
-
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../common-
|
|
7
|
-
export { f as MachineConfig, d as MachineCpu, e as MachineMemory, g as MachinePreset, M as MachinePresetName, m as TaskRun, h as TaskRunBuiltInError, i as TaskRunCustomErrorObject, b as TaskRunError, k as TaskRunErrorCodes, c as TaskRunExecution, o as TaskRunExecutionAttempt, t as TaskRunExecutionBatch, p as TaskRunExecutionEnvironment, q as TaskRunExecutionOrganization, r as TaskRunExecutionProject, s as TaskRunExecutionQueue, u as TaskRunExecutionRetry, n as TaskRunExecutionTask, v as TaskRunExecutionUsage, w as TaskRunFailedExecutionResult, l as TaskRunInternalError, j as TaskRunStringError, x as TaskRunSuccessfulExecutionResult } from '../common-
|
|
8
|
-
import { C as Clock, a as ClockTime, b as TaskCatalog, T as TaskMetadataWithFunctions } from '../catalog-
|
|
9
|
-
export { f as Context, F as FailureFnParams, k as HandleErrorArgs, h as HandleErrorFnParams, H as HandleErrorFunction, i as HandleErrorModificationOptions, j as HandleErrorResult, e as InitFnParams, I as InitOutput, M as MiddlewareFnParams, P as ProjectConfig, n as ResolveEnvironmentVariablesFunction, m as ResolveEnvironmentVariablesParams, l as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, g as SuccessFnParams, u as usage } from '../catalog-
|
|
6
|
+
import { T as TaskRunExecutionResult, B as BatchTaskRunExecutionResult, a as TaskRunContext } from '../common-B45g-vNI.js';
|
|
7
|
+
export { f as MachineConfig, d as MachineCpu, e as MachineMemory, g as MachinePreset, M as MachinePresetName, m as TaskRun, h as TaskRunBuiltInError, i as TaskRunCustomErrorObject, b as TaskRunError, k as TaskRunErrorCodes, c as TaskRunExecution, o as TaskRunExecutionAttempt, t as TaskRunExecutionBatch, p as TaskRunExecutionEnvironment, q as TaskRunExecutionOrganization, r as TaskRunExecutionProject, s as TaskRunExecutionQueue, u as TaskRunExecutionRetry, n as TaskRunExecutionTask, v as TaskRunExecutionUsage, w as TaskRunFailedExecutionResult, l as TaskRunInternalError, j as TaskRunStringError, x as TaskRunSuccessfulExecutionResult } from '../common-B45g-vNI.js';
|
|
8
|
+
import { C as Clock, a as ClockTime, b as TaskCatalog, T as TaskMetadataWithFunctions } from '../catalog-gM5Cvgc3.js';
|
|
9
|
+
export { f as Context, F as FailureFnParams, k as HandleErrorArgs, h as HandleErrorFnParams, H as HandleErrorFunction, i as HandleErrorModificationOptions, j as HandleErrorResult, e as InitFnParams, I as InitOutput, M as MiddlewareFnParams, P as ProjectConfig, n as ResolveEnvironmentVariablesFunction, m as ResolveEnvironmentVariablesParams, l as ResolveEnvironmentVariablesResult, R as RunFnParams, S as StartFnParams, g as SuccessFnParams, u as usage } from '../catalog-gM5Cvgc3.js';
|
|
10
10
|
export { AbortTaskRunError, SerializedError, correctErrorStackTrace, createErrorTaskError, createJsonErrorObject, groupTaskMetadataIssuesByTask, parseError, sanitizeError } from './errors.js';
|
|
11
11
|
import { Attributes } from '@opentelemetry/api';
|
|
12
12
|
export { logger } from './logger-api.js';
|
|
13
|
-
import { R as RuntimeManager } from '../manager
|
|
14
|
-
import { B as BackgroundWorkerProperties } from '../messages-
|
|
15
|
-
export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, m as CoordinatorSocketData, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-
|
|
13
|
+
import { R as RuntimeManager } from '../manager-zf0yn2lA.js';
|
|
14
|
+
import { B as BackgroundWorkerProperties } from '../messages-248C7Ut6.js';
|
|
15
|
+
export { c as BackgroundWorkerClientMessages, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, m as CoordinatorSocketData, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../messages-248C7Ut6.js';
|
|
16
16
|
import { a as TaskFileMetadata, b as TaskMetadataWithFilePath } from '../schemas-38ilA21d.js';
|
|
17
17
|
export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, h as PostStartCauses, i as PreStopCauses, P as Prettify, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, l as RequireKeys, j as ResolvedConfig, R as RetryOptions, g as ScheduleMetadata, S as SlidingWindowRateLimit, T as TaskMetadata, k as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../schemas-38ilA21d.js';
|
|
18
18
|
export { SemanticInternalAttributes } from './semanticInternalAttributes.js';
|
package/dist/v3/index.js
CHANGED
|
@@ -33,7 +33,7 @@ var __privateMethod = (obj, member, method) => {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
// package.json
|
|
36
|
-
var version = "3.0.0-beta.
|
|
36
|
+
var version = "3.0.0-beta.54";
|
|
37
37
|
var dependencies = {
|
|
38
38
|
"@google-cloud/precise-date": "^4.0.0",
|
|
39
39
|
"@opentelemetry/api": "^1.8.0",
|
|
@@ -129,8 +129,7 @@ var TaskRunErrorCodes = {
|
|
|
129
129
|
TASK_RUN_CANCELLED: "TASK_RUN_CANCELLED",
|
|
130
130
|
TASK_OUTPUT_ERROR: "TASK_OUTPUT_ERROR",
|
|
131
131
|
HANDLE_ERROR_ERROR: "HANDLE_ERROR_ERROR",
|
|
132
|
-
GRACEFUL_EXIT_TIMEOUT: "GRACEFUL_EXIT_TIMEOUT"
|
|
133
|
-
TASK_RUN_CRASHED: "TASK_RUN_CRASHED"
|
|
132
|
+
GRACEFUL_EXIT_TIMEOUT: "GRACEFUL_EXIT_TIMEOUT"
|
|
134
133
|
};
|
|
135
134
|
var TaskRunInternalError = zod.z.object({
|
|
136
135
|
type: zod.z.literal("INTERNAL_ERROR"),
|
|
@@ -147,8 +146,7 @@ var TaskRunInternalError = zod.z.object({
|
|
|
147
146
|
"TASK_OUTPUT_ERROR",
|
|
148
147
|
"HANDLE_ERROR_ERROR",
|
|
149
148
|
"GRACEFUL_EXIT_TIMEOUT",
|
|
150
|
-
"TASK_RUN_HEARTBEAT_TIMEOUT"
|
|
151
|
-
"TASK_RUN_CRASHED"
|
|
149
|
+
"TASK_RUN_HEARTBEAT_TIMEOUT"
|
|
152
150
|
]),
|
|
153
151
|
message: zod.z.string().optional(),
|
|
154
152
|
stackTrace: zod.z.string().optional()
|
|
@@ -1103,7 +1101,6 @@ var BackgroundWorkerServerMessages = zod.z.discriminatedUnion("type", [
|
|
|
1103
1101
|
image: zod.z.string(),
|
|
1104
1102
|
version: zod.z.string(),
|
|
1105
1103
|
machine: MachinePreset,
|
|
1106
|
-
nextAttemptNumber: zod.z.number().optional(),
|
|
1107
1104
|
// identifiers
|
|
1108
1105
|
id: zod.z.string().optional(),
|
|
1109
1106
|
envId: zod.z.string(),
|
|
@@ -1418,7 +1415,6 @@ var PlatformToProviderMessages = {
|
|
|
1418
1415
|
location: zod.z.string(),
|
|
1419
1416
|
reason: zod.z.string().optional(),
|
|
1420
1417
|
imageRef: zod.z.string(),
|
|
1421
|
-
attemptNumber: zod.z.number().optional(),
|
|
1422
1418
|
machine: MachinePreset,
|
|
1423
1419
|
// identifiers
|
|
1424
1420
|
checkpointId: zod.z.string(),
|
|
@@ -1542,10 +1538,7 @@ var CoordinatorToPlatformMessages = {
|
|
|
1542
1538
|
},
|
|
1543
1539
|
TASK_RUN_COMPLETED: {
|
|
1544
1540
|
message: zod.z.object({
|
|
1545
|
-
version: zod.z.
|
|
1546
|
-
"v1",
|
|
1547
|
-
"v2"
|
|
1548
|
-
]).default("v1"),
|
|
1541
|
+
version: zod.z.literal("v1").default("v1"),
|
|
1549
1542
|
execution: ProdTaskRunExecution,
|
|
1550
1543
|
completion: TaskRunExecutionResult,
|
|
1551
1544
|
checkpoint: zod.z.object({
|
|
@@ -1757,19 +1750,11 @@ var ProdWorkerToCoordinatorMessages = {
|
|
|
1757
1750
|
})
|
|
1758
1751
|
},
|
|
1759
1752
|
READY_FOR_RESUME: {
|
|
1760
|
-
message: zod.z.
|
|
1761
|
-
zod.z.
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
}),
|
|
1766
|
-
zod.z.object({
|
|
1767
|
-
version: zod.z.literal("v2"),
|
|
1768
|
-
attemptFriendlyId: zod.z.string(),
|
|
1769
|
-
attemptNumber: zod.z.number(),
|
|
1770
|
-
type: WaitReason
|
|
1771
|
-
})
|
|
1772
|
-
])
|
|
1753
|
+
message: zod.z.object({
|
|
1754
|
+
version: zod.z.literal("v1").default("v1"),
|
|
1755
|
+
attemptFriendlyId: zod.z.string(),
|
|
1756
|
+
type: WaitReason
|
|
1757
|
+
})
|
|
1773
1758
|
},
|
|
1774
1759
|
READY_FOR_CHECKPOINT: {
|
|
1775
1760
|
message: zod.z.object({
|
|
@@ -1808,10 +1793,7 @@ var ProdWorkerToCoordinatorMessages = {
|
|
|
1808
1793
|
},
|
|
1809
1794
|
TASK_RUN_COMPLETED: {
|
|
1810
1795
|
message: zod.z.object({
|
|
1811
|
-
version: zod.z.
|
|
1812
|
-
"v1",
|
|
1813
|
-
"v2"
|
|
1814
|
-
]).default("v1"),
|
|
1796
|
+
version: zod.z.literal("v1").default("v1"),
|
|
1815
1797
|
execution: ProdTaskRunExecution,
|
|
1816
1798
|
completion: TaskRunExecutionResult
|
|
1817
1799
|
}),
|
|
@@ -1907,8 +1889,7 @@ var ProdWorkerToCoordinatorMessages = {
|
|
|
1907
1889
|
SET_STATE: {
|
|
1908
1890
|
message: zod.z.object({
|
|
1909
1891
|
version: zod.z.literal("v1").default("v1"),
|
|
1910
|
-
attemptFriendlyId: zod.z.string().optional()
|
|
1911
|
-
attemptNumber: zod.z.string().optional()
|
|
1892
|
+
attemptFriendlyId: zod.z.string().optional()
|
|
1912
1893
|
})
|
|
1913
1894
|
}
|
|
1914
1895
|
};
|
|
@@ -1970,7 +1951,6 @@ var ProdWorkerSocketData = zod.z.object({
|
|
|
1970
1951
|
envId: zod.z.string(),
|
|
1971
1952
|
runId: zod.z.string(),
|
|
1972
1953
|
attemptFriendlyId: zod.z.string().optional(),
|
|
1973
|
-
attemptNumber: zod.z.string().optional(),
|
|
1974
1954
|
podName: zod.z.string(),
|
|
1975
1955
|
deploymentId: zod.z.string(),
|
|
1976
1956
|
deploymentVersion: zod.z.string()
|