Variable validateSelectionParameterSettingsConst
validateSelectionParameterSettings: (
param: unknown,
) => z.ZodSafeParseResult<
{
props: {
activeMode?: "default"
| "activeOnStart";
availableColor?: string | { [x: string]: unknown } | null;
deselectOnEmpty?: boolean;
hover?: boolean;
hoverColor?: string | { [x: string]: unknown } | null;
maximumSelection?: number | null;
minimumSelection?: number | null;
nameFilter?: string[] | null;
prompt?:
| {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
selectionColor?: string
| { [x: string]: unknown }
| null;
};
type: "selection";
},
>
Type Declaration
- (
param: unknown,
): z.ZodSafeParseResult<
{
props: {
activeMode?: "default"
| "activeOnStart";
availableColor?: string | { [x: string]: unknown } | null;
deselectOnEmpty?: boolean;
hover?: boolean;
hoverColor?: string | { [x: string]: unknown } | null;
maximumSelection?: number | null;
minimumSelection?: number | null;
nameFilter?: string[] | null;
prompt?:
| {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
selectionColor?: string
| { [x: string]: unknown }
| null;
};
type: "selection";
},
> Returns z.ZodSafeParseResult<
{
props: {
activeMode?: "default"
| "activeOnStart";
availableColor?: string | { [x: string]: unknown } | null;
deselectOnEmpty?: boolean;
hover?: boolean;
hoverColor?: string | { [x: string]: unknown } | null;
maximumSelection?: number | null;
minimumSelection?: number | null;
nameFilter?: string[] | null;
prompt?:
| {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
selectionColor?: string
| { [x: string]: unknown }
| null;
};
type: "selection";
},
>