@relationc/permissions
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

Crm Permission

And Nestjs base package for auto create permission in Nestjs

Install

# With npm
npm install crm-permission
# Width yarn
yarn add crm-permission

Usage

@AppController('example')
export class ExampleController {
  @ApiMetaData({
    description: 'Hello world',
    name: 'Hello',
    policy: 'example:hello',
  })
  @Get('/hello')
  async hello() {
    return 'Hello';
  }
}
  • Note: please check the correct order of decorator

Readme

Keywords

none

Package Sidebar

Install

npm i @relationc/permissions

Weekly Downloads

0

Version

1.0.10

License

UNLICENSED

Unpacked Size

204 kB

Total Files

54

Last publish

Collaborators

  • hoaian412003