@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.
@@ -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
  }
@@ -7665,6 +7680,17 @@ var GET_AFFILIATES = gql`
7665
7680
  }
7666
7681
  ${AFFILIATE_FIELDS_FRAGMENT}
7667
7682
  `;
7683
+ var CREATE_AFFILIATE_MUTATION = gql`
7684
+ mutation createAffiliate($input: AffiliateDetailsInputType!) {
7685
+ createAffiliate(input: $input) {
7686
+ data {
7687
+ ...AffiliateFields
7688
+ }
7689
+ message
7690
+ }
7691
+ }
7692
+ ${AFFILIATE_FIELDS_FRAGMENT}
7693
+ `;
7668
7694
  var UPDATE_AFFILIATE_DETAILS_MUTATION = gql`
7669
7695
  mutation updateAffiliateDetails(
7670
7696
  $input: AffiliateDetailsInputType!
@@ -8987,6 +9013,7 @@ var schema7 = new MongooseSchema11(
8987
9013
  required: false,
8988
9014
  type: locationsSchema
8989
9015
  },
9016
+ nickName: { required: false, type: String },
8990
9017
  overallPoints: { default: 0, required: false, type: Number },
8991
9018
  partner: {
8992
9019
  ref: "Partner",
@@ -9951,4 +9978,4 @@ export {
9951
9978
  SchoolModel,
9952
9979
  AffiliateModel
9953
9980
  };
9954
- //# sourceMappingURL=chunk-YILYRHDN.mjs.map
9981
+ //# sourceMappingURL=chunk-YXUMN7EM.mjs.map