heartraite 1.0.151 → 1.0.153

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.
@@ -2,29 +2,60 @@ export declare enum AppRoute {
2
2
  START = "start",
3
3
  LOGIN = "login",
4
4
  REGISTER = "register",
5
- DISCOVER = "discover",
5
+ HOME = "home",
6
6
  PROFILE = "profile",
7
7
  MATCH = "match",
8
+ FEEDBACK = "feedback",
9
+ COMMON_QUESTIONS = "common_questions",
10
+ REPORT_PROBLEM = "report_problem",
11
+ FORGOT_PASSWORD = "forgot-password",
8
12
  MESSAGES = "messages",
9
13
  MATCHES = "matches",
10
14
  SETTINGS = "settings",
11
- ACOUNT_SETTINGS = "account_settings",
12
- MATCH_SETTINGS = "match_settings",
15
+ PROMO = "promo",
16
+ ACCOUNT_SETTINGS = "account_settings",
13
17
  MEMBERSHIP = "membership",
14
18
  USER_PROFILE = "user_profile",
15
- BLOG = "blog",
16
- QUESTIONS = "questions",
19
+ TERMS_PRIVACY = "terms_privacy",
20
+ EVENTS = "events",
21
+ EVENT_DETAILS = "event_details",
22
+ EVENT_FEEDBACK = "event_feedback",
23
+ JOIN_EVENT = "join_event",
17
24
  CHAT = "chat",
18
- SUBSCRIPTIONS = "membership",
25
+ RESTRICTED_ACCESS = "restricted_access",
26
+ EDIT_ACCOUNT_SETTING = "edit_account_setting",
27
+ CA = "ca",
28
+ CA_CATEGORY = "ca_category",
29
+ SUBSCRIPTIONS = "subscriptions",
19
30
  NOTIFICATIONS = "notifications",
20
- QUESTION = "question",
21
31
  IMAGES = "images",
22
32
  IMAGES_MODAL = "image_modal",
23
33
  ADVANCED_MATCH = "advanced_match",
24
- SUPPORT = "common_questions",
34
+ ADVANCED_MATCH_DYNAMICS = "advanced_match_dynamics",
35
+ ADVANCED_MATCH_LOVE_LANGUAGE = "advanced_match_love_language",
36
+ ADVANCED_MATCH_PERSONALITY_TRAIT = "advanced_match_personality_trait",
37
+ ADVANCED_MATCH_ICEBREAKERS = "advanced_match_icebreakers",
38
+ ADVANCED_MATCH_ASK_AI = "advanced_match_ask_ai",
39
+ ADVANCED_MATCH_INTERESTS_ACTIVITIES = "advanced_match_interests",
40
+ ADVANCED_MATCH_DATING_SUGGESTIONS = "advanced_match_dating_suggestions",
41
+ ADVANCED_MATCH_STRENGTH_CHALLENGES = "advanced_strength_challenges",
42
+ SUPPORT = "support",
25
43
  IMAGE_MODAL_REGISTRATION = "image_modal_registration",
26
44
  GENERAL = "general",
27
45
  MATCH_SCANNER = "match_scanner",
28
46
  MATCH_CHECK = "match_check",
29
- PROFILE_INPUT = "profile_input"
47
+ PROFILE_INPUT = "profile_input",
48
+ ONBOARDING = "onboarding",
49
+ EDIT_PREFERENCES = "edit_preferences",
50
+ PREFERENCES_SETTINGS = "preferences_settings",
51
+ TERMS_AND_CONDITIONS = "terms_and_conditions",
52
+ PRIVACY_POLICY = "privacy_policy",
53
+ SELF_AWARENESS = "self_awareness",
54
+ SELF_AWARENESS_FAMILY = "self_awareness_family",
55
+ SELF_AWARENESS_LIFESTYLE = "self_awareness_lifestyle",
56
+ SELF_AWARENESS_PERSONALITY = "self_awareness_personality",
57
+ SELF_AWARENESS_LOVE_LANGUAGE = "self_awareness_love_language",
58
+ SELF_AWARENESS_VALUES = "self_awareness_values",
59
+ SELF_AWARENESS_CATEGORY = "self_awareness_category",
60
+ SELF_AWARENESS_SECTION = "self_awareness_section"
30
61
  }
