UNPKG

@sepveneto/mpd-core

Version:

## 安装 ```cmd pnpm i @sepveneto/mpd-core npm i @sepveneto/mpd-core yarn add @sepveneto/mpd-core ```

36 lines (34 loc) 838 B
interface Upgrade { <T extends Record<PropertyKey, unknown>>(data: T): T; VERSION: string; } declare type BaseConfig = { _name: string; _view: string; _schema: string; isShow: boolean; style?: Record<string, number | string>; [key: string]: unknown; }; declare type TabbarRecord = { list: { text: string; type: string; _uuid: string; [key: string]: unknown; }[]; } & BaseConfig; declare type CoreDataV1 = { version?: string; globalConfig: { color: string; emptyColor: string; bubbleColor: string; loginBg: string; }; body: Record<string, BaseConfig[]>; tabbars?: TabbarRecord; mpGlobalConfig: Record<string, unknown>; }; declare const upgrade: Upgrade; export { type CoreDataV1, type TabbarRecord, upgrade };