@experts_hub/shared 1.0.27 → 1.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,3 @@
1
+ export * from './base.entity';
1
2
  export * from './user.entity';
2
3
  export * from './refresh-token.entity';
package/dist/index.d.mts CHANGED
@@ -70,4 +70,4 @@ declare class User extends BaseEntity {
70
70
  refreshTokens: RefreshToken[];
71
71
  }
72
72
 
73
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, RefreshToken, User, UserRMQAdapter, UserTCPAdapter };
73
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, RefreshToken, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.d.ts CHANGED
@@ -70,4 +70,4 @@ declare class User extends BaseEntity {
70
70
  refreshTokens: RefreshToken[];
71
71
  }
72
72
 
73
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, RefreshToken, User, UserRMQAdapter, UserTCPAdapter };
73
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, RefreshToken, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.js CHANGED
@@ -30,6 +30,7 @@ __export(index_exports, {
30
30
  AUTHENTICATION_PATTERN: () => AUTHENTICATION_PATTERN,
31
31
  AccountStatus: () => AccountStatus,
32
32
  AccountType: () => AccountType,
33
+ BaseEntity: () => BaseEntity,
33
34
  RefreshToken: () => RefreshToken,
34
35
  User: () => User,
35
36
  UserRMQAdapter: () => UserRMQAdapter,
@@ -120,9 +121,6 @@ var UserRMQAdapter = (mode = "microservice") => {
120
121
  return config3;
121
122
  };
122
123
 
123
- // src/entities/user.entity.ts
124
- var import_typeorm3 = require("typeorm");
125
-
126
124
  // src/entities/base.entity.ts
127
125
  var import_typeorm = require("typeorm");
128
126
  var BaseEntity = class {
@@ -160,6 +158,9 @@ __decorateClass([
160
158
  })
161
159
  ], BaseEntity.prototype, "deletedAt", 2);
162
160
 
161
+ // src/entities/user.entity.ts
162
+ var import_typeorm3 = require("typeorm");
163
+
163
164
  // src/entities/refresh-token.entity.ts
164
165
  var import_typeorm2 = require("typeorm");
165
166
  var RefreshToken = class {
@@ -282,6 +283,7 @@ User = __decorateClass([
282
283
  AUTHENTICATION_PATTERN,
283
284
  AccountStatus,
284
285
  AccountType,
286
+ BaseEntity,
285
287
  RefreshToken,
286
288
  User,
287
289
  UserRMQAdapter,
package/dist/index.mjs CHANGED
@@ -92,9 +92,6 @@ var UserRMQAdapter = (mode = "microservice") => {
92
92
  return config3;
93
93
  };
94
94
 
95
- // src/entities/user.entity.ts
96
- import { Entity as Entity2, Column as Column3, OneToMany } from "typeorm";
97
-
98
95
  // src/entities/base.entity.ts
99
96
  import {
100
97
  CreateDateColumn,
@@ -139,6 +136,9 @@ __decorateClass([
139
136
  })
140
137
  ], BaseEntity.prototype, "deletedAt", 2);
141
138
 
139
+ // src/entities/user.entity.ts
140
+ import { Entity as Entity2, Column as Column3, OneToMany } from "typeorm";
141
+
142
142
  // src/entities/refresh-token.entity.ts
143
143
  import {
144
144
  Entity,
@@ -268,6 +268,7 @@ export {
268
268
  AUTHENTICATION_PATTERN,
269
269
  AccountStatus,
270
270
  AccountType,
271
+ BaseEntity,
271
272
  RefreshToken,
272
273
  User,
273
274
  UserRMQAdapter,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",