blob: dd0959e23b2fdc56c3cd75e94d27d672c01ac9e1 [file] [log] [blame]
Adrià Vilanova Martínez58cc67c2024-04-21 16:43:01 +02001import Feature from '../../common/architecture/features/Feature';
2import { ConcreteScript } from '../../common/architecture/scripts/Script';
Adrià Vilanova Martínez67b0b252024-05-18 00:35:51 +02003import { OptionCodename } from '../../common/optionsPrototype';
Adrià Vilanova Martínez58cc67c2024-04-21 16:43:01 +02004import AutoRefreshNodeWatcherScript from './scripts/nodeWatcher.script';
5import AutoRefreshSetUpScript from './scripts/setUp.script';
6import AutoRefreshStylesScript from './scripts/styles.script';
7
8export 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ínez67b0b252024-05-18 00:35:51 +020016 readonly relatedOptions: OptionCodename[] = ['autorefreshlist'];
Adrià Vilanova Martínez58cc67c2024-04-21 16:43:01 +020017}