mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-01 05:47:17 +00:00
20 lines
783 B
TypeScript
20 lines
783 B
TypeScript
import { IDatasetView, IDataset } from 'wherehows-web/typings/api/datasets/dataset';
|
|
import { ISharedOwner } from 'wherehows-web/typings/api/ownership/owner';
|
|
import { IMirageServer, IMirageDBs, IMirageDB } from '@datahub/utils/types/vendor/ember-cli-mirage-deprecated';
|
|
import { IDataPlatform } from '@datahub/metadata-types/types/entity/dataset/platform';
|
|
|
|
/**
|
|
* Specific list of datasets for wherehows
|
|
*/
|
|
export interface IMirageWherehowsDBs extends IMirageDBs {
|
|
datasets: IMirageDB<IDataset>;
|
|
datasetViews: IMirageDB<IDatasetView>;
|
|
datasetOwnerships: IMirageDB<ISharedOwner & { datasetId: string }>; // so we can join with dataset
|
|
platforms: IMirageDB<IDataPlatform>;
|
|
}
|
|
|
|
/**
|
|
* Alias for wherehows
|
|
*/
|
|
export type IMirageWherehows = IMirageServer<IMirageWherehowsDBs>;
|