jp.db.schemas 2.2.12 → 2.2.13

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 (187) hide show
  1. package/dist/index.d.ts +4 -8
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +2 -11
  4. package/dist/index.js.map +1 -1
  5. package/dist/models/experiences-level-edge.enum.d.ts +5 -0
  6. package/dist/models/experiences-level-edge.enum.d.ts.map +1 -0
  7. package/dist/models/experiences-level-edge.enum.js +9 -0
  8. package/dist/models/experiences-level-edge.enum.js.map +1 -0
  9. package/dist/models/experiences-level-rank.enum.d.ts +6 -0
  10. package/dist/models/experiences-level-rank.enum.d.ts.map +1 -0
  11. package/dist/models/experiences-level-rank.enum.js +10 -0
  12. package/dist/models/experiences-level-rank.enum.js.map +1 -0
  13. package/dist/models/rating-add-bulk-item.interface.d.ts +1 -1
  14. package/dist/models/rating-add-bulk-item.interface.d.ts.map +1 -1
  15. package/dist/models/rating-monthly-result.interface.d.ts +2 -1
  16. package/dist/models/rating-monthly-result.interface.d.ts.map +1 -1
  17. package/dist/repositories/achievement.repository.d.ts +1 -1
  18. package/dist/repositories/achievement.repository.d.ts.map +1 -1
  19. package/dist/repositories/achievement.repository.js +7 -2
  20. package/dist/repositories/achievement.repository.js.map +1 -1
  21. package/dist/repositories/activity-log.repository.d.ts +6 -6
  22. package/dist/repositories/activity-log.repository.d.ts.map +1 -1
  23. package/dist/repositories/activity-log.repository.js +13 -13
  24. package/dist/repositories/activity-log.repository.js.map +1 -1
  25. package/dist/repositories/banners.repository.d.ts +1 -1
  26. package/dist/repositories/banners.repository.d.ts.map +1 -1
  27. package/dist/repositories/banners.repository.js +9 -2
  28. package/dist/repositories/banners.repository.js.map +1 -1
  29. package/dist/repositories/daily-bonus.repository.d.ts +1 -1
  30. package/dist/repositories/daily-bonus.repository.d.ts.map +1 -1
  31. package/dist/repositories/daily-bonus.repository.js +3 -2
  32. package/dist/repositories/daily-bonus.repository.js.map +1 -1
  33. package/dist/repositories/friend.repository.d.ts +1 -1
  34. package/dist/repositories/friend.repository.d.ts.map +1 -1
  35. package/dist/repositories/friend.repository.js +2 -7
  36. package/dist/repositories/friend.repository.js.map +1 -1
  37. package/dist/repositories/game-statistic.repository.d.ts +1 -1
  38. package/dist/repositories/game-statistic.repository.d.ts.map +1 -1
  39. package/dist/repositories/game-statistic.repository.js +2 -2
  40. package/dist/repositories/game-statistic.repository.js.map +1 -1
  41. package/dist/repositories/index.d.ts +1 -3
  42. package/dist/repositories/index.d.ts.map +1 -1
  43. package/dist/repositories/index.js +1 -5
  44. package/dist/repositories/index.js.map +1 -1
  45. package/dist/repositories/menu.repository.d.ts +1 -1
  46. package/dist/repositories/menu.repository.d.ts.map +1 -1
  47. package/dist/repositories/menu.repository.js +3 -2
  48. package/dist/repositories/menu.repository.js.map +1 -1
  49. package/dist/repositories/premium.repository.d.ts +1 -1
  50. package/dist/repositories/premium.repository.d.ts.map +1 -1
  51. package/dist/repositories/premium.repository.js +8 -2
  52. package/dist/repositories/premium.repository.js.map +1 -1
  53. package/dist/repositories/products.repository.d.ts +1 -1
  54. package/dist/repositories/products.repository.d.ts.map +1 -1
  55. package/dist/repositories/products.repository.js +3 -2
  56. package/dist/repositories/products.repository.js.map +1 -1
  57. package/dist/repositories/rating.repository.d.ts +0 -1
  58. package/dist/repositories/rating.repository.d.ts.map +1 -1
  59. package/dist/repositories/rating.repository.js +3 -10
  60. package/dist/repositories/rating.repository.js.map +1 -1
  61. package/dist/repositories/rule.repository.d.ts +1 -1
  62. package/dist/repositories/rule.repository.d.ts.map +1 -1
  63. package/dist/repositories/rule.repository.js +8 -2
  64. package/dist/repositories/rule.repository.js.map +1 -1
  65. package/dist/repositories/setting.repository.d.ts +1 -1
  66. package/dist/repositories/setting.repository.d.ts.map +1 -1
  67. package/dist/repositories/setting.repository.js +3 -2
  68. package/dist/repositories/setting.repository.js.map +1 -1
  69. package/dist/repositories/welcome.repository.d.ts +1 -1
  70. package/dist/repositories/welcome.repository.d.ts.map +1 -1
  71. package/dist/repositories/welcome.repository.js +8 -2
  72. package/dist/repositories/welcome.repository.js.map +1 -1
  73. package/dist/schemas/achievement.schema.d.ts +4 -24
  74. package/dist/schemas/achievement.schema.d.ts.map +1 -1
  75. package/dist/schemas/achievement.schema.js +4 -12
  76. package/dist/schemas/achievement.schema.js.map +1 -1
  77. package/dist/schemas/activity_log.schema.d.ts +2 -2
  78. package/dist/schemas/activity_log.schema.d.ts.map +1 -1
  79. package/dist/schemas/activity_log.schema.js +1 -1
  80. package/dist/schemas/activity_log.schema.js.map +1 -1
  81. package/dist/schemas/banner.schema.d.ts +4 -14
  82. package/dist/schemas/banner.schema.d.ts.map +1 -1
  83. package/dist/schemas/banner.schema.js +4 -8
  84. package/dist/schemas/banner.schema.js.map +1 -1
  85. package/dist/schemas/daily_bonus.schema.d.ts +67 -19
  86. package/dist/schemas/daily_bonus.schema.d.ts.map +1 -1
  87. package/dist/schemas/daily_bonus.schema.js +0 -4
  88. package/dist/schemas/daily_bonus.schema.js.map +1 -1
  89. package/dist/schemas/feature.schema.d.ts +2 -2
  90. package/dist/schemas/feature.schema.d.ts.map +1 -1
  91. package/dist/schemas/feature.schema.js +1 -1
  92. package/dist/schemas/feature.schema.js.map +1 -1
  93. package/dist/schemas/friend.schema.d.ts +67 -19
  94. package/dist/schemas/friend.schema.d.ts.map +1 -1
  95. package/dist/schemas/friend.schema.js +0 -4
  96. package/dist/schemas/friend.schema.js.map +1 -1
  97. package/dist/schemas/game_statistic.schema.d.ts +2 -22
  98. package/dist/schemas/game_statistic.schema.d.ts.map +1 -1
  99. package/dist/schemas/game_statistic.schema.js +2 -10
  100. package/dist/schemas/game_statistic.schema.js.map +1 -1
  101. package/dist/schemas/notification.schema.d.ts +2 -2
  102. package/dist/schemas/notification.schema.d.ts.map +1 -1
  103. package/dist/schemas/notification.schema.js +1 -1
  104. package/dist/schemas/notification.schema.js.map +1 -1
  105. package/dist/schemas/premium.schema.d.ts +47 -15
  106. package/dist/schemas/premium.schema.d.ts.map +1 -1
  107. package/dist/schemas/premium.schema.js +0 -4
  108. package/dist/schemas/premium.schema.js.map +1 -1
  109. package/dist/schemas/product.schema.d.ts +2 -2
  110. package/dist/schemas/product.schema.d.ts.map +1 -1
  111. package/dist/schemas/product.schema.js +1 -1
  112. package/dist/schemas/product.schema.js.map +1 -1
  113. package/dist/schemas/rating.schema.d.ts +2 -2
  114. package/dist/schemas/rating.schema.d.ts.map +1 -1
  115. package/dist/schemas/rating.schema.js +1 -1
  116. package/dist/schemas/rating.schema.js.map +1 -1
  117. package/dist/schemas/rule.schema.d.ts +47 -15
  118. package/dist/schemas/rule.schema.d.ts.map +1 -1
  119. package/dist/schemas/rule.schema.js +0 -4
  120. package/dist/schemas/rule.schema.js.map +1 -1
  121. package/dist/schemas/user.schema.d.ts +20 -0
  122. package/dist/schemas/user.schema.d.ts.map +1 -1
  123. package/dist/schemas/user.schema.js +27 -0
  124. package/dist/schemas/user.schema.js.map +1 -1
  125. package/dist/schemas/welcome.schema.d.ts +53 -11
  126. package/dist/schemas/welcome.schema.d.ts.map +1 -1
  127. package/dist/schemas/welcome.schema.js +3 -3
  128. package/dist/schemas/welcome.schema.js.map +1 -1
  129. package/dist/utils.d.ts +1 -0
  130. package/dist/utils.d.ts.map +1 -1
  131. package/dist/utils.js +4 -0
  132. package/dist/utils.js.map +1 -1
  133. package/package.json +1 -1
  134. package/src/index.ts +0 -17
  135. package/src/models/experiences-level-edge.enum.ts +4 -0
  136. package/src/models/experiences-level-rank.enum.ts +5 -0
  137. package/src/models/rating-add-bulk-item.interface.ts +1 -1
  138. package/src/models/rating-monthly-result.interface.ts +2 -1
  139. package/src/repositories/achievement.repository.ts +7 -2
  140. package/src/repositories/activity-log.repository.ts +13 -13
  141. package/src/repositories/banners.repository.ts +9 -2
  142. package/src/repositories/daily-bonus.repository.ts +4 -3
  143. package/src/repositories/friend.repository.ts +2 -10
  144. package/src/repositories/game-statistic.repository.ts +3 -6
  145. package/src/repositories/index.ts +0 -4
  146. package/src/repositories/menu.repository.ts +4 -3
  147. package/src/repositories/premium.repository.ts +8 -2
  148. package/src/repositories/products.repository.ts +4 -2
  149. package/src/repositories/rating.repository.ts +3 -14
  150. package/src/repositories/rule.repository.ts +8 -2
  151. package/src/repositories/setting.repository.ts +4 -3
  152. package/src/repositories/welcome.repository.ts +8 -2
  153. package/src/schemas/achievement.schema.ts +4 -10
  154. package/src/schemas/activity_log.schema.ts +1 -1
  155. package/src/schemas/banner.schema.ts +3 -6
  156. package/src/schemas/daily_bonus.schema.ts +0 -3
  157. package/src/schemas/feature.schema.ts +1 -1
  158. package/src/schemas/friend.schema.ts +0 -3
  159. package/src/schemas/game_statistic.schema.ts +2 -8
  160. package/src/schemas/notification.schema.ts +1 -1
  161. package/src/schemas/premium.schema.ts +0 -3
  162. package/src/schemas/product.schema.ts +1 -1
  163. package/src/schemas/rating.schema.ts +1 -1
  164. package/src/schemas/rule.schema.ts +0 -3
  165. package/src/schemas/user.schema.ts +27 -0
  166. package/src/schemas/welcome.schema.ts +2 -2
  167. package/src/utils.ts +4 -0
  168. package/dist/repositories/rooms.repository.d.ts +0 -8
  169. package/dist/repositories/rooms.repository.d.ts.map +0 -1
  170. package/dist/repositories/rooms.repository.js +0 -34
  171. package/dist/repositories/rooms.repository.js.map +0 -1
  172. package/dist/repositories/scheduled-tournaments.repository.d.ts +0 -11
  173. package/dist/repositories/scheduled-tournaments.repository.d.ts.map +0 -1
  174. package/dist/repositories/scheduled-tournaments.repository.js +0 -44
  175. package/dist/repositories/scheduled-tournaments.repository.js.map +0 -1
  176. package/dist/schemas/rooms.schema.d.ts +0 -179
  177. package/dist/schemas/rooms.schema.d.ts.map +0 -1
  178. package/dist/schemas/rooms.schema.js +0 -85
  179. package/dist/schemas/rooms.schema.js.map +0 -1
  180. package/dist/schemas/scheduled_tournament.schema.d.ts +0 -257
  181. package/dist/schemas/scheduled_tournament.schema.d.ts.map +0 -1
  182. package/dist/schemas/scheduled_tournament.schema.js +0 -113
  183. package/dist/schemas/scheduled_tournament.schema.js.map +0 -1
  184. package/src/repositories/rooms.repository.ts +0 -14
  185. package/src/repositories/scheduled-tournaments.repository.ts +0 -35
  186. package/src/schemas/rooms.schema.ts +0 -63
  187. package/src/schemas/scheduled_tournament.schema.ts +0 -94
