Add new config format

This commit is contained in:
Meierschlumpf
2022-12-04 17:36:30 +01:00
parent b2f5149527
commit d5a3b3f3ba
76 changed files with 2461 additions and 1034 deletions

22
src/types/area.ts Normal file
View File

@@ -0,0 +1,22 @@
export type AreaType = WrapperAreaType | CategoryAreaType | SidebarAreaType;
interface WrapperAreaType {
type: 'wrapper';
properties: {
id: string;
};
}
interface CategoryAreaType {
type: 'category';
properties: {
id: string;
};
}
interface SidebarAreaType {
type: 'sidebar';
properties: {
location: 'right' | 'left';
};
}