@graphcommerce/magento-store 3.0.1 → 3.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-store",
3
- "version": "3.0.1",
3
+ "version": "3.0.5",
4
4
  "sideEffects": false,
5
5
  "prettier": "@graphcommerce/prettier-config-pwa",
6
6
  "browserslist": [
@@ -14,22 +14,23 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@graphcommerce/browserslist-config-pwa": "^3.0.1",
17
- "@graphcommerce/eslint-config-pwa": "^3.0.1",
18
- "@graphcommerce/prettier-config-pwa": "^3.0.1",
19
- "@graphcommerce/typescript-config-pwa": "^3.0.1",
20
- "@playwright/test": "^1.14.1"
17
+ "@graphcommerce/eslint-config-pwa": "^3.0.3",
18
+ "@graphcommerce/prettier-config-pwa": "^3.0.2",
19
+ "@graphcommerce/typescript-config-pwa": "^3.1.0",
20
+ "@playwright/test": "^1.15.0"
21
21
  },
22
22
  "dependencies": {
23
23
  "@apollo/client": "^3.3.21",
24
- "@graphcommerce/graphql": "^2.103.1",
25
- "@graphcommerce/image": "^2.104.1",
26
- "@graphcommerce/next-ui": "^3.0.1",
24
+ "@graphcommerce/graphql": "^2.103.3",
25
+ "@graphcommerce/image": "^2.104.4",
26
+ "@graphcommerce/next-ui": "^3.0.5",
27
27
  "@graphql-typed-document-node/core": "^3.1.0",
28
28
  "@material-ui/core": "^4.12.3",
29
29
  "@material-ui/lab": "^4.0.0-alpha.60",
30
30
  "next": "^11.1.2",
31
31
  "react": "^17.0.2",
32
32
  "react-dom": "^17.0.2",
33
- "type-fest": "^2.1.0"
34
- }
33
+ "type-fest": "^2.3.4"
34
+ },
35
+ "gitHead": "1345d9b55763894d3cdedb5751895f2d3f89d1b4"
35
36
  }
@@ -1,6 +1,6 @@
1
1
  import { useQuery } from '@apollo/client'
2
- import { Button, makeStyles } from '@material-ui/core'
3
2
  import { FlagAvatar, UseStyles } from '@graphcommerce/next-ui'
3
+ import { Button, makeStyles } from '@material-ui/core'
4
4
  import PageLink from 'next/link'
5
5
  import React from 'react'
6
6
  import { StoreConfigDocument } from '../StoreConfig.gql'
