UNPKG

@finos/legend-application-studio

Version:
33 lines 2.04 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. */ import { type TreeNodeContainerProps } from '@finos/legend-art'; import { type DatabaseExplorerTreeData, type DatabaseSchemaExplorerTreeNodeData, type DatabaseSchemaExplorerState } from '../../../../stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js'; export type DatabaseSchemaExplorerTreeNodeContainerProps = TreeNodeContainerProps<DatabaseSchemaExplorerTreeNodeData, { toggleCheckedNode: (node: DatabaseSchemaExplorerTreeNodeData) => void; isPartiallySelected: (node: DatabaseSchemaExplorerTreeNodeData) => boolean; previewData: (node: DatabaseSchemaExplorerTreeNodeData) => void; isPreviewDataDisabled: (node: DatabaseSchemaExplorerTreeNodeData) => boolean; }>; export declare const DatabaseSchemaExplorerTreeNodeContainer: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<DatabaseSchemaExplorerTreeNodeContainerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>>; export declare const DatabaseSchemaExplorer: ((props: { schemaExplorerState: DatabaseSchemaExplorerState; treeData: DatabaseExplorerTreeData; isReadOnly?: boolean | undefined; treeNodeContainerComponent?: React.FC<DatabaseSchemaExplorerTreeNodeContainerProps> | undefined; }) => import("react/jsx-runtime").JSX.Element) & { displayName: string; }; //# sourceMappingURL=DatabaseSchemaExplorer.d.ts.map