Variable FieldChangedClauseSchemaConst
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 & {}, "changed" | string & {}>;
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<
| "from"
| "on"
| "after"
| "before"
| string & {}
| "to"
| "during"
| "by",
| "from"
| "on"
| "after"
| "before"
| string & {}
| "to"
| "during"
| "by",
>;
},
$loose,
>,
>;
},
$loose,
> = ...
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.