mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-03 12:02:53 +00:00
refactor: use SCMap for feature configurations
This commit is contained in:
@@ -13,18 +13,19 @@
|
|||||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import {SCMap} from '../general/map';
|
||||||
import {SCAuthorizationProviderType} from './authorization';
|
import {SCAuthorizationProviderType} from './authorization';
|
||||||
|
|
||||||
export interface SCFeatureConfiguration {
|
export interface SCFeatureConfiguration {
|
||||||
/**
|
/**
|
||||||
* Map of extern services mapped by their name (statically)
|
* 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.
|
* Map of plugins registered with the backend mapped by their name.
|
||||||
*/
|
*/
|
||||||
plugins?: Map<string, SCFeatureConfigurationPlugin>;
|
plugins?: SCMap<SCFeatureConfigurationPlugin>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user