diff --git a/plugins/shortcuts/api-report.md b/plugins/shortcuts/api-report.md index 4b5a8e74df..a58245e0fe 100644 --- a/plugins/shortcuts/api-report.md +++ b/plugins/shortcuts/api-report.md @@ -9,7 +9,7 @@ import { ApiRef } from '@backstage/core-plugin-api'; import { BackstagePlugin } from '@backstage/core-plugin-api'; import { IconComponent } from '@backstage/core-plugin-api'; import { Observable } from '@backstage/types'; -import ObservableImpl from 'zen-observable'; +import { default as Observable_2 } from 'zen-observable'; import { StorageApi } from '@backstage/core-plugin-api'; // Warning: (ae-missing-release-tag) "LocalStoredShortcuts" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) @@ -24,7 +24,9 @@ export class LocalStoredShortcuts implements ShortcutApi { // (undocumented) remove(id: string): Promise; // (undocumented) - shortcut$(): ObservableImpl; + shortcut$(): Observable_2; + // (undocumented) + snapshot(): Shortcut[]; // (undocumented) update(shortcut: Shortcut): Promise; } @@ -46,6 +48,7 @@ export interface ShortcutApi { getColor(url: string): string; remove(id: string): Promise; shortcut$(): Observable; + snapshot(): Shortcut[]; update(shortcut: Shortcut): Promise; }