@weekendgoals/weekendgoals-common 1.783.7245736563 → 1.786.7245956628
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/models/matchday-experiences/index.d.ts +113 -0
- package/dist/models/matchday-experiences/index.d.ts.map +1 -0
- package/dist/models/matchday-experiences/index.js +11 -0
- package/dist/models/matchday-experiences/index.js.map +1 -0
- package/dist/models/venues/index.d.ts +9 -9
- package/package.json +1 -1
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import * as mongoose from "mongoose";
|
|
2
|
+
export declare const MatchdayExperienceSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
3
|
+
timestamps: true;
|
|
4
|
+
}, {
|
|
5
|
+
createdAt: NativeDate;
|
|
6
|
+
updatedAt: NativeDate;
|
|
7
|
+
} & {
|
|
8
|
+
images: {
|
|
9
|
+
description?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
imageAttribution?: string;
|
|
12
|
+
}[];
|
|
13
|
+
venueId?: string;
|
|
14
|
+
bodyMarkdown?: string;
|
|
15
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
16
|
+
createdAt: NativeDate;
|
|
17
|
+
updatedAt: NativeDate;
|
|
18
|
+
} & {
|
|
19
|
+
images: {
|
|
20
|
+
description?: string;
|
|
21
|
+
url?: string;
|
|
22
|
+
imageAttribution?: string;
|
|
23
|
+
}[];
|
|
24
|
+
venueId?: string;
|
|
25
|
+
bodyMarkdown?: string;
|
|
26
|
+
}>> & mongoose.FlatRecord<{
|
|
27
|
+
createdAt: NativeDate;
|
|
28
|
+
updatedAt: NativeDate;
|
|
29
|
+
} & {
|
|
30
|
+
images: {
|
|
31
|
+
description?: string;
|
|
32
|
+
url?: string;
|
|
33
|
+
imageAttribution?: string;
|
|
34
|
+
}[];
|
|
35
|
+
venueId?: string;
|
|
36
|
+
bodyMarkdown?: string;
|
|
37
|
+
}> & {
|
|
38
|
+
_id: mongoose.Types.ObjectId;
|
|
39
|
+
}>;
|
|
40
|
+
export declare const MatchdayExperienceModel: mongoose.Model<{
|
|
41
|
+
createdAt: NativeDate;
|
|
42
|
+
updatedAt: NativeDate;
|
|
43
|
+
} & {
|
|
44
|
+
images: {
|
|
45
|
+
description?: string;
|
|
46
|
+
url?: string;
|
|
47
|
+
imageAttribution?: string;
|
|
48
|
+
}[];
|
|
49
|
+
venueId?: string;
|
|
50
|
+
bodyMarkdown?: string;
|
|
51
|
+
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
52
|
+
createdAt: NativeDate;
|
|
53
|
+
updatedAt: NativeDate;
|
|
54
|
+
} & {
|
|
55
|
+
images: {
|
|
56
|
+
description?: string;
|
|
57
|
+
url?: string;
|
|
58
|
+
imageAttribution?: string;
|
|
59
|
+
}[];
|
|
60
|
+
venueId?: string;
|
|
61
|
+
bodyMarkdown?: string;
|
|
62
|
+
}> & {
|
|
63
|
+
createdAt: NativeDate;
|
|
64
|
+
updatedAt: NativeDate;
|
|
65
|
+
} & {
|
|
66
|
+
images: {
|
|
67
|
+
description?: string;
|
|
68
|
+
url?: string;
|
|
69
|
+
imageAttribution?: string;
|
|
70
|
+
}[];
|
|
71
|
+
venueId?: string;
|
|
72
|
+
bodyMarkdown?: string;
|
|
73
|
+
} & {
|
|
74
|
+
_id: mongoose.Types.ObjectId;
|
|
75
|
+
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
76
|
+
timestamps: true;
|
|
77
|
+
}, {
|
|
78
|
+
createdAt: NativeDate;
|
|
79
|
+
updatedAt: NativeDate;
|
|
80
|
+
} & {
|
|
81
|
+
images: {
|
|
82
|
+
description?: string;
|
|
83
|
+
url?: string;
|
|
84
|
+
imageAttribution?: string;
|
|
85
|
+
}[];
|
|
86
|
+
venueId?: string;
|
|
87
|
+
bodyMarkdown?: string;
|
|
88
|
+
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
89
|
+
createdAt: NativeDate;
|
|
90
|
+
updatedAt: NativeDate;
|
|
91
|
+
} & {
|
|
92
|
+
images: {
|
|
93
|
+
description?: string;
|
|
94
|
+
url?: string;
|
|
95
|
+
imageAttribution?: string;
|
|
96
|
+
}[];
|
|
97
|
+
venueId?: string;
|
|
98
|
+
bodyMarkdown?: string;
|
|
99
|
+
}>> & mongoose.FlatRecord<{
|
|
100
|
+
createdAt: NativeDate;
|
|
101
|
+
updatedAt: NativeDate;
|
|
102
|
+
} & {
|
|
103
|
+
images: {
|
|
104
|
+
description?: string;
|
|
105
|
+
url?: string;
|
|
106
|
+
imageAttribution?: string;
|
|
107
|
+
}[];
|
|
108
|
+
venueId?: string;
|
|
109
|
+
bodyMarkdown?: string;
|
|
110
|
+
}> & {
|
|
111
|
+
_id: mongoose.Types.ObjectId;
|
|
112
|
+
}>>;
|
|
113
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/matchday-experiences/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAInC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MatchdayExperienceModel = exports.MatchdayExperienceSchema = void 0;
|
|
4
|
+
const mongoose = require("mongoose");
|
|
5
|
+
exports.MatchdayExperienceSchema = new mongoose.Schema({
|
|
6
|
+
bodyMarkdown: String,
|
|
7
|
+
images: [{ url: String, imageAttribution: String, description: String }],
|
|
8
|
+
venueId: String,
|
|
9
|
+
}, { timestamps: true });
|
|
10
|
+
exports.MatchdayExperienceModel = mongoose.model("MatchdayExperience", exports.MatchdayExperienceSchema, "MatchdayExperiences");
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/matchday-experiences/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAExB,QAAA,wBAAwB,GAAG,IAAI,QAAQ,CAAC,MAAM,CACzD;IACE,YAAY,EAAE,MAAM;IACpB,MAAM,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC;IACxE,OAAO,EAAE,MAAM;CAChB,EACD,EAAE,UAAU,EAAE,IAAI,EAAE,CACrB,CAAC;AAEW,QAAA,uBAAuB,GAAG,QAAQ,CAAC,KAAK,CACnD,oBAAoB,EACpB,gCAAwB,EACxB,qBAAqB,CACtB,CAAC"}
|
|
@@ -15,9 +15,9 @@ export declare const VenueSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
15
15
|
area?: string;
|
|
16
16
|
city?: string;
|
|
17
17
|
country?: string;
|
|
18
|
+
imageAttribution?: string;
|
|
18
19
|
timezone?: string;
|
|
19
20
|
imageUrl?: string;
|
|
20
|
-
imageAttribution?: string;
|
|
21
21
|
rating?: number;
|
|
22
22
|
googlePlaceId?: string;
|
|
23
23
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
@@ -34,9 +34,9 @@ export declare const VenueSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
34
34
|
area?: string;
|
|
35
35
|
city?: string;
|
|
36
36
|
country?: string;
|
|
37
|
+
imageAttribution?: string;
|
|
37
38
|
timezone?: string;
|
|
38
39
|
imageUrl?: string;
|
|
39
|
-
imageAttribution?: string;
|
|
40
40
|
rating?: number;
|
|
41
41
|
googlePlaceId?: string;
|
|
42
42
|
}>> & mongoose.FlatRecord<{
|
|
@@ -53,9 +53,9 @@ export declare const VenueSchema: mongoose.Schema<any, mongoose.Model<any, any,
|
|
|
53
53
|
area?: string;
|
|
54
54
|
city?: string;
|
|
55
55
|
country?: string;
|
|
56
|
+
imageAttribution?: string;
|
|
56
57
|
timezone?: string;
|
|
57
58
|
imageUrl?: string;
|
|
58
|
-
imageAttribution?: string;
|
|
59
59
|
rating?: number;
|
|
60
60
|
googlePlaceId?: string;
|
|
61
61
|
}> & {
|
|
@@ -75,9 +75,9 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
75
75
|
area?: string;
|
|
76
76
|
city?: string;
|
|
77
77
|
country?: string;
|
|
78
|
+
imageAttribution?: string;
|
|
78
79
|
timezone?: string;
|
|
79
80
|
imageUrl?: string;
|
|
80
|
-
imageAttribution?: string;
|
|
81
81
|
rating?: number;
|
|
82
82
|
googlePlaceId?: string;
|
|
83
83
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
@@ -94,9 +94,9 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
94
94
|
area?: string;
|
|
95
95
|
city?: string;
|
|
96
96
|
country?: string;
|
|
97
|
+
imageAttribution?: string;
|
|
97
98
|
timezone?: string;
|
|
98
99
|
imageUrl?: string;
|
|
99
|
-
imageAttribution?: string;
|
|
100
100
|
rating?: number;
|
|
101
101
|
googlePlaceId?: string;
|
|
102
102
|
}> & {
|
|
@@ -113,9 +113,9 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
113
113
|
area?: string;
|
|
114
114
|
city?: string;
|
|
115
115
|
country?: string;
|
|
116
|
+
imageAttribution?: string;
|
|
116
117
|
timezone?: string;
|
|
117
118
|
imageUrl?: string;
|
|
118
|
-
imageAttribution?: string;
|
|
119
119
|
rating?: number;
|
|
120
120
|
googlePlaceId?: string;
|
|
121
121
|
} & {
|
|
@@ -136,9 +136,9 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
136
136
|
area?: string;
|
|
137
137
|
city?: string;
|
|
138
138
|
country?: string;
|
|
139
|
+
imageAttribution?: string;
|
|
139
140
|
timezone?: string;
|
|
140
141
|
imageUrl?: string;
|
|
141
|
-
imageAttribution?: string;
|
|
142
142
|
rating?: number;
|
|
143
143
|
googlePlaceId?: string;
|
|
144
144
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
@@ -155,9 +155,9 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
155
155
|
area?: string;
|
|
156
156
|
city?: string;
|
|
157
157
|
country?: string;
|
|
158
|
+
imageAttribution?: string;
|
|
158
159
|
timezone?: string;
|
|
159
160
|
imageUrl?: string;
|
|
160
|
-
imageAttribution?: string;
|
|
161
161
|
rating?: number;
|
|
162
162
|
googlePlaceId?: string;
|
|
163
163
|
}>> & mongoose.FlatRecord<{
|
|
@@ -174,9 +174,9 @@ export declare const VenueModel: mongoose.Model<{
|
|
|
174
174
|
area?: string;
|
|
175
175
|
city?: string;
|
|
176
176
|
country?: string;
|
|
177
|
+
imageAttribution?: string;
|
|
177
178
|
timezone?: string;
|
|
178
179
|
imageUrl?: string;
|
|
179
|
-
imageAttribution?: string;
|
|
180
180
|
rating?: number;
|
|
181
181
|
googlePlaceId?: string;
|
|
182
182
|
}> & {
|