heartraite 1.0.71 → 1.0.73
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 +1 -1
- 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 +1 -1
- 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
|
+
}
|
|
@@ -61,7 +61,7 @@ export type CreateCheckoutSessionResponse = {
|
|
|
61
61
|
url: string;
|
|
62
62
|
};
|
|
63
63
|
export type GetProductsResponse = StripeProduct[];
|
|
64
|
-
export type RegisterOnboardingResponse =
|
|
64
|
+
export type RegisterOnboardingResponse = void;
|
|
65
65
|
export type GetUserResponse = User;
|
|
66
66
|
export type UpdateUserResponse = User;
|
|
67
67
|
export type DeleteUserResponse = 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
|
+
}
|
|
@@ -84,7 +84,7 @@ export type CreateCheckoutSessionResponse = { url: string };
|
|
|
84
84
|
export type GetProductsResponse = StripeProduct[];
|
|
85
85
|
|
|
86
86
|
// user
|
|
87
|
-
export type RegisterOnboardingResponse =
|
|
87
|
+
export type RegisterOnboardingResponse = void;
|
|
88
88
|
export type GetUserResponse = User;
|
|
89
89
|
export type UpdateUserResponse = User;
|
|
90
90
|
export type DeleteUserResponse = void;
|