From 9c4dd5f465be3e4f971e091733c2c7870b6c9ea6 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Tue, 24 May 2022 10:21:03 +1000 Subject: Clean up tutorial disabled/trigger-action code --- src/lib.ts | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'src/lib.ts') diff --git a/src/lib.ts b/src/lib.ts index dc0d2ab..c13992c 100644 --- a/src/lib.ts +++ b/src/lib.ts @@ -2,20 +2,10 @@ /* * Types */ -export class EnabledFeatures { - // Expand/collapse - expand = true; - collapse = true; - // AncestorBar related - expandToView = true; - unhideAncestor = true; - // Other - infoIcon = true; - search = true; - autoMode = true; - settings = true; - help = true; -}; +// Used by auto-mode and tutorial +export type Action = + 'expand' | 'collapse' | 'expandToView' | 'unhideAncestor' | + 'tileInfo' | 'search' | 'autoMode' | 'settings' | 'help'; /* * General utility functions -- cgit v1.2.3