TypeScript Decorators / Annotations for ts-prorm-orm
Exports all decorator utilities organized by category:
Encryption —
/
for password hashing Procedures —
for stored procedures & SQL functions Views —
for mapping a Model class to a database view Permissions —
Hash all
The model instance whose fields should be hashed
fields on a model instance.
Call this inside a beforeCreate / beforeUpdate hook, or let the ORM do it automatically when you use applySecureHooks().
TypeScript Decorators / Annotations for ts-prorm-orm
Exports all decorator utilities organized by category:
Encryption —
Secure
/
Secure Field
for password hashing Procedures —
Procedure
/
Sql Function
for stored procedures & SQL functions Views —
View
for mapping a Model class to a database view Permissions —
Can View
/
Cannot View
/
Permission
/
Can Write
/
Cannot Write