diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-05-24 10:21:03 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-05-24 10:22:59 +1000 |
| commit | 9c4dd5f465be3e4f971e091733c2c7870b6c9ea6 (patch) | |
| tree | d186365e25179e59029f484f238b8d33e1abd012 /src/lib.ts | |
| parent | 782dbaf6ccb9e10aabb102d6e0bcd183ca0295f3 (diff) | |
Clean up tutorial disabled/trigger-action code
Diffstat (limited to 'src/lib.ts')
| -rw-r--r-- | src/lib.ts | 18 |
1 files changed, 4 insertions, 14 deletions
@@ -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 |
