@timardex/cluemart-server-shared 1.0.265 → 1.0.267
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-SHBCW7T5.mjs → chunk-WFGXT6EI.mjs} +5 -3
- package/dist/chunk-WFGXT6EI.mjs.map +1 -0
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +4 -2
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +4 -2
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-SHBCW7T5.mjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -3329,6 +3329,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor22) => {
|
|
|
3329
3329
|
return EnumFoodFlavor22;
|
|
3330
3330
|
})(EnumFoodFlavor || {});
|
|
3331
3331
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
|
|
3332
|
+
EnumResourceType22["AFFILIATE"] = "affiliate";
|
|
3332
3333
|
EnumResourceType22["EVENT"] = "event";
|
|
3333
3334
|
EnumResourceType22["VENDOR"] = "vendor";
|
|
3334
3335
|
EnumResourceType22["PARTNER"] = "partner";
|
|
@@ -3431,6 +3432,7 @@ var EnumUserLicence = /* @__PURE__ */ ((EnumUserLicence22) => {
|
|
|
3431
3432
|
EnumUserLicence22["STANDARD_EVENT"] = "standard_event";
|
|
3432
3433
|
EnumUserLicence22["STANDARD_VENDOR"] = "standard_vendor";
|
|
3433
3434
|
EnumUserLicence22["STANDARD_PARTNER"] = "standard_partner";
|
|
3435
|
+
EnumUserLicence22["STANDARD_AFFILIATE"] = "standard_affiliate";
|
|
3434
3436
|
return EnumUserLicence22;
|
|
3435
3437
|
})(EnumUserLicence || {});
|
|
3436
3438
|
var EnumUserRole = /* @__PURE__ */ ((EnumUserRole22) => {
|
|
@@ -8363,7 +8365,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
8363
8365
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
8364
8366
|
var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
|
|
8365
8367
|
|
|
8366
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
8368
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-2RPU74Z4.mjs
|
|
8367
8369
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
8368
8370
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
8369
8371
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -9273,7 +9275,7 @@ var schema17 = new MongooseSchema25(
|
|
|
9273
9275
|
schema17.index(
|
|
9274
9276
|
{ affiliateCode: 1 },
|
|
9275
9277
|
{
|
|
9276
|
-
partialFilterExpression: { deletedAt: null },
|
|
9278
|
+
partialFilterExpression: { active: true, deletedAt: null },
|
|
9277
9279
|
unique: true
|
|
9278
9280
|
}
|
|
9279
9281
|
);
|