blob: 0f2ccd703b292b36d35df87df1fcab27fa5c555a [file] [log] [blame]
Adrià Vilanova Martínez66836fd2024-05-04 22:43:06 +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ínez66836fd2024-05-04 22:43:06 +02004import CCExtraInfoDependencySetUpScript from './scripts/ccExtraInfoDependencySetUp.script';
5import CCExtraInfoInjectScript from './scripts/ccExtraInfoInject.script';
6import CCExtraInfoMainScript from './scripts/ccExtraInfoMain.script';
7import CCExtraInfoStylesScript from './scripts/ccExtraInfoStyles.script';
8
9export default class ExtraInfoFeature extends Feature {
10 public readonly scripts: ConcreteScript[] = [
11 CCExtraInfoDependencySetUpScript,
12 CCExtraInfoInjectScript,
13 CCExtraInfoMainScript,
14 CCExtraInfoStylesScript,
15 ];
16
17 readonly codename = 'extraInfo';
Adrià Vilanova Martínez67b0b252024-05-18 00:35:51 +020018 readonly relatedOptions: OptionCodename[] = ['extrainfo', 'perforumstats'];
Adrià Vilanova Martínez66836fd2024-05-04 22:43:06 +020019}