meyi-insight-ui-dev 1.0.3 → 1.0.4
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/alerts/components/AlertFilters.d.ts +5 -5
- package/dist/features/sources/add-wizard/AddSourceConfigureStep.d.ts +8 -0
- package/dist/features/{connectors/add-wizard/AddConnectorDeployStep.d.ts → sources/add-wizard/AddSourceDeployStep.d.ts} +3 -3
- package/dist/features/sources/add-wizard/AddSourceOverviewStep.d.ts +4 -0
- package/dist/features/sources/add-wizard/AddSourceSourceStep.d.ts +5 -0
- package/dist/features/{connectors/add-wizard/AddConnectorWizard.d.ts → sources/add-wizard/AddSourceWizard.d.ts} +1 -1
- package/dist/features/sources/add-wizard/add-source-options.d.ts +10 -0
- package/dist/features/sources/cloudwatch-wizard/CloudWatchSourceWizard.d.ts +8 -0
- package/dist/features/sources/components/InsightSourceDeleteDialog.d.ts +9 -0
- package/dist/features/sources/components/InsightSourceForm.d.ts +18 -0
- package/dist/features/{connectors/components/ConnectorAwsOnboardingDialog.d.ts → sources/components/SourceAwsOnboardingDialog.d.ts} +1 -1
- package/dist/features/{connectors/components/ConnectorDatadogSetupDialog.d.ts → sources/components/SourceDatadogSetupDialog.d.ts} +2 -2
- package/dist/features/sources/components/SourceDetailsDialog.d.ts +8 -0
- package/dist/features/sources/components/SourceFilters.d.ts +21 -0
- package/dist/features/{connectors/components/ConnectorGrafanaSetupDialog.d.ts → sources/components/SourceGrafanaSetupDialog.d.ts} +2 -2
- package/dist/features/sources/components/SourceGroupedList.d.ts +18 -0
- package/dist/features/{connectors/components/ConnectorPrometheusSetupDialog.d.ts → sources/components/SourcePrometheusSetupDialog.d.ts} +2 -2
- package/dist/features/sources/components/SourceTokenPolicyDialog.d.ts +11 -0
- package/dist/features/sources/components/WebhookSuccessModal.d.ts +6 -0
- package/dist/features/{connectors/detail/ConnectorAlarmsTab.d.ts → sources/detail/SourceAlarmsTab.d.ts} +1 -1
- package/dist/features/sources/detail/SourceConfigurationTab.d.ts +10 -0
- package/dist/features/sources/detail/SourceDetailHeader.d.ts +11 -0
- package/dist/features/sources/detail/SourceDetailPage.d.ts +5 -0
- package/dist/features/sources/detail/SourceDetailTabs.d.ts +6 -0
- package/dist/features/sources/detail/SourceLogsTab.d.ts +6 -0
- package/dist/features/sources/detail/SourceOverviewTab.d.ts +4 -0
- package/dist/features/{connectors/detail/ConnectorSetupTab.d.ts → sources/detail/SourceSetupTab.d.ts} +3 -3
- package/dist/features/sources/detail/SourceTestTab.d.ts +6 -0
- package/dist/features/sources/detail/source-detail-utils.d.ts +18 -0
- package/dist/features/sources/grafana-wizard/GrafanaSourceWizard.d.ts +7 -0
- package/dist/features/sources/index.d.ts +1 -0
- package/dist/features/{connectors/prometheus-wizard/PrometheusConnectorWizard.d.ts → sources/prometheus-wizard/PrometheusSourceWizard.d.ts} +1 -1
- package/dist/features/sources/source-selection/SourceSourcePickerDialog.d.ts +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +115 -115
- package/dist/index.mjs +19088 -19041
- package/dist/services/insight.d.ts +42 -35
- package/dist/style.css +1 -1
- package/dist/types.d.ts +37 -37
- package/package.json +1 -1
- package/dist/features/connectors/add-wizard/AddConnectorConfigureStep.d.ts +0 -8
- package/dist/features/connectors/add-wizard/AddConnectorOverviewStep.d.ts +0 -4
- package/dist/features/connectors/add-wizard/AddConnectorSourceStep.d.ts +0 -5
- package/dist/features/connectors/add-wizard/add-connector-options.d.ts +0 -10
- package/dist/features/connectors/cloudwatch-wizard/CloudWatchConnectorWizard.d.ts +0 -8
- package/dist/features/connectors/components/ConnectorDetailsDialog.d.ts +0 -8
- package/dist/features/connectors/components/ConnectorFilters.d.ts +0 -21
- package/dist/features/connectors/components/ConnectorGroupedList.d.ts +0 -20
- package/dist/features/connectors/components/ConnectorTokenPolicyDialog.d.ts +0 -11
- package/dist/features/connectors/components/InsightConnectorDeleteDialog.d.ts +0 -9
- package/dist/features/connectors/components/InsightConnectorForm.d.ts +0 -18
- package/dist/features/connectors/components/WebhookSuccessModal.d.ts +0 -6
- package/dist/features/connectors/detail/ConnectorConfigurationTab.d.ts +0 -10
- package/dist/features/connectors/detail/ConnectorDetailHeader.d.ts +0 -11
- package/dist/features/connectors/detail/ConnectorDetailPage.d.ts +0 -5
- package/dist/features/connectors/detail/ConnectorDetailTabs.d.ts +0 -6
- package/dist/features/connectors/detail/ConnectorLogsTab.d.ts +0 -6
- package/dist/features/connectors/detail/ConnectorOverviewTab.d.ts +0 -4
- package/dist/features/connectors/detail/ConnectorTestTab.d.ts +0 -6
- package/dist/features/connectors/detail/connector-detail-utils.d.ts +0 -18
- package/dist/features/connectors/grafana-wizard/GrafanaConnectorWizard.d.ts +0 -7
- package/dist/features/connectors/index.d.ts +0 -1
- package/dist/features/connectors/source-selection/ConnectorSourcePickerDialog.d.ts +0 -6
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InsightSource } from '../../../types.js';
|
|
2
2
|
interface Props {
|
|
3
3
|
search: string;
|
|
4
4
|
onSearchChange: (value: string) => void;
|
|
5
5
|
severityFilter: string[];
|
|
6
6
|
onSeverityChange: (severities: string[]) => void;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
sourceFilter: string[];
|
|
8
|
+
onSourceChange: (sources: string[]) => void;
|
|
9
|
+
sources: InsightSource[];
|
|
10
10
|
loading?: boolean;
|
|
11
11
|
onRefresh?: () => void;
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}
|
|
14
|
-
export declare function AlertFilters({ search, onSearchChange, severityFilter, onSeverityChange,
|
|
14
|
+
export declare function AlertFilters({ search, onSearchChange, severityFilter, onSeverityChange, sourceFilter, onSourceChange, sources, loading, onRefresh, children, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InsightSourceType } from '../../../types.js';
|
|
2
|
+
export declare function AddSourceConfigureStep({ type, name, description, onNameChange, onDescriptionChange, }: {
|
|
3
|
+
type: InsightSourceType;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
onNameChange: (value: string) => void;
|
|
7
|
+
onDescriptionChange: (value: string) => void;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InsightCloudTrailConsoleDeploy, InsightCloudWatchConsoleDeployResult,
|
|
2
|
-
export declare function
|
|
3
|
-
type:
|
|
1
|
+
import { InsightCloudTrailConsoleDeploy, InsightCloudWatchConsoleDeployResult, InsightSourceType, InsightDatadogOnboarding, InsightGrafanaOnboarding, InsightPrometheusOnboarding } from '../../../types.js';
|
|
2
|
+
export declare function AddSourceDeployStep({ type, webhookUrl, loading, cloudWatch, cloudTrail, grafana, prometheus, datadog, }: {
|
|
3
|
+
type: InsightSourceType;
|
|
4
4
|
webhookUrl: string;
|
|
5
5
|
loading: boolean;
|
|
6
6
|
cloudWatch: InsightCloudWatchConsoleDeployResult | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InsightSourceType } from '../../../types.js';
|
|
2
|
+
export type AddSourceSourceOption = {
|
|
3
|
+
type: InsightSourceType;
|
|
4
|
+
label: string;
|
|
5
|
+
description: string;
|
|
6
|
+
mono: string;
|
|
7
|
+
color: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const ADD_CONNECTOR_SOURCES: AddSourceSourceOption[];
|
|
10
|
+
export declare function getSourceSourceOption(type: InsightSourceType): AddSourceSourceOption;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InsightSource } from '../../../types.js';
|
|
2
|
+
export declare function CloudWatchSourceWizard({ open, onOpenChange, onCreated, source, onAccessKeyDeploy, }: {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
onCreated: () => void;
|
|
6
|
+
source?: InsightSource | null;
|
|
7
|
+
onAccessKeyDeploy?: (source: InsightSource) => void;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InsightSource } from '../../../types.js';
|
|
2
|
+
interface InsightSourceDeleteDialogProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
source: InsightSource | null;
|
|
6
|
+
onConfirm: () => Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
export declare function InsightSourceDeleteDialog({ open, onOpenChange, source, onConfirm, }: InsightSourceDeleteDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { InsightSource, InsightSourceType } from '../../../types.js';
|
|
2
|
+
export declare const CONNECTOR_META: Record<InsightSourceType, {
|
|
3
|
+
label: string;
|
|
4
|
+
Icon: any;
|
|
5
|
+
color: string;
|
|
6
|
+
}>;
|
|
7
|
+
interface InsightSourceFormProps {
|
|
8
|
+
open: boolean;
|
|
9
|
+
source: InsightSource | null;
|
|
10
|
+
submitting: boolean;
|
|
11
|
+
onClose: () => void;
|
|
12
|
+
onSubmit: (name: string, type: InsightSourceType, description?: string) => void;
|
|
13
|
+
createdWebhookUrl?: string | null;
|
|
14
|
+
onWebhookModalClose?: () => void;
|
|
15
|
+
initialType?: InsightSourceType | null;
|
|
16
|
+
}
|
|
17
|
+
export declare function InsightSourceForm({ open, source, submitting, onClose, onSubmit, createdWebhookUrl, onWebhookModalClose, initialType, }: InsightSourceFormProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -37,5 +37,5 @@ interface Props {
|
|
|
37
37
|
onDeploy: () => Promise<void>;
|
|
38
38
|
onOpenChange: (open: boolean) => void;
|
|
39
39
|
}
|
|
40
|
-
export declare function
|
|
40
|
+
export declare function SourceAwsOnboardingDialog({ open, loadingDiscover, deploying, discoveringReady, credentials, naming, alarmDefaults, selectedAlarmNames, selectedMetricKeys, discoverData, deployData, templateDownloadUrl, onChangeCredentials, onChangeNaming, onChangeAlarmDefaults, onToggleAlarm, onToggleMetric, onDiscover, onDeploy, onOpenChange, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
41
41
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InsightDatadogOnboarding, InsightDatadogSetupResult } from '../../../types.js';
|
|
2
|
-
interface
|
|
2
|
+
interface SourceDatadogSetupDialogProps {
|
|
3
3
|
open: boolean;
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
configuring?: boolean;
|
|
@@ -17,5 +17,5 @@ interface ConnectorDatadogSetupDialogProps {
|
|
|
17
17
|
onConfigure: () => Promise<void>;
|
|
18
18
|
onOpenChange: (open: boolean) => void;
|
|
19
19
|
}
|
|
20
|
-
export declare function
|
|
20
|
+
export declare function SourceDatadogSetupDialog({ open, loading, configuring, data, result, site, webhookName, datadogApiKey, datadogAppKey, onSiteChange, onWebhookNameChange, onDatadogApiKeyChange, onDatadogAppKeyChange, onRefresh, onConfigure, onOpenChange, }: SourceDatadogSetupDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InsightSource } from '../../../types.js';
|
|
2
|
+
interface SourceDetailsDialogProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
source: InsightSource | null;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function SourceDetailsDialog({ open, source, onOpenChange }: SourceDetailsDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { InsightSourceType } from '../../../types.js';
|
|
2
|
+
export type SourceFiltersState = {
|
|
3
|
+
sourceTypes: InsightSourceType[];
|
|
4
|
+
status: string;
|
|
5
|
+
region: string;
|
|
6
|
+
};
|
|
7
|
+
interface Props {
|
|
8
|
+
search: string;
|
|
9
|
+
filters: SourceFiltersState;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
onSearchChange: (value: string) => void;
|
|
12
|
+
onFiltersChange: (filters: SourceFiltersState) => void;
|
|
13
|
+
onRefresh: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare function getDefaultSourceFilters(): {
|
|
16
|
+
sourceTypes: InsightSourceType[];
|
|
17
|
+
status: string;
|
|
18
|
+
region: string;
|
|
19
|
+
};
|
|
20
|
+
export declare function SourceFilters({ search, filters, loading, onSearchChange, onFiltersChange, onRefresh, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InsightGrafanaOnboarding, InsightGrafanaSetupResult } from '../../../types.js';
|
|
2
|
-
interface
|
|
2
|
+
interface SourceGrafanaSetupDialogProps {
|
|
3
3
|
open: boolean;
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
configuring?: boolean;
|
|
@@ -21,5 +21,5 @@ interface ConnectorGrafanaSetupDialogProps {
|
|
|
21
21
|
onConfigure: () => Promise<void>;
|
|
22
22
|
onOpenChange: (open: boolean) => void;
|
|
23
23
|
}
|
|
24
|
-
export declare function
|
|
24
|
+
export declare function SourceGrafanaSetupDialog({ open, loading, configuring, data, result, grafanaBaseUrl, grafanaToken, contactPointName, autoRoute, matcherLabel, matcherValue, onGrafanaBaseUrlChange, onGrafanaTokenChange, onContactPointNameChange, onAutoRouteChange, onMatcherLabelChange, onMatcherValueChange, onRefresh, onConfigure, onOpenChange, }: SourceGrafanaSetupDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { InsightSource } from '../../../types.js';
|
|
2
|
+
type SourceCallbacks = {
|
|
3
|
+
deletingId: string | null;
|
|
4
|
+
onView: (source: InsightSource) => void;
|
|
5
|
+
onEdit: (source: InsightSource) => void;
|
|
6
|
+
onDelete: (id: string) => void;
|
|
7
|
+
onManageTokenPolicy: (source: InsightSource) => void;
|
|
8
|
+
onAwsSetup: (source: InsightSource) => void;
|
|
9
|
+
onGrafanaSetup: (source: InsightSource) => void;
|
|
10
|
+
onPrometheusSetup: (source: InsightSource) => void;
|
|
11
|
+
onDatadogSetup: (source: InsightSource) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare function sourceRegionFilterValue(source: InsightSource): string;
|
|
14
|
+
export declare function sourceRowStatus(source: InsightSource): "active" | "disabled" | "degraded" | "error";
|
|
15
|
+
export declare function SourceGroupedList({ sources, ...callbacks }: {
|
|
16
|
+
sources: InsightSource[];
|
|
17
|
+
} & SourceCallbacks): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InsightPrometheusOnboarding } from '../../../types.js';
|
|
2
|
-
interface
|
|
2
|
+
interface SourcePrometheusSetupDialogProps {
|
|
3
3
|
open: boolean;
|
|
4
4
|
loading?: boolean;
|
|
5
5
|
data: InsightPrometheusOnboarding | null;
|
|
@@ -16,5 +16,5 @@ interface ConnectorPrometheusSetupDialogProps {
|
|
|
16
16
|
onRefresh: () => Promise<void>;
|
|
17
17
|
onOpenChange: (open: boolean) => void;
|
|
18
18
|
}
|
|
19
|
-
export declare function
|
|
19
|
+
export declare function SourcePrometheusSetupDialog({ open, loading, data, prometheusBaseUrl, alertmanagerBaseUrl, checkingStatus, statusResult, onPrometheusBaseUrlChange, onAlertmanagerBaseUrlChange, onCheckStatus, onRefresh, onOpenChange, }: SourcePrometheusSetupDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InsightSource } from '../../../types.js';
|
|
2
|
+
interface SourceTokenPolicyDialogProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
source: InsightSource | null;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
submitting?: boolean;
|
|
7
|
+
onOpenChange: (open: boolean) => void;
|
|
8
|
+
onSubmit: (mode: "expires" | "unlimited", ttlDays?: number) => Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
export declare function SourceTokenPolicyDialog({ open, source, loading, submitting, onOpenChange, onSubmit, }: SourceTokenPolicyDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InsightSource } from '../../../types.js';
|
|
2
|
+
type Props = {
|
|
3
|
+
source: InsightSource;
|
|
4
|
+
saving: boolean;
|
|
5
|
+
onSave: (data: {
|
|
6
|
+
name: string;
|
|
7
|
+
}) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare function SourceConfigurationTab({ source, saving, onSave }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InsightSource } from '../../../types.js';
|
|
2
|
+
type Props = {
|
|
3
|
+
source: InsightSource;
|
|
4
|
+
disabling: boolean;
|
|
5
|
+
testing: boolean;
|
|
6
|
+
onBack: () => void;
|
|
7
|
+
onToggleActive: () => void;
|
|
8
|
+
onTest: () => void;
|
|
9
|
+
};
|
|
10
|
+
export declare function SourceDetailHeader({ source, disabling, testing, onBack, onToggleActive, onTest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type SourceDetailTab = "overview" | "alarms" | "configuration" | "setup" | "logs" | "test";
|
|
2
|
+
export declare function SourceDetailTabs({ activeTab, showSetup, onChange, }: {
|
|
3
|
+
activeTab: SourceDetailTab;
|
|
4
|
+
showSetup: boolean;
|
|
5
|
+
onChange: (tab: SourceDetailTab) => void;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InsightCloudTrailConsoleDeploy, InsightCloudWatchConsoleDeployResult,
|
|
2
|
-
export declare function
|
|
3
|
-
|
|
1
|
+
import { InsightCloudTrailConsoleDeploy, InsightCloudWatchConsoleDeployResult, InsightSource, InsightDatadogOnboarding, InsightGrafanaOnboarding, InsightPrometheusOnboarding } from '../../../types.js';
|
|
2
|
+
export declare function SourceSetupTab({ source, loading, cloudWatch, cloudTrail, grafana, prometheus, datadog, }: {
|
|
3
|
+
source: InsightSource;
|
|
4
4
|
loading: boolean;
|
|
5
5
|
cloudWatch: InsightCloudWatchConsoleDeployResult | null;
|
|
6
6
|
cloudTrail: InsightCloudTrailConsoleDeploy | null;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { InsightSource, InsightSourceType } from '../../../types.js';
|
|
2
|
+
export declare const sourceMeta: Record<string, {
|
|
3
|
+
label: string;
|
|
4
|
+
mono: string;
|
|
5
|
+
color: string;
|
|
6
|
+
}>;
|
|
7
|
+
export declare function normalizeSourceType(value: unknown): InsightSourceType;
|
|
8
|
+
export declare function sourceProvider(source: InsightSource): {
|
|
9
|
+
label: string;
|
|
10
|
+
mono: string;
|
|
11
|
+
color: string;
|
|
12
|
+
};
|
|
13
|
+
export declare function sourceRegion(source: InsightSource): string;
|
|
14
|
+
export declare function sourceEndpoint(source: InsightSource): string;
|
|
15
|
+
export declare function sourceSetupStatus(source: InsightSource): string;
|
|
16
|
+
export declare function isSourceSetupComplete(source: InsightSource): boolean;
|
|
17
|
+
export declare function timeAgo(value?: string | null): string;
|
|
18
|
+
export declare function severityClass(value: string): "im-sev-critical" | "im-sev-high" | "im-sev-medium" | "im-sev-low";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InsightSource } from '../../../types.js';
|
|
2
|
+
export declare function GrafanaSourceWizard({ open, source, onOpenChange, onCreated, }: {
|
|
3
|
+
open: boolean;
|
|
4
|
+
source?: InsightSource | null;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
onCreated: () => void;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function InsightSourcesPage(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { InsightSourceType } from '../../../types.js';
|
|
2
|
+
export declare function SourceSourcePickerDialog({ open, onOpenChange, onSelect, }: {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
onSelect: (type: InsightSourceType) => void;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { InsightPage, type InsightPageProps } from './InsightPage.js';
|
|
2
2
|
export { configureApi, api } from './api.js';
|
|
3
3
|
export { createRouteTree } from './router.js';
|
|
4
|
-
export type { InsightIncident, InsightAnalysisResult, NewInsightAnalysisResult,
|
|
4
|
+
export type { InsightIncident, InsightAnalysisResult, NewInsightAnalysisResult, InsightSource, InsightSourceType, InsightAlert, InsightAlertSeverity, InsightAlertStatus, InsightProject, InsightSop, InsightSopSeverity, InsightSopStatus, InsightWorkflow, InsightWorkflowExecution, } from './types.js';
|
|
5
5
|
export declare const insightNavItems: ({
|
|
6
6
|
title: string;
|
|
7
7
|
url: string;
|