@@ -6,29 +6,60 @@ var AppRoute;
6
6
  AppRoute["START"] = "start";
7
7
  AppRoute["LOGIN"] = "login";
8
8
  AppRoute["REGISTER"] = "register";
9
- AppRoute["DISCOVER"] = "discover";
9
+ AppRoute["HOME"] = "home";
10
10
  AppRoute["PROFILE"] = "profile";
11
11
  AppRoute["MATCH"] = "match";
12
+ AppRoute["FEEDBACK"] = "feedback";
13
+ AppRoute["COMMON_QUESTIONS"] = "common_questions";
14
+ AppRoute["REPORT_PROBLEM"] = "report_problem";
15
+ AppRoute["FORGOT_PASSWORD"] = "forgot-password";
12
16
  AppRoute["MESSAGES"] = "messages";
13
17
  AppRoute["MATCHES"] = "matches";
14
18
  AppRoute["SETTINGS"] = "settings";
15
- AppRoute["ACOUNT_SETTINGS"] = "account_settings";
16
- AppRoute["MATCH_SETTINGS"] = "match_settings";
19
+ AppRoute["PROMO"] = "promo";
20
+ AppRoute["ACCOUNT_SETTINGS"] = "account_settings";
17
21
  AppRoute["MEMBERSHIP"] = "membership";
18
22
  AppRoute["USER_PROFILE"] = "user_profile";
19
- AppRoute["BLOG"] = "blog";
20
- AppRoute["QUESTIONS"] = "questions";
23
+ AppRoute["TERMS_PRIVACY"] = "terms_privacy";
24
+ AppRoute["EVENTS"] = "events";
25
+ AppRoute["EVENT_DETAILS"] = "event_details";
26
+ AppRoute["EVENT_FEEDBACK"] = "event_feedback";
27
+ AppRoute["JOIN_EVENT"] = "join_event";
21
28
  AppRoute["CHAT"] = "chat";
22
- AppRoute["SUBSCRIPTIONS"] = "membership";
29
+ AppRoute["RESTRICTED_ACCESS"] = "restricted_access";
30
+ AppRoute["EDIT_ACCOUNT_SETTING"] = "edit_account_setting";
31
+ AppRoute["CA"] = "ca";
32
+ AppRoute["CA_CATEGORY"] = "ca_category";
33
+ AppRoute["SUBSCRIPTIONS"] = "subscriptions";
23
34
  AppRoute["NOTIFICATIONS"] = "notifications";
24
- AppRoute["QUESTION"] = "question";
25
35
  AppRoute["IMAGES"] = "images";
26
36
  AppRoute["IMAGES_MODAL"] = "image_modal";
27
37
  AppRoute["ADVANCED_MATCH"] = "advanced_match";
28
- AppRoute["SUPPORT"] = "common_questions";
38
+ AppRoute["ADVANCED_MATCH_DYNAMICS"] = "advanced_match_dynamics";
39
+ AppRoute["ADVANCED_MATCH_LOVE_LANGUAGE"] = "advanced_match_love_language";
40
+ AppRoute["ADVANCED_MATCH_PERSONALITY_TRAIT"] = "advanced_match_personality_trait";
41
+ AppRoute["ADVANCED_MATCH_ICEBREAKERS"] = "advanced_match_icebreakers";
42
+ AppRoute["ADVANCED_MATCH_ASK_AI"] = "advanced_match_ask_ai";
43
+ AppRoute["ADVANCED_MATCH_INTERESTS_ACTIVITIES"] = "advanced_match_interests";
44
+ AppRoute["ADVANCED_MATCH_DATING_SUGGESTIONS"] = "advanced_match_dating_suggestions";
45
+ AppRoute["ADVANCED_MATCH_STRENGTH_CHALLENGES"] = "advanced_strength_challenges";
46
+ AppRoute["SUPPORT"] = "support";
29
47
  AppRoute["IMAGE_MODAL_REGISTRATION"] = "image_modal_registration";
30
48
  AppRoute["GENERAL"] = "general";
31
49
  AppRoute["MATCH_SCANNER"] = "match_scanner";
32
50
  AppRoute["MATCH_CHECK"] = "match_check";
33
51
  AppRoute["PROFILE_INPUT"] = "profile_input";
