1.0.9 • Published 2 years ago
crm-permission
Licence
UNLICENSED
Version
1.0.9
Deps
10
Size
199 kB
Vulns
1
Weekly
0
DeprecatedThis package is deprecated
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