38 lines
646 B
TypeScript
38 lines
646 B
TypeScript
export interface BrandConfig {
|
|
logo?: string;
|
|
icon?: string;
|
|
asmask?: boolean;
|
|
}
|
|
|
|
export interface SectionConfig extends BrandConfig {
|
|
title: string;
|
|
subtitle?: string;
|
|
}
|
|
|
|
export interface ServiceConfig extends SectionConfig {
|
|
url: string;
|
|
target?: string;
|
|
type?: string;
|
|
|
|
[x: string]: unknown;
|
|
}
|
|
|
|
export interface ServiceGroupConfig extends SectionConfig {
|
|
items: Array<ServiceConfig>;
|
|
|
|
[x: string]: unknown;
|
|
}
|
|
|
|
export type ColorConfig = Record<string, string>;
|
|
|
|
export interface Config extends SectionConfig {
|
|
services: Array<ServiceGroupConfig>;
|
|
|
|
colors: {
|
|
light: ColorConfig;
|
|
dark: ColorConfig;
|
|
};
|
|
|
|
[x: string]: unknown;
|
|
}
|