UNPKG

@finos/legend-extension-dsl-data-space

Version:
45 lines 2.64 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 Class, type GraphManagerState } from '@finos/legend-graph'; import { type DepotServerClient } from '@finos/legend-server-depot'; import { type GeneratorFn, ActionState } from '@finos/legend-shared'; import { DataSpaceViewerState } from '../DataSpaceViewerState.js'; import { type DataSpaceInfo } from '../shared/DataSpaceInfo.js'; import { type GenericLegendApplicationStore } from '@finos/legend-application'; export declare class DataSpaceAdvancedSearchState { readonly applicationStore: GenericLegendApplicationStore; readonly graphManagerState: GraphManagerState; readonly depotServerClient: DepotServerClient; readonly viewProject: (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void; readonly viewSDLCProject: (groupId: string, artifactId: string, entityPath: string | undefined) => Promise<void>; dataSpaces: DataSpaceInfo[]; readonly loadDataSpacesState: ActionState; readonly loadDataSpaceState: ActionState; currentDataSpace?: DataSpaceInfo | undefined; dataSpaceViewerState?: DataSpaceViewerState | undefined; toGetSnapShot: boolean; constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, depotServerClient: DepotServerClient, actions: { viewProject: (groupId: string, artifactId: string, versionId: string, entityPath: string | undefined) => void; viewSDLCProject: (groupId: string, artifactId: string, entityPath: string | undefined) => Promise<void>; }, currentDataSpace?: DataSpaceInfo | undefined, toGetSnapshot?: boolean | undefined); setCurrentDataSpace(val: DataSpaceInfo | undefined): void; setDataSpaceViewerState(val: DataSpaceViewerState | undefined): void; setToGetSnapShot(val: boolean): void; loadDataSpaces(): GeneratorFn<void>; loadDataSpace(dataSpace: DataSpaceInfo): GeneratorFn<void>; proceedToCreateQuery(_class?: Class): GeneratorFn<void>; } //# sourceMappingURL=DataSpaceAdvancedSearchState.d.ts.map