heartraite 1.0.212 → 1.0.214
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.
- package/dist/enum/cloudfunction.enum.d.ts +0 -1
- package/dist/enum/cloudfunction.enum.js +0 -1
- package/dist/enum/notification.enum.d.ts +2 -1
- package/dist/enum/notification.enum.js +1 -0
- package/dist/types/cloud-function-types.d.ts +2 -6
- package/dist/types/response.types.d.ts +1 -2
- package/package.json +1 -1
- package/src/enum/cloudfunction.enum.ts +0 -1
- package/src/enum/notification.enum.ts +1 -0
- package/src/types/cloud-function-types.ts +0 -6
- package/src/types/response.types.ts +1 -2
|
@@ -18,7 +18,6 @@ export declare enum CloudFunction {
|
|
|
18
18
|
GET_EVENT = "event/get-event",
|
|
19
19
|
SUBMIT_CATEGORY_FEEDBACK = "ca/submit-category-feedback",
|
|
20
20
|
CREATE_LIKE = "like/create-like",
|
|
21
|
-
GET_LIKES = "like/get-likes",
|
|
22
21
|
HANDLE_LIKE_SEEN = "like/handle-like-seen",
|
|
23
22
|
GET_ADVANCED_MATCH = "match/get-advanced-match",
|
|
24
23
|
HANDLE_MATCH_SEEN = "match/handle-match-seen",
|
|
@@ -22,7 +22,6 @@ var CloudFunction;
|
|
|
22
22
|
CloudFunction["GET_EVENT"] = "event/get-event";
|
|
23
23
|
CloudFunction["SUBMIT_CATEGORY_FEEDBACK"] = "ca/submit-category-feedback";
|
|
24
24
|
CloudFunction["CREATE_LIKE"] = "like/create-like";
|
|
25
|
-
CloudFunction["GET_LIKES"] = "like/get-likes";
|
|
26
25
|
CloudFunction["HANDLE_LIKE_SEEN"] = "like/handle-like-seen";
|
|
27
26
|
CloudFunction["GET_ADVANCED_MATCH"] = "match/get-advanced-match";
|
|
28
27
|
CloudFunction["HANDLE_MATCH_SEEN"] = "match/handle-match-seen";
|
|
@@ -6,4 +6,5 @@ var NotificationSetting;
|
|
|
6
6
|
NotificationSetting["NEW_MATCH"] = "new-match";
|
|
7
7
|
NotificationSetting["NEW_LIKE"] = "new-like";
|
|
8
8
|
NotificationSetting["NEW_MESSAGE"] = "new-message";
|
|
9
|
+
NotificationSetting["MATCH_SUGGESTION"] = "match-suggestion";
|
|
9
10
|
})(NotificationSetting || (exports.NotificationSetting = NotificationSetting = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CloudFunction } from "../enum";
|
|
2
|
-
import { AddImagesRequest, AuthenticateBankIDRequest, CollectBankIDRequest, CreateBillingPortalRequest, CreateCheckoutSessionRequest, CreateLikeRequest, CreatePLSInputRequest, CreatePLSSubmissionRequest, CreateReportRequest, DeleteUserRequest, GetCARequest,
|
|
3
|
-
import { AddImagesResponse, AuthenticateBankIDResponse, CollectBankIDResponse, CreateBillingPortalResponse, CreateCheckoutSessionResponse, CreateLikeResponse, CreatePLSInputResponse, CreatePLSSubmissionResponse, CreateReportResponse, DeleteUserResponse, GetCAResponse,
|
|
2
|
+
import { AddImagesRequest, AuthenticateBankIDRequest, CollectBankIDRequest, CreateBillingPortalRequest, CreateCheckoutSessionRequest, CreateLikeRequest, CreatePLSInputRequest, CreatePLSSubmissionRequest, CreateReportRequest, DeleteUserRequest, GetCARequest, GetMatchableUserRequest, GetMatchCheckRequest, GetMatchesRequest, GetAdvancedMatchRequest, GetMessagesRequest, GetPLSSubmissionRequest, GetProductsRequest, GetSelfAwarenessRequest, GetUserRequest, HandleLastMessageSeenRequest, HandleLikeSeenRequest, HandleMatchSeenRequest, RegisterOnboardingRequest, RegisterUserRequest, RemoveMatchRequest, SendMessageRequest, SubmitAnswerRequest, SubmitCategoryFeedbackRequest, SubmitPLSCategoryFeedbackRequest, SubmitPLSDemographicsRequest, UpdatePLSAnswerRequest, UpdateQuestionsRequest, UpdateUserRequest, SubmitFeedbackRequest, ExpressConsultationInterestRequest, GetMyConsultationInterestRequest, GetConsultationInterestsRequest, UpdateConsultationInterestRequest, SyncAffiliateRequest, JoinEventRequest, GetEventRequest, GetEventMatchRequest, SendEventFeedbackRequest, GetEventParticipantsRequest } from "./request.types";
|
|
3
|
+
import { AddImagesResponse, AuthenticateBankIDResponse, CollectBankIDResponse, CreateBillingPortalResponse, CreateCheckoutSessionResponse, CreateLikeResponse, CreatePLSInputResponse, CreatePLSSubmissionResponse, CreateReportResponse, DeleteUserResponse, GetCAResponse, 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, ExpressConsultationInterestResponse, GetMyConsultationInterestResponse, GetConsultationInterestsResponse, UpdateConsultationInterestResponse, SyncAffiliateResponse, GetUserEventsResponse, JoinEventResponse, GetEventResponse, GetEventMatchResponse, SendEventFeedbackResponse, GetEventParticipantsResponse } from "./response.types";
|
|
4
4
|
/**
|
|
5
5
|
* @deprecated This function is deprecated.
|
|
6
6
|
* Use `CloudFunctionTypes` inside application code instead.
|
|
@@ -83,10 +83,6 @@ export type CloudFunctionTypes = {
|
|
|
83
83
|
payload: CreateLikeRequest;
|
|
84
84
|
response: CreateLikeResponse;
|
|
85
85
|
};
|
|
86
|
-
[CloudFunction.GET_LIKES]: {
|
|
87
|
-
payload: GetLikesRequest;
|
|
88
|
-
response: GetLikesResponse;
|
|
89
|
-
};
|
|
90
86
|
[CloudFunction.HANDLE_LIKE_SEEN]: {
|
|
91
87
|
payload: HandleLikeSeenRequest;
|
|
92
88
|
response: HandleLikeSeenResponse;
|
|
@@ -6,7 +6,7 @@ import { MatchableUser, MatchCheck } from "./matchmaking.types";
|
|
|
6
6
|
import { Message } from "./message.types";
|
|
7
7
|
import { StripeProduct } from "./stripe.types";
|
|
8
8
|
import { User } from "./user.types";
|
|
9
|
-
import {
|
|
9
|
+
import { OutgoingLike } from "./like.types";
|
|
10
10
|
import { CA } from "./ca.types";
|
|
11
11
|
import { SelfAwareness } from "./sa.types";
|
|
12
12
|
import { PLSScore } from "./pls.types";
|
|
@@ -62,7 +62,6 @@ export type GetMatchesResponse = UserMatch[];
|
|
|
62
62
|
export type GetMatchableUserResponse = MatchableUser;
|
|
63
63
|
export type GetMatchableUsersResponse = MatchableUser[];
|
|
64
64
|
export type CreateLikeResponse = void;
|
|
65
|
-
export type GetLikesResponse = IncomingLike[];
|
|
66
65
|
export type GetOutgoingLikesResponse = OutgoingLike[];
|
|
67
66
|
export type HandleLikeSeenResponse = void;
|
|
68
67
|
export type GetSystemMessagesResponse = SystemMessage[];
|
package/package.json
CHANGED
|
@@ -18,7 +18,6 @@ export enum CloudFunction {
|
|
|
18
18
|
GET_EVENT = "event/get-event",
|
|
19
19
|
SUBMIT_CATEGORY_FEEDBACK = "ca/submit-category-feedback",
|
|
20
20
|
CREATE_LIKE = "like/create-like",
|
|
21
|
-
GET_LIKES = "like/get-likes",
|
|
22
21
|
HANDLE_LIKE_SEEN = "like/handle-like-seen",
|
|
23
22
|
GET_ADVANCED_MATCH = "match/get-advanced-match",
|
|
24
23
|
HANDLE_MATCH_SEEN = "match/handle-match-seen",
|
|
@@ -11,7 +11,6 @@ import {
|
|
|
11
11
|
CreateReportRequest,
|
|
12
12
|
DeleteUserRequest,
|
|
13
13
|
GetCARequest,
|
|
14
|
-
GetLikesRequest,
|
|
15
14
|
GetMatchableUserRequest,
|
|
16
15
|
GetMatchCheckRequest,
|
|
17
16
|
GetMatchesRequest,
|
|
@@ -59,7 +58,6 @@ import {
|
|
|
59
58
|
CreateReportResponse,
|
|
60
59
|
DeleteUserResponse,
|
|
61
60
|
GetCAResponse,
|
|
62
|
-
GetLikesResponse,
|
|
63
61
|
GetMatchableUserResponse,
|
|
64
62
|
GetMatchableUsersResponse,
|
|
65
63
|
GetMatchCheckResponse,
|
|
@@ -194,10 +192,6 @@ export type CloudFunctionTypes = {
|
|
|
194
192
|
payload: CreateLikeRequest;
|
|
195
193
|
response: CreateLikeResponse;
|
|
196
194
|
};
|
|
197
|
-
[CloudFunction.GET_LIKES]: {
|
|
198
|
-
payload: GetLikesRequest;
|
|
199
|
-
response: GetLikesResponse;
|
|
200
|
-
};
|
|
201
195
|
[CloudFunction.HANDLE_LIKE_SEEN]: {
|
|
202
196
|
payload: HandleLikeSeenRequest;
|
|
203
197
|
response: HandleLikeSeenResponse;
|
|
@@ -9,7 +9,7 @@ import { MatchableUser, MatchCheck } from "./matchmaking.types";
|
|
|
9
9
|
import { Message } from "./message.types";
|
|
10
10
|
import { StripeProduct } from "./stripe.types";
|
|
11
11
|
import { User } from "./user.types";
|
|
12
|
-
import {
|
|
12
|
+
import { OutgoingLike } from "./like.types";
|
|
13
13
|
import { CA } from "./ca.types";
|
|
14
14
|
import { SelfAwareness } from "./sa.types";
|
|
15
15
|
import { PLSScore } from "./pls.types";
|
|
@@ -92,7 +92,6 @@ export type GetMatchableUsersResponse = MatchableUser[];
|
|
|
92
92
|
|
|
93
93
|
// like
|
|
94
94
|
export type CreateLikeResponse = void;
|
|
95
|
-
export type GetLikesResponse = IncomingLike[];
|
|
96
95
|
export type GetOutgoingLikesResponse = OutgoingLike[];
|
|
97
96
|
export type HandleLikeSeenResponse = void;
|
|
98
97
|
|