/** * 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. */ export declare enum LEGEND_QUERY_ROUTE_PATTERN_TOKEN { GAV = "gav", QUERY_ID = "queryId", MAPPING_PATH = "mappingPath", RUNTIME_PATH = "runtimePath", SERVICE_PATH = "servicePath" } export declare enum DATA_PRODUCT_QUERY_CREATOR_ROUTE_PATTERN_TOKEN { GAV = "gav", DATA_PRODUCT_PATH = "dataProductPath", DATA_PRODUCT_ACCESS_TYPE = "accessType", DATA_PRODUCT_ACCESS_ID = "accessId" } export declare enum DATA_PRODUCT_SAMPLE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN { GAV = "gav", DATA_PRODUCT_PATH = "dataProductPath", SAMPLE_QUERY_ID = "sampleQueryId" } export declare enum INGEST_QUERY_CREATOR_ROUTE_PATTERN_TOKEN { GAV = "gav", INGEST_DEFINITION_PATH = "ingestDefinitionPath", DATA_SET = "dataSet" } export declare const LEGEND_QUERY_ROUTE_PATTERN: Readonly<{ DEFAULT: "/"; SETUP: "/setup"; EDIT_EXISTING_QUERY_SETUP: "/setup/existing-query"; CREATE_MAPPING_QUERY_SETUP: "/setup/manual"; CLONE_SERVICE_QUERY_SETUP: "/setup/clone-service-query"; QUERY_PRODUCTIONIZER_SETUP: "/setup/productionize-query"; UPDATE_EXISTING_SERVICE_QUERY_SETUP: "/setup/update-existing-service-query"; LOAD_PROJECT_SERVICE_QUERY_SETUP: "/setup/load-project-service-query"; CREATE_FROM_MAPPING_QUERY: "/create/manual/:gav/:mappingPath/:runtimePath"; CREATE_FROM_SERVICE_QUERY: "/create-from-service/:gav/:servicePath"; EDIT_EXISTING_QUERY: "/edit/:queryId"; DATA_CUBE_EXISTING_QUERY: "/edit/:queryId/cube"; DATA_PRODUCT: "/data-product/:accessType/:gav/:dataProductPath/:accessId"; DATA_PRODUCT_SAMPLE_QUERY: "/data-product/native/sample-query/:gav/:dataProductPath/:sampleQueryId"; INGEST_QUERY: "/ingest/:gav/:ingestDefinitionPath/:dataSet"; DEV_DATA_SPACE_INSPECTOR: "/dev/dataspace-inspector"; }>; export type DataProductPathParams = { [DATA_PRODUCT_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string; [DATA_PRODUCT_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_PRODUCT_PATH]: string; [DATA_PRODUCT_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_PRODUCT_ACCESS_TYPE]: string; [DATA_PRODUCT_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_PRODUCT_ACCESS_ID]: string; }; export type DataProductSampleQueryPathParams = { [DATA_PRODUCT_SAMPLE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string; [DATA_PRODUCT_SAMPLE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_PRODUCT_PATH]: string; [DATA_PRODUCT_SAMPLE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.SAMPLE_QUERY_ID]: string; }; export type IngestQueryCreatorPathParams = { [INGEST_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string; [INGEST_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.INGEST_DEFINITION_PATH]: string; [INGEST_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SET]: string; }; /** * Generates a data product route for the given access type. */ export declare const generateDataProductRoute: (groupId: string, artifactId: string, versionId: string, dataProductPath: string, executionType: string, accessPointId: string) => string; export declare const generateDataProductNativeRoute: (groupId: string, artifactId: string, versionId: string, dataProductPath: string, executionContextKey: string) => string; export declare const generateDataProductModelRoute: (groupId: string, artifactId: string, versionId: string, dataProductPath: string, accessPointId: string) => string; export declare const generateDataProductLakehouseRoute: (groupId: string, artifactId: string, versionId: string, dataProductPath: string, accessPointId: string) => string; export declare const generateDataProductSampleQueryRoute: (groupId: string, artifactId: string, versionId: string, dataProductPath: string, sampleQueryId: string) => string; export declare const generateIngestQueryCreatorRoute: (groupId: string, artifactId: string, versionId: string, ingestDefinitionPath: string, dataSet: string) => string; export declare enum LEGEND_QUERY_SETUP_QUERY_PARAM_TOKEN { SHOW_ALL_GROUPS = "showAllGroups", SHOW_ADVANCED_ACTIONS = "showAdvancedActions", TAG = "tag" } export declare enum LEGEND_QUERY_QUERY_PARAM_TOKEN { SERVICE_EXECUTION_KEY = "executionKey" } export type QuerySetupQueryParams = { [LEGEND_QUERY_SETUP_QUERY_PARAM_TOKEN.SHOW_ALL_GROUPS]?: string | undefined; [LEGEND_QUERY_SETUP_QUERY_PARAM_TOKEN.SHOW_ADVANCED_ACTIONS]?: string | undefined; [LEGEND_QUERY_SETUP_QUERY_PARAM_TOKEN.TAG]?: string | undefined; }; export declare const generateQuerySetupRoute: (showAllGroups?: boolean | undefined, showAdvancedActions?: boolean | undefined, tag?: string | undefined) => string; export declare const generateEditExistingQuerySetupRoute: () => string; export declare const generateCreateMappingQuerySetupRoute: () => string; export declare const generateCloneServiceQuerySetupRoute: () => string; export declare const generateQueryProductionizerSetupRoute: () => string; export declare const generateUpdateExistingServiceQuerySetup: () => string; export declare const generateLoadProjectServiceQuerySetup: () => string; export declare const generateMappingQueryCreatorRoute: (groupId: string, artifactId: string, versionId: string, mappingPath: string, runtimePath: string) => string; export type MappingQueryCreatorPathParams = { [LEGEND_QUERY_ROUTE_PATTERN_TOKEN.GAV]: string; [LEGEND_QUERY_ROUTE_PATTERN_TOKEN.MAPPING_PATH]: string; [LEGEND_QUERY_ROUTE_PATTERN_TOKEN.RUNTIME_PATH]: string; }; export declare const generateServiceQueryCreatorRoute: (groupId: string, artifactId: string, versionId: string, servicePath: string, executionKey?: string | undefined) => string; export type ServiceQueryCreatorPathParams = { [LEGEND_QUERY_ROUTE_PATTERN_TOKEN.GAV]: string; [LEGEND_QUERY_ROUTE_PATTERN_TOKEN.SERVICE_PATH]: string; }; export type ServiceQueryCreatorQueryParams = { [LEGEND_QUERY_QUERY_PARAM_TOKEN.SERVICE_EXECUTION_KEY]?: string | undefined; }; export declare const generateExistingQueryEditorRoute: (queryId: string) => string; export type ExistingQueryEditorPathParams = { [LEGEND_QUERY_ROUTE_PATTERN_TOKEN.QUERY_ID]: string; }; /** * @external_application_navigation This depends on Legend Studio routing and is hardcoded so it's potentially brittle */ export declare const EXTERNAL_APPLICATION_NAVIGATION__generateStudioSDLCProjectViewUrl: (studioApplicationUrl: string, projectId: string, versionId: string | undefined, entityPath: string | undefined) => string; /** * @external_application_navigation This depends on Legend Studio routing and is hardcoded so it's potentially brittle */ export declare const EXTERNAL_APPLICATION_NAVIGATION__generateStudioUpdateExistingServiceQueryUrl: (studioApplicationUrl: string, groupId: string, artifactId: string, servicePath: string) => string; /** * @external_application_navigation This depends on Legend Studio routing and is hardcoded so it's potentially brittle */ export declare const EXTERNAL_APPLICATION_NAVIGATION__generateStudioUpdateProjectServiceQueryUrl: (studioApplicationUrl: string, projectId: string) => string; /** * @external_application_navigation This depends on Legend Studio routing and is hardcoded so it's potentially brittle */ export declare const EXTERNAL_APPLICATION_NAVIGATION__generateStudioProductionizeQueryUrl: (studioApplicationUrl: string, queryId: string) => string; /** * @external_application_navigation This depends on Legend Taxonomy routing and is hardcoded so it's potentially brittle */ export declare const EXTERNAL_APPLICATION_NAVIGATION__generateTaxonomyDataspaceViewUrl: (taxonomyApplicationUrl: string, groupId: string, artifactId: string, versionId: string, dataspacePath: string) => string; /** * @external_application_navigation This depends on Legend DataCube routing and is hardcoded so it's potentially brittle */ export declare const EXTERNAL_APPLICATION_NAVIGATION__generateNewDataCubeUrl: (dataCubeApplicationUrl: string, sourceData: object, options?: { addUrlSafeBase64Characters?: boolean | undefined; }) => string; /** * @external_application_navigation This depends on Legend Marketplace routing and is hardcoded so it's potentially brittle */ export declare const EXTERNAL_APPLICATION_NAVIGATION__generateMarketplaceDataProductUrl: (marketplaceApplicationUrl: string, dataProductId: string, deploymentId: string) => string; //# sourceMappingURL=LegendQueryNavigation.d.ts.map