jp.db.schemas 1.0.16 → 1.0.18

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.
Files changed (71) hide show
  1. package/dist/index.d.ts +16 -2
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +22 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/schemas/achievement.schema.d.ts +23 -0
  6. package/dist/schemas/achievement.schema.d.ts.map +1 -0
  7. package/dist/schemas/achievement.schema.js +61 -0
  8. package/dist/schemas/achievement.schema.js.map +1 -0
  9. package/dist/schemas/banner.schema.d.ts +1 -0
  10. package/dist/schemas/banner.schema.d.ts.map +1 -1
  11. package/dist/schemas/banner.schema.js +4 -0
  12. package/dist/schemas/banner.schema.js.map +1 -1
  13. package/dist/schemas/channel_message.schema.d.ts +20 -0
  14. package/dist/schemas/channel_message.schema.d.ts.map +1 -0
  15. package/dist/schemas/channel_message.schema.js +49 -0
  16. package/dist/schemas/channel_message.schema.js.map +1 -0
  17. package/dist/schemas/feature.schema.d.ts +19 -0
  18. package/dist/schemas/feature.schema.d.ts.map +1 -0
  19. package/dist/schemas/feature.schema.js +45 -0
  20. package/dist/schemas/feature.schema.js.map +1 -0
  21. package/dist/schemas/notification.schema.d.ts +1 -0
  22. package/dist/schemas/notification.schema.d.ts.map +1 -1
  23. package/dist/schemas/notification.schema.js +4 -0
  24. package/dist/schemas/notification.schema.js.map +1 -1
  25. package/dist/schemas/product.schema.d.ts +50 -0
  26. package/dist/schemas/product.schema.d.ts.map +1 -0
  27. package/dist/schemas/product.schema.js +169 -0
  28. package/dist/schemas/product.schema.js.map +1 -0
  29. package/dist/schemas/purchase.schema.d.ts +1 -0
  30. package/dist/schemas/purchase.schema.d.ts.map +1 -1
  31. package/dist/schemas/purchase.schema.js +4 -0
  32. package/dist/schemas/purchase.schema.js.map +1 -1
  33. package/dist/schemas/purchase_channel.schema.d.ts +20 -0
  34. package/dist/schemas/purchase_channel.schema.d.ts.map +1 -0
  35. package/dist/schemas/purchase_channel.schema.js +49 -0
  36. package/dist/schemas/purchase_channel.schema.js.map +1 -0
  37. package/dist/schemas/rating.schema.d.ts +25 -0
  38. package/dist/schemas/rating.schema.d.ts.map +1 -0
  39. package/dist/schemas/rating.schema.js +69 -0
  40. package/dist/schemas/rating.schema.js.map +1 -0
  41. package/dist/schemas/rooms.schema.d.ts +1 -0
  42. package/dist/schemas/rooms.schema.d.ts.map +1 -1
  43. package/dist/schemas/rooms.schema.js +4 -0
  44. package/dist/schemas/rooms.schema.js.map +1 -1
  45. package/dist/schemas/scheduled_tournament.schema.d.ts +1 -0
  46. package/dist/schemas/scheduled_tournament.schema.d.ts.map +1 -1
  47. package/dist/schemas/scheduled_tournament.schema.js +4 -0
  48. package/dist/schemas/scheduled_tournament.schema.js.map +1 -1
  49. package/dist/schemas/server.schema.d.ts +2 -4
  50. package/dist/schemas/server.schema.d.ts.map +1 -1
  51. package/dist/schemas/server.schema.js +2 -10
  52. package/dist/schemas/server.schema.js.map +1 -1
  53. package/dist/schemas/setting.schema.d.ts +24 -0
  54. package/dist/schemas/setting.schema.d.ts.map +1 -0
  55. package/dist/schemas/setting.schema.js +65 -0
  56. package/dist/schemas/setting.schema.js.map +1 -0
  57. package/package.json +1 -1
  58. package/src/index.ts +35 -0
  59. package/src/schemas/achievement.schema.ts +40 -0
  60. package/src/schemas/banner.schema.ts +3 -0
  61. package/src/schemas/channel_message.schema.ts +31 -0
  62. package/src/schemas/feature.schema.ts +28 -0
  63. package/src/schemas/notification.schema.ts +3 -0
  64. package/src/schemas/product.schema.ts +123 -0
  65. package/src/schemas/purchase.schema.ts +3 -0
  66. package/src/schemas/purchase_channel.schema.ts +31 -0
  67. package/src/schemas/rating.schema.ts +46 -0
  68. package/src/schemas/rooms.schema.ts +3 -0
  69. package/src/schemas/scheduled_tournament.schema.ts +3 -0
  70. package/src/schemas/server.schema.ts +2 -8
  71. package/src/schemas/setting.schema.ts +43 -0
package/dist/index.d.ts CHANGED
@@ -30,6 +30,20 @@ import { Banner, BannerSchema } from './schemas/banner.schema';
30
30
  import type { BannerDocument } from './schemas/banner.schema';
31
31
  import { Server, ServerSchema } from './schemas/server.schema';
32
32
  import type { ServerDocument } from './schemas/server.schema';
