@@ -19,8 +19,20 @@ export type Metadata = {
1919 resources ?: MetaDataRessources [ ] ;
2020} ;
2121
22- type ThemeColors = Record < string , string > ;
22+ export type StudyMetadata = Metadata & {
23+ name : 'Study' ;
24+ predefinedEquipmentProperties ?: {
25+ [ networkElementType : string ] : PredefinedProperties ;
26+ } ;
27+ defaultParametersValues ?: {
28+ enableDeveloperMode ?: boolean ;
29+ } ;
30+ defaultCountry ?: string ;
31+ favoriteCountries ?: string [ ] ;
32+ substationPropertiesGlobalFilters ?: Map < string , string [ ] > ; // used to generate user specific global filters
33+ } ;
2334
35+ type ThemeColors = Record < string , string > ;
2436type SldAndNadColors = {
2537 darkThemeColors : ThemeColors ;
2638 lightThemeColors : ThemeColors ;
@@ -31,22 +43,7 @@ export type BaseVoltageConfig = {
3143 vlValue : number ;
3244 minValue : number ;
3345 maxValue : number ;
34- label : string ;
3546 mapColor : string ;
3647 sldAndNadColors : SldAndNadColors ;
37- profile : string ;
38- } ;
39-
40- export type StudyMetadata = Metadata & {
41- name : 'Study' ;
42- predefinedEquipmentProperties ?: {
43- [ networkElementType : string ] : PredefinedProperties ;
44- } ;
45- defaultParametersValues ?: {
46- enableDeveloperMode ?: boolean ;
47- } ;
48- defaultCountry ?: string ;
49- favoriteCountries ?: string [ ] ;
50- substationPropertiesGlobalFilters ?: Map < string , string [ ] > ; // used to generate user specific global filters
51- baseVoltagesConfig ?: BaseVoltageConfig [ ] ; // use to define the voltage ranges and their colors
5248} ;
49+ export type BaseVoltagesConfig = BaseVoltageConfig [ ] ; // used to define the voltage ranges and their colors
0 commit comments