AdriĆ Vilanova | 61f782f | 2024-05-31 22:57:24 +0000 | [diff] [blame^] | 1 | import Feature from '../../common/architecture/features/Feature'; |
| 2 | import { ConcreteScript } from '../../common/architecture/scripts/Script'; |
| 3 | import { OptionCodename } from '../../common/options/optionsPrototype'; |
| 4 | import EnableLoadDraftsFlagInDataStartupScript from './scripts/setThreadPageInDataStartupScript.script'; |
| 5 | |
| 6 | export default class LoadDraftsFeature extends Feature { |
| 7 | public readonly scripts: ConcreteScript[] = [ |
| 8 | EnableLoadDraftsFlagInDataStartupScript, |
| 9 | ]; |
| 10 | |
| 11 | readonly codename = 'loadDrafts'; |
| 12 | readonly relatedOptions: OptionCodename[] = ['loaddrafts']; |
| 13 | } |