dbweb-common
Version:
用`yarn add dbweb-common`安装,不要忘记修改`angular.json`里的 `architect\build\options\assets`,加上
25 lines (24 loc) • 651 B
TypeScript
import { CurrentApiService, IDept, BillOperate } from 'dbweb-core';
export interface RoleEle {
RoleName: string;
EleName: string;
}
export interface RoleValidElement {
Name: string;
Controller: string;
Label: string;
LabelEN: string;
Icon: string;
Color: string;
Category: string;
CategoryEN: string;
Dept: string;
Bill: boolean;
BillOperate: BillOperate;
}
export declare class RoleBack {
private api;
constructor(api: CurrentApiService);
fetchEles(): import("rxjs").Observable<RoleValidElement[]>;
fetchHasRoleDepts(): import("rxjs").Observable<IDept[]>;
}