🔀 merge: branch 'release-stable' of https://github.com/KieIO/grocery-vercel-commerce into checkout

:%s
This commit is contained in:
lytrankieio123
2021-10-18 16:23:22 +07:00
38 changed files with 768 additions and 146 deletions

View File

@@ -1,3 +1,4 @@
export interface ProductProps {
category?: string
name: string
@@ -57,6 +58,14 @@ export type filterContextType = {
close: () => void;
};
export interface StringMap { [key: string]: string; }
export interface FacetMap extends StringMap{
PARENT_NAME: string
}
export interface FacetConstant{
[key: string]: FacetMap;
}
export type PromiseWithKey = {
key: string
promise: PromiseLike<any>
@@ -77,3 +86,4 @@ export type OrderState = | 'Created'
| 'ArrangingAdditionalPayment'
| 'Cancelled'
export type SelectedOptions = Record<string, string | null>