fix(ci): repair helper typing regressions

This commit is contained in:
Peter Steinberger
2026-03-14 03:01:33 +00:00
parent eee5d7c6b0
commit 8bc163d15f
9 changed files with 84 additions and 98 deletions

View File

@@ -1,17 +1,17 @@
import type { z } from "zod";
type RequireOpenAllowFromFn = (params: {
policy: unknown;
allowFrom: unknown;
policy?: string;
allowFrom?: Array<string | number>;
ctx: z.RefinementCtx;
path: string[];
path: Array<string | number>;
message: string;
}) => void;
export function requireChannelOpenAllowFrom(params: {
channel: string;
policy: unknown;
allowFrom: unknown;
policy?: string;
allowFrom?: Array<string | number>;
ctx: z.RefinementCtx;
requireOpenAllowFrom: RequireOpenAllowFromFn;
}) {