Philosophy
The @egose/deco package offers TypeScript Decorators that allow developers to define @egose/acl configurations and options through class and method annotations. By leveraging these decorators, developers can significantly enhance the readability and maintainability of their backend codebase. Overall, @egose/deco provides a powerful way to streamline authorization logic and improve code organization.
Annotations
Class Decorators
- Module
- Router
Method Decorators
- GlobalPermissions
- DocPermissions
- BaseFilter
- Validate
- Prepare
- Transform
- Decorate
- DecorateAll
- RouteGuard
Parameter Decorators
- Request
- Document
- Permissions
- Context
Property Decorators
- Option