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

1.0.1 • 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

/@relationc/keycloak/

    Package Sidebar

    Install

    npm i @relationc/keycloak

    Weekly Downloads

    1

    Version

    1.0.1

    License

    UNLICENSED

    Unpacked Size

    517 kB

    Total Files

    93

    Last publish

    Collaborators

    • hoaian412003