mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-07 23:16:38 +00:00
18 lines
616 B
TypeScript
18 lines
616 B
TypeScript
import Component from '@ember/component';
|
|
import { IDynamicLinkNode } from 'wherehows-web/typings/app/datasets/dynamic-link';
|
|
import { DatasetPlatform } from 'wherehows-web/constants';
|
|
|
|
export default class DataPlatform extends Component {
|
|
/**
|
|
* Props the dataset platform, including name and count of datasets within the platform
|
|
* @type {{platform: DatasetPlatform | string, count?: number}}
|
|
*/
|
|
platform: { platform: DatasetPlatform | string; count?: number };
|
|
|
|
/**
|
|
* References the dynamic link properties for the related platform
|
|
* @type {IDynamicLinkNode}
|
|
*/
|
|
node: IDynamicLinkNode;
|
|
}
|