@weekendgoals/weekendgoals-common 1.609.6797680924

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.
@@ -0,0 +1,3 @@
1
+ import * as mongoose from "mongoose";
2
+ export declare function connectToMongoDb(): Promise<typeof mongoose>;
3
+ //# sourceMappingURL=connect.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.connectToMongoDb = void 0;
13
+ const mongoose = require("mongoose");
14
+ function connectToMongoDb() {
15
+ return __awaiter(this, void 0, void 0, function* () {
16
+ const dbUrl = process.env.DB_URL;
17
+ const dbUser = process.env.DB_USER;
18
+ const dbPassword = process.env.DB_PASSWORD;
19
+ mongoose.set("strictQuery", false);
20
+ const result = yield mongoose.connect(dbUrl, {
21
+ user: dbUser,
22
+ pass: dbPassword,
23
+ });
24
+ return result;
25
+ });
26
+ }
27
+ exports.connectToMongoDb = connectToMongoDb;
28
+ //# sourceMappingURL=connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/db/connect.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,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;AAdD,4CAcC"}
@@ -0,0 +1,194 @@
1
+ import * as mongoose from "mongoose";
2
+ export declare const AttractionSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
3
+ timestamps: true;
4
+ }, {
5
+ createdAt: NativeDate;
6
+ updatedAt: NativeDate;
7
+ } & {
8
+ name?: string;
9
+ type?: number;
10
+ venueId?: string;
11
+ description?: string;
12
+ hash?: string;
13
+ location?: {
14
+ enum: unknown[];
15
+ type?: string;
16
+ required?: unknown;
17
+ };
18
+ address?: {
19
+ street?: string;
20
+ area?: string;
21
+ city?: string;
22
+ country?: string;
23
+ };
24
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
25
+ createdAt: NativeDate;
26
+ updatedAt: NativeDate;
27
+ } & {
28
+ name?: string;
29
+ type?: number;
30
+ venueId?: string;
31
+ description?: string;
32
+ hash?: string;
33
+ location?: {
34
+ enum: unknown[];
35
+ type?: string;
36
+ required?: unknown;
37
+ };
38
+ address?: {
39
+ street?: string;
40
+ area?: string;
41
+ city?: string;
42
+ country?: string;
43
+ };
44
+ }>> & mongoose.FlatRecord<{
45
+ createdAt: NativeDate;
46
+ updatedAt: NativeDate;
47
+ } & {
48
+ name?: string;
49
+ type?: number;
50
+ venueId?: string;
51
+ description?: string;
52
+ hash?: string;
53
+ location?: {
54
+ enum: unknown[];
55
+ type?: string;
56
+ required?: unknown;
57
+ };
58
+ address?: {
59
+ street?: string;
60
+ area?: string;
61
+ city?: string;
62
+ country?: string;
63
+ };
64
+ }> & {
65
+ _id: mongoose.Types.ObjectId;
66
+ }>;
67
+ export declare const AttractionModel: mongoose.Model<{
68
+ createdAt: NativeDate;
69
+ updatedAt: NativeDate;
70
+ } & {
71
+ name?: string;
72
+ type?: number;
73
+ venueId?: string;
74
+ description?: string;
75
+ hash?: string;
76
+ location?: {
77
+ enum: unknown[];
78
+ type?: string;
79
+ required?: unknown;
80
+ };
81
+ address?: {
82
+ street?: string;
83
+ area?: string;
84
+ city?: string;
85
+ country?: string;
86
+ };
87
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
88
+ createdAt: NativeDate;
89
+ updatedAt: NativeDate;
90
+ } & {
91
+ name?: string;
92
+ type?: number;
93
+ venueId?: string;
94
+ description?: string;
95
+ hash?: string;
96
+ location?: {
97
+ enum: unknown[];
98
+ type?: string;
99
+ required?: unknown;
100
+ };
101
+ address?: {
102
+ street?: string;
103
+ area?: string;
104
+ city?: string;
105
+ country?: string;
106
+ };
107
+ }> & {
108
+ createdAt: NativeDate;
109
+ updatedAt: NativeDate;
110
+ } & {
111
+ name?: string;
112
+ type?: number;
113
+ venueId?: string;
114
+ description?: string;
115
+ hash?: string;
116
+ location?: {
117
+ enum: unknown[];
118
+ type?: string;
119
+ required?: unknown;
120
+ };
121
+ address?: {
122
+ street?: string;
123
+ area?: string;
124
+ city?: string;
125
+ country?: string;
126
+ };
127
+ } & {
128
+ _id: mongoose.Types.ObjectId;
129
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
130
+ timestamps: true;
131
+ }, {
132
+ createdAt: NativeDate;
133
+ updatedAt: NativeDate;
134
+ } & {
135
+ name?: string;
136
+ type?: number;
137
+ venueId?: string;
138
+ description?: string;
139
+ hash?: string;
140
+ location?: {
141
+ enum: unknown[];
142
+ type?: string;
143
+ required?: unknown;
144
+ };
145
+ address?: {
146
+ street?: string;
147
+ area?: string;
148
+ city?: string;
149
+ country?: string;
150
+ };
151
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
152
+ createdAt: NativeDate;
153
+ updatedAt: NativeDate;
154
+ } & {
155
+ name?: string;
156
+ type?: number;
157
+ venueId?: string;
158
+ description?: string;
159
+ hash?: string;
160
+ location?: {
161
+ enum: unknown[];
162
+ type?: string;
163
+ required?: unknown;
164
+ };
165
+ address?: {
166
+ street?: string;
167
+ area?: string;
168
+ city?: string;
169
+ country?: string;
170
+ };
171
+ }>> & mongoose.FlatRecord<{
172
+ createdAt: NativeDate;
173
+ updatedAt: NativeDate;
174
+ } & {
175
+ name?: string;
176
+ type?: number;
177
+ venueId?: string;
178
+ description?: string;
179
+ hash?: string;
180
+ location?: {
181
+ enum: unknown[];
182
+ type?: string;
183
+ required?: unknown;
184
+ };
185
+ address?: {
186
+ street?: string;
187
+ area?: string;
188
+ city?: string;
189
+ country?: string;
190
+ };
191
+ }> & {
192
+ _id: mongoose.Types.ObjectId;
193
+ }>>;
194
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0B5B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAI3B,CAAC"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AttractionModel = exports.AttractionSchema = void 0;
4
+ const mongoose = require("mongoose");
5
+ exports.AttractionSchema = new mongoose.Schema({
6
+ name: String,
7
+ hash: { type: String, unique: true },
8
+ location: {
9
+ type: {
10
+ type: String,
11
+ enum: ["Point"],
12
+ required: true,
13
+ },
14
+ coordinates: {
15
+ type: [Number],
16
+ required: true,
17
+ },
18
+ },
19
+ address: {
20
+ street: String,
21
+ area: String,
22
+ city: String,
23
+ country: String,
24
+ },
25
+ type: Number,
26
+ venueId: String,
27
+ description: String,
28
+ }, { timestamps: true });
29
+ exports.AttractionModel = mongoose.model("Attraction", exports.AttractionSchema, "Attractions");
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/attractions/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAExB,QAAA,gBAAgB,GAAG,IAAI,QAAQ,CAAC,MAAM,CACjD;IACE,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE;IACpC,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,CAAC,OAAO,CAAC;YACf,QAAQ,EAAE,IAAI;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,MAAM,CAAC;YACd,QAAQ,EAAE,IAAI;SACf;KACF;IACD,OAAO,EAAE;QACP,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,MAAM;KAChB;IACD,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,MAAM;IACf,WAAW,EAAE,MAAM;CACpB,EACD,EAAE,UAAU,EAAE,IAAI,EAAE,CACrB,CAAC;AAEW,QAAA,eAAe,GAAG,QAAQ,CAAC,KAAK,CAC3C,YAAY,EACZ,wBAAgB,EAChB,aAAa,CACd,CAAC"}
@@ -0,0 +1,86 @@
1
+ import * as mongoose from "mongoose";
2
+ export declare const LeagueSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
3
+ timestamps: true;
4
+ }, {
5
+ createdAt: NativeDate;
6
+ updatedAt: NativeDate;
7
+ } & {
8
+ name?: string;
9
+ country?: string;
10
+ rank?: number;
11
+ soccerwaySlug?: string;
12
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
13
+ createdAt: NativeDate;
14
+ updatedAt: NativeDate;
15
+ } & {
16
+ name?: string;
17
+ country?: string;
18
+ rank?: number;
19
+ soccerwaySlug?: string;
20
+ }>> & mongoose.FlatRecord<{
21
+ createdAt: NativeDate;
22
+ updatedAt: NativeDate;
23
+ } & {
24
+ name?: string;
25
+ country?: string;
26
+ rank?: number;
27
+ soccerwaySlug?: string;
28
+ }> & {
29
+ _id: mongoose.Types.ObjectId;
30
+ }>;
31
+ export declare const LeagueModel: mongoose.Model<{
32
+ createdAt: NativeDate;
33
+ updatedAt: NativeDate;
34
+ } & {
35
+ name?: string;
36
+ country?: string;
37
+ rank?: number;
38
+ soccerwaySlug?: string;
39
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
40
+ createdAt: NativeDate;
41
+ updatedAt: NativeDate;
42
+ } & {
43
+ name?: string;
44
+ country?: string;
45
+ rank?: number;
46
+ soccerwaySlug?: string;
47
+ }> & {
48
+ createdAt: NativeDate;
49
+ updatedAt: NativeDate;
50
+ } & {
51
+ name?: string;
52
+ country?: string;
53
+ rank?: number;
54
+ soccerwaySlug?: string;
55
+ } & {
56
+ _id: mongoose.Types.ObjectId;
57
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
58
+ timestamps: true;
59
+ }, {
60
+ createdAt: NativeDate;
61
+ updatedAt: NativeDate;
62
+ } & {
63
+ name?: string;
64
+ country?: string;
65
+ rank?: number;
66
+ soccerwaySlug?: string;
67
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
68
+ createdAt: NativeDate;
69
+ updatedAt: NativeDate;
70
+ } & {
71
+ name?: string;
72
+ country?: string;
73
+ rank?: number;
74
+ soccerwaySlug?: string;
75
+ }>> & mongoose.FlatRecord<{
76
+ createdAt: NativeDate;
77
+ updatedAt: NativeDate;
78
+ } & {
79
+ name?: string;
80
+ country?: string;
81
+ rank?: number;
82
+ soccerwaySlug?: string;
83
+ }> & {
84
+ _id: mongoose.Types.ObjectId;
85
+ }>>;
86
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LeagueModel = exports.LeagueSchema = void 0;
4
+ const mongoose = require("mongoose");
5
+ exports.LeagueSchema = new mongoose.Schema({
6
+ country: String,
7
+ name: String,
8
+ rank: Number,
9
+ soccerwaySlug: String,
10
+ }, { timestamps: true }).index({ country: 1, name: 1 }, { unique: true });
11
+ exports.LeagueModel = mongoose.model("League", exports.LeagueSchema, "Leagues");
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/leagues/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AACxB,QAAA,YAAY,GAAG,IAAI,QAAQ,CAAC,MAAM,CAC7C;IACE,OAAO,EAAE,MAAM;IACf,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,MAAM;CACtB,EACD,EAAE,UAAU,EAAE,IAAI,EAAE,CACrB,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;AAEtC,QAAA,WAAW,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,oBAAY,EAAE,SAAS,CAAC,CAAC"}
@@ -0,0 +1,187 @@
1
+ import * as mongoose from "mongoose";
2
+ export declare const MatchSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
3
+ timestamps: true;
4
+ typeKey: "$type";
5
+ }, {
6
+ createdAt: NativeDate;
7
+ updatedAt: NativeDate;
8
+ } & {
9
+ venueId?: string;
10
+ hash?: string;
11
+ location?: {
12
+ type: "Point";
13
+ coordinates: number[];
14
+ };
15
+ competitionId?: string;
16
+ competitionName?: string;
17
+ homeTeamId?: string;
18
+ homeTeamHash?: string;
19
+ awayTeamId?: string;
20
+ awayTeamHash?: string;
21
+ kickoff?: Date;
22
+ status?: string;
23
+ localTimeKickoff?: Date;
24
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
25
+ createdAt: NativeDate;
26
+ updatedAt: NativeDate;
27
+ } & {
28
+ venueId?: string;
29
+ hash?: string;
30
+ location?: {
31
+ type: "Point";
32
+ coordinates: number[];
33
+ };
34
+ competitionId?: string;
35
+ competitionName?: string;
36
+ homeTeamId?: string;
37
+ homeTeamHash?: string;
38
+ awayTeamId?: string;
39
+ awayTeamHash?: string;
40
+ kickoff?: Date;
41
+ status?: string;
42
+ localTimeKickoff?: Date;
43
+ }>> & mongoose.FlatRecord<{
44
+ createdAt: NativeDate;
45
+ updatedAt: NativeDate;
46
+ } & {
47
+ venueId?: string;
48
+ hash?: string;
49
+ location?: {
50
+ type: "Point";
51
+ coordinates: number[];
52
+ };
53
+ competitionId?: string;
54
+ competitionName?: string;
55
+ homeTeamId?: string;
56
+ homeTeamHash?: string;
57
+ awayTeamId?: string;
58
+ awayTeamHash?: string;
59
+ kickoff?: Date;
60
+ status?: string;
61
+ localTimeKickoff?: Date;
62
+ }> & {
63
+ _id: mongoose.Types.ObjectId;
64
+ }>;
65
+ export declare const MatchModel: mongoose.Model<{
66
+ createdAt: NativeDate;
67
+ updatedAt: NativeDate;
68
+ } & {
69
+ venueId?: string;
70
+ hash?: string;
71
+ location?: {
72
+ type: "Point";
73
+ coordinates: number[];
74
+ };
75
+ competitionId?: string;
76
+ competitionName?: string;
77
+ homeTeamId?: string;
78
+ homeTeamHash?: string;
79
+ awayTeamId?: string;
80
+ awayTeamHash?: string;
81
+ kickoff?: Date;
82
+ status?: string;
83
+ localTimeKickoff?: Date;
84
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
85
+ createdAt: NativeDate;
86
+ updatedAt: NativeDate;
87
+ } & {
88
+ venueId?: string;
89
+ hash?: string;
90
+ location?: {
91
+ type: "Point";
92
+ coordinates: number[];
93
+ };
94
+ competitionId?: string;
95
+ competitionName?: string;
96
+ homeTeamId?: string;
97
+ homeTeamHash?: string;
98
+ awayTeamId?: string;
99
+ awayTeamHash?: string;
100
+ kickoff?: Date;
101
+ status?: string;
102
+ localTimeKickoff?: Date;
103
+ }> & {
104
+ createdAt: NativeDate;
105
+ updatedAt: NativeDate;
106
+ } & {
107
+ venueId?: string;
108
+ hash?: string;
109
+ location?: {
110
+ type: "Point";
111
+ coordinates: number[];
112
+ };
113
+ competitionId?: string;
114
+ competitionName?: string;
115
+ homeTeamId?: string;
116
+ homeTeamHash?: string;
117
+ awayTeamId?: string;
118
+ awayTeamHash?: string;
119
+ kickoff?: Date;
120
+ status?: string;
121
+ localTimeKickoff?: Date;
122
+ } & {
123
+ _id: mongoose.Types.ObjectId;
124
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
125
+ timestamps: true;
126
+ typeKey: "$type";
127
+ }, {
128
+ createdAt: NativeDate;
129
+ updatedAt: NativeDate;
130
+ } & {
131
+ venueId?: string;
132
+ hash?: string;
133
+ location?: {
134
+ type: "Point";
135
+ coordinates: number[];
136
+ };
137
+ competitionId?: string;
138
+ competitionName?: string;
139
+ homeTeamId?: string;
140
+ homeTeamHash?: string;
141
+ awayTeamId?: string;
142
+ awayTeamHash?: string;
143
+ kickoff?: Date;
144
+ status?: string;
145
+ localTimeKickoff?: Date;
146
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
147
+ createdAt: NativeDate;
148
+ updatedAt: NativeDate;
149
+ } & {
150
+ venueId?: string;
151
+ hash?: string;
152
+ location?: {
153
+ type: "Point";
154
+ coordinates: number[];
155
+ };
156
+ competitionId?: string;
157
+ competitionName?: string;
158
+ homeTeamId?: string;
159
+ homeTeamHash?: string;
160
+ awayTeamId?: string;
161
+ awayTeamHash?: string;
162
+ kickoff?: Date;
163
+ status?: string;
164
+ localTimeKickoff?: Date;
165
+ }>> & mongoose.FlatRecord<{
166
+ createdAt: NativeDate;
167
+ updatedAt: NativeDate;
168
+ } & {
169
+ venueId?: string;
170
+ hash?: string;
171
+ location?: {
172
+ type: "Point";
173
+ coordinates: number[];
174
+ };
175
+ competitionId?: string;
176
+ competitionName?: string;
177
+ homeTeamId?: string;
178
+ homeTeamHash?: string;
179
+ awayTeamId?: string;
180
+ awayTeamHash?: string;
181
+ kickoff?: Date;
182
+ status?: string;
183
+ localTimeKickoff?: Date;
184
+ }> & {
185
+ _id: mongoose.Types.ObjectId;
186
+ }>>;
187
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAkD,CAAC"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MatchModel = exports.MatchSchema = void 0;
4
+ const mongoose = require("mongoose");
5
+ exports.MatchSchema = new mongoose.Schema({
6
+ competitionId: String,
7
+ competitionName: String,
8
+ homeTeamId: String,
9
+ homeTeamHash: String,
10
+ awayTeamId: String,
11
+ awayTeamHash: String,
12
+ venueId: String,
13
+ location: {
14
+ $type: {
15
+ type: {
16
+ $type: String,
17
+ enum: ["Point"],
18
+ required: true,
19
+ },
20
+ coordinates: {
21
+ $type: [Number],
22
+ required: true,
23
+ },
24
+ },
25
+ required: false,
26
+ _id: false,
27
+ },
28
+ hash: { $type: String, unique: true },
29
+ kickoff: Date,
30
+ status: String,
31
+ localTimeKickoff: Date,
32
+ }, { timestamps: true, typeKey: "$type" });
33
+ exports.MatchModel = mongoose.model("Match", exports.MatchSchema, "Matches");
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,IAAI,EAAE;gBACJ,KAAK,EAAE,MAAM;gBACb,IAAI,EAAE,CAAC,OAAO,CAAC;gBACf,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE;gBACX,KAAK,EAAE,CAAC,MAAM,CAAC;gBACf,QAAQ,EAAE,IAAI;aACf;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;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"}
@@ -0,0 +1,140 @@
1
+ import * as mongoose from "mongoose";
2
+ export declare const TeamsSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
3
+ timestamps: true;
4
+ }, {
5
+ createdAt: NativeDate;
6
+ updatedAt: NativeDate;
7
+ } & {
8
+ name?: string;
9
+ venueId?: string;
10
+ hash?: string;
11
+ soccerwaySlug?: string;
12
+ leagueId?: string;
13
+ metadata?: {
14
+ instagramUrl?: string;
15
+ websiteUrl?: string;
16
+ ticketsUrl?: string;
17
+ };
18
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
19
+ createdAt: NativeDate;
20
+ updatedAt: NativeDate;
21
+ } & {
22
+ name?: string;
23
+ venueId?: string;
24
+ hash?: string;
25
+ soccerwaySlug?: string;
26
+ leagueId?: string;
27
+ metadata?: {
28
+ instagramUrl?: string;
29
+ websiteUrl?: string;
30
+ ticketsUrl?: string;
31
+ };
32
+ }>> & mongoose.FlatRecord<{
33
+ createdAt: NativeDate;
34
+ updatedAt: NativeDate;
35
+ } & {
36
+ name?: string;
37
+ venueId?: string;
38
+ hash?: string;
39
+ soccerwaySlug?: string;
40
+ leagueId?: string;
41
+ metadata?: {
42
+ instagramUrl?: string;
43
+ websiteUrl?: string;
44
+ ticketsUrl?: string;
45
+ };
46
+ }> & {
47
+ _id: mongoose.Types.ObjectId;
48
+ }>;
49
+ export declare const TeamModel: mongoose.Model<{
50
+ createdAt: NativeDate;
51
+ updatedAt: NativeDate;
52
+ } & {
53
+ name?: string;
54
+ venueId?: string;
55
+ hash?: string;
56
+ soccerwaySlug?: string;
57
+ leagueId?: string;
58
+ metadata?: {
59
+ instagramUrl?: string;
60
+ websiteUrl?: string;
61
+ ticketsUrl?: string;
62
+ };
63
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
64
+ createdAt: NativeDate;
65
+ updatedAt: NativeDate;
66
+ } & {
67
+ name?: string;
68
+ venueId?: string;
69
+ hash?: string;
70
+ soccerwaySlug?: string;
71
+ leagueId?: string;
72
+ metadata?: {
73
+ instagramUrl?: string;
74
+ websiteUrl?: string;
75
+ ticketsUrl?: string;
76
+ };
77
+ }> & {
78
+ createdAt: NativeDate;
79
+ updatedAt: NativeDate;
80
+ } & {
81
+ name?: string;
82
+ venueId?: string;
83
+ hash?: string;
84
+ soccerwaySlug?: string;
85
+ leagueId?: string;
86
+ metadata?: {
87
+ instagramUrl?: string;
88
+ websiteUrl?: string;
89
+ ticketsUrl?: string;
90
+ };
91
+ } & {
92
+ _id: mongoose.Types.ObjectId;
93
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
94
+ timestamps: true;
95
+ }, {
96
+ createdAt: NativeDate;
97
+ updatedAt: NativeDate;
98
+ } & {
99
+ name?: string;
100
+ venueId?: string;
101
+ hash?: string;
102
+ soccerwaySlug?: string;
103
+ leagueId?: string;
104
+ metadata?: {
105
+ instagramUrl?: string;
106
+ websiteUrl?: string;
107
+ ticketsUrl?: string;
108
+ };
109
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
110
+ createdAt: NativeDate;
111
+ updatedAt: NativeDate;
112
+ } & {
113
+ name?: string;
114
+ venueId?: string;
115
+ hash?: string;
116
+ soccerwaySlug?: string;
117
+ leagueId?: string;
118
+ metadata?: {
119
+ instagramUrl?: string;
120
+ websiteUrl?: string;
121
+ ticketsUrl?: string;
122
+ };
123
+ }>> & mongoose.FlatRecord<{
124
+ createdAt: NativeDate;
125
+ updatedAt: NativeDate;
126
+ } & {
127
+ name?: string;
128
+ venueId?: string;
129
+ hash?: string;
130
+ soccerwaySlug?: string;
131
+ leagueId?: string;
132
+ metadata?: {
133
+ instagramUrl?: string;
134
+ websiteUrl?: string;
135
+ ticketsUrl?: string;
136
+ };
137
+ }> & {
138
+ _id: mongoose.Types.ObjectId;
139
+ }>>;
140
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcvB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAA+C,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TeamModel = exports.TeamsSchema = void 0;
4
+ const mongoose = require("mongoose");
5
+ exports.TeamsSchema = new mongoose.Schema({
6
+ name: String,
7
+ leagueId: String,
8
+ venueId: String,
9
+ hash: { type: String, unique: true },
10
+ metadata: {
11
+ instagramUrl: String,
12
+ websiteUrl: String,
13
+ ticketsUrl: String,
14
+ },
15
+ soccerwaySlug: String,
16
+ }, { timestamps: true });
17
+ exports.TeamModel = mongoose.model("Team", exports.TeamsSchema, "Teams");
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/teams/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AACxB,QAAA,WAAW,GAAG,IAAI,QAAQ,CAAC,MAAM,CAC5C;IACE,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,MAAM;IACf,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE;IACpC,QAAQ,EAAE;QACR,YAAY,EAAE,MAAM;QACpB,UAAU,EAAE,MAAM;QAClB,UAAU,EAAE,MAAM;KACnB;IACD,aAAa,EAAE,MAAM;CACtB,EACD,EAAE,UAAU,EAAE,IAAI,EAAE,CACrB,CAAC;AAEW,QAAA,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,mBAAW,EAAE,OAAO,CAAC,CAAC"}
@@ -0,0 +1,95 @@
1
+ import * as mongoose from "mongoose";
2
+ export declare const UserSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
3
+ timestamps: true;
4
+ }, {
5
+ createdAt: NativeDate;
6
+ updatedAt: NativeDate;
7
+ } & {
8
+ email?: string;
9
+ lastLogin?: Date;
10
+ passwordHash?: string;
11
+ firstName?: string;
12
+ lastName?: string;
13
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
14
+ createdAt: NativeDate;
15
+ updatedAt: NativeDate;
16
+ } & {
17
+ email?: string;
18
+ lastLogin?: Date;
19
+ passwordHash?: string;
20
+ firstName?: string;
21
+ lastName?: string;
22
+ }>> & mongoose.FlatRecord<{
23
+ createdAt: NativeDate;
24
+ updatedAt: NativeDate;
25
+ } & {
26
+ email?: string;
27
+ lastLogin?: Date;
28
+ passwordHash?: string;
29
+ firstName?: string;
30
+ lastName?: string;
31
+ }> & {
32
+ _id: mongoose.Types.ObjectId;
33
+ }>;
34
+ export declare const UserModel: mongoose.Model<{
35
+ createdAt: NativeDate;
36
+ updatedAt: NativeDate;
37
+ } & {
38
+ email?: string;
39
+ lastLogin?: Date;
40
+ passwordHash?: string;
41
+ firstName?: string;
42
+ lastName?: string;
43
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
44
+ createdAt: NativeDate;
45
+ updatedAt: NativeDate;
46
+ } & {
47
+ email?: string;
48
+ lastLogin?: Date;
49
+ passwordHash?: string;
50
+ firstName?: string;
51
+ lastName?: string;
52
+ }> & {
53
+ createdAt: NativeDate;
54
+ updatedAt: NativeDate;
55
+ } & {
56
+ email?: string;
57
+ lastLogin?: Date;
58
+ passwordHash?: string;
59
+ firstName?: string;
60
+ lastName?: string;
61
+ } & {
62
+ _id: mongoose.Types.ObjectId;
63
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
64
+ timestamps: true;
65
+ }, {
66
+ createdAt: NativeDate;
67
+ updatedAt: NativeDate;
68
+ } & {
69
+ email?: string;
70
+ lastLogin?: Date;
71
+ passwordHash?: string;
72
+ firstName?: string;
73
+ lastName?: string;
74
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
75
+ createdAt: NativeDate;
76
+ updatedAt: NativeDate;
77
+ } & {
78
+ email?: string;
79
+ lastLogin?: Date;
80
+ passwordHash?: string;
81
+ firstName?: string;
82
+ lastName?: string;
83
+ }>> & mongoose.FlatRecord<{
84
+ createdAt: NativeDate;
85
+ updatedAt: NativeDate;
86
+ } & {
87
+ email?: string;
88
+ lastLogin?: Date;
89
+ passwordHash?: string;
90
+ firstName?: string;
91
+ lastName?: string;
92
+ }> & {
93
+ _id: mongoose.Types.ObjectId;
94
+ }>>;
95
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAqC,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserModel = exports.UserSchema = void 0;
4
+ const mongoose = require("mongoose");
5
+ exports.UserSchema = new mongoose.Schema({
6
+ email: String,
7
+ passwordHash: { type: String, minlength: 6 },
8
+ firstName: { type: String, minlength: 3 },
9
+ lastName: { type: String, minlength: 3 },
10
+ lastLogin: Date,
11
+ }, { timestamps: true });
12
+ exports.UserModel = mongoose.model("User", exports.UserSchema);
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/users/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAExB,QAAA,UAAU,GAAG,IAAI,QAAQ,CAAC,MAAM,CAC3C;IACE,KAAK,EAAE,MAAM;IACb,YAAY,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,EAAE;IAC5C,SAAS,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,EAAE;IACzC,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,EAAE;IACxC,SAAS,EAAE,IAAI;CAChB,EACD,EAAE,UAAU,EAAE,IAAI,EAAE,CACrB,CAAC;AAEW,QAAA,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,kBAAU,CAAC,CAAC"}
@@ -0,0 +1,167 @@
1
+ import * as mongoose from "mongoose";
2
+ export declare const VenueSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
3
+ timestamps: true;
4
+ }, {
5
+ createdAt: NativeDate;
6
+ updatedAt: NativeDate;
7
+ } & {
8
+ name?: string;
9
+ hash?: string;
10
+ location?: {
11
+ enum: unknown[];
12
+ type?: string;
13
+ required?: unknown;
14
+ };
15
+ area?: string;
16
+ city?: string;
17
+ country?: string;
18
+ timezone?: string;
19
+ imageUrl?: string;
20
+ imageAttribution?: string;
21
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
22
+ createdAt: NativeDate;
23
+ updatedAt: NativeDate;
24
+ } & {
25
+ name?: string;
26
+ hash?: string;
27
+ location?: {
28
+ enum: unknown[];
29
+ type?: string;
30
+ required?: unknown;
31
+ };
32
+ area?: string;
33
+ city?: string;
34
+ country?: string;
35
+ timezone?: string;
36
+ imageUrl?: string;
37
+ imageAttribution?: string;
38
+ }>> & mongoose.FlatRecord<{
39
+ createdAt: NativeDate;
40
+ updatedAt: NativeDate;
41
+ } & {
42
+ name?: string;
43
+ hash?: string;
44
+ location?: {
45
+ enum: unknown[];
46
+ type?: string;
47
+ required?: unknown;
48
+ };
49
+ area?: string;
50
+ city?: string;
51
+ country?: string;
52
+ timezone?: string;
53
+ imageUrl?: string;
54
+ imageAttribution?: string;
55
+ }> & {
56
+ _id: mongoose.Types.ObjectId;
57
+ }>;
58
+ export declare const VenueModel: mongoose.Model<{
59
+ createdAt: NativeDate;
60
+ updatedAt: NativeDate;
61
+ } & {
62
+ name?: string;
63
+ hash?: string;
64
+ location?: {
65
+ enum: unknown[];
66
+ type?: string;
67
+ required?: unknown;
68
+ };
69
+ area?: string;
70
+ city?: string;
71
+ country?: string;
72
+ timezone?: string;
73
+ imageUrl?: string;
74
+ imageAttribution?: string;
75
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
76
+ createdAt: NativeDate;
77
+ updatedAt: NativeDate;
78
+ } & {
79
+ name?: string;
80
+ hash?: string;
81
+ location?: {
82
+ enum: unknown[];
83
+ type?: string;
84
+ required?: unknown;
85
+ };
86
+ area?: string;
87
+ city?: string;
88
+ country?: string;
89
+ timezone?: string;
90
+ imageUrl?: string;
91
+ imageAttribution?: string;
92
+ }> & {
93
+ createdAt: NativeDate;
94
+ updatedAt: NativeDate;
95
+ } & {
96
+ name?: string;
97
+ hash?: string;
98
+ location?: {
99
+ enum: unknown[];
100
+ type?: string;
101
+ required?: unknown;
102
+ };
103
+ area?: string;
104
+ city?: string;
105
+ country?: string;
106
+ timezone?: string;
107
+ imageUrl?: string;
108
+ imageAttribution?: string;
109
+ } & {
110
+ _id: mongoose.Types.ObjectId;
111
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
112
+ timestamps: true;
113
+ }, {
114
+ createdAt: NativeDate;
115
+ updatedAt: NativeDate;
116
+ } & {
117
+ name?: string;
118
+ hash?: string;
119
+ location?: {
120
+ enum: unknown[];
121
+ type?: string;
122
+ required?: unknown;
123
+ };
124
+ area?: string;
125
+ city?: string;
126
+ country?: string;
127
+ timezone?: string;
128
+ imageUrl?: string;
129
+ imageAttribution?: string;
130
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
131
+ createdAt: NativeDate;
132
+ updatedAt: NativeDate;
133
+ } & {
134
+ name?: string;
135
+ hash?: string;
136
+ location?: {
137
+ enum: unknown[];
138
+ type?: string;
139
+ required?: unknown;
140
+ };
141
+ area?: string;
142
+ city?: string;
143
+ country?: string;
144
+ timezone?: string;
145
+ imageUrl?: string;
146
+ imageAttribution?: string;
147
+ }>> & mongoose.FlatRecord<{
148
+ createdAt: NativeDate;
149
+ updatedAt: NativeDate;
150
+ } & {
151
+ name?: string;
152
+ hash?: string;
153
+ location?: {
154
+ enum: unknown[];
155
+ type?: string;
156
+ required?: unknown;
157
+ };
158
+ area?: string;
159
+ city?: string;
160
+ country?: string;
161
+ timezone?: string;
162
+ imageUrl?: string;
163
+ imageAttribution?: string;
164
+ }> & {
165
+ _id: mongoose.Types.ObjectId;
166
+ }>>;
167
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAiD,CAAC"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VenueModel = exports.VenueSchema = void 0;
4
+ const mongoose = require("mongoose");
5
+ exports.VenueSchema = new mongoose.Schema({
6
+ name: String,
7
+ hash: { type: String, unique: true },
8
+ timezone: String,
9
+ location: {
10
+ type: {
11
+ type: String,
12
+ enum: ["Point"],
13
+ required: true,
14
+ },
15
+ coordinates: {
16
+ type: [Number],
17
+ required: true,
18
+ },
19
+ },
20
+ imageUrl: String,
21
+ imageAttribution: String,
22
+ area: String,
23
+ city: String,
24
+ country: String,
25
+ }, { timestamps: true });
26
+ exports.VenueModel = mongoose.model("Venue", exports.VenueSchema, "Venues");
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/venues/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAExB,QAAA,WAAW,GAAG,IAAI,QAAQ,CAAC,MAAM,CAC5C;IACE,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE;IACpC,QAAQ,EAAE,MAAM;IAChB,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,CAAC,OAAO,CAAC;YACf,QAAQ,EAAE,IAAI;SACf;QACD,WAAW,EAAE;YACX,IAAI,EAAE,CAAC,MAAM,CAAC;YACd,QAAQ,EAAE,IAAI;SACf;KACF;IACD,QAAQ,EAAE,MAAM;IAChB,gBAAgB,EAAE,MAAM;IACxB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,MAAM;CAChB,EACD,EAAE,UAAU,EAAE,IAAI,EAAE,CACrB,CAAC;AAEW,QAAA,UAAU,GAAG,QAAQ,CAAC,KAAK,CAAC,OAAO,EAAE,mBAAW,EAAE,QAAQ,CAAC,CAAC"}
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@weekendgoals/weekendgoals-common",
3
+ "version": "1.609.6797680924",
4
+ "description": "Weekend Goals Common",
5
+ "private": false,
6
+ "files": [
7
+ "dist",
8
+ "readme.md"
9
+ ],
10
+ "scripts": {
11
+ "build": "tsc",
12
+ "lint": "eslint . --ext .js,.ts",
13
+ "lint:fix": "eslint . --ext .js,.ts --fix"
14
+ },
15
+ "author": "Leon Gordin",
16
+ "license": "ISC",
17
+ "dependencies": {
18
+ "@weekendgoals/weekendgoals-types": "latest",
19
+ "mongoose": "^7.6.4"
20
+ },
21
+ "devDependencies": {
22
+ "@types/node": "^18.14.2",
23
+ "@typescript-eslint/eslint-plugin": "^5.54.0",
24
+ "@typescript-eslint/parser": "^5.54.0",
25
+ "eslint": "^8.35.0",
26
+ "eslint-config-prettier": "^8.6.0",
27
+ "eslint-plugin-prettier": "^4.2.1",
28
+ "prettier": "^2.8.4",
29
+ "ts-jest": "^29.0.5",
30
+ "ts-node": "^10.9.1",
31
+ "typescript": "^4.9.5"
32
+ }
33
+ }
package/readme.md ADDED
@@ -0,0 +1 @@
1
+ # Weekend Goals Common