Skip to main content

Variable: RuleEditableFieldSchema

const RuleEditableFieldSchema: ZodObject<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<{
value: ZodString;
label: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
value: ZodString;
label: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
value: ZodString;
label: ZodString;
}, ZodTypeAny, "passthrough">>, "many">>>;
}, "passthrough", ZodTypeAny, objectOutputType<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<{
value: ZodString;
label: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
value: ZodString;
label: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
value: ZodString;
label: ZodString;
}, ZodTypeAny, "passthrough">>, "many">>>;
}, ZodTypeAny, "passthrough">, objectInputType<{
attribute_name: ZodString;
type: ZodString;
display_name: ZodString;
display_type: ZodString;
description: ZodOptional<ZodNullable<ZodString>>;
dropdown_values: ZodOptional<ZodNullable<ZodArray<ZodObject<{
value: ZodString;
label: ZodString;
}, "passthrough", ZodTypeAny, objectOutputType<{
value: ZodString;
label: ZodString;
}, ZodTypeAny, "passthrough">, objectInputType<{
value: ZodString;
label: ZodString;
}, ZodTypeAny, "passthrough">>, "many">>>;
}, ZodTypeAny, "passthrough">>;

Defined in: src/models/model-security.ts:344

Zod schema for a rule editable field definition.