summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models/plugins-config.ts
blob: 3f687a3af0c268444bbf308a77e895c685cffa46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
export class Plugin {
    pluginId: string;
    pluginDiscoveryUrl: string;
    pluginSourceUrl: string;
    pluginStateUrl: string;
    pluginDisplayOptions: Map<string, PluginDisplayOptions>;
}

export class PluginDisplayOptions {
    displayName: string;
    displayContext: Array<string>;
    displayRoles: Array<string>;
}

export type Plugins = Array<Plugin>;

export class PluginsConfiguration {
    static plugins: Plugins;
}