playov2-js-utilities 0.4.6 → 0.4.8
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.
|
@@ -21,7 +21,7 @@ const JerseyInventorySchema = new Schema(
|
|
|
21
21
|
id: { type: String, default: uuidv4, unique: true },
|
|
22
22
|
|
|
23
23
|
// 0 - home, 1 - away, 2 - third, etc.
|
|
24
|
-
category: { type:
|
|
24
|
+
category: { type: String, required: true, default: "default" },
|
|
25
25
|
|
|
26
26
|
// Optional sport association
|
|
27
27
|
sportId: { type: String, default: null },
|
|
@@ -95,6 +95,14 @@ const userSchema = new Schema({
|
|
|
95
95
|
type: String,
|
|
96
96
|
enum: ['web', 'android', 'ios', 'others'],
|
|
97
97
|
default: 'others'
|
|
98
|
+
},
|
|
99
|
+
jersey: {
|
|
100
|
+
jerseyId: { type: String },
|
|
101
|
+
frontImageUri: { type: String },
|
|
102
|
+
backImageUri: { type: String },
|
|
103
|
+
name: { type: String },
|
|
104
|
+
number: { type: String },
|
|
105
|
+
updatedAt: { type: String }
|
|
98
106
|
}
|
|
99
107
|
}, { timestamps: { createdAt: 'createdTS', updatedAt: "modTS" } })
|
|
100
108
|
|
package/package.json
CHANGED
package/run.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
const { checkProfanity } = require("./lib/profanityFilter/profanityFilter")
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function checkfilter() {
|
|
5
|
-
console.log(checkProfanity(`Hi there, Playoholics!
|
|
6
|
-
If you've ed here,
|
|
7
|
-
Let’s hit th court and make some magic!
|
|
8
|
-
`
|
|
9
|
-
))
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
checkfilter()
|
|
13
|
-
|