feat: get blog list

This commit is contained in:
Quangnhankie
2021-10-19 10:32:09 +07:00
88 changed files with 2019 additions and 356 deletions

View File

@@ -1,3 +1,4 @@
export interface ProductProps {
category?: string
name: string
@@ -57,8 +58,18 @@ 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>
keyResult?: string,
}
export type SelectedOptions = Record<string, string | null>