@phoenixlan/phoenix.js 2.5.0 → 2.6.0

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.
@@ -1,16 +1,21 @@
1
1
  import { Row, AvailabilityRow } from '../row';
2
2
  interface SeatmapBase {
3
3
  uuid: string;
4
- background: string | null;
5
4
  width: number;
6
5
  height: number;
7
6
  }
7
+ interface SeatmapBackground {
8
+ uuid: string;
9
+ url: string;
10
+ }
8
11
  export declare type Seatmap = {
9
12
  name: string;
10
13
  description: string;
14
+ background: SeatmapBackground | null;
11
15
  rows: Array<Row>;
12
16
  } & SeatmapBase;
13
17
  export declare type SeatmapAvailability = {
18
+ background_url: string | null;
14
19
  rows: Array<AvailabilityRow>;
15
20
  } & SeatmapBase;
16
21
  export declare const createSeatmap: (name: string, description: string) => Promise<Seatmap>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phoenixlan/phoenix.js",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "description": "Phoenix LAN api javascript wrapper",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.es.js",