itlab-internal-services 2.5.2 → 2.5.3
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/dist/modules/database/model-service/schemas/hub-books.schemas.d.ts +1 -0
- package/dist/modules/database/model-service/schemas/hub-books.schemas.js +4 -0
- package/dist/modules/database/model-service/schemas/hub-demo-hive.schemas.d.ts +2 -1
- package/dist/modules/database/model-service/schemas/hub-demo-hive.schemas.js +5 -1
- package/dist/modules/database/model-service/schemas/hub-newsroom.schemas.d.ts +1 -0
- package/dist/modules/database/model-service/schemas/hub-newsroom.schemas.js +4 -0
- package/dist/modules/database/model-service/schemas/hub-podcasts.schemas.d.ts +1 -0
- package/dist/modules/database/model-service/schemas/hub-podcasts.schemas.js +4 -0
- package/package.json +1 -1
|
@@ -26,6 +26,7 @@ import { Document } from 'mongoose';
|
|
|
26
26
|
declare class BookModel extends Document {
|
|
27
27
|
title: string;
|
|
28
28
|
_hid: string;
|
|
29
|
+
submitterId: string;
|
|
29
30
|
}
|
|
30
31
|
declare const BookSchema: import("mongoose").Schema<BookModel, import("mongoose").Model<BookModel, any, any, any, Document<unknown, any, BookModel> & BookModel & {
|
|
31
32
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -29,6 +29,10 @@ __decorate([
|
|
|
29
29
|
(0, mongoose_1.Prop)(),
|
|
30
30
|
__metadata("design:type", String)
|
|
31
31
|
], BookModel.prototype, "_hid", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, mongoose_1.Prop)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], BookModel.prototype, "submitterId", void 0);
|
|
32
36
|
BookModel = __decorate([
|
|
33
37
|
(0, mongoose_1.Schema)({ collection: 'books', toObject: transform, toJSON: transform })
|
|
34
38
|
], BookModel);
|
|
@@ -26,6 +26,7 @@ import { Document } from 'mongoose';
|
|
|
26
26
|
declare class DemoModel extends Document {
|
|
27
27
|
title: string;
|
|
28
28
|
_hid: string;
|
|
29
|
+
contactId: string;
|
|
29
30
|
}
|
|
30
31
|
declare const DemoSchema: import("mongoose").Schema<DemoModel, import("mongoose").Model<DemoModel, any, any, any, Document<unknown, any, DemoModel> & DemoModel & {
|
|
31
32
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -33,4 +34,4 @@ declare const DemoSchema: import("mongoose").Schema<DemoModel, import("mongoose"
|
|
|
33
34
|
_id: import("mongoose").Types.ObjectId;
|
|
34
35
|
}>;
|
|
35
36
|
declare const DemoHiveDB = "hub-demo-hive";
|
|
36
|
-
export { DemoModel, DemoSchema
|
|
37
|
+
export { DemoHiveDB, DemoModel, DemoSchema };
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.DemoSchema = exports.DemoModel = exports.DemoHiveDB = void 0;
|
|
13
13
|
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
14
|
const mongoose_2 = require("mongoose");
|
|
15
15
|
const transform = {
|
|
@@ -29,6 +29,10 @@ __decorate([
|
|
|
29
29
|
(0, mongoose_1.Prop)(),
|
|
30
30
|
__metadata("design:type", String)
|
|
31
31
|
], DemoModel.prototype, "_hid", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, mongoose_1.Prop)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], DemoModel.prototype, "contactId", void 0);
|
|
32
36
|
DemoModel = __decorate([
|
|
33
37
|
(0, mongoose_1.Schema)({ collection: 'demos', toObject: transform, toJSON: transform })
|
|
34
38
|
], DemoModel);
|
|
@@ -28,6 +28,7 @@ declare class NewsModel extends Document {
|
|
|
28
28
|
_hid: string;
|
|
29
29
|
_year: number;
|
|
30
30
|
_month: number;
|
|
31
|
+
authorId: string;
|
|
31
32
|
}
|
|
32
33
|
declare const NewsSchema: import("mongoose").Schema<NewsModel, import("mongoose").Model<NewsModel, any, any, any, Document<unknown, any, NewsModel> & NewsModel & {
|
|
33
34
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -38,6 +38,10 @@ __decorate([
|
|
|
38
38
|
(0, mongoose_1.Prop)(),
|
|
39
39
|
__metadata("design:type", Number)
|
|
40
40
|
], NewsModel.prototype, "_month", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, mongoose_1.Prop)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], NewsModel.prototype, "authorId", void 0);
|
|
41
45
|
NewsModel = __decorate([
|
|
42
46
|
(0, mongoose_1.Schema)({ collection: 'news', toObject: transform, toJSON: transform })
|
|
43
47
|
], NewsModel);
|
|
@@ -26,6 +26,7 @@ import { Document } from 'mongoose';
|
|
|
26
26
|
declare class PodcastModel extends Document {
|
|
27
27
|
title: string;
|
|
28
28
|
_hid: string;
|
|
29
|
+
podcasterIds: string[];
|
|
29
30
|
}
|
|
30
31
|
declare const PodcastSchema: import("mongoose").Schema<PodcastModel, import("mongoose").Model<PodcastModel, any, any, any, Document<unknown, any, PodcastModel> & PodcastModel & {
|
|
31
32
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -29,6 +29,10 @@ __decorate([
|
|
|
29
29
|
(0, mongoose_1.Prop)(),
|
|
30
30
|
__metadata("design:type", String)
|
|
31
31
|
], PodcastModel.prototype, "_hid", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, mongoose_1.Prop)(),
|
|
34
|
+
__metadata("design:type", Array)
|
|
35
|
+
], PodcastModel.prototype, "podcasterIds", void 0);
|
|
32
36
|
PodcastModel = __decorate([
|
|
33
37
|
(0, mongoose_1.Schema)({ collection: 'podcasts', toObject: transform, toJSON: transform })
|
|
34
38
|
], PodcastModel);
|