Variable FieldWasClauseSchemaConst
FieldWasClauseSchema: 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<string & {} | "empty", string & {} | "empty"> },
$loose,
>,
],
>;
operator: ZodCustom<
string & {}
| "was"
| "was in"
| "was not in"
| "was not",
string & {} | "was" | "was in" | "was not in" | "was not",
>;
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 a previous value of a field. For example,
status WAS "Resolved" BY currentUser() BEFORE "2019/02/02". See WAS for more information about the WAS operator.