@minimaltech/node-infra
Version:
Minimal Technology NodeJS Infrastructure - Loopback 4 Framework
45 lines (44 loc) • 1.35 kB
TypeScript
declare const BasePermission: {
new (data?: Partial<{
code: string;
name: string;
subject: string;
pType: string;
action: string;
scope?: string;
parentId: number;
details: import("../../..").AnyObject;
createdAt: Date;
modifiedAt: Date;
getId: () => any;
getIdObject: () => Object;
toJSON: () => Object;
toObject: (options?: import("@loopback/repository").Options) => Object;
id: number;
}> | undefined): {
code: string;
name: string;
subject: string;
pType: string;
action: string;
scope?: string;
parentId: number;
details: import("../../..").AnyObject;
createdAt: Date;
modifiedAt: Date;
getId: () => any;
getIdObject: () => Object;
toJSON: () => Object;
toObject: (options?: import("@loopback/repository").Options) => Object;
id: number;
};
getIdProperties(): string[];
getIdOf(entityOrData: import("@loopback/repository").AnyObject): any;
buildWhereForId(id: any): any;
readonly modelName: string;
definition: import("@loopback/repository").ModelDefinition;
};
export declare class Permission extends BasePermission {
constructor(data?: Partial<Permission>);
}
export {};