52
+ AppRoute["ONBOARDING"] = "onboarding";
53
+ AppRoute["EDIT_PREFERENCES"] = "edit_preferences";
54
+ AppRoute["PREFERENCES_SETTINGS"] = "preferences_settings";
55
+ AppRoute["TERMS_AND_CONDITIONS"] = "terms_and_conditions";
56
+ AppRoute["PRIVACY_POLICY"] = "privacy_policy";
57
+ AppRoute["SELF_AWARENESS"] = "self_awareness";
58
+ AppRoute["SELF_AWARENESS_FAMILY"] = "self_awareness_family";
59
+ AppRoute["SELF_AWARENESS_LIFESTYLE"] = "self_awareness_lifestyle";
60
+ AppRoute["SELF_AWARENESS_PERSONALITY"] = "self_awareness_personality";
61
+ AppRoute["SELF_AWARENESS_LOVE_LANGUAGE"] = "self_awareness_love_language";
62
+ AppRoute["SELF_AWARENESS_VALUES"] = "self_awareness_values";
63
+ AppRoute["SELF_AWARENESS_CATEGORY"] = "self_awareness_category";
64
+ AppRoute["SELF_AWARENESS_SECTION"] = "self_awareness_section";
34
65
  })(AppRoute || (exports.AppRoute = AppRoute = {}));
