aboutsummaryrefslogtreecommitdiff
path: root/src/lib.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.ts')
-rw-r--r--src/lib.ts18
1 files changed, 4 insertions, 14 deletions
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