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