@soigo-dev/types-soigo-app 3.0.1 → 3.0.3

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 CHANGED
@@ -26,11 +26,12 @@ export declare enum Atmospheres {
26
26
  }
27
27
  export declare enum TypeSongs {
28
28
  Undefined = 0,
29
- Thai = 1,
30
- Latino = 2,
31
- HipHop = 3,
32
- Jazz = 4,
33
- Electronic = 5
29
+ LiveBand = 1,
30
+ Thai = 2,
31
+ Latino = 3,
32
+ HipHop = 4,
33
+ Jazz = 5,
34
+ Electronic = 6
34
35
  }
35
36
  export declare enum ParkingLots {
36
37
  Undefined = 0,
@@ -92,9 +93,20 @@ export interface IVenue {
92
93
  readonly line?: string;
93
94
  readonly facebook?: string;
94
95
  readonly website?: string;
96
+ readonly venueHours?: IVenueHour[];
97
+ readonly venueImages?: IVenueImage[];
95
98
  readonly createdAt: Date;
96
99
  readonly updatedAt: Date;
97
100
  }
101
+ export interface IVenueHour {
102
+ readonly dayOfWeek: DaysOfWeek;
103
+ readonly startHour: string;
104
+ readonly endHour: string;
105
+ }
106
+ export interface IVenueImage {
107
+ readonly id: number;
108
+ readonly imageUrl: string;
109
+ }
98
110
  type VenueFlags = {
99
111
  readonly offerings: Record<keyof typeof Offerings, boolean>;
100
112
  readonly amenities: Record<keyof typeof Amenities, boolean>;
@@ -107,6 +119,7 @@ type VenueFlags = {
107
119
  };
108
120
  export interface IGetVenueResponse extends IVenue {
109
121
  readonly flags: VenueFlags;
122
+ readonly isOpen?: boolean;
110
123
  }
111
124
  export interface IGetNearbyVenuesQuery {
112
125
  readonly lat: number;
package/lib/venue.js CHANGED
@@ -34,11 +34,12 @@ var Atmospheres;
34
34
  var TypeSongs;
35
35
  (function (TypeSongs) {
36
36
  TypeSongs[TypeSongs["Undefined"] = 0] = "Undefined";
37
- TypeSongs[TypeSongs["Thai"] = 1] = "Thai";
38
- TypeSongs[TypeSongs["Latino"] = 2] = "Latino";
39
- TypeSongs[TypeSongs["HipHop"] = 3] = "HipHop";
40
- TypeSongs[TypeSongs["Jazz"] = 4] = "Jazz";
41
- TypeSongs[TypeSongs["Electronic"] = 5] = "Electronic";
37
+ TypeSongs[TypeSongs["LiveBand"] = 1] = "LiveBand";
38
+ TypeSongs[TypeSongs["Thai"] = 2] = "Thai";
39
+ TypeSongs[TypeSongs["Latino"] = 3] = "Latino";
40
+ TypeSongs[TypeSongs["HipHop"] = 4] = "HipHop";
41
+ TypeSongs[TypeSongs["Jazz"] = 5] = "Jazz";
42
+ TypeSongs[TypeSongs["Electronic"] = 6] = "Electronic";
42
43
  })(TypeSongs || (exports.TypeSongs = TypeSongs = {}));
43
44
  var ParkingLots;
44
45
  (function (ParkingLots) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soigo-dev/types-soigo-app",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",