DataLinks: add internal flag in comments (#26215)

This commit is contained in:
Ryan McKinley 2020-07-09 14:35:31 -07:00 committed by GitHub
parent 7752434d11
commit 3d98641a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,7 @@ export interface DataLink<T extends DataQuery = any> {
// If dataLink represents internal link this has to be filled. Internal link is defined as a query in a particular
// datas ource that we want to show to the user. Usually this results in a link to explore but can also lead to
// more custom onClick behaviour if needed.
// @internal and subject to change in future releases
internal?: {
query: T;
datasourceUid: string;