Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import * as Scrivito from "scrivito";
Scrivito.configureContentBrowser({
filters: {
_objClass: {
options: {
All: {
title: "All",
icon: "folder",
query: Scrivito.Obj.all(),
selected: true,
},
Images: {
title: "Images",
icon: "image",
field: "_objClass",
value: "Image",
},
Pages: {