mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-11 18:56:41 +00:00
24 lines
834 B
TypeScript
24 lines
834 B
TypeScript
![]() |
import Component from '@ember/component';
|
||
|
// @ts-ignore: Ignore import of compiled template
|
||
|
import template from '../../templates/components/custom-search-result-property-component/link';
|
||
|
import { DataModelEntity } from '@datahub/data-models/constants/entity';
|
||
|
import { layout, tagName } from '@ember-decorators/component';
|
||
|
import { ICustomSearchResultPropertyComponentLink } from '@datahub/data-models/types/search/custom-search-result-property-component/link';
|
||
|
|
||
|
/**
|
||
|
* Component to render external links
|
||
|
*/
|
||
|
@tagName('')
|
||
|
@layout(template)
|
||
|
export default class CustomSearchResultPropertyComponentSearchLink extends Component {
|
||
|
/**
|
||
|
* The entity that we want to get the property from
|
||
|
*/
|
||
|
entity?: DataModelEntity;
|
||
|
|
||
|
/**
|
||
|
* Options for this component
|
||
|
*/
|
||
|
options?: ICustomSearchResultPropertyComponentLink['options'];
|
||
|
}
|