meyi-insight-ui-dev 1.0.18 → 1.0.19

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.
@@ -0,0 +1,6 @@
1
+ import { Connector } from '../types.js';
2
+ interface ConnectorGroupedListProps {
3
+ connectors: Connector[];
4
+ }
5
+ export declare function ConnectorGroupedList({ connectors }: ConnectorGroupedListProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -9,6 +9,11 @@ export declare const connectorService: {
9
9
  connectors: Connector[];
10
10
  total: number;
11
11
  }>;
12
+ /**
13
+ * GET /connectors/:id
14
+ * Returns a specific AWS account connector by ID or Account ID.
15
+ */
16
+ getById: (id: string) => Promise<Connector | null>;
12
17
  /**
13
18
  * GET /status/:connectorId
14
19
  * Gets the topology discovery status from the topology API.
@@ -0,0 +1,7 @@
1
+ import { Connector } from '../types.js';
2
+ interface Props {
3
+ connector: Connector;
4
+ onBack: () => void;
5
+ }
6
+ export declare function ConnectorDetailHeader({ connector, onBack }: Props): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,5 @@
1
+ interface Props {
2
+ connectorId: string;
3
+ }
4
+ export declare function ConnectorDetailPage({ connectorId }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Connector } from '../types.js';
2
+ interface Props {
3
+ connector: Connector;
4
+ }
5
+ export declare function ConnectorOverviewTab({ connector }: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Connector } from '../types.js';
2
+ interface Props {
3
+ connector: Connector;
4
+ onRefreshDiscovery?: () => void;
5
+ }
6
+ export declare function ConnectorTopologyTab({ connector, onRefreshDiscovery }: Props): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -1,5 +1,5 @@
1
- export declare function InsightIncidentDashboardPage({ onViewIncident, onViewList, onViewAnalytics, }: {
1
+ export declare function InsightIncidentDashboardPage({ initialView, onViewIncident, onViewList, }: {
2
+ initialView?: "overview" | "analytics";
2
3
  onViewIncident?: (id: string) => void;
3
4
  onViewList?: () => void;
4
- onViewAnalytics?: () => void;
5
5
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,20 +1,25 @@
1
1
  import { InsightSourceType } from '../../../types.js';
2
+ import { Connector } from '../../connectors/types.js';
2
3
  export interface CloudTrailDeploymentConfig {
3
4
  deploymentMode: "Organizations" | "Standalone";
4
- /** Standalone: chosen connector accountId. Organizations: '' (all accounts via AutoDeployment) */
5
+ /** Standalone: chosen connector accountId */
5
6
  targetAccounts: string;
7
+ /** Organizations: chosen managementAccountId when multiple exist */
8
+ managementAccountId?: string;
6
9
  createTrail: boolean;
7
10
  }
8
11
  declare const DEFAULT_DEPLOYMENT_CONFIG: CloudTrailDeploymentConfig;
9
12
  export { DEFAULT_DEPLOYMENT_CONFIG };
10
- export declare function AddSourceConfigureStep({ type, name, description, onNameChange, onDescriptionChange, awsRegion, onAwsRegionChange, deploymentConfig, onDeploymentConfigChange, }: {
13
+ export declare function CloudTrailDeploymentForm({ config, onChange, onConnectorsLoaded, }: {
14
+ config: CloudTrailDeploymentConfig;
15
+ onChange: (c: CloudTrailDeploymentConfig) => void;
16
+ onConnectorsLoaded?: (mgmtConnector: Connector | null, allConnectors: Connector[]) => void;
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ export declare function AddSourceConfigureStep({ type, name, onNameChange, deploymentConfig, onDeploymentConfigChange, onConnectorsLoaded, }: {
11
19
  type: InsightSourceType;
12
20
  name: string;
13
- description: string;
14
21
  onNameChange: (value: string) => void;
15
- onDescriptionChange: (value: string) => void;
16
- awsRegion: string;
17
- onAwsRegionChange: (value: string) => void;
18
22
  deploymentConfig?: CloudTrailDeploymentConfig;
19
23
  onDeploymentConfigChange?: (config: CloudTrailDeploymentConfig) => void;
24
+ onConnectorsLoaded?: (mgmtConnector: Connector | null, allConnectors: Connector[]) => void;
20
25
  }): import("react/jsx-runtime").JSX.Element;
@@ -8,3 +8,4 @@ export type AddSourceSourceOption = {
8
8
  };
9
9
  export declare const ADD_CONNECTOR_SOURCES: AddSourceSourceOption[];
10
10
  export declare function getSourceSourceOption(type: InsightSourceType): AddSourceSourceOption;
11
+ export declare const DEPLOYMENT_SUMMARY: Record<InsightSourceType, string[]>;
package/dist/index.d.ts CHANGED
@@ -7,14 +7,12 @@ export declare const insightNavItems: ({
7
7
  url: string;
8
8
  icon: string;
9
9
  roles: string[];
10
- badge?: undefined;
11
10
  items?: undefined;
12
11
  } | {
13
12
  title: string;
14
13
  url: string;
15
14
  icon: string;
16
15
  roles: string[];
17
- badge: string;
18
16
  items: {
19
17
  title: string;
20
18
  url: string;