jp.db.schemas 2.0.0 → 2.0.2

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 (111) hide show
  1. package/dist/index.d.ts +12 -4
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +17 -1
  4. package/dist/index.js.map +1 -1
  5. package/dist/repositories/index.d.ts +5 -1
  6. package/dist/repositories/index.d.ts.map +1 -1
  7. package/dist/repositories/index.js +9 -1
  8. package/dist/repositories/index.js.map +1 -1
  9. package/dist/repositories/simple-rooms.repository.d.ts +8 -0
  10. package/dist/repositories/simple-rooms.repository.d.ts.map +1 -0
  11. package/dist/repositories/simple-rooms.repository.js +36 -0
  12. package/dist/repositories/simple-rooms.repository.js.map +1 -0
  13. package/dist/repositories/tournament-many-tables-rooms.repository.d.ts +8 -0
  14. package/dist/repositories/tournament-many-tables-rooms.repository.d.ts.map +1 -0
  15. package/dist/repositories/tournament-many-tables-rooms.repository.js +36 -0
  16. package/dist/repositories/tournament-many-tables-rooms.repository.js.map +1 -0
  17. package/dist/repositories/tournament-one-table-rooms.repository.d.ts +8 -0
  18. package/dist/repositories/tournament-one-table-rooms.repository.d.ts.map +1 -0
  19. package/dist/repositories/tournament-one-table-rooms.repository.js +36 -0
  20. package/dist/repositories/tournament-one-table-rooms.repository.js.map +1 -0
  21. package/dist/repositories/tournament-result.repository.d.ts +9 -0
  22. package/dist/repositories/tournament-result.repository.d.ts.map +1 -0
  23. package/dist/repositories/tournament-result.repository.js +39 -0
  24. package/dist/repositories/tournament-result.repository.js.map +1 -0
  25. package/dist/schemas/achievement.schema.js +1 -1
  26. package/dist/schemas/achievement.schema.js.map +1 -1
  27. package/dist/schemas/admin.schema.js +1 -1
  28. package/dist/schemas/admin.schema.js.map +1 -1
  29. package/dist/schemas/article.schema.js +1 -1
  30. package/dist/schemas/article.schema.js.map +1 -1
  31. package/dist/schemas/balance_history.schema.js +1 -1
  32. package/dist/schemas/balance_history.schema.js.map +1 -1
  33. package/dist/schemas/banner.schema.js +1 -1
  34. package/dist/schemas/banner.schema.js.map +1 -1
  35. package/dist/schemas/channel_message.schema.js +1 -1
  36. package/dist/schemas/channel_message.schema.js.map +1 -1
  37. package/dist/schemas/complain.schema.js +1 -1
  38. package/dist/schemas/complain.schema.js.map +1 -1
  39. package/dist/schemas/feature.schema.js +1 -1
  40. package/dist/schemas/feature.schema.js.map +1 -1
  41. package/dist/schemas/game_result.schema.js +1 -1
  42. package/dist/schemas/game_result.schema.js.map +1 -1
  43. package/dist/schemas/menu.schema.js +1 -1
  44. package/dist/schemas/menu.schema.js.map +1 -1
  45. package/dist/schemas/notification.schema.js +1 -1
  46. package/dist/schemas/notification.schema.js.map +1 -1
  47. package/dist/schemas/product.schema.js +1 -1
  48. package/dist/schemas/product.schema.js.map +1 -1
  49. package/dist/schemas/purchase.schema.js +1 -1
  50. package/dist/schemas/purchase.schema.js.map +1 -1
  51. package/dist/schemas/purchase_channel.schema.js +1 -1
  52. package/dist/schemas/purchase_channel.schema.js.map +1 -1
  53. package/dist/schemas/rating.schema.js +1 -1
  54. package/dist/schemas/rating.schema.js.map +1 -1
  55. package/dist/schemas/rooms.schema.js +1 -1
  56. package/dist/schemas/rooms.schema.js.map +1 -1
  57. package/dist/schemas/scheduled_tournament.schema.js +1 -1
  58. package/dist/schemas/scheduled_tournament.schema.js.map +1 -1
  59. package/dist/schemas/server.schema.js +1 -1
  60. package/dist/schemas/server.schema.js.map +1 -1
  61. package/dist/schemas/setting.schema.js +1 -1
  62. package/dist/schemas/setting.schema.js.map +1 -1
  63. package/dist/schemas/simple_rooms.schema.d.ts +125 -0
  64. package/dist/schemas/simple_rooms.schema.d.ts.map +1 -0
  65. package/dist/schemas/simple_rooms.schema.js +65 -0
  66. package/dist/schemas/simple_rooms.schema.js.map +1 -0
  67. package/dist/schemas/tournament_many_tables_rooms.schema.d.ts +200 -0
  68. package/dist/schemas/tournament_many_tables_rooms.schema.d.ts.map +1 -0
  69. package/dist/schemas/tournament_many_tables_rooms.schema.js +93 -0
  70. package/dist/schemas/tournament_many_tables_rooms.schema.js.map +1 -0
  71. package/dist/schemas/tournament_one_table_rooms.schema.d.ts +125 -0
  72. package/dist/schemas/tournament_one_table_rooms.schema.d.ts.map +1 -0
  73. package/dist/schemas/tournament_one_table_rooms.schema.js +65 -0
  74. package/dist/schemas/tournament_one_table_rooms.schema.js.map +1 -0
  75. package/dist/schemas/tournament_result.schema.d.ts +82 -0
  76. package/dist/schemas/tournament_result.schema.d.ts.map +1 -0
  77. package/dist/schemas/tournament_result.schema.js +45 -0
  78. package/dist/schemas/tournament_result.schema.js.map +1 -0
  79. package/dist/schemas/user.schema.js +1 -1
  80. package/dist/schemas/user.schema.js.map +1 -1
  81. package/package.json +1 -1
  82. package/src/index.ts +28 -0
  83. package/src/repositories/index.ts +8 -0
  84. package/src/repositories/simple-rooms.repository.ts +17 -0
  85. package/src/repositories/tournament-many-tables-rooms.repository.ts +17 -0
  86. package/src/repositories/tournament-one-table-rooms.repository.ts +17 -0
  87. package/src/repositories/tournament-result.repository.ts +21 -0
  88. package/src/schemas/achievement.schema.ts +1 -1
  89. package/src/schemas/admin.schema.ts +1 -1
  90. package/src/schemas/article.schema.ts +1 -1
  91. package/src/schemas/balance_history.schema.ts +1 -1
  92. package/src/schemas/banner.schema.ts +1 -1
  93. package/src/schemas/channel_message.schema.ts +1 -1
  94. package/src/schemas/complain.schema.ts +1 -1
  95. package/src/schemas/feature.schema.ts +1 -1
  96. package/src/schemas/game_result.schema.ts +1 -1
  97. package/src/schemas/menu.schema.ts +1 -1
  98. package/src/schemas/notification.schema.ts +1 -1
  99. package/src/schemas/product.schema.ts +1 -1
  100. package/src/schemas/purchase.schema.ts +1 -1
  101. package/src/schemas/purchase_channel.schema.ts +1 -1
  102. package/src/schemas/rating.schema.ts +1 -1
  103. package/src/schemas/rooms.schema.ts +1 -1
  104. package/src/schemas/scheduled_tournament.schema.ts +1 -1
  105. package/src/schemas/server.schema.ts +1 -1
  106. package/src/schemas/setting.schema.ts +1 -1
  107. package/src/schemas/simple_rooms.schema.ts +43 -0
  108. package/src/schemas/tournament_many_tables_rooms.schema.ts +70 -0
  109. package/src/schemas/tournament_one_table_rooms.schema.ts +43 -0
  110. package/src/schemas/tournament_result.schema.ts +36 -0
  111. package/src/schemas/user.schema.ts +1 -1
