blob: 06ca3880d15d47dfad7b1d0f71d5f7dc00d04780 [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ínezb523be92024-05-25 19:14:19 +02003import { OptionCodename } from '../../common/options/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}