@timardex/cluemart-server-shared 1.1.24 → 1.1.25

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.
@@ -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
  }
@@ -7741,6 +7756,17 @@ var GET_AFFILIATES = gql`
7741
7756
  }
7742
7757
  ${AFFILIATE_FIELDS_FRAGMENT}
7743
7758
  `;
7759
+ var CREATE_AFFILIATE_MUTATION = gql`
7760
+ mutation createAffiliate($input: AffiliateDetailsInputType!) {
7761
+ createAffiliate(input: $input) {
7762
+ data {
7763
+ ...AffiliateFields
7764
+ }
7765
+ message
7766
+ }
7767
+ }
7768
+ ${AFFILIATE_FIELDS_FRAGMENT}
7769
+ `;
7744
7770
  var UPDATE_AFFILIATE_DETAILS_MUTATION = gql`
7745
7771
  mutation updateAffiliateDetails(
7746
7772
  $input: AffiliateDetailsInputType!
@@ -8994,6 +9020,7 @@ var schema7 = new MongooseSchema11(
8994
9020
  required: false,
8995
9021
  type: locationsSchema
8996
9022
  },
9023
+ nickName: { required: false, type: String },
8997
9024
  overallPoints: { default: 0, required: false, type: Number },
8998
9025
  partner: {
8999
9026
  ref: "Partner",