@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.cjs
CHANGED
|
@@ -3371,8 +3371,10 @@ var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceTyp
|
|
|
3371
3371
|
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_EVENT"] = "added_as_associate_event";
|
|
3372
3372
|
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_PARTNER"] = "added_as_associate_partner";
|
|
3373
3373
|
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_VENDOR"] = "added_as_associate_vendor";
|
|
3374
|
+
EnumNotificationResourceType22["APPROVED_AFFILIATE"] = "approved_affiliate";
|
|
3374
3375
|
EnumNotificationResourceType22["APPROVED_EVENT"] = "approved_event";
|
|
3375
3376
|
EnumNotificationResourceType22["APPROVED_PARTNER"] = "approved_partner";
|
|
3377
|
+
EnumNotificationResourceType22["APPROVED_SCHOOL"] = "approved_school";
|
|
3376
3378
|
EnumNotificationResourceType22["APPROVED_VENDOR"] = "approved_vendor";
|
|
3377
3379
|
EnumNotificationResourceType22["CREATED_EVENT"] = "created_event";
|
|
3378
3380
|
EnumNotificationResourceType22["CREATED_PARTNER"] = "created_partner";
|
|
@@ -3636,7 +3638,6 @@ var EnumGameType = /* @__PURE__ */ ((EnumGameType2) => {
|
|
|
3636
3638
|
var EnumAffiliateRewardType = /* @__PURE__ */ ((EnumAffiliateRewardType2) => {
|
|
3637
3639
|
EnumAffiliateRewardType2["NEW_EVENT_REGISTRATION"] = "NEW_EVENT_REGISTRATION";
|
|
3638
3640
|
EnumAffiliateRewardType2["NEW_VENDOR_REGISTRATION"] = "NEW_VENDOR_REGISTRATION";
|
|
3639
|
-
EnumAffiliateRewardType2["NEW_PARTNER_REGISTRATION"] = "NEW_PARTNER_REGISTRATION";
|
|
3640
3641
|
return EnumAffiliateRewardType2;
|
|
3641
3642
|
})(EnumAffiliateRewardType || {});
|
|
3642
3643
|
var mapArrayToOptions = (items) => items.map((item) => ({
|
|
@@ -7464,6 +7465,7 @@ var AFFILIATE_RESOURCE_FIELDS_FRAGMENT = gql`
|
|
|
7464
7465
|
fragment AffiliateResourceFields on AffiliateResourceType {
|
|
7465
7466
|
resourceActive
|
|
7466
7467
|
resourceId
|
|
7468
|
+
resourceName
|
|
7467
7469
|
resourceType
|
|
7468
7470
|
rewards {
|
|
7469
7471
|
...AffiliateRewardFields
|
|
@@ -8371,7 +8373,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
8371
8373
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
8372
8374
|
var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
|
|
8373
8375
|
|
|
8374
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
8376
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-6N32BPAG.mjs
|
|
8375
8377
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
8376
8378
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
8377
8379
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -9247,6 +9249,7 @@ var affiliateResourceSchema = new MongooseSchema25(
|
|
|
9247
9249
|
required: true,
|
|
9248
9250
|
type: import_mongoose25.default.Schema.Types.ObjectId
|
|
9249
9251
|
},
|
|
9252
|
+
resourceName: { required: true, type: String },
|
|
9250
9253
|
resourceType: {
|
|
9251
9254
|
enum: Object.values(EnumResourceType),
|
|
9252
9255
|
required: true,
|