Variable nodeFieldSchemaConst
nodeFieldSchema: ZodObject<
{
allowExpression: ZodOptional<ZodBoolean>;
defaultValue: ZodOptional<ZodType<{} | null, ZodTypeDef, {} | null>>;
description: ZodOptional<ZodString>;
key: ZodString;
label: ZodString;
options: ZodOptional<
ZodArray<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
"many",
>,
>;
required: ZodOptional<ZodBoolean>;
type: ZodString;
},
"strip",
ZodTypeAny,
{
allowExpression?: boolean;
defaultValue?: {}
| null;
description?: string;
key: string;
label: string;
options?: Record<string, {} | null>[];
required?: boolean;
type: string;
},
{
allowExpression?: boolean;
defaultValue?: {}
| null;
description?: string;
key: string;
label: string;
options?: Record<string, {} | null>[];
required?: boolean;
type: string;
},
> = ...
Runtime validator for NodeField.