UNPKG

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

Version:
45 lines 2.08 kB
/** * Copyright (c) 2026-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 { PanelDisplayState } from '@finos/legend-art'; import type { DataQualityRelationValidationConfigurationState } from './DataQualityRelationValidationConfigurationState.js'; import { DataQualityRelationValidationState } from './DataQualityRelationValidationState.js'; import { ActionState, type GeneratorFn } from '@finos/legend-shared'; export declare enum SuggestedValidationsFilter { ALL = 0, NEW = 1, MODIFICATIONS = 2 } export declare enum SuggestionType { NEW = "NEW", EDIT = "EDIT", APPLIED = "APPLIED" } export declare class SuggestedValidationsState { readonly parentState: DataQualityRelationValidationConfigurationState; readonly suggestionPanelState: PanelDisplayState; readonly fetchState: ActionState; suggestedValidations: DataQualityRelationValidationState[]; filter: SuggestedValidationsFilter; constructor(parentState: DataQualityRelationValidationConfigurationState); get existingValidationsByName(): Map<string, string>; get filteredSuggestions(): DataQualityRelationValidationState[]; get selectedSuggestions(): DataQualityRelationValidationState[]; getSuggestionType(suggestion: DataQualityRelationValidationState): SuggestionType; onClickSuggestValidations: () => void; onFilterChange: (newFilter: SuggestedValidationsFilter) => void; fetchValidationSuggestions(): GeneratorFn<void>; } //# sourceMappingURL=DataQualityRelationValidationSuggestedValidationState.d.ts.map