mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-26 09:19:18 +01:00
24 lines
607 B
TypeScript
24 lines
607 B
TypeScript
import { CategoryType } from './category';
|
|
import { WrapperType } from './wrapper';
|
|
import { ConfigAppType, AppType } from './app';
|
|
import { SettingsType } from './settings';
|
|
import { IWidget } from '../widgets/widgets';
|
|
|
|
export interface ConfigType {
|
|
schemaVersion: number;
|
|
configProperties: ConfigPropertiesType;
|
|
categories: CategoryType[];
|
|
wrappers: WrapperType[];
|
|
apps: AppType[];
|
|
widgets: IWidget<string, any>[];
|
|
settings: SettingsType;
|
|
}
|
|
|
|
export type BackendConfigType = Omit<ConfigType, 'apps'> & {
|
|
apps: ConfigAppType[];
|
|
};
|
|
|
|
export interface ConfigPropertiesType {
|
|
name: string;
|
|
}
|