heartraite 1.0.13 → 1.0.15

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.
@@ -97,7 +97,7 @@ export type CreateCheckoutSessionRequest = {
97
97
  export type RegisterOnboardingRequest = {
98
98
  firstName: string;
99
99
  state: string;
100
- birth: Date;
100
+ birth: string;
101
101
  images: string[];
102
102
  interestedIn: Gender[];
103
103
  gender: Gender;
@@ -60,6 +60,7 @@ export type UpdateUserResponse = User;
60
60
  export type AddImagesResponse = {
61
61
  images: string[];
62
62
  thumbnail: string;
63
+ thumbnailBlurred: string;
63
64
  };
64
65
  export type CancelBankIDResponse = void;
65
66
  export type GetMatchCheckResponse = MatchCheck;
@@ -2,7 +2,7 @@ import { Gender, NotificationSetting } from "../enum";
2
2
  export type User = {
3
3
  id: string;
4
4
  email: string;
5
- created: Date;
5
+ created: string;
6
6
  permissions: UserPermissions;
7
7
  profile: UserProfile;
8
8
  preferences: DatingPreferences;
@@ -15,7 +15,7 @@ export type UserProfile = {
15
15
  intro: string;
16
16
  firstName: string;
17
17
  state: string;
18
- birth: Date;
18
+ birth: string;
19
19
  age: number;
20
20
  gender: Gender;
21
21
  zodiacSign: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -99,7 +99,7 @@ export type CreateCheckoutSessionRequest = {
99
99
  export type RegisterOnboardingRequest = {
100
100
  firstName: string;
101
101
  state: string;
102
- birth: Date;
102
+ birth: string;
103
103
  images: string[];
104
104
  interestedIn: Gender[];
105
105
  gender: Gender;
@@ -76,7 +76,11 @@ export type GetUserResponse = User;
76
76
  export type UpdateUserResponse = User;
77
77
 
78
78
  // storage
79
- export type AddImagesResponse = { images: string[]; thumbnail: string };
79
+ export type AddImagesResponse = {
80
+ images: string[];
81
+ thumbnail: string;
82
+ thumbnailBlurred: string;
83
+ };
80
84
 
81
85
  export type CancelBankIDResponse = void;
82
86
 
@@ -3,7 +3,7 @@ import { Gender, NotificationSetting } from "../enum";
3
3
  export type User = {
4
4
  id: string;
5
5
  email: string;
6
- created: Date;
6
+ created: string;
7
7
  permissions: UserPermissions;
8
8
  profile: UserProfile;
9
9
  preferences: DatingPreferences;
@@ -18,7 +18,7 @@ export type UserProfile = {
18
18
  intro: string;
19
19
  firstName: string;
20
20
  state: string;
21
- birth: Date;
21
+ birth: string;
22
22
  age: number;
23
23
  gender: Gender;
24
24
  zodiacSign: string;