@alpha018/nestjs-firebase-auth
Version:
NestJS Firebase library and Role based guard for authentication with some utils functions
3 lines (2 loc) • 387 B
TypeScript
export declare const Roles: <T>(...roles: T[]) => <TFunction extends Function, Y>(target: TFunction | object, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor<Y>) => void;
export declare const RolesGuard: <T>(...roles: T[]) => <TFunction extends Function, Y>(target: TFunction | object, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor<Y>) => void;