@fasterjs/core
TypeScript icon, indicating that this package has built-in type declarations

1.1.7 • Public • Published

Create Role

npm run command --roles="admin;user"

Create Permission and attach to role

npm run command --role="user" --permission="get;/products/:id" npm run command --role="user" --permission="post;/product-absolute" npm run command --role="user" --permission="post;/products/product-validate-request" npm run command --role="user" --permission="get;/users/info"

Migrator:

Generate role and permission table of @fasterjs:

  • npm run migrate --command="makeRAP" Generate:
  • npm run migrate --command=generate --name=name_migrate Up:
  • npm run migrate --command=up Down:
  • npm run migrate --command=down --step=1

Readme

Keywords

none

Package Sidebar

Install

npm i @fasterjs/core

Weekly Downloads

2

Version

1.1.7

License

ISC

Unpacked Size

338 kB

Total Files

222

Last publish

Collaborators

  • quynt