33
- export type { UserDocument, FBUserDocument, GoogleUserDocument, OKUserDocument, TGUserDocument, VKUserDocument, YAUserDocument, PurchaseDocument, ComplainDocument, NotificationDocument, ScheduledTournamentDocument, AdminDocument, RoomDocument, ArticleDocument, BannerDocument, ServerDocument, };
34
- export { User, UserSchema, FBUser, FBUserSchema, GoogleUser, GoogleUserSchema, OKUser, OKUserSchema, TGUser, TGUserSchema, VKUser, VKUserSchema, YAUser, YAUserSchema, Purchase, PurchaseSchema, Complain, ComplainSchema, Notification, NotificationSchema, ScheduledTournament, ScheduledTournamentSchema, Admin, AdminSchema, Room, RoomSchema, Article, ArticleSchema, Banner, BannerSchema, Server, ServerSchema, };
33
+ import { Achievement, AchievementSchema } from './schemas/achievement.schema';
34
+ import type { AchievementDocument } from './schemas/achievement.schema';
35
+ import { ChannelMessage, ChannelMessageSchema } from './schemas/channel_message.schema';
36
+ import type { ChannelMessageDocument } from './schemas/channel_message.schema';
37
+ import { Feature, FeatureSchema } from './schemas/feature.schema';
38
+ import type { FeatureDocument } from './schemas/feature.schema';
39
+ import { Product, ProductSchema } from './schemas/product.schema';
40
+ import type { ProductDocument } from './schemas/product.schema';
41
+ import { PurchaseChannel, PurchaseChannelSchema } from './schemas/purchase_channel.schema';
42
+ import type { PurchaseChannelDocument } from './schemas/purchase_channel.schema';
43
+ import { Rating, RatingSchema } from './schemas/rating.schema';
44
+ import type { RatingDocument } from './schemas/rating.schema';
45
+ import { Setting, SettingSchema } from './schemas/setting.schema';
46
+ import type { SettingDocument } from './schemas/setting.schema';
47
+ export type { UserDocument, FBUserDocument, GoogleUserDocument, OKUserDocument, TGUserDocument, VKUserDocument, YAUserDocument, PurchaseDocument, ComplainDocument, NotificationDocument, ScheduledTournamentDocument, AdminDocument, RoomDocument, ArticleDocument, BannerDocument, ServerDocument, AchievementDocument, ChannelMessageDocument, FeatureDocument, ProductDocument, PurchaseChannelDocument, RatingDocument, SettingDocument, };
48
+ export { User, UserSchema, FBUser, FBUserSchema, GoogleUser, GoogleUserSchema, OKUser, OKUserSchema, TGUser, TGUserSchema, VKUser, VKUserSchema, YAUser, YAUserSchema, Purchase, PurchaseSchema, Complain, ComplainSchema, Notification, NotificationSchema, ScheduledTournament, ScheduledTournamentSchema, Admin, AdminSchema, Room, RoomSchema, Article, ArticleSchema, Banner, BannerSchema, Server, ServerSchema, Achievement, AchievementSchema, ChannelMessage, ChannelMessageSchema, Feature, FeatureSchema, Product, ProductSchema, PurchaseChannel, PurchaseChannelSchema, Rating, RatingSchema, Setting, SettingSchema, };
35
49
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,YAAY,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EACpB,2BAA2B,EAC3B,aAAa,EACb,YAAY,EACZ,eAAe,EACf,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,uBAAuB,EACvB,cAAc,EACd,eAAe,GAClB,CAAA;AAED,OAAO,EACH,IAAI,EACJ,UAAU,EACV,MAAM,EACN,YAAY,EACZ,UAAU,EACV,gBAAgB,EAChB,MAAM,EACN,YAAY,EACZ,MAAM,EACN,YAAY,EACZ,MAAM,EACN,YAAY,EACZ,MAAM,EACN,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,yBAAyB,EACzB,KAAK,EACL,WAAW,EACX,IAAI,EACJ,UAAU,EACV,OAAO,EACP,aAAa,EACb,MAAM,EACN,YAAY,EACZ,MAAM,EACN,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,OAAO,EACP,aAAa,EACb,OAAO,EACP,aAAa,EACb,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,YAAY,EACZ,OAAO,EACP,aAAa,GAChB,CAAA"}
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ServerSchema = exports.Server = exports.BannerSchema = exports.Banner = exports.ArticleSchema = exports.Article = exports.RoomSchema = exports.Room = exports.AdminSchema = exports.Admin = exports.ScheduledTournamentSchema = exports.ScheduledTournament = exports.NotificationSchema = exports.Notification = exports.ComplainSchema = exports.Complain = exports.PurchaseSchema = exports.Purchase = exports.YAUserSchema = exports.YAUser = exports.VKUserSchema = exports.VKUser = exports.TGUserSchema = exports.TGUser = exports.OKUserSchema = exports.OKUser = exports.GoogleUserSchema = exports.GoogleUser = exports.FBUserSchema = exports.FBUser = exports.UserSchema = exports.User = void 0;
3
+ exports.SettingSchema = exports.Setting = exports.RatingSchema = exports.Rating = exports.PurchaseChannelSchema = exports.PurchaseChannel = exports.ProductSchema = exports.Product = exports.FeatureSchema = exports.Feature = exports.ChannelMessageSchema = exports.ChannelMessage = exports.AchievementSchema = exports.Achievement = exports.ServerSchema = exports.Server = exports.BannerSchema = exports.Banner = exports.ArticleSchema = exports.Article = exports.RoomSchema = exports.Room = exports.AdminSchema = exports.Admin = exports.ScheduledTournamentSchema = exports.ScheduledTournament = exports.NotificationSchema = exports.Notification = exports.ComplainSchema = exports.Complain = exports.PurchaseSchema = exports.Purchase = exports.YAUserSchema = exports.YAUser = exports.VKUserSchema = exports.VKUser = exports.TGUserSchema = exports.TGUser = exports.OKUserSchema = exports.OKUser = exports.GoogleUserSchema = exports.GoogleUser = exports.FBUserSchema = exports.FBUser = exports.UserSchema = exports.User = void 0;
4
4
  const user_schema_1 = require("./schemas/user.schema");
