server-act
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -21,13 +21,13 @@ import { z } from 'zod'; | ||
*/ | ||
middleware: <TContext>(middleware: () => Promise<TContext> | TContext) => ActionBuilder<{ | ||
middleware: <TContext>(middleware: () => Promise<TContext> | TContext) => Omit<ActionBuilder<{ | ||
_input: TParams["_input"]; | ||
_context: TContext; | ||
}>; | ||
}>, "middleware">; | ||
/** | ||
* Input validation for the action. | ||
*/ | ||
input: <TParser extends z.ZodType>(input: TParser) => ActionBuilder<{ | ||
input: <TParser extends z.ZodType>(input: TParser) => Omit<ActionBuilder<{ | ||
_input: TParser; | ||
_context: TParams["_context"]; | ||
}>; | ||
}>, "input">; | ||
/** | ||
@@ -34,0 +34,0 @@ * Create an action. |
{ | ||
"name": "server-act", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"homepage": "https://github.com/chungweileong94/server-act#readme", | ||
@@ -5,0 +5,0 @@ "author": "chungweileong94", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18096