@longvansoftware/storefront-js-client 4.0.3 → 4.0.4

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.
@@ -194,6 +194,7 @@ exports.GET_PRODUCT_BY_SLUG_QUERY = (0, graphql_tag_1.gql) `
194
194
  ) {
195
195
  id
196
196
  title
197
+ subType
197
198
  description
198
199
  sku
199
200
  shortDescription
@@ -206,20 +207,56 @@ exports.GET_PRODUCT_BY_SLUG_QUERY = (0, graphql_tag_1.gql) `
206
207
  parentId
207
208
  handle
208
209
  price
210
+ displayPrice
211
+ hint
212
+ priceUnit
213
+ priceQuantity
214
+ priceType
215
+ salePolicy
216
+ priceTypeName
217
+ priceVaries
218
+ available
219
+ tags
209
220
  options
210
221
  optionsRelationship
211
222
  compareAtPrice
212
223
  featuredImage
224
+ version
213
225
  images
214
- productAttributes {
215
- attributeName
216
- attributeValue
226
+ brand {
227
+ id
228
+ createStamp
229
+ createdBy
230
+ name
231
+ image
232
+ imageIcon
233
+ }
234
+ unitDTO {
235
+ id
236
+ name
237
+ }
238
+ groups {
239
+ id
240
+ name
241
+ policy
242
+ image
243
+ }
244
+ categories {
245
+ id
246
+ title
247
+ image
248
+ icon
249
+ parentId
250
+ level
251
+ handle
252
+ description
217
253
  }
218
254
  variants {
219
255
  id
220
256
  handle
221
257
  title
222
258
  price
259
+ priceType
223
260
  compareAtPrice
224
261
  options
225
262
  optionsIds
@@ -229,22 +266,20 @@ exports.GET_PRODUCT_BY_SLUG_QUERY = (0, graphql_tag_1.gql) `
229
266
  featureTypes {
230
267
  id
231
268
  name
269
+ position
270
+ type
271
+ subType
272
+ fill
273
+ requireData
274
+ otherItem
232
275
  values
233
- }
234
- categories {
235
- id
236
- title
237
- handle
238
- }
239
- unitDTO {
240
- id
241
- name
242
- }
243
- groups {
244
- id
245
- name
246
- policy
247
- image
276
+ description
277
+ createStamp
278
+ createdBy
279
+ valuesFull {
280
+ id
281
+ name
282
+ }
248
283
  }
249
284
  }
250
285
  }
@@ -877,79 +912,13 @@ exports.GET_CATEGORY_BY_HANDLE = (0, graphql_tag_1.gql) `
877
912
  ) {
878
913
  id
879
914
  title
880
- subType
881
- description
882
- sku
883
- shortDescription
884
- weight
885
- width
886
- depth
887
- height
888
- vat
889
- qualify
915
+ image
916
+ icon
890
917
  parentId
918
+ level
891
919
  handle
892
- price
893
- displayPrice
894
- hint
895
- compareAtPrices
896
- priceUnit
897
- priceQuantity
898
- priceType
899
- salePolicy
900
- priceTypeName
901
- priceVaries
902
- available
903
- tags
904
- options
905
- optionsRelationship
906
- compareAtPrice
907
- featuredImage
908
- version
909
- images
910
- brand {
911
- id
912
- createStamp
913
- createdBy
914
- name
915
- image
916
- imageIcon
917
- }
918
- unitDTO {
919
- id
920
- name
921
- }
922
- variants {
923
- id
924
- handle
925
- title
926
- price
927
- priceType
928
- compareAtPrice
929
- options
930
- optionsIds
931
- featuredImage
932
- sku
933
- }
934
- featureTypes {
935
- id
936
- name
937
- position
938
- type
939
- subType
940
- fill
941
- requireData
942
- otherItem
943
- values
944
- description
945
- createStamp
946
- createdBy
947
- valuesFull {
948
- id
949
- name
950
- }
951
- }
952
- categories {
920
+ description
921
+ child {
953
922
  id
954
923
  title
955
924
  image
@@ -959,12 +928,6 @@ exports.GET_CATEGORY_BY_HANDLE = (0, graphql_tag_1.gql) `
959
928
  handle
960
929
  description
961
930
  }
962
- groups {
963
- id
964
- name
965
- policy
966
- image
967
- }
968
931
  }
969
932
  }
970
933
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [