@eventista/ticketing-common 1.0.75 → 1.0.76
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.
|
@@ -19,11 +19,7 @@ __decorate([
|
|
|
19
19
|
(0, mongoose_1.Prop)({
|
|
20
20
|
type: String,
|
|
21
21
|
required: true,
|
|
22
|
-
index:
|
|
23
|
-
type: 'global',
|
|
24
|
-
name: 'calendarIdIndex',
|
|
25
|
-
project: true,
|
|
26
|
-
},
|
|
22
|
+
index: true,
|
|
27
23
|
}),
|
|
28
24
|
__metadata("design:type", String)
|
|
29
25
|
], Tickets.prototype, "calendarId", void 0);
|
|
@@ -31,11 +27,7 @@ __decorate([
|
|
|
31
27
|
(0, mongoose_1.Prop)({
|
|
32
28
|
type: String,
|
|
33
29
|
required: true,
|
|
34
|
-
index:
|
|
35
|
-
type: 'global',
|
|
36
|
-
name: 'eventIdIndex',
|
|
37
|
-
project: true,
|
|
38
|
-
},
|
|
30
|
+
index: true,
|
|
39
31
|
}),
|
|
40
32
|
__metadata("design:type", String)
|
|
41
33
|
], Tickets.prototype, "eventId", void 0);
|
|
@@ -49,11 +41,7 @@ __decorate([
|
|
|
49
41
|
(0, mongoose_1.Prop)({
|
|
50
42
|
type: String,
|
|
51
43
|
required: true,
|
|
52
|
-
index:
|
|
53
|
-
type: 'global',
|
|
54
|
-
name: 'rowIdIndex',
|
|
55
|
-
project: true,
|
|
56
|
-
},
|
|
44
|
+
index: true,
|
|
57
45
|
}),
|
|
58
46
|
__metadata("design:type", String)
|
|
59
47
|
], Tickets.prototype, "rowId", void 0);
|
|
@@ -61,11 +49,7 @@ __decorate([
|
|
|
61
49
|
(0, mongoose_1.Prop)({
|
|
62
50
|
type: String,
|
|
63
51
|
required: true,
|
|
64
|
-
index:
|
|
65
|
-
type: 'global',
|
|
66
|
-
name: 'zoneIdIndex',
|
|
67
|
-
project: true,
|
|
68
|
-
},
|
|
52
|
+
index: true,
|
|
69
53
|
}),
|
|
70
54
|
__metadata("design:type", String)
|
|
71
55
|
], Tickets.prototype, "zoneId", void 0);
|
|
@@ -73,11 +57,7 @@ __decorate([
|
|
|
73
57
|
(0, mongoose_1.Prop)({
|
|
74
58
|
type: String,
|
|
75
59
|
required: false,
|
|
76
|
-
index:
|
|
77
|
-
type: 'global',
|
|
78
|
-
name: 'codeIndex',
|
|
79
|
-
project: true,
|
|
80
|
-
},
|
|
60
|
+
index: true,
|
|
81
61
|
}),
|
|
82
62
|
__metadata("design:type", String)
|
|
83
63
|
], Tickets.prototype, "code", void 0);
|
|
@@ -86,11 +66,7 @@ __decorate([
|
|
|
86
66
|
type: String,
|
|
87
67
|
required: true,
|
|
88
68
|
default: 'idle',
|
|
89
|
-
index:
|
|
90
|
-
type: 'global',
|
|
91
|
-
name: 'statusIndex',
|
|
92
|
-
project: true,
|
|
93
|
-
},
|
|
69
|
+
index: true,
|
|
94
70
|
}),
|
|
95
71
|
__metadata("design:type", String)
|
|
96
72
|
], Tickets.prototype, "status", void 0);
|
|
@@ -106,11 +82,6 @@ __decorate([
|
|
|
106
82
|
(0, mongoose_1.Prop)({
|
|
107
83
|
type: String,
|
|
108
84
|
required: false,
|
|
109
|
-
index: {
|
|
110
|
-
type: 'global',
|
|
111
|
-
name: 'customerNameIndex',
|
|
112
|
-
project: true,
|
|
113
|
-
},
|
|
114
85
|
}),
|
|
115
86
|
__metadata("design:type", String)
|
|
116
87
|
], Tickets.prototype, "customerName", void 0);
|
|
@@ -118,11 +89,7 @@ __decorate([
|
|
|
118
89
|
(0, mongoose_1.Prop)({
|
|
119
90
|
type: String,
|
|
120
91
|
required: false,
|
|
121
|
-
index:
|
|
122
|
-
type: 'global',
|
|
123
|
-
name: 'customerEmailIndex',
|
|
124
|
-
project: true,
|
|
125
|
-
},
|
|
92
|
+
index: true,
|
|
126
93
|
}),
|
|
127
94
|
__metadata("design:type", String)
|
|
128
95
|
], Tickets.prototype, "customerEmail", void 0);
|
|
@@ -130,11 +97,6 @@ __decorate([
|
|
|
130
97
|
(0, mongoose_1.Prop)({
|
|
131
98
|
type: String,
|
|
132
99
|
required: false,
|
|
133
|
-
index: {
|
|
134
|
-
type: 'global',
|
|
135
|
-
name: 'customerPhoneIndex',
|
|
136
|
-
project: true,
|
|
137
|
-
},
|
|
138
100
|
}),
|
|
139
101
|
__metadata("design:type", String)
|
|
140
102
|
], Tickets.prototype, "customerPhone", void 0);
|
|
@@ -156,11 +118,6 @@ __decorate([
|
|
|
156
118
|
(0, mongoose_1.Prop)({
|
|
157
119
|
type: String,
|
|
158
120
|
required: false,
|
|
159
|
-
index: {
|
|
160
|
-
type: 'global',
|
|
161
|
-
name: 'orderIndex',
|
|
162
|
-
project: true,
|
|
163
|
-
},
|
|
164
121
|
}),
|
|
165
122
|
__metadata("design:type", String)
|
|
166
123
|
], Tickets.prototype, "orderId", void 0);
|
|
@@ -168,11 +125,7 @@ __decorate([
|
|
|
168
125
|
(0, mongoose_1.Prop)({
|
|
169
126
|
type: String,
|
|
170
127
|
required: true,
|
|
171
|
-
index:
|
|
172
|
-
type: 'global',
|
|
173
|
-
name: 'ticketClassIdIndex',
|
|
174
|
-
project: true,
|
|
175
|
-
},
|
|
128
|
+
index: true,
|
|
176
129
|
}),
|
|
177
130
|
__metadata("design:type", String)
|
|
178
131
|
], Tickets.prototype, "ticketClassId", void 0);
|
|
@@ -227,5 +180,4 @@ exports.Tickets = Tickets = __decorate([
|
|
|
227
180
|
exports.TicketsSchema = mongoose_1.SchemaFactory.createForClass(Tickets);
|
|
228
181
|
(0, index_1.addUpdateHooks)(exports.TicketsSchema);
|
|
229
182
|
(0, index_1.addSoftDeleteHooks)(exports.TicketsSchema);
|
|
230
|
-
exports.TicketsSchema.index({ eventId: 1, type: 1, referenceId: 1 }, { unique: true });
|
|
231
183
|
//# sourceMappingURL=tickets.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tickets.schema.js","sourceRoot":"","sources":["../../../src/schemas/tickets/tickets.schema.ts"],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