Fix delivery gateway type
This commit is contained in:
@@ -15,7 +15,7 @@ definePageMeta({
|
|||||||
middleware: "check-is-logged-in",
|
middleware: "check-is-logged-in",
|
||||||
|
|
||||||
prevPage: { name: "cart", label: "سبد خرید" },
|
prevPage: { name: "cart", label: "سبد خرید" },
|
||||||
nextPage: { name: "cart-checkout", label: "تسویه حساب", query: "ZIBAL" },
|
nextPage: { name: "cart-checkout", label: "تسویه حساب", query: "ZARINPAL" },
|
||||||
});
|
});
|
||||||
|
|
||||||
// types
|
// types
|
||||||
|
|||||||
Vendored
+4
-3
@@ -101,7 +101,7 @@ declare global {
|
|||||||
name: string;
|
name: string;
|
||||||
description: string;
|
description: string;
|
||||||
rating: number;
|
rating: number;
|
||||||
user_rating : number | null;
|
user_rating: number | null;
|
||||||
slug: string;
|
slug: string;
|
||||||
meta_description: string | null;
|
meta_description: string | null;
|
||||||
meta_keywords: string | null;
|
meta_keywords: string | null;
|
||||||
@@ -156,8 +156,9 @@ declare global {
|
|||||||
timestamp: string;
|
timestamp: string;
|
||||||
show: boolean;
|
show: boolean;
|
||||||
product: number;
|
product: number;
|
||||||
user: string;
|
user: { id: number; first_name: string; last_name: string; profile_photo: string | null; phone: string };
|
||||||
title : string;
|
title: string;
|
||||||
|
user_rating: number | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
type Category = {
|
type Category = {
|
||||||
|
|||||||
Reference in New Issue
Block a user