Standardize wishlist returns
Open
- Dominant language
- TypeScript
- Stars
- 28
- Forks
- 30
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 4
Description
## Issue Type
Please select the type of issue you are reporting:
- Feature Request
- Discussion
## Description
Currently, the wishlist loaders return different types for each integration.
**VTEX**
````
const loader = async (
props: Props,
req: Request,
ctx: AppContext,
): Promise => {
````
**WAKE**
````
const action = async (
_props: unknown,
req: Request,
ctx: AppContext,
): Promise => {
````
## Expected Behavior
We expect the same type of return, so we can be able to reuse this result in front end components.
## Actual Behavior
This creates the problem of not being able to build canonical components on the front end.
Contributor guide
Assessment
This issue has not been assessed yet.