@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.
@@ -4763,6 +4763,13 @@ var registerFields = [
4763
4763
  placeholder: "Last Name",
4764
4764
  required: true
4765
4765
  },
4766
+ {
4767
+ helperText: "Enter Nickname",
4768
+ keyboardType: "default",
4769
+ name: "nickName",
4770
+ placeholder: "Nickname",
4771
+ required: false
4772
+ },
4766
4773
  {
4767
4774
  ...emailField,
4768
4775
  required: true
@@ -4822,6 +4829,13 @@ var profileFields = [
4822
4829
  name: "lastName",
4823
4830
  placeholder: "Last Name"
4824
4831
  },
4832
+ {
4833
+ helperText: "Enter Nickname",
4834
+ keyboardType: "default",
4835
+ name: "nickName",
4836
+ placeholder: "Nickname",
4837
+ required: false
4838
+ },
4825
4839
  {
4826
4840
  helperText: "Enter your new password",
4827
4841
  keyboardType: "default",
@@ -5066,6 +5080,7 @@ var USER_FIELDS_FRAGMENT = gql`
5066
5080
  game
5067
5081
  isTester
5068
5082
  lastName
5083
+ nickName
5069
5084
  licences {
5070
5085
  ...LicenceFields
5071
5086
  }
@@ -7357,13 +7372,11 @@ var GET_GAME_LEADERBOARD = gql`
7357
7372
  gameHistory {
7358
7373
  ...GameHistoryFields
7359
7374
  }
7375
+ nickName
7360
7376
  overallPoints
7361
- owner {
7362
- ...OwnerFields
7363
- }
7377
+ userId
7364
7378
  }
7365
7379
  }
7366
- ${OWNER_FIELDS_FRAGMENT}
7367
7380
  ${GAME_HISTORY_FIELDS_FRAGMENT}
7368
7381
  `;
7369
7382
  var START_GAME_MUTATION = gql`
@@ -7665,6 +7678,17 @@ var GET_AFFILIATES = gql`
7665
7678
  }
7666
7679
  ${AFFILIATE_FIELDS_FRAGMENT}
7667
7680
  `;
7681
+ var CREATE_AFFILIATE_MUTATION = gql`
7682
+ mutation createAffiliate($input: AffiliateDetailsInputType!) {
7683
+ createAffiliate(input: $input) {
7684
+ data {
7685
+ ...AffiliateFields
7686
+ }
7687
+ message
7688
+ }
7689
+ }
7690
+ ${AFFILIATE_FIELDS_FRAGMENT}
7691
+ `;
7668
7692
  var UPDATE_AFFILIATE_DETAILS_MUTATION = gql`
7669
7693
  mutation updateAffiliateDetails(
7670
7694
  $input: AffiliateDetailsInputType!
@@ -8987,6 +9011,7 @@ var schema7 = new MongooseSchema11(
8987
9011
  required: false,
8988
9012
  type: locationsSchema
8989
9013
  },
9014
+ nickName: { required: false, type: String },
8990
9015
  overallPoints: { default: 0, required: false, type: Number },
8991
9016
  partner: {
8992
9017
  ref: "Partner",
@@ -9157,7 +9182,7 @@ var couponParticipantUserSchema = new MongooseSchema13(
9157
9182
  var couponDataSchema = new MongooseSchema13(
9158
9183
  {
9159
9184
  active: { default: true, required: true, type: Boolean },
9160
- couponCode: { required: true, type: couponCodeSchema },
9185
+ couponCode: { required: false, type: couponCodeSchema },
9161
9186
  couponDescription: { required: true, type: String },
9162
9187
  couponOption: { required: true, type: couponOptionSchema },
9163
9188
  couponVendorProducts: {
@@ -9951,4 +9976,4 @@ export {
9951
9976
  SchoolModel,
9952
9977
  AffiliateModel
9953
9978
  };
9954
- //# sourceMappingURL=chunk-YILYRHDN.mjs.map
9979
+ //# sourceMappingURL=chunk-IACWQ3VJ.mjs.map