Skip to content
Snippets Groups Projects
Commit cb41ab3e authored by heikkkk's avatar heikkkk
Browse files

feat: update api

parent 60b18811
No related branches found
No related tags found
1 merge request!81feat: update api
Pipeline #283432 passed with warnings
...@@ -2383,6 +2383,10 @@ ...@@ -2383,6 +2383,10 @@
"type": "integer", "type": "integer",
"format": "int64" "format": "int64"
}, },
"bannerImage": {
"type": "integer",
"format": "int64"
},
"email": { "email": {
"type": "string" "type": "string"
}, },
...@@ -2395,6 +2399,14 @@ ...@@ -2395,6 +2399,14 @@
}, },
"subscriptionLevel": { "subscriptionLevel": {
"type": "string" "type": "string"
},
"checkingAccountBBAN": {
"type": "integer",
"format": "int64"
},
"savingsAccountBBAN": {
"type": "integer",
"format": "int64"
} }
} }
}, },
...@@ -2606,9 +2618,21 @@ ...@@ -2606,9 +2618,21 @@
"type": "integer", "type": "integer",
"format": "int64" "format": "int64"
}, },
"bannerImage": {
"type": "integer",
"format": "int64"
},
"createdAt": { "createdAt": {
"type": "string", "type": "string",
"format": "date-time" "format": "date-time"
},
"totalPoints": {
"type": "integer",
"format": "int32"
},
"currentStreak": {
"type": "integer",
"format": "int32"
} }
} }
}, },
......
...@@ -7,6 +7,9 @@ export type ProfileDTO = { ...@@ -7,6 +7,9 @@ export type ProfileDTO = {
firstName?: string; firstName?: string;
lastName?: string; lastName?: string;
profileImage?: number; profileImage?: number;
bannerImage?: number;
createdAt?: string; createdAt?: string;
totalPoints?: number;
currentStreak?: number;
}; };
...@@ -7,9 +7,12 @@ export type UserDTO = { ...@@ -7,9 +7,12 @@ export type UserDTO = {
firstName?: string; firstName?: string;
lastName?: string; lastName?: string;
profileImage?: number; profileImage?: number;
bannerImage?: number;
email?: string; email?: string;
createdAt?: string; createdAt?: string;
role?: string; role?: string;
subscriptionLevel?: string; subscriptionLevel?: string;
checkingAccountBBAN?: number;
savingsAccountBBAN?: number;
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment