tt-entities 0.0.40 → 0.0.41

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.
@@ -0,0 +1,9 @@
1
+ import { Column, DataType, Model, Table } from 'sequelize-typescript';
2
+
3
+ @Table
4
+ export class AppConfig extends Model {
5
+ @Column({ unique: true })
6
+ key: string;
7
+ @Column(DataType.JSON)
8
+ value: JSON;
9
+ }
@@ -12,6 +12,7 @@ import { UserAddress } from './entities/user-address.entity';
12
12
  import { UserFavorite } from './entities/user-favorite.entity';
13
13
  import { UserFavoriteCatalog } from './entities/user-favorite-catalog.entity';
14
14
  import { Banner } from './entities/banner.entity';
15
+ import { AppConfig } from './entities/app-config.entity';
15
16
 
16
17
  // ─── Catalogue ────────────────────────────────────────────────────────────────
17
18
  import { Category } from './entities/category.entity';
@@ -99,6 +100,7 @@ export {
99
100
  BannerStatus,
100
101
  BannerFilters,
101
102
  } from './entities/banner.entity';
103
+ export { AppConfig } from './entities/app-config.entity';
102
104
 
103
105
  // ─── Catalogue ────────────────────────────────────────────────────────────────
104
106
  export { Category } from './entities/category.entity';
@@ -277,5 +279,7 @@ export function getDbModels(): ModelCtor[] {
277
279
 
278
280
  // Banners
279
281
  Banner,
282
+
283
+ AppConfig,
280
284
  ];
281
285
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tt-entities",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "Tatayab entities library",
5
5
  "main": "dist/libs/tatayab-entities-library/index.js",
6
6
  "types": "dist/libs/tatayab-entities-library/index.d.ts",