heartraite 1.0.184 → 1.0.186

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.
@@ -19,6 +19,8 @@ export type Event = {
19
19
  location?: string;
20
20
  isCancelled?: boolean;
21
21
  maxParticipants?: number;
22
+ matchCount: number;
23
+ enforcePreferences: boolean;
22
24
  participants: number;
23
25
  created: string;
24
26
  lastUpdated: string;
@@ -34,6 +34,7 @@ export type SubmitAnswerResponse = {
34
34
  export type SubmitCategoryFeedbackResponse = CategoryEvaluation;
35
35
  export type SendEventFeedbackResponse = void;
36
36
  export type GetEventMatchResponse = FullParticipantWithCS;
37
+ export type GetEventMatchesResponse = FullParticipantWithCS[];
37
38
  export type GetUserEventsResponse = Event[];
38
39
  export type JoinEventResponse = Event;
39
40
  export type GetEventResponse = Event;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.184",
3
+ "version": "1.0.186",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,6 +22,8 @@ export type Event = {
22
22
  location?: string;
23
23
  isCancelled?: boolean;
24
24
  maxParticipants?: number;
25
+ matchCount: number;
26
+ enforcePreferences: boolean;
25
27
  participants: number;
26
28
  created: string;
27
29
  lastUpdated: string;
@@ -45,6 +45,7 @@ export type SubmitCategoryFeedbackResponse = CategoryEvaluation;
45
45
  // event
46
46
  export type SendEventFeedbackResponse = void;
47
47
  export type GetEventMatchResponse = FullParticipantWithCS;
48
+ export type GetEventMatchesResponse = FullParticipantWithCS[];
48
49
  export type GetUserEventsResponse = Event[];
49
50
  export type JoinEventResponse = Event;
50
51
  export type GetEventResponse = Event;