update system metadata service to be observable-first

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2025-08-19 17:09:54 -07:00
parent 59ba9274df
commit a0d9373c3f
15 changed files with 420 additions and 121 deletions
@@ -14,6 +14,8 @@
* limitations under the License.
*/
import { Observable } from '@backstage/types';
/**
* @public
*/
@@ -26,5 +28,5 @@ export interface BackstageInstance {
* @public
*/
export interface SystemMetadataService {
introspect(): Promise<{ instances: BackstageInstance[] }>;
instances(): Observable<BackstageInstance[]>;
}