We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c970b37 commit e685a2aCopy full SHA for e685a2a
packages/spec/src/data/hook.zod.ts
@@ -62,13 +62,6 @@ export const HookSchema = z.object({
62
*/
63
handler: z.union([z.string(), z.any()]).optional().describe('Function handler name or direct function'),
64
65
- /**
66
- * Inline Script (Optional)
67
- * For simple logic without a full plugin.
68
- * @deprecated Prefer 'handler' for better testability and type safety.
69
- */
70
- script: z.string().optional().describe('Inline script body'),
71
-
72
/**
73
* Execution Order
74
* Lower numbers run first.
0 commit comments