@timardex/cluemart-shared 1.2.95 → 1.2.96

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.
@@ -66,13 +66,23 @@ var CATEGORY_FIELDS_FRAGMENT = gql2`
66
66
  }
67
67
  }
68
68
  `;
69
+ var LICENCE_FIELDS_FRAGMENT = gql2`
70
+ fragment LicenceFields on UserLicenceType {
71
+ expiryDate
72
+ issuedDate
73
+ licenceType
74
+ }
75
+ `;
69
76
  var ASSOCIATES_FIELDS_FRAGMENT = gql2`
70
77
  fragment AssociatesFields on AssociateType {
71
78
  email
72
79
  resourceId
73
80
  resourceType
74
- licence
81
+ licence {
82
+ ...LicenceFields
83
+ }
75
84
  }
85
+ ${LICENCE_FIELDS_FRAGMENT}
76
86
  `;
77
87
  var TERMS_AGREEMENT_FIELDS_FRAGMENT = gql2`
78
88
  fragment TermsAgreementFields on TermsAgreementType {
@@ -90,13 +100,6 @@ var TERMS_AGREEMENT_FIELDS_FRAGMENT = gql2`
90
100
  timestamp
91
101
  }
92
102
  `;
93
- var LICENCE_FIELDS_FRAGMENT = gql2`
94
- fragment LicenceFields on UserLicenceType {
95
- expiryDate
96
- issuedDate
97
- licenceType
98
- }
99
- `;
100
103
  var EVENT_DATETIME_FIELDS_FRAGMENT = gql2`
101
104
  fragment EventDateTimeFields on EventDateTimeType {
102
105
  dateStatus