@graphcommerce/magento-store 3.0.16 → 3.0.20
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/Money.gql.ts +4 -0
- package/StoreConfig.gql.ts +10 -0
- package/config-to-env/EnvConfig.gql.ts +10 -0
- package/package.json +4 -5
- package/queries/CountryRegions.gql.ts +10 -0
- package/switcher/CountryLocale.gql.ts +4 -0
- package/switcher/StoreLocale.gql.ts +4 -0
- package/switcher/StoreSwitcherList.gql.ts +10 -0
package/Money.gql.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
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?: { store_code?: string | null | undefined, store_name?: string | null | undefined, locale?: string | null | undefined, base_currency_code?: string | null | undefined, default_display_currency_code?: string | null | undefined, title_suffix?: string | null | undefined, title_prefix?: string | null | undefined, title_separator?: string | null | undefined, default_title?: string | null | undefined, cms_home_page?: string | null | undefined, catalog_default_sort_by?: string | null | undefined, category_url_suffix?: string | null | undefined, product_url_suffix?: string | null | undefined, secure_base_link_url?: string | null | undefined, root_category_uid?: string | null | undefined, weight_unit?: string | null | undefined, product_reviews_enabled?: string | null | undefined, allow_guests_to_write_product_reviews?: string | null | undefined } | null | undefined };
|
|
@@ -0,0 +1,10 @@
|
|
|
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?: Array<{ absolute_footer?: string | null | undefined, allow_guests_to_write_product_reviews?: string | null | undefined, allow_items?: string | null | undefined, allow_order?: string | null | undefined, autocomplete_on_storefront?: boolean | null | undefined, base_currency_code?: string | null | undefined, store_code?: string | null | undefined, store_name?: string | null | undefined, locale?: string | null | undefined, default_display_currency_code?: string | null | undefined, title_suffix?: string | null | undefined, title_prefix?: string | null | undefined, title_separator?: string | null | undefined, default_title?: string | null | undefined, cms_home_page?: string | null | undefined, catalog_default_sort_by?: string | null | undefined, category_url_suffix?: string | null | undefined, product_url_suffix?: string | null | undefined, base_link_url?: string | null | undefined, root_category_uid?: string | null | undefined, weight_unit?: string | null | undefined } | null | undefined> | null | undefined };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/magento-store",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.20",
|
|
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.4.16",
|
|
24
24
|
"@graphcommerce/graphql": "^2.103.5",
|
|
25
|
-
"@graphcommerce/image": "^2.104.
|
|
26
|
-
"@graphcommerce/next-ui": "^3.
|
|
25
|
+
"@graphcommerce/image": "^2.104.8",
|
|
26
|
+
"@graphcommerce/next-ui": "^3.3.0",
|
|
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,6 +31,5 @@
|
|
|
31
31
|
"react": "^17.0.2",
|
|
32
32
|
"react-dom": "^17.0.2",
|
|
33
33
|
"type-fest": "^2.3.4"
|
|
34
|
-
}
|
|
35
|
-
"gitHead": "b3dd4c996ac571874bb03d0a5c16b2c37f41abcb"
|
|
34
|
+
}
|
|
36
35
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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?: Array<{ full_name_locale?: string | null | undefined, two_letter_abbreviation?: string | null | undefined, three_letter_abbreviation?: string | null | undefined, available_regions?: Array<{ code?: string | null | undefined, id?: number | null | undefined, name?: string | null | undefined } | null | undefined> | null | undefined } | null | undefined> | null | undefined };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as Types from '@graphcommerce/graphql';
|
|
3
|
+
|
|
4
|
+
export type StoreLocaleFragment = { code?: string | null | undefined, store_name?: string | null | undefined, locale?: string | null | undefined, base_currency_code?: string | null | undefined, store_group_name?: string | null | undefined, store_group_code?: string | null | undefined };
|
|
@@ -0,0 +1,10 @@
|
|
|
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?: Array<{ store_name?: string | null | undefined, store_code?: string | null | undefined, locale?: string | null | undefined, base_currency_code?: string | null | undefined, store_group_name?: string | null | undefined, store_group_code?: string | null | undefined } | null | undefined> | null | undefined };
|