@iredium/butterfly
Version:
Express API Framework
14 lines (13 loc) • 336 B
TypeScript
export declare class BasePolicy {
protected user: any;
protected record: any;
constructor(user: any, record: any);
index(): boolean;
show(): boolean;
create(): boolean;
update(): boolean;
destroy(): boolean;
restore(): boolean;
allowedUser(): boolean;
protected isAuthenticated(): boolean;
}