@p8ec/iam
v1.4.0
Published
P(8) Identity and Access Management (IAM) Library
Downloads
467
Readme
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.