heartraite 1.0.134 → 1.0.136

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,4 +1,5 @@
1
1
  import { Gender } from "../enum";
2
+ import { CompatibilitySummary } from "./matchmaking.types";
2
3
  export declare enum EventAccess {
3
4
  PUBLIC = "public",
4
5
  INVITE_ONLY = "invite_only"
@@ -12,6 +13,7 @@ export type Event = {
12
13
  hostBrand: string;
13
14
  createdByRole: "operator" | "partner";
14
15
  eventDateTime: string;
16
+ matchRevealTime?: string;
15
17
  status: "upcoming" | "ongoing" | "completed";
16
18
  location?: string;
17
19
  isCancelled?: boolean;
@@ -41,6 +43,9 @@ export type FullParticipant = EventParticipation & {
41
43
  birth: string;
42
44
  gender: Gender;
43
45
  };
46
+ export type FullParticipantWithCS = FullParticipant & {
47
+ compatibilitySummary: CompatibilitySummary;
48
+ };
44
49
  export type EventMatchPair = {
45
50
  userA: FullParticipant;
46
51
  userB: FullParticipant;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.134",
3
+ "version": "1.0.136",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,4 +1,5 @@
1
1
  import { Gender } from "../enum";
2
+ import { CompatibilitySummary } from "./matchmaking.types";
2
3
 
3
4
  export enum EventAccess {
4
5
  PUBLIC = "public",
@@ -14,6 +15,7 @@ export type Event = {
14
15
  hostBrand: string;
15
16
  createdByRole: "operator" | "partner";
16
17
  eventDateTime: string; // should not be updated, see EventParticipation
18
+ matchRevealTime?: string;
17
19
  status: "upcoming" | "ongoing" | "completed";
18
20
  location?: string;
19
21
  isCancelled?: boolean;
@@ -46,6 +48,10 @@ export type FullParticipant = EventParticipation & {
46
48
  gender: Gender;
47
49
  };
48
50
 
51
+ export type FullParticipantWithCS = FullParticipant & {
52
+ compatibilitySummary: CompatibilitySummary;
53
+ };
54
+
49
55
  export type EventMatchPair = {
50
56
  userA: FullParticipant;
51
57
  userB: FullParticipant;