@@ -5,16 +5,15 @@ const zEnvConfiguration = z.object({
55 "issuerUri" : z . string ( ) . nonempty ( ) ,
66 "clientId" : z . string ( ) . nonempty ( )
77 } ) ,
8- //Port we listen to
8+ "databaseUrl" : z . string ( ) ,
9+ "isDevEnvironnement" : z . boolean ( ) . default ( false ) ,
910 "port" : z . coerce . number ( ) . optional ( ) . default ( 8080 ) ,
10- "isDevEnvironnement" : z . boolean ( ) . optional ( ) ,
11- // Completely disable this instance and redirect to another url
12- "redirectUrl" : z . string ( ) . optional ( ) ,
1311 "externalSoftwareDataOrigin" : z . enum ( [ "wikidata" , "HAL" ] ) . optional ( ) . default ( "wikidata" ) ,
14- "databaseUrl" : z . string ( ) ,
15- "initializeSoftwareFromSource" : z . boolean ( ) ,
12+ "initializeSoftwareFromSource" : z . boolean ( ) . default ( false ) ,
1613 "botAgentEmail" : z . string ( ) . optional ( ) ,
17- "listToImport" : z . array ( z . string ( ) ) . optional ( )
14+ "listToImport" : z . array ( z . string ( ) ) . optional ( ) ,
15+ // Completely disable this instance and redirect to another url
16+ "redirectUrl" : z . string ( ) . optional ( )
1817} ) ;
1918
2019const envConfiguration = zEnvConfiguration . parse ( {
0 commit comments