@apostlejs/flows 0.0.18 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.d.cts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1031,7 +1031,7 @@ declare const firstScreen: <ExtendedContext, Context extends FlowHandlerContext<
1031
1031
  }) => ({ ctx }: {
1032
1032
  ctx: FlowHandlerBaseContext;
1033
1033
  }) => Promise<any>;
1034
- declare function screenController<ScreenKeys extends string, InputSchema extends ZodObject<Record<ExtractIdentifier<ScreenKeys, "name">, AnyType>>, VariablesSchema extends ZodObject, CustomStore extends Store, ExtendedContext, Context extends FlowHandlerContext<ExtractIdentifier<ScreenKeys>, CustomStore> & ExtendedContext>(_: ScreenKeys, controller: {
1034
+ declare function screenController<ScreenKeys extends string, InputSchema extends ZodObject, VariablesSchema extends ZodObject, CustomStore extends Store, ExtendedContext, Context extends FlowHandlerContext<ExtractIdentifier<ScreenKeys>, CustomStore> & ExtendedContext>(_: ScreenKeys, controller: {
1035
1035
  middleware?: (ctx: FlowHandlerContext<ExtractIdentifier<ScreenKeys>, Store>) => Promisable<ExtendedContext>;
1036
1036
  store?: CustomStore | undefined;
1037
1037
  input?: InputSchema;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.0.18",
7
+ "version": "0.0.19",
8
8
  "type": "module",
9
9
  "files": [
10
10
  "dist"