playov2-js-utilities 0.3.79 → 0.3.81
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.
|
@@ -20,9 +20,17 @@ const activityLocationSchema = new Schema(
|
|
|
20
20
|
endTime: { type: Date, default: "" },
|
|
21
21
|
sportId: { required: true, type: String },
|
|
22
22
|
isOnline: { type: Boolean, default: false },
|
|
23
|
-
priority: { type: Number, default: 10 },
|
|
23
|
+
priority: { type: Number, default: 10 }, // To be deprecated
|
|
24
|
+
gamePriority: { type: Number, default: 1 }, // 1 - Regular, 2 - Pay & Join, 3 - Superhost, 4 - Gametime
|
|
24
25
|
recommended: {type: Boolean, default: false},
|
|
25
26
|
sponsored: { type: Boolean, default: false },
|
|
27
|
+
sponsoredProfile: {
|
|
28
|
+
_id: false,
|
|
29
|
+
id: String,
|
|
30
|
+
gameBgImage: String,
|
|
31
|
+
sponsorText: String,
|
|
32
|
+
fullLink: String,
|
|
33
|
+
},
|
|
26
34
|
geoHash: { type: String },
|
|
27
35
|
cityCode: { type: Number },
|
|
28
36
|
countryCode: { type: String, default: "" },
|
|
@@ -96,11 +96,19 @@ const UserActivitySchema = new Schema({
|
|
|
96
96
|
groupId: { type: String, default: "" },
|
|
97
97
|
groupName: { type: String, default: "" },
|
|
98
98
|
superUser: { type: Boolean, default: false },
|
|
99
|
-
priority: { type: Number, default: 10 },
|
|
99
|
+
priority: { type: Number, default: 10 }, // To be deprecated
|
|
100
|
+
gamePriority: { type: Number, default: 1 }, // 1 - Regular, 2 - Pay & Join, 3 - Superhost, 4 - Gametime
|
|
100
101
|
muteNotifications: { type: Boolean, default: false },
|
|
101
102
|
currencyTxt: { type: String, default: "" },
|
|
102
103
|
activityStack: Boolean,
|
|
103
104
|
sponsored: { type: Boolean, default: false },
|
|
105
|
+
sponsoredProfile: {
|
|
106
|
+
_id: false,
|
|
107
|
+
id: String,
|
|
108
|
+
gameBgImage: String,
|
|
109
|
+
sponsorText: String,
|
|
110
|
+
fullLink: String,
|
|
111
|
+
},
|
|
104
112
|
joineeRules: [String],
|
|
105
113
|
strictSkill: { type: Boolean, default: false },
|
|
106
114
|
sportsPlayingMode: {
|
|
@@ -10,6 +10,7 @@ const GroupMemberSchema = new mongoose.Schema({
|
|
|
10
10
|
requestTS: { type: Date },
|
|
11
11
|
lastVisit: { type: Date, default: Date.now },
|
|
12
12
|
senderId: { type: String, default: "" },
|
|
13
|
+
senderName: { type: String, default: "" },
|
|
13
14
|
inviteTS: { type: Date },
|
|
14
15
|
newMessages: { type: Number, default: 0, min: 0 },
|
|
15
16
|
newRequests: { type: Number, default: 0, min: 0 },
|