@weekendgoals/weekendgoals-common 1.1467.11591237947 → 1.1505.11938007206

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.
@@ -1 +1 @@
1
- {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/db/connect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,wBAAsB,gBAAgB,6BAcrC"}
1
+ {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/db/connect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,wBAAsB,gBAAgB,6BAmBrC"}
@@ -17,11 +17,17 @@ function connectToMongoDb() {
17
17
  const dbUser = process.env.DB_USER;
18
18
  const dbPassword = process.env.DB_PASSWORD;
19
19
  mongoose.set("strictQuery", false);
20
- const result = yield mongoose.connect(dbUrl, {
21
- user: dbUser,
22
- pass: dbPassword,
23
- });
24
- return result;
20
+ try {
21
+ const result = yield mongoose.connect(dbUrl, {
22
+ user: dbUser,
23
+ pass: dbPassword,
24
+ });
25
+ console.log("connected to mongodb");
26
+ return result;
27
+ }
28
+ catch (e) {
29
+ throw e;
30
+ }
25
31
  });
26
32
  }
27
33
  //# sourceMappingURL=connect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/db/connect.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,4CAcC;AAhBD,qCAAqC;AAErC,SAAsB,gBAAgB;;QACpC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;QAEjC,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC;QACnC,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC;QAE3C,QAAQ,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;QAEnC,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE;YAC3C,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,UAAU;SACjB,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAChB,CAAC;CAAA"}
1
+ {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/db/connect.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,4CAmBC;AArBD,qCAAqC;AAErC,SAAsB,gBAAgB;;QACpC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;QAEjC,MAAM,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC;QACnC,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC;QAE3C,QAAQ,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;QAEnC,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE;gBAC3C,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,UAAU;aACjB,CAAC,CAAC;YAEH,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;YACpC,OAAO,MAAM,CAAC;QAChB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,CAAC,CAAC;QACV,CAAC;IACH,CAAC;CAAA"}
@@ -76,8 +76,6 @@ export declare const AttractionSchema: mongoose.Schema<any, mongoose.Model<any,
76
76
  };
77
77
  }> & {
78
78
  _id: mongoose.Types.ObjectId;
79
- } & {
80
- __v?: number;
81
79
  }>;
82
80
  export declare const AttractionModel: mongoose.Model<{
83
81
  createdAt: NativeDate;
@@ -153,8 +151,6 @@ export declare const AttractionModel: mongoose.Model<{
153
151
  };
154
152
  } & {
155
153
  _id: mongoose.Types.ObjectId;
156
- } & {
157
- __v?: number;
158
154
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
159
155
  timestamps: true;
160
156
  typeKey: "$type";
@@ -232,7 +228,5 @@ export declare const AttractionModel: mongoose.Model<{
232
228
  };
233
229
  }> & {
234
230
  _id: mongoose.Types.ObjectId;
235
- } & {
236
- __v?: number;
237
231
  }>>;
238
232
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/attractions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmC5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAI3B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/attractions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmC5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAI3B,CAAC"}
@@ -49,8 +49,6 @@ export declare const CitySchema: mongoose.Schema<any, mongoose.Model<any, any, a
49
49
  population?: number;
50
50
  }> & {
51
51
  _id: mongoose.Types.ObjectId;
52
- } & {
53
- __v?: number;
54
52
  }>;
