Browse Source

🔧 chore(users): add alias export for UserEntity

- export UserEntity as User to provide alternative import name
- improve code usability by offering shorter import syntax
yourname 2 months ago
parent
commit
464955a873
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/server/modules/users/user.entity.ts

+ 3 - 1
src/server/modules/users/user.entity.ts

@@ -70,4 +70,6 @@ export class UserEntity {
   constructor(partial?: Partial<UserEntity>) {
     Object.assign(this, partial);
   }
-}
+}
+
+export { UserEntity as User }