@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.
package/dist/index.mjs CHANGED
@@ -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",
@@ -9960,7 +9987,7 @@ var SHARE_RESOURCE_LABEL2 = {
9960
9987
  school: "School"
9961
9988
  };
9962
9989
 
9963
- // node_modules/@timardex/cluemart-shared/dist/chunk-5D2JVHC2.mjs
9990
+ // node_modules/@timardex/cluemart-shared/dist/chunk-GZZMH35Y.mjs
9964
9991
  var PROMO_CODE_PREFIX2 = "CM-";
9965
9992
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
9966
9993
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10062,7 +10089,7 @@ var gameScreenIdentifierList2 = [
10062
10089
  }
10063
10090
  ];
10064
10091
 
10065
- // node_modules/@timardex/cluemart-shared/dist/chunk-P4JLZCWZ.mjs
10092
+ // node_modules/@timardex/cluemart-shared/dist/chunk-TRWMYXB7.mjs
10066
10093
  import dayjs4 from "dayjs";
10067
10094
  var statusOptions2 = [
10068
10095
  ...Object.values(EnumInviteStatus2).map((status) => ({