Skip to content

Commit b1a4a83

Browse files
rebase and rerun commands
1 parent b70530f commit b1a4a83

File tree

8 files changed

+2510
-893
lines changed

8 files changed

+2510
-893
lines changed

packages/hydrogen-react/docs/generated/generated_docs_data.json

Lines changed: 70 additions & 62 deletions
Large diffs are not rendered by default.

packages/hydrogen-react/docs/generated/generated_docs_data_v2.json

Lines changed: 2383 additions & 780 deletions
Large diffs are not rendered by default.

packages/hydrogen-react/docs/generated/generated_static_pages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"type": "Generic",
3636
"anchorLink": "authentication",
3737
"title": "Authentication",
38-
"sectionContent": "To use Hydrogen React, you need to authenticate with and make requests to the [Storefront API](/docs/api/storefront). Hydrogen React includes an [API client](/docs/api/hydrogen-react/2026-01/utilities/createstorefrontclient) to securely handle API queries and mutations.\n\nYou can create and manage Storefront API access tokens by installing the [Headless sales channel](https://apps.shopify.com/headless) on your store.\n\nApps have access to [two kinds of tokens](/docs/api/usage/authentication#access-tokens-for-the-storefront-api): a public API token, which can be used in client-side code, and a private API token, which should only be used in server-side contexts and never exposed publicly.",
38+
"sectionContent": "To use Hydrogen React, you need to authenticate with and make requests to the [Storefront API](/docs/api/storefront). Hydrogen React includes an [API client](/docs/api/hydrogen-react/2026-04/utilities/createstorefrontclient) to securely handle API queries and mutations.\n\nYou can create and manage Storefront API access tokens by installing the [Headless sales channel](https://apps.shopify.com/headless) on your store.\n\nApps have access to [two kinds of tokens](/docs/api/usage/authentication#access-tokens-for-the-storefront-api): a public API token, which can be used in client-side code, and a private API token, which should only be used in server-side contexts and never exposed publicly.",
3939
"sectionCard": [
4040
{
4141
"subtitle": "Install",

packages/hydrogen-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
"@graphql-codegen/introspection": "^4.0.3",
132132
"@graphql-codegen/typescript": "^4.1.3",
133133
"@ladle/react": "^5.0.1",
134-
"@shopify/generate-docs": "1.1.0",
134+
"@shopify/generate-docs": "1.1.1",
135135
"@testing-library/jest-dom": "^6.6.3",
136136
"@testing-library/react": "^14.0.0",
137137
"@testing-library/user-event": "^14.6.1",

packages/hydrogen/docs/generated/generated_docs_data.json

Lines changed: 45 additions & 39 deletions
Large diffs are not rendered by default.

packages/hydrogen/docs/generated/generated_docs_data_v2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4365,7 +4365,7 @@
43654365
"src/pagination/Pagination.ts": {
43664366
"filePath": "src/pagination/Pagination.ts",
43674367
"name": "GetPaginationVariablesGeneratedType",
4368-
"description": "",
4368+
"description": "The `getPaginationVariables` function is used with the `<Pagination>` component to generate the variables needed to fetch paginated data from the Storefront API.",
43694369
"isPublicDocs": true,
43704370
"params": [
43714371
{
@@ -10199,7 +10199,7 @@
1019910199
"src/cart/optimistic/useOptimisticCart.tsx": {
1020010200
"filePath": "src/cart/optimistic/useOptimisticCart.tsx",
1020110201
"name": "UseOptimisticCartGeneratedType",
10202-
"description": "",
10202+
"description": "The `useOptimisticCart` hook takes an existing cart object, processes all pending cart actions, and locally mutates the cart with optimistic state. An optimistic cart makes cart actions immediately render in the browser while actions sync to the server.",
1020310203
"isPublicDocs": true,
1020410204
"params": [
1020510205
{

packages/hydrogen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"devDependencies": {
9797
"react-router": "7.12.0",
9898
"@react-router/dev": "7.12.0",
99-
"@shopify/generate-docs": "1.1.0",
99+
"@shopify/generate-docs": "1.1.1",
100100
"@shopify/hydrogen-codegen": "workspace:*",
101101
"@testing-library/jest-dom": "^6.6.3",
102102
"@types/node": "catalog:",

pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)