This repository was archived by the owner on Aug 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +16
-13
lines changed
projects/funixproductions-requests
src/lib/services/funixproductions-api/user/dtos Expand file tree Collapse file tree 4 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @funixproductions/angular-core" ,
3- "version" : " 0.1.17 " ,
3+ "version" : " 0.1.18 " ,
44 "description" : " Package used in all FunixProductions Angular projects" ,
55 "scripts" : {
66 "ng" : " ng" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " @funixproductions/funixproductions-requests" ,
3- "version" : " 0.1.17 " ,
3+ "version" : " 0.1.18 " ,
44 "description" : " Package used in all FunixProductions Angular projects" ,
55 "peerDependencies" : {
66 "@angular/common" : " ^17.1.0" ,
Original file line number Diff line number Diff line change 1- import { UserDTO } from "../user-dto" ;
1+ import { UserCountry } from "../user-dto" ;
22
3- export class UserUpdateAccountDto extends UserDTO {
3+ export class UserUpdateAccountDto {
44 oldPassword ?: string ;
55 newPassword ?: string ;
66 newPasswordConfirmation ?: string ;
7+ username ?: string ;
8+ email ?: string ;
9+ country ?: UserCountry ;
710}
Original file line number Diff line number Diff line change @@ -9,16 +9,16 @@ export enum UserRole {
99}
1010
1111export class UserDTO extends ApiDTO {
12- username : string = '' ;
13- email : string = '' ;
12+ username ? : string ;
13+ email ? : string ;
1414 role ?: UserRole
15- valid : boolean = true ;
16- country : UserCountry = new UserCountry ( ) ;
15+ valid ? : boolean ;
16+ country ? : UserCountry ;
1717}
1818
1919export class UserCountry {
20- name : string = 'France' ;
21- code : number = 250 ;
22- countryCode2Chars : string = 'FR' ;
23- countryCode3Chars : string = 'FRA' ;
24- }
20+ name ? : string ;
21+ code ? : number ;
22+ countryCode2Chars ? : string ;
23+ countryCode3Chars ? : string ;
24+ }
You can’t perform that action at this time.
0 commit comments