id: no-void-output language: typescript severity: error message: Do not use z.void() for output - use successResponseSchema instead note: | Endpoints should return `{ success: true }` instead of void. This makes the API more explicit and avoids issues with TypeScript expecting void-returning Promises. Replace `.output(z.void())` with `.output(successResponseSchema)` and ensure the handler returns `{ success: true }`. rule: pattern: $EXPR.output(z.void()) files: - packages/api-contract/**/*.ts