From 5416c9af063ddfea85c4b65ab7dfcd3cdbf62444 Mon Sep 17 00:00:00 2001 From: Alex Rybchenko Date: Wed, 13 Jul 2022 17:10:28 +0200 Subject: [PATCH] updated api-report Signed-off-by: Alex Rybchenko --- plugins/shortcuts/api-report.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; }