Variable: FieldChangedClauseSchema
ts
const FieldChangedClauseSchema: ZodObject<{
field: ZodObject<{
encodedName: ZodOptional<ZodString>;
name: ZodString;
property: ZodOptional<ZodArray<ZodObject<{
entity: ZodString;
key: ZodString;
path: ZodString;
type: ZodOptional<ZodCustom<... | ... | ... | ... | ... | ..., ... | ... | ... | ... | ... | ...>>;
}, $loose>>>;
}, $loose>;
operator: ZodCustom<"changed" | string & object, "changed" | string & object>;
predicates: ZodArray<ZodObject<{
operand: ZodUnion<readonly [ZodObject<{
encodedOperand: ZodOptional<ZodString>;
values: ZodArray<ZodUnion<...>>;
}, $loose>, ZodObject<{
encodedValue: ZodOptional<ZodString>;
value: ZodString;
}, $loose>, ZodObject<{
arguments: ZodArray<ZodString>;
encodedOperand: ZodOptional<ZodString>;
function: ZodString;
}, $loose>, ZodObject<{
keyword: ZodCustom<... | ..., ... | ...>;
}, $loose>]>;
operator: ZodCustom<
| "on"
| "after"
| "before"
| string & object
| "from"
| "to"
| "during"
| "by",
| "on"
| "after"
| "before"
| string & object
| "from"
| "to"
| "during"
| "by">;
}, $loose>>;
}, $loose>;Defined in: src/cloud/models/fieldChangedClause.ts:11
A clause that asserts whether a field was changed. For example, status CHANGED AFTER startOfMonth(-1M).See CHANGED for more information about the CHANGED operator.