@@ -18,7 +18,7 @@ export class EnvironmentVariables {
18
18
@IsNumber ( )
19
19
@Min ( 1 )
20
20
@Transform ( toNumber ( { defaultValue : 3000 } ) )
21
- PORT : number = undefined ;
21
+ PORT : number = 3000 ;
22
22
23
23
@IsOptional ( )
24
24
@IsString ( )
@@ -49,16 +49,16 @@ export class EnvironmentVariables {
49
49
@IsOptional ( )
50
50
@IsEnum ( LogLevel )
51
51
@Transform ( ( { value } ) => value || LogLevel . info )
52
- LOG_LEVEL : LogLevel = undefined ;
52
+ LOG_LEVEL : LogLevel = null ;
53
53
54
54
@IsOptional ( )
55
55
@IsEnum ( LogFormat )
56
56
@Transform ( ( { value } ) => value || LogFormat . json )
57
- LOG_FORMAT : LogFormat = undefined ;
57
+ LOG_FORMAT : LogFormat = null ;
58
58
59
59
@IsOptional ( )
60
60
@IsString ( )
61
- JOB_INTERVAL_VALIDATORS = undefined ;
61
+ JOB_INTERVAL_VALIDATORS = null ;
62
62
63
63
@IsOptional ( )
64
64
@IsString ( )
@@ -71,16 +71,16 @@ export class EnvironmentVariables {
71
71
@IsArray ( )
72
72
@ArrayMinSize ( 1 )
73
73
@Transform ( ( { value } ) => value . split ( ',' ) )
74
- CL_API_URLS : string [ ] = undefined ;
74
+ CL_API_URLS : string [ ] = null ;
75
75
76
76
@IsArray ( )
77
77
@ArrayMinSize ( 1 )
78
78
@Transform ( ( { value } ) => value . split ( ',' ) )
79
- EL_RPC_URLS : string [ ] = undefined ;
79
+ EL_RPC_URLS : string [ ] = null ;
80
80
81
81
@IsNumber ( )
82
82
@Transform ( ( { value } ) => Number ( value ) )
83
- CHAIN_ID : number = undefined ;
83
+ CHAIN_ID : number = null ;
84
84
}
85
85
export const ENV_KEYS = Object . keys ( new EnvironmentVariables ( ) ) ;
86
86
0 commit comments