UNPKG

@finos/legend-studio

Version:
66 lines 2.44 kB
/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed 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. */ /// <reference types="react" resolution-mode="require"/> import { type RelationalDatabaseConnectionValueState } from '../../../../stores/editor-state/element-editor-state/connection/ConnectionEditorState.js'; import { EDITOR_LANGUAGE } from '@finos/legend-application'; /** * NOTE: this is a WIP we did to quickly assemble a modular UI for relational database connection editor * This is subjected to change and review, especially in terms in UX. */ export declare const ConnectionEditor_BooleanEditor: ((props: { propertyName: string; description?: string; value: boolean | undefined; isReadOnly: boolean; update: (value: boolean | undefined) => void; }) => JSX.Element) & { displayName: string; }; export declare const ConnectionEditor_StringEditor: ((props: { propertyName: string; description?: string; value: string | undefined; isReadOnly: boolean; update: (value: string | undefined) => void; }) => JSX.Element) & { displayName: string; }; export declare const ConnectionEditor_TextEditor: ((props: { propertyName: string; description?: string; value: string | undefined; isReadOnly: boolean; language: EDITOR_LANGUAGE; update: (value: string | undefined) => void; }) => JSX.Element) & { displayName: string; }; export declare const ConnectionEditor_ArrayEditor: ((props: { propertyName: string; description?: string; values: string[]; isReadOnly: boolean; update: (updatedValues: string[]) => void; }) => JSX.Element) & { displayName: string; }; export declare const RelationalDatabaseConnectionEditor: ((props: { connectionValueState: RelationalDatabaseConnectionValueState; isReadOnly: boolean; }) => JSX.Element) & { displayName: string; }; //# sourceMappingURL=RelationalDatabaseConnectionEditor.d.ts.map