@timardex/cluemart-server-shared 1.1.24 → 1.1.26
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-YILYRHDN.mjs → chunk-IACWQ3VJ.mjs} +31 -6
- package/dist/chunk-IACWQ3VJ.mjs.map +1 -0
- package/dist/index.cjs +32 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +32 -7
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +30 -5
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +32 -7
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +3 -3
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-YILYRHDN.mjs.map +0 -1
package/dist/mongoose/index.cjs
CHANGED
|
@@ -4839,6 +4839,13 @@ var registerFields = [
|
|
|
4839
4839
|
placeholder: "Last Name",
|
|
4840
4840
|
required: true
|
|
4841
4841
|
},
|
|
4842
|
+
{
|
|
4843
|
+
helperText: "Enter Nickname",
|
|
4844
|
+
keyboardType: "default",
|
|
4845
|
+
name: "nickName",
|
|
4846
|
+
placeholder: "Nickname",
|
|
4847
|
+
required: false
|
|
4848
|
+
},
|
|
4842
4849
|
{
|
|
4843
4850
|
...emailField,
|
|
4844
4851
|
required: true
|
|
@@ -4898,6 +4905,13 @@ var profileFields = [
|
|
|
4898
4905
|
name: "lastName",
|
|
4899
4906
|
placeholder: "Last Name"
|
|
4900
4907
|
},
|
|
4908
|
+
{
|
|
4909
|
+
helperText: "Enter Nickname",
|
|
4910
|
+
keyboardType: "default",
|
|
4911
|
+
name: "nickName",
|
|
4912
|
+
placeholder: "Nickname",
|
|
4913
|
+
required: false
|
|
4914
|
+
},
|
|
4901
4915
|
{
|
|
4902
4916
|
helperText: "Enter your new password",
|
|
4903
4917
|
keyboardType: "default",
|
|
@@ -5142,6 +5156,7 @@ var USER_FIELDS_FRAGMENT = gql`
|
|
|
5142
5156
|
game
|
|
5143
5157
|
isTester
|
|
5144
5158
|
lastName
|
|
5159
|
+
nickName
|
|
5145
5160
|
licences {
|
|
5146
5161
|
...LicenceFields
|
|
5147
5162
|
}
|
|
@@ -7433,13 +7448,11 @@ var GET_GAME_LEADERBOARD = gql`
|
|
|
7433
7448
|
gameHistory {
|
|
7434
7449
|
...GameHistoryFields
|
|
7435
7450
|
}
|
|
7451
|
+
nickName
|
|
7436
7452
|
overallPoints
|
|
7437
|
-
|
|
7438
|
-
...OwnerFields
|
|
7439
|
-
}
|
|
7453
|
+
userId
|
|
7440
7454
|
}
|
|
7441
7455
|
}
|
|
7442
|
-
${OWNER_FIELDS_FRAGMENT}
|
|
7443
7456
|
${GAME_HISTORY_FIELDS_FRAGMENT}
|
|
7444
7457
|
`;
|
|
7445
7458
|
var START_GAME_MUTATION = gql`
|
|
@@ -7741,6 +7754,17 @@ var GET_AFFILIATES = gql`
|
|
|
7741
7754
|
}
|
|
7742
7755
|
${AFFILIATE_FIELDS_FRAGMENT}
|
|
7743
7756
|
`;
|
|
7757
|
+
var CREATE_AFFILIATE_MUTATION = gql`
|
|
7758
|
+
mutation createAffiliate($input: AffiliateDetailsInputType!) {
|
|
7759
|
+
createAffiliate(input: $input) {
|
|
7760
|
+
data {
|
|
7761
|
+
...AffiliateFields
|
|
7762
|
+
}
|
|
7763
|
+
message
|
|
7764
|
+
}
|
|
7765
|
+
}
|
|
7766
|
+
${AFFILIATE_FIELDS_FRAGMENT}
|
|
7767
|
+
`;
|
|
7744
7768
|
var UPDATE_AFFILIATE_DETAILS_MUTATION = gql`
|
|
7745
7769
|
mutation updateAffiliateDetails(
|
|
7746
7770
|
$input: AffiliateDetailsInputType!
|
|
@@ -8994,6 +9018,7 @@ var schema7 = new MongooseSchema11(
|
|
|
8994
9018
|
required: false,
|
|
8995
9019
|
type: locationsSchema
|
|
8996
9020
|
},
|
|
9021
|
+
nickName: { required: false, type: String },
|
|
8997
9022
|
overallPoints: { default: 0, required: false, type: Number },
|
|
8998
9023
|
partner: {
|
|
8999
9024
|
ref: "Partner",
|
|
@@ -9164,7 +9189,7 @@ var couponParticipantUserSchema = new MongooseSchema13(
|
|
|
9164
9189
|
var couponDataSchema = new MongooseSchema13(
|
|
9165
9190
|
{
|
|
9166
9191
|
active: { default: true, required: true, type: Boolean },
|
|
9167
|
-
couponCode: { required:
|
|
9192
|
+
couponCode: { required: false, type: couponCodeSchema },
|
|
9168
9193
|
couponDescription: { required: true, type: String },
|
|
9169
9194
|
couponOption: { required: true, type: couponOptionSchema },
|
|
9170
9195
|
couponVendorProducts: {
|