@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.cjs CHANGED
@@ -4869,6 +4869,13 @@ var registerFields = [
4869
4869
  placeholder: "Last Name",
4870
4870
  required: true
4871
4871
  },
4872
+ {
4873
+ helperText: "Enter Nickname",
4874
+ keyboardType: "default",
4875
+ name: "nickName",
4876
+ placeholder: "Nickname",
4877
+ required: false
4878
+ },
4872
4879
  {
4873
4880
  ...emailField,
4874
4881
  required: true
@@ -4928,6 +4935,13 @@ var profileFields = [
4928
4935
  name: "lastName",
4929
4936
  placeholder: "Last Name"
4930
4937
  },
4938
+ {
4939
+ helperText: "Enter Nickname",
4940
+ keyboardType: "default",
4941
+ name: "nickName",
4942
+ placeholder: "Nickname",
4943
+ required: false
4944
+ },
4931
4945
  {
4932
4946
  helperText: "Enter your new password",
4933
4947
  keyboardType: "default",
@@ -5172,6 +5186,7 @@ var USER_FIELDS_FRAGMENT = gql`
5172
5186
  game
5173
5187
  isTester
5174
5188
  lastName
5189
+ nickName
5175
5190
  licences {
5176
5191
  ...LicenceFields
5177
5192
  }
@@ -7771,6 +7786,17 @@ var GET_AFFILIATES = gql`
7771
7786
  }
7772
7787
  ${AFFILIATE_FIELDS_FRAGMENT}
7773
7788
  `;
7789
+ var CREATE_AFFILIATE_MUTATION = gql`
7790
+ mutation createAffiliate($input: AffiliateDetailsInputType!) {
7791
+ createAffiliate(input: $input) {
7792
+ data {
7793
+ ...AffiliateFields
7794
+ }
7795
+ message
7796
+ }
7797
+ }
7798
+ ${AFFILIATE_FIELDS_FRAGMENT}
7799
+ `;
7774
7800
  var UPDATE_AFFILIATE_DETAILS_MUTATION = gql`
7775
7801
  mutation updateAffiliateDetails(
7776
7802
  $input: AffiliateDetailsInputType!
@@ -9093,6 +9119,7 @@ var schema7 = new MongooseSchema11(
9093
9119
  required: false,
9094
9120
  type: locationsSchema
9095
9121
  },
9122
+ nickName: { required: false, type: String },
9096
9123
  overallPoints: { default: 0, required: false, type: Number },
9097
9124
  partner: {
9098
9125
  ref: "Partner",
@@ -10066,7 +10093,7 @@ var SHARE_RESOURCE_LABEL2 = {
10066
10093
  school: "School"
10067
10094
  };
10068
10095
 
10069
- // node_modules/@timardex/cluemart-shared/dist/chunk-5D2JVHC2.mjs
10096
+ // node_modules/@timardex/cluemart-shared/dist/chunk-GZZMH35Y.mjs
10070
10097
  var PROMO_CODE_PREFIX2 = "CM-";
10071
10098
  var OBJECT_ID_PATH_SEGMENT2 = "[a-f0-9]{24}";
10072
10099
  var OBJECT_ID_PATH_SEGMENT_END2 = `${OBJECT_ID_PATH_SEGMENT2}$`;
@@ -10168,7 +10195,7 @@ var gameScreenIdentifierList2 = [
10168
10195
  }
10169
10196
  ];
10170
10197
 
10171
- // node_modules/@timardex/cluemart-shared/dist/chunk-P4JLZCWZ.mjs
10198
+ // node_modules/@timardex/cluemart-shared/dist/chunk-TRWMYXB7.mjs
10172
10199
  var import_dayjs4 = __toESM(require("dayjs"), 1);
10173
10200
  var statusOptions2 = [
10174
10201
  ...Object.values(EnumInviteStatus2).map((status) => ({