@soigo-dev/types-soigo-app 3.0.2 → 3.0.4

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,
@@ -93,6 +94,7 @@ export interface IVenue {
93
94
  readonly facebook?: string;
94
95
  readonly website?: string;
95
96
  readonly venueHours?: IVenueHour[];
97
+ readonly venueImages?: IVenueImage[];
96
98
  readonly createdAt: Date;
97
99
  readonly updatedAt: Date;
98
100
  }
@@ -101,6 +103,10 @@ export interface IVenueHour {
101
103
  readonly startHour: string;
102
104
  readonly endHour: string;
103
105
  }
106
+ export interface IVenueImage {
107
+ readonly id: number;
108
+ readonly imageUrl: string;
109
+ }
104
110
  type VenueFlags = {
105
111
  readonly offerings: Record<keyof typeof Offerings, boolean>;
106
112
  readonly amenities: Record<keyof typeof Amenities, boolean>;
@@ -115,9 +121,11 @@ export interface IGetVenueResponse extends IVenue {
115
121
  readonly flags: VenueFlags;
116
122
  readonly isOpen?: boolean;
117
123
  }
118
- export interface IGetNearbyVenuesQuery {
124
+ export interface IUserLocationQuery {
119
125
  readonly lat: number;
120
126
  readonly lng: number;
127
+ }
128
+ export interface IGetNearbyVenuesQuery extends IUserLocationQuery {
121
129
  readonly radius: number;
122
130
  readonly page: number;
123
131
  readonly limit: 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.2",
3
+ "version": "3.0.4",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",