@timardex/cluemart-server-shared 1.0.82 → 1.0.83
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-GMXGXY7C.mjs → chunk-MYYWZBVA.mjs} +43 -83
- package/dist/chunk-MYYWZBVA.mjs.map +1 -0
- package/dist/index.cjs +42 -82
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -12
- package/dist/index.d.ts +8 -12
- package/dist/index.mjs +42 -82
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +42 -82
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +8 -12
- package/dist/mongoose/index.d.ts +8 -12
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +42 -82
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-GMXGXY7C.mjs.map +0 -1
|
@@ -8353,44 +8353,35 @@ var USER_FIELDS_FRAGMENT = gql`
|
|
|
8353
8353
|
fragment UserFields on UserType {
|
|
8354
8354
|
_id
|
|
8355
8355
|
active
|
|
8356
|
-
appMetadata {
|
|
8357
|
-
appVersion
|
|
8358
|
-
platform
|
|
8359
|
-
buildNumber
|
|
8360
|
-
}
|
|
8361
8356
|
associates {
|
|
8362
8357
|
...AssociatesFields
|
|
8363
8358
|
}
|
|
8359
|
+
avatar {
|
|
8360
|
+
...ResourceImageFields
|
|
8361
|
+
}
|
|
8364
8362
|
createdAt
|
|
8365
8363
|
deletedAt
|
|
8364
|
+
email
|
|
8365
|
+
events
|
|
8366
|
+
firstName
|
|
8366
8367
|
isTester
|
|
8368
|
+
lastName
|
|
8367
8369
|
licences {
|
|
8368
8370
|
...LicenceFields
|
|
8369
8371
|
}
|
|
8372
|
+
partner
|
|
8373
|
+
platform
|
|
8374
|
+
preferredRegion
|
|
8370
8375
|
refreshToken
|
|
8376
|
+
role
|
|
8371
8377
|
termsAgreement {
|
|
8372
8378
|
...TermsAgreementFields
|
|
8373
8379
|
}
|
|
8374
|
-
updatedAt
|
|
8375
8380
|
userActivity {
|
|
8376
8381
|
...UserActivityFields
|
|
8377
8382
|
}
|
|
8378
|
-
|
|
8379
|
-
|
|
8380
|
-
...ResourceImageFields
|
|
8381
|
-
}
|
|
8382
|
-
email
|
|
8383
|
-
firstName
|
|
8384
|
-
lastName
|
|
8385
|
-
password
|
|
8386
|
-
preferredRegion
|
|
8387
|
-
role
|
|
8388
|
-
}
|
|
8389
|
-
userResources {
|
|
8390
|
-
events
|
|
8391
|
-
partner
|
|
8392
|
-
vendor
|
|
8393
|
-
}
|
|
8383
|
+
vendor
|
|
8384
|
+
updatedAt
|
|
8394
8385
|
}
|
|
8395
8386
|
${RESOURCE_IMAGE_FIELDS_FRAGMENT}
|
|
8396
8387
|
${ASSOCIATES_FIELDS_FRAGMENT}
|
|
@@ -11775,84 +11766,56 @@ var stripeSchema = new MongooseSchema11(
|
|
|
11775
11766
|
},
|
|
11776
11767
|
{ _id: false }
|
|
11777
11768
|
);
|
|
11778
|
-
var
|
|
11769
|
+
var schema7 = new MongooseSchema11(
|
|
11779
11770
|
{
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
platform: {
|
|
11783
|
-
enum: Object.values(EnumOSPlatform),
|
|
11771
|
+
active: { default: false, required: true, type: Boolean },
|
|
11772
|
+
associates: {
|
|
11784
11773
|
required: false,
|
|
11785
|
-
type:
|
|
11786
|
-
}
|
|
11787
|
-
},
|
|
11788
|
-
{ _id: false }
|
|
11789
|
-
);
|
|
11790
|
-
var userDetailsSchema = new MongooseSchema11(
|
|
11791
|
-
{
|
|
11774
|
+
type: [associatesSchema]
|
|
11775
|
+
},
|
|
11792
11776
|
avatar: {
|
|
11793
11777
|
required: false,
|
|
11794
11778
|
type: ResourceImageTypeSchema
|
|
11795
11779
|
},
|
|
11780
|
+
deletedAt: { default: null, required: false, type: Date },
|
|
11796
11781
|
email: { required: true, type: String },
|
|
11797
|
-
firstName: { required: true, type: String },
|
|
11798
|
-
lastName: { required: true, type: String },
|
|
11799
|
-
password: { required: true, type: String },
|
|
11800
|
-
preferredRegion: {
|
|
11801
|
-
required: true,
|
|
11802
|
-
type: String
|
|
11803
|
-
},
|
|
11804
|
-
role: {
|
|
11805
|
-
default: EnumUserRole.CUSTOMER,
|
|
11806
|
-
enum: Object.values(EnumUserRole),
|
|
11807
|
-
required: true,
|
|
11808
|
-
type: String
|
|
11809
|
-
}
|
|
11810
|
-
},
|
|
11811
|
-
{ _id: false }
|
|
11812
|
-
);
|
|
11813
|
-
var userResourcesSchema = new MongooseSchema11(
|
|
11814
|
-
{
|
|
11815
11782
|
events: {
|
|
11816
11783
|
ref: "Event",
|
|
11817
11784
|
required: false,
|
|
11818
11785
|
type: [mongoose11.Schema.Types.ObjectId]
|
|
11819
11786
|
},
|
|
11820
|
-
|
|
11821
|
-
|
|
11787
|
+
firstName: { required: true, type: String },
|
|
11788
|
+
isTester: { default: false, required: true, type: Boolean },
|
|
11789
|
+
lastName: { required: true, type: String },
|
|
11790
|
+
licences: {
|
|
11822
11791
|
required: false,
|
|
11823
|
-
type:
|
|
11792
|
+
type: [userLicenseSchema]
|
|
11824
11793
|
},
|
|
11825
|
-
|
|
11826
|
-
ref: "
|
|
11794
|
+
partner: {
|
|
11795
|
+
ref: "Partner",
|
|
11827
11796
|
required: false,
|
|
11828
11797
|
type: mongoose11.Schema.Types.ObjectId
|
|
11829
|
-
}
|
|
11830
|
-
},
|
|
11831
|
-
{
|
|
11832
|
-
_id: false
|
|
11833
|
-
}
|
|
11834
|
-
);
|
|
11835
|
-
var schema7 = new MongooseSchema11(
|
|
11836
|
-
{
|
|
11837
|
-
active: { default: false, required: true, type: Boolean },
|
|
11838
|
-
appMetadata: {
|
|
11839
|
-
required: false,
|
|
11840
|
-
type: appMetadataSchema
|
|
11841
11798
|
},
|
|
11842
|
-
|
|
11799
|
+
password: { required: true, type: String },
|
|
11800
|
+
platform: {
|
|
11801
|
+
enum: Object.values(EnumOSPlatform),
|
|
11843
11802
|
required: false,
|
|
11844
|
-
type:
|
|
11803
|
+
type: String
|
|
11845
11804
|
},
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
11849
|
-
required: false,
|
|
11850
|
-
type: [userLicenseSchema]
|
|
11805
|
+
preferredRegion: {
|
|
11806
|
+
required: true,
|
|
11807
|
+
type: String
|
|
11851
11808
|
},
|
|
11852
11809
|
refreshToken: {
|
|
11853
11810
|
required: false,
|
|
11854
11811
|
type: String
|
|
11855
11812
|
},
|
|
11813
|
+
role: {
|
|
11814
|
+
default: EnumUserRole.CUSTOMER,
|
|
11815
|
+
enum: Object.values(EnumUserRole),
|
|
11816
|
+
required: true,
|
|
11817
|
+
type: String
|
|
11818
|
+
},
|
|
11856
11819
|
stripe: {
|
|
11857
11820
|
required: false,
|
|
11858
11821
|
type: stripeSchema
|
|
@@ -11873,13 +11836,10 @@ var schema7 = new MongooseSchema11(
|
|
|
11873
11836
|
events: [userActivityEventSchema]
|
|
11874
11837
|
}
|
|
11875
11838
|
},
|
|
11876
|
-
|
|
11877
|
-
|
|
11878
|
-
type: userDetailsSchema
|
|
11879
|
-
},
|
|
11880
|
-
userResources: {
|
|
11839
|
+
vendor: {
|
|
11840
|
+
ref: "Vendor",
|
|
11881
11841
|
required: false,
|
|
11882
|
-
type:
|
|
11842
|
+
type: mongoose11.Schema.Types.ObjectId
|
|
11883
11843
|
}
|
|
11884
11844
|
},
|
|
11885
11845
|
{ strict: false, timestamps: true }
|
|
@@ -12224,4 +12184,4 @@ react/cjs/react.development.js:
|
|
|
12224
12184
|
* LICENSE file in the root directory of this source tree.
|
|
12225
12185
|
*)
|
|
12226
12186
|
*/
|
|
12227
|
-
//# sourceMappingURL=chunk-
|
|
12187
|
+
//# sourceMappingURL=chunk-MYYWZBVA.mjs.map
|