Search filters to display on the front page.
Declarations
Type
(list of (attribute set)) or function that evaluates to a(n) list of (attribute set)
Default
<function></function>
Example
presets: [
# To get the savedFilterId, you can query `{ findSavedFilters(mode: <filtermode>) { id name } }` on localhost:9999/graphql
{
__typename = "SavedFilter";
savedFilterId = 1;
}
# basic custom filter
{
__typename = "CustomFilter";
title = "Random Scenes";
mode = "SCENES";
sortBy = "random";
direction = "DESC";
}
presets.recentlyAddedImages
]
</filtermode>