@tc-libs/database 0.14.0 → 0.16.0

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.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@tc-libs/database",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0",
6
6
  "@nestjs/mongoose": "^10.0.1",
7
7
  "mongoose": "^7.5.0",
8
8
  "@nestjs/common": "^10.0.2",
9
- "@tc-libs/pagination": "0.14.0",
10
- "@tc-libs/app-cache": "0.14.0"
9
+ "@tc-libs/pagination": "0.16.0",
10
+ "@tc-libs/app-cache": "0.16.0"
11
11
  },
12
12
  "type": "commonjs",
13
13
  "main": "./src/index.js",
@@ -0,0 +1,8 @@
1
+ export declare class I18nEntity {
2
+ [key: string]: string;
3
+ }
4
+ export declare const I18nEntitySchema: import("mongoose").Schema<I18nEntity, import("mongoose").Model<I18nEntity, any, any, any, import("mongoose").Document<unknown, any, I18nEntity> & I18nEntity & Required<{
5
+ _id: unknown;
6
+ }>, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, I18nEntity, import("mongoose").Document<unknown, {}, I18nEntity> & I18nEntity & Required<{
7
+ _id: unknown;
8
+ }>>;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.I18nEntitySchema = exports.I18nEntity = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const mongoose_1 = require("@nestjs/mongoose");
6
+ let I18nEntity = class I18nEntity {
7
+ };
8
+ exports.I18nEntity = I18nEntity;
9
+ exports.I18nEntity = I18nEntity = tslib_1.__decorate([
10
+ (0, mongoose_1.Schema)({ _id: false, timestamps: false, strict: false })
11
+ ], I18nEntity);
12
+ exports.I18nEntitySchema = mongoose_1.SchemaFactory.createForClass(I18nEntity);
13
+ //# sourceMappingURL=i18n.entity.interface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.entity.interface.js","sourceRoot":"","sources":["../../../../../packages/database/src/interfaces/i18n.entity.interface.ts"],"names":[],"mappings":";;;;AAAA,+CAAyD;AAGlD,IAAM,UAAU,GAAhB,MAAM,UAAU;CAEtB,CAAA;AAFY,gCAAU;qBAAV,UAAU;IADtB,IAAA,iBAAM,EAAC,EAAE,GAAG,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;GAC5C,UAAU,CAEtB;AAEY,QAAA,gBAAgB,GAAG,wBAAa,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export * from './database.interface';
2
2
  export * from './database.mongo.base.entity.interface';
3
+ export * from './i18n.entity.interface';
@@ -3,4 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./database.interface"), exports);
5
5
  tslib_1.__exportStar(require("./database.mongo.base.entity.interface"), exports);
6
+ tslib_1.__exportStar(require("./i18n.entity.interface"), exports);
6
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/database/src/interfaces/index.ts"],"names":[],"mappings":";;;AAAA,+DAAqC;AACrC,iFAAuD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/database/src/interfaces/index.ts"],"names":[],"mappings":";;;AAAA,+DAAqC;AACrC,iFAAuD;AACvD,kEAAwC"}