Skip to content

Commit bb35a5e

Browse files
committed
Review feedback
1 parent f3661c5 commit bb35a5e

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

src/plugins/links/common/content_management/cm_services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

1717
import { serviceDefinition as v1 } from './v1/cm_services';

src/plugins/links/common/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
*/
88

99
import 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?
1414
export interface SharingSavedObjectProps {
1515
outcome: SavedObjectsResolveResponse['outcome'];
1616
aliasTargetId?: SavedObjectsResolveResponse['alias_target_id'];

src/plugins/links/public/embeddable/links_embeddable.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)