0.4.7 • Published 8 months ago

@eturino/claims v0.4.7

Weekly downloads
16
License
MIT
Repository
github
Last release
8 months ago

Claims (typescript)

npm version Maintainability Test Coverage

TypeDoc generated docs in here

Github repo here

Library to encapsulate Claims ("verb:resource") as well as ClaimSet (set of Claims) and Ability (permitted ClaimSet + prohibited ClaimSet).

TBD

(TypeScript port of https://github.com/eturino/claims)

Library bootstrapped using typescript-starter.

Installation

yarn add @eturino/claims or npm install @eturino/claims.

Usage

Allowed verbs: "admin", "read", "delete", "create", "update", "manage".

see the type docs for now

instantiating the object using the buildClaim(), buildClaimSet() and buildAbility() functions is recommended

Collaborators

0.4.5

9 months ago

0.4.4

9 months ago

0.4.7

8 months ago

0.4.6

9 months ago

0.4.3

11 months ago

0.4.2

11 months ago

0.3.0

4 years ago

0.1.10

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago