File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import type {
1111 Version ,
1212} from '@kbn/object-versioning' ;
1313
14- // We export the versioned service definition from this file and not the barrel to avoid adding
14+ // We export the versioned service definition from this file and not the index file to avoid adding
1515// the schemas in the "public" js bundle
1616
1717import { serviceDefinition as v1 } from './v1/cm_services' ;
Original file line number Diff line number Diff line change 77 */
88
99import type { SavedObjectsResolveResponse } from '@kbn/core-saved-objects-api-server' ;
10+ import { CONTENT_ID } from './constants' ;
1011
11- export type LinksContentType = 'links' ;
12+ export type LinksContentType = typeof CONTENT_ID ;
1213
13- // TODO does this type need to be versioned?
1414export interface SharingSavedObjectProps {
1515 outcome : SavedObjectsResolveResponse [ 'outcome' ] ;
1616 aliasTargetId ?: SavedObjectsResolveResponse [ 'alias_target_id' ] ;
Original file line number Diff line number Diff line change @@ -113,8 +113,6 @@ export class LinksEmbeddable
113113 const { attributes } = await this . attributeService . unwrapAttributes ( this . getInput ( ) ) ;
114114 if ( this . isDestroyed ) return ;
115115
116- // TODO handle metaInfo
117-
118116 this . dispatch . setAttributes ( attributes ) ;
119117
120118 await this . initializeOutput ( ) ;
You can’t perform that action at this time.
0 commit comments