Skip to main content

Variable: ModelProtectionItemSchema

const ModelProtectionItemSchema: ZodObject<{
name: ZodString;
action: ZodString;
topic-list: ZodOptional<ZodArray<ZodObject<{
action: ZodString;
topic: ZodNullable<ZodArray<ZodObject<{
topic_name: ZodString;
topic_id: ZodString;
revision: ZodNumber;
}, "passthrough", ZodTypeAny, objectOutputType<{
topic_name: ...;
topic_id: ...;
revision: ...;
}, ZodTypeAny, "passthrough">, objectInputType<{
topic_name: ...;
topic_id: ...;
revision: ...;
}, ZodTypeAny, "passthrough">>, "many">>;
}, "passthrough", ZodTypeAny, objectOutputType<{
action: ZodString;
topic: ZodNullable<ZodArray<ZodObject<{
topic_name: ...;
topic_id: ...;
revision: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "many">>;
}, ZodTypeAny, "passthrough">, objectInputType<{
action: ZodString;
topic: ZodNullable<ZodArray<ZodObject<{
topic_name: ...;
topic_id: ...;
revision: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "many">>;
}, ZodTypeAny, "passthrough">>, "many">>;
options: ZodOptional<ZodArray<ZodUnknown, "many">>;
}, "passthrough", ZodTypeAny, objectOutputType<{
name: ZodString;
action: ZodString;
topic-list: ZodOptional<ZodArray<ZodObject<{
action: ZodString;
topic: ZodNullable<ZodArray<ZodObject<{
topic_name: ...;
topic_id: ...;
revision: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "many">>;
}, "passthrough", ZodTypeAny, objectOutputType<{
action: ZodString;
topic: ZodNullable<ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">>;
}, ZodTypeAny, "passthrough">, objectInputType<{
action: ZodString;
topic: ZodNullable<ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">>;
}, ZodTypeAny, "passthrough">>, "many">>;
options: ZodOptional<ZodArray<ZodUnknown, "many">>;
}, ZodTypeAny, "passthrough">, objectInputType<{
name: ZodString;
action: ZodString;
topic-list: ZodOptional<ZodArray<ZodObject<{
action: ZodString;
topic: ZodNullable<ZodArray<ZodObject<{
topic_name: ...;
topic_id: ...;
revision: ...;
}, "passthrough", ZodTypeAny, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>, "many">>;
}, "passthrough", ZodTypeAny, objectOutputType<{
action: ZodString;
topic: ZodNullable<ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">>;
}, ZodTypeAny, "passthrough">, objectInputType<{
action: ZodString;
topic: ZodNullable<ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">>;
}, ZodTypeAny, "passthrough">>, "many">>;
options: ZodOptional<ZodArray<ZodUnknown, "many">>;
}, ZodTypeAny, "passthrough">>;

Defined in: src/models/mgmt-security-profile.ts:129

Zod schema for a model-protection array item.