Variable attributePayloadSchemaConst

attributePayloadSchema: ZodObject<{
    name: ZodString;
    value: ZodOptional<ZodUnion<[ZodString, ZodType<RegExp, ZodTypeDef, RegExp>]>>;
}, "strip", ZodTypeAny, {
    name: string;
    value?: string | RegExp;
}, {
    name: string;
    value?: string | RegExp;
}> = ...

Type declaration

  • name: ZodString
  • value: ZodOptional<ZodUnion<[ZodString, ZodType<RegExp, ZodTypeDef, RegExp>]>>

Type declaration

  • name: string
  • Optional value?: string | RegExp

Type declaration

  • name: string
  • Optional value?: string | RegExp