pub(crate) const ASSET_FILTER_FIELDS: &[(&str, &str, bool, &[&str])] = &[
(
"id",
"text",
false,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"parentId",
"text",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"folderId",
"text",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"uploadPresetId",
"text",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"createdAt",
"number",
false,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"updatedAt",
"number",
false,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"type",
"text",
false,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"name",
"text",
false,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"description",
"text",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"externalId",
"text",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"externalUrl",
"text",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"authorId",
"text",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
("tags", "list", false, &["=in=", "=out="]),
(
"visibility",
"text",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"upload.status",
"text",
false,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"upload.updatedAt",
"number",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"classification.status",
"text",
false,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"classification.updatedAt",
"number",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"classification.completedAt",
"number",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"classification.moderation.status",
"text",
false,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"content.status",
"text",
false,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"content.removalReason",
"text",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"content.updatedAt",
"number",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"content.format",
"text",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"content.extension",
"text",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
(
"content.sizeInBytes",
"number",
true,
&["==", "!=", ">", ">=", "<", "<=", "=in=", "=out="],
),
];