UNPKG

@finos/legend-application-studio

Version:
40 lines 1.67 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 { Entity } from '@finos/legend-storage'; import { type GeneratorFn, ActionState } from '@finos/legend-shared'; import type { EditorStore } from '../../../EditorStore.js'; import { type Database, type PureModel } from '@finos/legend-graph'; export declare class DatabaseModelBuilderState { readonly editorStore: EditorStore; readonly database: Database; readonly isReadOnly: boolean; generatingModelState: ActionState; saveModelState: ActionState; showModal: boolean; generatedGrammarCode: string; entities: Entity[] | undefined; targetPackage: string; graph: PureModel; constructor(editorStore: EditorStore, database: Database, isReadOnly: boolean, graph: PureModel); setShowModal(val: boolean): void; setDatabaseGrammarCode(val: string): void; setEntities(val: Entity[] | undefined): void; close(): void; setTargetPackage(val: string): void; previewDatabaseModels(): GeneratorFn<void>; saveModels(): GeneratorFn<void>; } //# sourceMappingURL=DatabaseModelBuilderState.d.ts.map