@@ -14,10 +14,10 @@ import {
14
14
Secured ,
15
15
SecuredBoolean ,
16
16
SecuredDateNullable ,
17
- SecuredDateTime ,
17
+ SecuredDateTimeNullable ,
18
18
SecuredProps ,
19
19
SecuredRichTextNullable ,
20
- SecuredString ,
20
+ SecuredStringNullable ,
21
21
Sensitivity ,
22
22
SensitivityField ,
23
23
UnsecuredDto ,
@@ -117,17 +117,17 @@ class Engagement extends Interfaces {
117
117
118
118
@Field ( )
119
119
// Convert from date to datetime at migration
120
- readonly lastSuspendedAt : SecuredDateTime ;
120
+ readonly lastSuspendedAt : SecuredDateTimeNullable ;
121
121
122
122
@Field ( )
123
123
// Convert from date to datetime at migration
124
- readonly lastReactivatedAt : SecuredDateTime ;
124
+ readonly lastReactivatedAt : SecuredDateTimeNullable ;
125
125
126
126
@Field ( {
127
127
description : 'The last time the engagement status was modified' ,
128
128
} )
129
129
// Convert from last terminated/completed at migration
130
- readonly statusModifiedAt : SecuredDateTime ;
130
+ readonly statusModifiedAt : SecuredDateTimeNullable ;
131
131
132
132
@DateTimeField ( )
133
133
readonly modifiedAt : DateTime ;
@@ -181,12 +181,12 @@ export class LanguageEngagement extends Engagement {
181
181
readonly sentPrintingDate : SecuredDateNullable ;
182
182
183
183
@Field ( )
184
- readonly paratextRegistryId : SecuredString ;
184
+ readonly paratextRegistryId : SecuredStringNullable ;
185
185
186
186
readonly pnp : Secured < LinkTo < 'File' > | null > ;
187
187
188
188
@Field ( )
189
- readonly historicGoal : SecuredString ;
189
+ readonly historicGoal : SecuredStringNullable ;
190
190
}
191
191
192
192
@RegisterResource ( { db : e . InternshipEngagement } )
0 commit comments