export default {

	db: {
		rootPath: "${bx.paths.site}/data",
		dirs: ["test"],
		fileFields: ["name","type"],
		fileFieldsJoin: "-",
		fileSpaces: "-",
	},
	filters: {
		color: { label: "Color" },
		size: { label: "Size" },
		shape: { label: "Shape" }
	},
	sort: {
		name: { label: "Name", type: "string" },
		color: { label: "Color", type: "string" }
	},
	pagination: {
		maxRecords: 3,
	},
	backup: {
		path: "data-backups/test-archive",
		auto: true,
		freq: 300,
	},
	metaDefaults: { 
		name: "",
		type: "",
		color: "",
		size: "",
		shape: ""
	},
	listTemplate: `
		{status}
		<div class="spa-list-controls">
			{newBtn}
		</div>
		<div class="spa-list-filters">
			{filters}
			{chips}
			{filterClearBtn}
		</div>
		<div class="spa-list-data">
			{sort}
			{count}
			{list}
			{pagination}
		</div>
		<div class="api-services">
			{mode}
			{services}
		</div>
	`,
	listFields: ["name", "color", "size"],
	targetId: 'spa',
}
