inngest 3.2.1 → 3.3.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # inngest
2
2
 
3
+ ## 3.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#329](https://github.com/inngest/inngest-js/pull/329) [`2837296`](https://github.com/inngest/inngest-js/commit/2837296fbb938816db7f4b18193ee834fdb13785) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Added `GetStepTools<typeof inngest>` and `GetFunctionInput<typeof inngest>` helper types to aid in building function factories. See [TypeScript Helpers - Inngest Documentation](https://www.inngest.com/docs/typescript#helpers) for more information.
8
+
3
9
  ## 3.2.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -131,67 +131,4 @@ inngest.send("app/user.signup", {
131
131
 
132
132
  ## Contributing
133
133
 
134
- Prerequisites:
135
-
136
- 1. Clone this repository
137
- 2. Intall [`pnpm`](https://pnpm.io/installation)
138
- 3. Install [Volta](https://volta.sh/) to manage consistent Node versions (optional)
139
-
140
- ### Development
141
-
142
- Run the following command in the `packages/inngest/` directory:
143
-
144
- ```sh
145
- pnpm dev
146
- ```
147
-
148
- This will install dependencies, build, and lint the package. It will watch for changes and re-run appropriate commands.
149
-
150
- ### Testing the package
151
-
152
- To test changes with other local repositories, we recommend packaging the library entirely and directly installing the resulting `.tgz` file. This is often more reliable than linking, which can cause issues when using multiple package managers.
153
-
154
- ```sh
155
- # in packages/inngest/
156
- pnpm local:pack # creates inngest.tgz
157
-
158
- # in another repo
159
- yarn add ~/path/to/packages/inngest/inngest.tgz
160
- ```
161
-
162
- You can also use this method to ship a snapshot of the library with an application. This is a nice way to generate and ship snapshot versions without requiring a release to npm.
163
-
164
- ### Releasing
165
-
166
- To release to production, we use [Changesets](https://github.com/changesets/changesets). This means that releasing and changelog generation is all managed through PRs, where a bot will guide you through the process of adding release notes to PRs.
167
-
168
- As PRs are merged into `main`, a new PR (usually called **Release @latest**) is created that rolls up all release notes since the last release, allowing you bundle changes together. Once you're happy with the release, merge this new PR and the bot will release the package to npm for you.
169
-
170
- Merging PRs to `main` (therefore both introducing a potential change and releasing to npm) requires that tests pass and a contributor has approved the PR.
171
-
172
- #### Legacy versions
173
-
174
- Merging and releasing to previous major versions of the SDK is also supported.
175
-
176
- - Add a `backport v*.x` label (e.g. `backport v1.x`) to a PR to have a backport PR generated when the initial PR is merged.
177
- - Merging into a `v*.x` branch creates a release PR (named **Release v1.x**, for example) the same as the `main` branch. Simply merge to release.
178
-
179
- #### Snapshot versions
180
-
181
- If a local `inngest.tgz` isn't ideal, we can release a tagged version to npm. For now, this is relatively manual. For this, please ensure you are in an open PR branch for observability.
182
-
183
- Decide on the "tag" you will be publishing to, which will dictate how the user installs the snapshot, e.g. if your tag is `beta`, the user will install using `inngest@beta`.
184
-
185
- You can see the currently available tags on the [`inngest` npm page](https://www.npmjs.com/package/inngest?activeTab=versions).
186
-
187
- > **NEVER** use the `latest` tag, and **NEVER** run `npm publish` without specifying `--tag`.
188
-
189
- If the current active version is `v1.1.1`, this is a minor release, and our tag is `foo`, we'd do:
190
-
191
- ```sh
192
- yarn version 1.2.0-foo.1
193
- yarn build
194
- npm publish --access public --tag foo
195
- ```
196
-
197
- You can iterate the final number for each extra snapshot you need to do on a branch.
134
+ Check out [`CONTRIBUTING.md`](CONTRIBUTING.md) to get started.
@@ -217,4 +217,70 @@ export declare const builtInMiddleware: [InngestMiddleware<{
217
217
  };
218
218
  };
219
219
  }>];
220
+ /**
221
+ * A helper type to extract the type of a set of event tooling from a given
222
+ * Inngest instance and optionally a trigger.
223
+ *
224
+ * @example Get generic step tools for an Inngest instance.
225
+ * ```ts
226
+ * type StepTools = GetStepTools<typeof inngest>;
227
+ * ```
228
+ *
229
+ * @example Get step tools with a trigger, ensuring tools like `waitForEvent` are typed.
230
+ * ```ts
231
+ * type StepTools = GetStepTools<typeof Inngest, "github/pull_request">;
232
+ * ```
233
+ *
234
+ * @public
235
+ */
236
+ export type GetStepTools<TInngest extends Inngest<any>, TTrigger extends keyof GetEvents<TInngest> & string = keyof GetEvents<TInngest> & string> = GetFunctionInput<TInngest, TTrigger> extends {
237
+ step: infer TStep;
238
+ } ? TStep : never;
239
+ /**
240
+ * A helper type to extract the type of the input to a function from a given
241
+ * Inngest instance and optionally a trigger.
242
+ *
243
+ * @example Get generic function input for an Inngest instance.
244
+ * ```ts
245
+ * type Input = GetFunctionInput<typeof inngest>;
246
+ * ```
247
+ *
248
+ * @example Get function input with a trigger, ensuring tools like `waitForEvent` are typed.
249
+ * ```ts
250
+ * type Input = GetFunctionInput<typeof Inngest, "github/pull_request">;
251
+ * ```
252
+ *
253
+ * @public
254
+ */
255
+ export type GetFunctionInput<TInngest extends Inngest<any>, TTrigger extends keyof GetEvents<TInngest> & string = keyof GetEvents<TInngest> & string> = Parameters<Handler<ClientOptionsFromInngest<TInngest>, GetEvents<TInngest>, TTrigger, ExtendWithMiddleware<[
256
+ typeof builtInMiddleware,
257
+ NonNullable<ClientOptionsFromInngest<TInngest>["middleware"]>
258
+ ]>>>[0];
259
+ /**
260
+ * A helper type to extract the inferred event schemas from a given Inngest
261
+ * instance.
262
+ *
263
+ * It's recommended to use this type instead of directly passing
264
+ * schemas around, as it will ensure that extra properties such as `ts` and
265
+ * `user` are always added.
266
+ *
267
+ * @example
268
+ * ```ts
269
+ * type Events = GetEvents<typeof inngest>;
270
+ * ```
271
+ *
272
+ * @public
273
+ */
274
+ export type GetEvents<TInngest extends Inngest<any>> = EventsFromOpts<ClientOptionsFromInngest<TInngest>>;
275
+ /**
276
+ * A helper type to extract the inferred options from a given Inngest instance.
277
+ *
278
+ * @example
279
+ * ```ts
280
+ * type Options = ClientOptionsFromInngest<typeof inngest>;
281
+ * ```
282
+ *
283
+ * @public
284
+ */
285
+ export type ClientOptionsFromInngest<TInngest extends Inngest<any>> = TInngest extends Inngest<infer U> ? U : ClientOptions;
220
286
  //# sourceMapping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;AAEH,MAAM,MAAM,wBAAwB,CAAC,QAAQ,SAAS,OAAO,CAAC,GAAG,CAAC,IAChE,QAAQ,SAAS,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC"}
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { EventSchemas, type Combine, type LiteralZodEventSchema, type StandardEventSchemaToPayload, type StandardEventSchemas, type ZodEventSchemas, } from "./components/EventSchemas";
2
2
  export { Inngest } from "./components/Inngest";
3
- export type { EventsFromOpts } from "./components/Inngest";
3
+ export type { ClientOptionsFromInngest, EventsFromOpts, GetEvents, GetFunctionInput, GetStepTools, } from "./components/Inngest";
4
4
  export { InngestCommHandler } from "./components/InngestCommHandler";
5
5
  export type { ServeHandlerOptions } from "./components/InngestCommHandler";
6
6
  export { InngestMiddleware } from "./components/InngestMiddleware";
@@ -12,5 +12,5 @@ export { slugify } from "./helpers/strings";
12
12
  export type { IsStringLiteral, StrictUnion, StrictUnionHelper, UnionKeys, } from "./helpers/types";
13
13
  export { ProxyLogger } from "./middleware/logger";
14
14
  export type { LogArg } from "./middleware/logger";
15
- export type { ClientOptions, EventNameFromTrigger, EventPayload, FailureEventArgs, FailureEventPayload, FunctionOptions, GetEvents, LogLevel, RegisterOptions, StepOptions, StepOptionsOrId, TimeStr, TriggerOptions, } from "./types";
15
+ export type { ClientOptions, EventNameFromTrigger, EventPayload, FailureEventArgs, FailureEventPayload, FunctionOptions, LogLevel, RegisterOptions, StepOptions, StepOptionsOrId, TimeStr, TriggerOptions, } from "./types";
16
16
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,oBAAoB,EACzB,KAAK,eAAe,GACrB,MAAM,2BA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,YAAY,EACV,wBAAwB,EACxB,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,YAAY,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EACV,iBAAiB,EACjB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,YAAY,EACV,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,SAAS,GACV,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,YAAY,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAClD,YAAY,EACV,aAAa,EACb,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,QAAQ,EACR,eAAe,EACf,WAAW,EACX,eAAe,EACf,OAAO,EACP,cAAc,GACf,MAAM,SAAS,CAAC"}
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,0DAOmC;AANjC,4GAAA,YAAY,OAAA;AAOd,gDAA+C;AAAtC,kGAAA,OAAO,OAAA;AAEhB,sEAAqE;AAA5D,wHAAA,kBAAkB,OAAA;AAE3B,oEAAmE;AAA1D,sHAAA,iBAAiB,OAAA;AAM1B,oEAAmE;AAA1D,sHAAA,iBAAiB,OAAA;AAC1B,gEAA+D;AAAtD,kHAAA,eAAe,OAAA;AACxB,2CAAyE;AAAhE,oGAAA,UAAU,OAAA;AAAE,wGAAA,cAAc,OAAA;AAAE,mGAAA,SAAS,OAAA;AAC9C,6CAA4C;AAAnC,kGAAA,OAAO,OAAA;AAOhB,8CAAkD;AAAzC,qGAAA,WAAW,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,0DAOmC;AANjC,4GAAA,YAAY,OAAA;AAOd,gDAA+C;AAAtC,kGAAA,OAAO,OAAA;AAQhB,sEAAqE;AAA5D,wHAAA,kBAAkB,OAAA;AAE3B,oEAAmE;AAA1D,sHAAA,iBAAiB,OAAA;AAM1B,oEAAmE;AAA1D,sHAAA,iBAAiB,OAAA;AAC1B,gEAA+D;AAAtD,kHAAA,eAAe,OAAA;AACxB,2CAAyE;AAAhE,oGAAA,UAAU,OAAA;AAAE,wGAAA,cAAc,OAAA;AAAE,mGAAA,SAAS,OAAA;AAC9C,6CAA4C;AAAnC,kGAAA,OAAO,OAAA;AAOhB,8CAAkD;AAAzC,qGAAA,WAAW,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inngest",
3
- "version": "3.2.1",
3
+ "version": "3.3.0",
4
4
  "description": "Official SDK for Inngest.com",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "3.2.1";
1
+ export declare const version = "3.3.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  // Generated by genversion.
5
- exports.version = "3.2.1";
5
+ exports.version = "3.3.0";
6
6
  //# sourceMappingURL=version.js.map