-
Notifications
You must be signed in to change notification settings - Fork 81
feat(core): add RecommendationShelf section with personalization tracking #3403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from 15 commits
6c426a8
5f3999b
1f92187
961112a
c0495e5
1108aa3
4caead7
70e3b83
ec92aef
e369181
fab2acc
91e14d0
402816e
4658ec0
814da62
4c934e8
f3ef796
1ea6afa
3a52956
7b4e2d2
6ea9e5f
060d0a0
3214947
acb4bf4
daa57c5
9de413f
a43bf23
d89732b
1852ee1
0e36d26
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -470,6 +470,15 @@ type Query { | |
| Returns the items in an orderForm by its ID. | ||
| """ | ||
| orderFormItems(orderFormId: String!): [StoreOrderFormCartItem!]! @auth | ||
| """ | ||
| Returns personalized product recommendations for a given campaign. | ||
| """ | ||
| recommendations( | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where is the implementation for this recommendations query? |
||
| campaignVrn: String! | ||
| userId: String | ||
| products: [String!] | ||
| ): RecommendationResponse! | ||
| @cacheControl(scope: "private", sMaxAge: 120, staleWhileRevalidate: 3600) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A recomendação é feita pra cada usuário (userId)? Acho que, nesse caso, faz sentido ser private: ficar no browser do usuário e não "vazar" para cdn ou outra camada compartilhada. Caso contrário, seria melhor public. |
||
| } | ||
|
|
||
| type ValidateUserData { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.