@zazuko/yasqe
Version:
Yet Another SPARQL Query Editor
76 lines (75 loc) • 2.64 kB
TypeScript
import { default as Yasqe, PlainRequestConfig } from "./";
export default function get(): {
requestConfig: PlainRequestConfig;
value?: any;
mode: string;
theme?: string;
indentUnit?: number;
smartIndent?: boolean;
tabSize?: number;
indentWithTabs?: boolean;
electricChars?: boolean;
rtlMoveVisually?: boolean;
keyMap?: string;
extraKeys?: string | import("codemirror").KeyMap;
lineWrapping?: boolean;
lineNumbers?: boolean;
firstLineNumber?: number;
lineNumberFormatter?: (line: number) => string;
gutters?: string[];
foldGutter: any;
fixedGutter?: boolean;
scrollbarStyle?: string;
coverGutterNextToScrollbar?: boolean;
inputStyle?: import("codemirror").InputStyle;
readOnly?: any;
screenReaderLabel?: string;
showCursorWhenSelecting?: boolean;
lineWiseCopyCut?: boolean;
pasteLinesPerSelection?: boolean;
selectionsMayTouch?: boolean;
undoDepth?: number;
historyEventDelay?: number;
tabindex?: number;
autofocus?: boolean;
dragDrop?: boolean;
allowDropFileTypes?: Array<string>;
onDragEvent?: (instance: CodeMirror.Editor, event: DragEvent) => boolean;
onKeyEvent?: (instance: CodeMirror.Editor, event: KeyboardEvent) => boolean;
cursorBlinkRate?: number;
cursorScrollMargin?: number;
cursorHeight?: number;
resetSelectionOnContextMenu?: boolean;
workTime?: number;
workDelay?: number;
pollInterval?: number;
flattenSpans?: boolean;
addModeClass?: boolean;
maxHighlightLength?: number;
viewportMargin?: number;
spellcheck?: boolean;
autocorrect?: boolean;
autocapitalize?: boolean;
lint?: boolean | import("codemirror").LintStateOptions | import("codemirror").Linter | import("codemirror").AsyncLinter;
collapsePrefixesOnLoad: boolean;
syntaxErrorCheck: boolean;
createShareableLink: (yasqe: Yasqe) => string;
createShortLink: ((yasqe: Yasqe, longLink: string) => Promise<string>) | undefined;
consumeShareLink: ((yasqe: Yasqe) => void) | undefined | null;
persistenceId: ((yasqe: Yasqe) => string) | string | undefined | null;
persistencyExpire: number;
showQueryButton: boolean;
pluginButtons: (() => HTMLElement[] | HTMLElement) | undefined;
highlightSelectionMatches: {
showToken?: RegExp;
annotateScrollbar?: boolean;
};
tabMode: string;
matchBrackets: boolean;
autocompleters: string[];
hintConfig: Partial<import("./").HintConfig>;
resizeable: boolean;
editorHeight: string;
queryingDisabled: string | undefined;
prefixCcApi: string;
};