5
5
  Object.defineProperty(exports, "User", { enumerable: true, get: function () { return user_schema_1.User; } });
6
6
  Object.defineProperty(exports, "UserSchema", { enumerable: true, get: function () { return user_schema_1.UserSchema; } });
@@ -49,4 +49,25 @@ Object.defineProperty(exports, "BannerSchema", { enumerable: true, get: function
49
49
  const server_schema_1 = require("./schemas/server.schema");
50
50
  Object.defineProperty(exports, "Server", { enumerable: true, get: function () { return server_schema_1.Server; } });
51
51
  Object.defineProperty(exports, "ServerSchema", { enumerable: true, get: function () { return server_schema_1.ServerSchema; } });
52
+ const achievement_schema_1 = require("./schemas/achievement.schema");
53
+ Object.defineProperty(exports, "Achievement", { enumerable: true, get: function () { return achievement_schema_1.Achievement; } });
54
+ Object.defineProperty(exports, "AchievementSchema", { enumerable: true, get: function () { return achievement_schema_1.AchievementSchema; } });
55
+ const channel_message_schema_1 = require("./schemas/channel_message.schema");
56
+ Object.defineProperty(exports, "ChannelMessage", { enumerable: true, get: function () { return channel_message_schema_1.ChannelMessage; } });
57
+ Object.defineProperty(exports, "ChannelMessageSchema", { enumerable: true, get: function () { return channel_message_schema_1.ChannelMessageSchema; } });
58
+ const feature_schema_1 = require("./schemas/feature.schema");
59
+ Object.defineProperty(exports, "Feature", { enumerable: true, get: function () { return feature_schema_1.Feature; } });
60
+ Object.defineProperty(exports, "FeatureSchema", { enumerable: true, get: function () { return feature_schema_1.FeatureSchema; } });
61
+ const product_schema_1 = require("./schemas/product.schema");
62
+ Object.defineProperty(exports, "Product", { enumerable: true, get: function () { return product_schema_1.Product; } });
63
+ Object.defineProperty(exports, "ProductSchema", { enumerable: true, get: function () { return product_schema_1.ProductSchema; } });
64
+ const purchase_channel_schema_1 = require("./schemas/purchase_channel.schema");
65
+ Object.defineProperty(exports, "PurchaseChannel", { enumerable: true, get: function () { return purchase_channel_schema_1.PurchaseChannel; } });
66
+ Object.defineProperty(exports, "PurchaseChannelSchema", { enumerable: true, get: function () { return purchase_channel_schema_1.PurchaseChannelSchema; } });
67
+ const rating_schema_1 = require("./schemas/rating.schema");
68
+ Object.defineProperty(exports, "Rating", { enumerable: true, get: function () { return rating_schema_1.Rating; } });
69
+ Object.defineProperty(exports, "RatingSchema", { enumerable: true, get: function () { return rating_schema_1.RatingSchema; } });
70
+ const setting_schema_1 = require("./schemas/setting.schema");
71
+ Object.defineProperty(exports, "Setting", { enumerable: true, get: function () { return setting_schema_1.Setting; } });
72
+ Object.defineProperty(exports, "SettingSchema", { enumerable: true, get: function () { return setting_schema_1.SettingSchema; } });
52
73
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAAyD;AAqDrD,qFArDK,kBAAI,OAqDL;AACJ,2FAtDW,wBAAU,OAsDX;AApDd,6DAAgE;AAqD5D,uFArDK,uBAAM,OAqDL;AACN,6FAtDa,6BAAY,OAsDb;AApDhB,qEAA4E;AAqDxE,2FArDK,+BAAU,OAqDL;AACV,iGAtDiB,qCAAgB,OAsDjB;AApDpB,6DAAgE;AAqD5D,uFArDK,uBAAM,OAqDL;AACN,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ed;AAzEjB,6DAAkE;AA0E9D,wFA1EK,wBAAO,OA0EL;AACP,8FA3Ec,8BAAa,OA2Ed;AAzEjB,+EAA2F;AA0EvF,gGA1EK,yCAAe,OA0EL;AACf,sGA3EsB,+CAAqB,OA2EtB;AAzEzB,2DAA+D;AA0E3D,uFA1EK,sBAAM,OA0EL;AACN,6FA3Ea,4BAAY,OA2Eb;AAzEhB,6DAAkE;AA0E9D,wFA1EK,wBAAO,OA0EL;AACP,8FA3Ec,8BAAa,OA2Ed"}
@@ -0,0 +1,23 @@
1
+ import { Document, HydratedDocument } from 'mongoose';
2
+ export type AchievementDocument = HydratedDocument<Achievement>;
3
+ export declare class Achievement {
4
+ readonly achievementId: string;
5
+ title: string;
6
+ titleEn: string;
7
+ description: string;
8
+ descriptionEn: string;
9
+ code: string;
10
+ vkId: string;
11
+ prize: number;
12
+ game?: string;
13
+ }
14
+ export declare const AchievementSchema: import("mongoose").Schema<Achievement, import("mongoose").Model<Achievement, any, any, any, Document<unknown, any, Achievement, any> & Achievement & {
15
+ _id: import("mongoose").Types.ObjectId;
16
+ } & {
17
+ __v: number;
18
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Achievement, Document<unknown, {}, import("mongoose").FlatRecord<Achievement>, {}> & import("mongoose").FlatRecord<Achievement> & {
19
+ _id: import("mongoose").Types.ObjectId;
20
+ } & {
21
+ __v: number;
22
+ }>;
23
+ //# sourceMappingURL=achievement.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"achievement.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/achievement.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,WAAW,CAAC,CAAC;AAEhE,qBACa,WAAW;IAMpB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAG/B,KAAK,EAAE,MAAM,CAAC;IAGd,OAAO,EAAE,MAAM,CAAC;IAGhB,WAAW,EAAE,MAAM,CAAC;IAGpB,aAAa,EAAE,MAAM,CAAC;IAGtB,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;EAA4C,CAAC"}
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.AchievementSchema = exports.Achievement = void 0;
13
+ const mongoose_1 = require("@nestjs/mongoose");
14
+ let Achievement = class Achievement {
15
+ };
16
+ exports.Achievement = Achievement;
17
+ __decorate([
18
+ (0, mongoose_1.Virtual)({
19
+ get: function () {
20
+ return this.id;
21
+ },
22
+ }),
23
+ __metadata("design:type", String)
24
+ ], Achievement.prototype, "achievementId", void 0);
25
+ __decorate([
26
+ (0, mongoose_1.Prop)(),
27
+ __metadata("design:type", String)
28
+ ], Achievement.prototype, "title", void 0);
29
+ __decorate([
30
+ (0, mongoose_1.Prop)(),
31
+ __metadata("design:type", String)
32
+ ], Achievement.prototype, "titleEn", void 0);
33
+ __decorate([
34
+ (0, mongoose_1.Prop)(),
35
+ __metadata("design:type", String)
36
+ ], Achievement.prototype, "description", void 0);
37
+ __decorate([
38
+ (0, mongoose_1.Prop)(),
39
+ __metadata("design:type", String)
40
+ ], Achievement.prototype, "descriptionEn", void 0);
41
+ __decorate([
42
+ (0, mongoose_1.Prop)(),
43
+ __metadata("design:type", String)
44
+ ], Achievement.prototype, "code", void 0);
45
+ __decorate([
46
+ (0, mongoose_1.Prop)(),
47
+ __metadata("design:type", String)
48
+ ], Achievement.prototype, "vkId", void 0);
49
+ __decorate([
50
+ (0, mongoose_1.Prop)(),
51
+ __metadata("design:type", Number)
52
+ ], Achievement.prototype, "prize", void 0);
53
+ __decorate([
54
+ (0, mongoose_1.Prop)(),
55
+ __metadata("design:type", String)
56
+ ], Achievement.prototype, "game", void 0);
57
+ exports.Achievement = Achievement = __decorate([
58
+ (0, mongoose_1.Schema)()
59
+ ], Achievement);
60
+ exports.AchievementSchema = mongoose_1.SchemaFactory.createForClass(Achievement);
61
+ //# sourceMappingURL=achievement.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"achievement.schema.js","sourceRoot":"","sources":["../../src/schemas/achievement.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,WAAW,GAAjB,MAAM,WAAW;CA+BvB,CAAA;AA/BY,kCAAW;AAMX;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;kDAC6B;AAG/B;IADC,IAAA,eAAI,GAAE;;0CACO;AAGd;IADC,IAAA,eAAI,GAAE;;4CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;gDACa;AAGpB;IADC,IAAA,eAAI,GAAE;;kDACe;AAGtB;IADC,IAAA,eAAI,GAAE;;yCACM;AAGb;IADC,IAAA,eAAI,GAAE;;yCACM;AAGb;IADC,IAAA,eAAI,GAAE;;0CACO;AAGd;IADC,IAAA,eAAI,GAAE;;yCACO;sBA9BL,WAAW;IADvB,IAAA,iBAAM,GAAE;GACI,WAAW,CA+BvB;AAEY,QAAA,iBAAiB,GAAG,wBAAa,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC"}
@@ -9,6 +9,7 @@ export declare class Banner {
9
9
  enabled: boolean;
10
10
  isShowing: boolean;
11
11
  createDate: Date;
12
+ game?: string;
12
13
  }
13
14
  export declare const BannerSchema: import("mongoose").Schema<Banner, import("mongoose").Model<Banner, any, any, any, Document<unknown, any, Banner, any> & Banner & {
14
15
  _id: import("mongoose").Types.ObjectId;
@@ -1 +1 @@
1
- {"version":3,"file":"banner.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/banner.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEtD,qBACa,MAAM;IAMf,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAG1B,OAAO,EAAE,MAAM,CAAC;IAGhB,OAAO,EAAE,MAAM,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IAGd,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,OAAO,CAAC;IAGjB,SAAS,EAAE,OAAO,CAAC;IAGnB,UAAU,EAAE,IAAI,CAAC;CACpB;AAED,eAAO,MAAM,YAAY;;;;;;;;EAAuC,CAAC"}
1
+ {"version":3,"file":"banner.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/banner.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEtD,qBACa,MAAM;IAMf,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAG1B,OAAO,EAAE,MAAM,CAAC;IAGhB,OAAO,EAAE,MAAM,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IAGd,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,OAAO,CAAC;IAGjB,SAAS,EAAE,OAAO,CAAC;IAGnB,UAAU,EAAE,IAAI,CAAC;IAGjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,YAAY;;;;;;;;EAAuC,CAAC"}
@@ -50,6 +50,10 @@ __decorate([
50
50
  (0, mongoose_1.Prop)(),
51
51
  __metadata("design:type", Date)
52
52
  ], Banner.prototype, "createDate", void 0);
53
+ __decorate([
54
+ (0, mongoose_1.Prop)(),
55
+ __metadata("design:type", String)
56
+ ], Banner.prototype, "game", void 0);
53
57
  exports.Banner = Banner = __decorate([
54
58
  (0, mongoose_1.Schema)()
55
59
  ], Banner);
@@ -1 +1 @@
1
- {"version":3,"file":"banner.schema.js","sourceRoot":"","sources":["../../src/schemas/banner.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CA4BlB,CAAA;AA5BY,wBAAM;AAMN;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;wCACwB;AAG1B;IADC,IAAA,eAAI,GAAE;;uCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;uCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;qCACO;AAGd;IADC,IAAA,eAAI,GAAE;;oCACM;AAGb;IADC,IAAA,eAAI,GAAE;;uCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;yCACY;AAGnB;IADC,IAAA,eAAI,GAAE;8BACK,IAAI;0CAAC;iBA3BR,MAAM;IADlB,IAAA,iBAAM,GAAE;GACI,MAAM,CA4BlB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"banner.schema.js","sourceRoot":"","sources":["../../src/schemas/banner.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CA+BlB,CAAA;AA/BY,wBAAM;AAMN;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;wCACwB;AAG1B;IADC,IAAA,eAAI,GAAE;;uCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;uCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;qCACO;AAGd;IADC,IAAA,eAAI,GAAE;;oCACM;AAGb;IADC,IAAA,eAAI,GAAE;;uCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;yCACY;AAGnB;IADC,IAAA,eAAI,GAAE;8BACK,IAAI;0CAAC;AAGjB;IADC,IAAA,eAAI,GAAE;;oCACO;iBA9BL,MAAM;IADlB,IAAA,iBAAM,GAAE;GACI,MAAM,CA+BlB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { Document, HydratedDocument } from 'mongoose';
2
+ export type ChannelMessageDocument = HydratedDocument<ChannelMessage>;
3
+ export declare class ChannelMessage {
4
+ readonly channelMessageId: string;
5
+ channelId: string;
6
+ date: Date;
7
+ text: string;
8
+ userId: string;
9
+ read: boolean;
10
+ }
11
+ export declare const ChannelMessageSchema: import("mongoose").Schema<ChannelMessage, import("mongoose").Model<ChannelMessage, any, any, any, Document<unknown, any, ChannelMessage, any> & ChannelMessage & {
12
+ _id: import("mongoose").Types.ObjectId;
13
+ } & {
14
+ __v: number;
15
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, ChannelMessage, Document<unknown, {}, import("mongoose").FlatRecord<ChannelMessage>, {}> & import("mongoose").FlatRecord<ChannelMessage> & {
16
+ _id: import("mongoose").Types.ObjectId;
17
+ } & {
18
+ __v: number;
19
+ }>;
20
+ //# sourceMappingURL=channel_message.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channel_message.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/channel_message.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,cAAc,CAAC,CAAC;AAEtE,qBACa,cAAc;IAMvB,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAGlC,SAAS,EAAE,MAAM,CAAC;IAGlB,IAAI,EAAE,IAAI,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,oBAAoB;;;;;;;;EAA+C,CAAC"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ChannelMessageSchema = exports.ChannelMessage = void 0;
13
+ const mongoose_1 = require("@nestjs/mongoose");
14
+ let ChannelMessage = class ChannelMessage {
15
+ };
16
+ exports.ChannelMessage = ChannelMessage;
17
+ __decorate([
18
+ (0, mongoose_1.Virtual)({
19
+ get: function () {
20
+ return this.id;
21
+ },
22
+ }),
23
+ __metadata("design:type", String)
24
+ ], ChannelMessage.prototype, "channelMessageId", void 0);
25
+ __decorate([
26
+ (0, mongoose_1.Prop)(),
27
+ __metadata("design:type", String)
28
+ ], ChannelMessage.prototype, "channelId", void 0);
29
+ __decorate([
30
+ (0, mongoose_1.Prop)(),
31
+ __metadata("design:type", Date)
32
+ ], ChannelMessage.prototype, "date", void 0);
33
+ __decorate([
34
+ (0, mongoose_1.Prop)(),
35
+ __metadata("design:type", String)
36
+ ], ChannelMessage.prototype, "text", void 0);
37
+ __decorate([
38
+ (0, mongoose_1.Prop)(),
39
+ __metadata("design:type", String)
40
+ ], ChannelMessage.prototype, "userId", void 0);
41
+ __decorate([
42
+ (0, mongoose_1.Prop)(),
43
+ __metadata("design:type", Boolean)
44
+ ], ChannelMessage.prototype, "read", void 0);
45
+ exports.ChannelMessage = ChannelMessage = __decorate([
46
+ (0, mongoose_1.Schema)()
47
+ ], ChannelMessage);
48
+ exports.ChannelMessageSchema = mongoose_1.SchemaFactory.createForClass(ChannelMessage);
49
+ //# sourceMappingURL=channel_message.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channel_message.schema.js","sourceRoot":"","sources":["../../src/schemas/channel_message.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,cAAc,GAApB,MAAM,cAAc;CAsB1B,CAAA;AAtBY,wCAAc;AAMd;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;wDACgC;AAGlC;IADC,IAAA,eAAI,GAAE;;iDACW;AAGlB;IADC,IAAA,eAAI,GAAE;8BACD,IAAI;4CAAC;AAGX;IADC,IAAA,eAAI,GAAE;;4CACM;AAGb;IADC,IAAA,eAAI,GAAE;;8CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;4CACO;yBArBL,cAAc;IAD1B,IAAA,iBAAM,GAAE;GACI,cAAc,CAsB1B;AAEY,QAAA,oBAAoB,GAAG,wBAAa,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { Document, HydratedDocument } from 'mongoose';
2
+ export type FeatureDocument = HydratedDocument<Feature>;
3
+ export declare class Feature {
4
+ readonly featureId: string;
5
+ name: string;
6
+ enabled: boolean;
7
+ channels: string;
8
+ game?: string;
9
+ }
10
+ export declare const FeatureSchema: import("mongoose").Schema<Feature, import("mongoose").Model<Feature, any, any, any, Document<unknown, any, Feature, any> & Feature & {
11
+ _id: import("mongoose").Types.ObjectId;
12
+ } & {
13
+ __v: number;
14
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Feature, Document<unknown, {}, import("mongoose").FlatRecord<Feature>, {}> & import("mongoose").FlatRecord<Feature> & {
15
+ _id: import("mongoose").Types.ObjectId;
16
+ } & {
17
+ __v: number;
18
+ }>;
19
+ //# sourceMappingURL=feature.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/feature.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;AAExD,qBACa,OAAO;IAMhB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAG3B,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,OAAO,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa;;;;;;;;EAAwC,CAAC"}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.FeatureSchema = exports.Feature = void 0;
13
+ const mongoose_1 = require("@nestjs/mongoose");
14
+ let Feature = class Feature {
15
+ };
16
+ exports.Feature = Feature;
17
+ __decorate([
18
+ (0, mongoose_1.Virtual)({
19
+ get: function () {
20
+ return this.id;
21
+ },
22
+ }),
23
+ __metadata("design:type", String)
24
+ ], Feature.prototype, "featureId", void 0);
25
+ __decorate([
26
+ (0, mongoose_1.Prop)(),
27
+ __metadata("design:type", String)
28
+ ], Feature.prototype, "name", void 0);
29
+ __decorate([
30
+ (0, mongoose_1.Prop)(),
31
+ __metadata("design:type", Boolean)
32
+ ], Feature.prototype, "enabled", void 0);
33
+ __decorate([
34
+ (0, mongoose_1.Prop)(),
35
+ __metadata("design:type", String)
36
+ ], Feature.prototype, "channels", void 0);
37
+ __decorate([
38
+ (0, mongoose_1.Prop)(),
39
+ __metadata("design:type", String)
40
+ ], Feature.prototype, "game", void 0);
41
+ exports.Feature = Feature = __decorate([
42
+ (0, mongoose_1.Schema)()
43
+ ], Feature);
44
+ exports.FeatureSchema = mongoose_1.SchemaFactory.createForClass(Feature);
45
+ //# sourceMappingURL=feature.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.schema.js","sourceRoot":"","sources":["../../src/schemas/feature.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CAmBnB,CAAA;AAnBY,0BAAO;AAMP;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;0CACyB;AAG3B;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;yCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;qCACO;kBAlBL,OAAO;IADnB,IAAA,iBAAM,GAAE;GACI,OAAO,CAmBnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
@@ -16,6 +16,7 @@ export declare class Notification {
16
16
  linkTG?: string;
17
17
  category: string;
18
18
  channels: string;
19
+ game?: string;
19
20
  }
20
21
  export declare const NotificationSchema: import("mongoose").Schema<Notification, import("mongoose").Model<Notification, any, any, any, Document<unknown, any, Notification, any> & Notification & {
21
22
  _id: import("mongoose").Types.ObjectId;
@@ -1 +1 @@
1
- {"version":3,"file":"notification.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/notification.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAElE,qBACa,YAAY;IAMrB,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAGhC,KAAK,EAAE,MAAM,CAAC;IAGd,OAAO,EAAE,MAAM,CAAC;IAGhB,WAAW,EAAE,MAAM,CAAC;IAGpB,aAAa,EAAE,MAAM,CAAC;IAGtB,UAAU,EAAE,IAAI,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;IAGlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB;;;;;;;;EAA6C,CAAC"}
1
+ {"version":3,"file":"notification.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/notification.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,CAAC,YAAY,CAAC,CAAC;AAElE,qBACa,YAAY;IAMrB,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAGhC,KAAK,EAAE,MAAM,CAAC;IAGd,OAAO,EAAE,MAAM,CAAC;IAGhB,WAAW,EAAE,MAAM,CAAC;IAGpB,aAAa,EAAE,MAAM,CAAC;IAGtB,UAAU,EAAE,IAAI,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;IAGlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB;;;;;;;;EAA6C,CAAC"}
@@ -78,6 +78,10 @@ __decorate([
78
78
  (0, mongoose_1.Prop)(),
79
79
  __metadata("design:type", String)
80
80
  ], Notification.prototype, "channels", void 0);
81
+ __decorate([
82
+ (0, mongoose_1.Prop)(),
83
+ __metadata("design:type", String)
84
+ ], Notification.prototype, "game", void 0);
81
85
  exports.Notification = Notification = __decorate([
82
86
  (0, mongoose_1.Schema)()
83
87
  ], Notification);
@@ -1 +1 @@
1
- {"version":3,"file":"notification.schema.js","sourceRoot":"","sources":["../../src/schemas/notification.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,YAAY,GAAlB,MAAM,YAAY;CAiDxB,CAAA;AAjDY,oCAAY;AAMZ;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;oDAC8B;AAGhC;IADC,IAAA,eAAI,GAAE;;2CACO;AAGd;IADC,IAAA,eAAI,GAAE;;6CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;iDACa;AAGpB;IADC,IAAA,eAAI,GAAE;;mDACe;AAGtB;IADC,IAAA,eAAI,GAAE;8BACK,IAAI;gDAAC;AAGjB;IADC,IAAA,eAAI,GAAE;;+CACW;AAGlB;IADC,IAAA,eAAI,GAAE;;4CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;4CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;4CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;6CACU;AAGjB;IADC,IAAA,eAAI,GAAE;;iDACc;AAGrB;IADC,IAAA,eAAI,GAAE;;4CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;8CACU;AAGjB;IADC,IAAA,eAAI,GAAE;;8CACU;uBAhDR,YAAY;IADxB,IAAA,iBAAM,GAAE;GACI,YAAY,CAiDxB;AAEY,QAAA,kBAAkB,GAAG,wBAAa,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"notification.schema.js","sourceRoot":"","sources":["../../src/schemas/notification.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,YAAY,GAAlB,MAAM,YAAY;CAoDxB,CAAA;AApDY,oCAAY;AAMZ;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;oDAC8B;AAGhC;IADC,IAAA,eAAI,GAAE;;2CACO;AAGd;IADC,IAAA,eAAI,GAAE;;6CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;iDACa;AAGpB;IADC,IAAA,eAAI,GAAE;;mDACe;AAGtB;IADC,IAAA,eAAI,GAAE;8BACK,IAAI;gDAAC;AAGjB;IADC,IAAA,eAAI,GAAE;;+CACW;AAGlB;IADC,IAAA,eAAI,GAAE;;4CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;4CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;4CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;6CACU;AAGjB;IADC,IAAA,eAAI,GAAE;;iDACc;AAGrB;IADC,IAAA,eAAI,GAAE;;4CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;8CACU;AAGjB;IADC,IAAA,eAAI,GAAE;;8CACU;AAGjB;IADC,IAAA,eAAI,GAAE;;0CACO;uBAnDL,YAAY;IADxB,IAAA,iBAAM,GAAE;GACI,YAAY,CAoDxB;AAEY,QAAA,kBAAkB,GAAG,wBAAa,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { Document, HydratedDocument } from 'mongoose';
2
+ export type ProductDocument = HydratedDocument<Product>;
3
+ export declare class Product {
4
+ readonly productId: string;
5
+ title: string;
6
+ titleEn: string;
7
+ subtitle: string;
8
+ subtitleEn: string;
9
+ description: string;
10
+ descriptionEn: string;
11
+ descriptionAcquired: string;
12
+ descriptionAcquiredEn: string;
13
+ buttonAcquired: string;
14
+ buttonAcquiredEn: string;
15
+ button: string;
16
+ buttonEn: string;
17
+ link: string;
18
+ linkVK: string;
19
+ channels: string;
20
+ code: string;
21
+ position: number;
22
+ active: boolean;
23
+ image: string;
24
+ icon: string;
25
+ external: boolean;
26
+ isConsumable: boolean;
27
+ parentId?: string | null;
28
+ price?: number;
29
+ priceVK?: number;
30
+ priceOK?: number;
31
+ priceYA?: number;
32
+ priceGooglePlay?: number;
33
+ priceFB?: number;
34
+ priceTG?: number;
35
+ priceRuStore?: number;
36
+ value?: number;
37
+ period?: string;
38
+ type?: string;
39
+ game?: string;
40
+ }
41
+ export declare const ProductSchema: import("mongoose").Schema<Product, import("mongoose").Model<Product, any, any, any, Document<unknown, any, Product, any> & Product & {
42
+ _id: import("mongoose").Types.ObjectId;
43
+ } & {
44
+ __v: number;
45
+ }, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Product, Document<unknown, {}, import("mongoose").FlatRecord<Product>, {}> & import("mongoose").FlatRecord<Product> & {
46
+ _id: import("mongoose").Types.ObjectId;
47
+ } & {
48
+ __v: number;
49
+ }>;
50
+ //# sourceMappingURL=product.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/product.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;AAExD,qBACa,OAAO;IAMhB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAG3B,KAAK,EAAE,MAAM,CAAC;IAGd,OAAO,EAAE,MAAM,CAAC;IAGhB,QAAQ,EAAE,MAAM,CAAC;IAGjB,UAAU,EAAE,MAAM,CAAC;IAGnB,WAAW,EAAE,MAAM,CAAC;IAGpB,aAAa,EAAE,MAAM,CAAC;IAGtB,mBAAmB,EAAE,MAAM,CAAC;IAG5B,qBAAqB,EAAE,MAAM,CAAC;IAG9B,cAAc,EAAE,MAAM,CAAC;IAGvB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,OAAO,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IAGd,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,YAAY,EAAE,OAAO,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa;;;;;;;;EAAwC,CAAC"}
@@ -0,0 +1,169 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ProductSchema = exports.Product = void 0;
13
+ const mongoose_1 = require("@nestjs/mongoose");
14
+ let Product = class Product {
15
+ };
16
+ exports.Product = Product;
17
+ __decorate([
18
+ (0, mongoose_1.Virtual)({
19
+ get: function () {
20
+ return this.id;
21
+ },
22
+ }),
23
+ __metadata("design:type", String)
24
+ ], Product.prototype, "productId", void 0);
25
+ __decorate([
26
+ (0, mongoose_1.Prop)(),
27
+ __metadata("design:type", String)
28
+ ], Product.prototype, "title", void 0);
29
+ __decorate([
30
+ (0, mongoose_1.Prop)(),
31
+ __metadata("design:type", String)
32
+ ], Product.prototype, "titleEn", void 0);
33
+ __decorate([
34
+ (0, mongoose_1.Prop)(),
35
+ __metadata("design:type", String)
36
+ ], Product.prototype, "subtitle", void 0);
37
+ __decorate([
38
+ (0, mongoose_1.Prop)(),
39
+ __metadata("design:type", String)
40
+ ], Product.prototype, "subtitleEn", void 0);
41
+ __decorate([
42
+ (0, mongoose_1.Prop)(),
43
+ __metadata("design:type", String)
44
+ ], Product.prototype, "description", void 0);
45
+ __decorate([
46
+ (0, mongoose_1.Prop)(),
47
+ __metadata("design:type", String)
48
+ ], Product.prototype, "descriptionEn", void 0);
49
+ __decorate([
50
+ (0, mongoose_1.Prop)(),
51
+ __metadata("design:type", String)
52
+ ], Product.prototype, "descriptionAcquired", void 0);
53
+ __decorate([
54
+ (0, mongoose_1.Prop)(),
55
+ __metadata("design:type", String)
56
+ ], Product.prototype, "descriptionAcquiredEn", void 0);
57
+ __decorate([
58
+ (0, mongoose_1.Prop)(),
59
+ __metadata("design:type", String)
60
+ ], Product.prototype, "buttonAcquired", void 0);
61
+ __decorate([
62
+ (0, mongoose_1.Prop)(),
63
+ __metadata("design:type", String)
64
+ ], Product.prototype, "buttonAcquiredEn", void 0);
65
+ __decorate([
66
+ (0, mongoose_1.Prop)(),
67
+ __metadata("design:type", String)
68
+ ], Product.prototype, "button", void 0);
69
+ __decorate([
70
+ (0, mongoose_1.Prop)(),
71
+ __metadata("design:type", String)
72
+ ], Product.prototype, "buttonEn", void 0);
73
+ __decorate([
74
+ (0, mongoose_1.Prop)(),
75
+ __metadata("design:type", String)
76
+ ], Product.prototype, "link", void 0);
77
+ __decorate([
78
+ (0, mongoose_1.Prop)(),
79
+ __metadata("design:type", String)
80
+ ], Product.prototype, "linkVK", void 0);
81
+ __decorate([
82
+ (0, mongoose_1.Prop)(),
83
+ __metadata("design:type", String)
84
+ ], Product.prototype, "channels", void 0);
85
+ __decorate([
86
+ (0, mongoose_1.Prop)(),
87
+ __metadata("design:type", String)
88
+ ], Product.prototype, "code", void 0);
89
+ __decorate([
90
+ (0, mongoose_1.Prop)(),
91
+ __metadata("design:type", Number)
92
+ ], Product.prototype, "position", void 0);
93
+ __decorate([
94
+ (0, mongoose_1.Prop)(),
95
+ __metadata("design:type", Boolean)
96
+ ], Product.prototype, "active", void 0);
97
+ __decorate([
98
+ (0, mongoose_1.Prop)(),
99
+ __metadata("design:type", String)
100
+ ], Product.prototype, "image", void 0);
101
+ __decorate([
102
+ (0, mongoose_1.Prop)(),
103
+ __metadata("design:type", String)
104
+ ], Product.prototype, "icon", void 0);
105
+ __decorate([
106
+ (0, mongoose_1.Prop)(),
107
+ __metadata("design:type", Boolean)
108
+ ], Product.prototype, "external", void 0);
109
+ __decorate([
110
+ (0, mongoose_1.Prop)(),
111
+ __metadata("design:type", Boolean)
112
+ ], Product.prototype, "isConsumable", void 0);
113
+ __decorate([
114
+ (0, mongoose_1.Prop)(),
115
+ __metadata("design:type", String)
116
+ ], Product.prototype, "parentId", void 0);
117
+ __decorate([
118
+ (0, mongoose_1.Prop)(),
119
+ __metadata("design:type", Number)
120
+ ], Product.prototype, "price", void 0);
121
+ __decorate([
122
+ (0, mongoose_1.Prop)(),
123
+ __metadata("design:type", Number)
124
+ ], Product.prototype, "priceVK", void 0);
125
+ __decorate([
126
+ (0, mongoose_1.Prop)(),
127
+ __metadata("design:type", Number)
128
+ ], Product.prototype, "priceOK", void 0);
129
+ __decorate([
130
+ (0, mongoose_1.Prop)(),
131
+ __metadata("design:type", Number)
132
+ ], Product.prototype, "priceYA", void 0);
133
+ __decorate([
134
+ (0, mongoose_1.Prop)(),
135
+ __metadata("design:type", Number)
136
+ ], Product.prototype, "priceGooglePlay", void 0);
137
+ __decorate([
138
+ (0, mongoose_1.Prop)(),
139
+ __metadata("design:type", Number)
140
+ ], Product.prototype, "priceFB", void 0);
141
+ __decorate([
142
+ (0, mongoose_1.Prop)(),
143
+ __metadata("design:type", Number)
144
+ ], Product.prototype, "priceTG", void 0);
145
+ __decorate([
146
+ (0, mongoose_1.Prop)(),
147
+ __metadata("design:type", Number)
148
+ ], Product.prototype, "priceRuStore", void 0);
149
+ __decorate([
150
+ (0, mongoose_1.Prop)(),
151
+ __metadata("design:type", Number)
152
+ ], Product.prototype, "value", void 0);
153
+ __decorate([
154
+ (0, mongoose_1.Prop)(),
155
+ __metadata("design:type", String)
156
+ ], Product.prototype, "period", void 0);
157
+ __decorate([
158
+ (0, mongoose_1.Prop)(),
159
+ __metadata("design:type", String)
160
+ ], Product.prototype, "type", void 0);
161
+ __decorate([
162
+ (0, mongoose_1.Prop)(),
163
+ __metadata("design:type", String)
164
+ ], Product.prototype, "game", void 0);
165
+ exports.Product = Product = __decorate([
166
+ (0, mongoose_1.Schema)()
167
+ ], Product);
168
+ exports.ProductSchema = mongoose_1.SchemaFactory.createForClass(Product);
169
+ //# sourceMappingURL=product.schema.js.map