@chopkola/common 1.0.182 → 1.0.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/types/vendor.d.ts +8 -1
- package/package.json +1 -1
package/build/types/vendor.d.ts
CHANGED
|
@@ -6,6 +6,12 @@ export type CuisineType = "African" | "Asian" | "Continental" | "Mediterranean"
|
|
|
6
6
|
export type AmbienceType = "Casual" | "Fine Dining" | "Family Friendly" | "Romantic" | "Outdoor" | "Rooftop";
|
|
7
7
|
export type StoreType = "Supermarket" | "Organic Store" | "Wholesale" | "Convenience Store" | "Mini Mart";
|
|
8
8
|
export type GroceryCategory = "Fresh Produce" | "Frozen Foods" | "Household Items" | "Beverages" | "Snacks" | "Meat & Poultry" | "Dairy";
|
|
9
|
+
type OperatingHours = {
|
|
10
|
+
day: "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
|
|
11
|
+
open: string;
|
|
12
|
+
close: string;
|
|
13
|
+
is_closed: boolean;
|
|
14
|
+
};
|
|
9
15
|
export interface Vendor {
|
|
10
16
|
id: UUID;
|
|
11
17
|
owner_id: UUID;
|
|
@@ -21,7 +27,7 @@ export interface Vendor {
|
|
|
21
27
|
location?: string;
|
|
22
28
|
logo_url: string | null;
|
|
23
29
|
banner_url: string | null;
|
|
24
|
-
operating_hours:
|
|
30
|
+
operating_hours: OperatingHours[];
|
|
25
31
|
is_accepting_orders: boolean;
|
|
26
32
|
avg_preparation_time_minutes: number | null;
|
|
27
33
|
rating: number;
|
|
@@ -115,3 +121,4 @@ export type WebApplicationRestaurantsResourceData = {
|
|
|
115
121
|
cuisines: CuisineType[];
|
|
116
122
|
ambience: AmbienceType[];
|
|
117
123
|
};
|
|
124
|
+
export {};
|