heartraite 1.0.136 → 1.0.138

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,5 +1,6 @@
1
1
  export declare enum MatchmakingMode {
2
2
  ACTIVE = "active",
3
3
  PAUSED = "paused",
4
- DISABLED = "disabled"
4
+ DISABLED = "disabled",
5
+ IN_EVENT = "in_event"
5
6
  }
@@ -6,4 +6,5 @@ var MatchmakingMode;
6
6
  MatchmakingMode["ACTIVE"] = "active";
7
7
  MatchmakingMode["PAUSED"] = "paused";
8
8
  MatchmakingMode["DISABLED"] = "disabled";
9
+ MatchmakingMode["IN_EVENT"] = "in_event";
9
10
  })(MatchmakingMode || (exports.MatchmakingMode = MatchmakingMode = {}));
@@ -1,5 +1,5 @@
1
1
  import { Submission, CategoryEvaluation } from "./submission.types";
2
- import { Event, FullParticipant } from "./event.types";
2
+ import { Event, FullParticipantWithCS } from "./event.types";
3
3
  import { UserMatch } from "./match.types";
4
4
  import { MatchableUser, MatchCheck } from "./matchmaking.types";
5
5
  import { Message } from "./message.types";
@@ -32,7 +32,7 @@ export type SubmitAnswerResponse = {
32
32
  categoryEvaluation?: CategoryEvaluation;
33
33
  };
34
34
  export type SubmitCategoryFeedbackResponse = CategoryEvaluation;
35
- export type GetEventMatchResponse = FullParticipant;
35
+ export type GetEventMatchResponse = FullParticipantWithCS;
36
36
  export type GetUserEventsResponse = Event[];
37
37
  export type JoinEventResponse = Event;
38
38
  export type GetEventResponse = Event;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.136",
3
+ "version": "1.0.138",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2,4 +2,5 @@ export enum MatchmakingMode {
2
2
  ACTIVE = "active",
3
3
  PAUSED = "paused",
4
4
  DISABLED = "disabled",
5
+ IN_EVENT = "in_event",
5
6
  }
@@ -1,5 +1,5 @@
1
1
  import { Submission, CategoryEvaluation } from "./submission.types";
2
- import { Event, FullParticipant } from "./event.types";
2
+ import { Event, FullParticipantWithCS } from "./event.types";
3
3
  import { UserMatch } from "./match.types";
4
4
  import { MatchableUser, MatchCheck } from "./matchmaking.types";
5
5
  import { Message } from "./message.types";
@@ -43,7 +43,7 @@ export type SubmitAnswerResponse = {
43
43
  export type SubmitCategoryFeedbackResponse = CategoryEvaluation;
44
44
 
45
45
  // event
46
- export type GetEventMatchResponse = FullParticipant;
46
+ export type GetEventMatchResponse = FullParticipantWithCS;
47
47
  export type GetUserEventsResponse = Event[];
48
48
  export type JoinEventResponse = Event;
49
49
  export type GetEventResponse = Event;