blob: 2b8d25f73842c53e10229da91ea98eb6de87f640 [file]
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
export const CODEMIRROR_OPTIONS = {
mode: 'sql',
theme: 'material',
lineNumbers: true,
fullScreen: false,
matchBrackets: true,
indentUnit: 4,
autofocus: true,
extraKeys: {
'Alt-/': 'autocomplete',
},
};
export const QUERY_TABTYPE = {
key1: '11133sdfsd',
key2: '2222sdfsdd',
key3: '3321fdsfsd',
};
export enum TabPaneType {
Result = 'result',
History = 'history',
Structure = 'structure',
Favorite = 'favorite'
}
export enum AdhocContentRouteKeyEnum {
Result = 'result',
Structure = 'structure',
History = 'history',
Favorite = 'favorite',
Default = 'default'
}