refactor: use SCMap for feature configurations

This commit is contained in:
Rainer Killinger
2022-01-18 15:12:05 +01:00
parent dc9c0f528f
commit d1c5bb9595

View File

@@ -13,18 +13,19 @@
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {SCMap} from '../general/map';
import {SCAuthorizationProviderType} from './authorization';
export interface SCFeatureConfiguration {
/**
* Map of extern services mapped by their name (statically)
*/
extern?: Map<string, SCFeatureConfigurationExtern>;
extern?: SCMap<SCFeatureConfigurationExtern>;
/**
* Map of plugins registered with the backend mapped by their name.
*/
plugins?: Map<string, SCFeatureConfigurationPlugin>;
plugins?: SCMap<SCFeatureConfigurationPlugin>;
}