meyi-insight-ui-dev 1.0.10 → 1.0.12
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.
- package/dist/features/connectors/ConnectorCard.d.ts +6 -0
- package/dist/features/connectors/connector.service.d.ts +17 -0
- package/dist/features/connectors/index.d.ts +1 -0
- package/dist/features/connectors/types.d.ts +26 -0
- package/dist/index.js +82 -82
- package/dist/index.mjs +14483 -14191
- package/dist/router.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Connector } from './types.js';
|
|
2
|
+
export declare const topologyApi: import('axios').AxiosInstance;
|
|
3
|
+
export declare const connectorService: {
|
|
4
|
+
/**
|
|
5
|
+
* GET /connectors
|
|
6
|
+
* Returns all AWS account connectors for the current tenant.
|
|
7
|
+
*/
|
|
8
|
+
list: () => Promise<{
|
|
9
|
+
connectors: Connector[];
|
|
10
|
+
total: number;
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function InsightConnectorsPage(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export type AccessStatus = 'Active' | 'Inactive' | 'Failed';
|
|
2
|
+
export type ConnectionStatus = 'PENDING' | 'CONNECTED' | 'FAILED';
|
|
3
|
+
export interface Connector {
|
|
4
|
+
id: string;
|
|
5
|
+
tenantId: string;
|
|
6
|
+
accountId: string;
|
|
7
|
+
accountName: string;
|
|
8
|
+
email: string | null;
|
|
9
|
+
/** STS access verification result per-account */
|
|
10
|
+
accessStatus: AccessStatus;
|
|
11
|
+
/** Overall connection status from the parent aws_connections row */
|
|
12
|
+
connectionStatus: ConnectionStatus;
|
|
13
|
+
connectionId: string;
|
|
14
|
+
managementAccountId: string | null;
|
|
15
|
+
externalId: string;
|
|
16
|
+
roleName: string;
|
|
17
|
+
roleArn: string;
|
|
18
|
+
/** Whether this account has monitoring/billing enabled */
|
|
19
|
+
selected: boolean;
|
|
20
|
+
joinedMethod: string | null;
|
|
21
|
+
connectedAt: string | null;
|
|
22
|
+
createdAt: string;
|
|
23
|
+
updatedAt: string;
|
|
24
|
+
/** Async status from topology discovery (e.g. queued, running, completed, failed) */
|
|
25
|
+
discoveryStatus?: string;
|
|
26
|
+
}
|