mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-16 18:26:20 +01:00
23 lines
356 B
TypeScript
23 lines
356 B
TypeScript
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';
|
|
};
|
|
}
|