echoes/frontend/interface/theme.ts
lsy e54c6b67c0 前端:实现开发模式动态主题
后端:自定义字段restful路由
2024-12-20 00:34:54 +08:00

22 lines
474 B
TypeScript

import {Configuration, PathDescription} from "interface/serializableType";
export interface ThemeConfig {
name: string;
displayName: string;
icon?: string;
version: string;
description?: string;
author?: string;
templates: {
[key: string]: PathDescription;
};
layout?: string;
configuration: Configuration;
loading?: string;
error?: string;
manage?: string;
routes: {
[path: string]: string;
};
}