Update types
This commit is contained in:
Vendored
+10
-1
@@ -43,6 +43,15 @@ declare global {
|
|||||||
meta_rating: number | null;
|
meta_rating: number | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
type UserComment = {
|
||||||
|
"id": number,
|
||||||
|
"content": string,
|
||||||
|
"timestamp": string,
|
||||||
|
"show": boolean,
|
||||||
|
"product": number,
|
||||||
|
"user": number
|
||||||
|
}
|
||||||
|
|
||||||
type Category = {
|
type Category = {
|
||||||
id: number;
|
id: number;
|
||||||
name: string;
|
name: string;
|
||||||
@@ -57,7 +66,7 @@ declare global {
|
|||||||
"name": string,
|
"name": string,
|
||||||
"slug": string,
|
"slug": string,
|
||||||
"icon": string,
|
"icon": string,
|
||||||
"image" : string,
|
"image": string,
|
||||||
"product_count": string,
|
"product_count": string,
|
||||||
"parent": string,
|
"parent": string,
|
||||||
"show": boolean
|
"show": boolean
|
||||||
|
|||||||
Reference in New Issue
Block a user