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

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

export type Plugins = Array<Plugin>;

export class PluginsConfiguration {
    static plugins: Plugins;
    static connectionTimeout: boolean;
}