@timardex/cluemart-server-shared 1.0.141 → 1.0.142
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/{chunk-7PPWLIUD.mjs → chunk-D2UFBNH6.mjs} +13 -3
- package/dist/chunk-D2UFBNH6.mjs.map +1 -0
- package/dist/index.cjs +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +12 -2
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +12 -2
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +12 -2
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-7PPWLIUD.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -10861,7 +10861,16 @@ var schoolSchema = create$3().shape({
|
|
|
10861
10861
|
});
|
|
10862
10862
|
var PKG = "@timardex/cluemart-shared";
|
|
10863
10863
|
var IMAGE_EXTENSION = ".webp";
|
|
10864
|
-
var posterIds = [
|
|
10864
|
+
var posterIds = [
|
|
10865
|
+
"mini-market1",
|
|
10866
|
+
"mini-market2",
|
|
10867
|
+
"mini-market3",
|
|
10868
|
+
"mini-market4",
|
|
10869
|
+
"mini-market5",
|
|
10870
|
+
"poster1",
|
|
10871
|
+
"poster2",
|
|
10872
|
+
"poster3"
|
|
10873
|
+
];
|
|
10865
10874
|
var posterFiles = Object.fromEntries(
|
|
10866
10875
|
posterIds.map((id) => [id, `${id}${IMAGE_EXTENSION}`])
|
|
10867
10876
|
);
|
|
@@ -12283,7 +12292,8 @@ import mongoose20 from "mongoose";
|
|
|
12283
12292
|
var MongooseSchema20 = mongoose20.Schema;
|
|
12284
12293
|
var schema15 = new MongooseSchema20(
|
|
12285
12294
|
{
|
|
12286
|
-
|
|
12295
|
+
// New schools are active by default
|
|
12296
|
+
active: { default: true, required: true, type: Boolean },
|
|
12287
12297
|
contactDetails: { required: false, type: ContactDetailsSchema },
|
|
12288
12298
|
deletedAt: { default: null, required: false, type: Date },
|
|
12289
12299
|
location: {
|