Skip to content

Variable: FieldValueClauseSchema

ts
const FieldValueClauseSchema: ZodObject<{
  field: ZodObject<{
     encodedName: ZodOptional<ZodString>;
     name: ZodString;
     property: ZodOptional<ZodArray<ZodObject<{
        entity: ZodString;
        key: ZodString;
        path: ZodString;
        type: ZodOptional<ZodCustom<... | ... | ... | ... | ... | ..., ... | ... | ... | ... | ... | ...>>;
     }, $loose>>>;
  }, $loose>;
  operand: ZodUnion<readonly [ZodObject<{
     encodedOperand: ZodOptional<ZodString>;
     values: ZodArray<ZodUnion<readonly [ZodObject<{
        encodedValue: ...;
        value: ...;
      }, $loose>, ZodObject<{
        arguments: ...;
        encodedOperand: ...;
        function: ...;
      }, $loose>, ZodObject<{
        keyword: ...;
     }, $loose>]>>;
   }, $loose>, ZodObject<{
     encodedValue: ZodOptional<ZodString>;
     value: ZodString;
   }, $loose>, ZodObject<{
     arguments: ZodArray<ZodString>;
     encodedOperand: ZodOptional<ZodString>;
     function: ZodString;
   }, $loose>, ZodObject<{
     keyword: ZodCustom<"empty" | string & object, "empty" | string & object>;
  }, $loose>]>;
  operator: ZodCustom<
     | string & object
     | "in"
     | "="
     | "!="
     | ">"
     | "<"
     | ">="
     | "<="
     | "not in"
     | "~"
     | "~="
     | "is"
     | "is not", 
     | string & object
     | "in"
     | "="
     | "!="
     | ">"
     | "<"
     | ">="
     | "<="
     | "not in"
     | "~"
     | "~="
     | "is"
    | "is not">;
}, $loose>;

Defined in: src/cloud/models/fieldValueClause.ts:7

A clause that asserts the current value of a field. For example, summary ~ test.