package/dist/index.d.ts CHANGED
@@ -50,8 +50,16 @@ import { GameResult, GameResultSchema } from './schemas/game_result.schema';
50
50
  import type { GameResultDocument } from './schemas/game_result.schema';
51
51
  import { BalanceHistory, BalanceHistorySchema } from './schemas/balance_history.schema';
52
52
  import type { BalanceHistoryDocument } from './schemas/balance_history.schema';
53
- import { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository } from './repositories';
54
- 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, MenuDocument, GameResultDocument, BalanceHistoryDocument, };
55
- 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, GameResult, GameResultSchema, BalanceHistory, BalanceHistorySchema, };
56
- export { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository, };
53
+ import { SimpleRoom, SimpleRoomSchema } from './schemas/simple_rooms.schema';
54
+ import type { SimpleRoomDocument } from './schemas/simple_rooms.schema';
55
+ import { TournamentOneTableRoom, TournamentOneTableRoomSchema } from './schemas/tournament_one_table_rooms.schema';
56
+ import type { TournamentOneTableRoomDocument } from './schemas/tournament_one_table_rooms.schema';
57
+ import { TournamentManyTablesRoom, TournamentManyTablesRoomSchema } from './schemas/tournament_many_tables_rooms.schema';
58
+ import type { TournamentManyTablesRoomDocument } from './schemas/tournament_many_tables_rooms.schema';
59
+ import { TournamentResult, TournamentResultSchema } from './schemas/tournament_result.schema';
60
+ import type { TournamentResultDocument } from './schemas/tournament_result.schema';
61
+ import { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository, SimpleRoomsRepository, TournamentOneTableRoomsRepository, TournamentManyTablesRoomsRepository, TournamentResultRepository } from './repositories';
62
+ 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, MenuDocument, GameResultDocument, BalanceHistoryDocument, SimpleRoomDocument, TournamentOneTableRoomDocument, TournamentManyTablesRoomDocument, TournamentResultDocument, };
63
+ 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, GameResult, GameResultSchema, BalanceHistory, BalanceHistorySchema, SimpleRoom, SimpleRoomSchema, TournamentOneTableRoom, TournamentOneTableRoomSchema, TournamentManyTablesRoom, TournamentManyTablesRoomSchema, TournamentResult, TournamentResultSchema, };
64
+ export { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository, SimpleRoomsRepository, TournamentOneTableRoomsRepository, TournamentManyTablesRoomsRepository, TournamentResultRepository, };
57
65
  //# 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,C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,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,EACb,IAAI,EACJ,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,gBAAgB,EAChB,sBAAsB,GACzB,CAAA;AAED,OAAO,EACH,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,8BAA8B,EAC9B,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,EACrB,iCAAiC,EACjC,mCAAmC,EACnC,0BAA0B,GAC7B,CAAA"}
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GameResultSchema = exports.GameResult = 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.BalanceHistoryRepository = exports.GameResultRepository = exports.RoomsRepository = exports.MenuRepository = exports.UsersRepository = exports.ServersRepository = exports.ScheduledTournamentsRepository = exports.ProductsRepository = exports.NotificationRepository = exports.ComplainsRepository = exports.BannersRepository = exports.ArticleRepository = exports.AdminRepository = exports.BalanceHistorySchema = exports.BalanceHistory = void 0;
4
+ exports.TournamentResultRepository = exports.TournamentManyTablesRoomsRepository = exports.TournamentOneTableRoomsRepository = exports.SimpleRoomsRepository = exports.BalanceHistoryRepository = exports.GameResultRepository = exports.RoomsRepository = exports.MenuRepository = exports.UsersRepository = exports.ServersRepository = exports.ScheduledTournamentsRepository = exports.ProductsRepository = exports.NotificationRepository = exports.ComplainsRepository = exports.BannersRepository = exports.ArticleRepository = exports.AdminRepository = exports.TournamentResultSchema = exports.TournamentResult = exports.TournamentManyTablesRoomSchema = exports.TournamentManyTablesRoom = exports.TournamentOneTableRoomSchema = exports.TournamentOneTableRoom = exports.SimpleRoomSchema = exports.SimpleRoom = exports.BalanceHistorySchema = exports.BalanceHistory = 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; } });
@@ -80,6 +80,18 @@ Object.defineProperty(exports, "GameResultSchema", { enumerable: true, get: func
80
80
  const balance_history_schema_1 = require("./schemas/balance_history.schema");
81
81
  Object.defineProperty(exports, "BalanceHistory", { enumerable: true, get: function () { return balance_history_schema_1.BalanceHistory; } });
82
82
  Object.defineProperty(exports, "BalanceHistorySchema", { enumerable: true, get: function () { return balance_history_schema_1.BalanceHistorySchema; } });
83
+ const simple_rooms_schema_1 = require("./schemas/simple_rooms.schema");
84
+ Object.defineProperty(exports, "SimpleRoom", { enumerable: true, get: function () { return simple_rooms_schema_1.SimpleRoom; } });
85
+ Object.defineProperty(exports, "SimpleRoomSchema", { enumerable: true, get: function () { return simple_rooms_schema_1.SimpleRoomSchema; } });
86
+ const tournament_one_table_rooms_schema_1 = require("./schemas/tournament_one_table_rooms.schema");
87
+ Object.defineProperty(exports, "TournamentOneTableRoom", { enumerable: true, get: function () { return tournament_one_table_rooms_schema_1.TournamentOneTableRoom; } });
88
+ Object.defineProperty(exports, "TournamentOneTableRoomSchema", { enumerable: true, get: function () { return tournament_one_table_rooms_schema_1.TournamentOneTableRoomSchema; } });
89
+ const tournament_many_tables_rooms_schema_1 = require("./schemas/tournament_many_tables_rooms.schema");
90
+ Object.defineProperty(exports, "TournamentManyTablesRoom", { enumerable: true, get: function () { return tournament_many_tables_rooms_schema_1.TournamentManyTablesRoom; } });
91
+ Object.defineProperty(exports, "TournamentManyTablesRoomSchema", { enumerable: true, get: function () { return tournament_many_tables_rooms_schema_1.TournamentManyTablesRoomSchema; } });
92
+ const tournament_result_schema_1 = require("./schemas/tournament_result.schema");
93
+ Object.defineProperty(exports, "TournamentResult", { enumerable: true, get: function () { return tournament_result_schema_1.TournamentResult; } });
94
+ Object.defineProperty(exports, "TournamentResultSchema", { enumerable: true, get: function () { return tournament_result_schema_1.TournamentResultSchema; } });
83
95
  const repositories_1 = require("./repositories");
84
96
  Object.defineProperty(exports, "AdminRepository", { enumerable: true, get: function () { return repositories_1.AdminRepository; } });
85
97
  Object.defineProperty(exports, "ArticleRepository", { enumerable: true, get: function () { return repositories_1.ArticleRepository; } });
@@ -94,4 +106,8 @@ Object.defineProperty(exports, "MenuRepository", { enumerable: true, get: functi
94
106
  Object.defineProperty(exports, "RoomsRepository", { enumerable: true, get: function () { return repositories_1.RoomsRepository; } });
95
107
  Object.defineProperty(exports, "GameResultRepository", { enumerable: true, get: function () { return repositories_1.GameResultRepository; } });
96
108
  Object.defineProperty(exports, "BalanceHistoryRepository", { enumerable: true, get: function () { return repositories_1.BalanceHistoryRepository; } });
109
+ Object.defineProperty(exports, "SimpleRoomsRepository", { enumerable: true, get: function () { return repositories_1.SimpleRoomsRepository; } });
110
+ Object.defineProperty(exports, "TournamentOneTableRoomsRepository", { enumerable: true, get: function () { return repositories_1.TournamentOneTableRoomsRepository; } });
111
+ Object.defineProperty(exports, "TournamentManyTablesRoomsRepository", { enumerable: true, get: function () { return repositories_1.TournamentManyTablesRoomsRepository; } });
112
+ Object.defineProperty(exports, "TournamentResultRepository", { enumerable: true, get: function () { return repositories_1.TournamentResultRepository; } });
97
113
  //# 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;AAmGrD,qFAnGK,kBAAI,OAmGL;AACJ,2FApGW,wBAAU,OAoGX;AAlGd,6DAAgE;AAmG5D,uFAnGK,uBAAM,OAmGL;AACN,6FApGa,6BAAY,OAoGb;AAlGhB,qEAA4E;AAmGxE,2FAnGK,+BAAU,OAmGL;AACV,iGApGiB,qCAAgB,OAoGjB;AAlGpB,6DAAgE;AAmG5D,uFAnGK,uBAAM,OAmGL;AACN,6FApGa,6BAAY,OAoGb;AAlGhB,6DAAgE;AAmG5D,uFAnGK,uBAAM,OAmGL;AACN,6FApGa,6BAAY,OAoGb;AAlGhB,6DAAgE;AAmG5D,uFAnGK,uBAAM,OAmGL;AACN,6FApGa,6BAAY,OAoGb;AAlGhB,6DAAgE;AAmG5D,uFAnGK,uBAAM,OAmGL;AACN,6FApGa,6BAAY,OAoGb;AAlGhB,+DAA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U,OAoHX;AAlHd,qEAA4E;AAmHxE,2FAnHK,+BAAU,OAmHL;AACV,iGApHiB,qCAAgB,OAoHjB;AAlHpB,6EAAwF;AAmHpF,+FAnHK,uCAAc,OAmHL;AACd,qGApHqB,6CAAoB,OAoHrB;AAlHxB,uEAA6E;AAmHzE,2FAnHK,gCAAU,OAmHL;AACV,iGApHiB,sCAAgB,OAoHjB;AAlHpB,mGAAoH;AAmHhH,uGAnHK,0DAAsB,OAmHL;AACtB,6GApH6B,gEAA4B,OAoH7B;AAlHhC,uGAAyH;AAmHrH,yGAnHK,8DAAwB,OAmHL;AACxB,+GApH+B,oEAA8B,OAoH/B;AAlHlC,iFAA8F;AAmH1F,iGAnHK,2CAAgB,OAmHL;AAChB,uGApHuB,iDAAsB,OAoHvB;AAjH1B,iDAkBuB;AAmGnB,gGApHA,8BAAe,OAoHA;AACf,kGApHA,gCAAiB,OAoHA;AACjB,kGApHA,gCAAiB,OAoHA;AACjB,oGApHA,kCAAmB,OAoHA;AACnB,uGApHA,qCAAsB,OAoHA;AACtB,mGApHA,iCAAkB,OAoHA;AAClB,+GApHA,6CAA8B,OAoHA;AAC9B,kGApHA,gCAAiB,OAoHA;AACjB,gGApHA,8BAAe,OAoHA;AACf,+FApHA,6BAAc,OAoHA;AACd,gGApHA,8BAAe,OAoHA;AACf,qGApHA,mCAAoB,OAoHA;AACpB,yGApHA,uCAAwB,OAoHA;AACxB,sGApHA,oCAAqB,OAoHA;AACrB,kHApHA,gDAAiC,OAoHA;AACjC,oHApHA,kDAAmC,OAoHA;AACnC,2GApHA,yCAA0B,OAoHA"}
@@ -11,5 +11,9 @@ import { MenuRepository } from './menu.repository';
11
11
  import { RoomsRepository } from './rooms.repository';
12
12
  import { GameResultRepository } from './game-result.repository';
13
13
  import { BalanceHistoryRepository } from './balance-history.repository';
14
- export { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository, };
14
+ import { SimpleRoomsRepository } from './simple-rooms.repository';
15
+ import { TournamentOneTableRoomsRepository } from './tournament-one-table-rooms.repository';
16
+ import { TournamentManyTablesRoomsRepository } from './tournament-many-tables-rooms.repository';
17
+ import { TournamentResultRepository } from './tournament-result.repository';
18
+ export { AdminRepository, ArticleRepository, BannersRepository, ComplainsRepository, NotificationRepository, ProductsRepository, ScheduledTournamentsRepository, ServersRepository, UsersRepository, MenuRepository, RoomsRepository, GameResultRepository, BalanceHistoryRepository, SimpleRoomsRepository, TournamentOneTableRoomsRepository, TournamentManyTablesRoomsRepository, TournamentResultRepository, };
15
19
  //# 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,wBAAwB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,8BAA8B,EAAE,MAAM,oCAAoC,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,EACH,eAAe,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AAkB,EAClB,8BAA8B,EAC9B,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,EACrB,iCAAiC,EACjC,mCAAmC,EACnC,0BAA0B,GAC7B,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BalanceHistoryRepository = exports.GameResultRepository = exports.RoomsRepository = exports.MenuRepository = exports.UsersRepository = exports.ServersRepository = exports.ScheduledTournamentsRepository = exports.ProductsRepository = exports.NotificationRepository = exports.ComplainsRepository = exports.BannersRepository = exports.ArticleRepository = exports.AdminRepository = void 0;
3
+ exports.TournamentResultRepository = exports.TournamentManyTablesRoomsRepository = exports.TournamentOneTableRoomsRepository = exports.SimpleRoomsRepository = exports.BalanceHistoryRepository = exports.GameResultRepository = exports.RoomsRepository = 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");
@@ -27,4 +27,12 @@ const game_result_repository_1 = require("./game-result.repository");
27
27
  Object.defineProperty(exports, "GameResultRepository", { enumerable: true, get: function () { return game_result_repository_1.GameResultRepository; } });
28
28
  const balance_history_repository_1 = require("./balance-history.repository");
29
29
  Object.defineProperty(exports, "BalanceHistoryRepository", { enumerable: true, get: function () { return balance_history_repository_1.BalanceHistoryRepository; } });
30
+ const simple_rooms_repository_1 = require("./simple-rooms.repository");
31
+ Object.defineProperty(exports, "SimpleRoomsRepository", { enumerable: true, get: function () { return simple_rooms_repository_1.SimpleRoomsRepository; } });
32
+ const tournament_one_table_rooms_repository_1 = require("./tournament-one-table-rooms.repository");
33
+ Object.defineProperty(exports, "TournamentOneTableRoomsRepository", { enumerable: true, get: function () { return tournament_one_table_rooms_repository_1.TournamentOneTableRoomsRepository; } });
34
+ const tournament_many_tables_rooms_repository_1 = require("./tournament-many-tables-rooms.repository");
35
+ Object.defineProperty(exports, "TournamentManyTablesRoomsRepository", { enumerable: true, get: function () { return tournament_many_tables_rooms_repository_1.TournamentManyTablesRoomsRepository; } });
36
+ const tournament_result_repository_1 = require("./tournament-result.repository");
37
+ Object.defineProperty(exports, "TournamentResultRepository", { enumerable: true, get: function () { return tournament_result_repository_1.TournamentResultRepository; } });
30
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":";;;AAAA,yDAAqD;AAejD,gGAfK,kCAAe,OAeL;AAdnB,6DAAyD;AAerD,kGAfK,sCAAiB,OAeL;AAdrB,6DAAyD;AAerD,kGAfK,sCAAiB,OAeL;AAdrB,iEAA6D;AAezD,oGAfK,0CAAmB,OAeL;AAdvB,uEAAmE;AAe/D,uGAfK,gDAAsB,OAeL;AAd1B,+DAA2D;AAevD,mGAfK,wCAAkB,OAeL;AAdtB,yFAAoF;AAehF,+GAfK,iEAA8B,OAeL;AAdlC,6DAAyD;AAerD,kGAfK,sCAAiB,OAeL;AAdrB,yDAAqD;AAejD,gGAfK,kCAAe,OAeL;AAdnB,uDAAmD;AAe/C,+FAfK,gCAAc,OAeL;AAdlB,yDAAqD;AAejD,gGAfK,kCAAe,OAeL;AAdnB,qEAAgE;AAe5D,qGAfK,6CAAoB,OAeL;AAdxB,6EAAwE;AAepE,yGAfK,qDAAwB,OAeL"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":";;;AAAA,yDAAqD;AAmBjD,gGAnBK,kCAAe,OAmBL;AAlBnB,6DAAyD;AAmBrD,kGAnBK,sCAAiB,OAmBL;AAlBrB,6DAAyD;AAmBrD,kGAnBK,sCAAiB,OAmBL;AAlBrB,iEAA6D;AAmBzD,oGAnBK,0CAAmB,OAmBL;AAlBvB,uEAAmE;AAmB/D,uGAnBK,gDAAsB,OAmBL;AAlB1B,+DAA2D;AAmBvD,mGAnBK,wCAAkB,OAmBL;AAlBtB,yFAAoF;AAmBhF,+GAnBK,iEAA8B,OAmBL;AAlBlC,6DAAyD;AAmBrD,kGAnBK,sCAAiB,OAmBL;AAlBrB,yDAAqD;AAmBjD,gGAnBK,kCAAe,OAmBL;AAlBnB,uDAAmD;AAmB/C,+FAnBK,gCAAc,OAmBL;AAlBlB,yDAAqD;AAmBjD,gGAnBK,kCAAe,OAmBL;AAlBnB,qEAAgE;AAmB5D,qGAnBK,6CAAoB,OAmBL;AAlBxB,6EAAwE;AAmBpE,yGAnBK,qDAAwB,OAmBL;AAlB5B,uEAAkE;AAmB9D,sGAnBK,+CAAqB,OAmBL;AAlBzB,mGAA4F;AAmBxF,kHAnBK,yEAAiC,OAmBL;AAlBrC,uGAAgG;AAmB5F,oHAnBK,6EAAmC,OAmBL;AAlBvC,iFAA4E;AAmBxE,2GAnBK,yDAA0B,OAmBL"}
@@ -0,0 +1,8 @@
1
+ import { Model } from 'mongoose';
2
+ import { SimpleRoomDocument } from '../';
3
+ export declare class SimpleRoomsRepository {
4
+ private roomModel;
5
+ constructor(roomModel: Model<SimpleRoomDocument>);
6
+ findRooms(gameType: string): Promise<Array<SimpleRoomDocument>>;
7
+ }
8
+ //# sourceMappingURL=simple-rooms.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simple-rooms.repository.d.ts","sourceRoot":"","sources":["../../src/repositories/simple-rooms.repository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,OAAO,EAAc,kBAAkB,EAAE,MAAM,KAAK,CAAC;AAErD,qBACa,qBAAqB;IACa,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,KAAK,CAAC,kBAAkB,CAAC;IAGjF,SAAS,CAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;CAKzE"}
@@ -0,0 +1,36 @@
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.SimpleRoomsRepository = 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
+ let SimpleRoomsRepository = class SimpleRoomsRepository {
21
+ constructor(roomModel) {
22
+ this.roomModel = roomModel;
23
+ }
24
+ async findRooms(gameType) {
25
+ return this.roomModel
26
+ .find({ gameType })
27
+ .exec();
28
+ }
29
+ };
30
+ exports.SimpleRoomsRepository = SimpleRoomsRepository;
31
+ exports.SimpleRoomsRepository = SimpleRoomsRepository = __decorate([
32
+ (0, common_1.Injectable)(),
33
+ __param(0, (0, mongoose_1.InjectModel)(__1.SimpleRoom.name)),
34
+ __metadata("design:paramtypes", [mongoose_2.Model])
35
+ ], SimpleRoomsRepository);
36
+ //# sourceMappingURL=simple-rooms.repository.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simple-rooms.repository.js","sourceRoot":"","sources":["../../src/repositories/simple-rooms.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAA+C;AAC/C,uCAAiC;AAEjC,2BAAqD;AAG9C,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAC9B,YAAmD,SAAoC;QAApC,cAAS,GAAT,SAAS,CAA2B;IACvF,CAAC;IAED,KAAK,CAAC,SAAS,CAAE,QAAgB;QAC7B,OAAO,IAAI,CAAC,SAAS;aAChB,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;aAClB,IAAI,EAAE,CAAC;IAChB,CAAC;CACJ,CAAA;AATY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,mBAAU,GAAE;IAEK,WAAA,IAAA,sBAAW,EAAC,cAAU,CAAC,IAAI,CAAC,CAAA;qCAAoB,gBAAK;GAD1D,qBAAqB,CASjC"}
@@ -0,0 +1,8 @@
1
+ import { Model } from 'mongoose';
2
+ import { TournamentManyTablesRoomDocument } from '../';
3
+ export declare class TournamentManyTablesRoomsRepository {
4
+ private roomModel;
5
+ constructor(roomModel: Model<TournamentManyTablesRoomDocument>);
6
+ findRooms(gameType: string): Promise<Array<TournamentManyTablesRoomDocument>>;
7
+ }
8
+ //# sourceMappingURL=tournament-many-tables-rooms.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tournament-many-tables-rooms.repository.d.ts","sourceRoot":"","sources":["../../src/repositories/tournament-many-tables-rooms.repository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,OAAO,EAA4B,gCAAgC,EAAE,MAAM,KAAK,CAAC;AAEjF,qBACa,mCAAmC;IACa,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,KAAK,CAAC,gCAAgC,CAAC;IAG7G,SAAS,CAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,gCAAgC,CAAC,CAAC;CAKvF"}
@@ -0,0 +1,36 @@
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.TournamentManyTablesRoomsRepository = 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
+ let TournamentManyTablesRoomsRepository = class TournamentManyTablesRoomsRepository {
21
+ constructor(roomModel) {
22
+ this.roomModel = roomModel;
23
+ }
24
+ async findRooms(gameType) {
25
+ return this.roomModel
26
+ .find({ gameType })
27
+ .exec();
28
+ }
29
+ };
30
+ exports.TournamentManyTablesRoomsRepository = TournamentManyTablesRoomsRepository;
31
+ exports.TournamentManyTablesRoomsRepository = TournamentManyTablesRoomsRepository = __decorate([
32
+ (0, common_1.Injectable)(),
33
+ __param(0, (0, mongoose_1.InjectModel)(__1.TournamentManyTablesRoom.name)),
34
+ __metadata("design:paramtypes", [mongoose_2.Model])
35
+ ], TournamentManyTablesRoomsRepository);
36
+ //# sourceMappingURL=tournament-many-tables-rooms.repository.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tournament-many-tables-rooms.repository.js","sourceRoot":"","sources":["../../src/repositories/tournament-many-tables-rooms.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAA+C;AAC/C,uCAAiC;AAEjC,2BAAiF;AAG1E,IAAM,mCAAmC,GAAzC,MAAM,mCAAmC;IAC5C,YAAiE,SAAkD;QAAlD,cAAS,GAAT,SAAS,CAAyC;IACnH,CAAC;IAED,KAAK,CAAC,SAAS,CAAE,QAAgB;QAC7B,OAAO,IAAI,CAAC,SAAS;aAChB,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;aAClB,IAAI,EAAE,CAAC;IAChB,CAAC;CACJ,CAAA;AATY,kFAAmC;8CAAnC,mCAAmC;IAD/C,IAAA,mBAAU,GAAE;IAEK,WAAA,IAAA,sBAAW,EAAC,4BAAwB,CAAC,IAAI,CAAC,CAAA;qCAAoB,gBAAK;GADxE,mCAAmC,CAS/C"}
@@ -0,0 +1,8 @@
1
+ import { Model } from 'mongoose';
2
+ import { TournamentOneTableRoomDocument } from '../';
3
+ export declare class TournamentOneTableRoomsRepository {
4
+ private roomModel;
5
+ constructor(roomModel: Model<TournamentOneTableRoomDocument>);
6
+ findRooms(gameType: string): Promise<Array<TournamentOneTableRoomDocument>>;
7
+ }
8
+ //# sourceMappingURL=tournament-one-table-rooms.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tournament-one-table-rooms.repository.d.ts","sourceRoot":"","sources":["../../src/repositories/tournament-one-table-rooms.repository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,OAAO,EAA0B,8BAA8B,EAAE,MAAM,KAAK,CAAC;AAE7E,qBACa,iCAAiC;IACa,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,KAAK,CAAC,8BAA8B,CAAC;IAGzG,SAAS,CAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,8BAA8B,CAAC,CAAC;CAKrF"}
@@ -0,0 +1,36 @@
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.TournamentOneTableRoomsRepository = 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
+ let TournamentOneTableRoomsRepository = class TournamentOneTableRoomsRepository {
21
+ constructor(roomModel) {
22
+ this.roomModel = roomModel;
23
+ }
24
+ async findRooms(gameType) {
25
+ return this.roomModel
26
+ .find({ gameType })
27
+ .exec();
28
+ }
29
+ };
30
+ exports.TournamentOneTableRoomsRepository = TournamentOneTableRoomsRepository;
31
+ exports.TournamentOneTableRoomsRepository = TournamentOneTableRoomsRepository = __decorate([
32
+ (0, common_1.Injectable)(),
33
+ __param(0, (0, mongoose_1.InjectModel)(__1.TournamentOneTableRoom.name)),
34
+ __metadata("design:paramtypes", [mongoose_2.Model])
35
+ ], TournamentOneTableRoomsRepository);
36
+ //# sourceMappingURL=tournament-one-table-rooms.repository.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tournament-one-table-rooms.repository.js","sourceRoot":"","sources":["../../src/repositories/tournament-one-table-rooms.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAA+C;AAC/C,uCAAiC;AAEjC,2BAA6E;AAGtE,IAAM,iCAAiC,GAAvC,MAAM,iCAAiC;IAC1C,YAA+D,SAAgD;QAAhD,cAAS,GAAT,SAAS,CAAuC;IAC/G,CAAC;IAED,KAAK,CAAC,SAAS,CAAE,QAAgB;QAC7B,OAAO,IAAI,CAAC,SAAS;aAChB,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;aAClB,IAAI,EAAE,CAAC;IAChB,CAAC;CACJ,CAAA;AATY,8EAAiC;4CAAjC,iCAAiC;IAD7C,IAAA,mBAAU,GAAE;IAEK,WAAA,IAAA,sBAAW,EAAC,0BAAsB,CAAC,IAAI,CAAC,CAAA;qCAAoB,gBAAK;GADtE,iCAAiC,CAS7C"}
@@ -0,0 +1,9 @@
1
+ import { Model } from 'mongoose';
2
+ import { TournamentResult, TournamentResultDocument } from '../';
3
+ export declare class TournamentResultRepository {
4
+ private resultModel;
5
+ constructor(resultModel: Model<TournamentResultDocument>);
6
+ findByTournamentId(tournamentId: string): Promise<TournamentResultDocument | null>;
7
+ createResult(result: Partial<TournamentResult>): Promise<TournamentResult>;
8
+ }
9
+ //# sourceMappingURL=tournament-result.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tournament-result.repository.d.ts","sourceRoot":"","sources":["../../src/repositories/tournament-result.repository.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAQ,MAAM,KAAK,CAAC;AAEvE,qBACa,0BAA0B;IACc,OAAO,CAAC,WAAW;gBAAX,WAAW,EAAE,KAAK,CAAC,wBAAwB,CAAC;IAG/F,kBAAkB,CAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,wBAAwB,GAAG,IAAI,CAAC;IAMnF,YAAY,CAAE,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAGpF"}
@@ -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.TournamentResultRepository = 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
+ let TournamentResultRepository = class TournamentResultRepository {
21
+ constructor(resultModel) {
22
+ this.resultModel = resultModel;
23
+ }
24
+ async findByTournamentId(tournamentId) {
25
+ return this.resultModel
26
+ .findOne({ tournamentId })
27
+ .exec();
28
+ }
29
+ async createResult(result) {
30
+ return this.resultModel.create(result);
31
+ }
32
+ };
33
+ exports.TournamentResultRepository = TournamentResultRepository;
34
+ exports.TournamentResultRepository = TournamentResultRepository = __decorate([
35
+ (0, common_1.Injectable)(),
36
+ __param(0, (0, mongoose_1.InjectModel)(__1.TournamentResult.name)),
37
+ __metadata("design:paramtypes", [mongoose_2.Model])
38
+ ], TournamentResultRepository);
39
+ //# sourceMappingURL=tournament-result.repository.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tournament-result.repository.js","sourceRoot":"","sources":["../../src/repositories/tournament-result.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,+CAA+C;AAC/C,uCAAiC;AAEjC,2BAAuE;AAGhE,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACnC,YAAyD,WAA4C;QAA5C,gBAAW,GAAX,WAAW,CAAiC;IACrG,CAAC;IAED,KAAK,CAAC,kBAAkB,CAAE,YAAoB;QAC1C,OAAO,IAAI,CAAC,WAAW;aAClB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;aACzB,IAAI,EAAE,CAAC;IAChB,CAAC;IAED,KAAK,CAAC,YAAY,CAAE,MAAiC;QACjD,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3C,CAAC;CACJ,CAAA;AAbY,gEAA0B;qCAA1B,0BAA0B;IADtC,IAAA,mBAAU,GAAE;IAEK,WAAA,IAAA,sBAAW,EAAC,oBAAgB,CAAC,IAAI,CAAC,CAAA;qCAAsB,gBAAK;GADlE,0BAA0B,CAatC"}
@@ -17,7 +17,7 @@ exports.Achievement = Achievement;
17
17
  __decorate([
18
18
  (0, mongoose_1.Virtual)({
19
19
  get: function () {
20
- return this._id;
20
+ return this._id.toString();
21
21
  },
22
22
  }),
23
23
  __metadata("design:type", String)
@@ -1 +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,GAAG,CAAC;QACpB,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"}
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,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,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"}
@@ -17,7 +17,7 @@ exports.Admin = Admin;
17
17
  __decorate([
18
18
  (0, mongoose_1.Virtual)({
19
19
  get: function () {
20
- return this._id;
20
+ return this._id.toString();
21
21
  },
22
22
  }),
23
23
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"admin.schema.js","sourceRoot":"","sources":["../../src/schemas/admin.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,KAAK,GAAX,MAAM,KAAK;CAajB,CAAA;AAbY,sBAAK;AAML;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;QACpB,CAAC;KACJ,CAAC;;sCACuB;AAGzB;IADC,IAAA,eAAI,GAAE;;oCACO;AAGd;IADC,IAAA,eAAI,GAAE;;mCACM;gBAZJ,KAAK;IADjB,IAAA,iBAAM,GAAE;GACI,KAAK,CAajB;AAEY,QAAA,WAAW,GAAG,wBAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"admin.schema.js","sourceRoot":"","sources":["../../src/schemas/admin.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,KAAK,GAAX,MAAM,KAAK;CAajB,CAAA;AAbY,sBAAK;AAML;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;sCACuB;AAGzB;IADC,IAAA,eAAI,GAAE;;oCACO;AAGd;IADC,IAAA,eAAI,GAAE;;mCACM;gBAZJ,KAAK;IADjB,IAAA,iBAAM,GAAE;GACI,KAAK,CAajB;AAEY,QAAA,WAAW,GAAG,wBAAa,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC"}
@@ -17,7 +17,7 @@ exports.Article = Article;
17
17
  __decorate([
18
18
  (0, mongoose_1.Virtual)({
19
19
  get: function () {
20
- return this._id;
20
+ return this._id.toString();
21
21
  },
22
22
  }),
23
23
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"article.schema.js","sourceRoot":"","sources":["../../src/schemas/article.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CA4BnB,CAAA;AA5BY,0BAAO;AAMP;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;QACpB,CAAC;KACJ,CAAC;;0CACyB;AAG3B;IADC,IAAA,eAAI,GAAE;;sCACO;AAGd;IADC,IAAA,eAAI,GAAE;;wCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;uCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;sCACO;AAGd;IADC,IAAA,eAAI,GAAE;8BACK,IAAI;2CAAC;AAGjB;IADC,IAAA,eAAI,GAAE;;yCACU;kBA3BR,OAAO;IADnB,IAAA,iBAAM,GAAE;GACI,OAAO,CA4BnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"article.schema.js","sourceRoot":"","sources":["../../src/schemas/article.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CA4BnB,CAAA;AA5BY,0BAAO;AAMP;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;0CACyB;AAG3B;IADC,IAAA,eAAI,GAAE;;sCACO;AAGd;IADC,IAAA,eAAI,GAAE;;wCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;uCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;sCACO;AAGd;IADC,IAAA,eAAI,GAAE;8BACK,IAAI;2CAAC;AAGjB;IADC,IAAA,eAAI,GAAE;;yCACU;kBA3BR,OAAO;IADnB,IAAA,iBAAM,GAAE;GACI,OAAO,CA4BnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
@@ -17,7 +17,7 @@ exports.BalanceHistory = BalanceHistory;
17
17
  __decorate([
18
18
  (0, mongoose_1.Virtual)({
19
19
  get: function () {
20
- return this._id;
20
+ return this._id.toString();
21
21
  },
22
22
  }),
23
23
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"balance_history.schema.js","sourceRoot":"","sources":["../../src/schemas/balance_history.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,cAAc,GAApB,MAAM,cAAc;CA4B1B,CAAA;AA5BY,wCAAc;AAMd;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;QACpB,CAAC;KACJ,CAAC;;wDACgC;AAGlC;IADC,IAAA,eAAI,GAAE;8BACD,IAAI;4CAAC;AAGX;IADC,IAAA,eAAI,GAAE;;gDACU;AAGjB;IADC,IAAA,eAAI,GAAE;;8CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;8CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;8CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;+CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;qDACe;yBA3Bb,cAAc;IAD1B,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC;GAC7B,cAAc,CA4B1B;AAEY,QAAA,oBAAoB,GAAG,wBAAa,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"balance_history.schema.js","sourceRoot":"","sources":["../../src/schemas/balance_history.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,cAAc,GAApB,MAAM,cAAc;CA4B1B,CAAA;AA5BY,wCAAc;AAMd;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;wDACgC;AAGlC;IADC,IAAA,eAAI,GAAE;8BACD,IAAI;4CAAC;AAGX;IADC,IAAA,eAAI,GAAE;;gDACU;AAGjB;IADC,IAAA,eAAI,GAAE;;8CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;8CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;8CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;+CACS;AAGhB;IADC,IAAA,eAAI,GAAE;;qDACe;yBA3Bb,cAAc;IAD1B,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC;GAC7B,cAAc,CA4B1B;AAEY,QAAA,oBAAoB,GAAG,wBAAa,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC"}
@@ -17,7 +17,7 @@ exports.Banner = Banner;
17
17
  __decorate([
18
18
  (0, mongoose_1.Virtual)({
19
19
  get: function () {
20
- return this._id;
20
+ return this._id.toString();
21
21
  },
22
22
  }),
23
23
  __metadata("design:type", String)
@@ -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;CA+BlB,CAAA;AA/BY,wBAAM;AAMN;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;QACpB,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"}
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,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,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"}
@@ -17,7 +17,7 @@ exports.ChannelMessage = ChannelMessage;
17
17
  __decorate([
18
18
  (0, mongoose_1.Virtual)({
19
19
  get: function () {
20
- return this._id;
20
+ return this._id.toString();
21
21
  },
22
22
  }),
23
23
  __metadata("design:type", String)
@@ -1 +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,GAAG,CAAC;QACpB,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"}
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,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,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"}
@@ -17,7 +17,7 @@ exports.Complain = Complain;
17
17
  __decorate([
18
18
  (0, mongoose_1.Virtual)({
19
19
  get: function () {
20
- return this._id;
20
+ return this._id.toString();
21
21
  },
22
22
  }),
23
23
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"complain.schema.js","sourceRoot":"","sources":["../../src/schemas/complain.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,QAAQ,GAAd,MAAM,QAAQ;CAqCpB,CAAA;AArCY,4BAAQ;AAMR;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;QACpB,CAAC;KACJ,CAAC;;4CAC0B;AAG5B;IADC,IAAA,eAAI,GAAE;;+CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;6CACa;AAGpB;IADC,IAAA,eAAI,GAAE;;kDACmB;AAG1B;IADC,IAAA,eAAI,GAAE;;gDACgB;AAGvB;IADC,IAAA,eAAI,GAAE;;+CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;6CACa;AAGpB;IADC,IAAA,eAAI,GAAE;;kDACmB;AAG1B;IADC,IAAA,eAAI,GAAE;;gDACgB;AAGvB;IADC,IAAA,eAAI,GAAE;;8CACe;AAGtB;IADC,IAAA,eAAI,GAAE;8BACK,IAAI;4CAAC;mBApCR,QAAQ;IADpB,IAAA,iBAAM,GAAE;GACI,QAAQ,CAqCpB;AAEY,QAAA,cAAc,GAAG,wBAAa,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"complain.schema.js","sourceRoot":"","sources":["../../src/schemas/complain.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,QAAQ,GAAd,MAAM,QAAQ;CAqCpB,CAAA;AArCY,4BAAQ;AAMR;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;4CAC0B;AAG5B;IADC,IAAA,eAAI,GAAE;;+CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;6CACa;AAGpB;IADC,IAAA,eAAI,GAAE;;kDACmB;AAG1B;IADC,IAAA,eAAI,GAAE;;gDACgB;AAGvB;IADC,IAAA,eAAI,GAAE;;+CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;6CACa;AAGpB;IADC,IAAA,eAAI,GAAE;;kDACmB;AAG1B;IADC,IAAA,eAAI,GAAE;;gDACgB;AAGvB;IADC,IAAA,eAAI,GAAE;;8CACe;AAGtB;IADC,IAAA,eAAI,GAAE;8BACK,IAAI;4CAAC;mBApCR,QAAQ;IADpB,IAAA,iBAAM,GAAE;GACI,QAAQ,CAqCpB;AAEY,QAAA,cAAc,GAAG,wBAAa,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC"}
@@ -17,7 +17,7 @@ exports.Feature = Feature;
17
17
  __decorate([
18
18
  (0, mongoose_1.Virtual)({
19
19
  get: function () {
20
- return this._id;
20
+ return this._id.toString();
21
21
  },
22
22
  }),
23
23
  __metadata("design:type", String)
@@ -1 +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,GAAG,CAAC;QACpB,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"}
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,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,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"}
@@ -18,7 +18,7 @@ exports.GameResult = GameResult;
18
18
  __decorate([
19
19
  (0, mongoose_1.Virtual)({
20
20
  get: function () {
21
- return this._id;
21
+ return this._id.toString();
22
22
  },
23
23
  }),
24
24
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"game_result.schema.js","sourceRoot":"","sources":["../../src/schemas/game_result.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AACxE,uCAA0E;AA8BnE,IAAM,UAAU,GAAhB,MAAM,UAAU;CAkCtB,CAAA;AAlCY,gCAAU;AAMV;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;QACpB,CAAC;KACJ,CAAC;;gDAC4B;AAG9B;IADC,IAAA,eAAI,GAAE;8BACD,IAAI;wCAAC;AAGX;IADC,IAAA,eAAI,GAAE;;4CACU;AAGjB;IADC,IAAA,eAAI,GAAE;;0CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;0CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;uCACK;AAGZ;IADC,IAAA,eAAI,GAAE;8BACE,KAAK;2CAAoB;AAGlC;IADC,IAAA,eAAI,GAAE;8BACE,KAAK;2CAAoB;AAGlC;IADC,IAAA,eAAI,GAAE;8BACE,KAAK;2CAAyB;AAGvC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,sBAAW,CAAC,KAAK,EAAE,CAAC;;6CAClB;qBAjCP,UAAU;IADtB,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC;GAC1B,UAAU,CAkCtB;AAEY,QAAA,gBAAgB,GAAG,wBAAa,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"game_result.schema.js","sourceRoot":"","sources":["../../src/schemas/game_result.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AACxE,uCAA0E;AA8BnE,IAAM,UAAU,GAAhB,MAAM,UAAU;CAkCtB,CAAA;AAlCY,gCAAU;AAMV;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;gDAC4B;AAG9B;IADC,IAAA,eAAI,GAAE;8BACD,IAAI;wCAAC;AAGX;IADC,IAAA,eAAI,GAAE;;4CACU;AAGjB;IADC,IAAA,eAAI,GAAE;;0CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;0CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;uCACK;AAGZ;IADC,IAAA,eAAI,GAAE;8BACE,KAAK;2CAAoB;AAGlC;IADC,IAAA,eAAI,GAAE;8BACE,KAAK;2CAAoB;AAGlC;IADC,IAAA,eAAI,GAAE;8BACE,KAAK;2CAAyB;AAGvC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,sBAAW,CAAC,KAAK,EAAE,CAAC;;6CAClB;qBAjCP,UAAU;IADtB,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC;GAC1B,UAAU,CAkCtB;AAEY,QAAA,gBAAgB,GAAG,wBAAa,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC"}
@@ -17,7 +17,7 @@ exports.Menu = Menu;
17
17
  __decorate([
18
18
  (0, mongoose_1.Virtual)({
19
19
  get: function () {
20
- return this._id;
20
+ return this._id.toString();
21
21
  },
22
22
  }),
23
23
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"menu.schema.js","sourceRoot":"","sources":["../../src/schemas/menu.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,IAAI,GAAV,MAAM,IAAI;CA+BhB,CAAA;AA/BY,oBAAI;AAMJ;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;QACpB,CAAC;KACJ,CAAC;;oCACsB;AAGxB;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;mCACO;AAGd;IADC,IAAA,eAAI,GAAE;;qCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;iCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;sCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;qCACS;eA9BP,IAAI;IADhB,IAAA,iBAAM,GAAE;GACI,IAAI,CA+BhB;AAEY,QAAA,UAAU,GAAG,wBAAa,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC"}
1
+ {"version":3,"file":"menu.schema.js","sourceRoot":"","sources":["../../src/schemas/menu.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,IAAI,GAAV,MAAM,IAAI;CA+BhB,CAAA;AA/BY,oBAAI;AAMJ;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;oCACsB;AAGxB;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;mCACO;AAGd;IADC,IAAA,eAAI,GAAE;;qCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;iCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;sCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;qCACS;eA9BP,IAAI;IADhB,IAAA,iBAAM,GAAE;GACI,IAAI,CA+BhB;AAEY,QAAA,UAAU,GAAG,wBAAa,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC"}
@@ -17,7 +17,7 @@ exports.Notification = Notification;
17
17
  __decorate([
18
18
  (0, mongoose_1.Virtual)({
19
19
  get: function () {
20
- return this._id;
20
+ return this._id.toString();
21
21
  },
22
22
  }),
23
23
  __metadata("design:type", String)
@@ -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;CAoDxB,CAAA;AApDY,oCAAY;AAMZ;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;QACpB,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"}
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,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,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"}