Adrià Vilanova Martínez | 58cc67c | 2024-04-21 16:43:01 +0200 | [diff] [blame] | 1 | import Feature from '../../common/architecture/features/Feature'; |
| 2 | import { ConcreteScript } from '../../common/architecture/scripts/Script'; |
Adrià Vilanova Martínez | b523be9 | 2024-05-25 19:14:19 +0200 | [diff] [blame] | 3 | import { OptionCodename } from '../../common/options/optionsPrototype'; |
Adrià Vilanova Martínez | 58cc67c | 2024-04-21 16:43:01 +0200 | [diff] [blame] | 4 | import AutoRefreshNodeWatcherScript from './scripts/nodeWatcher.script'; |
| 5 | import AutoRefreshSetUpScript from './scripts/setUp.script'; |
| 6 | import AutoRefreshStylesScript from './scripts/styles.script'; |
| 7 | |
| 8 | export default class AutoRefreshFeature extends Feature { |
| 9 | public readonly scripts: ConcreteScript[] = [ |
| 10 | AutoRefreshNodeWatcherScript, |
| 11 | AutoRefreshSetUpScript, |
| 12 | AutoRefreshStylesScript, |
| 13 | ]; |
| 14 | |
| 15 | readonly codename = 'autoRefresh'; |
Adrià Vilanova Martínez | 67b0b25 | 2024-05-18 00:35:51 +0200 | [diff] [blame] | 16 | readonly relatedOptions: OptionCodename[] = ['autorefreshlist']; |
Adrià Vilanova Martínez | 58cc67c | 2024-04-21 16:43:01 +0200 | [diff] [blame] | 17 | } |