meyi-insight-ui-dev 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  import { Connector } from './types.js';
2
+ export declare const topologyApi: import('axios').AxiosInstance;
2
3
  export declare const connectorService: {
3
4
  /**
4
5
  * GET /connectors
@@ -8,4 +9,19 @@ export declare const connectorService: {
8
9
  connectors: Connector[];
9
10
  total: number;
10
11
  }>;
12
+ /**
13
+ * GET /status/:connectorId
14
+ * Gets the topology discovery status from the topology API.
15
+ */
16
+ getDiscoveryStatus: (connectorId: string) => Promise<string | null>;
17
+ /**
18
+ * POST /discover
19
+ * Manually trigger a topology discovery for the given connector.
20
+ */
21
+ triggerDiscovery: (connectorId: string) => Promise<boolean>;
22
+ /**
23
+ * GET /export/:connectorId
24
+ * Export the complete topology map as JSON for the given connector.
25
+ */
26
+ exportTopology: (connectorId: string) => Promise<Blob | null>;
11
27
  };
@@ -21,4 +21,6 @@ export interface Connector {
21
21
  connectedAt: string | null;
22
22
  createdAt: string;
23
23
  updatedAt: string;
24
+ /** Async status from topology discovery (e.g. queued, running, completed, failed) */
25
+ discoveryStatus?: string;
24
26
  }