mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-18 11:11:10 +01:00
✨ Add new config format
This commit is contained in:
22
src/types/area.ts
Normal file
22
src/types/area.ts
Normal 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';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user