@@ -2,7 +2,6 @@ import { Document, HydratedDocument } from 'mongoose';
2
2
  export type PremiumDocument = HydratedDocument<Premium>;
3
3
  export declare class Premium {
4
4
  readonly premiumId: string;
5
- id: string;
6
5
  description: Record<string, string>;
7
6
  text: Record<string, string>;
8
7
  icon: string;
@@ -10,54 +9,87 @@ export declare class Premium {
10
9
  game: string;
11
10
  channel: string;
12
11
  }
13
- export declare const PremiumSchema: import("mongoose").Schema<Premium, import("mongoose").Model<Premium, any, any, any, Document<unknown, any, Premium, any, import("mongoose").DefaultSchemaOptions> & Premium & {
12
+ export declare const PremiumSchema: import("mongoose").Schema<Premium, import("mongoose").Model<Premium, any, any, any, (Document<unknown, any, Premium, any, import("mongoose").DefaultSchemaOptions> & Premium & {
13
+ _id: import("mongoose").Types.ObjectId;
14
+ } & {
15
+ __v: number;
16
+ } & {
17
+ id: string;
18
+ }) | (Document<unknown, any, Premium, any, import("mongoose").DefaultSchemaOptions> & Premium & {
14
19
  _id: import("mongoose").Types.ObjectId;
15
20
  } & {
16
21
  __v: number;
17
- }, any, Premium>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Premium, Document<unknown, {}, Premium, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Premium & {
22
+ }), any, Premium>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Premium, Document<unknown, {}, Premium, {
23
+ id: string;
24
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Premium & {
18
25
  _id: import("mongoose").Types.ObjectId;
19
26
  } & {
20
27
  __v: number;
28
+ }, "id"> & {
29
+ id: string;
21
30
  }, {
22
- readonly premiumId?: import("mongoose").SchemaDefinitionProperty<string, Premium, Document<unknown, {}, Premium, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Premium & {
23
- _id: import("mongoose").Types.ObjectId;
24
- } & {
25
- __v: number;
26
- }>;
27
- id?: import("mongoose").SchemaDefinitionProperty<string, Premium, Document<unknown, {}, Premium, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Premium & {
31
+ readonly premiumId?: import("mongoose").SchemaDefinitionProperty<string, Premium, Document<unknown, {}, Premium, {
32
+ id: string;
33
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Premium & {
28
34
  _id: import("mongoose").Types.ObjectId;
29
35
  } & {
30
36
  __v: number;
37
+ }, "id"> & {
38
+ id: string;
31
39
  }>;
32
- description?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Premium, Document<unknown, {}, Premium, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Premium & {
40
+ description?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Premium, Document<unknown, {}, Premium, {
41
+ id: string;
42
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Premium & {
33
43
  _id: import("mongoose").Types.ObjectId;
34
44
  } & {
35
45
  __v: number;
46
+ }, "id"> & {
47
+ id: string;
36
48
  }>;
37
- text?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Premium, Document<unknown, {}, Premium, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Premium & {
49
+ text?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Premium, Document<unknown, {}, Premium, {
50
+ id: string;
51
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Premium & {
38
52
  _id: import("mongoose").Types.ObjectId;
39
53
  } & {
40
54
  __v: number;
55
+ }, "id"> & {
56
+ id: string;
41
57
  }>;
42
- icon?: import("mongoose").SchemaDefinitionProperty<string, Premium, Document<unknown, {}, Premium, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Premium & {
58
+ icon?: import("mongoose").SchemaDefinitionProperty<string, Premium, Document<unknown, {}, Premium, {
59
+ id: string;
60
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Premium & {
43
61
  _id: import("mongoose").Types.ObjectId;
44
62
  } & {
45
63
  __v: number;
64
+ }, "id"> & {
65
+ id: string;
46
66
  }>;
47
- url?: import("mongoose").SchemaDefinitionProperty<string, Premium, Document<unknown, {}, Premium, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Premium & {
67
+ url?: import("mongoose").SchemaDefinitionProperty<string, Premium, Document<unknown, {}, Premium, {
68
+ id: string;
69
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Premium & {
48
70
  _id: import("mongoose").Types.ObjectId;
49
71
  } & {
50
72
  __v: number;
73
+ }, "id"> & {
74
+ id: string;
51
75
  }>;
52
- game?: import("mongoose").SchemaDefinitionProperty<string, Premium, Document<unknown, {}, Premium, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Premium & {
76
+ game?: import("mongoose").SchemaDefinitionProperty<string, Premium, Document<unknown, {}, Premium, {
77
+ id: string;
78
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Premium & {
53
79
  _id: import("mongoose").Types.ObjectId;
54
80
  } & {
55
81
  __v: number;
82
+ }, "id"> & {
83
+ id: string;
56
84
  }>;
57
- channel?: import("mongoose").SchemaDefinitionProperty<string, Premium, Document<unknown, {}, Premium, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Premium & {
85
+ channel?: import("mongoose").SchemaDefinitionProperty<string, Premium, Document<unknown, {}, Premium, {
86
+ id: string;
87
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Premium & {
58
88
  _id: import("mongoose").Types.ObjectId;
59
89
  } & {
60
90
  __v: number;
91
+ }, "id"> & {
92
+ id: string;
61
93
  }>;
62
94
  }, Premium>;
63
95
  //# sourceMappingURL=premium.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"premium.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/premium.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;AAExD,qBACa,OAAO;IAMlB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAG3B,EAAE,EAAE,MAAM,CAAC;IAGX,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGpC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG7B,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,CAAC;IAGZ,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAwC,CAAC"}
1
+ {"version":3,"file":"premium.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/premium.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;AAExD,qBACa,OAAO;IAMlB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAG3B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGpC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG7B,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,CAAC;IAGZ,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAwC,CAAC"}
@@ -22,10 +22,6 @@ __decorate([
22
22
  }),
23
23
  __metadata("design:type", String)
24
24
  ], Premium.prototype, "premiumId", void 0);
25
- __decorate([
26
- (0, mongoose_1.Prop)(),
27
- __metadata("design:type", String)
28
- ], Premium.prototype, "id", void 0);
29
25
  __decorate([
30
26
  (0, mongoose_1.Prop)({ type: Object }),
31
27
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"premium.schema.js","sourceRoot":"","sources":["../../src/schemas/premium.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CA4BnB,CAAA;AA5BY,0BAAO;AAMT;IALR,IAAA,kBAAO,EAAC;QACP,GAAG,EAAE;YACH,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC7B,CAAC;KACF,CAAC;;0CACyB;AAG3B;IADC,IAAA,eAAI,GAAE;;mCACI;AAGX;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACa;AAGpC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;qCACM;AAG7B;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;oCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;wCACS;kBA3BL,OAAO;IADnB,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;GACtB,OAAO,CA4BnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"premium.schema.js","sourceRoot":"","sources":["../../src/schemas/premium.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CAyBnB,CAAA;AAzBY,0BAAO;AAMT;IALR,IAAA,kBAAO,EAAC;QACP,GAAG,EAAE;YACH,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC7B,CAAC;KACF,CAAC;;0CACyB;AAG3B;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACa;AAGpC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;qCACM;AAG7B;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;oCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;wCACS;kBAxBL,OAAO;IADnB,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;GACtB,OAAO,CAyBnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
@@ -10,7 +10,7 @@ export declare class Product {
10
10
  button: Record<string, string>;
11
11
  link: string;
12
12
  linkVK: string;
13
- channels: string;
13
+ channel: string;
14
14
  code: string;
15
15
  position: number;
16
16
  active: boolean;
@@ -134,7 +134,7 @@ export declare const ProductSchema: import("mongoose").Schema<Product, import("m
134
134
  }, "id"> & {
135
135
  id: string;
136
136
  }>;
137
- channels?: import("mongoose").SchemaDefinitionProperty<string, Product, Document<unknown, {}, Product, {
137
+ channel?: import("mongoose").SchemaDefinitionProperty<string, Product, Document<unknown, {}, Product, {
138
138
  id: string;
139
139
  }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Product & {
140
140
  _id: import("mongoose").Types.ObjectId;
@@ -1 +1 @@
1
- {"version":3,"file":"product.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/product.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;AAExD,qBACa,OAAO;IAMlB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAG3B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG9B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGjC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGpC,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG5C,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGvC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG/B,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;IAGjB,MAAM,EAAE,OAAO,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IAGd,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,YAAY,EAAE,OAAO,CAAC;IAKtB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,OAAO,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAwC,CAAC"}
@@ -57,7 +57,7 @@ __decorate([
57
57
  __decorate([
58
58
  (0, mongoose_1.Prop)(),
59
59
  __metadata("design:type", String)
60
- ], Product.prototype, "channels", void 0);
60
+ ], Product.prototype, "channel", void 0);
61
61
  __decorate([
62
62
  (0, mongoose_1.Prop)(),
63
63
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"product.schema.js","sourceRoot":"","sources":["../../src/schemas/product.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CAsGnB,CAAA;AAtGY,0BAAO;AAMT;IALR,IAAA,kBAAO,EAAC;QACP,GAAG,EAAE;YACH,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC7B,CAAC;KACF,CAAC;;0CACyB;AAG3B;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;sCACO;AAG9B;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCACU;AAGjC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACa;AAGpC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;oDACqB;AAG5C;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;+CACgB;AAGvC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;uCACQ;AAG/B;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;uCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;yCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;yCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;uCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;sCACO;AAGd;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;yCACW;AAGlB;IADC,IAAA,eAAI,GAAE;;6CACe;AAKtB;IADC,IAAA,eAAI,GAAE;;yCACkB;AAGzB;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;gDACkB;AAGzB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;6CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;uCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;qCACO;AAGd;IADC,IAAA,eAAI,GAAE;;qCACO;AAGd;IADC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;0CACN;AAGnB;IADC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;qDACK;kBArGnB,OAAO;IADnB,IAAA,iBAAM,GAAE;GACI,OAAO,CAsGnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"product.schema.js","sourceRoot":"","sources":["../../src/schemas/product.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MA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I,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;6CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;uCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;qCACO;AAGd;IADC,IAAA,eAAI,GAAE;;qCACO;AAGd;IADC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;0CACN;AAGnB;IADC,IAAA,eAAI,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;qDACK;kBArGnB,OAAO;IADnB,IAAA,iBAAM,GAAE;GACI,OAAO,CAsGnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
@@ -8,7 +8,7 @@ export declare class Rating {
8
8
  userAvatarUrl: string;
9
9
  profit: number;
10
10
  game: string;
11
- channels: string;
11
+ channel: string;
12
12
  }
13
13
  export declare const RatingSchema: import("mongoose").Schema<Rating, import("mongoose").Model<Rating, any, any, any, (Document<unknown, any, Rating, any, import("mongoose").DefaultSchemaOptions> & Rating & {
14
14
  _id: import("mongoose").Types.ObjectId;
@@ -92,7 +92,7 @@ export declare const RatingSchema: import("mongoose").Schema<Rating, import("mon
92
92
  }, "id"> & {
93
93
  id: string;
94
94
  }>;
95
- channels?: import("mongoose").SchemaDefinitionProperty<string, Rating, Document<unknown, {}, Rating, {
95
+ channel?: import("mongoose").SchemaDefinitionProperty<string, Rating, Document<unknown, {}, Rating, {
96
96
  id: string;
97
97
  }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Rating & {
98
98
  _id: import("mongoose").Types.ObjectId;
@@ -1 +1 @@
1
- {"version":3,"file":"rating.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/rating.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEtD,qBACa,MAAM;IAMjB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAG/B,IAAI,EAAE,IAAI,CAAC;IAGX,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,aAAa,EAAE,MAAM,CAAC;IAGtB,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAuC,CAAC"}
1
+ {"version":3,"file":"rating.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/rating.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEtD,qBACa,MAAM;IAMjB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAG/B,IAAI,EAAE,IAAI,CAAC;IAGX,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,aAAa,EAAE,MAAM,CAAC;IAGtB,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAuC,CAAC"}
@@ -49,7 +49,7 @@ __decorate([
49
49
  __decorate([
50
50
  (0, mongoose_1.Prop)(),
51
51
  __metadata("design:type", String)
52
- ], Rating.prototype, "channels", void 0);
52
+ ], Rating.prototype, "channel", void 0);
53
53
  exports.Rating = Rating = __decorate([
54
54
  (0, mongoose_1.Schema)()
55
55
  ], Rating);
@@ -1 +1 @@
1
- {"version":3,"file":"rating.schema.js","sourceRoot":"","sources":["../../src/schemas/rating.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CA4BlB,CAAA;AA5BY,wBAAM;AAMR;IALR,IAAA,kBAAO,EAAC;QACP,GAAG,EAAE;YACH,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC7B,CAAC;KACF,CAAC;;6CAC6B;AAG/B;IADC,IAAA,eAAI,GAAE;8BACD,IAAI;oCAAC;AAGX;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;6CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;oCACM;AAGb;IADC,IAAA,eAAI,GAAE;;wCACU;iBA3BN,MAAM;IADlB,IAAA,iBAAM,GAAE;GACI,MAAM,CA4BlB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"rating.schema.js","sourceRoot":"","sources":["../../src/schemas/rating.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CA4BlB,CAAA;AA5BY,wBAAM;AAMR;IALR,IAAA,kBAAO,EAAC;QACP,GAAG,EAAE;YACH,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC7B,CAAC;KACF,CAAC;;6CAC6B;AAG/B;IADC,IAAA,eAAI,GAAE;8BACD,IAAI;oCAAC;AAGX;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;6CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;oCACM;AAGb;IADC,IAAA,eAAI,GAAE;;uCACS;iBA3BL,MAAM;IADlB,IAAA,iBAAM,GAAE;GACI,MAAM,CA4BlB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}
@@ -2,7 +2,6 @@ import { Document, HydratedDocument } from 'mongoose';
2
2
  export type RuleDocument = HydratedDocument<Rule>;
3
3
  export declare class Rule {
4
4
  readonly ruleId: string;
5
- id: string;
6
5
  description: Record<string, string>;
7
6
  text: Record<string, string>;
8
7
  icon: string;
@@ -10,54 +9,87 @@ export declare class Rule {
10
9
  game: string;
11
10
  channel: string;
12
11
  }
13
- export declare const RuleSchema: import("mongoose").Schema<Rule, import("mongoose").Model<Rule, any, any, any, Document<unknown, any, Rule, any, import("mongoose").DefaultSchemaOptions> & Rule & {
12
+ export declare const RuleSchema: import("mongoose").Schema<Rule, import("mongoose").Model<Rule, any, any, any, (Document<unknown, any, Rule, any, import("mongoose").DefaultSchemaOptions> & Rule & {
13
+ _id: import("mongoose").Types.ObjectId;
14
+ } & {
15
+ __v: number;
16
+ } & {
17
+ id: string;
18
+ }) | (Document<unknown, any, Rule, any, import("mongoose").DefaultSchemaOptions> & Rule & {
14
19
  _id: import("mongoose").Types.ObjectId;
15
20
  } & {
16
21
  __v: number;
17
- }, any, Rule>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Rule, Document<unknown, {}, Rule, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Rule & {
22
+ }), any, Rule>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Rule, Document<unknown, {}, Rule, {
23
+ id: string;
24
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Rule & {
18
25
  _id: import("mongoose").Types.ObjectId;
19
26
  } & {
20
27
  __v: number;
28
+ }, "id"> & {
29
+ id: string;
21
30
  }, {
22
- readonly ruleId?: import("mongoose").SchemaDefinitionProperty<string, Rule, Document<unknown, {}, Rule, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Rule & {
23
- _id: import("mongoose").Types.ObjectId;
24
- } & {
25
- __v: number;
26
- }>;
27
- id?: import("mongoose").SchemaDefinitionProperty<string, Rule, Document<unknown, {}, Rule, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Rule & {
31
+ readonly ruleId?: import("mongoose").SchemaDefinitionProperty<string, Rule, Document<unknown, {}, Rule, {
32
+ id: string;
33
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Rule & {
28
34
  _id: import("mongoose").Types.ObjectId;
29
35
  } & {
30
36
  __v: number;
37
+ }, "id"> & {
38
+ id: string;
31
39
  }>;
32
- description?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Rule, Document<unknown, {}, Rule, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Rule & {
40
+ description?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Rule, Document<unknown, {}, Rule, {
41
+ id: string;
42
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Rule & {
33
43
  _id: import("mongoose").Types.ObjectId;
34
44
  } & {
35
45
  __v: number;
46
+ }, "id"> & {
47
+ id: string;
36
48
  }>;
37
- text?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Rule, Document<unknown, {}, Rule, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Rule & {
49
+ text?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Rule, Document<unknown, {}, Rule, {
50
+ id: string;
51
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Rule & {
38
52
  _id: import("mongoose").Types.ObjectId;
39
53
  } & {
40
54
  __v: number;
55
+ }, "id"> & {
56
+ id: string;
41
57
  }>;
42
- icon?: import("mongoose").SchemaDefinitionProperty<string, Rule, Document<unknown, {}, Rule, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Rule & {
58
+ icon?: import("mongoose").SchemaDefinitionProperty<string, Rule, Document<unknown, {}, Rule, {
59
+ id: string;
60
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Rule & {
43
61
  _id: import("mongoose").Types.ObjectId;
44
62
  } & {
45
63
  __v: number;
64
+ }, "id"> & {
65
+ id: string;
46
66
  }>;
47
- url?: import("mongoose").SchemaDefinitionProperty<string, Rule, Document<unknown, {}, Rule, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Rule & {
67
+ url?: import("mongoose").SchemaDefinitionProperty<string, Rule, Document<unknown, {}, Rule, {
68
+ id: string;
69
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Rule & {
48
70
  _id: import("mongoose").Types.ObjectId;
49
71
  } & {
50
72
  __v: number;
73
+ }, "id"> & {
74
+ id: string;
51
75
  }>;
52
- game?: import("mongoose").SchemaDefinitionProperty<string, Rule, Document<unknown, {}, Rule, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Rule & {
76
+ game?: import("mongoose").SchemaDefinitionProperty<string, Rule, Document<unknown, {}, Rule, {
77
+ id: string;
78
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Rule & {
53
79
  _id: import("mongoose").Types.ObjectId;
54
80
  } & {
55
81
  __v: number;
82
+ }, "id"> & {
83
+ id: string;
56
84
  }>;
57
- channel?: import("mongoose").SchemaDefinitionProperty<string, Rule, Document<unknown, {}, Rule, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Rule & {
85
+ channel?: import("mongoose").SchemaDefinitionProperty<string, Rule, Document<unknown, {}, Rule, {
86
+ id: string;
87
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Rule & {
58
88
  _id: import("mongoose").Types.ObjectId;
59
89
  } & {
60
90
  __v: number;
91
+ }, "id"> & {
92
+ id: string;
61
93
  }>;
62
94
  }, Rule>;
63
95
  //# sourceMappingURL=rule.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rule.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/rule.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;AAElD,qBACa,IAAI;IAMf,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,EAAE,EAAE,MAAM,CAAC;IAGX,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGpC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG7B,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,CAAC;IAGZ,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAAqC,CAAC"}
1
+ {"version":3,"file":"rule.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/rule.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;AAElD,qBACa,IAAI;IAMf,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGpC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG7B,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,CAAC;IAGZ,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAAqC,CAAC"}
@@ -22,10 +22,6 @@ __decorate([
22
22
  }),
23
23
  __metadata("design:type", String)
24
24
  ], Rule.prototype, "ruleId", void 0);
25
- __decorate([
26
- (0, mongoose_1.Prop)(),
27
- __metadata("design:type", String)
28
- ], Rule.prototype, "id", void 0);
29
25
  __decorate([
30
26
  (0, mongoose_1.Prop)({ type: Object }),
31
27
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"rule.schema.js","sourceRoot":"","sources":["../../src/schemas/rule.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,IAAI,GAAV,MAAM,IAAI;CA4BhB,CAAA;AA5BY,oBAAI;AAMN;IALR,IAAA,kBAAO,EAAC;QACP,GAAG,EAAE;YACH,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC7B,CAAC;KACF,CAAC;;oCACsB;AAGxB;IADC,IAAA,eAAI,GAAE;;gCACI;AAGX;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCACa;AAGpC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;kCACM;AAG7B;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;iCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;qCACS;eA3BL,IAAI;IADhB,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;GACnB,IAAI,CA4BhB;AAEY,QAAA,UAAU,GAAG,wBAAa,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC"}
1
+ {"version":3,"file":"rule.schema.js","sourceRoot":"","sources":["../../src/schemas/rule.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,IAAI,GAAV,MAAM,IAAI;CAyBhB,CAAA;AAzBY,oBAAI;AAMN;IALR,IAAA,kBAAO,EAAC;QACP,GAAG,EAAE;YACH,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC7B,CAAC;KACF,CAAC;;oCACsB;AAGxB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCACa;AAGpC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;kCACM;AAG7B;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;iCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;qCACS;eAxBL,IAAI;IADhB,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;GACnB,IAAI,CAyBhB;AAEY,QAAA,UAAU,GAAG,wBAAa,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC"}
@@ -38,6 +38,8 @@ export declare class User {
38
38
  readonly accountType: string;
39
39
  readonly isGuest: boolean;
40
40
  readonly normalizedLang: string;
41
+ readonly levelRank: string;
42
+ readonly gameSoundsOn: boolean;
41
43
  }
42
44
  export declare const UserSchema: import("mongoose").Schema<User, import("mongoose").Model<User, any, any, any, (Document<unknown, any, User, any, import("mongoose").DefaultSchemaOptions> & User & {
43
45
  _id: import("mongoose").Types.ObjectId;
@@ -337,5 +339,23 @@ export declare const UserSchema: import("mongoose").Schema<User, import("mongoos
337
339
  }, "id"> & {
338
340
  id: string;
339
341
  }>;
342
+ readonly levelRank?: import("mongoose").SchemaDefinitionProperty<string, User, Document<unknown, {}, User, {
343
+ id: string;
344
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<User & {
345
+ _id: import("mongoose").Types.ObjectId;
346
+ } & {
347
+ __v: number;
348
+ }, "id"> & {
349
+ id: string;
350
+ }>;
351
+ readonly gameSoundsOn?: import("mongoose").SchemaDefinitionProperty<boolean, User, Document<unknown, {}, User, {
352
+ id: string;
353
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<User & {
354
+ _id: import("mongoose").Types.ObjectId;
355
+ } & {
356
+ __v: number;
357
+ }, "id"> & {
358
+ id: string;
359
+ }>;
340
360
  }, User>;
341
361
  //# sourceMappingURL=user.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/user.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAKtD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE1C,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;AAElD,qBACa,IAAI;IAMf,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,QAAQ,EAAE,MAAM,CAAC;IA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AAC;IAGlB,WAAW,EAAE,MAAM,CAAC;IAGpB,UAAU,EAAE,MAAM,CAAC;IAGnB,KAAK,EAAE,MAAM,CAAC;IAKd,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,UAAU,CAAC,EAAE,UAAU,CAAC;IAGxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAShB,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IAOpC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAOhC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IAmBjC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAS7B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAO1B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAgBhC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAS3B,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;CAChC;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAAqC,CAAC"}
@@ -22,6 +22,8 @@ const user_ya_schema_1 = require("./user.ya.schema");
22
22
  const user_tg_schema_1 = require("./user.tg.schema");
23
23
  const user_google_schema_1 = require("./user.google.schema");
24
24
  const user_fb_schema_1 = require("./user.fb.schema");
25
+ const experiences_level_edge_enum_1 = require("../models/experiences-level-edge.enum");
26
+ const experiences_level_rank_enum_1 = require("../models/experiences-level-rank.enum");
25
27
  let User = class User {
26
28
  };
27
29
  exports.User = User;
@@ -193,6 +195,31 @@ __decorate([
193
195
  }),
194
196
  __metadata("design:type", String)
195
197
  ], User.prototype, "normalizedLang", void 0);
198
+ __decorate([
199
+ (0, mongoose_1.Virtual)({
200
+ get: function () {
201
+ if (this.level < experiences_level_edge_enum_1.ExperiencesLevelEdgeEnum.PLAYER) {
202
+ return experiences_level_rank_enum_1.ExperiencesLevelRankEnum.NEW;
203
+ }
204
+ else if (this.level >= experiences_level_edge_enum_1.ExperiencesLevelEdgeEnum.PLAYER &&
205
+ this.level < experiences_level_edge_enum_1.ExperiencesLevelEdgeEnum.PROFI) {
206
+ return experiences_level_rank_enum_1.ExperiencesLevelRankEnum.PLAYER;
207
+ }
208
+ else {
209
+ return experiences_level_rank_enum_1.ExperiencesLevelRankEnum.PROFI;
210
+ }
211
+ },
212
+ }),
213
+ __metadata("design:type", String)
214
+ ], User.prototype, "levelRank", void 0);
215
+ __decorate([
216
+ (0, mongoose_1.Virtual)({
217
+ get: function () {
218
+ return (this.gameSounds === 'game_sounds__on');
219
+ },
220
+ }),
221
+ __metadata("design:type", Boolean)
222
+ ], User.prototype, "gameSoundsOn", void 0);
196
223
  exports.User = User = __decorate([
197
224
  (0, mongoose_1.Schema)()
198
225
  ], User);
@@ -1 +1 @@
1
- {"version":3,"file":"user.schema.js","sourceRoot":"","sources":["../../src/schemas/user.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+CAAwE;AAExE,kDAA0B;AAE1B,mEAA8D;AAE9D,qDAA0C;AAC1C,qDAA0C;AAC1C,qDAA0C;AAC1C,qDAA0C;AAC1C,6DAAkD;AAClD,qDAA0C;AAKnC,IAAM,IAAI,GAAV,MAAM,IAAI;CA6IhB,CAAA;AA7IY,oBAAI;AAMN;IALR,I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G,EAAE;YACH,IAAI,IAAI,CAAC,KAAK,GAAG,sDAAwB,CAAC,MAAM,EAAE,CAAC;gBACjD,OAAO,sDAAwB,CAAC,GAAG,CAAC;YACtC,CAAC;iBAAM,IACL,IAAI,CAAC,KAAK,IAAI,sDAAwB,CAAC,MAAM;gBAC7C,IAAI,CAAC,KAAK,GAAG,sDAAwB,CAAC,KAAK,EAC3C,CAAC;gBACD,OAAO,sDAAwB,CAAC,MAAM,CAAC;YACzC,CAAC;iBAAM,CAAC;gBACN,OAAO,sDAAwB,CAAC,KAAK,CAAC;YACxC,CAAC;QACH,CAAC;KACF,CAAC;;uCACyB;AASlB;IAPR,IAAA,kBAAO,EAAC;QACP,GAAG,EAAE;YACH,OAAO,CACL,IAAI,CAAC,UAAU,KAAK,iBAAiB,CACtC,CAAC;QACJ,CAAC;KACF,CAAC;;0CAC6B;eArKpB,IAAI;IADhB,IAAA,iBAAM,GAAE;GACI,IAAI,CAsKhB;AAEY,QAAA,UAAU,GAAG,wBAAa,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { Document, HydratedDocument } from 'mongoose';
2
2
  export type WelcomeDocument = HydratedDocument<Welcome>;
3
3
  export declare class Welcome {
4
4
  readonly ruleId: string;
5
- id: string;
5
+ title: Record<string, string>;
6
6
  description: Record<string, string>;
7
7
  text: Record<string, string>;
8
8
  icon: string;
@@ -10,54 +10,96 @@ export declare class Welcome {
10
10
  game: string;
11
11
  channel: string;
12
12
  }
13
- export declare const WelcomeSchema: import("mongoose").Schema<Welcome, import("mongoose").Model<Welcome, any, any, any, Document<unknown, any, Welcome, any, import("mongoose").DefaultSchemaOptions> & Welcome & {
13
+ export declare const WelcomeSchema: import("mongoose").Schema<Welcome, import("mongoose").Model<Welcome, any, any, any, (Document<unknown, any, Welcome, any, import("mongoose").DefaultSchemaOptions> & Welcome & {
14
+ _id: import("mongoose").Types.ObjectId;
15
+ } & {
16
+ __v: number;
17
+ } & {
18
+ id: string;
19
+ }) | (Document<unknown, any, Welcome, any, import("mongoose").DefaultSchemaOptions> & Welcome & {
14
20
  _id: import("mongoose").Types.ObjectId;
15
21
  } & {
16
22
  __v: number;
17
- }, any, Welcome>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Welcome, Document<unknown, {}, Welcome, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Welcome & {
23
+ }), any, Welcome>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Welcome, Document<unknown, {}, Welcome, {
24
+ id: string;
25
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Welcome & {
18
26
  _id: import("mongoose").Types.ObjectId;
19
27
  } & {
20
28
  __v: number;
29
+ }, "id"> & {
30
+ id: string;
21
31
  }, {
22
- readonly ruleId?: import("mongoose").SchemaDefinitionProperty<string, Welcome, Document<unknown, {}, Welcome, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Welcome & {
32
+ readonly ruleId?: import("mongoose").SchemaDefinitionProperty<string, Welcome, Document<unknown, {}, Welcome, {
33
+ id: string;
34
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Welcome & {
23
35
  _id: import("mongoose").Types.ObjectId;
24
36
  } & {
25
37
  __v: number;
38
+ }, "id"> & {
39
+ id: string;
26
40
  }>;
27
- id?: import("mongoose").SchemaDefinitionProperty<string, Welcome, Document<unknown, {}, Welcome, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Welcome & {
41
+ title?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Welcome, Document<unknown, {}, Welcome, {
42
+ id: string;
43
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Welcome & {
28
44
  _id: import("mongoose").Types.ObjectId;
29
45
  } & {
30
46
  __v: number;
47
+ }, "id"> & {
48
+ id: string;
31
49
  }>;
32
- description?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Welcome, Document<unknown, {}, Welcome, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Welcome & {
50
+ description?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Welcome, Document<unknown, {}, Welcome, {
51
+ id: string;
52
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Welcome & {
33
53
  _id: import("mongoose").Types.ObjectId;
34
54
  } & {
35
55
  __v: number;
56
+ }, "id"> & {
57
+ id: string;
36
58
  }>;
37
- text?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Welcome, Document<unknown, {}, Welcome, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Welcome & {
59
+ text?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, Welcome, Document<unknown, {}, Welcome, {
60
+ id: string;
61
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Welcome & {
38
62
  _id: import("mongoose").Types.ObjectId;
39
63
  } & {
40
64
  __v: number;
65
+ }, "id"> & {
66
+ id: string;
41
67
  }>;
42
- icon?: import("mongoose").SchemaDefinitionProperty<string, Welcome, Document<unknown, {}, Welcome, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Welcome & {
68
+ icon?: import("mongoose").SchemaDefinitionProperty<string, Welcome, Document<unknown, {}, Welcome, {
69
+ id: string;
70
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Welcome & {
43
71
  _id: import("mongoose").Types.ObjectId;
44
72
  } & {
45
73
  __v: number;
74
+ }, "id"> & {
75
+ id: string;
46
76
  }>;
47
- url?: import("mongoose").SchemaDefinitionProperty<string, Welcome, Document<unknown, {}, Welcome, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Welcome & {
77
+ url?: import("mongoose").SchemaDefinitionProperty<string, Welcome, Document<unknown, {}, Welcome, {
78
+ id: string;
79
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Welcome & {
48
80
  _id: import("mongoose").Types.ObjectId;
49
81
  } & {
50
82
  __v: number;
83
+ }, "id"> & {
84
+ id: string;
51
85
  }>;
52
- game?: import("mongoose").SchemaDefinitionProperty<string, Welcome, Document<unknown, {}, Welcome, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Welcome & {
86
+ game?: import("mongoose").SchemaDefinitionProperty<string, Welcome, Document<unknown, {}, Welcome, {
87
+ id: string;
88
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Welcome & {
53
89
  _id: import("mongoose").Types.ObjectId;
54
90
  } & {
55
91
  __v: number;
92
+ }, "id"> & {
93
+ id: string;
56
94
  }>;
57
- channel?: import("mongoose").SchemaDefinitionProperty<string, Welcome, Document<unknown, {}, Welcome, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Welcome & {
95
+ channel?: import("mongoose").SchemaDefinitionProperty<string, Welcome, Document<unknown, {}, Welcome, {
96
+ id: string;
97
+ }, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<Welcome & {
58
98
  _id: import("mongoose").Types.ObjectId;
59
99
  } & {
60
100
  __v: number;
101
+ }, "id"> & {
102
+ id: string;
61
103
  }>;
62
104
  }, Welcome>;
63
105
  //# sourceMappingURL=welcome.schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"welcome.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/welcome.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;AAExD,qBACa,OAAO;IAMlB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,EAAE,EAAE,MAAM,CAAC;IAGX,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGpC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG7B,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,CAAC;IAGZ,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAwC,CAAC"}
1
+ {"version":3,"file":"welcome.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/welcome.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;AAExD,qBACa,OAAO;IAMlB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG9B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGpC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG7B,IAAI,EAAE,MAAM,CAAC;IAGb,GAAG,EAAE,MAAM,CAAC;IAGZ,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAwC,CAAC"}
@@ -23,9 +23,9 @@ __decorate([
23
23
  __metadata("design:type", String)
24
24
  ], Welcome.prototype, "ruleId", void 0);
25
25
  __decorate([
26
- (0, mongoose_1.Prop)(),
27
- __metadata("design:type", String)
28
- ], Welcome.prototype, "id", void 0);
26
+ (0, mongoose_1.Prop)({ type: Object }),
27
+ __metadata("design:type", Object)
28
+ ], Welcome.prototype, "title", void 0);
29
29
  __decorate([
30
30
  (0, mongoose_1.Prop)({ type: Object }),
31
31
  __metadata("design:type", Object)
@@ -1 +1 @@
1
- {"version":3,"file":"welcome.schema.js","sourceRoot":"","sources":["../../src/schemas/welcome.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CA4BnB,CAAA;AA5BY,0BAAO;AAMT;IALR,IAAA,kBAAO,EAAC;QACP,GAAG,EAAE;YACH,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC7B,CAAC;KACF,CAAC;;uCACsB;AAGxB;IADC,IAAA,eAAI,GAAE;;mCACI;AAGX;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACa;AAGpC;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;qCACM;AAG7B;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;oCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;wCACS;kBA3BL,OAAO;IADnB,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;GACrB,OAAO,CA4BnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"welcome.schema.js","sourceRoot":"","sources":["../../src/schemas/welcome.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CA4BnB,CAAA;AA5BY,0BAAO;AAMT;IALR,IAAA,kBAAO,EAAC;QACP,GAAG,EAAE;YACH,O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