Idan Amit | eedaaf9 | 2018-01-31 13:27:33 +0200 | [diff] [blame] | 1 | |
| 2 | export class Plugin { |
| 3 | pluginId: string; |
Idan Amit | 162f507 | 2018-01-31 18:57:31 +0200 | [diff] [blame] | 4 | pluginDiscoveryUrl: string; |
| 5 | pluginSourceUrl: string; |
Idan Amit | eedaaf9 | 2018-01-31 13:27:33 +0200 | [diff] [blame] | 6 | pluginStateUrl: string; |
Idan Amit | eedaaf9 | 2018-01-31 13:27:33 +0200 | [diff] [blame] | 7 | pluginDisplayOptions: Map<string, PluginDisplayOptions>; |
Idan Amit | d03d20a | 2018-03-15 18:07:16 +0200 | [diff] [blame] | 8 | isOnline: boolean; |
Idan Amit | eedaaf9 | 2018-01-31 13:27:33 +0200 | [diff] [blame] | 9 | } |
| 10 | |
| 11 | export class PluginDisplayOptions { |
| 12 | displayName: string; |
| 13 | displayContext: Array<string>; |
Idan Amit | 162f507 | 2018-01-31 18:57:31 +0200 | [diff] [blame] | 14 | displayRoles: Array<string>; |
Idan Amit | eedaaf9 | 2018-01-31 13:27:33 +0200 | [diff] [blame] | 15 | } |
| 16 | |
| 17 | export type Plugins = Array<Plugin>; |
| 18 | |
| 19 | export class PluginsConfiguration { |
| 20 | static plugins: Plugins; |
Idan Amit | d03d20a | 2018-03-15 18:07:16 +0200 | [diff] [blame] | 21 | static connectionTimeout: boolean; |
Idan Amit | eedaaf9 | 2018-01-31 13:27:33 +0200 | [diff] [blame] | 22 | } |