@burdenoff/microfe-adaptercloud 2026.707.1 → 2026.710.2
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/adaptercloud/AdapterCloudRoot.d.ts +5 -0
- package/dist/adaptercloud/AdapterCloudRoot.d.ts.map +1 -0
- package/dist/adaptercloud/AdapterCloudRoutes.d.ts +4 -0
- package/dist/adaptercloud/AdapterCloudRoutes.d.ts.map +1 -0
- package/dist/adaptercloud/components/ConfirmDialog.d.ts +28 -0
- package/dist/adaptercloud/components/ConfirmDialog.d.ts.map +1 -0
- package/dist/adaptercloud/components/DataState.d.ts +20 -0
- package/dist/adaptercloud/components/DataState.d.ts.map +1 -0
- package/dist/adaptercloud/components/EmptyState.d.ts +14 -0
- package/dist/adaptercloud/components/EmptyState.d.ts.map +1 -0
- package/dist/adaptercloud/components/MetricsCard.d.ts +16 -0
- package/dist/adaptercloud/components/MetricsCard.d.ts.map +1 -0
- package/dist/adaptercloud/components/PageLayout.d.ts +24 -0
- package/dist/adaptercloud/components/PageLayout.d.ts.map +1 -0
- package/dist/adaptercloud/components/SeverityBadge.d.ts +10 -0
- package/dist/adaptercloud/components/SeverityBadge.d.ts.map +1 -0
- package/dist/adaptercloud/components/StatusBadge.d.ts +11 -0
- package/dist/adaptercloud/components/StatusBadge.d.ts.map +1 -0
- package/dist/adaptercloud/components/index.d.ts +12 -0
- package/dist/adaptercloud/components/index.d.ts.map +1 -0
- package/dist/adaptercloud/components/viz/BarChart.d.ts +18 -0
- package/dist/adaptercloud/components/viz/BarChart.d.ts.map +1 -0
- package/dist/adaptercloud/components/viz/Sparkline.d.ts +11 -0
- package/dist/adaptercloud/components/viz/Sparkline.d.ts.map +1 -0
- package/dist/adaptercloud/components/viz/StackedBar.d.ts +19 -0
- package/dist/adaptercloud/components/viz/StackedBar.d.ts.map +1 -0
- package/dist/adaptercloud/components/viz/TopologyGraph.d.ts +28 -0
- package/dist/adaptercloud/components/viz/TopologyGraph.d.ts.map +1 -0
- package/dist/adaptercloud/components/viz/index.d.ts +5 -0
- package/dist/adaptercloud/components/viz/index.d.ts.map +1 -0
- package/dist/adaptercloud/context/AdapterCloudContext.d.ts +16 -0
- package/dist/adaptercloud/context/AdapterCloudContext.d.ts.map +1 -0
- package/dist/adaptercloud/context/index.d.ts +6 -0
- package/dist/adaptercloud/context/index.d.ts.map +1 -0
- package/dist/adaptercloud/hooks/index.d.ts +7 -0
- package/dist/adaptercloud/hooks/index.d.ts.map +1 -0
- package/dist/adaptercloud/hooks/useAdapterCloudApi.d.ts +117 -0
- package/dist/adaptercloud/hooks/useAdapterCloudApi.d.ts.map +1 -0
- package/dist/adaptercloud/index.d.ts +12 -0
- package/dist/adaptercloud/index.d.ts.map +1 -0
- package/dist/adaptercloud/lib/toast.d.ts +11 -0
- package/dist/adaptercloud/lib/toast.d.ts.map +1 -0
- package/dist/adaptercloud/pages/OverviewPage.d.ts +12 -0
- package/dist/adaptercloud/pages/OverviewPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/adapters/AdapterDetailPage.d.ts +9 -0
- package/dist/adaptercloud/pages/adapters/AdapterDetailPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/adapters/AdapterFormPage.d.ts +10 -0
- package/dist/adaptercloud/pages/adapters/AdapterFormPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/adapters/AdaptersListPage.d.ts +10 -0
- package/dist/adaptercloud/pages/adapters/AdaptersListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/connections/ConnectionDetailPage.d.ts +11 -0
- package/dist/adaptercloud/pages/connections/ConnectionDetailPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/connections/ConnectionFormPage.d.ts +10 -0
- package/dist/adaptercloud/pages/connections/ConnectionFormPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/connections/ConnectionsListPage.d.ts +12 -0
- package/dist/adaptercloud/pages/connections/ConnectionsListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/costs/CostsPage.d.ts +9 -0
- package/dist/adaptercloud/pages/costs/CostsPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/drift/DriftListPage.d.ts +10 -0
- package/dist/adaptercloud/pages/drift/DriftListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/policies/PoliciesListPage.d.ts +11 -0
- package/dist/adaptercloud/pages/policies/PoliciesListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/policies/PolicyDetailPage.d.ts +10 -0
- package/dist/adaptercloud/pages/policies/PolicyDetailPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/policies/PolicyFormPage.d.ts +11 -0
- package/dist/adaptercloud/pages/policies/PolicyFormPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/resources/ResourceDetailPage.d.ts +10 -0
- package/dist/adaptercloud/pages/resources/ResourceDetailPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/resources/ResourcesListPage.d.ts +10 -0
- package/dist/adaptercloud/pages/resources/ResourcesListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/sync-runs/SyncRunsListPage.d.ts +13 -0
- package/dist/adaptercloud/pages/sync-runs/SyncRunsListPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/topology/TopologyPage.d.ts +14 -0
- package/dist/adaptercloud/pages/topology/TopologyPage.d.ts.map +1 -0
- package/dist/adaptercloud/pages/violations/ViolationsListPage.d.ts +11 -0
- package/dist/adaptercloud/pages/violations/ViolationsListPage.d.ts.map +1 -0
- package/dist/adaptercloud/store/adaptercloudStore.d.ts +54 -0
- package/dist/adaptercloud/store/adaptercloudStore.d.ts.map +1 -0
- package/dist/adaptercloud/store/index.d.ts +6 -0
- package/dist/adaptercloud/store/index.d.ts.map +1 -0
- package/dist/adaptercloud/types/index.d.ts +378 -0
- package/dist/adaptercloud/types/index.d.ts.map +1 -0
- package/dist/adaptercloud/utils/cn.d.ts +4 -0
- package/dist/adaptercloud/utils/cn.d.ts.map +1 -0
- package/dist/adaptercloud/utils/cn.js +2 -2
- package/dist/adaptercloud/utils/domain.d.ts +26 -0
- package/dist/adaptercloud/utils/domain.d.ts.map +1 -0
- package/dist/adaptercloud/utils/formatters.d.ts +33 -0
- package/dist/adaptercloud/utils/formatters.d.ts.map +1 -0
- package/dist/adaptercloud/utils/index.d.ts +8 -0
- package/dist/adaptercloud/utils/index.d.ts.map +1 -0
- package/dist/adaptercloud/utils/navigation.d.ts +20 -0
- package/dist/adaptercloud/utils/navigation.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +23527 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +208 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-operations.js +59 -0
- package/dist/generated/wspace-operations.js.map +1 -0
- package/dist/generated/wspace-types.d.ts +57851 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -1
- package/dist/node_modules/{clsx → .bun/clsx@2.1.1/node_modules/clsx}/dist/clsx.js +1 -1
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +1 -0
- package/dist/node_modules/{tailwind-merge → .bun/tailwind-merge@3.5.0/node_modules/tailwind-merge}/dist/bundle-mjs.js +170 -212
- package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
- package/dist/services/assistantApi.d.ts +68 -0
- package/dist/services/assistantApi.d.ts.map +1 -0
- package/dist/services/assistantApi.js +202 -0
- package/dist/services/assistantApi.js.map +1 -0
- package/dist/services/createSandboxAssistantTransport.d.ts +40 -0
- package/dist/services/createSandboxAssistantTransport.d.ts.map +1 -0
- package/dist/services/createSandboxAssistantTransport.js +120 -0
- package/dist/services/createSandboxAssistantTransport.js.map +1 -0
- package/dist/types/assistant.d.ts +54 -0
- package/dist/types/assistant.d.ts.map +1 -0
- package/dist/utils/pageContext.d.ts +25 -0
- package/dist/utils/pageContext.d.ts.map +1 -0
- package/dist/utils/pageContext.js +47 -0
- package/dist/utils/pageContext.js.map +1 -0
- package/package.json +5 -1
- package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdapterCloudRoot.d.ts","sourceRoot":"","sources":["../../src/adaptercloud/AdapterCloudRoot.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAoBhC,OAAO,KAAK,EAAE,qBAAqB,EAAW,MAAM,SAAS,CAAC;AAsB9D,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA+ItD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdapterCloudRoutes.d.ts","sourceRoot":"","sources":["../../src/adaptercloud/AdapterCloudRoutes.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AAkFhD,eAAO,MAAM,kBAAkB,EAAE,EAgEhC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface ConfirmDialogProps {
|
|
4
|
+
/** Controls visibility. */
|
|
5
|
+
open: boolean;
|
|
6
|
+
/** Called with `false` when the dialog should close (Cancel / overlay / esc). */
|
|
7
|
+
onOpenChange: (open: boolean) => void;
|
|
8
|
+
/** Dialog heading, e.g. "Archive adapter?". */
|
|
9
|
+
title: string;
|
|
10
|
+
/** Supporting body copy explaining the consequence. */
|
|
11
|
+
description?: ReactNode;
|
|
12
|
+
/** Confirm button label. Defaults to "Confirm". */
|
|
13
|
+
confirmLabel: string;
|
|
14
|
+
/** Cancel button label. Defaults to "Cancel". */
|
|
15
|
+
cancelLabel: string;
|
|
16
|
+
/** Invoked when the user confirms. */
|
|
17
|
+
onConfirm: () => void;
|
|
18
|
+
/** When true the confirm button spins and both buttons disable. */
|
|
19
|
+
isPending?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Visual tone of the confirm button. `danger` for destructive actions
|
|
22
|
+
* (archive/disable/cancel), `primary` for neutral consequential ones.
|
|
23
|
+
*/
|
|
24
|
+
tone?: 'danger' | 'primary';
|
|
25
|
+
}
|
|
26
|
+
export declare const ConfirmDialog: FC<ConfirmDialogProps>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=ConfirmDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/components/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAW3C,UAAU,kBAAkB;IAC1B,2BAA2B;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,iFAAiF;IACjF,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mDAAmD;IACnD,YAAY,EAAE,MAAM,CAAC;IACrB,iDAAiD;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,mEAAmE;IACnE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA6ChD,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface DataStateProps {
|
|
4
|
+
isLoading: boolean;
|
|
5
|
+
isError: boolean;
|
|
6
|
+
/** True when the underlying list/record is empty (only checked once loaded). */
|
|
7
|
+
isEmpty?: boolean;
|
|
8
|
+
error?: unknown;
|
|
9
|
+
onRetry?: () => void;
|
|
10
|
+
emptyTitle?: string;
|
|
11
|
+
emptyDescription?: string;
|
|
12
|
+
emptyIcon?: ReactNode;
|
|
13
|
+
emptyAction?: ReactNode;
|
|
14
|
+
emptyIllustration?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
children: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export declare const DataState: FC<DataStateProps>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=DataState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataState.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/components/DataState.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK3C,UAAU,cAAc;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,gFAAgF;IAChF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAQD,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA4DxC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface EmptyStateProps {
|
|
4
|
+
icon?: ReactNode;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
action?: ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
/** Host-served illustration name (e.g. "empty-search", "empty-people"). */
|
|
10
|
+
illustration?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const EmptyState: FC<EmptyStateProps>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=EmptyState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/components/EmptyState.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3C,UAAU,eAAe;IACvB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA0B1C,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { TrendDirection } from '../types';
|
|
3
|
+
|
|
4
|
+
interface MetricsCardProps {
|
|
5
|
+
icon: ReactNode;
|
|
6
|
+
value: string | number;
|
|
7
|
+
label: string;
|
|
8
|
+
trend?: TrendDirection;
|
|
9
|
+
trendValue?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
/** Renders the featured hero metric (glass treatment + accent glow). */
|
|
12
|
+
featured?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const MetricsCard: FC<MetricsCardProps>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=MetricsCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MetricsCard.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/components/MetricsCard.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,UAAU,gBAAgB;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAQD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAiC5C,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
interface PageLayoutProps {
|
|
4
|
+
title: ReactNode;
|
|
5
|
+
description?: string;
|
|
6
|
+
actions?: ReactNode;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
className?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Plain-language "story" for the page — WHAT it is for and the use-case —
|
|
11
|
+
* rendered as a calm {@link PagePurpose} line under the header so every page
|
|
12
|
+
* is self-explanatory for a new user. Prefer this over `description` for the
|
|
13
|
+
* primary page-purpose copy.
|
|
14
|
+
*/
|
|
15
|
+
purpose?: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Enables the living-glass hero backdrop (AuroraBackground) behind the page
|
|
18
|
+
* header. Use on at most ONE page per MFE (the primary landing page).
|
|
19
|
+
*/
|
|
20
|
+
hero?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare const PageLayout: FC<PageLayoutProps>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=PageLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/components/PageLayout.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3C,UAAU,eAAe;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAwBD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAoC1C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { AdaSeverity } from '../types';
|
|
3
|
+
|
|
4
|
+
interface SeverityBadgeProps {
|
|
5
|
+
severity: AdaSeverity;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const SeverityBadge: FC<SeverityBadgeProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=SeverityBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SeverityBadge.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/components/SeverityBadge.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,WAAW,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAUhD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
interface StatusBadgeProps {
|
|
4
|
+
status: string;
|
|
5
|
+
/** Optional explicit label override (defaults to humanized status). */
|
|
6
|
+
label?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const StatusBadge: FC<StatusBadgeProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=StatusBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/components/StatusBadge.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAIhC,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiED,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAwB5C,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Components Index
|
|
3
|
+
* @module adaptercloud/components
|
|
4
|
+
*/
|
|
5
|
+
export { PageLayout } from './PageLayout';
|
|
6
|
+
export { MetricsCard } from './MetricsCard';
|
|
7
|
+
export { StatusBadge } from './StatusBadge';
|
|
8
|
+
export { SeverityBadge } from './SeverityBadge';
|
|
9
|
+
export { EmptyState } from './EmptyState';
|
|
10
|
+
export { DataState } from './DataState';
|
|
11
|
+
export { ConfirmDialog } from './ConfirmDialog';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/components/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface BarDatum {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
value: number;
|
|
7
|
+
/** Preformatted value shown on the right (e.g. "$22,400"). */
|
|
8
|
+
display: string;
|
|
9
|
+
}
|
|
10
|
+
interface BarChartProps {
|
|
11
|
+
data: BarDatum[];
|
|
12
|
+
/** Semantic-token fill class for the bar (default accent-blue). */
|
|
13
|
+
barClassName?: string;
|
|
14
|
+
labelWidthClassName?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const BarChart: FC<BarChartProps>;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=BarChart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BarChart.d.ts","sourceRoot":"","sources":["../../../../src/adaptercloud/components/viz/BarChart.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,QAAQ;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,aAAa;IACrB,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,mEAAmE;IACnE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CA2BtC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
interface SparklineProps {
|
|
4
|
+
points: number[];
|
|
5
|
+
/** Wrapper class controls size + color (via text-*). Default accent-blue, full width, 40px tall. */
|
|
6
|
+
className?: string;
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const Sparkline: FC<SparklineProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=Sparkline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sparkline.d.ts","sourceRoot":"","sources":["../../../../src/adaptercloud/components/viz/Sparkline.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAS,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,cAAc;IACtB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,oGAAoG;IACpG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA8CxC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface StackedSegment {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
value: number;
|
|
7
|
+
/** Semantic-token background class for the segment + legend dot, e.g. `bg-status-success-text`. */
|
|
8
|
+
className: string;
|
|
9
|
+
}
|
|
10
|
+
interface StackedBarProps {
|
|
11
|
+
segments: StackedSegment[];
|
|
12
|
+
showLegend?: boolean;
|
|
13
|
+
/** Bar thickness class (default h-3). */
|
|
14
|
+
heightClassName?: string;
|
|
15
|
+
ariaLabel?: string;
|
|
16
|
+
}
|
|
17
|
+
export declare const StackedBar: FC<StackedBarProps>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=StackedBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StackedBar.d.ts","sourceRoot":"","sources":["../../../../src/adaptercloud/components/viz/StackedBar.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,mGAAmG;IACnG,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,eAAe;IACvB,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yCAAyC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA4C1C,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface TopologyNode {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
/** Column grouping label, e.g. "Public Cloud", "Kubernetes", "Edge / IoT". */
|
|
7
|
+
group: string;
|
|
8
|
+
type?: string;
|
|
9
|
+
/** Resource state — drives the node accent (DRIFTED → warning, ORPHANED → error, else default). */
|
|
10
|
+
state?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface TopologyEdge {
|
|
13
|
+
id: string;
|
|
14
|
+
from: string;
|
|
15
|
+
to: string;
|
|
16
|
+
kind?: string;
|
|
17
|
+
/** Optional: mark an edge as drifted to render it amber. */
|
|
18
|
+
drifted?: boolean;
|
|
19
|
+
}
|
|
20
|
+
interface TopologyGraphProps {
|
|
21
|
+
nodes: TopologyNode[];
|
|
22
|
+
edges: TopologyEdge[];
|
|
23
|
+
selectedId?: string | null;
|
|
24
|
+
onSelect?: (id: string) => void;
|
|
25
|
+
}
|
|
26
|
+
export declare const TopologyGraph: FC<TopologyGraphProps>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=TopologyGraph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopologyGraph.d.ts","sourceRoot":"","sources":["../../../../src/adaptercloud/components/viz/TopologyGraph.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAW,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEzC,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mGAAmG;IACnG,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAQD,UAAU,kBAAkB;IAC1B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA6HhD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { StackedBar, type StackedSegment } from './StackedBar';
|
|
2
|
+
export { BarChart, type BarDatum } from './BarChart';
|
|
3
|
+
export { Sparkline } from './Sparkline';
|
|
4
|
+
export { TopologyGraph, type TopologyNode, type TopologyEdge } from './TopologyGraph';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/adaptercloud/components/viz/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { AdapterCloudRootProps } from '../types';
|
|
3
|
+
|
|
4
|
+
interface AdapterCloudContextValue extends Omit<AdapterCloudRootProps, 'registerNavItems' | 'registerFooterItems' | 'navigate'> {
|
|
5
|
+
isStandalone: boolean;
|
|
6
|
+
/** Shell's navigate function (only available in integrated mode) */
|
|
7
|
+
navigate?: (path: string) => void;
|
|
8
|
+
/** Navigate to a path relative to basePath */
|
|
9
|
+
navigateTo: (relativePath: string) => void;
|
|
10
|
+
/** Get the full path for a relative path */
|
|
11
|
+
getPath: (relativePath: string) => string;
|
|
12
|
+
}
|
|
13
|
+
export declare function useAdapterCloud(): AdapterCloudContextValue;
|
|
14
|
+
export declare const AdapterCloudProvider: FC<PropsWithChildren<AdapterCloudRootProps>>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=AdapterCloudContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdapterCloudContext.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/context/AdapterCloudContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAOtD,UAAU,wBAAyB,SAAQ,IAAI,CAC7C,qBAAqB,EACrB,kBAAkB,GAAG,qBAAqB,GAAG,UAAU,CACxD;IACC,YAAY,EAAE,OAAO,CAAC;IACtB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,8CAA8C;IAC9C,UAAU,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,4CAA4C;IAC5C,OAAO,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,MAAM,CAAC;CAC3C;AAQD,wBAAgB,eAAe,IAAI,wBAAwB,CAM1D;AA6HD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CAuB7E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/context/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hooks Index
|
|
3
|
+
* @module adaptercloud/hooks
|
|
4
|
+
*/
|
|
5
|
+
export { adaKeys, useAdaHealth, useAdapters, useAdapter, useCreateAdapter, useUpdateAdapter, useArchiveAdapter, useConnections, useConnection, useCreateConnection, useUpdateConnection, useSetConnectionStatus, useDisableConnection, useResources, useResource, usePolicies, usePolicy, useCreatePolicy, useUpdatePolicy, useArchivePolicy, useViolations, useResolveViolation, useDriftRecords, useRemediateDrift, useSyncRuns, useStartSyncRun, useCancelSyncRun, useCostSummary, useCostRecords, } from './useAdapterCloudApi';
|
|
6
|
+
export type { AdapterListFilter, ConnectionListFilter, ResourceListFilter, PolicyListFilter, ViolationListFilter, DriftListFilter, SyncRunListFilter, CostRecordListFilter, } from './useAdapterCloudApi';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/hooks/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,OAAO,EAEP,YAAY,EAEZ,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EAEjB,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,oBAAoB,EAEpB,YAAY,EACZ,WAAW,EAEX,WAAW,EACX,SAAS,EACT,eAAe,EACf,eAAe,EACf,gBAAgB,EAEhB,aAAa,EACb,mBAAmB,EAEnB,eAAe,EACf,iBAAiB,EAEjB,WAAW,EACX,eAAe,EACf,gBAAgB,EAEhB,cAAc,EACd,cAAc,GACf,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EACV,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { AdaAdapter, AdaAdapterConnectionPage, AdaAdapterKind, AdaAdapterStatus, AdaConnection, AdaConnectionPage, AdaConnectionStatus, AdaCostRecord, AdaCostSummary, AdaDriftRecord, AdaDriftStatus, AdaPolicy, AdaPolicyKind, AdaPolicyPage, AdaPolicyViolation, AdaPolicyViolationPage, AdaResource, AdaResourcePage, AdaResourceState, AdaSyncRun, AdaSyncRunPage, AdaSyncStatus, AdaTopologyEdge, AdaEdgeKind, AdaViolationStatus, PaginationInput, AdaCreateAdapterInput, AdaUpdateAdapterInput, AdaCreateConnectionInput, AdaUpdateConnectionInput, AdaCreatePolicyInput, AdaUpdatePolicyInput, AdaStartSyncRunInput } from '../types';
|
|
2
|
+
|
|
3
|
+
export declare const adaKeys: {
|
|
4
|
+
all: readonly ["adaptercloud"];
|
|
5
|
+
health: () => readonly ["adaptercloud", "health"];
|
|
6
|
+
costSummary: (connectionId?: string) => readonly ["adaptercloud", "cost-summary", string | null];
|
|
7
|
+
costRecords: (filter: Record<string, unknown>) => readonly ["adaptercloud", "cost-records", Record<string, unknown>];
|
|
8
|
+
adapters: (filter: Record<string, unknown>) => readonly ["adaptercloud", "adapters", Record<string, unknown>];
|
|
9
|
+
adapter: (id: string) => readonly ["adaptercloud", "adapter", string];
|
|
10
|
+
connections: (filter: Record<string, unknown>) => readonly ["adaptercloud", "connections", Record<string, unknown>];
|
|
11
|
+
connection: (id: string) => readonly ["adaptercloud", "connection", string];
|
|
12
|
+
resources: (filter: Record<string, unknown>) => readonly ["adaptercloud", "resources", Record<string, unknown>];
|
|
13
|
+
resource: (id: string) => readonly ["adaptercloud", "resource", string];
|
|
14
|
+
policies: (filter: Record<string, unknown>) => readonly ["adaptercloud", "policies", Record<string, unknown>];
|
|
15
|
+
policy: (id: string) => readonly ["adaptercloud", "policy", string];
|
|
16
|
+
violations: (filter: Record<string, unknown>) => readonly ["adaptercloud", "violations", Record<string, unknown>];
|
|
17
|
+
drift: (filter: Record<string, unknown>) => readonly ["adaptercloud", "drift", Record<string, unknown>];
|
|
18
|
+
syncRuns: (filter: Record<string, unknown>) => readonly ["adaptercloud", "sync-runs", Record<string, unknown>];
|
|
19
|
+
syncRun: (id: string) => readonly ["adaptercloud", "sync-run", string];
|
|
20
|
+
topology: (filter: Record<string, unknown>) => readonly ["adaptercloud", "topology", Record<string, unknown>];
|
|
21
|
+
};
|
|
22
|
+
export declare const useAdaHealth: () => import('@tanstack/react-query').UseQueryResult<string, Error>;
|
|
23
|
+
export interface AdapterListFilter {
|
|
24
|
+
kind?: AdaAdapterKind;
|
|
25
|
+
status?: AdaAdapterStatus;
|
|
26
|
+
pagination?: PaginationInput;
|
|
27
|
+
}
|
|
28
|
+
export declare const useAdapters: (filter?: AdapterListFilter) => import('@tanstack/react-query').UseQueryResult<AdaAdapterConnectionPage, Error>;
|
|
29
|
+
export declare const useAdapter: (id: string | undefined) => import('@tanstack/react-query').UseQueryResult<AdaAdapter | null, Error>;
|
|
30
|
+
export declare const useCreateAdapter: () => import('@tanstack/react-query').UseMutationResult<AdaAdapter, Error, AdaCreateAdapterInput, unknown>;
|
|
31
|
+
export declare const useUpdateAdapter: () => import('@tanstack/react-query').UseMutationResult<AdaAdapter, Error, {
|
|
32
|
+
id: string;
|
|
33
|
+
input: AdaUpdateAdapterInput;
|
|
34
|
+
}, unknown>;
|
|
35
|
+
export declare const useArchiveAdapter: () => import('@tanstack/react-query').UseMutationResult<boolean, Error, string, unknown>;
|
|
36
|
+
export interface ConnectionListFilter {
|
|
37
|
+
adapterId?: string;
|
|
38
|
+
status?: AdaConnectionStatus;
|
|
39
|
+
pagination?: PaginationInput;
|
|
40
|
+
}
|
|
41
|
+
export declare const useConnections: (filter?: ConnectionListFilter) => import('@tanstack/react-query').UseQueryResult<AdaConnectionPage, Error>;
|
|
42
|
+
export declare const useConnection: (id: string | undefined) => import('@tanstack/react-query').UseQueryResult<AdaConnection | null, Error>;
|
|
43
|
+
export declare const useCreateConnection: () => import('@tanstack/react-query').UseMutationResult<AdaConnection, Error, AdaCreateConnectionInput, unknown>;
|
|
44
|
+
export declare const useUpdateConnection: () => import('@tanstack/react-query').UseMutationResult<AdaConnection, Error, {
|
|
45
|
+
id: string;
|
|
46
|
+
input: AdaUpdateConnectionInput;
|
|
47
|
+
}, unknown>;
|
|
48
|
+
export declare const useSetConnectionStatus: () => import('@tanstack/react-query').UseMutationResult<AdaConnection, Error, {
|
|
49
|
+
id: string;
|
|
50
|
+
status: AdaConnectionStatus;
|
|
51
|
+
}, unknown>;
|
|
52
|
+
export declare const useDisableConnection: () => import('@tanstack/react-query').UseMutationResult<AdaConnection, Error, string, unknown>;
|
|
53
|
+
export interface ResourceListFilter {
|
|
54
|
+
connectionId?: string;
|
|
55
|
+
resourceType?: string;
|
|
56
|
+
state?: AdaResourceState;
|
|
57
|
+
pagination?: PaginationInput;
|
|
58
|
+
}
|
|
59
|
+
export declare const useResources: (filter?: ResourceListFilter) => import('@tanstack/react-query').UseQueryResult<AdaResourcePage, Error>;
|
|
60
|
+
export declare const useResource: (id: string | undefined) => import('@tanstack/react-query').UseQueryResult<AdaResource | null, Error>;
|
|
61
|
+
export interface PolicyListFilter {
|
|
62
|
+
isActive?: boolean;
|
|
63
|
+
kind?: AdaPolicyKind;
|
|
64
|
+
pagination?: PaginationInput;
|
|
65
|
+
}
|
|
66
|
+
export declare const usePolicies: (filter?: PolicyListFilter) => import('@tanstack/react-query').UseQueryResult<AdaPolicyPage, Error>;
|
|
67
|
+
export declare const usePolicy: (id: string | undefined) => import('@tanstack/react-query').UseQueryResult<AdaPolicy | null, Error>;
|
|
68
|
+
export declare const useCreatePolicy: () => import('@tanstack/react-query').UseMutationResult<AdaPolicy, Error, AdaCreatePolicyInput, unknown>;
|
|
69
|
+
export declare const useUpdatePolicy: () => import('@tanstack/react-query').UseMutationResult<AdaPolicy, Error, {
|
|
70
|
+
id: string;
|
|
71
|
+
input: AdaUpdatePolicyInput;
|
|
72
|
+
}, unknown>;
|
|
73
|
+
export declare const useArchivePolicy: () => import('@tanstack/react-query').UseMutationResult<boolean, Error, string, unknown>;
|
|
74
|
+
export interface ViolationListFilter {
|
|
75
|
+
policyId?: string;
|
|
76
|
+
resourceId?: string;
|
|
77
|
+
status?: AdaViolationStatus;
|
|
78
|
+
pagination?: PaginationInput;
|
|
79
|
+
}
|
|
80
|
+
export declare const useViolations: (filter?: ViolationListFilter) => import('@tanstack/react-query').UseQueryResult<AdaPolicyViolationPage, Error>;
|
|
81
|
+
export declare const useResolveViolation: () => import('@tanstack/react-query').UseMutationResult<AdaPolicyViolation, Error, {
|
|
82
|
+
id: string;
|
|
83
|
+
status: AdaViolationStatus;
|
|
84
|
+
waiverReason?: string;
|
|
85
|
+
}, unknown>;
|
|
86
|
+
export interface DriftListFilter {
|
|
87
|
+
resourceId?: string;
|
|
88
|
+
status?: AdaDriftStatus;
|
|
89
|
+
}
|
|
90
|
+
export declare const useDriftRecords: (filter?: DriftListFilter) => import('@tanstack/react-query').UseQueryResult<AdaDriftRecord[], Error>;
|
|
91
|
+
export declare const useRemediateDrift: () => import('@tanstack/react-query').UseMutationResult<AdaDriftRecord, Error, string, unknown>;
|
|
92
|
+
export interface SyncRunListFilter {
|
|
93
|
+
connectionId?: string;
|
|
94
|
+
status?: AdaSyncStatus;
|
|
95
|
+
pagination?: PaginationInput;
|
|
96
|
+
}
|
|
97
|
+
export declare const useSyncRuns: (filter?: SyncRunListFilter) => import('@tanstack/react-query').UseQueryResult<AdaSyncRunPage, Error>;
|
|
98
|
+
export declare const useStartSyncRun: () => import('@tanstack/react-query').UseMutationResult<AdaSyncRun, Error, AdaStartSyncRunInput, unknown>;
|
|
99
|
+
export declare const useCancelSyncRun: () => import('@tanstack/react-query').UseMutationResult<AdaSyncRun, Error, string, unknown>;
|
|
100
|
+
export declare const useCostSummary: (connectionId?: string) => import('@tanstack/react-query').UseQueryResult<AdaCostSummary, Error>;
|
|
101
|
+
export interface CostRecordListFilter {
|
|
102
|
+
connectionId?: string;
|
|
103
|
+
resourceId?: string;
|
|
104
|
+
service?: string;
|
|
105
|
+
}
|
|
106
|
+
export declare const useCostRecords: (filter?: CostRecordListFilter) => import('@tanstack/react-query').UseQueryResult<AdaCostRecord[], Error>;
|
|
107
|
+
export interface TopologyFilter {
|
|
108
|
+
resourceId?: string;
|
|
109
|
+
kind?: AdaEdgeKind;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* The estate's dependency edges (`adaListTopologyEdges`). Consumers pair this
|
|
113
|
+
* with `useResources` to render the topology graph — edges reference resources
|
|
114
|
+
* by id, resources supply the node labels/state/type.
|
|
115
|
+
*/
|
|
116
|
+
export declare const useTopology: (filter?: TopologyFilter) => import('@tanstack/react-query').UseQueryResult<AdaTopologyEdge[], Error>;
|
|
117
|
+
//# sourceMappingURL=useAdapterCloudApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAdapterCloudApi.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/hooks/useAdapterCloudApi.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AdapterCloud Module Exports
|
|
3
|
+
* @module adaptercloud
|
|
4
|
+
*/
|
|
5
|
+
export { AdapterCloudRoot } from './AdapterCloudRoot';
|
|
6
|
+
export type { AdapterCloudRootProps, NavItem, FooterItem, ViewMode, AdaAdapter, AdaConnection, AdaResource, AdaPolicy, AdaPolicyViolation, AdaDriftRecord, AdaSyncRun, AdaCostRecord, AdaCostSummary, AdaAdapterKind, AdaAdapterStatus, AdaConnectionStatus, AdaResourceState, AdaPolicyKind, AdaSeverity, AdaViolationStatus, AdaSyncStatus, } from './types';
|
|
7
|
+
export { AdapterCloudProvider, useAdapterCloud } from './context';
|
|
8
|
+
export { useAdapterCloudStore } from './store';
|
|
9
|
+
export { cn } from './utils/cn';
|
|
10
|
+
export { formatDate, formatRelativeTime } from './utils/formatters';
|
|
11
|
+
export { formatMoney, humanizeEnum } from './utils/domain';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/adaptercloud/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,YAAY,EACV,qBAAqB,EACrB,OAAO,EACP,UAAU,EACV,QAAQ,EAER,UAAU,EACV,aAAa,EACb,WAAW,EACX,SAAS,EACT,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,aAAa,EACb,cAAc,EAEd,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,kBAAkB,EAClB,aAAa,GACd,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAGlE,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAG/C,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { toast } from 'sonner';
|
|
2
|
+
|
|
3
|
+
export declare const notify: {
|
|
4
|
+
success(message: string, description?: string): void;
|
|
5
|
+
info(message: string, description?: string): void;
|
|
6
|
+
warning(message: string, description?: string): void;
|
|
7
|
+
error(message: string, description?: string): void;
|
|
8
|
+
dismiss(id?: string | number): void;
|
|
9
|
+
};
|
|
10
|
+
export { toast };
|
|
11
|
+
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/lib/toast.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE/B,eAAO,MAAM,MAAM;qBACA,MAAM,gBAAgB,MAAM,GAAG,IAAI;kBAGtC,MAAM,gBAAgB,MAAM,GAAG,IAAI;qBAGhC,MAAM,gBAAgB,MAAM,GAAG,IAAI;mBAGrC,MAAM,gBAAgB,MAAM,GAAG,IAAI;iBAGrC,MAAM,GAAG,MAAM,GAAG,IAAI;CAGpC,CAAC;AAEF,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Overview / Dashboard Page
|
|
3
|
+
* @module adaptercloud/pages
|
|
4
|
+
*
|
|
5
|
+
* The AdapterCloud landing page: a single-pane view of the estate — fabric
|
|
6
|
+
* counts (adapters, connections, resources), governance posture (open
|
|
7
|
+
* violations, unremediated drift), operations (recent sync runs) and FinOps
|
|
8
|
+
* (workspace cost summary by service). All data is live from the deployed
|
|
9
|
+
* `wspace-adaptercloud-svc` subgraph.
|
|
10
|
+
*/
|
|
11
|
+
export declare function OverviewPage(): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=OverviewPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverviewPage.d.ts","sourceRoot":"","sources":["../../../src/adaptercloud/pages/OverviewPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AA+CH,wBAAgB,YAAY,4CA8W3B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapter Detail Page
|
|
3
|
+
* @module adaptercloud/pages/adapters
|
|
4
|
+
*
|
|
5
|
+
* Full view of one adapter (`adaAdapter`) — metadata, capabilities, config
|
|
6
|
+
* schema and its connections. Supports archiving via `adaArchiveAdapter`.
|
|
7
|
+
*/
|
|
8
|
+
export declare function AdapterDetailPage(): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=AdapterDetailPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdapterDetailPage.d.ts","sourceRoot":"","sources":["../../../../src/adaptercloud/pages/adapters/AdapterDetailPage.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAgBH,wBAAgB,iBAAiB,4CAkShC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapter Create / Edit Form Page
|
|
3
|
+
* @module adaptercloud/pages/adapters
|
|
4
|
+
*
|
|
5
|
+
* Creates a new adapter (`adaCreateAdapter`) or edits an existing one
|
|
6
|
+
* (`adaUpdateAdapter`). The presence of a route `:id` switches to edit mode and
|
|
7
|
+
* pre-fills from `adaAdapter`.
|
|
8
|
+
*/
|
|
9
|
+
export declare function AdapterFormPage(): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=AdapterFormPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdapterFormPage.d.ts","sourceRoot":"","sources":["../../../../src/adaptercloud/pages/adapters/AdapterFormPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAgJH,wBAAgB,eAAe,4CAiY9B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapters List Page
|
|
3
|
+
* @module adaptercloud/pages/adapters
|
|
4
|
+
*
|
|
5
|
+
* The adapter catalog — every reusable connector definition in the workspace.
|
|
6
|
+
* Lists from `adaListAdapters` with kind/status filters and offset pagination
|
|
7
|
+
* (driven by `AdaPageInfo.hasMore`).
|
|
8
|
+
*/
|
|
9
|
+
export declare function AdaptersListPage(): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=AdaptersListPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdaptersListPage.d.ts","sourceRoot":"","sources":["../../../../src/adaptercloud/pages/adapters/AdaptersListPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AA6CH,wBAAgB,gBAAgB,4CA2M/B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection Detail Page
|
|
3
|
+
* @module adaptercloud/pages/connections
|
|
4
|
+
*
|
|
5
|
+
* One connection (`adaConnection`) — its adapter, health, config, and the
|
|
6
|
+
* resources it has discovered. Supports the validated health transition
|
|
7
|
+
* (`adaSetConnectionStatus`), disable (`adaDisableConnection`), and starting a
|
|
8
|
+
* sync run (`adaStartSyncRun`) against it.
|
|
9
|
+
*/
|
|
10
|
+
export declare function ConnectionDetailPage(): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=ConnectionDetailPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectionDetailPage.d.ts","sourceRoot":"","sources":["../../../../src/adaptercloud/pages/connections/ConnectionDetailPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA+BH,wBAAgB,oBAAoB,4CAoSnC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection Create / Edit Form Page
|
|
3
|
+
* @module adaptercloud/pages/connections
|
|
4
|
+
*
|
|
5
|
+
* Creates a connection (`adaCreateConnection`) against a chosen adapter, or
|
|
6
|
+
* edits an existing one (`adaUpdateConnection`). Edit mode pre-fills from
|
|
7
|
+
* `adaConnection`; the adapter cannot be changed after creation.
|
|
8
|
+
*/
|
|
9
|
+
export declare function ConnectionFormPage(): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=ConnectionFormPage.d.ts.map
|