@graphcommerce/magento-category 3.5.9 → 3.5.14
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/components/CategoryBreadcrumb/CategoryBreadcrumb.gql.ts +4 -0
- package/components/CategoryChildren/CategoryChildren.gql.ts +4 -0
- package/components/CategoryDescription/CategoryDescription.gql.ts +4 -0
- package/components/CategoryHeroNav/CategoryHeroNav.gql.ts +4 -0
- package/components/CategoryMeta/CategoryMeta.gql.ts +4 -0
- package/package.json +12 -12
- package/queries/CategoryPage.gql.ts +12 -0
- package/queries/CategoryQueryFragment.gql.ts +4 -0
- package/queries/GetCategoryStaticPaths.gql.ts +12 -0
- package/queries/MenuQueryFragment.gql.ts +4 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as Types from '@graphcommerce/graphql';
|
|
3
|
+
|
|
4
|
+
export type CategoryBreadcrumbFragment = { uid: string, breadcrumbs?: Array<{ category_uid: string, category_name?: string | null | undefined, category_url_path?: string | null | undefined } | null | undefined> | null | undefined };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as Types from '@graphcommerce/graphql';
|
|
3
|
+
|
|
4
|
+
export type CategoryChildrenFragment = { uid: string, children?: Array<{ uid: string, name?: string | null | undefined, level?: number | null | undefined, url_path?: string | null | undefined } | null | undefined> | null | undefined };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import * as Types from '@graphcommerce/graphql';
|
|
3
|
+
|
|
4
|
+
export type CategoryHeroNavFragment = { uid: string, level?: number | null | undefined, is_anchor?: number | null | undefined, name?: string | null | undefined, children?: Array<{ uid: string, url_path?: string | null | undefined, name?: string | null | undefined } | null | undefined> | null | undefined };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/magento-category",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.14",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
6
6
|
"browserslist": [
|
|
@@ -13,20 +13,20 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@graphcommerce/browserslist-config-pwa": "^3.0.
|
|
17
|
-
"@graphcommerce/eslint-config-pwa": "^3.1.
|
|
18
|
-
"@graphcommerce/prettier-config-pwa": "^3.0.
|
|
19
|
-
"@graphcommerce/typescript-config-pwa": "^3.1.
|
|
16
|
+
"@graphcommerce/browserslist-config-pwa": "^3.0.3",
|
|
17
|
+
"@graphcommerce/eslint-config-pwa": "^3.1.9",
|
|
18
|
+
"@graphcommerce/prettier-config-pwa": "^3.0.5",
|
|
19
|
+
"@graphcommerce/typescript-config-pwa": "^3.1.2",
|
|
20
20
|
"@playwright/test": "^1.17.1"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@apollo/client": "^3.5.6",
|
|
24
|
-
"@graphcommerce/framer-scroller": "^1.1.
|
|
25
|
-
"@graphcommerce/graphql": "^2.105.
|
|
26
|
-
"@graphcommerce/image": "^2.105.
|
|
27
|
-
"@graphcommerce/magento-product": "^3.7.
|
|
28
|
-
"@graphcommerce/magento-store": "^3.3.
|
|
29
|
-
"@graphcommerce/next-ui": "^3.
|
|
24
|
+
"@graphcommerce/framer-scroller": "^1.1.12",
|
|
25
|
+
"@graphcommerce/graphql": "^2.105.10",
|
|
26
|
+
"@graphcommerce/image": "^2.105.9",
|
|
27
|
+
"@graphcommerce/magento-product": "^3.7.14",
|
|
28
|
+
"@graphcommerce/magento-store": "^3.3.19",
|
|
29
|
+
"@graphcommerce/next-ui": "^3.21.2",
|
|
30
30
|
"@lingui/macro": "^3.13.0",
|
|
31
31
|
"@material-ui/core": "^4.12.3",
|
|
32
32
|
"next": "^12.0.7",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"react-dom": "^17.0.2",
|
|
35
35
|
"type-fest": "^2.8.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "06b4426d199de9ec2a9d2ac86d42ab047e59e7e7"
|
|
38
38
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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 CategoryPageDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"CategoryPage"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"url"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"categories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"url_path"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"url"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"display_mode"}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"url_path"}}]}},{"kind":"Field","name":{"kind":"Name","value":"meta_title"}},{"kind":"Field","name":{"kind":"Name","value":"meta_description"}},{"kind":"Field","name":{"kind":"Name","value":"level"}},{"kind":"Field","name":{"kind":"Name","value":"is_anchor"}},{"kind":"InlineFragment","typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"CategoryInterface"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"breadcrumbs"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"category_uid"}},{"kind":"Field","name":{"kind":"Name","value":"category_name"}},{"kind":"Field","name":{"kind":"Name","value":"category_url_path"}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<CategoryPageQuery, CategoryPageQueryVariables>;
|
|
7
|
+
export type CategoryPageQueryVariables = Types.Exact<{
|
|
8
|
+
url: Types.Scalars['String'];
|
|
9
|
+
}>;
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type CategoryPageQuery = { categories?: { items?: Array<{ uid: string, description?: string | null | undefined, name?: string | null | undefined, display_mode?: string | null | undefined, meta_title?: string | null | undefined, meta_description?: string | null | undefined, level?: number | null | undefined, is_anchor?: number | null | undefined, breadcrumbs?: Array<{ category_uid: string, category_name?: string | null | undefined, category_url_path?: string | null | undefined } | null | undefined> | null | undefined, children?: Array<{ uid: string, name?: string | null | undefined, level?: number | null | undefined, url_path?: string | null | undefined } | 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 CategoryQueryFragment = { categories?: { items?: Array<{ uid: string, description?: string | null | undefined, name?: string | null | undefined, display_mode?: string | null | undefined, meta_title?: string | null | undefined, meta_description?: string | null | undefined, level?: number | null | undefined, is_anchor?: number | null | undefined, breadcrumbs?: Array<{ category_uid: string, category_name?: string | null | undefined, category_url_path?: string | null | undefined } | null | undefined> | null | undefined, children?: Array<{ uid: string, name?: string | null | undefined, level?: number | null | undefined, url_path?: string | null | undefined } | null | undefined> | null | undefined } | null | undefined> | null | undefined } | null | undefined };
|
|
@@ -0,0 +1,12 @@
|
|
|
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 GetCategoryStaticPathsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetCategoryStaticPaths"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"rootCategory"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"categories"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filters"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"parent_category_uid"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"eq"},"value":{"kind":"Variable","name":{"kind":"Name","value":"rootCategory"}}}]}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"url_path"}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"url_path"}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"url_path"}},{"kind":"Field","name":{"kind":"Name","value":"children"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"uid"}},{"kind":"Field","name":{"kind":"Name","value":"url_path"}}]}}]}}]}}]}}]}}]}}]} as unknown as DocumentNode<GetCategoryStaticPathsQuery, GetCategoryStaticPathsQueryVariables>;
|
|
7
|
+
export type GetCategoryStaticPathsQueryVariables = Types.Exact<{
|
|
8
|
+
rootCategory: Types.Scalars['String'];
|
|
9
|
+
}>;
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type GetCategoryStaticPathsQuery = { categories?: { items?: Array<{ uid: string, url_path?: string | null | undefined, children?: Array<{ uid: string, url_path?: string | null | undefined, children?: Array<{ uid: string, url_path?: string | null | undefined, children?: Array<{ uid: string, url_path?: string | null | undefined } | null | undefined> | null | undefined } | null | undefined> | null | undefined } | 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 MenuQueryFragment = { menu?: { items?: Array<{ uid: string, name?: string | null | undefined, url_path?: string | null | undefined, include_in_menu?: number | null | undefined } | null | undefined> | null | undefined } | null | undefined };
|