@timardex/cluemart-server-shared 1.0.305 → 1.0.308
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/{Affiliate-BxNv9k41.d.mts → Affiliate-B76iZ3fE.d.mts} +2 -1
- package/dist/{Affiliate-DRuifOv4.d.ts → Affiliate-gqV1-654.d.ts} +2 -1
- package/dist/{chunk-7X5A335O.mjs → chunk-MTFOFVHB.mjs} +1 -3
- package/dist/chunk-MTFOFVHB.mjs.map +1 -0
- package/dist/index.cjs +27 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.mjs +27 -27
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +0 -2
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +2 -2
- package/dist/mongoose/index.d.ts +2 -2
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +27 -27
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.d.mts +4 -3
- package/dist/service/index.d.ts +4 -3
- package/dist/service/index.mjs +28 -26
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-7X5A335O.mjs.map +0 -1
|
@@ -373,8 +373,9 @@ declare const RelationModel: mongoose__default.Model<SchemaRelationType, {}, {},
|
|
|
373
373
|
}, any>;
|
|
374
374
|
|
|
375
375
|
type SchemaAffiliateReward = AffiliateRewardType;
|
|
376
|
-
type SchemaAffiliateResourceType = Omit<AffiliateResourceType, "resourceId"> & {
|
|
376
|
+
type SchemaAffiliateResourceType = Omit<AffiliateResourceType, "resourceId" | "resourceOwner"> & {
|
|
377
377
|
resourceId: ObjectId;
|
|
378
|
+
resourceOwner: SchemaOwnerType;
|
|
378
379
|
};
|
|
379
380
|
type AffiliateDocument = Omit<AffiliateType, "_id" | "owner" | "affiliateResources"> & {
|
|
380
381
|
affiliateResources: SchemaAffiliateResourceType[];
|
|
@@ -373,8 +373,9 @@ declare const RelationModel: mongoose__default.Model<SchemaRelationType, {}, {},
|
|
|
373
373
|
}, any>;
|
|
374
374
|
|
|
375
375
|
type SchemaAffiliateReward = AffiliateRewardType;
|
|
376
|
-
type SchemaAffiliateResourceType = Omit<AffiliateResourceType, "resourceId"> & {
|
|
376
|
+
type SchemaAffiliateResourceType = Omit<AffiliateResourceType, "resourceId" | "resourceOwner"> & {
|
|
377
377
|
resourceId: ObjectId;
|
|
378
|
+
resourceOwner: SchemaOwnerType;
|
|
378
379
|
};
|
|
379
380
|
type AffiliateDocument = Omit<AffiliateType, "_id" | "owner" | "affiliateResources"> & {
|
|
380
381
|
affiliateResources: SchemaAffiliateResourceType[];
|
|
@@ -7315,7 +7315,6 @@ var AFFILIATE_DETAILS_FIELDS_FRAGMENT = gql`
|
|
|
7315
7315
|
location {
|
|
7316
7316
|
...LocationFields
|
|
7317
7317
|
}
|
|
7318
|
-
region
|
|
7319
7318
|
socialMedia {
|
|
7320
7319
|
...SocialMediaFields
|
|
7321
7320
|
}
|
|
@@ -9200,7 +9199,6 @@ var affiliateDetailsSchema = new MongooseSchema25(
|
|
|
9200
9199
|
required: true,
|
|
9201
9200
|
type: String
|
|
9202
9201
|
},
|
|
9203
|
-
region: { required: true, type: String },
|
|
9204
9202
|
socialMedia: { required: false, type: [SocialMediaTypeSchema] },
|
|
9205
9203
|
termsAgreement: { required: true, type: termsAgreementSchema }
|
|
9206
9204
|
},
|
|
@@ -9310,4 +9308,4 @@ export {
|
|
|
9310
9308
|
SchoolModel,
|
|
9311
9309
|
AffiliateModel
|
|
9312
9310
|
};
|
|
9313
|
-
//# sourceMappingURL=chunk-
|
|
9311
|
+
//# sourceMappingURL=chunk-MTFOFVHB.mjs.map
|