UNPKG

@finos/legend-application-marketplace

Version:
83 lines 3.3 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 PlainObject } from '@finos/legend-shared'; import { type LegendApplicationConfigurationData, type LegendApplicationConfigurationInput, LegendApplicationConfig } from '@finos/legend-application'; import type { AuthProviderProps } from 'react-oidc-context'; declare class LegendMarketplaceApplicationCoreOptions { /** * Indicates whether we should enable the marketplace pages. * If not, the home page will be the coming soon page. * * Default to `false` */ enableMarketplacePages: boolean; private static readonly serialization; static create(configData: PlainObject<LegendMarketplaceApplicationCoreOptions>): LegendMarketplaceApplicationCoreOptions; } export interface LegendMarketplaceOidcConfig { redirectPath: string; silentRedirectPath: string; authProviderProps: AuthProviderProps; } export interface LegendMarketplaceApplicationConfigurationData extends LegendApplicationConfigurationData { marketplace: { url: string; subscriptionUrl: string; userSearchUrl?: string | undefined; userProfileImageUrl?: string | undefined; oidcConfig?: LegendMarketplaceOidcConfig | undefined; }; depot: { url: string; }; engine: { url: string; }; lakehouse?: { url: string; platformUrl: string; entitlements: { applicationDirectoryUrl: string; applicationIDUrl: string; }; }; studio: { url: string; }; } export declare class LegendLakehouseEntitlementsConfig { applicationDirectoryUrl: string; applicationIDUrl: string; constructor(applicationDirectoryUrl: string, applicationIDUrl: string); } export declare class LegendMarketplaceApplicationConfig extends LegendApplicationConfig { readonly options: LegendMarketplaceApplicationCoreOptions; readonly marketplaceServerUrl: string; readonly marketplaceSubscriptionUrl: string; readonly marketplaceUserSearchUrl?: string | undefined; readonly marketplaceUserProfileImageUrl?: string | undefined; readonly marketplaceOidcConfig?: LegendMarketplaceOidcConfig | undefined; readonly engineServerUrl: string; readonly depotServerUrl: string; readonly lakehouseServerUrl: string; readonly lakehousePlatformUrl: string; readonly lakehouseEntitlementsConfig: LegendLakehouseEntitlementsConfig | undefined; readonly studioServerUrl: string; constructor(input: LegendApplicationConfigurationInput<LegendMarketplaceApplicationConfigurationData>); getDefaultApplicationStorageKey(): string; } export {}; //# sourceMappingURL=LegendMarketplaceApplicationConfig.d.ts.map