@graphcommerce/magento-store 3.0.1 → 3.0.2
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 +5 -4
- package/Money.gql.ts +0 -4
- package/StoreConfig.gql.ts +0 -10
- package/config-to-env/EnvConfig.gql.ts +0 -10
- package/queries/CountryRegions.gql.ts +0 -10
- package/switcher/CountryLocale.gql.ts +0 -4
- package/switcher/StoreLocale.gql.ts +0 -4
- package/switcher/StoreSwitcherList.gql.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/magento-store",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
6
6
|
"browserslist": [
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@apollo/client": "^3.3.21",
|
|
24
24
|
"@graphcommerce/graphql": "^2.103.1",
|
|
25
|
-
"@graphcommerce/image": "^2.104.
|
|
26
|
-
"@graphcommerce/next-ui": "^3.0.
|
|
25
|
+
"@graphcommerce/image": "^2.104.2",
|
|
26
|
+
"@graphcommerce/next-ui": "^3.0.2",
|
|
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",
|
|
@@ -31,5 +31,6 @@
|
|
|
31
31
|
"react": "^17.0.2",
|
|
32
32
|
"react-dom": "^17.0.2",
|
|
33
33
|
"type-fest": "^2.1.0"
|
|
34
|
-
}
|
|
34
|
+
},
|
|
35
|
+
"gitHead": "05d36d5da1bee914defba6d0ddb50d7fe1932866"
|
|
35
36
|
}
|
package/Money.gql.ts
DELETED
package/StoreConfig.gql.ts
DELETED
|
@@ -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 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> }>>> };
|