@timardex/cluemart-server-shared 1.0.299 → 1.0.300
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-CiXqVASx.d.mts → Affiliate-BxNv9k41.d.mts} +2 -23
- package/dist/{Affiliate-B3kOq3DU.d.ts → Affiliate-DRuifOv4.d.ts} +2 -23
- package/dist/{chunk-UEGYYYX5.mjs → chunk-6WS5FH7A.mjs} +2 -68
- package/dist/chunk-6WS5FH7A.mjs.map +1 -0
- package/dist/index.cjs +3 -183
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -23
- package/dist/index.d.ts +2 -23
- package/dist/index.mjs +3 -182
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +1 -67
- 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 -3
- package/dist/service/index.cjs +3 -181
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.d.mts +1 -1
- package/dist/service/index.d.ts +1 -1
- package/dist/service/index.mjs +3 -119
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-UEGYYYX5.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
2
|
-
import { RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType,
|
|
2
|
+
import { RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, SocialShareResourceType, PosterUsageType, RelationType, AffiliateRewardType, AffiliateResourceType, AffiliateType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose__default from 'mongoose';
|
|
4
4
|
import { O as ObjectId } from './Chat-Wn7yfc3v.mjs';
|
|
5
5
|
|
|
@@ -56,15 +56,6 @@ declare const userLicenseSchema: mongoose__default.Schema<UserLicenceType, mongo
|
|
|
56
56
|
} & {
|
|
57
57
|
__v: number;
|
|
58
58
|
}>;
|
|
59
|
-
declare const associatesSchema: mongoose__default.Schema<AssociateType, mongoose__default.Model<AssociateType, any, any, any, mongoose__default.Document<unknown, any, AssociateType, any, {}> & AssociateType & {
|
|
60
|
-
_id: mongoose__default.Types.ObjectId;
|
|
61
|
-
} & {
|
|
62
|
-
__v: number;
|
|
63
|
-
}, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, AssociateType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<AssociateType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<AssociateType> & {
|
|
64
|
-
_id: mongoose__default.Types.ObjectId;
|
|
65
|
-
} & {
|
|
66
|
-
__v: number;
|
|
67
|
-
}>;
|
|
68
59
|
declare const ContactDetailsSchema: mongoose__default.Schema<ResourceContactDetailsType, mongoose__default.Model<ResourceContactDetailsType, any, any, any, mongoose__default.Document<unknown, any, ResourceContactDetailsType, any, {}> & ResourceContactDetailsType & {
|
|
69
60
|
_id: mongoose__default.Types.ObjectId;
|
|
70
61
|
} & {
|
|
@@ -178,18 +169,6 @@ declare const baseResourceFields: {
|
|
|
178
169
|
required: boolean;
|
|
179
170
|
type: DateConstructor;
|
|
180
171
|
};
|
|
181
|
-
associates: {
|
|
182
|
-
required: boolean;
|
|
183
|
-
type: mongoose__default.Schema<AssociateType, mongoose__default.Model<AssociateType, any, any, any, mongoose__default.Document<unknown, any, AssociateType, any, {}> & AssociateType & {
|
|
184
|
-
_id: mongoose__default.Types.ObjectId;
|
|
185
|
-
} & {
|
|
186
|
-
__v: number;
|
|
187
|
-
}, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, AssociateType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<AssociateType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<AssociateType> & {
|
|
188
|
-
_id: mongoose__default.Types.ObjectId;
|
|
189
|
-
} & {
|
|
190
|
-
__v: number;
|
|
191
|
-
}>[];
|
|
192
|
-
};
|
|
193
172
|
contactDetails: {
|
|
194
173
|
required: boolean;
|
|
195
174
|
type: mongoose__default.Schema<ResourceContactDetailsType, mongoose__default.Model<ResourceContactDetailsType, any, any, any, mongoose__default.Document<unknown, any, ResourceContactDetailsType, any, {}> & ResourceContactDetailsType & {
|
|
@@ -410,4 +389,4 @@ declare const AffiliateModel: mongoose__default.Model<AffiliateDocument, {}, {},
|
|
|
410
389
|
__v: number;
|
|
411
390
|
}, any>;
|
|
412
391
|
|
|
413
|
-
export { AffiliateModel as A, CategorySchema as C, OwnerTypeSchema as O, ResourceImageTypeSchema as R, type SchemaOwnerType as S, type SchemaRelatedPostType as a, SocialMediaTypeSchema as b,
|
|
392
|
+
export { AffiliateModel as A, CategorySchema as C, OwnerTypeSchema as O, ResourceImageTypeSchema as R, type SchemaOwnerType as S, type SchemaRelatedPostType as a, SocialMediaTypeSchema as b, ContactDetailsSchema as c, dateTimeSchema as d, locationsSchema as e, relatedPostSchema as f, baseResourceFields as g, relationDatesSchema as h, type SchemaRelationType as i, RelationTypeSchema as j, RelationModel as k, locationGeoSchema as l, type SchemaAffiliateReward as m, type SchemaAffiliateResourceType as n, resourceRelationsSchema as r, socialShareResourceSchema as s, termsAgreementSchema as t, userLicenseSchema as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
2
|
-
import { RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType,
|
|
2
|
+
import { RelatedPostType, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, ResourceContactDetailsType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, SocialShareResourceType, PosterUsageType, RelationType, AffiliateRewardType, AffiliateResourceType, AffiliateType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose__default from 'mongoose';
|
|
4
4
|
import { O as ObjectId } from './Chat-Wn7yfc3v.js';
|
|
5
5
|
|
|
@@ -56,15 +56,6 @@ declare const userLicenseSchema: mongoose__default.Schema<UserLicenceType, mongo
|
|
|
56
56
|
} & {
|
|
57
57
|
__v: number;
|
|
58
58
|
}>;
|
|
59
|
-
declare const associatesSchema: mongoose__default.Schema<AssociateType, mongoose__default.Model<AssociateType, any, any, any, mongoose__default.Document<unknown, any, AssociateType, any, {}> & AssociateType & {
|
|
60
|
-
_id: mongoose__default.Types.ObjectId;
|
|
61
|
-
} & {
|
|
62
|
-
__v: number;
|
|
63
|
-
}, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, AssociateType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<AssociateType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<AssociateType> & {
|
|
64
|
-
_id: mongoose__default.Types.ObjectId;
|
|
65
|
-
} & {
|
|
66
|
-
__v: number;
|
|
67
|
-
}>;
|
|
68
59
|
declare const ContactDetailsSchema: mongoose__default.Schema<ResourceContactDetailsType, mongoose__default.Model<ResourceContactDetailsType, any, any, any, mongoose__default.Document<unknown, any, ResourceContactDetailsType, any, {}> & ResourceContactDetailsType & {
|
|
69
60
|
_id: mongoose__default.Types.ObjectId;
|
|
70
61
|
} & {
|
|
@@ -178,18 +169,6 @@ declare const baseResourceFields: {
|
|
|
178
169
|
required: boolean;
|
|
179
170
|
type: DateConstructor;
|
|
180
171
|
};
|
|
181
|
-
associates: {
|
|
182
|
-
required: boolean;
|
|
183
|
-
type: mongoose__default.Schema<AssociateType, mongoose__default.Model<AssociateType, any, any, any, mongoose__default.Document<unknown, any, AssociateType, any, {}> & AssociateType & {
|
|
184
|
-
_id: mongoose__default.Types.ObjectId;
|
|
185
|
-
} & {
|
|
186
|
-
__v: number;
|
|
187
|
-
}, any>, {}, {}, {}, {}, mongoose__default.DefaultSchemaOptions, AssociateType, mongoose__default.Document<unknown, {}, mongoose__default.FlatRecord<AssociateType>, {}, mongoose__default.ResolveSchemaOptions<mongoose__default.DefaultSchemaOptions>> & mongoose__default.FlatRecord<AssociateType> & {
|
|
188
|
-
_id: mongoose__default.Types.ObjectId;
|
|
189
|
-
} & {
|
|
190
|
-
__v: number;
|
|
191
|
-
}>[];
|
|
192
|
-
};
|
|
193
172
|
contactDetails: {
|
|
194
173
|
required: boolean;
|
|
195
174
|
type: mongoose__default.Schema<ResourceContactDetailsType, mongoose__default.Model<ResourceContactDetailsType, any, any, any, mongoose__default.Document<unknown, any, ResourceContactDetailsType, any, {}> & ResourceContactDetailsType & {
|
|
@@ -410,4 +389,4 @@ declare const AffiliateModel: mongoose__default.Model<AffiliateDocument, {}, {},
|
|
|
410
389
|
__v: number;
|
|
411
390
|
}, any>;
|
|
412
391
|
|
|
413
|
-
export { AffiliateModel as A, CategorySchema as C, OwnerTypeSchema as O, ResourceImageTypeSchema as R, type SchemaOwnerType as S, type SchemaRelatedPostType as a, SocialMediaTypeSchema as b,
|
|
392
|
+
export { AffiliateModel as A, CategorySchema as C, OwnerTypeSchema as O, ResourceImageTypeSchema as R, type SchemaOwnerType as S, type SchemaRelatedPostType as a, SocialMediaTypeSchema as b, ContactDetailsSchema as c, dateTimeSchema as d, locationsSchema as e, relatedPostSchema as f, baseResourceFields as g, relationDatesSchema as h, type SchemaRelationType as i, RelationTypeSchema as j, RelationModel as k, locationGeoSchema as l, type SchemaAffiliateReward as m, type SchemaAffiliateResourceType as n, resourceRelationsSchema as r, socialShareResourceSchema as s, termsAgreementSchema as t, userLicenseSchema as u };
|
|
@@ -3278,9 +3278,6 @@ var EnumRelationResource = /* @__PURE__ */ ((EnumRelationResource22) => {
|
|
|
3278
3278
|
return EnumRelationResource22;
|
|
3279
3279
|
})(EnumRelationResource || {});
|
|
3280
3280
|
var EnumNotificationResourceType = /* @__PURE__ */ ((EnumNotificationResourceType22) => {
|
|
3281
|
-
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_EVENT"] = "added_as_associate_event";
|
|
3282
|
-
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_PARTNER"] = "added_as_associate_partner";
|
|
3283
|
-
EnumNotificationResourceType22["ADDED_AS_ASSOCIATE_VENDOR"] = "added_as_associate_vendor";
|
|
3284
3281
|
EnumNotificationResourceType22["APPROVED_AFFILIATE"] = "approved_affiliate";
|
|
3285
3282
|
EnumNotificationResourceType22["AFFILIATE_REWARD_RECEIVED"] = "affiliate_reward_received";
|
|
3286
3283
|
EnumNotificationResourceType22["APPROVED_EVENT"] = "approved_event";
|
|
@@ -4944,17 +4941,6 @@ var LICENCE_FIELDS_FRAGMENT = gql`
|
|
|
4944
4941
|
prevLicenceType
|
|
4945
4942
|
}
|
|
4946
4943
|
`;
|
|
4947
|
-
var ASSOCIATES_FIELDS_FRAGMENT = gql`
|
|
4948
|
-
fragment AssociatesFields on AssociateType {
|
|
4949
|
-
email
|
|
4950
|
-
resourceId
|
|
4951
|
-
resourceType
|
|
4952
|
-
licence {
|
|
4953
|
-
...LicenceFields
|
|
4954
|
-
}
|
|
4955
|
-
}
|
|
4956
|
-
${LICENCE_FIELDS_FRAGMENT}
|
|
4957
|
-
`;
|
|
4958
4944
|
var TERMS_AGREEMENT_FIELDS_FRAGMENT = gql`
|
|
4959
4945
|
fragment TermsAgreementFields on TermsAgreementType {
|
|
4960
4946
|
appBuildNumber
|
|
@@ -5045,9 +5031,6 @@ var USER_FIELDS_FRAGMENT = gql`
|
|
|
5045
5031
|
fragment UserFields on UserType {
|
|
5046
5032
|
_id
|
|
5047
5033
|
active
|
|
5048
|
-
associates {
|
|
5049
|
-
...AssociatesFields
|
|
5050
|
-
}
|
|
5051
5034
|
affiliate
|
|
5052
5035
|
avatar {
|
|
5053
5036
|
...ResourceImageFields
|
|
@@ -5087,7 +5070,6 @@ var USER_FIELDS_FRAGMENT = gql`
|
|
|
5087
5070
|
updatedAt
|
|
5088
5071
|
}
|
|
5089
5072
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
5090
|
-
${ASSOCIATES_FIELDS_FRAGMENT}
|
|
5091
5073
|
${TERMS_AGREEMENT_FIELDS_FRAGMENT}
|
|
5092
5074
|
${USER_ACTIVITY_FIELDS_FRAGMENT}
|
|
5093
5075
|
${LICENCE_FIELDS_FRAGMENT}
|
|
@@ -5233,9 +5215,6 @@ var EVENT = gql`
|
|
|
5233
5215
|
fragment EventFields on EventType {
|
|
5234
5216
|
_id
|
|
5235
5217
|
active
|
|
5236
|
-
associates {
|
|
5237
|
-
...AssociatesFields
|
|
5238
|
-
}
|
|
5239
5218
|
adIds
|
|
5240
5219
|
approvedAt
|
|
5241
5220
|
cover {
|
|
@@ -5308,7 +5287,6 @@ var EVENT = gql`
|
|
|
5308
5287
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
5309
5288
|
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
5310
5289
|
${POSTER_USAGE_FIELDS_FRAGMENT}
|
|
5311
|
-
${ASSOCIATES_FIELDS_FRAGMENT}
|
|
5312
5290
|
${CONTACT_DETAILS_FIELDS_FRAGMENT}
|
|
5313
5291
|
${TERMS_AGREEMENT_FIELDS_FRAGMENT}
|
|
5314
5292
|
${RELATION_DATES_FRAGMENT}
|
|
@@ -5421,9 +5399,6 @@ var VENDOR = gql`
|
|
|
5421
5399
|
fragment VendorFields on VendorType {
|
|
5422
5400
|
_id
|
|
5423
5401
|
active
|
|
5424
|
-
associates {
|
|
5425
|
-
...AssociatesFields
|
|
5426
|
-
}
|
|
5427
5402
|
adIds
|
|
5428
5403
|
approvedAt
|
|
5429
5404
|
availability {
|
|
@@ -5514,7 +5489,6 @@ var VENDOR = gql`
|
|
|
5514
5489
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
5515
5490
|
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
5516
5491
|
${POSTER_USAGE_FIELDS_FRAGMENT}
|
|
5517
|
-
${ASSOCIATES_FIELDS_FRAGMENT}
|
|
5518
5492
|
${VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT}
|
|
5519
5493
|
${CONTACT_DETAILS_FIELDS_FRAGMENT}
|
|
5520
5494
|
${TERMS_AGREEMENT_FIELDS_FRAGMENT}
|
|
@@ -5667,9 +5641,6 @@ var PARTNER = gql`
|
|
|
5667
5641
|
fragment PartnerFields on PartnerType {
|
|
5668
5642
|
_id
|
|
5669
5643
|
active
|
|
5670
|
-
associates {
|
|
5671
|
-
...AssociatesFields
|
|
5672
|
-
}
|
|
5673
5644
|
adIds
|
|
5674
5645
|
approvedAt
|
|
5675
5646
|
cover {
|
|
@@ -5720,7 +5691,6 @@ var PARTNER = gql`
|
|
|
5720
5691
|
${TERMS_AGREEMENT_FIELDS_FRAGMENT}
|
|
5721
5692
|
${LOCATION_FIELDS_FRAGMENT}
|
|
5722
5693
|
${OWNER_FIELDS_FRAGMENT}
|
|
5723
|
-
${ASSOCIATES_FIELDS_FRAGMENT}
|
|
5724
5694
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
5725
5695
|
${POSTER_USAGE_FIELDS_FRAGMENT}
|
|
5726
5696
|
${SOCIAL_MEDIA_FIELDS_FRAGMENT}
|
|
@@ -6167,7 +6137,6 @@ var CHAT_MESSAGE_FIELDS_FRAGMENT = gql`
|
|
|
6167
6137
|
var CHAT_PARTICIPANT = gql`
|
|
6168
6138
|
fragment ChatParticipantFields on ChatParticipantType {
|
|
6169
6139
|
active
|
|
6170
|
-
isAssociate
|
|
6171
6140
|
userAvatar
|
|
6172
6141
|
userEmail
|
|
6173
6142
|
userId
|
|
@@ -7645,7 +7614,6 @@ var MessageSchema = new MongooseSchema2(
|
|
|
7645
7614
|
var ParticipantSchema = new MongooseSchema2(
|
|
7646
7615
|
{
|
|
7647
7616
|
active: { default: true, required: true, type: Boolean },
|
|
7648
|
-
isAssociate: { default: null, required: false, type: Boolean },
|
|
7649
7617
|
userAvatar: { required: false, type: String },
|
|
7650
7618
|
userEmail: { required: true, type: String },
|
|
7651
7619
|
userId: {
|
|
@@ -7970,26 +7938,6 @@ var userLicenseSchema = new MongooseSchema6(
|
|
|
7970
7938
|
},
|
|
7971
7939
|
{ _id: false, timestamps: false }
|
|
7972
7940
|
);
|
|
7973
|
-
var associatesSchema = new MongooseSchema6(
|
|
7974
|
-
{
|
|
7975
|
-
email: { required: true, type: String },
|
|
7976
|
-
licence: {
|
|
7977
|
-
required: true,
|
|
7978
|
-
type: userLicenseSchema
|
|
7979
|
-
},
|
|
7980
|
-
resourceId: {
|
|
7981
|
-
required: true,
|
|
7982
|
-
type: String
|
|
7983
|
-
},
|
|
7984
|
-
resourceType: {
|
|
7985
|
-
enum: Object.values(EnumResourceType),
|
|
7986
|
-
required: true,
|
|
7987
|
-
type: String
|
|
7988
|
-
}
|
|
7989
|
-
},
|
|
7990
|
-
{ _id: false }
|
|
7991
|
-
// Prevents Mongoose from creating an additional _id field for subdocuments
|
|
7992
|
-
);
|
|
7993
7941
|
var ContactDetailsSchema = new MongooseSchema6(
|
|
7994
7942
|
{
|
|
7995
7943
|
email: { required: false, type: String },
|
|
@@ -8105,10 +8053,6 @@ var baseResourceFields = {
|
|
|
8105
8053
|
type: [mongoose6.Schema.Types.ObjectId]
|
|
8106
8054
|
},
|
|
8107
8055
|
approvedAt: { default: null, required: false, type: Date },
|
|
8108
|
-
associates: {
|
|
8109
|
-
required: false,
|
|
8110
|
-
type: [associatesSchema]
|
|
8111
|
-
},
|
|
8112
8056
|
contactDetails: { required: false, type: ContactDetailsSchema },
|
|
8113
8057
|
cover: {
|
|
8114
8058
|
required: true,
|
|
@@ -8252,7 +8196,7 @@ schema4.index({ isRead: 1, userId: 1 });
|
|
|
8252
8196
|
schema4.index({ createdAt: -1, userId: 1 });
|
|
8253
8197
|
var NotificationModel = mongoose8.models.Notification || mongoose8.model("Notification", schema4);
|
|
8254
8198
|
|
|
8255
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
8199
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-X3OLM35T.mjs
|
|
8256
8200
|
var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
|
|
8257
8201
|
EnumOSPlatform22["ANDROID"] = "android";
|
|
8258
8202
|
EnumOSPlatform22["IOS"] = "ios";
|
|
@@ -8413,10 +8357,6 @@ var schema7 = new MongooseSchema11(
|
|
|
8413
8357
|
required: false,
|
|
8414
8358
|
type: mongoose11.Schema.Types.ObjectId
|
|
8415
8359
|
},
|
|
8416
|
-
associates: {
|
|
8417
|
-
required: false,
|
|
8418
|
-
type: [associatesSchema]
|
|
8419
|
-
},
|
|
8420
8360
|
avatar: {
|
|
8421
8361
|
required: false,
|
|
8422
8362
|
type: ResourceImageTypeSchema
|
|
@@ -8516,7 +8456,6 @@ var schema7 = new MongooseSchema11(
|
|
|
8516
8456
|
},
|
|
8517
8457
|
{ strict: false, timestamps: true }
|
|
8518
8458
|
);
|
|
8519
|
-
schema7.index({ "associates.email": 1 });
|
|
8520
8459
|
schema7.index({ "licences.expiryDate": 1 });
|
|
8521
8460
|
schema7.index({ "licences.licenceType": 1 });
|
|
8522
8461
|
var UserModel = mongoose11.models.User || mongoose11.model("User", schema7);
|
|
@@ -8634,7 +8573,6 @@ schema9.index({ name: 1 });
|
|
|
8634
8573
|
schema9.index({ description: 1 });
|
|
8635
8574
|
schema9.index({ region: 1 });
|
|
8636
8575
|
schema9.index({ "categories.name": 1 });
|
|
8637
|
-
schema9.index({ "associates.email": 1 });
|
|
8638
8576
|
schema9.index({ slug: 1 });
|
|
8639
8577
|
var VendorModel = mongoose13.models.Vendor || mongoose13.model("Vendor", schema9);
|
|
8640
8578
|
|
|
@@ -8773,7 +8711,6 @@ schema12.index({ description: 1 });
|
|
|
8773
8711
|
schema12.index({ region: 1 });
|
|
8774
8712
|
schema12.index({ "location.geo": "2dsphere" });
|
|
8775
8713
|
schema12.index({ tags: 1 });
|
|
8776
|
-
schema12.index({ "associates.email": 1 });
|
|
8777
8714
|
schema12.index({ deletedAt: 1 });
|
|
8778
8715
|
schema12.index({ "dateTime.dateStatus": 1 });
|
|
8779
8716
|
schema12.index({ slug: 1 });
|
|
@@ -8802,7 +8739,6 @@ schema13.index({ name: 1 });
|
|
|
8802
8739
|
schema13.index({ description: 1 });
|
|
8803
8740
|
schema13.index({ region: 1 });
|
|
8804
8741
|
schema13.index({ "location.geo": "2dsphere" });
|
|
8805
|
-
schema13.index({ "associates.email": 1 });
|
|
8806
8742
|
schema13.index({ slug: 1 });
|
|
8807
8743
|
var PartnerModel = mongoose17.models.Partner || mongoose17.model("Partner", schema13);
|
|
8808
8744
|
|
|
@@ -9229,7 +9165,6 @@ var AffiliateModel = mongoose25.models.Affiliate || mongoose25.model("Affiliate"
|
|
|
9229
9165
|
|
|
9230
9166
|
export {
|
|
9231
9167
|
EnumInviteStatus,
|
|
9232
|
-
EnumChatType,
|
|
9233
9168
|
EnumResourceType,
|
|
9234
9169
|
EnumNotificationResourceType,
|
|
9235
9170
|
EnumNotificationType,
|
|
@@ -9253,7 +9188,6 @@ export {
|
|
|
9253
9188
|
ResourceImageTypeSchema,
|
|
9254
9189
|
CategorySchema,
|
|
9255
9190
|
userLicenseSchema,
|
|
9256
|
-
associatesSchema,
|
|
9257
9191
|
ContactDetailsSchema,
|
|
9258
9192
|
termsAgreementSchema,
|
|
9259
9193
|
resourceRelationsSchema,
|
|
@@ -9281,4 +9215,4 @@ export {
|
|
|
9281
9215
|
SchoolModel,
|
|
9282
9216
|
AffiliateModel
|
|
9283
9217
|
};
|
|
9284
|
-
//# sourceMappingURL=chunk-
|
|
9218
|
+
//# sourceMappingURL=chunk-6WS5FH7A.mjs.map
|