Merge branch 'release-stable' of github.com:KieIO/grocery-vercel-commerce into feature/m2-add-product-to-cart

This commit is contained in:
DatNguyen
2021-10-08 17:19:14 +07:00
85 changed files with 1710 additions and 710 deletions

View File

@@ -1,4 +1,3 @@
import { SortOrder } from "@framework/schema";
export interface ProductProps {
category?: string
@@ -36,18 +35,23 @@ export interface BlogProps {
export interface CheckOutForm {
name?: string
email?:string
email?: string
address?: string
city?:string
state?:string
code?:number
phone?:number
method?:string
shipping_fee?:number
city?: string
state?: string
code?: number
phone?: number
method?: string
shipping_fee?: number
}
export type MouseAndTouchEvent = MouseEvent | TouchEvent
export enum SortOrder {
Asc = 'ASC',
Desc = 'DESC',
}
export type filterContextType = {
visible: boolean;
open: () => void;
@@ -61,4 +65,9 @@ export interface FacetMap extends StringMap{
}
export interface FacetConstant{
[key: string]: FacetMap;
}
}
export type PromiseWithKey = {
key: string
promise: PromiseLike<any>
keyResult?: string,
}