@@ -22,7 +22,7 @@ export abstract class UpdatePartner {
22
22
readonly id : ID ;
23
23
24
24
@IdField ( { nullable : true } )
25
- readonly pointOfContactId ?: ID | null ;
25
+ readonly pointOfContactId ?: ID < 'User' > | null ;
26
26
27
27
@Field ( ( ) => [ PartnerType ] , { nullable : true } )
28
28
@Transform ( ( { value } ) => uniq ( value ) )
@@ -32,11 +32,11 @@ export abstract class UpdatePartner {
32
32
@Transform ( ( { value } ) => uniq ( value ) )
33
33
readonly financialReportingTypes ?: readonly FinancialReportingType [ ] ;
34
34
35
- @Field ( { nullable : true } )
35
+ @Field ( ( ) => String , { nullable : true } )
36
36
@Matches ( / ^ [ A - Z ] { 3 } $ / , {
37
37
message : 'Must be 3 uppercase letters' ,
38
38
} )
39
- readonly pmcEntityCode ?: string ;
39
+ readonly pmcEntityCode ?: string | null ;
40
40
41
41
@Field ( { nullable : true } )
42
42
readonly globalInnovationsClient ?: boolean ;
@@ -45,7 +45,7 @@ export abstract class UpdatePartner {
45
45
readonly active ?: boolean ;
46
46
47
47
@NameField ( { nullable : true } )
48
- readonly address ?: string ;
48
+ readonly address ?: string | null ;
49
49
50
50
@IdField ( { nullable : true } )
51
51
readonly languageOfWiderCommunicationId ?: ID < 'Language' > | null ;
0 commit comments