@finos/legend-application-marketplace
Version:
Legend Marketplace application core
40 lines • 2.32 kB
TypeScript
/**
* 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 { LegendMarketplaceApplicationStore } from '../../LegendMarketplaceBaseStore.js';
import { ActionState, type GeneratorFn } from '@finos/legend-shared';
import { EntitlementsDataContractViewerState } from './EntitlementsDataContractViewerState.js';
import type { LakehouseViewerState } from './LakehouseViewerState.js';
import type { LakehouseContractServerClient } from '@finos/legend-server-marketplace';
export declare const TEST_USER: undefined;
export declare const TEST_USER2: undefined;
export declare class LakehouseEntitlementsStore {
readonly applicationStore: LegendMarketplaceApplicationStore;
readonly lakehouseServerClient: LakehouseContractServerClient;
readonly directoryUrl: string | undefined;
readonly applicationIdUrl: string | undefined;
readonly directoryCallBack: ((user: string) => void) | undefined;
readonly applicationCallBack: ((applicationId: string) => void) | undefined;
currentViewerFetchStatus: ActionState;
dashboardViewer: LakehouseViewerState | undefined;
currentViewer: LakehouseViewerState | EntitlementsDataContractViewerState | undefined;
constructor(applicationStore: LegendMarketplaceApplicationStore, lakehouseServerClient: LakehouseContractServerClient);
setDashboardViewer(val: LakehouseViewerState | undefined): void;
setCurrentViewer(val: LakehouseViewerState | EntitlementsDataContractViewerState | undefined): void;
initDashboard(token: string | undefined): GeneratorFn<void>;
initWithTaskId(taskId: string, token: string | undefined): GeneratorFn<void>;
initWithContract(id: string, token: string | undefined): GeneratorFn<void>;
}
//# sourceMappingURL=LakehouseEntitlementsStore.d.ts.map