@@ -1,3 +1,4 @@
1
+ import { FlagAvatar, UseStyles } from '@graphcommerce/next-ui'
1
2
  import {
2
3
  List,
3
4
  ListItem,
@@ -7,7 +8,6 @@ import {
7
8
  Collapse,
8
9
  ListItemAvatar,
9
10
  } from '@material-ui/core'
10
- import { FlagAvatar, UseStyles } from '@graphcommerce/next-ui'
11
11
  import PageLink from 'next/link'
12
12
  import React from 'react'
13
13
  import { localeToStore, storeToLocale } from '../localeToStore'
package/Money.gql.ts DELETED
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type MoneyFragment = { currency?: Types.Maybe<Types.CurrencyEnum>, value?: Types.Maybe<number> };
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const StoreConfigDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StoreConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"storeConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"store_code"}},{"kind":"Field","name":{"kind":"Name","value":"store_name"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"base_currency_code"}},{"kind":"Field","name":{"kind":"Name","value":"default_display_currency_code"}},{"kind":"Field","name":{"kind":"Name","value":"title_suffix"}},{"kind":"Field","name":{"kind":"Name","value":"title_prefix"}},{"kind":"Field","name":{"kind":"Name","value":"title_separator"}},{"kind":"Field","name":{"kind":"Name","value":"default_title"}},{"kind":"Field","name":{"kind":"Name","value":"cms_home_page"}},{"kind":"Field","name":{"kind":"Name","value":"catalog_default_sort_by"}},{"kind":"Field","name":{"kind":"Name","value":"category_url_suffix"}},{"kind":"Field","name":{"kind":"Name","value":"product_url_suffix"}},{"kind":"Field","name":{"kind":"Name","value":"secure_base_link_url"}},{"kind":"Field","name":{"kind":"Name","value":"root_category_uid"}},{"kind":"Field","name":{"kind":"Name","value":"weight_unit"}},{"kind":"Field","name":{"kind":"Name","value":"product_reviews_enabled"}},{"kind":"Field","name":{"kind":"Name","value":"allow_guests_to_write_product_reviews"}}]}}]}}]} as unknown as DocumentNode<StoreConfigQuery, StoreConfigQueryVariables>;
7
- export type StoreConfigQueryVariables = Types.Exact<{ [key: string]: never; }>;
8
-
9
-
10
- export type StoreConfigQuery = { storeConfig?: Types.Maybe<{ store_code?: Types.Maybe<string>, store_name?: Types.Maybe<string>, locale?: Types.Maybe<string>, base_currency_code?: Types.Maybe<string>, default_display_currency_code?: Types.Maybe<string>, title_suffix?: Types.Maybe<string>, title_prefix?: Types.Maybe<string>, title_separator?: Types.Maybe<string>, default_title?: Types.Maybe<string>, cms_home_page?: Types.Maybe<string>, catalog_default_sort_by?: Types.Maybe<string>, category_url_suffix?: Types.Maybe<string>, product_url_suffix?: Types.Maybe<string>, secure_base_link_url?: Types.Maybe<string>, root_category_uid?: Types.Maybe<string>, weight_unit?: Types.Maybe<string>, product_reviews_enabled?: Types.Maybe<string>, allow_guests_to_write_product_reviews?: Types.Maybe<string> }> };
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const EnvConfigDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"EnvConfig"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","alias":{"kind":"Name","value":"envConfig"},"name":{"kind":"Name","value":"availableStores"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"absolute_footer"}},{"kind":"Field","name":{"kind":"Name","value":"allow_guests_to_write_product_reviews"}},{"kind":"Field","name":{"kind":"Name","value":"allow_items"}},{"kind":"Field","name":{"kind":"Name","value":"allow_order"}},{"kind":"Field","name":{"kind":"Name","value":"autocomplete_on_storefront"}},{"kind":"Field","name":{"kind":"Name","value":"base_currency_code"}},{"kind":"Field","name":{"kind":"Name","value":"store_code"}},{"kind":"Field","name":{"kind":"Name","value":"store_name"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"default_display_currency_code"}},{"kind":"Field","name":{"kind":"Name","value":"title_suffix"}},{"kind":"Field","name":{"kind":"Name","value":"title_prefix"}},{"kind":"Field","name":{"kind":"Name","value":"title_separator"}},{"kind":"Field","name":{"kind":"Name","value":"default_title"}},{"kind":"Field","name":{"kind":"Name","value":"cms_home_page"}},{"kind":"Field","name":{"kind":"Name","value":"catalog_default_sort_by"}},{"kind":"Field","name":{"kind":"Name","value":"category_url_suffix"}},{"kind":"Field","name":{"kind":"Name","value":"product_url_suffix"}},{"kind":"Field","name":{"kind":"Name","value":"base_link_url"}},{"kind":"Field","name":{"kind":"Name","value":"root_category_uid"}},{"kind":"Field","name":{"kind":"Name","value":"weight_unit"}}]}}]}}]} as unknown as DocumentNode<EnvConfigQuery, EnvConfigQueryVariables>;
7
- export type EnvConfigQueryVariables = Types.Exact<{ [key: string]: never; }>;
8
-
9
-
10
- export type EnvConfigQuery = { envConfig?: Types.Maybe<Array<Types.Maybe<{ absolute_footer?: Types.Maybe<string>, allow_guests_to_write_product_reviews?: Types.Maybe<string>, allow_items?: Types.Maybe<string>, allow_order?: Types.Maybe<string>, autocomplete_on_storefront?: Types.Maybe<boolean>, base_currency_code?: Types.Maybe<string>, store_code?: Types.Maybe<string>, store_name?: Types.Maybe<string>, locale?: Types.Maybe<string>, default_display_currency_code?: Types.Maybe<string>, title_suffix?: Types.Maybe<string>, title_prefix?: Types.Maybe<string>, title_separator?: Types.Maybe<string>, default_title?: Types.Maybe<string>, cms_home_page?: Types.Maybe<string>, catalog_default_sort_by?: Types.Maybe<string>, category_url_suffix?: Types.Maybe<string>, product_url_suffix?: Types.Maybe<string>, base_link_url?: Types.Maybe<string>, root_category_uid?: Types.Maybe<string>, weight_unit?: Types.Maybe<string> }>>> };
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const CountryRegionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CountryRegions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"countries"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"full_name_locale"}},{"kind":"Field","name":{"kind":"Name","value":"two_letter_abbreviation"}},{"kind":"Field","name":{"kind":"Name","value":"three_letter_abbreviation"}},{"kind":"Field","name":{"kind":"Name","value":"available_regions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"code"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]} as unknown as DocumentNode<CountryRegionsQuery, CountryRegionsQueryVariables>;
7
- export type CountryRegionsQueryVariables = Types.Exact<{ [key: string]: never; }>;
8
-
9
-
10
- export type CountryRegionsQuery = { countries?: Types.Maybe<Array<Types.Maybe<{ full_name_locale?: Types.Maybe<string>, two_letter_abbreviation?: Types.Maybe<string>, three_letter_abbreviation?: Types.Maybe<string>, available_regions?: Types.Maybe<Array<Types.Maybe<{ code?: Types.Maybe<string>, id?: Types.Maybe<number>, name?: Types.Maybe<string> }>>> }>>> };
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type CountryLocaleFragment = { id?: Types.Maybe<string>, two_letter_abbreviation?: Types.Maybe<string>, full_name_locale?: Types.Maybe<string> };
@@ -1,4 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- export type StoreLocaleFragment = { code?: Types.Maybe<string>, store_name?: Types.Maybe<string>, locale?: Types.Maybe<string>, base_currency_code?: Types.Maybe<string>, store_group_name?: Types.Maybe<string>, store_group_code?: Types.Maybe<string> };
@@ -1,10 +0,0 @@
1
- /* eslint-disable */
2
- import * as Types from '@graphcommerce/graphql';
3
-
4
- import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
5
-
6
- export const StoreSwitcherListDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"StoreSwitcherList"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"availableStores"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"store_name"}},{"kind":"Field","name":{"kind":"Name","value":"store_code"}},{"kind":"Field","name":{"kind":"Name","value":"locale"}},{"kind":"Field","name":{"kind":"Name","value":"base_currency_code"}},{"kind":"Field","name":{"kind":"Name","value":"store_group_name"}},{"kind":"Field","name":{"kind":"Name","value":"store_group_code"}}]}}]}}]} as unknown as DocumentNode<StoreSwitcherListQuery, StoreSwitcherListQueryVariables>;
7
- export type StoreSwitcherListQueryVariables = Types.Exact<{ [key: string]: never; }>;
8
-
9
-
10
- export type StoreSwitcherListQuery = { availableStores?: Types.Maybe<Array<Types.Maybe<{ store_name?: Types.Maybe<string>, store_code?: Types.Maybe<string>, locale?: Types.Maybe<string>, base_currency_code?: Types.Maybe<string>, store_group_name?: Types.Maybe<string>, store_group_code?: Types.Maybe<string> }>>> };