@canes/ecb-tas-feature
Version:
19 lines (18 loc) • 713 B
TypeScript
export declare const MOD_ROLE = "MOD_ROLE";
export declare const IT_SUPPORT_ROLE = "IT_SUPPORT_ROLE";
export declare type IUser = {
username: string;
employeeId: string;
displayName: string;
};
declare function checkPermission(): Promise<boolean>;
declare function checkModRolePermission(): Promise<boolean>;
declare function checkItSupportRolePermission(): Promise<boolean>;
declare function getAll(): Promise<IUser[]>;
declare const userService: {
getAll: typeof getAll;
checkPermission: typeof checkPermission;
checkModRolePermission: typeof checkModRolePermission;
checkItSupportRolePermission: typeof checkItSupportRolePermission;
};
export default userService;