jp.db.schemas 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +18 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +33 -1
- package/dist/index.js.map +1 -1
- package/dist/repositories/admin.repository.d.ts +9 -0
- package/dist/repositories/admin.repository.d.ts.map +1 -0
- package/dist/repositories/admin.repository.js +41 -0
- package/dist/repositories/admin.repository.js.map +1 -0
- package/dist/repositories/article.repository.d.ts +10 -0
- package/dist/repositories/article.repository.d.ts.map +1 -0
- package/dist/repositories/article.repository.js +50 -0
- package/dist/repositories/article.repository.js.map +1 -0
- package/dist/repositories/banners.repository.d.ts +15 -0
- package/dist/repositories/banners.repository.d.ts.map +1 -0
- package/dist/repositories/banners.repository.js +60 -0
- package/dist/repositories/banners.repository.js.map +1 -0
- package/dist/repositories/complains.repository.d.ts +11 -0
- package/dist/repositories/complains.repository.d.ts.map +1 -0
- package/dist/repositories/complains.repository.js +44 -0
- package/dist/repositories/complains.repository.js.map +1 -0
- package/dist/repositories/index.d.ts +11 -0
- package/dist/repositories/index.d.ts.map +1 -0
- package/dist/repositories/index.js +22 -0
- package/dist/repositories/index.js.map +1 -0
- package/dist/repositories/notification.repository.d.ts +15 -0
- package/dist/repositories/notification.repository.d.ts.map +1 -0
- package/dist/repositories/notification.repository.js +60 -0
- package/dist/repositories/notification.repository.js.map +1 -0
- package/dist/repositories/products.repository.d.ts +9 -0
- package/dist/repositories/products.repository.d.ts.map +1 -0
- package/dist/repositories/products.repository.js +46 -0
- package/dist/repositories/products.repository.js.map +1 -0
- package/dist/repositories/scheduled-tournaments.repository.d.ts +11 -0
- package/dist/repositories/scheduled-tournaments.repository.d.ts.map +1 -0
- package/dist/repositories/scheduled-tournaments.repository.js +44 -0
- package/dist/repositories/scheduled-tournaments.repository.js.map +1 -0
- package/dist/repositories/servers.repository.d.ts +8 -0
- package/dist/repositories/servers.repository.d.ts.map +1 -0
- package/dist/repositories/servers.repository.js +36 -0
- package/dist/repositories/servers.repository.js.map +1 -0
- package/dist/repositories/users.repository.d.ts +15 -0
- package/dist/repositories/users.repository.d.ts.map +1 -0
- package/dist/repositories/users.repository.js +70 -0
- package/dist/repositories/users.repository.js.map +1 -0
- package/dist/schemas/achievement.schema.d.ts +23 -0
- package/dist/schemas/achievement.schema.d.ts.map +1 -0
- package/dist/schemas/achievement.schema.js +61 -0
- package/dist/schemas/achievement.schema.js.map +1 -0
- package/dist/schemas/banner.schema.d.ts +1 -0
- package/dist/schemas/banner.schema.d.ts.map +1 -1
- package/dist/schemas/banner.schema.js +4 -0
- package/dist/schemas/banner.schema.js.map +1 -1
- package/dist/schemas/channel_message.schema.d.ts +20 -0
- package/dist/schemas/channel_message.schema.d.ts.map +1 -0
- package/dist/schemas/channel_message.schema.js +49 -0
- package/dist/schemas/channel_message.schema.js.map +1 -0
- package/dist/schemas/feature.schema.d.ts +19 -0
- package/dist/schemas/feature.schema.d.ts.map +1 -0
- package/dist/schemas/feature.schema.js +45 -0
- package/dist/schemas/feature.schema.js.map +1 -0
- package/dist/schemas/notification.schema.d.ts +1 -0
- package/dist/schemas/notification.schema.d.ts.map +1 -1
- package/dist/schemas/notification.schema.js +4 -0
- package/dist/schemas/notification.schema.js.map +1 -1
- package/dist/schemas/product.schema.d.ts +50 -0
- package/dist/schemas/product.schema.d.ts.map +1 -0
- package/dist/schemas/product.schema.js +169 -0
- package/dist/schemas/product.schema.js.map +1 -0
- package/dist/schemas/purchase.schema.d.ts +1 -0
- package/dist/schemas/purchase.schema.d.ts.map +1 -1
- package/dist/schemas/purchase.schema.js +4 -0
- package/dist/schemas/purchase.schema.js.map +1 -1
- package/dist/schemas/purchase_channel.schema.d.ts +20 -0
- package/dist/schemas/purchase_channel.schema.d.ts.map +1 -0
- package/dist/schemas/purchase_channel.schema.js +49 -0
- package/dist/schemas/purchase_channel.schema.js.map +1 -0
- package/dist/schemas/rating.schema.d.ts +25 -0
- package/dist/schemas/rating.schema.d.ts.map +1 -0
- package/dist/schemas/rating.schema.js +69 -0
- package/dist/schemas/rating.schema.js.map +1 -0
- package/dist/schemas/rooms.schema.d.ts +1 -0
- package/dist/schemas/rooms.schema.d.ts.map +1 -1
- package/dist/schemas/rooms.schema.js +4 -0
- package/dist/schemas/rooms.schema.js.map +1 -1
- package/dist/schemas/scheduled_tournament.schema.d.ts +1 -0
- package/dist/schemas/scheduled_tournament.schema.d.ts.map +1 -1
- package/dist/schemas/scheduled_tournament.schema.js +4 -0
- package/dist/schemas/scheduled_tournament.schema.js.map +1 -1
- package/dist/schemas/setting.schema.d.ts +24 -0
- package/dist/schemas/setting.schema.d.ts.map +1 -0
- package/dist/schemas/setting.schema.js +65 -0
- package/dist/schemas/setting.schema.js.map +1 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +7 -0
- package/dist/utils.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +59 -0
- package/src/repositories/admin.repository.ts +23 -0
- package/src/repositories/article.repository.ts +33 -0
- package/src/repositories/banners.repository.ts +54 -0
- package/src/repositories/complains.repository.ts +30 -0
- package/src/repositories/index.ts +21 -0
- package/src/repositories/notification.repository.ts +54 -0
- package/src/repositories/products.repository.ts +29 -0
- package/src/repositories/scheduled-tournaments.repository.ts +30 -0
- package/src/repositories/servers.repository.ts +18 -0
- package/src/repositories/users.repository.ts +69 -0
- package/src/schemas/achievement.schema.ts +40 -0
- package/src/schemas/banner.schema.ts +3 -0
- package/src/schemas/channel_message.schema.ts +31 -0
- package/src/schemas/feature.schema.ts +28 -0
- package/src/schemas/notification.schema.ts +3 -0
- package/src/schemas/product.schema.ts +123 -0
- package/src/schemas/purchase.schema.ts +3 -0
- package/src/schemas/purchase_channel.schema.ts +31 -0
- package/src/schemas/rating.schema.ts +46 -0
- package/src/schemas/rooms.schema.ts +3 -0
- package/src/schemas/scheduled_tournament.schema.ts +3 -0
- package/src/schemas/setting.schema.ts +43 -0
- package/src/utils.ts +3 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ProductSchema = exports.Product = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
let Product = class Product {
|
|
15
|
+
};
|
|
16
|
+
exports.Product = Product;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, mongoose_1.Virtual)({
|
|
19
|
+
get: function () {
|
|
20
|
+
return this.id;
|
|
21
|
+
},
|
|
22
|
+
}),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Product.prototype, "productId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, mongoose_1.Prop)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Product.prototype, "title", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, mongoose_1.Prop)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Product.prototype, "titleEn", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, mongoose_1.Prop)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], Product.prototype, "subtitle", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], Product.prototype, "subtitleEn", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, mongoose_1.Prop)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], Product.prototype, "description", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, mongoose_1.Prop)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], Product.prototype, "descriptionEn", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, mongoose_1.Prop)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], Product.prototype, "descriptionAcquired", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, mongoose_1.Prop)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], Product.prototype, "descriptionAcquiredEn", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, mongoose_1.Prop)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], Product.prototype, "buttonAcquired", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, mongoose_1.Prop)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], Product.prototype, "buttonAcquiredEn", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, mongoose_1.Prop)(),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], Product.prototype, "button", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, mongoose_1.Prop)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], Product.prototype, "buttonEn", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, mongoose_1.Prop)(),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], Product.prototype, "link", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, mongoose_1.Prop)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], Product.prototype, "linkVK", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, mongoose_1.Prop)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], Product.prototype, "channels", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, mongoose_1.Prop)(),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], Product.prototype, "code", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, mongoose_1.Prop)(),
|
|
91
|
+
__metadata("design:type", Number)
|
|
92
|
+
], Product.prototype, "position", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, mongoose_1.Prop)(),
|
|
95
|
+
__metadata("design:type", Boolean)
|
|
96
|
+
], Product.prototype, "active", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, mongoose_1.Prop)(),
|
|
99
|
+
__metadata("design:type", String)
|
|
100
|
+
], Product.prototype, "image", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, mongoose_1.Prop)(),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], Product.prototype, "icon", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, mongoose_1.Prop)(),
|
|
107
|
+
__metadata("design:type", Boolean)
|
|
108
|
+
], Product.prototype, "external", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, mongoose_1.Prop)(),
|
|
111
|
+
__metadata("design:type", Boolean)
|
|
112
|
+
], Product.prototype, "isConsumable", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, mongoose_1.Prop)(),
|
|
115
|
+
__metadata("design:type", String)
|
|
116
|
+
], Product.prototype, "parentId", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, mongoose_1.Prop)(),
|
|
119
|
+
__metadata("design:type", Number)
|
|
120
|
+
], Product.prototype, "price", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, mongoose_1.Prop)(),
|
|
123
|
+
__metadata("design:type", Number)
|
|
124
|
+
], Product.prototype, "priceVK", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, mongoose_1.Prop)(),
|
|
127
|
+
__metadata("design:type", Number)
|
|
128
|
+
], Product.prototype, "priceOK", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, mongoose_1.Prop)(),
|
|
131
|
+
__metadata("design:type", Number)
|
|
132
|
+
], Product.prototype, "priceYA", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, mongoose_1.Prop)(),
|
|
135
|
+
__metadata("design:type", Number)
|
|
136
|
+
], Product.prototype, "priceGooglePlay", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, mongoose_1.Prop)(),
|
|
139
|
+
__metadata("design:type", Number)
|
|
140
|
+
], Product.prototype, "priceFB", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, mongoose_1.Prop)(),
|
|
143
|
+
__metadata("design:type", Number)
|
|
144
|
+
], Product.prototype, "priceTG", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, mongoose_1.Prop)(),
|
|
147
|
+
__metadata("design:type", Number)
|
|
148
|
+
], Product.prototype, "priceRuStore", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, mongoose_1.Prop)(),
|
|
151
|
+
__metadata("design:type", Number)
|
|
152
|
+
], Product.prototype, "value", void 0);
|
|
153
|
+
__decorate([
|
|
154
|
+
(0, mongoose_1.Prop)(),
|
|
155
|
+
__metadata("design:type", String)
|
|
156
|
+
], Product.prototype, "period", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, mongoose_1.Prop)(),
|
|
159
|
+
__metadata("design:type", String)
|
|
160
|
+
], Product.prototype, "type", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, mongoose_1.Prop)(),
|
|
163
|
+
__metadata("design:type", String)
|
|
164
|
+
], Product.prototype, "game", void 0);
|
|
165
|
+
exports.Product = Product = __decorate([
|
|
166
|
+
(0, mongoose_1.Schema)()
|
|
167
|
+
], Product);
|
|
168
|
+
exports.ProductSchema = mongoose_1.SchemaFactory.createForClass(Product);
|
|
169
|
+
//# sourceMappingURL=product.schema.js.map
|
|
@@ -0,0 +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;CAkHnB,CAAA;AAlHY,0BAAO;AAMP;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;0CACyB;AAG3B;IADC,IAAA,eAAI,GAAE;;sCACO;AAGd;IADC,IAAA,eAAI,GAAE;;wCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;yCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;2CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;4CACa;AAGpB;IADC,IAAA,eAAI,GAAE;;8CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;oDACqB;AAG5B;IADC,IAAA,eAAI,GAAE;;sDACuB;AAG9B;IADC,IAAA,eAAI,GAAE;;+CACgB;AAGvB;IADC,IAAA,eAAI,GAAE;;iDACkB;AAGzB;IADC,IAAA,eAAI,GAAE;;uCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;yCACU;AAGjB;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;kBAjHL,OAAO;IADnB,IAAA,iBAAM,GAAE;GACI,OAAO,CAkHnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -17,6 +17,7 @@ export declare class Purchase {
|
|
|
17
17
|
ticketAmount?: number;
|
|
18
18
|
guid: string;
|
|
19
19
|
chips?: number;
|
|
20
|
+
game: string;
|
|
20
21
|
}
|
|
21
22
|
export declare const PurchaseSchema: import("mongoose").Schema<Purchase, import("mongoose").Model<Purchase, any, any, any, Document<unknown, any, Purchase, any> & Purchase & {
|
|
22
23
|
_id: Types.ObjectId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purchase.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/purchase.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAe,KAAK,EAAE,MAAM,UAAU,CAAC;AAE1E,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;AAE1D,qBACa,QAAQ;IAMjB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAG5B,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC;IAG1B,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,IAAI,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IAGb,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAG3B,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"purchase.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/purchase.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAe,KAAK,EAAE,MAAM,UAAU,CAAC;AAE1E,MAAM,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;AAE1D,qBACa,QAAQ;IAMjB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAG5B,SAAS,EAAE,KAAK,CAAC,QAAQ,CAAC;IAG1B,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,IAAI,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IAGb,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAG3B,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,cAAc;;;;;;;;EAAyC,CAAC"}
|
|
@@ -83,6 +83,10 @@ __decorate([
|
|
|
83
83
|
(0, mongoose_1.Prop)(),
|
|
84
84
|
__metadata("design:type", Number)
|
|
85
85
|
], Purchase.prototype, "chips", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, mongoose_1.Prop)(),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], Purchase.prototype, "game", void 0);
|
|
86
90
|
exports.Purchase = Purchase = __decorate([
|
|
87
91
|
(0, mongoose_1.Schema)()
|
|
88
92
|
], Purchase);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purchase.schema.js","sourceRoot":"","sources":["../../src/schemas/purchase.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AACxE,uCAA0E;AAKnE,IAAM,QAAQ,GAAd,MAAM,QAAQ;
|
|
1
|
+
{"version":3,"file":"purchase.schema.js","sourceRoot":"","sources":["../../src/schemas/purchase.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AACxE,uCAA0E;AAKnE,IAAM,QAAQ,GAAd,MAAM,QAAQ;CAuDpB,CAAA;AAvDY,4BAAQ;AAMR;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;4CAC0B;AAG5B;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,sBAAW,CAAC,QAAQ,EAAE,CAAC;8BAC1B,gBAAK,CAAC,QAAQ;2CAAC;AAG1B;IADC,IAAA,eAAI,GAAE;;uCACO;AAGd;IADC,IAAA,eAAI,GAAE;;wCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;0CACU;AAGjB;IADC,IAAA,eAAI,GAAE;8BACG,IAAI;0CAAC;AAGf;IADC,IAAA,eAAI,GAAE;;sCACM;AAGb;IADC,IAAA,eAAI,GAAE;;2CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;2CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;2CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;2CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;mDACoB;AAG3B;IADC,IAAA,eAAI,GAAE;;gDACiB;AAGxB;IADC,IAAA,eAAI,GAAE;;8CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;sCACM;AAGb;IADC,IAAA,eAAI,GAAE;;uCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;sCACM;mBAtDJ,QAAQ;IADpB,IAAA,iBAAM,GAAE;GACI,QAAQ,CAuDpB;AAEY,QAAA,cAAc,GAAG,wBAAa,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Document, HydratedDocument } from 'mongoose';
|
|
2
|
+
export type PurchaseChannelDocument = HydratedDocument<PurchaseChannel>;
|
|
3
|
+
export declare class PurchaseChannel {
|
|
4
|
+
readonly achievementId: string;
|
|
5
|
+
userId: string;
|
|
6
|
+
purchaseId: string;
|
|
7
|
+
productId: string;
|
|
8
|
+
channel: string;
|
|
9
|
+
game: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const PurchaseChannelSchema: import("mongoose").Schema<PurchaseChannel, import("mongoose").Model<PurchaseChannel, any, any, any, Document<unknown, any, PurchaseChannel, any> & PurchaseChannel & {
|
|
12
|
+
_id: import("mongoose").Types.ObjectId;
|
|
13
|
+
} & {
|
|
14
|
+
__v: number;
|
|
15
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, PurchaseChannel, Document<unknown, {}, import("mongoose").FlatRecord<PurchaseChannel>, {}> & import("mongoose").FlatRecord<PurchaseChannel> & {
|
|
16
|
+
_id: import("mongoose").Types.ObjectId;
|
|
17
|
+
} & {
|
|
18
|
+
__v: number;
|
|
19
|
+
}>;
|
|
20
|
+
//# sourceMappingURL=purchase_channel.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"purchase_channel.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/purchase_channel.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC;AAExE,qBACa,eAAe;IAMxB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAG/B,MAAM,EAAE,MAAM,CAAC;IAGf,UAAU,EAAE,MAAM,CAAC;IAGnB,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;IAGhB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,qBAAqB;;;;;;;;EAAgD,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PurchaseChannelSchema = exports.PurchaseChannel = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
let PurchaseChannel = class PurchaseChannel {
|
|
15
|
+
};
|
|
16
|
+
exports.PurchaseChannel = PurchaseChannel;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, mongoose_1.Virtual)({
|
|
19
|
+
get: function () {
|
|
20
|
+
return this.id;
|
|
21
|
+
},
|
|
22
|
+
}),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], PurchaseChannel.prototype, "achievementId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, mongoose_1.Prop)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], PurchaseChannel.prototype, "userId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, mongoose_1.Prop)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], PurchaseChannel.prototype, "purchaseId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, mongoose_1.Prop)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], PurchaseChannel.prototype, "productId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], PurchaseChannel.prototype, "channel", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, mongoose_1.Prop)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], PurchaseChannel.prototype, "game", void 0);
|
|
45
|
+
exports.PurchaseChannel = PurchaseChannel = __decorate([
|
|
46
|
+
(0, mongoose_1.Schema)()
|
|
47
|
+
], PurchaseChannel);
|
|
48
|
+
exports.PurchaseChannelSchema = mongoose_1.SchemaFactory.createForClass(PurchaseChannel);
|
|
49
|
+
//# sourceMappingURL=purchase_channel.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"purchase_channel.schema.js","sourceRoot":"","sources":["../../src/schemas/purchase_channel.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,eAAe,GAArB,MAAM,eAAe;CAsB3B,CAAA;AAtBY,0CAAe;AAMf;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;sDAC6B;AAG/B;IADC,IAAA,eAAI,GAAE;;+CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;mDACY;AAGnB;IADC,IAAA,eAAI,GAAE;;kDACW;AAGlB;IADC,IAAA,eAAI,GAAE;;gDACS;AAGhB;IADC,IAAA,eAAI,GAAE;;6CACM;0BArBJ,eAAe;IAD3B,IAAA,iBAAM,GAAE;GACI,eAAe,CAsB3B;AAEY,QAAA,qBAAqB,GAAG,wBAAa,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Document, HydratedDocument } from 'mongoose';
|
|
2
|
+
export type RatingDocument = HydratedDocument<Rating>;
|
|
3
|
+
export declare class Rating {
|
|
4
|
+
readonly achievementId: string;
|
|
5
|
+
day: string;
|
|
6
|
+
month: string;
|
|
7
|
+
userId: string;
|
|
8
|
+
userName: string;
|
|
9
|
+
userAvatarUrl: string;
|
|
10
|
+
profit: number;
|
|
11
|
+
lost: number;
|
|
12
|
+
gamesPlayed: number;
|
|
13
|
+
gamesWon: number;
|
|
14
|
+
game: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const RatingSchema: import("mongoose").Schema<Rating, import("mongoose").Model<Rating, any, any, any, Document<unknown, any, Rating, any> & Rating & {
|
|
17
|
+
_id: import("mongoose").Types.ObjectId;
|
|
18
|
+
} & {
|
|
19
|
+
__v: number;
|
|
20
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Rating, Document<unknown, {}, import("mongoose").FlatRecord<Rating>, {}> & import("mongoose").FlatRecord<Rating> & {
|
|
21
|
+
_id: import("mongoose").Types.ObjectId;
|
|
22
|
+
} & {
|
|
23
|
+
__v: number;
|
|
24
|
+
}>;
|
|
25
|
+
//# sourceMappingURL=rating.schema.d.ts.map
|
|
@@ -0,0 +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;IAMf,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAG/B,GAAG,EAAE,MAAM,CAAC;IAGZ,KAAK,EAAE,MAAM,CAAC;IAGd,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,aAAa,EAAE,MAAM,CAAC;IAGtB,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAA;IAGZ,WAAW,EAAE,MAAM,CAAC;IAGpB,QAAQ,EAAE,MAAM,CAAC;IAGjB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,YAAY;;;;;;;;EAAuC,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RatingSchema = exports.Rating = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
let Rating = class Rating {
|
|
15
|
+
};
|
|
16
|
+
exports.Rating = Rating;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, mongoose_1.Virtual)({
|
|
19
|
+
get: function () {
|
|
20
|
+
return this.id;
|
|
21
|
+
},
|
|
22
|
+
}),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Rating.prototype, "achievementId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, mongoose_1.Prop)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Rating.prototype, "day", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, mongoose_1.Prop)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Rating.prototype, "month", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, mongoose_1.Prop)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], Rating.prototype, "userId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], Rating.prototype, "userName", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, mongoose_1.Prop)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], Rating.prototype, "userAvatarUrl", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, mongoose_1.Prop)(),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], Rating.prototype, "profit", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, mongoose_1.Prop)(),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], Rating.prototype, "lost", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, mongoose_1.Prop)(),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], Rating.prototype, "gamesPlayed", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, mongoose_1.Prop)(),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], Rating.prototype, "gamesWon", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, mongoose_1.Prop)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], Rating.prototype, "game", void 0);
|
|
65
|
+
exports.Rating = Rating = __decorate([
|
|
66
|
+
(0, mongoose_1.Schema)()
|
|
67
|
+
], Rating);
|
|
68
|
+
exports.RatingSchema = mongoose_1.SchemaFactory.createForClass(Rating);
|
|
69
|
+
//# sourceMappingURL=rating.schema.js.map
|
|
@@ -0,0 +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;CAqClB,CAAA;AArCY,wBAAM;AAMN;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;6CAC6B;AAG/B;IADC,IAAA,eAAI,GAAE;;mCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;qCACO;AAGd;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;;oCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;2CACa;AAGpB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;oCACM;iBApCJ,MAAM;IADlB,IAAA,iBAAM,GAAE;GACI,MAAM,CAqClB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -11,6 +11,7 @@ export declare class Room {
|
|
|
11
11
|
halfBet: number;
|
|
12
12
|
limit: number;
|
|
13
13
|
balanceProductId: string;
|
|
14
|
+
game: string;
|
|
14
15
|
}
|
|
15
16
|
export declare const RoomSchema: import("mongoose").Schema<Room, import("mongoose").Model<Room, any, any, any, Document<unknown, any, Room, any> & Room & {
|
|
16
17
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooms.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/rooms.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;IAMb,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,UAAU,EAAE,MAAM,CAAC;IAGnB,GAAG,EAAE,MAAM,CAAC;IAGZ,OAAO,EAAE,MAAM,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IAGd,gBAAgB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"rooms.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/rooms.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;IAMb,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,UAAU,EAAE,MAAM,CAAC;IAGnB,GAAG,EAAE,MAAM,CAAC;IAGZ,OAAO,EAAE,MAAM,CAAC;IAGhB,KAAK,EAAE,MAAM,CAAC;IAGd,gBAAgB,EAAE,MAAM,CAAC;IAGzB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,UAAU;;;;;;;;EAAqC,CAAC"}
|
|
@@ -58,6 +58,10 @@ __decorate([
|
|
|
58
58
|
(0, mongoose_1.Prop)(),
|
|
59
59
|
__metadata("design:type", String)
|
|
60
60
|
], Room.prototype, "balanceProductId", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, mongoose_1.Prop)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], Room.prototype, "game", void 0);
|
|
61
65
|
exports.Room = Room = __decorate([
|
|
62
66
|
(0, mongoose_1.Schema)()
|
|
63
67
|
], Room);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooms.schema.js","sourceRoot":"","sources":["../../src/schemas/rooms.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,IAAI,GAAV,MAAM,IAAI;
|
|
1
|
+
{"version":3,"file":"rooms.schema.js","sourceRoot":"","sources":["../../src/schemas/rooms.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,IAAI,GAAV,MAAM,IAAI;CAqChB,CAAA;AArCY,oBAAI;AAMJ;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;oCACsB;AAGxB;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;oCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;sCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;wCACY;AAGnB;IADC,IAAA,eAAI,GAAE;;iCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;qCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;mCACO;AAGd;IADC,IAAA,eAAI,GAAE;;8CACkB;AAGzB;IADC,IAAA,eAAI,GAAE;;kCACM;eApCJ,IAAI;IADhB,IAAA,iBAAM,GAAE;GACI,IAAI,CAqChB;AAEY,QAAA,UAAU,GAAG,wBAAa,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -34,6 +34,7 @@ export declare class ScheduledTournament {
|
|
|
34
34
|
invitedPlayers: Array<string>;
|
|
35
35
|
ownerId?: string;
|
|
36
36
|
schedule: boolean;
|
|
37
|
+
game: string;
|
|
37
38
|
}
|
|
38
39
|
export declare const ScheduledTournamentSchema: import("mongoose").Schema<ScheduledTournament, import("mongoose").Model<ScheduledTournament, any, any, any, Document<unknown, any, ScheduledTournament, any> & ScheduledTournament & {
|
|
39
40
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled_tournament.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/scheduled_tournament.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,2BAA2B,GAAG,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;AAEhF,MAAM,WAAW,0BAA0B;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,+BAA+B;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,qBACa,mBAAmB;IAM5B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAG9B,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;IAGlB,GAAG,EAAE,MAAM,CAAC;IAGZ,OAAO,EAAE,MAAM,CAAC;IAGhB,WAAW,EAAE,MAAM,CAAC;IAGpB,eAAe,EAAE,MAAM,CAAC;IAGxB,IAAI,EAAE,IAAI,CAAC;IAGX,OAAO,EAAE,MAAM,CAAC;IAGhB,OAAO,EAAE,MAAM,CAAC;IAGhB,YAAY,EAAE,KAAK,CAAC,+BAA+B,CAAC,CAAC;IAGrD,OAAO,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAG3C,eAAe,EAAE,MAAM,CAAC;IAGxB,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAG9B,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"scheduled_tournament.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/scheduled_tournament.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,2BAA2B,GAAG,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;AAEhF,MAAM,WAAW,0BAA0B;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,+BAA+B;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,qBACa,mBAAmB;IAM5B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAG9B,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;IAGlB,GAAG,EAAE,MAAM,CAAC;IAGZ,OAAO,EAAE,MAAM,CAAC;IAGhB,WAAW,EAAE,MAAM,CAAC;IAGpB,eAAe,EAAE,MAAM,CAAC;IAGxB,IAAI,EAAE,IAAI,CAAC;IAGX,OAAO,EAAE,MAAM,CAAC;IAGhB,OAAO,EAAE,MAAM,CAAC;IAGhB,YAAY,EAAE,KAAK,CAAC,+BAA+B,CAAC,CAAC;IAGrD,OAAO,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAG3C,eAAe,EAAE,MAAM,CAAC;IAGxB,MAAM,EAAE,MAAM,CAAC;IAGf,QAAQ,EAAE,MAAM,CAAC;IAGjB,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAG9B,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,OAAO,CAAC;IAGlB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,yBAAyB;;;;;;;;EAAoD,CAAC"}
|
|
@@ -102,6 +102,10 @@ __decorate([
|
|
|
102
102
|
(0, mongoose_1.Prop)(),
|
|
103
103
|
__metadata("design:type", Boolean)
|
|
104
104
|
], ScheduledTournament.prototype, "schedule", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, mongoose_1.Prop)(),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], ScheduledTournament.prototype, "game", void 0);
|
|
105
109
|
exports.ScheduledTournament = ScheduledTournament = __decorate([
|
|
106
110
|
(0, mongoose_1.Schema)({ collection: 'scheduled_tournaments' })
|
|
107
111
|
], ScheduledTournament);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled_tournament.schema.js","sourceRoot":"","sources":["../../src/schemas/scheduled_tournament.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAoBjE,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;
|
|
1
|
+
{"version":3,"file":"scheduled_tournament.schema.js","sourceRoot":"","sources":["../../src/schemas/scheduled_tournament.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAoBjE,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAsE/B,CAAA;AAtEY,kDAAmB;AAMnB;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;yDAC4B;AAG9B;IADC,IAAA,eAAI,GAAE;;iDACM;AAGb;IADC,IAAA,eAAI,GAAE;;iDACM;AAGb;IADC,IAAA,eAAI,GAAE;;mDACQ;AAGf;IADC,IAAA,eAAI,GAAE;;qDACU;AAGjB;IADC,IAAA,eAAI,GAAE;;sDACW;AAGlB;IADC,IAAA,eAAI,GAAE;;gDACK;AAGZ;IADC,IAAA,eAAI,GAAE;;oDACS;AAGhB;IADC,IAAA,eAAI,GAAE;;wDACa;AAGpB;IADC,IAAA,eAAI,GAAE;;4DACiB;AAGxB;IADC,IAAA,eAAI,GAAE;8BACD,IAAI;iDAAC;AAGX;IADC,IAAA,eAAI,GAAE;;oDACS;AAGhB;IADC,IAAA,eAAI,GAAE;;oDACS;AAGhB;IADC,IAAA,eAAI,GAAE;8BACO,KAAK;yDAAkC;AAGrD;IADC,IAAA,eAAI,GAAE;8BACE,KAAK;oDAA6B;AAG3C;IADC,IAAA,eAAI,GAAE;;4DACiB;AAGxB;IADC,IAAA,eAAI,GAAE;;mDACQ;AAGf;IADC,IAAA,eAAI,GAAE;;qDACU;AAGjB;IADC,IAAA,eAAI,GAAE;8BACS,KAAK;2DAAS;AAG9B;IADC,IAAA,eAAI,GAAE;;oDACU;AAGjB;IADC,IAAA,eAAI,GAAE;;qDACW;AAGlB;IADC,IAAA,eAAI,GAAE;;iDACM;8BArEJ,mBAAmB;IAD/B,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,uBAAuB,EAAE,CAAC;GACnC,mBAAmB,CAsE/B;AAEY,QAAA,yBAAyB,GAAG,wBAAa,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Document, HydratedDocument } from 'mongoose';
|
|
2
|
+
export type SettingDocument = HydratedDocument<Setting>;
|
|
3
|
+
export declare class Setting {
|
|
4
|
+
readonly settingId: string;
|
|
5
|
+
type: string;
|
|
6
|
+
title: string;
|
|
7
|
+
titleEn: string;
|
|
8
|
+
position: number;
|
|
9
|
+
payd?: boolean;
|
|
10
|
+
code: string;
|
|
11
|
+
productId?: string;
|
|
12
|
+
premium?: boolean;
|
|
13
|
+
game?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const SettingSchema: import("mongoose").Schema<Setting, import("mongoose").Model<Setting, any, any, any, Document<unknown, any, Setting, any> & Setting & {
|
|
16
|
+
_id: import("mongoose").Types.ObjectId;
|
|
17
|
+
} & {
|
|
18
|
+
__v: number;
|
|
19
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Setting, Document<unknown, {}, import("mongoose").FlatRecord<Setting>, {}> & import("mongoose").FlatRecord<Setting> & {
|
|
20
|
+
_id: import("mongoose").Types.ObjectId;
|
|
21
|
+
} & {
|
|
22
|
+
__v: number;
|
|
23
|
+
}>;
|
|
24
|
+
//# sourceMappingURL=setting.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setting.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/setting.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;AAExD,qBACa,OAAO;IAMhB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAG3B,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,OAAO,EAAE,MAAM,CAAC;IAGhB,QAAQ,EAAE,MAAM,CAAC;IAGjB,IAAI,CAAC,EAAE,OAAO,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IAGb,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,aAAa;;;;;;;;EAAwC,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SettingSchema = exports.Setting = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
let Setting = class Setting {
|
|
15
|
+
};
|
|
16
|
+
exports.Setting = Setting;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, mongoose_1.Virtual)({
|
|
19
|
+
get: function () {
|
|
20
|
+
return this.id;
|
|
21
|
+
},
|
|
22
|
+
}),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Setting.prototype, "settingId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, mongoose_1.Prop)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Setting.prototype, "type", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, mongoose_1.Prop)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Setting.prototype, "title", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, mongoose_1.Prop)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], Setting.prototype, "titleEn", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], Setting.prototype, "position", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, mongoose_1.Prop)(),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], Setting.prototype, "payd", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, mongoose_1.Prop)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], Setting.prototype, "code", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, mongoose_1.Prop)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], Setting.prototype, "productId", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, mongoose_1.Prop)(),
|
|
55
|
+
__metadata("design:type", Boolean)
|
|
56
|
+
], Setting.prototype, "premium", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, mongoose_1.Prop)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], Setting.prototype, "game", void 0);
|
|
61
|
+
exports.Setting = Setting = __decorate([
|
|
62
|
+
(0, mongoose_1.Schema)()
|
|
63
|
+
], Setting);
|
|
64
|
+
exports.SettingSchema = mongoose_1.SchemaFactory.createForClass(Setting);
|
|
65
|
+
//# sourceMappingURL=setting.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setting.schema.js","sourceRoot":"","sources":["../../src/schemas/setting.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CAkCnB,CAAA;AAlCY,0BAAO;AAMP;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;0CACyB;AAG3B;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;sCACO;AAGd;IADC,IAAA,eAAI,GAAE;;wCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;yCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;qCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;0CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;wCACW;AAGlB;IADC,IAAA,eAAI,GAAE;;qCACO;kBAjCL,OAAO;IADnB,IAAA,iBAAM,GAAE;GACI,OAAO,CAkCnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,UAErD"}
|
package/dist/utils.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;AAAA,wDAEC;AAFD,SAAgB,sBAAsB,CAAC,OAAe;IAClD,OAAO,IAAI,MAAM,CAAC,OAAO,OAAO,EAAE,EAAE,GAAG,CAAC,CAAC;AAC7C,CAAC"}
|