@graphcommerce/algolia-insights 9.0.0-canary.98 → 9.0.0
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,53 +1,35 @@
|
|
|
1
1
|
# @graphcommerce/algolia-personalization
|
|
2
2
|
|
|
3
|
-
## 9.0.0
|
|
3
|
+
## 9.0.0
|
|
4
4
|
|
|
5
|
-
## 9.0.0-canary.
|
|
5
|
+
## 9.0.0-canary.118
|
|
6
6
|
|
|
7
|
-
## 9.0.0-canary.
|
|
7
|
+
## 9.0.0-canary.117
|
|
8
8
|
|
|
9
|
-
## 9.0.0-canary.
|
|
9
|
+
## 9.0.0-canary.116
|
|
10
10
|
|
|
11
|
-
## 9.0.0-canary.
|
|
11
|
+
## 9.0.0-canary.115
|
|
12
12
|
|
|
13
|
-
## 9.0.0-canary.
|
|
13
|
+
## 9.0.0-canary.114
|
|
14
14
|
|
|
15
|
-
## 9.0.0-canary.
|
|
15
|
+
## 9.0.0-canary.113
|
|
16
16
|
|
|
17
|
-
## 9.0.0-canary.
|
|
17
|
+
## 9.0.0-canary.112
|
|
18
18
|
|
|
19
|
-
## 9.0.0-canary.
|
|
19
|
+
## 9.0.0-canary.111
|
|
20
20
|
|
|
21
|
-
## 9.0.0-canary.
|
|
21
|
+
## 9.0.0-canary.110
|
|
22
22
|
|
|
23
|
-
## 9.0.0-canary.
|
|
23
|
+
## 9.0.0-canary.109
|
|
24
24
|
|
|
25
|
-
## 9.0.0-canary.
|
|
25
|
+
## 9.0.0-canary.108
|
|
26
26
|
|
|
27
|
-
## 9.0.0-canary.
|
|
27
|
+
## 9.0.0-canary.107
|
|
28
28
|
|
|
29
|
-
## 9.0.0-canary.
|
|
29
|
+
## 9.0.0-canary.106
|
|
30
30
|
|
|
31
|
-
## 9.0.0-canary.
|
|
31
|
+
## 9.0.0-canary.105
|
|
32
32
|
|
|
33
|
-
## 9.0.0-canary.
|
|
33
|
+
## 9.0.0-canary.104
|
|
34
34
|
|
|
35
|
-
## 9.0.0-canary.
|
|
36
|
-
|
|
37
|
-
## 9.0.0-canary.81
|
|
38
|
-
|
|
39
|
-
## 9.0.0-canary.80
|
|
40
|
-
|
|
41
|
-
## 9.0.0-canary.79
|
|
42
|
-
|
|
43
|
-
## 9.0.0-canary.78
|
|
44
|
-
|
|
45
|
-
## 9.0.0-canary.77
|
|
46
|
-
|
|
47
|
-
## 9.0.0-canary.76
|
|
48
|
-
|
|
49
|
-
## 9.0.0-canary.75
|
|
50
|
-
|
|
51
|
-
## 9.0.0-canary.74
|
|
52
|
-
|
|
53
|
-
## 9.0.0-canary.73
|
|
35
|
+
## 9.0.0-canary.103
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/* eslint-disable arrow-body-style */
|
|
2
2
|
import { useAlgoliaIndexName, useAlgoliaQuery } from '@graphcommerce/algolia-products'
|
|
3
|
-
import { GoogleEventTypes, sendEvent } from '@graphcommerce/google-datalayer'
|
|
3
|
+
import type { GoogleEventTypes, sendEvent } from '@graphcommerce/google-datalayer'
|
|
4
4
|
import { useApolloClient } from '@graphcommerce/graphql'
|
|
5
5
|
import type { AlgoliaEventsItems_Input } from '@graphcommerce/graphql-mesh'
|
|
6
6
|
import { CustomerDocument } from '@graphcommerce/magento-customer/hooks/Customer.gql'
|
|
7
|
-
import {
|
|
7
|
+
import type { ProductFilterParams } from '@graphcommerce/magento-product'
|
|
8
|
+
import { isFilterTypeEqual } from '@graphcommerce/magento-product'
|
|
8
9
|
import { cookie } from '@graphcommerce/next-ui'
|
|
9
10
|
import { useDebounce } from '@graphcommerce/react-hook-form'
|
|
10
11
|
import { useEventCallback } from '@mui/material'
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/algolia-insights",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.0
|
|
5
|
+
"version": "9.0.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
"generate": "tsx scripts/generate-insights-spec.mts"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@graphcommerce/algolia-products": "^9.0.0
|
|
19
|
-
"@graphcommerce/google-datalayer": "^9.0.0
|
|
20
|
-
"@graphcommerce/graphql": "^9.0.0
|
|
21
|
-
"@graphcommerce/graphql-mesh": "^9.0.0
|
|
22
|
-
"@graphcommerce/magento-customer": "^9.0.0
|
|
23
|
-
"@graphcommerce/magento-product": "^9.0.0
|
|
24
|
-
"@graphcommerce/next-config": "^9.0.0
|
|
25
|
-
"@graphcommerce/next-ui": "^9.0.0
|
|
26
|
-
"@graphcommerce/react-hook-form": "^9.0.0
|
|
18
|
+
"@graphcommerce/algolia-products": "^9.0.0",
|
|
19
|
+
"@graphcommerce/google-datalayer": "^9.0.0",
|
|
20
|
+
"@graphcommerce/graphql": "^9.0.0",
|
|
21
|
+
"@graphcommerce/graphql-mesh": "^9.0.0",
|
|
22
|
+
"@graphcommerce/magento-customer": "^9.0.0",
|
|
23
|
+
"@graphcommerce/magento-product": "^9.0.0",
|
|
24
|
+
"@graphcommerce/next-config": "^9.0.0",
|
|
25
|
+
"@graphcommerce/next-ui": "^9.0.0",
|
|
26
|
+
"@graphcommerce/react-hook-form": "^9.0.0",
|
|
27
27
|
"@mui/material": "*",
|
|
28
28
|
"react": "^18.2.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"graphql": "^16.
|
|
32
|
-
"tsx": "^4.
|
|
31
|
+
"graphql": "^16.10.0",
|
|
32
|
+
"tsx": "^4.19.2"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { getSearchResultsInput as getSearchResultsInputType } from '@graphcommerce/algolia-products'
|
|
2
|
-
import { FunctionPlugin, PluginConfig } from '@graphcommerce/next-config'
|
|
2
|
+
import type { FunctionPlugin, PluginConfig } from '@graphcommerce/next-config'
|
|
3
3
|
|
|
4
4
|
export const config: PluginConfig = {
|
|
5
5
|
type: 'function',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { getSearchSuggestionsInput as getSearchSuggestionsInputType } from '@graphcommerce/algolia-products'
|
|
2
|
-
import { FunctionPlugin, PluginConfig } from '@graphcommerce/next-config'
|
|
2
|
+
import type { FunctionPlugin, PluginConfig } from '@graphcommerce/next-config'
|
|
3
3
|
|
|
4
4
|
export const config: PluginConfig = {
|
|
5
5
|
type: 'function',
|
|
@@ -20,7 +20,7 @@ export const meshConfig: FunctionPlugin<typeof meshConfigBase> = (
|
|
|
20
20
|
name: 'algoliaInsights',
|
|
21
21
|
handler: {
|
|
22
22
|
openapi: {
|
|
23
|
-
endpoint:
|
|
23
|
+
endpoint: 'https://insights.algolia.io/',
|
|
24
24
|
source: '@graphcommerce/algolia-insights/algolia-insights-spec.yaml',
|
|
25
25
|
ignoreErrorResponses: true,
|
|
26
26
|
schemaHeaders: {
|
package/tsconfig.json
CHANGED