UNPKG

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

Version:
65 lines 3.87 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 GenericLegendApplicationStore, type NavigationZone } from '@finos/legend-application'; import { type Class, type GraphData, type GraphManagerState, type PackageableRuntime } from '@finos/legend-graph'; import { type DataSpaceAnalysisResult, type DataSpaceExecutionContextAnalysisResult } from '../graph-manager/action/analytics/DataSpaceAnalysis.js'; import { DataSpaceViewerModelsDocumentationState } from './DataSpaceModelsDocumentationState.js'; import { DataSpaceViewerDiagramViewerState } from './DataSpaceViewerDiagramViewerState.js'; import { DataSpaceLayoutState } from './DataSpaceLayoutState.js'; import { DATA_SPACE_VIEWER_ACTIVITY_MODE } from './DataSpaceViewerNavigation.js'; import { DataAccessState } from '@finos/legend-query-builder'; import { DataSpaceQuickStartState } from './DataSpaceQuickStartState.js'; import { DataSpaceViewerExecutableState } from './DataSpaceViewerExecutableState.js'; export declare class DataSpaceViewerState { readonly applicationStore: GenericLegendApplicationStore; readonly graphManagerState: GraphManagerState; readonly layoutState: DataSpaceLayoutState; readonly dataSpaceAnalysisResult: DataSpaceAnalysisResult; readonly groupId: string; readonly artifactId: string; readonly versionId: string; readonly retrieveGraphData: () => GraphData; readonly queryDataSpace: (executionContextKey: string) => void; readonly viewProject: (path: string | undefined) => void; readonly viewSDLCProject: (path: string | undefined) => Promise<void>; readonly onZoneChange?: ((zone: NavigationZone | undefined) => void) | undefined; readonly queryClass: (_class: Class) => void; readonly openServiceQuery: (servicePath: string) => void; readonly diagramViewerState: DataSpaceViewerDiagramViewerState; readonly modelsDocumentationState: DataSpaceViewerModelsDocumentationState; readonly quickStartState: DataSpaceQuickStartState; executableStates: DataSpaceViewerExecutableState[]; currentActivity: DATA_SPACE_VIEWER_ACTIVITY_MODE; currentDataAccessState: DataAccessState; currentExecutionContext: DataSpaceExecutionContextAnalysisResult; currentRuntime: PackageableRuntime; constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: GraphManagerState, groupId: string, artifactId: string, versionId: string, dataSpaceAnalysisResult: DataSpaceAnalysisResult, actions: { retrieveGraphData: () => GraphData; queryDataSpace: (executionContextKey: string) => void; viewProject: (path: string | undefined) => void; viewSDLCProject: (path: string | undefined) => Promise<void>; queryClass: (_class: Class) => void; openServiceQuery: (servicePath: string) => void; onZoneChange?: ((zone: NavigationZone | undefined) => void) | undefined; }); get isVerified(): boolean; setCurrentActivity(val: DATA_SPACE_VIEWER_ACTIVITY_MODE): void; setCurrentExecutionContext(val: DataSpaceExecutionContextAnalysisResult): void; setCurrentRuntime(val: PackageableRuntime): void; syncZoneWithNavigation(zone: NavigationZone): void; changeZone(zone: NavigationZone, force?: boolean): void; } //# sourceMappingURL=DataSpaceViewerState.d.ts.map