Explorar o código

Use labs experiments for visual bibtex editor

GitOrigin-RevId: e616d42af0d54f9acdf40b24fbfcbed06f349266
Domagoj Kriskovic hai 6 meses
pai
achega
9028ec7b29
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      services/web/frontend/js/utils/labs-utils.ts

+ 4 - 1
services/web/frontend/js/utils/labs-utils.ts

@@ -2,7 +2,10 @@ import getMeta from './meta'
 
 // Should be `never` when no experiments are active. Otherwise it should be a
 // union of active experiment names e.g. `'experiment1' | 'experiment2'`
-export type ActiveExperiment = 'monthly-texlive' | 'ai-workbench'
+export type ActiveExperiment =
+  | 'monthly-texlive'
+  | 'ai-workbench'
+  | 'bibtex-visual-editor'
 
 export const isInExperiment = (experiment: ActiveExperiment): boolean => {
   const experiments = getMeta('ol-labsExperiments')