asfur 1.0.22 → 1.0.23
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/index.js +2 -2
- package/index.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -108,9 +108,9 @@ exports.MongoQuerySchema = new mongoose_1.Schema({
|
|
|
108
108
|
exports.MongoUserSettingsSchema = new mongoose_1.Schema({
|
|
109
109
|
sources: { type: [String] },
|
|
110
110
|
time_range: {
|
|
111
|
-
type: mongoose_1.Schema.Types.Mixed,
|
|
111
|
+
type: mongoose_1.Schema.Types.Mixed,
|
|
112
112
|
},
|
|
113
|
-
user_id: { type: String, required: true },
|
|
113
|
+
user_id: { type: String, required: true },
|
|
114
114
|
}, {
|
|
115
115
|
versionKey: false,
|
|
116
116
|
toJSON: { virtuals: true },
|
package/index.ts
CHANGED
|
@@ -117,9 +117,9 @@ export const MongoUserSettingsSchema = new Schema<UserSettingsType>(
|
|
|
117
117
|
{
|
|
118
118
|
sources: { type: [String] }, // array of source _id strings
|
|
119
119
|
time_range: {
|
|
120
|
-
type: Schema.Types.Mixed,
|
|
120
|
+
type: Schema.Types.Mixed,
|
|
121
121
|
},
|
|
122
|
-
user_id: { type: String, required: true },
|
|
122
|
+
user_id: { type: String, required: true },
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
versionKey: false,
|