📝 API 文档
mincu-data

mincu-data

Classes

Classes

Class: DataModule

Constructors

constructor

new DataModule()

Properties

storage

storage: MincuStorage

Accessors

appData

get appData(): AppData

Returns

AppData


colorScheme

get colorScheme(): ColorSchemeName

Returns

ColorSchemeName


colors

get colors(): any

Returns

any


inset

get inset(): EdgeInsets

Returns

EdgeInsets


isApp

get isApp(): boolean

Returns

boolean


isDark

get isDark(): boolean

Returns

boolean


userInfo

get userInfo(): Object

Returns

Object

NameType
colorSchemeColorSchemeName
colorsany
insetEdgeInsets
profile{ basicProfile: { app_avatar_url: string ; department: string ; department_id: string ; head_pic_url: string ; max_role_level: number ; message: string ; name: string ; status: number } ; entireProfile: IEntireProfileResponse }
profile.basicProfile{ app_avatar_url: string ; department: string ; department_id: string ; head_pic_url: string ; max_role_level: number ; message: string ; name: string ; status: number }
profile.basicProfile.app_avatar_urlstring
profile.basicProfile.departmentstring
profile.basicProfile.department_idstring
profile.basicProfile.head_pic_urlstring
profile.basicProfile.max_role_levelnumber
profile.basicProfile.messagestring
profile.basicProfile.namestring
profile.basicProfile.statusnumber
profile.entireProfileIEntireProfileResponse
tokenstring

Methods

getVersion

getVersion(): Promise<string>

Returns

Promise<string>


Instance

Static Instance(): DataModule

Returns

DataModule