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>; |
| 8 | } |
| 9 | |
| 10 | export class PluginDisplayOptions { |
| 11 | displayName: string; |
| 12 | displayContext: Array<string>; |
Idan Amit | 162f507 | 2018-01-31 18:57:31 +0200 | [diff] [blame] | 13 | displayRoles: Array<string>; |
Idan Amit | eedaaf9 | 2018-01-31 13:27:33 +0200 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | export type Plugins = Array<Plugin>; |
| 17 | |
| 18 | export class PluginsConfiguration { |
| 19 | static plugins: Plugins; |
| 20 | } |