UNPKG

@notios/config

Version:
124 lines (123 loc) 4.6 kB
export interface Action { description: string; } declare const commonActions: { readonly exit: Action; }; declare const helpActions: { readonly back: Action; readonly 'scroll-down-line': Action; readonly 'scroll-up-line': Action; readonly 'scroll-down-paragraph': Action; readonly 'scroll-up-paragraph': Action; readonly 'scroll-down-page': Action; readonly 'scroll-up-page': Action; readonly 'scroll-down-half-page': Action; readonly 'scroll-up-half-page': Action; readonly 'scroll-to-bottom': Action; readonly 'scroll-to-top': Action; }; declare const inspectProcActions: { readonly back: Action; readonly 'scroll-down-line': Action; readonly 'scroll-up-line': Action; readonly 'scroll-down-paragraph': Action; readonly 'scroll-up-paragraph': Action; readonly 'scroll-down-page': Action; readonly 'scroll-up-page': Action; readonly 'scroll-down-half-page': Action; readonly 'scroll-up-half-page': Action; readonly 'scroll-to-bottom': Action; readonly 'scroll-to-top': Action; readonly 'scroll-to-leftmost': Action; readonly 'scroll-right-char': Action; readonly 'scroll-left-char': Action; readonly 'scroll-right-word': Action; readonly 'scroll-left-word': Action; readonly 'toggle-timestamp': Action; readonly 'toggle-label': Action; }; declare const treeProcsActions: { readonly 'cursor-prev': Action; readonly 'cursor-next': Action; readonly 'select-script': Action; readonly expand: Action; readonly collapse: Action; readonly restart: Action; readonly 'restart-recrusive': Action; readonly kill: Action; readonly 'kill-recrusive': Action; readonly inspect: Action; }; declare const selectScriptActions: { readonly back: Action; readonly 'cursor-prev': Action; readonly 'cursor-next': Action; readonly 'start-and-back': Action; readonly start: Action; }; export declare const pageActions: { readonly common: { readonly exit: Action; }; readonly 'inspect-proc': { readonly back: Action; readonly 'scroll-down-line': Action; readonly 'scroll-up-line': Action; readonly 'scroll-down-paragraph': Action; readonly 'scroll-up-paragraph': Action; readonly 'scroll-down-page': Action; readonly 'scroll-up-page': Action; readonly 'scroll-down-half-page': Action; readonly 'scroll-up-half-page': Action; readonly 'scroll-to-bottom': Action; readonly 'scroll-to-top': Action; readonly 'scroll-to-leftmost': Action; readonly 'scroll-right-char': Action; readonly 'scroll-left-char': Action; readonly 'scroll-right-word': Action; readonly 'scroll-left-word': Action; readonly 'toggle-timestamp': Action; readonly 'toggle-label': Action; }; readonly 'tree-procs': { readonly 'cursor-prev': Action; readonly 'cursor-next': Action; readonly 'select-script': Action; readonly expand: Action; readonly collapse: Action; readonly restart: Action; readonly 'restart-recrusive': Action; readonly kill: Action; readonly 'kill-recrusive': Action; readonly inspect: Action; }; readonly 'select-script': { readonly back: Action; readonly 'cursor-prev': Action; readonly 'cursor-next': Action; readonly 'start-and-back': Action; readonly start: Action; }; readonly help: { readonly back: Action; readonly 'scroll-down-line': Action; readonly 'scroll-up-line': Action; readonly 'scroll-down-paragraph': Action; readonly 'scroll-up-paragraph': Action; readonly 'scroll-down-page': Action; readonly 'scroll-up-page': Action; readonly 'scroll-down-half-page': Action; readonly 'scroll-up-half-page': Action; readonly 'scroll-to-bottom': Action; readonly 'scroll-to-top': Action; }; }; export declare const actionablePages: readonly ["common", "inspect-proc", "tree-procs", "select-script", "help"]; export declare type ActionablePage = keyof typeof pageActions; export declare type NotiosCommonAction = keyof typeof commonActions; export declare type NotiosInspectProcAction = keyof typeof inspectProcActions; export declare type NotiosTreeProcsAction = keyof typeof treeProcsActions; export declare type NotiosSelectScriptAction = keyof typeof selectScriptActions; export declare type NotiosHelpAction = keyof typeof helpActions; export {};