UNPKG

ng-yunzai-mobile

Version:

1. 修改wechat.micro.ts

79 lines (78 loc) 1.94 kB
import { InjectionToken } from "@angular/core"; import { UserService } from "./user.service"; export interface IUser { account?: string; userName?: string; password?: string; userId?: string; realName?: string; deptId?: string; deptName?: string; userType?: number; } export interface User { accountNonExpired?: boolean; accountNonLocked?: boolean; authorities?: Array<{ [key: string]: string; }>; credentialsNonExpired?: boolean; deptId?: string; deptName?: string; enabled?: boolean; id?: string; password?: string; realname?: string; roles?: string; userCode?: string; userId?: string; userType?: number; username?: string; avatarId?: string; menu?: Array<Sider>; } export interface Sider { id?: string; text?: string; i18n?: string; group?: boolean; link?: string; externalLink?: string; target?: string; intro?: string; systemCode?: string; icon?: string; label?: string; version?: number; attribute?: any; badge?: number; badge_dot?: boolean; badge_status?: BADGE_STATUS; hide?: boolean; hideChildren?: boolean; hideInBreadcrumb?: boolean; shortcut?: boolean; shortcut_root?: boolean; reuse?: boolean; displayIndex?: number; children?: Array<Sider>; menuAuths?: Array<any>; pid?: string; } export declare enum BADGE_STATUS { SUCCESS = "success", PROCESSING = "processing", DEFAULT = "default", ERROR = "error", WARNING = "warning" } export declare enum SIDER_THEME { DARK = "dark", LIGHT = "light" } export declare enum SIDER_MODE { VERTICAL = "vertical", INLINE = "inline" } export declare const DA_SERVICE_USER: InjectionToken<UserService>; export declare function DA_SERVICE_USER_FACTORY(): UserService;