echoes/frontend/commons/serializableType.ts
lsy a43a9bac36 后端:修复数据库异常连接导致后续无法正常重启;
前端:消息提示增加标题,添加Radix UI,重构HTTP错误处理逻辑。
2024-11-30 14:03:32 +08:00

21 lines
353 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;
}