@soigo-dev/types-soigo-app 3.0.1 → 3.0.2
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/lib/venue.d.ts +7 -0
- package/package.json +1 -1
package/lib/venue.d.ts
CHANGED
|
@@ -92,9 +92,15 @@ export interface IVenue {
|
|
|
92
92
|
readonly line?: string;
|
|
93
93
|
readonly facebook?: string;
|
|
94
94
|
readonly website?: string;
|
|
95
|
+
readonly venueHours?: IVenueHour[];
|
|
95
96
|
readonly createdAt: Date;
|
|
96
97
|
readonly updatedAt: Date;
|
|
97
98
|
}
|
|
99
|
+
export interface IVenueHour {
|
|
100
|
+
readonly dayOfWeek: DaysOfWeek;
|
|
101
|
+
readonly startHour: string;
|
|
102
|
+
readonly endHour: string;
|
|
103
|
+
}
|
|
98
104
|
type VenueFlags = {
|
|
99
105
|
readonly offerings: Record<keyof typeof Offerings, boolean>;
|
|
100
106
|
readonly amenities: Record<keyof typeof Amenities, boolean>;
|
|
@@ -107,6 +113,7 @@ type VenueFlags = {
|
|
|
107
113
|
};
|
|
108
114
|
export interface IGetVenueResponse extends IVenue {
|
|
109
115
|
readonly flags: VenueFlags;
|
|
116
|
+
readonly isOpen?: boolean;
|
|
110
117
|
}
|
|
111
118
|
export interface IGetNearbyVenuesQuery {
|
|
112
119
|
readonly lat: number;
|