UNPKG

@finos/legend-application-marketplace

Version:
57 lines 2.47 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 { TerminalResult, TraderProfile, type Filter, type MarketplaceServerClient } from '@finos/legend-server-marketplace'; import type { LegendMarketplaceApplicationStore, LegendMarketplaceBaseStore } from './LegendMarketplaceBaseStore.js'; import { ActionState, type GeneratorFn, LegendUser } from '@finos/legend-shared'; export declare enum VendorDataProviderType { ALL = "All", TERMINAL_LICENSE = "Terminal License", ADD_ONS = "Add-Ons", ORDER_PROFILE = "Order Profile" } export declare class LegendMarketPlaceVendorDataStore { readonly applicationStore: LegendMarketplaceApplicationStore; readonly store: LegendMarketplaceBaseStore; marketplaceServerClient: MarketplaceServerClient; selectedUser: LegendUser; readonly fetchingProvidersState: ActionState; terminalProviders: TerminalResult[]; addOnProviders: TerminalResult[]; traderProfileProviders: TraderProfile[]; providers: TerminalResult[]; traderProfileAllProviders: TraderProfile[]; page: number; itemsPerPage: number; totalTerminalItems: number; totalAddOnItems: number; totalTraderProfileItems: number; totalItems: number; searchTerm: string; providersFilters: Filter[]; providerDisplayState: VendorDataProviderType; constructor(applicationStore: LegendMarketplaceApplicationStore, store: LegendMarketplaceBaseStore); init(): GeneratorFn<void>; refresh(): GeneratorFn<void>; setProviderDisplayState(value: VendorDataProviderType): void; setProvidersFilters(value: Filter[]): void; setPage(value: number): void; setItemsPerPage(value: number): void; setSearchTerm(value: string): void; setSelectedUser(user: LegendUser): void; resetSelectedUser(): void; populateProviders(): GeneratorFn<void>; } //# sourceMappingURL=LegendMarketPlaceVendorDataStore.d.ts.map