/** * 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 LightQuery, type QueryInfo } from '@finos/legend-graph'; import { type DepotServerClient, StoreProjectData } from '@finos/legend-server-depot'; import { ActionState, type GeneratorFn } from '@finos/legend-shared'; import { type Entity } from '@finos/legend-storage'; import { type ProjectConfigurationStatus, type LegendStudioApplicationStore, EditorStore } from '@finos/legend-application-studio'; import { type SDLCServerClient, Project, Workspace, ProjectConfiguration } from '@finos/legend-server-sdlc'; import { type DSL_DataSpace_PureGraphManagerExtension } from '@finos/legend-extension-dsl-data-space/graph'; export declare class DataSpaceTemplateQueryPromotionReviewerStore { readonly applicationStore: LegendStudioApplicationStore; readonly sdlcServerClient: SDLCServerClient; readonly depotServerClient: DepotServerClient; readonly initState: ActionState; readonly promoteState: ActionState; readonly loadQueryState: ActionState; readonly loadWorkspacesState: ActionState; editorStore: EditorStore; graphManagerExtension: DSL_DataSpace_PureGraphManagerExtension; currentQuery?: LightQuery | undefined; currentQueryInfo?: QueryInfo | undefined; currentQueryProject?: StoreProjectData | undefined; currentProject?: Project | undefined; currentProjectConfiguration?: ProjectConfiguration; currentProjectConfigurationStatus?: ProjectConfigurationStatus | undefined; currentProjectEntities: Entity[]; dependencyEntities: Entity[]; groupWorkspaces: Workspace[]; workspaceName: string; dataSpacePath: string; dataSpaceEntity: Entity | undefined; templateQueryId: string; templateQueryTitle: string; templateQueryDescription: string; constructor(applicationStore: LegendStudioApplicationStore, sdlcServerClient: SDLCServerClient, depotServerClient: DepotServerClient); setWorkspaceName(val: string): void; setTemplateQueryId(val: string): void; setTemplateQueryTitle(val: string): void; setTemplateQueryDescription(val: string): void; get isWorkspaceNameValid(): boolean; get isTemplateQueryIdValid(): boolean; initialize(queryId: string | undefined, dataSpacePath: string): GeneratorFn; loadQuery(query: LightQuery): GeneratorFn; loadProject(project: Project): GeneratorFn; promoteAsTemplateQuery(): GeneratorFn; } //# sourceMappingURL=DataSpaceTemplateQueryPromotionReviewerStore.d.ts.map