Skip to content

feat: use modular built-in multi validation system #450

feat: use modular built-in multi validation system

feat: use modular built-in multi validation system #450

Triggered via push July 16, 2024 14:21
Status Failure
Total duration 34s
Artifacts

cicd.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
CI
next-safe-action#lint: command (/home/runner/work/next-safe-action/next-safe-action/packages/next-safe-action) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (2)
CI
Type '() => ZodObject<{ actionName: ZodString; }, "strip", ZodTypeAny, { actionName: string; }, { actionName: string; }>' is not assignable to type '() => undefined'.
CI
Argument of type '{ actionName: string; }' is not assignable to parameter of type 'undefined'.
CI
Argument of type '{ defaultValidationErrorsShape: "formatted"; }' is not assignable to parameter of type 'SafeActionClientOpts<string, undefined, "formatted">'.
CI
Argument of type '{ defaultValidationErrorsShape: "flattened"; }' is not assignable to parameter of type 'SafeActionClientOpts<string, undefined, "flattened">'.
CI
Argument of type '{ defaultValidationErrorsShape: "formatted"; }' is not assignable to parameter of type 'SafeActionClientOpts<string, undefined, "formatted">'.
CI
Argument of type '{ defaultValidationErrorsShape: "flattened"; }' is not assignable to parameter of type 'SafeActionClientOpts<string, undefined, "flattened">'.
CI
Type '() => ZodObject<{ actionName: ZodString; }, "strip", ZodTypeAny, { actionName: string; }, { actionName: string; }>' is not assignable to type '() => undefined'.
CI
Argument of type '{ actionName: string; }' is not assignable to parameter of type 'undefined'.
CI
Argument of type '{ actionName: string; }' is not assignable to parameter of type 'undefined'.