@graphcommerce/hygraph-dynamic-rows 9.0.0-canary.58 → 9.0.0-canary.60
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @graphcommerce/hygraph-dynamic-rows
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.60
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2331](https://github.com/graphcommerce-org/graphcommerce/pull/2331) [`702bfc9`](https://github.com/graphcommerce-org/graphcommerce/commit/702bfc93566c9745546988e57988431d5d4d8cb0) - Moved plugins to new format ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
9
|
+
## 9.0.0-canary.59
|
|
10
|
+
|
|
3
11
|
## 9.0.0-canary.58
|
|
4
12
|
|
|
5
13
|
## 9.0.0-canary.57
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/hygraph-dynamic-rows",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.0-canary.
|
|
5
|
+
"version": "9.0.0-canary.60",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
|
16
|
-
"@graphcommerce/graphcms-ui": "^9.0.0-canary.
|
|
17
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
|
18
|
-
"@graphcommerce/image": "^9.0.0-canary.
|
|
19
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
|
20
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
21
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.60",
|
|
16
|
+
"@graphcommerce/graphcms-ui": "^9.0.0-canary.60",
|
|
17
|
+
"@graphcommerce/graphql": "^9.0.0-canary.60",
|
|
18
|
+
"@graphcommerce/image": "^9.0.0-canary.60",
|
|
19
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.60",
|
|
20
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.60",
|
|
21
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.60",
|
|
22
22
|
"@mui/material": "^5.10.16",
|
|
23
23
|
"next": "*",
|
|
24
24
|
"react": "^18.2.0",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import type { hygraphPageContent } from '@graphcommerce/graphcms-ui'
|
|
2
|
-
import type {
|
|
1
|
+
import type { hygraphPageContent as hygraphPageContentType } from '@graphcommerce/graphcms-ui'
|
|
2
|
+
import type { FunctionPlugin, PluginConfig } from '@graphcommerce/next-config'
|
|
3
3
|
import { hygraphDynamicRows } from '../lib/hygraphDynamicRows'
|
|
4
4
|
|
|
5
|
-
export const
|
|
6
|
-
|
|
5
|
+
export const config: PluginConfig = {
|
|
6
|
+
type: 'function',
|
|
7
|
+
module: '@graphcommerce/graphcms-ui',
|
|
8
|
+
}
|
|
7
9
|
|
|
8
|
-
const
|
|
10
|
+
export const hygraphPageContent: FunctionPlugin<typeof hygraphPageContentType> = (
|
|
9
11
|
prev,
|
|
10
12
|
client,
|
|
11
13
|
url,
|
|
@@ -15,5 +17,3 @@ const hygraphDynamicRowsPageContent: MethodPlugin<typeof hygraphPageContent> = (
|
|
|
15
17
|
const pageQuery = prev(client, url, additionalProperties, cached)
|
|
16
18
|
return hygraphDynamicRows(client, pageQuery, url, cached, additionalProperties)
|
|
17
19
|
}
|
|
18
|
-
|
|
19
|
-
export const plugin = hygraphDynamicRowsPageContent
|