heartraite 1.0.72 → 1.0.74
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/like.enum.d.ts +5 -0
- package/dist/enum/like.enum.js +7 -1
- package/dist/types/like.types.d.ts +6 -3
- package/dist/types/response.types.d.ts +2 -2
- package/package.json +1 -1
- package/src/assets/youand-logo-black.png +0 -0
- package/src/assets/youand-logo-white.png +0 -0
- package/src/enum/like.enum.ts +6 -0
- package/src/types/like.types.ts +7 -3
- package/src/types/response.types.ts +2 -2
- package/tsconfig.json +2 -4
package/dist/enum/like.enum.d.ts
CHANGED
package/dist/enum/like.enum.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LikeType = void 0;
|
|
3
|
+
exports.LikeStatus = exports.LikeType = void 0;
|
|
4
4
|
var LikeType;
|
|
5
5
|
(function (LikeType) {
|
|
6
6
|
LikeType["LIKE"] = "like";
|
|
@@ -8,3 +8,9 @@ var LikeType;
|
|
|
8
8
|
LikeType["PULSE"] = "pulse";
|
|
9
9
|
LikeType["REVERTED"] = "reverted";
|
|
10
10
|
})(LikeType || (exports.LikeType = LikeType = {}));
|
|
11
|
+
var LikeStatus;
|
|
12
|
+
(function (LikeStatus) {
|
|
13
|
+
LikeStatus["PENDING"] = "pending";
|
|
14
|
+
LikeStatus["MATCHED"] = "matched";
|
|
15
|
+
LikeStatus["REJECTED"] = "rejected";
|
|
16
|
+
})(LikeStatus || (exports.LikeStatus = LikeStatus = {}));
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { LikeType } from "../enum";
|
|
1
|
+
import { LikeStatus, LikeType } from "../enum";
|
|
2
2
|
export type Like = {
|
|
3
3
|
userId: string;
|
|
4
|
-
thumbnailBlurred?: string;
|
|
5
|
-
seen: boolean;
|
|
6
4
|
created: string;
|
|
7
5
|
type: LikeType;
|
|
8
6
|
};
|
|
7
|
+
export interface IncomingLike extends Like {
|
|
8
|
+
status: LikeStatus;
|
|
9
|
+
seen: boolean;
|
|
10
|
+
thumbnailBlurred?: string;
|
|
11
|
+
}
|
|
@@ -4,7 +4,7 @@ import { MatchableUser, MatchCheck } from "./matchmaking.types";
|
|
|
4
4
|
import { Message } from "./message.types";
|
|
5
5
|
import { StripeProduct } from "./stripe.types";
|
|
6
6
|
import { User } from "./user.types";
|
|
7
|
-
import {
|
|
7
|
+
import { IncomingLike } from "./like.types";
|
|
8
8
|
import { CA } from "./ca.types";
|
|
9
9
|
import { SelfAwareness } from "./sa.types";
|
|
10
10
|
import { PLSScore } from "./pls.types";
|
|
@@ -39,7 +39,7 @@ export type GetMatchesResponse = UserMatch[];
|
|
|
39
39
|
export type GetMatchableUserResponse = MatchableUser;
|
|
40
40
|
export type GetMatchableUsersResponse = MatchableUser[];
|
|
41
41
|
export type CreateLikeResponse = void;
|
|
42
|
-
export type GetLikesResponse =
|
|
42
|
+
export type GetLikesResponse = IncomingLike[];
|
|
43
43
|
export type HandleLikeSeenResponse = void;
|
|
44
44
|
export type SubmitPLSDemographicsResponse = void;
|
|
45
45
|
export type CreatePLSInputResponse = void;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
package/src/enum/like.enum.ts
CHANGED
package/src/types/like.types.ts
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { LikeType } from "../enum";
|
|
1
|
+
import { LikeStatus, LikeType } from "../enum";
|
|
2
2
|
|
|
3
3
|
export type Like = {
|
|
4
4
|
userId: string;
|
|
5
|
-
thumbnailBlurred?: string;
|
|
6
|
-
seen: boolean;
|
|
7
5
|
created: string;
|
|
8
6
|
type: LikeType;
|
|
9
7
|
};
|
|
8
|
+
|
|
9
|
+
export interface IncomingLike extends Like {
|
|
10
|
+
status: LikeStatus;
|
|
11
|
+
seen: boolean;
|
|
12
|
+
thumbnailBlurred?: string;
|
|
13
|
+
}
|
|
@@ -4,7 +4,7 @@ import { MatchableUser, MatchCheck } from "./matchmaking.types";
|
|
|
4
4
|
import { Message } from "./message.types";
|
|
5
5
|
import { StripeProduct } from "./stripe.types";
|
|
6
6
|
import { User } from "./user.types";
|
|
7
|
-
import {
|
|
7
|
+
import { IncomingLike } from "./like.types";
|
|
8
8
|
import { CA } from "./ca.types";
|
|
9
9
|
import { SelfAwareness } from "./sa.types";
|
|
10
10
|
import { PLSScore } from "./pls.types";
|
|
@@ -52,7 +52,7 @@ export type GetMatchableUsersResponse = MatchableUser[];
|
|
|
52
52
|
|
|
53
53
|
// like
|
|
54
54
|
export type CreateLikeResponse = void;
|
|
55
|
-
export type GetLikesResponse =
|
|
55
|
+
export type GetLikesResponse = IncomingLike[];
|
|
56
56
|
export type HandleLikeSeenResponse = void;
|
|
57
57
|
|
|
58
58
|
// pls
|