@roomstay/core 0.1.12 → 0.1.14

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.
@@ -12,16 +12,23 @@ export type IRoomstayEvent = {
12
12
  image: {
13
13
  background?: string;
14
14
  url: string;
15
+ isRoomstay?: boolean;
16
+ id?: string;
15
17
  };
16
18
  checkoutUrl: string;
17
19
  url: string;
18
20
  endDate: string;
19
- unixStartTime: number;
20
21
  startDate: string;
22
+ /**
23
+ * Used to override the startDate (if event is repeating for example, say every thursday at 6pm)
24
+ */
25
+ eventTimeDescription: string;
26
+ unixStartTime: number;
21
27
  timezone: string;
22
28
  searchCity: string[];
23
29
  latitude: number;
24
30
  longitude: number;
31
+ isPermanent?: boolean;
25
32
  address: {
26
33
  line1: string;
27
34
  line2: string;
@@ -1,5 +1,5 @@
1
- import { IRoomstayMemberBooking, IRoomstayMemberCards } from '../index.js';
2
- export type IRoomstayMember = {
1
+ import { IRoomstayCognitoMember, IRoomstayMemberBooking, IRoomstayMemberCards } from '../index.js';
2
+ export interface IRoomstayMember extends IRoomstayCognitoMember {
3
3
  username: string;
4
4
  email: string;
5
5
  forename?: string;
@@ -14,4 +14,4 @@ export type IRoomstayMember = {
14
14
  defaultCard: string;
15
15
  bookings: IRoomstayMemberBooking[];
16
16
  cards: IRoomstayMemberCards[];
17
- };
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roomstay/core",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "Details shared between Roomstay libraries. Anything from Currency, to Generic types",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -1,11 +0,0 @@
1
- export type IHotelColorScheme = {
2
- accent: string;
3
- accent2: string;
4
- accent3: string;
5
- success: string;
6
- navbar?: {
7
- background?: string;
8
- text?: string;
9
- textActive?: string;
10
- };
11
- };