jp.db.schemas 2.0.33 → 2.0.34

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/index.d.ts CHANGED
@@ -46,6 +46,8 @@ import { Setting, SettingSchema } from './schemas/setting.schema';
46
46
  import type { SettingDocument } from './schemas/setting.schema';
47
47
  import { Premium, PremiumSchema } from './schemas/premium.schema';
48
48
  import type { PremiumDocument } from './schemas/premium.schema';
49
+ import { GameStatistic, GameStatisticSchema } from './schemas/game_statistic.schema';
50
+ import type { GameStatisticDocument } from './schemas/game_statistic.schema';
49
51
  import { Menu, MenuSchema } from './schemas/menu.schema';
50
52
  import type { MenuDocument } from './schemas/menu.schema';
51
53
  import { GameResult, GameResultSchema } from './schemas/game_result.schema';
@@ -66,8 +68,8 @@ import { Friend, FriendSchema } from './schemas/friend.schema';
66
68
  import type { FriendDocument } from './schemas/friend.schema';
67
69
  import { Welcome, WelcomeSchema } from './schemas/welcome.schema';
68
70
  import type { WelcomeDocument } from './schemas/welcome.schema';
69
- import { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, FriendRepository, WelcomeRepository, RatingRepository, PremiumRepository, RuleRepository, DailyBonusRepository, SettingRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository, SimpleRoomsRepository, TournamentOneTableRoomsRepository, TournamentManyTablesRoomsRepository } from './repositories';
70
- 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, PremiumDocument, MenuDocument, WelcomeDocument, RuleDocument, FriendDocument, DailyBonusDocument, GameResultDocument, BalanceHistoryDocument, SimpleRoomDocument, TournamentOneTableRoomDocument, TournamentManyTablesRoomDocument, };
71
- 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, Menu, MenuSchema, DailyBonus, DailyBonusSchema, Rule, RuleSchema, Premium, PremiumSchema, Welcome, WelcomeSchema, Friend, FriendSchema, GameResult, GameResultSchema, BalanceHistory, BalanceHistorySchema, SimpleRoom, SimpleRoomSchema, TournamentOneTableRoom, TournamentOneTableRoomSchema, TournamentManyTablesRoom, TournamentManyTablesRoomSchema, };
72
- export { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, DailyBonusRepository, PremiumRepository, RuleRepository, RatingRepository, FriendRepository, WelcomeRepository, SettingRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository, SimpleRoomsRepository, TournamentOneTableRoomsRepository, TournamentManyTablesRoomsRepository, };
71
+ import { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, GameStatisticRepository, FriendRepository, WelcomeRepository, RatingRepository, PremiumRepository, RuleRepository, DailyBonusRepository, SettingRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository, SimpleRoomsRepository, TournamentOneTableRoomsRepository, TournamentManyTablesRoomsRepository } from './repositories';
72
+ export type { UserDocument, FBUserDocument, GoogleUserDocument, OKUserDocument, TGUserDocument, VKUserDocument, YAUserDocument, PurchaseDocument, ComplainDocument, NotificationDocument, ScheduledTournamentDocument, AdminDocument, RoomDocument, ArticleDocument, BannerDocument, ServerDocument, AchievementDocument, ChannelMessageDocument, FeatureDocument, ProductDocument, PurchaseChannelDocument, RatingDocument, GameStatisticDocument, SettingDocument, PremiumDocument, MenuDocument, WelcomeDocument, RuleDocument, FriendDocument, DailyBonusDocument, GameResultDocument, BalanceHistoryDocument, SimpleRoomDocument, TournamentOneTableRoomDocument, TournamentManyTablesRoomDocument, };
73
+ 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, GameStatistic, GameStatisticSchema, Menu, MenuSchema, DailyBonus, DailyBonusSchema, Rule, RuleSchema, Premium, PremiumSchema, Welcome, WelcomeSchema, Friend, FriendSchema, GameResult, GameResultSchema, BalanceHistory, BalanceHistorySchema, SimpleRoom, SimpleRoomSchema, TournamentOneTableRoom, TournamentOneTableRoomSchema, TournamentManyTablesRoom, TournamentManyTablesRoomSchema, };
74
+ export { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, DailyBonusRepository, PremiumRepository, RuleRepository, RatingRepository, GameStatisticRepository, FriendRepository, WelcomeRepository, SettingRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository, SimpleRoomsRepository, TournamentOneTableRoomsRepository, TournamentManyTablesRoomsRepository, };
73
75
  //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EACjB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,8BAA8B,EAC9B,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,EACrB,iCAAiC,EACjC,mCAAmC,GACtC,CAAA"}
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DailyBonusSchema = exports.DailyBonus = exports.MenuSchema = exports.Menu = 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
- exports.TournamentManyTablesRoomsRepository = exports.TournamentOneTableRoomsRepository = exports.SimpleRoomsRepository = exports.BalanceHistoryRepository = exports.GameResultRepository = exports.RoomsRepository = exports.SettingRepository = exports.WelcomeRepository = exports.FriendRepository = exports.RatingRepository = exports.RuleRepository = exports.PremiumRepository = exports.DailyBonusRepository = exports.MenuRepository = exports.UsersRepository = exports.ServersRepository = exports.ScheduledTournamentsRepository = exports.ProductsRepository = exports.NotificationRepository = exports.ComplainsRepository = exports.BannersRepository = exports.ArticleRepository = exports.AdminRepository = exports.TournamentManyTablesRoomSchema = exports.TournamentManyTablesRoom = exports.TournamentOneTableRoomSchema = exports.TournamentOneTableRoom = exports.SimpleRoomSchema = exports.SimpleRoom = exports.BalanceHistorySchema = exports.BalanceHistory = exports.GameResultSchema = exports.GameResult = exports.FriendSchema = exports.Friend = exports.WelcomeSchema = exports.Welcome = exports.PremiumSchema = exports.Premium = exports.RuleSchema = exports.Rule = void 0;
3
+ exports.MenuSchema = exports.Menu = exports.GameStatisticSchema = exports.GameStatistic = 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
+ exports.TournamentManyTablesRoomsRepository = exports.TournamentOneTableRoomsRepository = exports.SimpleRoomsRepository = exports.BalanceHistoryRepository = exports.GameResultRepository = exports.RoomsRepository = exports.SettingRepository = exports.WelcomeRepository = exports.FriendRepository = exports.GameStatisticRepository = exports.RatingRepository = exports.RuleRepository = exports.PremiumRepository = exports.DailyBonusRepository = exports.MenuRepository = exports.UsersRepository = exports.ServersRepository = exports.ScheduledTournamentsRepository = exports.ProductsRepository = exports.NotificationRepository = exports.ComplainsRepository = exports.BannersRepository = exports.ArticleRepository = exports.AdminRepository = exports.TournamentManyTablesRoomSchema = exports.TournamentManyTablesRoom = exports.TournamentOneTableRoomSchema = exports.TournamentOneTableRoom = exports.SimpleRoomSchema = exports.SimpleRoom = exports.BalanceHistorySchema = exports.BalanceHistory = exports.GameResultSchema = exports.GameResult = exports.FriendSchema = exports.Friend = exports.WelcomeSchema = exports.Welcome = exports.PremiumSchema = exports.Premium = exports.RuleSchema = exports.Rule = exports.DailyBonusSchema = exports.DailyBonus = void 0;
5
5
  const user_schema_1 = require("./schemas/user.schema");
