Variable validateDraggingParameterSettingsConst
validateDraggingParameterSettings: (
param: unknown,
) => z.ZodSafeParseResult<
{
props: {
activeMode?: "default"
| "activeOnStart";
availableColor?: string | { [x: string]: unknown } | null;
draggingColor?: string | { [x: string]: unknown } | null;
hover?: boolean;
hoverColor?: string | { [x: string]: unknown } | null;
objects?:
| {
nameFilter: string;
restrictions: string[];
dragAnchors?: | {
id: string;
position: (...)[];
rotation?: (...) | (...) | (...);
}[]
| null;
dragOrigin?: number[]
| null;
}[]
| null;
prompt?: | {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
restrictions?: | {
id: string;
type: string;
rotation?: { angle: number; axis: number[] }
| null;
[x: string]: unknown;
}[]
| null;
};
type: "dragging";
},
>
Type Declaration
- (
param: unknown,
): z.ZodSafeParseResult<
{
props: {
activeMode?: "default"
| "activeOnStart";
availableColor?: string | { [x: string]: unknown } | null;
draggingColor?: string | { [x: string]: unknown } | null;
hover?: boolean;
hoverColor?: string | { [x: string]: unknown } | null;
objects?:
| {
nameFilter: string;
restrictions: string[];
dragAnchors?: | {
id: string;
position: (...)[];
rotation?: (...) | (...) | (...);
}[]
| null;
dragOrigin?: number[]
| null;
}[]
| null;
prompt?: | {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
restrictions?: | {
id: string;
type: string;
rotation?: { angle: number; axis: number[] }
| null;
[x: string]: unknown;
}[]
| null;
};
type: "dragging";
},
> Returns z.ZodSafeParseResult<
{
props: {
activeMode?: "default"
| "activeOnStart";
availableColor?: string | { [x: string]: unknown } | null;
draggingColor?: string | { [x: string]: unknown } | null;
hover?: boolean;
hoverColor?: string | { [x: string]: unknown } | null;
objects?:
| {
nameFilter: string;
restrictions: string[];
dragAnchors?: | {
id: string;
position: (...)[];
rotation?: (...) | (...) | (...);
}[]
| null;
dragOrigin?: number[]
| null;
}[]
| null;
prompt?: | {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
restrictions?: | {
id: string;
type: string;
rotation?: { angle: number; axis: number[] }
| null;
[x: string]: unknown;
}[]
| null;
};
type: "dragging";
},
>