UNPKG

@finos/legend-application-marketplace

Version:
26 lines 1.86 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 { DataProductSearchResult, type AutosuggestResult, type TrendingDataProductEntry } from '@finos/legend-server-marketplace'; import { type ProjectGAVCoordinates } from '@finos/legend-storage'; import { type V1_EntitlementsDataProductDetails } from '@finos/legend-graph'; import type { V1_DataSpace } from '@finos/legend-extension-dsl-data-space/graph'; export declare const getSearchResultProjectGAV: (searchResult: DataProductSearchResult) => ProjectGAVCoordinates | undefined; export declare const generatePathForDataProductSearchResult: (searchResult: DataProductSearchResult) => string | undefined; export declare const convertEntitlementsDataProductDetailsToSearchResult: (entitlementsDataProductDetails: V1_EntitlementsDataProductDetails) => DataProductSearchResult; export declare const convertLegacyDataProductToSearchResult: (legacyDataProduct: V1_DataSpace, groupId: string, artifactid: string, versionId: string) => DataProductSearchResult; export declare const convertAutosuggestResultToSearchResult: (autosuggestResult: AutosuggestResult) => DataProductSearchResult; export declare const convertTrendingEntryToSearchResult: (entry: TrendingDataProductEntry) => DataProductSearchResult; //# sourceMappingURL=SearchUtils.d.ts.map