@@ -8,6 +8,7 @@ export declare enum CloudFunction {
8
8
  SUBMIT_ANSWER = "ca/submit-answer",
9
9
  SEND_EVENT_FEEDBACK = "event/send-event-feedback",
10
10
  GET_EVENT_MATCH = "event/get-event-match",
11
+ GET_EVENT_PARTICIPANTS = "event/get-event-participants",
11
12
  GET_USER_EVENTS = "event/get-user-events",
12
13
  JOIN_EVENT = "event/join-event",
13
14
  GET_EVENT = "event/get-event",
@@ -12,6 +12,7 @@ var CloudFunction;
12
12
  CloudFunction["SUBMIT_ANSWER"] = "ca/submit-answer";
13
13
  CloudFunction["SEND_EVENT_FEEDBACK"] = "event/send-event-feedback";
14
14
  CloudFunction["GET_EVENT_MATCH"] = "event/get-event-match";
15
+ CloudFunction["GET_EVENT_PARTICIPANTS"] = "event/get-event-participants";
15
16
  CloudFunction["GET_USER_EVENTS"] = "event/get-user-events";
16
17
  CloudFunction["JOIN_EVENT"] = "event/join-event";
17
18
  CloudFunction["GET_EVENT"] = "event/get-event";
@@ -1,6 +1,6 @@
1
1
  import { CloudFunction } from "../enum";
2
- import { AddImagesRequest, AuthenticateBankIDRequest, CollectBankIDRequest, CreateBillingPortalRequest, CreateCheckoutSessionRequest, CreateLikeRequest, CreatePLSInputRequest, CreatePLSSubmissionRequest, CreateReportRequest, DeleteUserRequest, GetCARequest, GetLikesRequest, GetMatchableUserRequest, GetMatchCheckRequest, GetMatchesRequest, GetAdvancedMatchRequest, GetMessagesRequest, GetPLSSubmissionRequest, GetProductsRequest, GetSelfAwarenessRequest, GetUserRequest, HandleLastMessageSeenRequest, HandleLikeSeenRequest, HandleMatchSeenRequest, RegisterOnboardingRequest, RegisterUserRequest, RemoveMatchRequest, SendMessageRequest, SubmitAnswerRequest, SubmitCategoryFeedbackRequest, SubmitPLSCategoryFeedbackRequest, SubmitPLSDemographicsRequest, UpdatePLSAnswerRequest, UpdateQuestionsRequest, UpdateUserRequest, SubmitFeedbackRequest, SyncAffiliateRequest, JoinEventRequest, GetEventRequest, GetEventMatchRequest, SendEventFeedbackRequest } from "./request.types";
3
- import { AddImagesResponse, AuthenticateBankIDResponse, CollectBankIDResponse, CreateBillingPortalResponse, CreateCheckoutSessionResponse, CreateLikeResponse, CreatePLSInputResponse, CreatePLSSubmissionResponse, CreateReportResponse, DeleteUserResponse, GetCAResponse, GetLikesResponse, GetMatchableUserResponse, GetMatchableUsersResponse, GetMatchCheckResponse, GetMatchesResponse, GetAdvancedMatchResponse, GetMessagesResponse, GetPLSSubmissionResponse, GetProductsResponse, GetSelfAwarenessReponse, GetUserResponse, HandleLastMessageSeenResponse, HandleLikeSeenResponse, HandleMatchSeenResponse, RegisterOnboardingResponse, RegisterUserResponse, RemoveMatchResponse, SendMessageResponse, SubmitAnswerResponse, SubmitCategoryFeedbackResponse, SubmitPLSCategoryFeedbackResponse, SubmitPLSDemographicsResponse, UpdatePLSAnswerResponse, UpdateQuestionsResponse, UpdateUserResponse, SubmitFeedbackResponse, SyncAffiliateResponse, GetUserEventsResponse, JoinEventResponse, GetEventResponse, GetEventMatchResponse, SendEventFeedbackResponse } from "./response.types";
2
+ import { AddImagesRequest, AuthenticateBankIDRequest, CollectBankIDRequest, CreateBillingPortalRequest, CreateCheckoutSessionRequest, CreateLikeRequest, CreatePLSInputRequest, CreatePLSSubmissionRequest, CreateReportRequest, DeleteUserRequest, GetCARequest, GetLikesRequest, GetMatchableUserRequest, GetMatchCheckRequest, GetMatchesRequest, GetAdvancedMatchRequest, GetMessagesRequest, GetPLSSubmissionRequest, GetProductsRequest, GetSelfAwarenessRequest, GetUserRequest, HandleLastMessageSeenRequest, HandleLikeSeenRequest, HandleMatchSeenRequest, RegisterOnboardingRequest, RegisterUserRequest, RemoveMatchRequest, SendMessageRequest, SubmitAnswerRequest, SubmitCategoryFeedbackRequest, SubmitPLSCategoryFeedbackRequest, SubmitPLSDemographicsRequest, UpdatePLSAnswerRequest, UpdateQuestionsRequest, UpdateUserRequest, SubmitFeedbackRequest, SyncAffiliateRequest, JoinEventRequest, GetEventRequest, GetEventMatchRequest, SendEventFeedbackRequest, GetEventParticipantsRequest } from "./request.types";
3
+ import { AddImagesResponse, AuthenticateBankIDResponse, CollectBankIDResponse, CreateBillingPortalResponse, CreateCheckoutSessionResponse, CreateLikeResponse, CreatePLSInputResponse, CreatePLSSubmissionResponse, CreateReportResponse, DeleteUserResponse, GetCAResponse, GetLikesResponse, GetMatchableUserResponse, GetMatchableUsersResponse, GetMatchCheckResponse, GetMatchesResponse, GetAdvancedMatchResponse, GetMessagesResponse, GetPLSSubmissionResponse, GetProductsResponse, GetSelfAwarenessReponse, GetUserResponse, HandleLastMessageSeenResponse, HandleLikeSeenResponse, HandleMatchSeenResponse, RegisterOnboardingResponse, RegisterUserResponse, RemoveMatchResponse, SendMessageResponse, SubmitAnswerResponse, SubmitCategoryFeedbackResponse, SubmitPLSCategoryFeedbackResponse, SubmitPLSDemographicsResponse, UpdatePLSAnswerResponse, UpdateQuestionsResponse, UpdateUserResponse, SubmitFeedbackResponse, SyncAffiliateResponse, GetUserEventsResponse, JoinEventResponse, GetEventResponse, GetEventMatchResponse, SendEventFeedbackResponse, GetEventParticipantsResponse } from "./response.types";
4
4
  export type CloudFunctionTypes = {
5
5
  [CloudFunction.SYNC_AFFILIATE]: {
6
6
  payload: SyncAffiliateRequest;
@@ -30,6 +30,10 @@ export type CloudFunctionTypes = {
30
30
  payload: SubmitCategoryFeedbackRequest;
31
31
  response: SubmitCategoryFeedbackResponse;
32
32
  };
33
+ [CloudFunction.GET_EVENT_PARTICIPANTS]: {
34
+ payload: GetEventParticipantsRequest;
35
+ response: GetEventParticipantsResponse;
36
+ };
33
37
  [CloudFunction.SEND_EVENT_FEEDBACK]: {
34
38
  payload: SendEventFeedbackRequest;
35
39
  response: SendEventFeedbackResponse;
@@ -49,6 +49,9 @@ export type JoinEventRequest = {
49
49
  export type GetEventRequest = {
50
50
  eventId: string;
51
51
  };
52
+ export type GetEventParticipantsRequest = {
53
+ eventId: string;
54
+ };
52
55
  export type SubmitFeedbackRequest = {
53
56
  message: string;
54
57
  type: FeedbackType;
@@ -1,5 +1,5 @@
1
1
  import { Submission, CategoryEvaluation } from "./submission.types";
2
- import { Event, FullParticipantWithCS } from "./event.types";
2
+ import { Event, FullParticipant, 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";
@@ -37,6 +37,11 @@ export type GetEventMatchResponse = FullParticipantWithCS;
37
37
  export type GetUserEventsResponse = Event[];
38
38
  export type JoinEventResponse = Event;
39
39
  export type GetEventResponse = Event;
40
+ export type GetEventParticipantsResponse = {
41
+ participants: FullParticipant[];
42
+ topMatchIds: string[];
43
+ eventMatchId: string | null;
44
+ };
40
45
  export type SubmitFeedbackResponse = undefined;
41
46
  export type HandleLastMessageSeenResponse = undefined;
42
47
  export type SendMessageResponse = Message;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.151",
3
+ "version": "1.0.153",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2,29 +2,60 @@ export enum AppRoute {
2
2
  START = "start",
3
3
  LOGIN = "login",
4
4
  REGISTER = "register",
5
- DISCOVER = "discover",
5
+ HOME = "home",
6
6
  PROFILE = "profile",
7
7
  MATCH = "match",
8
+ FEEDBACK = "feedback",
9
+ COMMON_QUESTIONS = "common_questions",
10
+ REPORT_PROBLEM = "report_problem",
11
+ FORGOT_PASSWORD = "forgot-password",
8
12
  MESSAGES = "messages",
9
13
  MATCHES = "matches",
10
14
  SETTINGS = "settings",
11
- ACOUNT_SETTINGS = "account_settings",
12
- MATCH_SETTINGS = "match_settings",
15
+ PROMO = "promo",
16
+ ACCOUNT_SETTINGS = "account_settings",
13
17
  MEMBERSHIP = "membership",
14
18
  USER_PROFILE = "user_profile",
15
- BLOG = "blog",
16
- QUESTIONS = "questions",
19
+ TERMS_PRIVACY = "terms_privacy",
20
+ EVENTS = "events",
21
+ EVENT_DETAILS = "event_details",
22
+ EVENT_FEEDBACK = "event_feedback",
23
+ JOIN_EVENT = "join_event",
17
24
  CHAT = "chat",
18
- SUBSCRIPTIONS = "membership",
25
+ RESTRICTED_ACCESS = "restricted_access",
26
+ EDIT_ACCOUNT_SETTING = "edit_account_setting",
27
+ CA = "ca",
28
+ CA_CATEGORY = "ca_category",
29
+ SUBSCRIPTIONS = "subscriptions",
19
30
  NOTIFICATIONS = "notifications",
20
- QUESTION = "question",
21
31
  IMAGES = "images",
22
32
  IMAGES_MODAL = "image_modal",
23
33
  ADVANCED_MATCH = "advanced_match",
24
- SUPPORT = "common_questions",
34
+ ADVANCED_MATCH_DYNAMICS = "advanced_match_dynamics",
35
+ ADVANCED_MATCH_LOVE_LANGUAGE = "advanced_match_love_language",
36
+ ADVANCED_MATCH_PERSONALITY_TRAIT = "advanced_match_personality_trait",
37
+ ADVANCED_MATCH_ICEBREAKERS = "advanced_match_icebreakers",
38
+ ADVANCED_MATCH_ASK_AI = "advanced_match_ask_ai",
39
+ ADVANCED_MATCH_INTERESTS_ACTIVITIES = "advanced_match_interests",
40
+ ADVANCED_MATCH_DATING_SUGGESTIONS = "advanced_match_dating_suggestions",
41
+ ADVANCED_MATCH_STRENGTH_CHALLENGES = "advanced_strength_challenges",
42
+ SUPPORT = "support",
25
43
  IMAGE_MODAL_REGISTRATION = "image_modal_registration",
26
44
  GENERAL = "general",
27
45
  MATCH_SCANNER = "match_scanner",
28
46
  MATCH_CHECK = "match_check",
29
47
  PROFILE_INPUT = "profile_input",
48
+ ONBOARDING = "onboarding",
49
+ EDIT_PREFERENCES = "edit_preferences",
50
+ PREFERENCES_SETTINGS = "preferences_settings",
51
+ TERMS_AND_CONDITIONS = "terms_and_conditions",
52
+ PRIVACY_POLICY = "privacy_policy",
53
+ SELF_AWARENESS = "self_awareness",
54
+ SELF_AWARENESS_FAMILY = "self_awareness_family",
55
+ SELF_AWARENESS_LIFESTYLE = "self_awareness_lifestyle",
56
+ SELF_AWARENESS_PERSONALITY = "self_awareness_personality",
57
+ SELF_AWARENESS_LOVE_LANGUAGE = "self_awareness_love_language",
58
+ SELF_AWARENESS_VALUES = "self_awareness_values",
59
+ SELF_AWARENESS_CATEGORY = "self_awareness_category",
60
+ SELF_AWARENESS_SECTION = "self_awareness_section",
30
61
  }
@@ -8,6 +8,7 @@ export enum CloudFunction {
8
8
  SUBMIT_ANSWER = "ca/submit-answer",
9
9
  SEND_EVENT_FEEDBACK = "event/send-event-feedback",
10
10
  GET_EVENT_MATCH = "event/get-event-match",
11
+ GET_EVENT_PARTICIPANTS = "event/get-event-participants",
11
12
  GET_USER_EVENTS = "event/get-user-events",
12
13
  JOIN_EVENT = "event/join-event",
13
14
  GET_EVENT = "event/get-event",
@@ -41,6 +41,7 @@ import {
41
41
  GetEventRequest,
42
42
  GetEventMatchRequest,
43
43
  SendEventFeedbackRequest,
44
+ GetEventParticipantsRequest,
44
45
  } from "./request.types";
45
46
  import {
46
47
  AddImagesResponse,
@@ -86,6 +87,7 @@ import {
86
87
  GetEventResponse,
87
88
  GetEventMatchResponse,
88
89
  SendEventFeedbackResponse,
90
+ GetEventParticipantsResponse,
89
91
  } from "./response.types";
90
92
 
91
93
  // Define a mapping of Cloud Functions to payload and response types
@@ -126,6 +128,10 @@ export type CloudFunctionTypes = {
126
128
  };
127
129
 
128
130
  // event
131
+ [CloudFunction.GET_EVENT_PARTICIPANTS]: {
132
+ payload: GetEventParticipantsRequest;
133
+ response: GetEventParticipantsResponse;
134
+ };
129
135
  [CloudFunction.SEND_EVENT_FEEDBACK]: {
130
136
  payload: SendEventFeedbackRequest;
131
137
  response: SendEventFeedbackResponse;
@@ -63,7 +63,6 @@ export type SendEventFeedbackRequest = {
63
63
  };
64
64
  followUpInterest: boolean;
65
65
  };
66
-
67
66
  export type GetEventMatchRequest = {
68
67
  eventId: string;
69
68
  };
@@ -73,6 +72,9 @@ export type JoinEventRequest = {
73
72
  export type GetEventRequest = {
74
73
  eventId: string;
75
74
  };
75
+ export type GetEventParticipantsRequest = {
76
+ eventId: string;
77
+ };
76
78
 
77
79
  // feedback
78
80
  export type SubmitFeedbackRequest = {
@@ -1,5 +1,5 @@
1
1
  import { Submission, CategoryEvaluation } from "./submission.types";
2
- import { Event, FullParticipantWithCS } from "./event.types";
2
+ import { Event, FullParticipant, 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";
@@ -48,6 +48,11 @@ export type GetEventMatchResponse = FullParticipantWithCS;
48
48
  export type GetUserEventsResponse = Event[];
49
49
  export type JoinEventResponse = Event;
50
50
  export type GetEventResponse = Event;
51
+ export type GetEventParticipantsResponse = {
52
+ participants: FullParticipant[];
53
+ topMatchIds: string[];
54
+ eventMatchId: string | null;
55
+ };
51
56
 
52
57
  // feedback
53
58
  export type SubmitFeedbackResponse = undefined;