6
6
  Object.defineProperty(exports, "User", { enumerable: true, get: function () { return user_schema_1.User; } });
7
7
  Object.defineProperty(exports, "UserSchema", { enumerable: true, get: function () { return user_schema_1.UserSchema; } });
@@ -74,6 +74,9 @@ Object.defineProperty(exports, "SettingSchema", { enumerable: true, get: functio
74
74
  const premium_schema_1 = require("./schemas/premium.schema");
75
75
  Object.defineProperty(exports, "Premium", { enumerable: true, get: function () { return premium_schema_1.Premium; } });
76
76
  Object.defineProperty(exports, "PremiumSchema", { enumerable: true, get: function () { return premium_schema_1.PremiumSchema; } });
77
+ const game_statistic_schema_1 = require("./schemas/game_statistic.schema");
78
+ Object.defineProperty(exports, "GameStatistic", { enumerable: true, get: function () { return game_statistic_schema_1.GameStatistic; } });
79
+ Object.defineProperty(exports, "GameStatisticSchema", { enumerable: true, get: function () { return game_statistic_schema_1.GameStatisticSchema; } });
77
80
  const menu_schema_1 = require("./schemas/menu.schema");
78
81
  Object.defineProperty(exports, "Menu", { enumerable: true, get: function () { return menu_schema_1.Menu; } });
79
82
  Object.defineProperty(exports, "MenuSchema", { enumerable: true, get: function () { return menu_schema_1.MenuSchema; } });
@@ -115,6 +118,7 @@ Object.defineProperty(exports, "ScheduledTournamentsRepository", { enumerable: t
115
118
  Object.defineProperty(exports, "ServersRepository", { enumerable: true, get: function () { return repositories_1.ServersRepository; } });
116
119
  Object.defineProperty(exports, "UsersRepository", { enumerable: true, get: function () { return repositories_1.UsersRepository; } });
117
120
  Object.defineProperty(exports, "MenuRepository", { enumerable: true, get: function () { return repositories_1.MenuRepository; } });
121
+ Object.defineProperty(exports, "GameStatisticRepository", { enumerable: true, get: function () { return repositories_1.GameStatisticRepository; } });
118
122
  Object.defineProperty(exports, "FriendRepository", { enumerable: true, get: function () { return repositories_1.FriendRepository; } });
119
123
  Object.defineProperty(exports, "WelcomeRepository", { enumerable: true, get: function () { return repositories_1.WelcomeRepository; } });
120
124
  Object.defineProperty(exports, "RatingRepository", { enumerable: true, get: function () { return repositories_1.RatingRepository; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,uDAAyD;AAqIrD,qFArIK,kBAAI,OAqIL;AACJ,2FAtIW,wBAAU,OAsIX;AApId,6DAAgE;AAqI5D,uFArIK,uBAAM,OAqIL;AACN,6FAtIa,6BAAY,OAsIb;AApIhB,qEAA4E;AAqIxE,2FArIK,+BAAU,OAqIL;AACV,iGAtIiB,qCAAgB,OAsIjB;AApIpB,6DAAgE;AAqI5D,uFArIK,uBAAM,OAqIL;AACN,6FAtIa,6BAAY,OAsIb;AApIhB,6DAAgE;AAqI5D,uFArIK,uBAAM,OAqIL;AACN,6FAtIa,6BAAY,OAsIb;AApIhB,6DAAgE;AAqI5D,uFArIK,uBAAM,OAqIL;AACN,6FAtIa,6BAAY,OAsIb;AApIhB,6DAAgE;AAqI5D,uFArIK,uBAAM,OAqIL;AACN,6FAtIa,6BAAY,OAsIb;AApIhB,+DAAqE;AAqIjE,yFArIK,0BAAQ,OAqIL;AACR,+FAtIe,gCAAc,OAsIf;AApIlB,+DAAqE;AAqIjE,yFArIK,0BAAQ,OAqIL;AACR,+FAtIe,gCAAc,OAsIf;AApIlB,uEAAiF;AAqI7E,6FArIK,kCAAY,OAqIL;AACZ,mGAtImB,wCAAkB,OAsInB;AApItB,uFAAuG;AAqInG,oG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AiJrH,yGAjJK,8DAAwB,OAiJL;AACxB,+GAlJ+B,oEAA8B,OAkJ/B;AAhJlC,qEAA4E;AA6HxE,2FA7HK,+BAAU,OA6HL;AACV,iGA9HiB,qCAAgB,OA8HjB;AA5HpB,uDAAyD;AA6HrD,qFA7HK,kBAAI,OA6HL;AACJ,2FA9HW,wBAAU,OA8HX;AA5Hd,2DAA+D;AAiI3D,uFAjIK,sBAAM,OAiIL;AACN,6FAlIa,4BAAY,OAkIb;AAhIhB,6DAAkE;AA6H9D,wFA7HK,wBAAO,OA6HL;AACP,8FA9Hc,8BAAa,OA8Hd;AA3HjB,iDAyBuB;AAkHnB,gGA1IA,8BAAe,OA0IA;AACf,kGA1IA,gCAAiB,OA0IA;AACjB,kGA1IA,gCAAiB,OA0IA;AACjB,oGA1IA,kCAAmB,OA0IA;AACnB,uGA1IA,qCAAsB,OA0IA;AACtB,mGA1IA,iCAAkB,OA0IA;AAClB,+GA1IA,6CAA8B,OA0IA;AAC9B,kGA1IA,gCAAiB,OA0IA;AACjB,gGA1IA,8BAAe,OA0IA;AACf,+FA1IA,6BAAc,OA0IA;AAKd,wGA9IA,sCAAuB,OA8IA;AACvB,iGA9IA,+BAAgB,OA8IA;AAChB,kGA9IA,gCAAiB,OA8IA;AAHjB,iGA1IA,+BAAgB,OA0IA;AAFhB,kGAvIA,gCAAiB,OAuIA;AACjB,+FAvIA,6BAAc,OAuIA;AAFd,qGApIA,mCAAoB,OAoIA;AAOpB,kGA1IA,gCAAiB,OA0IA;AACjB,gGA1IA,8BAAe,OA0IA;AACf,qGA1IA,mCAAoB,OA0IA;AACpB,yGA1IA,uCAAwB,OA0IA;AACxB,sGA1IA,oCAAqB,OA0IA;AACrB,kHA1IA,gDAAiC,OA0IA;AACjC,oHA1IA,kDAAmC,OA0IA"}
@@ -0,0 +1,8 @@
1
+ import { Model } from 'mongoose';
2
+ import { GameStatistic, GameStatisticDocument } from '..';
3
+ export declare class GameStatisticRepository {
4
+ private gameStatisticModel;
5
+ constructor(gameStatisticModel: Model<GameStatisticDocument>);
6
+ findGameStatistic(channel: string, game: string): Promise<Array<GameStatistic> | null>;
7
+ }
8
+ //# sourceMappingURL=game-statistic.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"game-statistic.repository.d.ts","sourceRoot":"","sources":["../../src/repositories/game-statistic.repository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAG1D,qBACa,uBAAuB;IACc,OAAO,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,KAAK,CAAC,qBAAqB,CAAC;IAGhG,iBAAiB,CAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC;CAOhG"}
@@ -0,0 +1,39 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.GameStatisticRepository = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const mongoose_1 = require("@nestjs/mongoose");
18
+ const mongoose_2 = require("mongoose");
19
+ const __1 = require("..");
20
+ const utils_1 = require("../utils");
21
+ let GameStatisticRepository = class GameStatisticRepository {
22
+ constructor(gameStatisticModel) {
23
+ this.gameStatisticModel = gameStatisticModel;
24
+ }
25
+ async findGameStatistic(channel, game) {
26
+ return this.gameStatisticModel
27
+ .find({
28
+ channels: (0, utils_1.getChannelRegExpFilter)(channel),
29
+ })
30
+ .exec();
31
+ }
32
+ };
33
+ exports.GameStatisticRepository = GameStatisticRepository;
34
+ exports.GameStatisticRepository = GameStatisticRepository = __decorate([
35
+ (0, common_1.Injectable)(),
36
+ __param(0, (0, mongoose_1.InjectModel)(__1.GameStatistic.name)),
37
+ __metadata("design:paramtypes", [mongoose_2.Model])
38
+ ], GameStatisticRepository);
39
+ //# sourceMappingURL=game-statistic.repository.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"game-statistic.repository.js","sourceRoot":"","sources":["../../src/repositories/game-statistic.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAA+C;AAC/C,uCAAiC;AAEjC,0BAA0D;AAC1D,oCAAkD;AAG3C,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAChC,YAAsD,kBAAgD;QAAhD,uBAAkB,GAAlB,kBAAkB,CAA8B;IACtG,CAAC;IAED,KAAK,CAAC,iBAAiB,CAAE,OAAe,EAAE,IAAY;QAClD,OAAO,IAAI,CAAC,kBAAkB;aACzB,IAAI,CAAC;YACF,QAAQ,EAAE,IAAA,8BAAsB,EAAC,OAAO,CAAC;SAC5C,CAAC;aACD,IAAI,EAAE,CAAC;IAChB,CAAC;CACJ,CAAA;AAXY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,mBAAU,GAAE;IAEK,WAAA,IAAA,sBAAW,EAAC,iBAAa,CAAC,IAAI,CAAC,CAAA;qCAA6B,gBAAK;GADtE,uBAAuB,CAWnC"}
@@ -10,6 +10,7 @@ import { UsersRepository } from './users.repository';
10
10
  import { MenuRepository } from './menu.repository';
11
11
  import { RuleRepository } from './rule.repository';
12
12
  import { RatingRepository } from './rating.repository';
13
+ import { GameStatisticRepository } from './game-statistic.repository';
13
14
  import { FriendRepository } from './friend.repository';
14
15
  import { SettingRepository } from './setting.repository';
15
16
  import { PremiumRepository } from './premium.repository';
@@ -21,5 +22,5 @@ import { BalanceHistoryRepository } from './balance-history.repository';
21
22
  import { SimpleRoomsRepository } from './simple-rooms.repository';
22
23
  import { TournamentOneTableRoomsRepository } from './tournament-one-table-rooms.repository';
23
24
  import { TournamentManyTablesRoomsRepository } from './tournament-many-tables-rooms.repository';
24
- export { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, RatingRepository, RuleRepository, FriendRepository, SettingRepository, PremiumRepository, WelcomeRepository, DailyBonusRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository, SimpleRoomsRepository, TournamentOneTableRoomsRepository, TournamentManyTablesRoomsRepository, };
25
+ export { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, RatingRepository, GameStatisticRepository, RuleRepository, FriendRepository, SettingRepository, PremiumRepository, WelcomeRepository, DailyBonusRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository, SimpleRoomsRepository, TournamentOneTableRoomsRepository, TournamentManyTablesRoomsRepository, };
25
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM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BAA0B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EAAE,mCAAmC,EAAE,MAAM,2CAA2C,CAAC;AAEhG,OAAO,EACH,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,8BAA8B,EAC9B,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,uBAAuB,EACvB,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,EACrB,iCAAiC,EACjC,mCAAmC,GACtC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TournamentManyTablesRoomsRepository = exports.TournamentOneTableRoomsRepository = exports.SimpleRoomsRepository = exports.BalanceHistoryRepository = exports.GameResultRepository = exports.RoomsRepository = exports.DailyBonusRepository = exports.WelcomeRepository = exports.PremiumRepository = exports.SettingRepository = exports.FriendRepository = exports.RuleRepository = exports.RatingRepository = exports.MenuRepository = exports.UsersRepository = exports.ServersRepository = exports.ScheduledTournamentsRepository = exports.ProductsRepository = exports.NotificationRepository = exports.ComplainsRepository = exports.BannersRepository = exports.ArticleRepository = exports.AdminRepository = void 0;
3
+ exports.TournamentManyTablesRoomsRepository = exports.TournamentOneTableRoomsRepository = exports.SimpleRoomsRepository = exports.BalanceHistoryRepository = exports.GameResultRepository = exports.RoomsRepository = exports.DailyBonusRepository = exports.WelcomeRepository = exports.PremiumRepository = exports.SettingRepository = exports.FriendRepository = exports.RuleRepository = exports.GameStatisticRepository = exports.RatingRepository = exports.MenuRepository = exports.UsersRepository = exports.ServersRepository = exports.ScheduledTournamentsRepository = exports.ProductsRepository = exports.NotificationRepository = exports.ComplainsRepository = exports.BannersRepository = exports.ArticleRepository = exports.AdminRepository = void 0;
4
4
  const admin_repository_1 = require("./admin.repository");
5
5
  Object.defineProperty(exports, "AdminRepository", { enumerable: true, get: function () { return admin_repository_1.AdminRepository; } });
6
6
  const article_repository_1 = require("./article.repository");
@@ -25,6 +25,8 @@ const rule_repository_1 = require("./rule.repository");
25
25
  Object.defineProperty(exports, "RuleRepository", { enumerable: true, get: function () { return rule_repository_1.RuleRepository; } });
26
26
  const rating_repository_1 = require("./rating.repository");
27
27
  Object.defineProperty(exports, "RatingRepository", { enumerable: true, get: function () { return rating_repository_1.RatingRepository; } });
28
+ const game_statistic_repository_1 = require("./game-statistic.repository");
29
+ Object.defineProperty(exports, "GameStatisticRepository", { enumerable: true, get: function () { return game_statistic_repository_1.GameStatisticRepository; } });
28
30
  const friend_repository_1 = require("./friend.repository");
29
31
  Object.defineProperty(exports, "FriendRepository", { enumerable: true, get: function () { return friend_repository_1.FriendRepository; } });
30
32
  const setting_repository_1 = require("./setting.repository");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":";;;AAAA,yDAAqD;AAyBjD,gGAzBK,kCAAe,OAyBL;AAxBnB,6DAAyD;AAyBrD,kGAzBK,sCAAiB,OAyBL;AAxBrB,6DAAyD;AAyBrD,kGAzBK,sCAAiB,OAyBL;AAxBrB,iEAA6D;AAyBzD,oGAzBK,0CAAmB,OAyBL;AAxBvB,uEAAmE;AAyB/D,uGAzBK,gDAAsB,OAyBL;AAxB1B,+DAA2D;AAyBvD,mGAzBK,wCAAkB,OAyBL;AAxBtB,yFAAoF;AAyBhF,+GAzBK,iEAA8B,OAyBL;AAxBlC,6DAAyD;AAyBrD,kGAzBK,sCAAiB,OAyBL;AAxBrB,yDAAqD;AAyBjD,gGAzBK,kCAAe,OAyBL;AAxB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c,OA0BL;AAzBlB,uDAAmD;AA4B/C,+FA5BK,gCAAc,OA4BL;AA3BlB,2DAAuD;AAyBnD,iGAzBK,oCAAgB,OAyBL;AAxBpB,2EAAsE;AAyBlE,wGAzBK,mDAAuB,OAyBL;AAxB3B,2DAAuD;AA0BnD,iGA1BK,oCAAgB,OA0BL;AAzBpB,6DAAyD;AA0BrD,kGA1BK,sCAAiB,OA0BL;AAzBrB,6DAAyD;AA0BrD,kGA1BK,sCAAiB,OA0BL;AAzBrB,6DAAyD;AA0BrD,kGA1BK,sCAAiB,OA0BL;AAzBrB,qEAAgE;AA0B5D,qGA1BK,6CAAoB,OA0BL;AAzBxB,yDAAqD;AA0BjD,gGA1BK,kCAAe,OA0BL;AAzBnB,qEAAgE;AA0B5D,qGA1BK,6CAAoB,OA0BL;AAzBxB,6EAAwE;AA0BpE,yGA1BK,qDAAwB,OA0BL;AAzB5B,uEAAkE;AA0B9D,sGA1BK,+CAAqB,OA0BL;AAzBzB,mGAA4F;AA0BxF,kHA1BK,yEAAiC,OA0BL;AAzBrC,uGAAgG;AA0B5F,oHA1BK,6EAAmC,OA0BL"}
@@ -0,0 +1,115 @@
1
+ import { Document, HydratedDocument } from 'mongoose';
2
+ export type GameStatisticDocument = HydratedDocument<GameStatistic>;
3
+ export declare class GameStatistic {
4
+ readonly gameStatisticId: string;
5
+ code: string;
6
+ title: string;
7
+ titleEn: string;
8
+ icon: string;
9
+ url: string;
10
+ position: number;
11
+ game: string;
12
+ channel: string;
13
+ }
14
+ export declare const GameStatisticSchema: import("mongoose").Schema<GameStatistic, import("mongoose").Model<GameStatistic, any, any, any, (Document<unknown, any, GameStatistic, any, import("mongoose").DefaultSchemaOptions> & GameStatistic & {
15
+ _id: import("mongoose").Types.ObjectId;
16
+ } & {
17
+ __v: number;
18
+ } & {
19
+ id: string;
20
+ }) | (Document<unknown, any, GameStatistic, any, import("mongoose").DefaultSchemaOptions> & GameStatistic & {
21
+ _id: import("mongoose").Types.ObjectId;
22
+ } & {
23
+ __v: number;
24
+ }), any, GameStatistic>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, GameStatistic, Document<unknown, {}, GameStatistic, {
25
+ id: string;
26
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<GameStatistic & {
27
+ _id: import("mongoose").Types.ObjectId;
28
+ } & {
29
+ __v: number;
30
+ }, "id"> & {
31
+ id: string;
32
+ }, {
33
+ readonly gameStatisticId?: import("mongoose").SchemaDefinitionProperty<string, GameStatistic, Document<unknown, {}, GameStatistic, {
34
+ id: string;
35
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<GameStatistic & {
36
+ _id: import("mongoose").Types.ObjectId;
37
+ } & {
38
+ __v: number;
39
+ }, "id"> & {
40
+ id: string;
41
+ }>;
42
+ code?: import("mongoose").SchemaDefinitionProperty<string, GameStatistic, Document<unknown, {}, GameStatistic, {
43
+ id: string;
44
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<GameStatistic & {
45
+ _id: import("mongoose").Types.ObjectId;
46
+ } & {
47
+ __v: number;
48
+ }, "id"> & {
49
+ id: string;
50
+ }>;
51
+ title?: import("mongoose").SchemaDefinitionProperty<string, GameStatistic, Document<unknown, {}, GameStatistic, {
52
+ id: string;
53
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<GameStatistic & {
54
+ _id: import("mongoose").Types.ObjectId;
55
+ } & {
56
+ __v: number;
57
+ }, "id"> & {
58
+ id: string;
59
+ }>;
60
+ titleEn?: import("mongoose").SchemaDefinitionProperty<string, GameStatistic, Document<unknown, {}, GameStatistic, {
61
+ id: string;
62
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<GameStatistic & {
63
+ _id: import("mongoose").Types.ObjectId;
64
+ } & {
65
+ __v: number;
66
+ }, "id"> & {
67
+ id: string;
68
+ }>;
69
+ icon?: import("mongoose").SchemaDefinitionProperty<string, GameStatistic, Document<unknown, {}, GameStatistic, {
70
+ id: string;
71
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<GameStatistic & {
72
+ _id: import("mongoose").Types.ObjectId;
73
+ } & {
74
+ __v: number;
75
+ }, "id"> & {
76
+ id: string;
77
+ }>;
78
+ url?: import("mongoose").SchemaDefinitionProperty<string, GameStatistic, Document<unknown, {}, GameStatistic, {
79
+ id: string;
80
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<GameStatistic & {
81
+ _id: import("mongoose").Types.ObjectId;
82
+ } & {
83
+ __v: number;
84
+ }, "id"> & {
85
+ id: string;
86
+ }>;
87
+ position?: import("mongoose").SchemaDefinitionProperty<number, GameStatistic, Document<unknown, {}, GameStatistic, {
88
+ id: string;
89
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<GameStatistic & {
90
+ _id: import("mongoose").Types.ObjectId;
91
+ } & {
92
+ __v: number;
93
+ }, "id"> & {
94
+ id: string;
95
+ }>;
96
+ game?: import("mongoose").SchemaDefinitionProperty<string, GameStatistic, Document<unknown, {}, GameStatistic, {
97
+ id: string;
98
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<GameStatistic & {
99
+ _id: import("mongoose").Types.ObjectId;
100
+ } & {
101
+ __v: number;
102
+ }, "id"> & {
103
+ id: string;
104
+ }>;
105
+ channel?: import("mongoose").SchemaDefinitionProperty<string, GameStatistic, Document<unknown, {}, GameStatistic, {
106
+ id: string;
107
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<GameStatistic & {
108
+ _id: import("mongoose").Types.ObjectId;
109
+ } & {
110
+ __v: number;
111
+ }, "id"> & {
112
+ id: string;
113
+ }>;
114
+ }, GameStatistic>;
115
+ //# sourceMappingURL=game_statistic.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"game_statistic.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/game_statistic.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,CAAC,aAAa,CAAC,CAAC;AAEpE,qBACa,aAAa;IAMtB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IAGjC,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,OAAO,EAAE,MAAM,CAAC;IAGhB,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,CAAC;IAGZ,QAAQ,EAAE,MAAM,CAAC;IAGjB,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAA8C,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.GameStatisticSchema = exports.GameStatistic = void 0;
13
+ const mongoose_1 = require("@nestjs/mongoose");
14
+ let GameStatistic = class GameStatistic {
15
+ };
16
+ exports.GameStatistic = GameStatistic;
17
+ __decorate([
18
+ (0, mongoose_1.Virtual)({
19
+ get: function () {
20
+ return this._id.toString();
21
+ },
22
+ }),
23
+ __metadata("design:type", String)
24
+ ], GameStatistic.prototype, "gameStatisticId", void 0);
25
+ __decorate([
26
+ (0, mongoose_1.Prop)(),
27
+ __metadata("design:type", String)
28
+ ], GameStatistic.prototype, "code", void 0);
29
+ __decorate([
30
+ (0, mongoose_1.Prop)(),
31
+ __metadata("design:type", String)
32
+ ], GameStatistic.prototype, "title", void 0);
33
+ __decorate([
34
+ (0, mongoose_1.Prop)(),
35
+ __metadata("design:type", String)
36
+ ], GameStatistic.prototype, "titleEn", void 0);
37
+ __decorate([
38
+ (0, mongoose_1.Prop)(),
39
+ __metadata("design:type", String)
40
+ ], GameStatistic.prototype, "icon", void 0);
41
+ __decorate([
42
+ (0, mongoose_1.Prop)(),
43
+ __metadata("design:type", String)
44
+ ], GameStatistic.prototype, "url", void 0);
45
+ __decorate([
46
+ (0, mongoose_1.Prop)(),
47
+ __metadata("design:type", Number)
48
+ ], GameStatistic.prototype, "position", void 0);
49
+ __decorate([
50
+ (0, mongoose_1.Prop)(),
51
+ __metadata("design:type", String)
52
+ ], GameStatistic.prototype, "game", void 0);
53
+ __decorate([
54
+ (0, mongoose_1.Prop)(),
55
+ __metadata("design:type", String)
56
+ ], GameStatistic.prototype, "channel", void 0);
57
+ exports.GameStatistic = GameStatistic = __decorate([
58
+ (0, mongoose_1.Schema)()
59
+ ], GameStatistic);
60
+ exports.GameStatisticSchema = mongoose_1.SchemaFactory.createForClass(GameStatistic);
61
+ //# sourceMappingURL=game_statistic.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"game_statistic.schema.js","sourceRoot":"","sources":["../../src/schemas/game_statistic.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,aAAa,GAAnB,MAAM,aAAa;CA+BzB,CAAA;AA/BY,sCAAa;AAMb;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;sDAC+B;AAGjC;IADC,IAAA,eAAI,GAAE;;2CACM;AAGb;IADC,IAAA,eAAI,GAAE;;4CACO;AAGd;IADC,IAAA,eAAI,GAAE;;8CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;2CACM;AAGb;IADC,IAAA,eAAI,GAAE;;0CACK;AAGZ;IADC,IAAA,eAAI,GAAE;;+CACU;AAGjB;IADC,IAAA,eAAI,GAAE;;2CACM;AAGb;IADC,IAAA,eAAI,GAAE;;8CACS;wBA9BP,aAAa;IADzB,IAAA,iBAAM,GAAE;GACI,aAAa,CA+BzB;AAEY,QAAA,mBAAmB,GAAG,wBAAa,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jp.db.schemas",
3
- "version": "2.0.33",
3
+ "version": "2.0.34",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -46,6 +46,8 @@ import { Setting, SettingSchema } from './schemas/setting.schema';
46
46
  import type { SettingDocument } from './schemas/setting.schema';
47
47
  import { Premium, PremiumSchema } from './schemas/premium.schema';
48
48
  import type { PremiumDocument } from './schemas/premium.schema';
49
+ import { GameStatistic, GameStatisticSchema } from './schemas/game_statistic.schema';
50
+ import type { GameStatisticDocument } from './schemas/game_statistic.schema';
49
51
  import { Menu, MenuSchema } from './schemas/menu.schema';
50
52
  import type { MenuDocument } from './schemas/menu.schema';
51
53
  import { GameResult, GameResultSchema } from './schemas/game_result.schema';
@@ -78,6 +80,7 @@ import {
78
80
  ServersRepository,
79
81
  UsersRepository,
80
82
  MenuRepository,
83
+ GameStatisticRepository,
81
84
  FriendRepository,
82
85
  WelcomeRepository,
83
86
  RatingRepository,
@@ -116,6 +119,7 @@ export type {
116
119
  ProductDocument,
117
120
  PurchaseChannelDocument,
118
121
  RatingDocument,
122
+ GameStatisticDocument,
119
123
  SettingDocument,
120
124
  PremiumDocument,
121
125
  MenuDocument,
@@ -177,6 +181,8 @@ export {
177
181
  RatingSchema,
178
182
  Setting,
179
183
  SettingSchema,
184
+ GameStatistic,
185
+ GameStatisticSchema,
180
186
  Menu,
181
187
  MenuSchema,
182
188
  DailyBonus,
@@ -216,6 +222,7 @@ export {
216
222
  PremiumRepository,
217
223
  RuleRepository,
218
224
  RatingRepository,
225
+ GameStatisticRepository,
219
226
  FriendRepository,
220
227
  WelcomeRepository,
221
228
  SettingRepository,
@@ -0,0 +1,21 @@
1
+ import { Injectable } from '@nestjs/common';
2
+ import { InjectModel } from '@nestjs/mongoose';
3
+ import { Model } from 'mongoose';
4
+
5
+ import { GameStatistic, GameStatisticDocument } from '..';
6
+ import { getChannelRegExpFilter } from '../utils';
7
+
8
+ @Injectable()
9
+ export class GameStatisticRepository {
10
+ constructor (@InjectModel(GameStatistic.name) private gameStatisticModel: Model<GameStatisticDocument>) {
11
+ }
12
+
13
+ async findGameStatistic (channel: string, game: string): Promise<Array<GameStatistic> | null> {
14
+ return this.gameStatisticModel
15
+ .find({
16
+ channels: getChannelRegExpFilter(channel),
17
+ })
18
+ .exec();
19
+ }
20
+ }
21
+
@@ -10,6 +10,7 @@ import { UsersRepository } from './users.repository';
10
10
  import { MenuRepository } from './menu.repository';
11
11
  import { RuleRepository } from './rule.repository';
12
12
  import { RatingRepository } from './rating.repository';
13
+ import { GameStatisticRepository } from './game-statistic.repository';
13
14
  import { FriendRepository } from './friend.repository';
14
15
  import { SettingRepository } from './setting.repository';
15
16
  import { PremiumRepository } from './premium.repository';
@@ -34,6 +35,7 @@ export {
34
35
  UsersRepository,
35
36
  MenuRepository,
36
37
  RatingRepository,
38
+ GameStatisticRepository,
37
39
  RuleRepository,
38
40
  FriendRepository,
39
41
  SettingRepository,
@@ -0,0 +1,40 @@
1
+ import { Prop, Schema, SchemaFactory, Virtual } from '@nestjs/mongoose';
2
+ import { Document, HydratedDocument } from 'mongoose';
3
+
4
+ export type GameStatisticDocument = HydratedDocument<GameStatistic>;
5
+
6
+ @Schema()
7
+ export class GameStatistic {
8
+ @Virtual({
9
+ get: function (this: Document) {
10
+ return this._id.toString();
11
+ },
12
+ })
13
+ readonly gameStatisticId: string;
14
+
15
+ @Prop()
16
+ code: string;
17
+
18
+ @Prop()
19
+ title: string;
20
+
21
+ @Prop()
22
+ titleEn: string;
23
+
24
+ @Prop()
25
+ icon: string;
26
+
27
+ @Prop()
28
+ url: string;
29
+
30
+ @Prop()
31
+ position: number;
32
+
33
+ @Prop()
34
+ game: string;
35
+
36
+ @Prop()
37
+ channel: string;
38
+ }
39
+
40
+ export const GameStatisticSchema = SchemaFactory.createForClass(GameStatistic);