-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Boilerplate to work with unified composables
- Loading branch information
1 parent
0e8b7b4
commit 9c34ef9
Showing
13 changed files
with
70 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,43 @@ | ||
import { UseCategory, UseProduct } from '@vue-storefront/core'; | ||
export { UseCategory, UseProduct } from '@vue-storefront/core'; | ||
|
||
type Product = {} | ||
type Category = {} | ||
type User = { | ||
export type ProductsResponse = { | ||
data: Product[]; | ||
total: number; | ||
}; | ||
|
||
export type OrdersResponse = { | ||
data: any[]; | ||
total: number; | ||
}; | ||
|
||
export type OrderSearchParams = Record<string, any>; | ||
|
||
export type Category = {}; | ||
|
||
export type User = { | ||
firstName?: string; | ||
lastName?: string; | ||
email?: string; | ||
} | ||
type UserAddress = {} | ||
type Cart = {} | ||
type CartItem = {} | ||
type Coupon = {} | ||
type Order = {} | ||
type OrderItem = {} | ||
type OrderSearchParams = {} | ||
type Review = {}; | ||
type ShippingMethod = {} | ||
type WishlistProduct = {} | ||
type Wishlist = {} | ||
|
||
export { | ||
Cart, | ||
CartItem, | ||
Category, | ||
Coupon, | ||
Order, | ||
OrderItem, | ||
OrderSearchParams, | ||
Product, | ||
Review, | ||
ShippingMethod, | ||
User, | ||
UserAddress, | ||
Wishlist, | ||
WishlistProduct, | ||
UseCategory, | ||
UseProduct | ||
}; | ||
|
||
export type UserAddress = {}; | ||
|
||
export type Cart = {}; | ||
|
||
export type CartItem = {}; | ||
|
||
export type Coupon = {}; | ||
|
||
export type Order = {}; | ||
|
||
export type OrderItem = {}; | ||
|
||
export type Product = {}; | ||
|
||
export type Review = {}; | ||
|
||
export type ShippingMethod = {}; | ||
|
||
export type WishlistProduct = {}; | ||
|
||
export type Wishlist = {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
packages/commercetools/composables/src/useUser/factoryParams.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters