@ithinkdt/cloud
Version:
iThinkDT Cloud
33 lines (22 loc) • 544 B
TypeScript
import { UseDictRet, DictItem } from '@ithinkdt/core'
export interface DtDict {
id: string
dictTypeId: string
dictKey: string
dictValue: string
dictValueEn?: string
sortField?: number
remark?: string
}
export declare enum RoleType {
SYSTEM = 'SYSTEM',
NORMAL = 'NORMAL',
}
export interface DtRole {
id: string
roleCode: string
roleName: string
roleType: RoleType
remark?: string
}
export declare function useRoleDicts(onGet?: () => void): UseDictRet<DictItem<DtRole, string>[]>