refactor: migrate temp "CC slowness fix" feature to the new architecture
Bug: twpowertools:176
Change-Id: I09819e4a5a0429631d76f1f7063a1e35b5b1ac05
diff --git a/src/features/fixCCSlowness/fixCCSlowness.feature.ts b/src/features/fixCCSlowness/fixCCSlowness.feature.ts
new file mode 100644
index 0000000..5703311
--- /dev/null
+++ b/src/features/fixCCSlowness/fixCCSlowness.feature.ts
@@ -0,0 +1,14 @@
+import Feature from '../../common/architecture/features/Feature';
+import { ConcreteScript } from '../../common/architecture/scripts/Script';
+import { OptionCodename } from '../../common/options/optionsPrototype';
+import RemoveUserAbuseEventsFromDataStartupScript from './scripts/removeUserAbuseEventsFromDataStartup.script';
+
+// This feature also has an associated response modifier.
+export default class FixCCSlownessFeature extends Feature {
+ public readonly scripts: ConcreteScript[] = [
+ RemoveUserAbuseEventsFromDataStartupScript,
+ ];
+
+ readonly codename = 'fixCCSlowness';
+ readonly relatedOptions: OptionCodename[] = ['fixpekb269560789'];
+}