@timardex/cluemart-server-shared 1.0.271 → 1.0.272
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-LV2G5CMJ.mjs → chunk-D6C7HNAQ.mjs} +6 -3
- package/dist/chunk-D6C7HNAQ.mjs.map +1 -0
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +5 -2
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +5 -2
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-LV2G5CMJ.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -3281,8 +3281,10 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
3281
3281
|
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_EVENT"] = "added_as_associate_event";
|
|
3282
3282
|
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_PARTNER"] = "added_as_associate_partner";
|
|
3283
3283
|
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_VENDOR"] = "added_as_associate_vendor";
|
|
3284
|
+
EnumNotificationResourceType22["APPROVED_AFFILIATE"] = "approved_affiliate";
|
|
3284
3285
|
EnumNotificationResourceType22["APPROVED_EVENT"] = "approved_event";
|
|
3285
3286
|
EnumNotificationResourceType22["APPROVED_PARTNER"] = "approved_partner";
|
|
3287
|
+
EnumNotificationResourceType22["APPROVED_SCHOOL"] = "approved_school";
|
|
3286
3288
|
EnumNotificationResourceType22["APPROVED_VENDOR"] = "approved_vendor";
|
|
3287
3289
|
EnumNotificationResourceType22["CREATED_EVENT"] = "created_event";
|
|
3288
3290
|
EnumNotificationResourceType22["CREATED_PARTNER"] = "created_partner";
|
|
@@ -3546,7 +3548,6 @@ var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|
|
|
3546
3548
|
var EnumAffiliateRewardType = /* @__PURE__ */ ((EnumAffiliateRewardType2) => {
|
|
3547
3549
|
EnumAffiliateRewardType2["NEW_EVENT_REGISTRATION"] = "NEW_EVENT_REGISTRATION";
|
|
3548
3550
|
EnumAffiliateRewardType2["NEW_VENDOR_REGISTRATION"] = "NEW_VENDOR_REGISTRATION";
|
|
3549
|
-
EnumAffiliateRewardType2["NEW_PARTNER_REGISTRATION"] = "NEW_PARTNER_REGISTRATION";
|
|
3550
3551
|
return EnumAffiliateRewardType2;
|
|
3551
3552
|
})(EnumAffiliateRewardType || {});
|
|
3552
3553
|
var mapArrayToOptions = (items) => items.map((item) => ({
|
|
@@ -7374,6 +7375,7 @@ var AFFILIATE_RESOURCE_FIELDS_FRAGMENT = gql`
|
|
|
7374
7375
|
fragment AffiliateResourceFields on AffiliateResourceType {
|
|
7375
7376
|
resourceActive
|
|
7376
7377
|
resourceId
|
|
7378
|
+
resourceName
|
|
7377
7379
|
resourceType
|
|
7378
7380
|
rewards {
|
|
7379
7381
|
...AffiliateRewardFields
|
|
@@ -8281,7 +8283,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
8281
8283
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
8282
8284
|
var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
|
|
8283
8285
|
|
|
8284
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
8286
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-6N32BPAG.mjs
|
|
8285
8287
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
8286
8288
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
8287
8289
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -9157,6 +9159,7 @@ var affiliateResourceSchema = new MongooseSchema25(
|
|
|
9157
9159
|
required: true,
|
|
9158
9160
|
type: mongoose25.Schema.Types.ObjectId
|
|
9159
9161
|
},
|
|
9162
|
+
resourceName: { required: true, type: String },
|
|
9160
9163
|
resourceType: {
|
|
9161
9164
|
enum: Object.values(EnumResourceType),
|
|
9162
9165
|
required: true,
|