echoes/frontend/common/serializableType.ts
lsy b689233e91 后端:新增主题配置获取接口。
前端:配置了默认环境变量值,创建自定义路由,将契约和服务合并到核心
2024-11-27 01:02:05 +08:00

22 lines
354 B
TypeScript

export type Serializable =
| null
| number
| string
| boolean
| { [key: string]: Serializable }
| Array<Serializable>;
export interface Configuration {
[key: string]: {
title: string;
description?: string;
data: Serializable;
};
}
export interface PathDescription {
path: string;
name: string;
description?: string;
}