Avoid i18n for experiment title / desc.

This commit is contained in:
Paul
2021-07-09 14:41:17 +01:00
parent 2720c8db8f
commit 8ce24a3709
2 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
export type Experiments = 'search';
export const AVAILABLE_EXPERIMENTS: Experiments[] = [ 'search' ];
export const EXPERIMENTS: { [key in Experiments]: { title: string, description: string } } = {
'search': {
title: 'Search',
description: 'Allows you to search for messages in channels.'
}
};
export interface ExperimentOptions {
enabled?: Experiments[];