inngest 2.7.2 → 3.0.0
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/CHANGELOG.md +46 -0
- package/api/api.js +4 -4
- package/api/schema.d.ts +54 -6
- package/api/schema.d.ts.map +1 -1
- package/api/schema.js +17 -7
- package/api/schema.js.map +1 -1
- package/cloudflare.d.ts +6 -3
- package/cloudflare.d.ts.map +1 -1
- package/cloudflare.js +19 -41
- package/cloudflare.js.map +1 -1
- package/components/EventSchemas.d.ts +1 -12
- package/components/EventSchemas.d.ts.map +1 -1
- package/components/EventSchemas.js.map +1 -1
- package/components/Inngest.d.ts +44 -57
- package/components/Inngest.d.ts.map +1 -1
- package/components/Inngest.js +47 -26
- package/components/Inngest.js.map +1 -1
- package/components/InngestCommHandler.d.ts +156 -198
- package/components/InngestCommHandler.d.ts.map +1 -1
- package/components/InngestCommHandler.js +311 -305
- package/components/InngestCommHandler.js.map +1 -1
- package/components/InngestFunction.d.ts +9 -82
- package/components/InngestFunction.d.ts.map +1 -1
- package/components/InngestFunction.js +21 -413
- package/components/InngestFunction.js.map +1 -1
- package/components/InngestMiddleware.d.ts +37 -26
- package/components/InngestMiddleware.d.ts.map +1 -1
- package/components/InngestMiddleware.js +1 -3
- package/components/InngestMiddleware.js.map +1 -1
- package/components/InngestStepTools.d.ts +69 -37
- package/components/InngestStepTools.d.ts.map +1 -1
- package/components/InngestStepTools.js +34 -95
- package/components/InngestStepTools.js.map +1 -1
- package/components/NonRetriableError.d.ts.map +1 -1
- package/components/NonRetriableError.js +1 -0
- package/components/NonRetriableError.js.map +1 -1
- package/components/RetryAfterError.d.ts +38 -0
- package/components/RetryAfterError.d.ts.map +1 -0
- package/components/RetryAfterError.js +42 -0
- package/components/RetryAfterError.js.map +1 -0
- package/components/execution/InngestExecution.d.ts +72 -0
- package/components/execution/InngestExecution.d.ts.map +1 -0
- package/components/execution/InngestExecution.js +23 -0
- package/components/execution/InngestExecution.js.map +1 -0
- package/components/execution/v0.d.ts +114 -0
- package/components/execution/v0.d.ts.map +1 -0
- package/components/execution/v0.js +394 -0
- package/components/execution/v0.js.map +1 -0
- package/components/execution/v1.d.ts +88 -0
- package/components/execution/v1.d.ts.map +1 -0
- package/components/execution/v1.js +673 -0
- package/components/execution/v1.js.map +1 -0
- package/deno/fresh.d.ts +3 -3
- package/deno/fresh.d.ts.map +1 -1
- package/deno/fresh.js +17 -38
- package/deno/fresh.js.map +1 -1
- package/digitalocean.d.ts +5 -5
- package/digitalocean.d.ts.map +1 -1
- package/digitalocean.js +14 -46
- package/digitalocean.js.map +1 -1
- package/edge.d.ts +5 -5
- package/edge.d.ts.map +1 -1
- package/edge.js +16 -38
- package/edge.js.map +1 -1
- package/express.d.ts +7 -3
- package/express.d.ts.map +1 -1
- package/express.js +38 -45
- package/express.js.map +1 -1
- package/fastify.d.ts +8 -3
- package/fastify.d.ts.map +1 -1
- package/fastify.js +37 -47
- package/fastify.js.map +1 -1
- package/h3.d.ts +4 -3
- package/h3.d.ts.map +1 -1
- package/h3.js +18 -45
- package/h3.js.map +1 -1
- package/helpers/ServerTiming.d.ts.map +1 -1
- package/helpers/ServerTiming.js +2 -1
- package/helpers/ServerTiming.js.map +1 -1
- package/helpers/consts.d.ts +23 -9
- package/helpers/consts.d.ts.map +1 -1
- package/helpers/consts.js +31 -13
- package/helpers/consts.js.map +1 -1
- package/helpers/devserver.d.ts +0 -34
- package/helpers/devserver.d.ts.map +1 -1
- package/helpers/devserver.js.map +1 -1
- package/helpers/env.d.ts +14 -6
- package/helpers/env.d.ts.map +1 -1
- package/helpers/env.js +4 -4
- package/helpers/env.js.map +1 -1
- package/helpers/errors.d.ts +37 -2
- package/helpers/errors.d.ts.map +1 -1
- package/helpers/errors.js +66 -15
- package/helpers/errors.js.map +1 -1
- package/helpers/functions.d.ts +52 -5
- package/helpers/functions.d.ts.map +1 -1
- package/helpers/functions.js +121 -22
- package/helpers/functions.js.map +1 -1
- package/helpers/promises.d.ts +45 -0
- package/helpers/promises.d.ts.map +1 -1
- package/helpers/promises.js +69 -1
- package/helpers/promises.js.map +1 -1
- package/helpers/strings.d.ts +6 -1
- package/helpers/strings.d.ts.map +1 -1
- package/helpers/strings.js +7 -2
- package/helpers/strings.js.map +1 -1
- package/helpers/types.d.ts +5 -17
- package/helpers/types.d.ts.map +1 -1
- package/index.d.ts +4 -2
- package/index.d.ts.map +1 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/lambda.d.ts +10 -8
- package/lambda.d.ts.map +1 -1
- package/lambda.js +48 -72
- package/lambda.js.map +1 -1
- package/next.d.ts +11 -5
- package/next.d.ts.map +1 -1
- package/next.js +84 -103
- package/next.js.map +1 -1
- package/nuxt.d.ts +3 -3
- package/nuxt.d.ts.map +1 -1
- package/nuxt.js +5 -6
- package/nuxt.js.map +1 -1
- package/package.json +5 -4
- package/redwood.d.ts +4 -3
- package/redwood.d.ts.map +1 -1
- package/redwood.js +22 -48
- package/redwood.js.map +1 -1
- package/remix.d.ts +7 -5
- package/remix.d.ts.map +1 -1
- package/remix.js +15 -36
- package/remix.js.map +1 -1
- package/types.d.ts +126 -220
- package/types.d.ts.map +1 -1
- package/types.js +24 -45
- package/types.js.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/helpers/scalar.d.ts +0 -8
- package/helpers/scalar.d.ts.map +0 -1
- package/helpers/scalar.js +0 -19
- package/helpers/scalar.js.map +0 -1
package/types.d.ts
CHANGED
|
@@ -1,17 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type EventSchemas } from "./components/EventSchemas";
|
|
3
|
-
import { type EventsFromOpts, type Inngest } from "./components/Inngest";
|
|
4
|
-
import { type InngestMiddleware, type MiddlewareOptions } from "./components/InngestMiddleware";
|
|
3
|
+
import { type AnyInngest, type EventsFromOpts, type Inngest, type builtInMiddleware } from "./components/Inngest";
|
|
4
|
+
import { type InngestMiddleware, type MiddlewareOptions, type MiddlewareStackSendEventOutputMutation } from "./components/InngestMiddleware";
|
|
5
5
|
import { type createStepTools } from "./components/InngestStepTools";
|
|
6
6
|
import { type internalEvents } from "./helpers/consts";
|
|
7
|
-
import { type IsStringLiteral, type
|
|
7
|
+
import { type IsStringLiteral, type ObjectAssign, type ObjectPaths, type StrictUnion } from "./helpers/types";
|
|
8
8
|
import { type Logger } from "./middleware/logger";
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* When passed an Inngest client, will return all event types for that client.
|
|
11
|
+
*
|
|
12
|
+
* It's recommended to use this instead of directly reusing your event types, as
|
|
13
|
+
* Inngest will add extra properties and internal events such as `ts` and
|
|
14
|
+
* `inngest/function.failed`.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* import { EventSchemas, Inngest, type GetEvents } from "inngest";
|
|
19
|
+
*
|
|
20
|
+
* export const inngest = new Inngest({
|
|
21
|
+
* name: "Example App",
|
|
22
|
+
* schemas: new EventSchemas().fromRecord<{
|
|
23
|
+
* "app/user.created": { data: { userId: string } };
|
|
24
|
+
* }>(),
|
|
25
|
+
* });
|
|
26
|
+
*
|
|
27
|
+
* type Events = GetEvents<typeof inngest>;
|
|
28
|
+
* type AppUserCreated = Events["app/user.created"];
|
|
29
|
+
*
|
|
30
|
+
* ```
|
|
11
31
|
*
|
|
12
32
|
* @public
|
|
13
33
|
*/
|
|
14
|
-
export type GetEvents<T extends
|
|
34
|
+
export type GetEvents<T extends AnyInngest> = T extends Inngest<infer U> ? EventsFromOpts<U> : never;
|
|
15
35
|
export declare const failureEventErrorSchema: z.ZodObject<{
|
|
16
36
|
name: z.ZodString;
|
|
17
37
|
message: z.ZodString;
|
|
@@ -19,17 +39,17 @@ export declare const failureEventErrorSchema: z.ZodObject<{
|
|
|
19
39
|
cause: z.ZodOptional<z.ZodString>;
|
|
20
40
|
status: z.ZodOptional<z.ZodNumber>;
|
|
21
41
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
status?: number | undefined;
|
|
23
|
-
stack?: string | undefined;
|
|
24
|
-
cause?: string | undefined;
|
|
25
42
|
name: string;
|
|
26
43
|
message: string;
|
|
27
|
-
}, {
|
|
28
|
-
status?: number | undefined;
|
|
29
44
|
stack?: string | undefined;
|
|
30
45
|
cause?: string | undefined;
|
|
46
|
+
status?: number | undefined;
|
|
47
|
+
}, {
|
|
31
48
|
name: string;
|
|
32
49
|
message: string;
|
|
50
|
+
stack?: string | undefined;
|
|
51
|
+
cause?: string | undefined;
|
|
52
|
+
status?: number | undefined;
|
|
33
53
|
}>;
|
|
34
54
|
export type MiddlewareStack = [
|
|
35
55
|
InngestMiddleware<MiddlewareOptions>,
|
|
@@ -72,7 +92,15 @@ export declare enum StepOpCode {
|
|
|
72
92
|
WaitForEvent = "WaitForEvent",
|
|
73
93
|
RunStep = "Step",
|
|
74
94
|
StepPlanned = "StepPlanned",
|
|
75
|
-
Sleep = "Sleep"
|
|
95
|
+
Sleep = "Sleep",
|
|
96
|
+
/**
|
|
97
|
+
* Used to signify that the executor has requested that a step run, but we
|
|
98
|
+
* could not find that step.
|
|
99
|
+
*
|
|
100
|
+
* This is likely indicative that a step was renamed or removed from the
|
|
101
|
+
* function.
|
|
102
|
+
*/
|
|
103
|
+
StepNotFound = "StepNotFound"
|
|
76
104
|
}
|
|
77
105
|
/**
|
|
78
106
|
* The shape of a single operation in a step function. Used to communicate
|
|
@@ -84,9 +112,18 @@ export type Op = {
|
|
|
84
112
|
*/
|
|
85
113
|
op: StepOpCode;
|
|
86
114
|
/**
|
|
87
|
-
* The unhashed step name for this operation.
|
|
115
|
+
* The unhashed step name for this operation. This is a legacy field that is
|
|
116
|
+
* sometimes used for critical data, like the sleep duration for
|
|
117
|
+
* `step.sleep()`.
|
|
118
|
+
*
|
|
119
|
+
* @deprecated For display name, use `displayName` instead.
|
|
88
120
|
*/
|
|
89
|
-
name
|
|
121
|
+
name?: string;
|
|
122
|
+
/**
|
|
123
|
+
* An optional name for this step that can be used to display in the Inngest
|
|
124
|
+
* UI.
|
|
125
|
+
*/
|
|
126
|
+
displayName?: string;
|
|
90
127
|
/**
|
|
91
128
|
* Any additional data required for this operation to send to Inngest. This
|
|
92
129
|
* is not compared when confirming that the operation was completed; use `id`
|
|
@@ -113,13 +150,13 @@ export declare const incomingOpSchema: z.ZodObject<{
|
|
|
113
150
|
data: z.ZodOptional<z.ZodAny>;
|
|
114
151
|
error: z.ZodOptional<z.ZodAny>;
|
|
115
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
id: string;
|
|
116
154
|
data?: any;
|
|
117
155
|
error?: any;
|
|
118
|
-
id: string;
|
|
119
156
|
}, {
|
|
157
|
+
id: string;
|
|
120
158
|
data?: any;
|
|
121
159
|
error?: any;
|
|
122
|
-
id: string;
|
|
123
160
|
}>;
|
|
124
161
|
export type IncomingOp = z.output<typeof incomingOpSchema>;
|
|
125
162
|
export type OutgoingOp = Pick<HashedOp, "id" | "op" | "name" | "opts" | "data" | "error">;
|
|
@@ -129,8 +166,8 @@ export type OutgoingOp = Pick<HashedOp, "id" | "op" | "name" | "opts" | "data" |
|
|
|
129
166
|
*/
|
|
130
167
|
export type HashedOp = Op & {
|
|
131
168
|
/**
|
|
132
|
-
* The hashed identifier for this operation, used to confirm that the
|
|
133
|
-
* was completed when it is received from Inngest.
|
|
169
|
+
* The hashed identifier for this operation, used to confirm that the
|
|
170
|
+
* operation was completed when it is received from Inngest.
|
|
134
171
|
*/
|
|
135
172
|
id: string;
|
|
136
173
|
};
|
|
@@ -155,7 +192,7 @@ export type SubmitOpFn = (op: Op) => void;
|
|
|
155
192
|
*/
|
|
156
193
|
export type TimeStr = `${`${number}w` | ""}${`${number}d` | ""}${`${number}h` | ""}${`${number}m` | ""}${`${number}s` | ""}`;
|
|
157
194
|
export type TimeStrBatch = `${`${number}s`}`;
|
|
158
|
-
export type BaseContext<TOpts extends ClientOptions, TTrigger extends keyof EventsFromOpts<TOpts> & string
|
|
195
|
+
export type BaseContext<TOpts extends ClientOptions, TTrigger extends keyof EventsFromOpts<TOpts> & string> = {
|
|
159
196
|
/**
|
|
160
197
|
* The event data present in the payload.
|
|
161
198
|
*/
|
|
@@ -169,41 +206,6 @@ export type BaseContext<TOpts extends ClientOptions, TTrigger extends keyof Even
|
|
|
169
206
|
*/
|
|
170
207
|
runId: string;
|
|
171
208
|
step: ReturnType<typeof createStepTools<TOpts, EventsFromOpts<TOpts>, TTrigger>>;
|
|
172
|
-
/**
|
|
173
|
-
* Any `fns` passed when creating your Inngest function will be
|
|
174
|
-
* available here and can be used as normal.
|
|
175
|
-
*
|
|
176
|
-
* Every call to one of these functions will become a new retryable
|
|
177
|
-
* step.
|
|
178
|
-
*
|
|
179
|
-
* @example
|
|
180
|
-
*
|
|
181
|
-
* Both examples behave the same; it's preference as to which you
|
|
182
|
-
* prefer.
|
|
183
|
-
*
|
|
184
|
-
* ```ts
|
|
185
|
-
* import { userDb } from "./db";
|
|
186
|
-
*
|
|
187
|
-
* // Specify `fns` and be able to use them in your Inngest function
|
|
188
|
-
* inngest.createFunction(
|
|
189
|
-
* { name: "Create user from PR", fns: { ...userDb } },
|
|
190
|
-
* { event: "github/pull_request" },
|
|
191
|
-
* async ({ tools: { run }, fns: { createUser } }) => {
|
|
192
|
-
* await createUser("Alice");
|
|
193
|
-
* }
|
|
194
|
-
* );
|
|
195
|
-
*
|
|
196
|
-
* // Or always use `run()` to run inline steps and use them directly
|
|
197
|
-
* inngest.createFunction(
|
|
198
|
-
* { name: "Create user from PR" },
|
|
199
|
-
* { event: "github/pull_request" },
|
|
200
|
-
* async ({ tools: { run } }) => {
|
|
201
|
-
* await run("createUser", () => userDb.createUser("Alice"));
|
|
202
|
-
* }
|
|
203
|
-
* );
|
|
204
|
-
* ```
|
|
205
|
-
*/
|
|
206
|
-
fns: TShimmedFns;
|
|
207
209
|
/**
|
|
208
210
|
* The current zero-indexed attempt number for this function execution. The
|
|
209
211
|
* first attempt will be `0`, the second `1`, and so on. The attempt number
|
|
@@ -211,30 +213,25 @@ export type BaseContext<TOpts extends ClientOptions, TTrigger extends keyof Even
|
|
|
211
213
|
*/
|
|
212
214
|
attempt: number;
|
|
213
215
|
};
|
|
214
|
-
/**
|
|
215
|
-
* Given a set of generic objects, extract any top-level functions and
|
|
216
|
-
* appropriately shim their types.
|
|
217
|
-
*/
|
|
218
|
-
export type ShimmedFns<Fns extends Record<string, any>> = {
|
|
219
|
-
[K in keyof Omit<Fns, KeysNotOfType<Fns, (...args: any[]) => any>>]: (...args: Parameters<Fns[K]>) => Promise<Awaited<ReturnType<Fns[K]>>>;
|
|
220
|
-
};
|
|
221
216
|
/**
|
|
222
217
|
* Builds a context object for an Inngest handler, optionally overriding some
|
|
223
218
|
* keys.
|
|
224
219
|
*/
|
|
225
|
-
export type Context<TOpts extends ClientOptions, TEvents extends Record<string, EventPayload>, TTrigger extends keyof TEvents & string,
|
|
220
|
+
export type Context<TOpts extends ClientOptions, TEvents extends Record<string, EventPayload>, TTrigger extends keyof TEvents & string, TOverrides extends Record<string, unknown> = Record<never, never>> = Omit<BaseContext<TOpts, TTrigger>, keyof TOverrides> & TOverrides;
|
|
221
|
+
export type AnyContext = Context<any, any, any>;
|
|
226
222
|
/**
|
|
227
223
|
* The shape of a Inngest function, taking in event, step, ctx, and step
|
|
228
224
|
* tooling.
|
|
229
225
|
*
|
|
230
226
|
* @public
|
|
231
227
|
*/
|
|
232
|
-
export type Handler<TOpts extends ClientOptions, TEvents extends EventsFromOpts<TOpts>, TTrigger extends keyof TEvents & string,
|
|
228
|
+
export type Handler<TOpts extends ClientOptions, TEvents extends EventsFromOpts<TOpts>, TTrigger extends keyof TEvents & string, TOverrides extends Record<string, unknown> = Record<never, never>> = (
|
|
233
229
|
/**
|
|
234
230
|
* The context argument provides access to all data and tooling available to
|
|
235
231
|
* the function.
|
|
236
232
|
*/
|
|
237
|
-
ctx: Context<TOpts, TEvents, TTrigger,
|
|
233
|
+
ctx: Context<TOpts, TEvents, TTrigger, TOverrides>) => unknown;
|
|
234
|
+
export type AnyHandler = Handler<any, any, any, any>;
|
|
238
235
|
/**
|
|
239
236
|
* The shape of a single event's payload. It should be extended to enforce
|
|
240
237
|
* adherence to given events and not used as a method of creating them (i.e. as
|
|
@@ -284,18 +281,28 @@ export declare const sendEventResponseSchema: z.ZodObject<{
|
|
|
284
281
|
*/
|
|
285
282
|
error: z.ZodOptional<z.ZodString>;
|
|
286
283
|
}, "strip", z.ZodTypeAny, {
|
|
287
|
-
error?: string | undefined;
|
|
288
284
|
status: number;
|
|
289
285
|
ids: string[];
|
|
290
|
-
}, {
|
|
291
286
|
error?: string | undefined;
|
|
287
|
+
}, {
|
|
292
288
|
status: number;
|
|
293
289
|
ids: string[];
|
|
290
|
+
error?: string | undefined;
|
|
294
291
|
}>;
|
|
295
292
|
/**
|
|
296
293
|
* The response from the Inngest Event API
|
|
297
294
|
*/
|
|
298
295
|
export type SendEventResponse = z.output<typeof sendEventResponseSchema>;
|
|
296
|
+
/**
|
|
297
|
+
* The response in code from sending an event to Inngest.
|
|
298
|
+
*/
|
|
299
|
+
export type SendEventBaseOutput = {
|
|
300
|
+
ids: SendEventResponse["ids"];
|
|
301
|
+
};
|
|
302
|
+
export type SendEventOutput<TOpts extends ClientOptions> = ObjectAssign<[
|
|
303
|
+
MiddlewareStackSendEventOutputMutation<{}, typeof builtInMiddleware>,
|
|
304
|
+
MiddlewareStackSendEventOutputMutation<{}, NonNullable<TOpts["middleware"]>>
|
|
305
|
+
], SendEventBaseOutput>;
|
|
299
306
|
/**
|
|
300
307
|
* An HTTP-like, standardised response format that allows Inngest to help
|
|
301
308
|
* orchestrate steps and retries.
|
|
@@ -346,10 +353,14 @@ context: TContext) => Promise<Response> | Response;
|
|
|
346
353
|
*/
|
|
347
354
|
export interface ClientOptions {
|
|
348
355
|
/**
|
|
349
|
-
* The
|
|
356
|
+
* The ID of this instance, most commonly a reference to the application it
|
|
350
357
|
* resides in.
|
|
358
|
+
*
|
|
359
|
+
* The ID of your client should remain the same for its lifetime; if you'd
|
|
360
|
+
* like to change the name of your client as it appears in the Inngest UI,
|
|
361
|
+
* change the `name` property instead.
|
|
351
362
|
*/
|
|
352
|
-
|
|
363
|
+
id: string;
|
|
353
364
|
/**
|
|
354
365
|
* Inngest event key, used to send events to Inngest Cloud. If not provided,
|
|
355
366
|
* will search for the `INNGEST_EVENT_KEY` environment variable. If neither
|
|
@@ -358,10 +369,12 @@ export interface ClientOptions {
|
|
|
358
369
|
*/
|
|
359
370
|
eventKey?: string;
|
|
360
371
|
/**
|
|
361
|
-
* The base
|
|
362
|
-
*
|
|
372
|
+
* The base URL to use when contacting Inngest.
|
|
373
|
+
*
|
|
374
|
+
* Defaults to https://inn.gs/ for sending events and https://api.inngest.com
|
|
375
|
+
* for all other communication with Inngest.
|
|
363
376
|
*/
|
|
364
|
-
|
|
377
|
+
baseUrl?: string;
|
|
365
378
|
/**
|
|
366
379
|
* If provided, will override the used `fetch` implementation. Useful for
|
|
367
380
|
* giving the library a particular implementation if accessing it is not done
|
|
@@ -426,7 +439,14 @@ export interface ClientOptions {
|
|
|
426
439
|
*
|
|
427
440
|
* @public
|
|
428
441
|
*/
|
|
429
|
-
export
|
|
442
|
+
export declare const logLevels: readonly ["fatal", "error", "warn", "info", "debug", "silent"];
|
|
443
|
+
/**
|
|
444
|
+
* A set of log levels that can be used to control the amount of logging output
|
|
445
|
+
* from various parts of the Inngest library.
|
|
446
|
+
*
|
|
447
|
+
* @public
|
|
448
|
+
*/
|
|
449
|
+
export type LogLevel = (typeof logLevels)[number];
|
|
430
450
|
/**
|
|
431
451
|
* A set of options for configuring the registration of Inngest functions.
|
|
432
452
|
*
|
|
@@ -454,7 +474,7 @@ export interface RegisterOptions {
|
|
|
454
474
|
* The URL used to register functions with Inngest.
|
|
455
475
|
* Defaults to https://api.inngest.com/fn/register
|
|
456
476
|
*/
|
|
457
|
-
|
|
477
|
+
baseUrl?: string;
|
|
458
478
|
/**
|
|
459
479
|
* If provided, will override the used `fetch` implementation. Useful for
|
|
460
480
|
* giving the library a particular implementation if accessing it is not done
|
|
@@ -464,20 +484,6 @@ export interface RegisterOptions {
|
|
|
464
484
|
* back to a Node implementation if no global fetch can be found.
|
|
465
485
|
*/
|
|
466
486
|
fetch?: typeof fetch;
|
|
467
|
-
/**
|
|
468
|
-
* Controls whether a landing page with introspection capabilities is shown
|
|
469
|
-
* when a `GET` request is performed to this handler.
|
|
470
|
-
*
|
|
471
|
-
* Defaults to using the boolean value of `process.env.INNGEST_LANDING_PAGE`
|
|
472
|
-
* (e.g. `"true"`), and `true` if that env var is not defined.
|
|
473
|
-
*
|
|
474
|
-
* This page is highly recommended when getting started in development,
|
|
475
|
-
* testing, or staging environments.
|
|
476
|
-
*
|
|
477
|
-
* @deprecated This page is no longer available. Please use the Inngest Dev
|
|
478
|
-
* Server instead via `npx inngest-cli@latest dev`.
|
|
479
|
-
*/
|
|
480
|
-
landingPage?: boolean;
|
|
481
487
|
/**
|
|
482
488
|
* The path to the Inngest serve endpoint. e.g.:
|
|
483
489
|
*
|
|
@@ -537,24 +543,17 @@ export interface RegisterOptions {
|
|
|
537
543
|
*/
|
|
538
544
|
streaming?: "allow" | "force" | false;
|
|
539
545
|
/**
|
|
540
|
-
* The
|
|
541
|
-
*
|
|
546
|
+
* The ID of this app. This is used to group functions together in the Inngest
|
|
547
|
+
* UI. The ID of the passed client is used by default.
|
|
542
548
|
*/
|
|
543
|
-
|
|
544
|
-
}
|
|
545
|
-
export interface InternalRegisterOptions extends RegisterOptions {
|
|
546
|
-
/**
|
|
547
|
-
* Can be used to override the framework name given to a particular serve
|
|
548
|
-
* handler.
|
|
549
|
-
*/
|
|
550
|
-
frameworkName?: string;
|
|
549
|
+
id?: string;
|
|
551
550
|
}
|
|
552
551
|
/**
|
|
553
552
|
* A user-friendly method of specifying a trigger for an Inngest function.
|
|
554
553
|
*
|
|
555
554
|
* @public
|
|
556
555
|
*/
|
|
557
|
-
export type TriggerOptions<T extends string> =
|
|
556
|
+
export type TriggerOptions<T extends string> = StrictUnion<{
|
|
558
557
|
event: T;
|
|
559
558
|
if?: string;
|
|
560
559
|
} | {
|
|
@@ -567,29 +566,18 @@ export type TriggerOptions<T extends string> = T | StrictUnion<{
|
|
|
567
566
|
*/
|
|
568
567
|
export interface FunctionOptions<Events extends Record<string, EventPayload>, Event extends keyof Events & string> {
|
|
569
568
|
/**
|
|
570
|
-
* An
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
*
|
|
574
|
-
* By default, this is a slugified version of the given `name`, e.g.
|
|
575
|
-
* `"My FN :)"` would be slugified to `"my-fn"`.
|
|
569
|
+
* An unique ID used to identify the function. This is used internally for
|
|
570
|
+
* versioning and referring to your function, so should not change between
|
|
571
|
+
* deployments.
|
|
576
572
|
*
|
|
577
|
-
* If you
|
|
578
|
-
*
|
|
579
|
-
* the name.
|
|
573
|
+
* If you'd like to set a prettier name for your function, use the `name`
|
|
574
|
+
* option.
|
|
580
575
|
*/
|
|
581
|
-
id
|
|
576
|
+
id: string;
|
|
582
577
|
/**
|
|
583
578
|
* A name for the function as it will appear in the Inngest Cloud UI.
|
|
584
|
-
*
|
|
585
|
-
* This is used to create a slugified ID for the function too, e.g.
|
|
586
|
-
* `"My FN :)"` would create a slugified ID of `"my-fn"`.
|
|
587
|
-
*
|
|
588
|
-
* If you are not specifying an ID and get a warning about duplicate
|
|
589
|
-
* functions, make sure to explicitly set an ID for the duplicate or change
|
|
590
|
-
* the name.
|
|
591
579
|
*/
|
|
592
|
-
name
|
|
580
|
+
name?: string;
|
|
593
581
|
/**
|
|
594
582
|
* Concurrency specifies a limit on the total number of concurrent steps that
|
|
595
583
|
* can occur across all runs of the function. A value of 0 (or undefined) means
|
|
@@ -620,7 +608,6 @@ export interface FunctionOptions<Events extends Record<string, EventPayload>, Ev
|
|
|
620
608
|
*/
|
|
621
609
|
timeout: TimeStrBatch;
|
|
622
610
|
};
|
|
623
|
-
fns?: Record<string, unknown>;
|
|
624
611
|
/**
|
|
625
612
|
* Allow the specification of an idempotency key using event data. If
|
|
626
613
|
* specified, this overrides the `rateLimit` object.
|
|
@@ -654,7 +641,10 @@ export interface FunctionOptions<Events extends Record<string, EventPayload>, Ev
|
|
|
654
641
|
retries?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;
|
|
655
642
|
onFailure?: (...args: unknown[]) => unknown;
|
|
656
643
|
/**
|
|
657
|
-
*
|
|
644
|
+
* Define a set of middleware that can be registered to hook into various
|
|
645
|
+
* lifecycles of the SDK and affect input and output of Inngest functionality.
|
|
646
|
+
*
|
|
647
|
+
* See {@link https://innge.st/middleware}
|
|
658
648
|
*/
|
|
659
649
|
middleware?: MiddlewareStack;
|
|
660
650
|
}
|
|
@@ -721,25 +711,6 @@ export type Cancellation<Events extends Record<string, EventPayload>, Triggering
|
|
|
721
711
|
timeout?: number | string | Date;
|
|
722
712
|
};
|
|
723
713
|
}[keyof Events & string];
|
|
724
|
-
/**
|
|
725
|
-
* Expected responses to be used within an `InngestCommHandler` in order to
|
|
726
|
-
* appropriately respond to Inngest.
|
|
727
|
-
*
|
|
728
|
-
* @internal
|
|
729
|
-
*/
|
|
730
|
-
export type StepRunResponse = {
|
|
731
|
-
status: 500;
|
|
732
|
-
error?: unknown;
|
|
733
|
-
} | {
|
|
734
|
-
status: 200;
|
|
735
|
-
body?: unknown;
|
|
736
|
-
} | {
|
|
737
|
-
status: 206;
|
|
738
|
-
body: OutgoingOp[];
|
|
739
|
-
} | {
|
|
740
|
-
status: 400;
|
|
741
|
-
error: string;
|
|
742
|
-
};
|
|
743
714
|
/**
|
|
744
715
|
* The response to send to Inngest when pushing function config either directly
|
|
745
716
|
* or when pinged by Inngest Cloud.
|
|
@@ -823,7 +794,7 @@ export type FunctionTrigger<T = string> = {
|
|
|
823
794
|
* @internal
|
|
824
795
|
*/
|
|
825
796
|
export interface FunctionConfig {
|
|
826
|
-
name
|
|
797
|
+
name?: string;
|
|
827
798
|
id: string;
|
|
828
799
|
triggers: FunctionTrigger[];
|
|
829
800
|
steps: Record<string, {
|
|
@@ -883,19 +854,28 @@ export type EventNameFromTrigger<Events extends Record<string, EventPayload>, T
|
|
|
883
854
|
export type SupportedFrameworkName = "cloudflare-pages" | "digitalocean" | "edge" | "express" | "aws-lambda" | "nextjs" | "nuxt" | "h3" | "redwoodjs" | "remix" | "deno/fresh" | "fastify";
|
|
884
855
|
/**
|
|
885
856
|
* A set of options that can be passed to any step to configure it.
|
|
857
|
+
*
|
|
858
|
+
* @public
|
|
886
859
|
*/
|
|
887
|
-
export interface
|
|
860
|
+
export interface StepOptions {
|
|
888
861
|
/**
|
|
889
|
-
*
|
|
890
|
-
*
|
|
891
|
-
*
|
|
892
|
-
* This is useful if you want to ensure that a step is always the same ID even
|
|
893
|
-
* if the code changes.
|
|
894
|
-
*
|
|
895
|
-
* We recommend not using this unless you have a specific reason to do so.
|
|
862
|
+
* The ID to use to memoize the result of this step, ensuring it is run only
|
|
863
|
+
* once. Changing this ID in an existing function will cause the step to be
|
|
864
|
+
* run again for in-progress runs; it is recommended to use a stable ID.
|
|
896
865
|
*/
|
|
897
|
-
id
|
|
866
|
+
id: string;
|
|
867
|
+
/**
|
|
868
|
+
* The display name to use for this step in the Inngest UI. This can be
|
|
869
|
+
* changed at any time without affecting the step's behaviour.
|
|
870
|
+
*/
|
|
871
|
+
name?: string;
|
|
898
872
|
}
|
|
873
|
+
/**
|
|
874
|
+
* Either a step ID or a set of step options.
|
|
875
|
+
*
|
|
876
|
+
* @public
|
|
877
|
+
*/
|
|
878
|
+
export type StepOptionsOrId = StepOptions["id"] | StepOptions;
|
|
899
879
|
/**
|
|
900
880
|
* Simplified version of Rust style `Result`
|
|
901
881
|
*
|
|
@@ -911,78 +891,4 @@ export type Result<T, E = undefined> = {
|
|
|
911
891
|
};
|
|
912
892
|
export declare const ok: <T>(data: T) => Result<T, never>;
|
|
913
893
|
export declare const err: <E>(error?: E | undefined) => Result<never, E>;
|
|
914
|
-
/**
|
|
915
|
-
* Format of data send from the executor to the SDK
|
|
916
|
-
*/
|
|
917
|
-
export declare const fnDataSchema: z.ZodObject<{
|
|
918
|
-
event: z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>;
|
|
919
|
-
events: z.ZodDefault<z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>, "many">>;
|
|
920
|
-
/**
|
|
921
|
-
* When handling per-step errors, steps will need to be an object with
|
|
922
|
-
* either a `data` or an `error` key.
|
|
923
|
-
*
|
|
924
|
-
* For now, we support the current method of steps just being a map of
|
|
925
|
-
* step ID to step data.
|
|
926
|
-
*
|
|
927
|
-
* TODO When the executor does support per-step errors, we can uncomment
|
|
928
|
-
* the expected schema below.
|
|
929
|
-
*/
|
|
930
|
-
steps: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodAny, any, any>>>>;
|
|
931
|
-
ctx: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
932
|
-
run_id: z.ZodString;
|
|
933
|
-
attempt: z.ZodDefault<z.ZodNumber>;
|
|
934
|
-
stack: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
935
|
-
stack: z.ZodEffects<z.ZodNullable<z.ZodArray<z.ZodString, "many">>, string[], string[] | null>;
|
|
936
|
-
current: z.ZodNumber;
|
|
937
|
-
}, "passthrough", z.ZodTypeAny, {
|
|
938
|
-
stack: string[];
|
|
939
|
-
current: number;
|
|
940
|
-
}, {
|
|
941
|
-
stack: string[] | null;
|
|
942
|
-
current: number;
|
|
943
|
-
}>>>;
|
|
944
|
-
}, "strip", z.ZodTypeAny, {
|
|
945
|
-
stack?: {
|
|
946
|
-
stack: string[];
|
|
947
|
-
current: number;
|
|
948
|
-
} | null | undefined;
|
|
949
|
-
run_id: string;
|
|
950
|
-
attempt: number;
|
|
951
|
-
}, {
|
|
952
|
-
stack?: {
|
|
953
|
-
stack: string[] | null;
|
|
954
|
-
current: number;
|
|
955
|
-
} | null | undefined;
|
|
956
|
-
attempt?: number | undefined;
|
|
957
|
-
run_id: string;
|
|
958
|
-
}>>>;
|
|
959
|
-
use_api: z.ZodDefault<z.ZodBoolean>;
|
|
960
|
-
}, "strip", z.ZodTypeAny, {
|
|
961
|
-
steps?: Record<string, any> | null | undefined;
|
|
962
|
-
ctx?: {
|
|
963
|
-
stack?: {
|
|
964
|
-
stack: string[];
|
|
965
|
-
current: number;
|
|
966
|
-
} | null | undefined;
|
|
967
|
-
run_id: string;
|
|
968
|
-
attempt: number;
|
|
969
|
-
} | null | undefined;
|
|
970
|
-
event: {};
|
|
971
|
-
events: {}[];
|
|
972
|
-
use_api: boolean;
|
|
973
|
-
}, {
|
|
974
|
-
events?: {}[] | undefined;
|
|
975
|
-
steps?: Record<string, any> | null | undefined;
|
|
976
|
-
ctx?: {
|
|
977
|
-
stack?: {
|
|
978
|
-
stack: string[] | null;
|
|
979
|
-
current: number;
|
|
980
|
-
} | null | undefined;
|
|
981
|
-
attempt?: number | undefined;
|
|
982
|
-
run_id: string;
|
|
983
|
-
} | null | undefined;
|
|
984
|
-
use_api?: boolean | undefined;
|
|
985
|
-
event: {};
|
|
986
|
-
}>;
|
|
987
|
-
export type FnData = z.infer<typeof fnDataSchema>;
|
|
988
894
|
//# sourceMappingURL=types.d.ts.map
|
package/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,+BAA+B,CAAC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