@p8ec/iam
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

P(8) IAM Library Package

Shared library for IAM service:

  • types
  • interfaces
  • enums
  • data transfer objects (DTOs)
  • utility functions

Caveats

DTOs in this package are both used client- and server-side.

Due to @nestjs/swagger decorators used to generate OpenAPI documentation, they are not compatible with the client-side.

To avoid this, DTOs are "cleaned" before being published by replacing @nestjs/swagger decorators with no-op decorators.

It is achieved by compile time substitution of @nestjs/swagger decorators with no-op decorators that do nothing.

Please see ./configs/esm/.swcrc and ./configs/cjs/.swcrc for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @p8ec/iam

Weekly Downloads

1

Version

1.4.0

License

MIT

Unpacked Size

163 kB

Total Files

300

Last publish

Collaborators

  • amochkin