@brimble/models 2.6.7 → 2.6.9
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/project/index.js +4 -0
- package/dist/region.js +1 -0
- package/dist/types/project/index.d.ts +1 -0
- package/dist/types/region.d.ts +1 -0
- package/package.json +1 -1
- package/project/index.ts +4 -0
- package/region.ts +1 -0
- package/types/project/index.ts +1 -0
- package/types/region.ts +1 -0
package/dist/project/index.js
CHANGED
|
@@ -106,6 +106,10 @@ const projectSchema = new mongoose_1.Schema({
|
|
|
106
106
|
image: String,
|
|
107
107
|
public_id: String,
|
|
108
108
|
},
|
|
109
|
+
hasUpdates: {
|
|
110
|
+
type: Boolean,
|
|
111
|
+
default: false
|
|
112
|
+
},
|
|
109
113
|
lastProcessed: Number,
|
|
110
114
|
tracking_token: String,
|
|
111
115
|
from: mongoose_1.Schema.Types.ObjectId,
|
package/dist/region.js
CHANGED
|
@@ -7,5 +7,6 @@ const regionSchema = new mongoose_1.Schema({
|
|
|
7
7
|
country: { type: String, required: true },
|
|
8
8
|
continent: { type: String, enum: Object.values(enum_1.REGION_CONTINENT) },
|
|
9
9
|
enabled: { type: Boolean, default: false, select: true },
|
|
10
|
+
dbVolumePath: { type: String, required: true }
|
|
10
11
|
});
|
|
11
12
|
exports.default = (0, mongoose_1.model)("Region", regionSchema, "regions");
|
package/dist/types/region.d.ts
CHANGED
package/package.json
CHANGED
package/project/index.ts
CHANGED
package/region.ts
CHANGED
|
@@ -7,6 +7,7 @@ const regionSchema = new Schema({
|
|
|
7
7
|
country: { type: String, required: true },
|
|
8
8
|
continent: { type: String, enum: Object.values(REGION_CONTINENT) },
|
|
9
9
|
enabled: { type: Boolean, default: false, select: true },
|
|
10
|
+
dbVolumePath: {type: String, required: true}
|
|
10
11
|
});
|
|
11
12
|
|
|
12
13
|
export default model<IRegion>("Region", regionSchema, "regions");
|
package/types/project/index.ts
CHANGED