heartraite 1.0.225 → 1.0.226
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.
|
@@ -39,6 +39,7 @@ export type Event = {
|
|
|
39
39
|
salesOpenAt?: string;
|
|
40
40
|
salesCloseAt?: string;
|
|
41
41
|
decisionAt?: string;
|
|
42
|
+
imageUrl?: string;
|
|
42
43
|
};
|
|
43
44
|
export type EventEligibilityInterest = "opposite_gender";
|
|
44
45
|
export type EventEligibility = {
|
|
@@ -64,7 +65,7 @@ export type EventSeats = {
|
|
|
64
65
|
export type EventAvailability = "scheduled" | "on_sale" | "sold_out_for_you" | "sales_closed" | "not_eligible";
|
|
65
66
|
export type EventIneligibleReason = "outside_area" | "out_of_age_range" | "assessment_required";
|
|
66
67
|
export type EventUserOrderStatus = "none" | "pending" | "paid";
|
|
67
|
-
type EventOfferDetails = Pick<Event, "id" | "title" | "description" | "hostBrand" | "eventDateTime" | "matchRevealTime" | "location" | "city" | "access"> & Required<Pick<Event, "priceOre" | "currency" | "salesOpenAt" | "salesCloseAt">> & Pick<EventEligibility, "minAge" | "maxAge"> & {
|
|
68
|
+
type EventOfferDetails = Pick<Event, "id" | "title" | "description" | "hostBrand" | "eventDateTime" | "matchRevealTime" | "location" | "city" | "access" | "imageUrl"> & Required<Pick<Event, "priceOre" | "currency" | "salesOpenAt" | "salesCloseAt">> & Pick<EventEligibility, "minAge" | "maxAge"> & {
|
|
68
69
|
userOrderStatus?: EventUserOrderStatus;
|
|
69
70
|
userInterested?: boolean;
|
|
70
71
|
};
|
package/package.json
CHANGED
package/src/types/event.types.ts
CHANGED
|
@@ -42,6 +42,7 @@ export type Event = {
|
|
|
42
42
|
salesOpenAt?: string;
|
|
43
43
|
salesCloseAt?: string;
|
|
44
44
|
decisionAt?: string;
|
|
45
|
+
imageUrl?: string;
|
|
45
46
|
};
|
|
46
47
|
|
|
47
48
|
export type EventEligibilityInterest = "opposite_gender";
|
|
@@ -96,6 +97,7 @@ type EventOfferDetails = Pick<
|
|
|
96
97
|
| "location"
|
|
97
98
|
| "city"
|
|
98
99
|
| "access"
|
|
100
|
+
| "imageUrl"
|
|
99
101
|
> &
|
|
100
102
|
Required<
|
|
101
103
|
Pick<Event, "priceOre" | "currency" | "salesOpenAt" | "salesCloseAt">
|