55
53
  export declare const CityModel: mongoose.Model<{
56
54
  createdAt: NativeDate;
@@ -99,8 +97,6 @@ export declare const CityModel: mongoose.Model<{
99
97
  population?: number;
100
98
  } & {
101
99
  _id: mongoose.Types.ObjectId;
102
- } & {
103
- __v?: number;
104
100
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
105
101
  timestamps: true;
106
102
  typeKey: "$type";
@@ -151,7 +147,5 @@ export declare const CityModel: mongoose.Model<{
151
147
  population?: number;
152
148
  }> & {
153
149
  _id: mongoose.Types.ObjectId;
154
- } & {
155
- __v?: number;
156
150
  }>>;
157
151
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/cities/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BtB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/cities/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BtB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC"}
@@ -31,8 +31,6 @@ export declare const ConversationMessageSchema: mongoose.Schema<any, mongoose.Mo
31
31
  isDeleted?: boolean;
32
32
  }> & {
33
33
  _id: mongoose.Types.ObjectId;
34
- } & {
35
- __v?: number;
36
34
  }>;
37
35
  export declare const ConversationMessageModel: mongoose.Model<{
38
36
  createdAt: NativeDate;
@@ -63,8 +61,6 @@ export declare const ConversationMessageModel: mongoose.Model<{
63
61
  isDeleted?: boolean;
64
62
  } & {
65
63
  _id: mongoose.Types.ObjectId;
66
- } & {
67
- __v?: number;
68
64
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
69
65
  timestamps: true;
70
66
  typeKey: "$type";
@@ -97,7 +93,5 @@ export declare const ConversationMessageModel: mongoose.Model<{
97
93
  isDeleted?: boolean;
98
94
  }> & {
99
95
  _id: mongoose.Types.ObjectId;
100
- } & {
101
- __v?: number;
102
96
  }>>;
103
97
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversation-messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASrC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIpC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversation-messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASrC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIpC,CAAC"}
@@ -28,8 +28,6 @@ export declare const ConversationSchema: mongoose.Schema<any, mongoose.Model<any
28
28
  isDeleted?: boolean;
29
29
  }> & {
30
30
  _id: mongoose.Types.ObjectId;
31
- } & {
32
- __v?: number;
33
31
  }>;
34
32
  export declare const ConversationModel: mongoose.Model<any, unknown, unknown, unknown, any, any>;
35
33
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,0DAI7B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,0DAI7B,CAAC"}
@@ -27,8 +27,6 @@ export declare const LeagueSchema: mongoose.Schema<any, mongoose.Model<any, any,
27
27
  soccerwaySlug?: string;
28
28
  }> & {
29
29
  _id: mongoose.Types.ObjectId;
30
- } & {
31
- __v?: number;
32
30
  }>;
33
31
  export declare const LeagueModel: mongoose.Model<{
34
32
  createdAt: NativeDate;
@@ -56,8 +54,6 @@ export declare const LeagueModel: mongoose.Model<{
56
54
  soccerwaySlug?: string;
57
55
  } & {
58
56
  _id: mongoose.Types.ObjectId;
59
- } & {
60
- __v?: number;
61
57
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
62
58
  timestamps: true;
63
59
  }, {
@@ -86,7 +82,5 @@ export declare const LeagueModel: mongoose.Model<{
86
82
  soccerwaySlug?: string;
87
83
  }> & {
88
84
  _id: mongoose.Types.ObjectId;
89
- } & {
90
- __v?: number;
91
85
  }>>;
92
86
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/leagues/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQyB,CAAC;AAEnD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/leagues/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQyB,CAAC;AAEnD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoD,CAAC"}
@@ -23,6 +23,8 @@ export declare const MatchSchema: mongoose.Schema<any, mongoose.Model<any, any,
23
23
  status?: string;
24
24
  localTimeKickoff?: NativeDate;
25
25
  hasTickets?: boolean;
26
+ ticketPrice?: number;
27
+ ticketCurrency?: string;
26
28
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
27
29
  createdAt: NativeDate;
28
30
  updatedAt: NativeDate;
@@ -44,6 +46,8 @@ export declare const MatchSchema: mongoose.Schema<any, mongoose.Model<any, any,
44
46
  status?: string;
45
47
  localTimeKickoff?: NativeDate;
46
48
  hasTickets?: boolean;
49
+ ticketPrice?: number;
50
+ ticketCurrency?: string;
47
51
  }>> & mongoose.FlatRecord<{
48
52
  createdAt: NativeDate;
49
53
  updatedAt: NativeDate;
@@ -65,10 +69,10 @@ export declare const MatchSchema: mongoose.Schema<any, mongoose.Model<any, any,
65
69
  status?: string;
66
70
  localTimeKickoff?: NativeDate;
67
71
  hasTickets?: boolean;
72
+ ticketPrice?: number;
73
+ ticketCurrency?: string;
68
74
  }> & {
69
75
  _id: mongoose.Types.ObjectId;
70
- } & {
71
- __v?: number;
72
76
  }>;
73
77
  export declare const MatchModel: mongoose.Model<{
74
78
  createdAt: NativeDate;
@@ -91,6 +95,8 @@ export declare const MatchModel: mongoose.Model<{
91
95
  status?: string;
92
96
  localTimeKickoff?: NativeDate;
93
97
  hasTickets?: boolean;
98
+ ticketPrice?: number;
99
+ ticketCurrency?: string;
94
100
  }, {}, {}, {}, mongoose.Document<unknown, {}, {
95
101
  createdAt: NativeDate;
96
102
  updatedAt: NativeDate;
@@ -112,6 +118,8 @@ export declare const MatchModel: mongoose.Model<{
112
118
  status?: string;
113
119
  localTimeKickoff?: NativeDate;
114
120
  hasTickets?: boolean;
121
+ ticketPrice?: number;
122
+ ticketCurrency?: string;
115
123
  }> & {
116
124
  createdAt: NativeDate;
117
125
  updatedAt: NativeDate;
@@ -133,10 +141,10 @@ export declare const MatchModel: mongoose.Model<{
133
141
  status?: string;
134
142
  localTimeKickoff?: NativeDate;
135
143
  hasTickets?: boolean;
144
+ ticketPrice?: number;
145
+ ticketCurrency?: string;
136
146
  } & {
137
147
  _id: mongoose.Types.ObjectId;
138
- } & {
139
- __v?: number;
140
148
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
141
149
  timestamps: true;
142
150
  typeKey: "$type";
@@ -161,6 +169,8 @@ export declare const MatchModel: mongoose.Model<{
161
169
  status?: string;
162
170
  localTimeKickoff?: NativeDate;
163
171
  hasTickets?: boolean;
172
+ ticketPrice?: number;
173
+ ticketCurrency?: string;
164
174
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
165
175
  createdAt: NativeDate;
166
176
  updatedAt: NativeDate;
@@ -182,6 +192,8 @@ export declare const MatchModel: mongoose.Model<{
182
192
  status?: string;
183
193
  localTimeKickoff?: NativeDate;
184
194
  hasTickets?: boolean;
195
+ ticketPrice?: number;
196
+ ticketCurrency?: string;
185
197
  }>> & mongoose.FlatRecord<{
186
198
  createdAt: NativeDate;
187
199
  updatedAt: NativeDate;
@@ -203,9 +215,9 @@ export declare const MatchModel: mongoose.Model<{
203
215
  status?: string;
204
216
  localTimeKickoff?: NativeDate;
205
217
  hasTickets?: boolean;
218
+ ticketPrice?: number;
219
+ ticketCurrency?: string;
206
220
  }> & {
207
221
  _id: mongoose.Types.ObjectId;
208
- } & {
209
- __v?: number;
210
222
  }>>;
211
223
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/matches/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAkD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/matches/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAkD,CAAC"}
@@ -31,6 +31,8 @@ exports.MatchSchema = new mongoose.Schema({
31
31
  status: String,
32
32
  localTimeKickoff: Date,
33
33
  hasTickets: Boolean,
34
+ ticketPrice: Number,
35
+ ticketCurrency: String,
34
36
  }, { timestamps: true, typeKey: "$type" });
35
37
  exports.MatchModel = mongoose.model("Match", exports.MatchSchema, "Matches");
36
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/matches/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAExB,QAAA,WAAW,GAAG,IAAI,QAAQ,CAAC,MAAM,CAC5C;IACE,aAAa,EAAE,MAAM;IACrB,eAAe,EAAE,MAAM;IACvB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,MAAM;IACpB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,MAAM;IACpB,OAAO,EAAE,MAAM;IACf,eAAe,EAAE,OAAO;IACxB,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,IAAI,EAAE;gBACJ,KAAK,EAAE,MAAM;gBACb,IAAI,EAAE,CAAC,OAAO,CAAC;gBACf,QAAQ,EAAE,CAAC,IAAI,EAAE,wBAAwB,CAAC;aAC3C;YACD,WAAW,EAAE;gBACX,KAAK,EAAE,CAAC,MAAM,CAAC;gBACf,QAAQ,EAAE,CAAC,IAAI,EAAE,+BAA+B,CAAC;aAClD;SACF;QACD,QAAQ,EAAE,KAAK;QACf,GAAG,EAAE,KAAK;KACX;IACD,IAAI,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE;IACrC,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,MAAM;IACd,gBAAgB,EAAE,IAAI;IACtB,UAAU,EAAE,OAAO;CACpB,EACD,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CACvC,CAAC;AAEW,QAAA,UAAU,GAAG,QAAQ,CAAC,KAAK,CAAC,OAAO,EAAE,mBAAW,EAAE,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/matches/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAExB,QAAA,WAAW,GAAG,IAAI,QAAQ,CAAC,MAAM,CAC5C;IACE,aAAa,EAAE,MAAM;IACrB,eAAe,EAAE,MAAM;IACvB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,MAAM;IACpB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,MAAM;IACpB,OAAO,EAAE,MAAM;IACf,eAAe,EAAE,OAAO;IACxB,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,IAAI,EAAE;gBACJ,KAAK,EAAE,MAAM;gBACb,IAAI,EAAE,CAAC,OAAO,CAAC;gBACf,QAAQ,EAAE,CAAC,IAAI,EAAE,wBAAwB,CAAC;aAC3C;YACD,WAAW,EAAE;gBACX,KAAK,EAAE,CAAC,MAAM,CAAC;gBACf,QAAQ,EAAE,CAAC,IAAI,EAAE,+BAA+B,CAAC;aAClD;SACF;QACD,QAAQ,EAAE,KAAK;QACf,GAAG,EAAE,KAAK;KACX;IACD,IAAI,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE;IACrC,OAAO,EAAE,IAAI;IACb,MAAM,EAAE,MAAM;IACd,gBAAgB,EAAE,IAAI;IACtB,UAAU,EAAE,OAAO;IACnB,WAAW,EAAE,MAAM;IACnB,cAAc,EAAE,MAAM;CACvB,EACD,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CACvC,CAAC;AAEW,QAAA,UAAU,GAAG,QAAQ,CAAC,KAAK,CAAC,OAAO,EAAE,mBAAW,EAAE,SAAS,CAAC,CAAC"}
@@ -51,8 +51,6 @@ export declare const TeamsSchema: mongoose.Schema<any, mongoose.Model<any, any,
51
51
  venueHash?: string;
52
52
  }> & {
53
53
  _id: mongoose.Types.ObjectId;
54
- } & {
55
- __v?: number;
56
54
  }>;
57
55
  export declare const TeamModel: mongoose.Model<{
58
56
  createdAt: NativeDate;
@@ -104,8 +102,6 @@ export declare const TeamModel: mongoose.Model<{
104
102
  venueHash?: string;
105
103
  } & {
106
104
  _id: mongoose.Types.ObjectId;
107
- } & {
108
- __v?: number;
109
105
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
110
106
  timestamps: true;
111
107
  }, {
@@ -158,7 +154,5 @@ export declare const TeamModel: mongoose.Model<{
158
154
  venueHash?: string;
159
155
  }> & {
160
156
  _id: mongoose.Types.ObjectId;
161
- } & {
162
- __v?: number;
163
157
  }>>;
164
158
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/teams/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBvB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/teams/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBvB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC"}
@@ -30,8 +30,6 @@ export declare const TicketSchema: mongoose.Schema<any, mongoose.Model<any, any,
30
30
  url?: string;
31
31
  }> & {
32
32
  _id: mongoose.Types.ObjectId;
33
- } & {
34
- __v?: number;
35
33
  }>;
36
34
  export declare const TicketModel: mongoose.Model<{
37
35
  createdAt: NativeDate;
@@ -62,8 +60,6 @@ export declare const TicketModel: mongoose.Model<{
62
60
  url?: string;
63
61
  } & {
64
62
  _id: mongoose.Types.ObjectId;
65
- } & {
66
- __v?: number;
67
63
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
68
64
  timestamps: true;
69
65
  }, {
@@ -95,7 +91,5 @@ export declare const TicketModel: mongoose.Model<{
95
91
  url?: string;
96
92
  }> & {
97
93
  _id: mongoose.Types.ObjectId;
98
- } & {
99
- __v?: number;
100
94
  }>>;
101
95
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/tickets/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASxB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/tickets/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AACrC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASxB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAoD,CAAC"}
@@ -30,8 +30,6 @@ export declare const UserSchema: mongoose.Schema<any, mongoose.Model<any, any, a
30
30
  lastLogin?: NativeDate;
31
31
  }> & {
32
32
  _id: mongoose.Types.ObjectId;
33
- } & {
34
- __v?: number;
35
33
  }>;
36
34
  export declare const UserModel: mongoose.Model<{
37
35
  createdAt: NativeDate;
@@ -62,8 +60,6 @@ export declare const UserModel: mongoose.Model<{
62
60
  lastLogin?: NativeDate;
63
61
  } & {
64
62
  _id: mongoose.Types.ObjectId;
65
- } & {
66
- __v?: number;
67
63
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
68
64
  timestamps: true;
69
65
  }, {
@@ -95,7 +91,5 @@ export declare const UserModel: mongoose.Model<{
95
91
  lastLogin?: NativeDate;
96
92
  }> & {
97
93
  _id: mongoose.Types.ObjectId;
98
- } & {
99
- __v?: number;
100
94
  }>>;
101
95
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/users/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAStB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA8C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/users/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAStB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA8C,CAAC"}
@@ -61,8 +61,6 @@ export declare const VenueSchema: mongoose.Schema<any, mongoose.Model<any, any,
61
61
  googlePlaceId?: string;
62
62
  }> & {
63
63
  _id: mongoose.Types.ObjectId;
64
- } & {
65
- __v?: number;
66
64
  }>;
67
65
  export declare const VenueModel: mongoose.Model<{
68
66
  createdAt: NativeDate;
@@ -123,8 +121,6 @@ export declare const VenueModel: mongoose.Model<{
123
121
  googlePlaceId?: string;
124
122
  } & {
125
123
  _id: mongoose.Types.ObjectId;
126
- } & {
127
- __v?: number;
128
124
  }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
129
125
  timestamps: true;
130
126
  typeKey: "$type";
@@ -187,7 +183,5 @@ export declare const VenueModel: mongoose.Model<{
187
183
  googlePlaceId?: string;
188
184
  }> & {
189
185
  _id: mongoose.Types.ObjectId;
190
- } & {
191
- __v?: number;
192
186
  }>>;
193
187
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/venues/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/venues/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weekendgoals/weekendgoals-common",
3
- "version": "1.1467.11591237947",
3
+ "version": "1.1505.11938007206",
4
4
  "description": "Weekend Goals Common",
5
5
  "private": false,
6
6
  "files": [
@@ -16,7 +16,7 @@
16
16
  "license": "ISC",
17
17
  "dependencies": {
18
18
  "@weekendgoals/weekendgoals-types": "latest",
19
- "mongoose": "^8.6.1"
19
+ "mongoose": "8.6.4"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "^20.11.7",