Update file restrictions, download counting, project colors, etc (#515)

* Update file restrictions, download counting, project colors, etc

* Run fmt + clippy + prepare
This commit is contained in:
Geometrically
2022-12-30 13:56:41 -07:00
committed by GitHub
parent 5bb188a822
commit 34af33607b
8 changed files with 286 additions and 244 deletions

View File

@@ -198,6 +198,8 @@ const DEFAULT_DISPLAYED_ATTRIBUTES: &[&str] = &[
"client_side",
"server_side",
"gallery",
"featured_gallery",
"color",
];
const DEFAULT_SEARCHABLE_ATTRIBUTES: &[&str] =
@@ -218,6 +220,7 @@ const DEFAULT_ATTRIBUTES_FOR_FACETING: &[&str] = &[
"date_modified",
"project_id",
"open_source",
"color",
];
const DEFAULT_SORTABLE_ATTRIBUTES: &[&str] =