ohayolibs
Version:
Ohayo is a set of essential modules for ohayojp.
35 lines (31 loc) • 678 B
text/typescript
export interface App {
[key: string]: any;
/** Name for app */
name?: string;
/** Description for app */
description?: string;
}
export interface User {
[key: string]: any;
/** Name for current user */
name?: string;
/** Avatar for current user */
avatar?: string;
/** Email for current user */
email?: string;
}
export interface Layout {
[key: string]: any;
/** Whether to fold menu */
collapsed: boolean;
/** Current language */
lang: string;
/** Color weak */
colorWeak: boolean;
}
export interface SettingsNotify {
type: 'layout' | 'app' | 'user';
/** Update `key` name, limited `layout` type */
name?: string;
value: any;
}