Create a bcrypt adapter.
Requires bcrypt or bcryptjs to be installed:
npm install bcrypt (native, faster)
npm install bcryptjs (pure JS, no native build)
bcrypt cost factor (default: 12)
Usage: import bcrypt from 'bcrypt'; setEncryptionAdapter(createBcryptAdapter(bcrypt, 12));
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