@contractspec/example.integration-hub 3.8.9 → 3.8.10
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/connection/connection.enum.js +1 -29
- package/dist/connection/connection.operation.js +1 -124
- package/dist/connection/connection.presentation.js +1 -125
- package/dist/connection/connection.schema.js +1 -71
- package/dist/connection/index.js +1 -127
- package/dist/docs/index.js +5 -49
- package/dist/docs/integration-hub.docblock.js +5 -49
- package/dist/events.js +1 -211
- package/dist/example.js +1 -42
- package/dist/handlers/index.js +5 -292
- package/dist/handlers/integration.handlers.js +5 -292
- package/dist/index.js +8 -2355
- package/dist/integration/index.js +1 -92
- package/dist/integration/integration.enum.js +1 -12
- package/dist/integration/integration.operations.js +1 -89
- package/dist/integration/integration.presentation.js +1 -120
- package/dist/integration/integration.schema.js +1 -42
- package/dist/integration-hub.capability.js +1 -43
- package/dist/integration-hub.feature.js +1 -330
- package/dist/mcp-example.js +1 -154
- package/dist/node/connection/connection.enum.js +1 -29
- package/dist/node/connection/connection.operation.js +1 -124
- package/dist/node/connection/connection.presentation.js +1 -125
- package/dist/node/connection/connection.schema.js +1 -71
- package/dist/node/connection/index.js +1 -127
- package/dist/node/docs/index.js +5 -49
- package/dist/node/docs/integration-hub.docblock.js +5 -49
- package/dist/node/events.js +1 -211
- package/dist/node/example.js +1 -42
- package/dist/node/handlers/index.js +5 -292
- package/dist/node/handlers/integration.handlers.js +5 -292
- package/dist/node/index.js +8 -2355
- package/dist/node/integration/index.js +1 -92
- package/dist/node/integration/integration.enum.js +1 -12
- package/dist/node/integration/integration.operations.js +1 -89
- package/dist/node/integration/integration.presentation.js +1 -120
- package/dist/node/integration/integration.schema.js +1 -42
- package/dist/node/integration-hub.capability.js +1 -43
- package/dist/node/integration-hub.feature.js +1 -330
- package/dist/node/mcp-example.js +1 -154
- package/dist/node/run-mcp.js +1 -159
- package/dist/node/seeders/index.js +6 -60
- package/dist/node/sync/index.js +1 -332
- package/dist/node/sync/sync.enum.js +1 -26
- package/dist/node/sync/sync.operations.js +1 -321
- package/dist/node/sync/sync.presentation.js +1 -301
- package/dist/node/sync/sync.schema.js +1 -154
- package/dist/node/sync-engine/index.js +1 -186
- package/dist/node/tests/operations.test-spec.js +1 -85
- package/dist/node/ui/IntegrationDashboard.js +1 -886
- package/dist/node/ui/IntegrationDashboard.visualizations.js +1 -250
- package/dist/node/ui/IntegrationHubChat.js +1 -34
- package/dist/node/ui/hooks/index.js +1 -57
- package/dist/node/ui/hooks/useIntegrationData.js +1 -54
- package/dist/node/ui/index.js +4 -1173
- package/dist/node/ui/renderers/index.js +4 -484
- package/dist/node/ui/renderers/integration.markdown.js +4 -484
- package/dist/node/ui/tables/ConnectionsTable.js +1 -211
- package/dist/node/ui/tables/IntegrationTables.js +1 -361
- package/dist/node/ui/tables/SyncConfigsTable.js +1 -230
- package/dist/node/ui/tables/integration-table.shared.js +1 -84
- package/dist/node/visualizations/catalog.js +1 -137
- package/dist/node/visualizations/index.js +1 -211
- package/dist/node/visualizations/selectors.js +1 -204
- package/dist/run-mcp.js +1 -159
- package/dist/seeders/index.js +6 -60
- package/dist/sync/index.js +1 -332
- package/dist/sync/sync.enum.js +1 -26
- package/dist/sync/sync.operations.js +1 -321
- package/dist/sync/sync.presentation.js +1 -301
- package/dist/sync/sync.schema.js +1 -154
- package/dist/sync-engine/index.js +1 -186
- package/dist/tests/operations.test-spec.js +1 -85
- package/dist/ui/IntegrationDashboard.js +1 -886
- package/dist/ui/IntegrationDashboard.visualizations.js +1 -250
- package/dist/ui/IntegrationHubChat.js +1 -34
- package/dist/ui/hooks/index.js +1 -57
- package/dist/ui/hooks/useIntegrationData.js +1 -54
- package/dist/ui/index.js +4 -1173
- package/dist/ui/renderers/index.js +4 -484
- package/dist/ui/renderers/integration.markdown.js +4 -484
- package/dist/ui/tables/ConnectionsTable.js +1 -211
- package/dist/ui/tables/IntegrationTables.js +1 -361
- package/dist/ui/tables/SyncConfigsTable.js +1 -230
- package/dist/ui/tables/integration-table.shared.js +1 -84
- package/dist/visualizations/catalog.js +1 -137
- package/dist/visualizations/index.js +1 -211
- package/dist/visualizations/selectors.js +1 -204
- package/package.json +11 -11
|
@@ -1,212 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
|
|
3
|
-
import { Button } from "@contractspec/lib.design-system";
|
|
4
|
-
import { Badge } from "@contractspec/lib.ui-kit-web/ui/badge";
|
|
5
|
-
import { HStack } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
6
|
-
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
7
|
-
"use client";
|
|
8
|
-
var STATUS_VARIANTS = {
|
|
9
|
-
ACTIVE: "default",
|
|
10
|
-
CONNECTED: "default",
|
|
11
|
-
SUCCESS: "default",
|
|
12
|
-
PENDING: "secondary",
|
|
13
|
-
PAUSED: "secondary",
|
|
14
|
-
ERROR: "destructive",
|
|
15
|
-
DISCONNECTED: "outline"
|
|
16
|
-
};
|
|
17
|
-
function formatDateTime(value) {
|
|
18
|
-
return value ? value.toLocaleString() : "Never";
|
|
19
|
-
}
|
|
20
|
-
function formatJson(value) {
|
|
21
|
-
return value ? JSON.stringify(value, null, 2) : "No configuration";
|
|
22
|
-
}
|
|
23
|
-
function StatusBadge({ status }) {
|
|
24
|
-
return /* @__PURE__ */ jsxDEV(Badge, {
|
|
25
|
-
variant: STATUS_VARIANTS[status] ?? "outline",
|
|
26
|
-
children: status
|
|
27
|
-
}, undefined, false, undefined, this);
|
|
28
|
-
}
|
|
29
|
-
function IntegrationTableToolbar({
|
|
30
|
-
controller,
|
|
31
|
-
label,
|
|
32
|
-
toggleColumnId,
|
|
33
|
-
toggleVisibleLabel,
|
|
34
|
-
toggleHiddenLabel,
|
|
35
|
-
pinColumnId,
|
|
36
|
-
pinLabel,
|
|
37
|
-
resizeColumnId,
|
|
38
|
-
resizeLabel
|
|
39
|
-
}) {
|
|
40
|
-
const firstRow = controller.rows[0];
|
|
41
|
-
const toggleColumn = controller.columns.find((column) => column.id === toggleColumnId);
|
|
42
|
-
const pinColumn = controller.columns.find((column) => column.id === pinColumnId);
|
|
43
|
-
const resizeColumn = controller.columns.find((column) => column.id === resizeColumnId);
|
|
44
|
-
const pinTarget = pinColumn?.pinState === "left" ? false : "left";
|
|
45
|
-
return /* @__PURE__ */ jsxDEV(HStack, {
|
|
46
|
-
gap: "sm",
|
|
47
|
-
className: "flex-wrap",
|
|
48
|
-
children: [
|
|
49
|
-
/* @__PURE__ */ jsxDEV(Badge, {
|
|
50
|
-
variant: "outline",
|
|
51
|
-
children: label
|
|
52
|
-
}, undefined, false, undefined, this),
|
|
53
|
-
/* @__PURE__ */ jsxDEV(Button, {
|
|
54
|
-
variant: "outline",
|
|
55
|
-
size: "sm",
|
|
56
|
-
onPress: () => firstRow?.toggleExpanded?.(!firstRow?.isExpanded),
|
|
57
|
-
children: "Expand First Row"
|
|
58
|
-
}, undefined, false, undefined, this),
|
|
59
|
-
/* @__PURE__ */ jsxDEV(Button, {
|
|
60
|
-
variant: "outline",
|
|
61
|
-
size: "sm",
|
|
62
|
-
onPress: () => toggleColumn?.toggleVisibility?.(!toggleColumn?.visible),
|
|
63
|
-
children: toggleColumn?.visible ? toggleVisibleLabel : toggleHiddenLabel
|
|
64
|
-
}, undefined, false, undefined, this),
|
|
65
|
-
/* @__PURE__ */ jsxDEV(Button, {
|
|
66
|
-
variant: "outline",
|
|
67
|
-
size: "sm",
|
|
68
|
-
onPress: () => pinColumn?.pin?.(pinTarget),
|
|
69
|
-
children: pinColumn?.pinState === "left" ? `Unpin ${pinLabel}` : `Pin ${pinLabel}`
|
|
70
|
-
}, undefined, false, undefined, this),
|
|
71
|
-
/* @__PURE__ */ jsxDEV(Button, {
|
|
72
|
-
variant: "outline",
|
|
73
|
-
size: "sm",
|
|
74
|
-
onPress: () => resizeColumn?.resizeBy?.(40),
|
|
75
|
-
children: resizeLabel
|
|
76
|
-
}, undefined, false, undefined, this)
|
|
77
|
-
]
|
|
78
|
-
}, undefined, true, undefined, this);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// src/ui/tables/ConnectionsTable.tsx
|
|
82
|
-
import { DataTable } from "@contractspec/lib.design-system";
|
|
83
|
-
import { useContractTable } from "@contractspec/lib.presentation-runtime-react";
|
|
84
|
-
import { VStack } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
85
|
-
import { Text } from "@contractspec/lib.ui-kit-web/ui/text";
|
|
86
|
-
import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
|
|
87
|
-
"use client";
|
|
88
|
-
function ConnectionsTable({
|
|
89
|
-
connections
|
|
90
|
-
}) {
|
|
91
|
-
const controller = useContractTable({
|
|
92
|
-
data: connections,
|
|
93
|
-
columns: [
|
|
94
|
-
{
|
|
95
|
-
id: "connection",
|
|
96
|
-
header: "Connection",
|
|
97
|
-
label: "Connection",
|
|
98
|
-
accessor: (connection) => connection.name,
|
|
99
|
-
cell: ({ item }) => /* @__PURE__ */ jsxDEV2(VStack, {
|
|
100
|
-
gap: "xs",
|
|
101
|
-
children: [
|
|
102
|
-
/* @__PURE__ */ jsxDEV2(Text, {
|
|
103
|
-
className: "font-medium text-sm",
|
|
104
|
-
children: item.name
|
|
105
|
-
}, undefined, false, undefined, this),
|
|
106
|
-
/* @__PURE__ */ jsxDEV2(Text, {
|
|
107
|
-
className: "text-muted-foreground text-xs",
|
|
108
|
-
children: [
|
|
109
|
-
"Created ",
|
|
110
|
-
item.createdAt.toLocaleDateString()
|
|
111
|
-
]
|
|
112
|
-
}, undefined, true, undefined, this)
|
|
113
|
-
]
|
|
114
|
-
}, undefined, true, undefined, this),
|
|
115
|
-
size: 240,
|
|
116
|
-
minSize: 180,
|
|
117
|
-
canSort: true,
|
|
118
|
-
canPin: true,
|
|
119
|
-
canResize: true
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
id: "status",
|
|
123
|
-
header: "Status",
|
|
124
|
-
label: "Status",
|
|
125
|
-
accessorKey: "status",
|
|
126
|
-
cell: ({ value }) => /* @__PURE__ */ jsxDEV2(StatusBadge, {
|
|
127
|
-
status: String(value)
|
|
128
|
-
}, undefined, false, undefined, this),
|
|
129
|
-
size: 150,
|
|
130
|
-
canSort: true,
|
|
131
|
-
canPin: true,
|
|
132
|
-
canResize: true
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
id: "lastSyncAt",
|
|
136
|
-
header: "Last Sync",
|
|
137
|
-
label: "Last Sync",
|
|
138
|
-
accessor: (connection) => connection.lastSyncAt?.getTime() ?? 0,
|
|
139
|
-
cell: ({ item }) => formatDateTime(item.lastSyncAt),
|
|
140
|
-
size: 200,
|
|
141
|
-
canSort: true,
|
|
142
|
-
canHide: true,
|
|
143
|
-
canResize: true
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
id: "errorMessage",
|
|
147
|
-
header: "Errors",
|
|
148
|
-
label: "Errors",
|
|
149
|
-
accessor: (connection) => connection.errorMessage ?? "",
|
|
150
|
-
cell: ({ value }) => String(value || "No errors"),
|
|
151
|
-
size: 240,
|
|
152
|
-
canHide: true,
|
|
153
|
-
canResize: true
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
initialState: {
|
|
157
|
-
pagination: { pageIndex: 0, pageSize: 3 },
|
|
158
|
-
columnVisibility: { errorMessage: false },
|
|
159
|
-
columnPinning: { left: ["connection"], right: [] }
|
|
160
|
-
},
|
|
161
|
-
renderExpandedContent: (connection) => /* @__PURE__ */ jsxDEV2(VStack, {
|
|
162
|
-
gap: "sm",
|
|
163
|
-
className: "py-2",
|
|
164
|
-
children: [
|
|
165
|
-
/* @__PURE__ */ jsxDEV2(Text, {
|
|
166
|
-
className: "font-medium text-sm",
|
|
167
|
-
children: "Credentials"
|
|
168
|
-
}, undefined, false, undefined, this),
|
|
169
|
-
/* @__PURE__ */ jsxDEV2("pre", {
|
|
170
|
-
className: "overflow-auto rounded-md bg-muted/40 p-3 text-xs",
|
|
171
|
-
children: formatJson(connection.credentials)
|
|
172
|
-
}, undefined, false, undefined, this),
|
|
173
|
-
/* @__PURE__ */ jsxDEV2(Text, {
|
|
174
|
-
className: "font-medium text-sm",
|
|
175
|
-
children: "Config"
|
|
176
|
-
}, undefined, false, undefined, this),
|
|
177
|
-
/* @__PURE__ */ jsxDEV2("pre", {
|
|
178
|
-
className: "overflow-auto rounded-md bg-muted/40 p-3 text-xs",
|
|
179
|
-
children: formatJson(connection.config)
|
|
180
|
-
}, undefined, false, undefined, this),
|
|
181
|
-
/* @__PURE__ */ jsxDEV2(Text, {
|
|
182
|
-
className: "text-muted-foreground text-sm",
|
|
183
|
-
children: connection.errorMessage ?? "No sync errors recorded."
|
|
184
|
-
}, undefined, false, undefined, this)
|
|
185
|
-
]
|
|
186
|
-
}, undefined, true, undefined, this),
|
|
187
|
-
getCanExpand: () => true
|
|
188
|
-
});
|
|
189
|
-
return /* @__PURE__ */ jsxDEV2(DataTable, {
|
|
190
|
-
controller,
|
|
191
|
-
title: "Connections",
|
|
192
|
-
description: "Client-mode ContractSpec table with visibility, pinning, resizing, and expanded diagnostics.",
|
|
193
|
-
toolbar: /* @__PURE__ */ jsxDEV2(IntegrationTableToolbar, {
|
|
194
|
-
controller,
|
|
195
|
-
label: `${connections.length} total connections`,
|
|
196
|
-
toggleColumnId: "errorMessage",
|
|
197
|
-
toggleVisibleLabel: "Hide Error Column",
|
|
198
|
-
toggleHiddenLabel: "Show Error Column",
|
|
199
|
-
pinColumnId: "status",
|
|
200
|
-
pinLabel: "Status",
|
|
201
|
-
resizeColumnId: "connection",
|
|
202
|
-
resizeLabel: "Widen Connection"
|
|
203
|
-
}, undefined, false, undefined, this),
|
|
204
|
-
emptyState: /* @__PURE__ */ jsxDEV2("div", {
|
|
205
|
-
className: "rounded-md border border-dashed p-8 text-center text-muted-foreground text-sm",
|
|
206
|
-
children: "No connections found"
|
|
207
|
-
}, undefined, false, undefined, this)
|
|
208
|
-
}, undefined, false, undefined, this);
|
|
209
|
-
}
|
|
210
|
-
export {
|
|
211
|
-
ConnectionsTable
|
|
212
|
-
};
|
|
2
|
+
import{Button as O}from"@contractspec/lib.design-system";import{Badge as $}from"@contractspec/lib.ui-kit-web/ui/badge";import{HStack as z}from"@contractspec/lib.ui-kit-web/ui/stack";import{jsx as F,jsxs as k}from"react/jsx-runtime";var V={ACTIVE:"default",CONNECTED:"default",SUCCESS:"default",PENDING:"secondary",PAUSED:"secondary",ERROR:"destructive",DISCONNECTED:"outline"};function h(y){return y?y.toLocaleString():"Never"}function W(y){return y?JSON.stringify(y,null,2):"No configuration"}function N({status:y}){return F($,{variant:V[y]??"outline",children:y})}function U({controller:y,label:M,toggleColumnId:q,toggleVisibleLabel:D,toggleHiddenLabel:J,pinColumnId:A,pinLabel:Y,resizeColumnId:H,resizeLabel:R}){let Z=y.rows[0],P=y.columns.find((G)=>G.id===q),Q=y.columns.find((G)=>G.id===A),w=y.columns.find((G)=>G.id===H),f=Q?.pinState==="left"?!1:"left";return k(z,{gap:"sm",className:"flex-wrap",children:[F($,{variant:"outline",children:M}),F(O,{variant:"outline",size:"sm",onPress:()=>Z?.toggleExpanded?.(!Z?.isExpanded),children:"Expand First Row"}),F(O,{variant:"outline",size:"sm",onPress:()=>P?.toggleVisibility?.(!P?.visible),children:P?.visible?D:J}),F(O,{variant:"outline",size:"sm",onPress:()=>Q?.pin?.(f),children:Q?.pinState==="left"?`Unpin ${Y}`:`Pin ${Y}`}),F(O,{variant:"outline",size:"sm",onPress:()=>w?.resizeBy?.(40),children:R})]})}import{DataTable as B}from"@contractspec/lib.design-system";import{useContractTable as S}from"@contractspec/lib.presentation-runtime-react";import{VStack as _}from"@contractspec/lib.ui-kit-web/ui/stack";import{Text as K}from"@contractspec/lib.ui-kit-web/ui/text";import{jsx as E,jsxs as X}from"react/jsx-runtime";function x({connections:y}){let M=S({data:y,columns:[{id:"connection",header:"Connection",label:"Connection",accessor:(q)=>q.name,cell:({item:q})=>X(_,{gap:"xs",children:[E(K,{className:"font-medium text-sm",children:q.name}),X(K,{className:"text-muted-foreground text-xs",children:["Created ",q.createdAt.toLocaleDateString()]})]}),size:240,minSize:180,canSort:!0,canPin:!0,canResize:!0},{id:"status",header:"Status",label:"Status",accessorKey:"status",cell:({value:q})=>E(N,{status:String(q)}),size:150,canSort:!0,canPin:!0,canResize:!0},{id:"lastSyncAt",header:"Last Sync",label:"Last Sync",accessor:(q)=>q.lastSyncAt?.getTime()??0,cell:({item:q})=>h(q.lastSyncAt),size:200,canSort:!0,canHide:!0,canResize:!0},{id:"errorMessage",header:"Errors",label:"Errors",accessor:(q)=>q.errorMessage??"",cell:({value:q})=>String(q||"No errors"),size:240,canHide:!0,canResize:!0}],initialState:{pagination:{pageIndex:0,pageSize:3},columnVisibility:{errorMessage:!1},columnPinning:{left:["connection"],right:[]}},renderExpandedContent:(q)=>X(_,{gap:"sm",className:"py-2",children:[E(K,{className:"font-medium text-sm",children:"Credentials"}),E("pre",{className:"overflow-auto rounded-md bg-muted/40 p-3 text-xs",children:W(q.credentials)}),E(K,{className:"font-medium text-sm",children:"Config"}),E("pre",{className:"overflow-auto rounded-md bg-muted/40 p-3 text-xs",children:W(q.config)}),E(K,{className:"text-muted-foreground text-sm",children:q.errorMessage??"No sync errors recorded."})]}),getCanExpand:()=>!0});return E(B,{controller:M,title:"Connections",description:"Client-mode ContractSpec table with visibility, pinning, resizing, and expanded diagnostics.",toolbar:E(U,{controller:M,label:`${y.length} total connections`,toggleColumnId:"errorMessage",toggleVisibleLabel:"Hide Error Column",toggleHiddenLabel:"Show Error Column",pinColumnId:"status",pinLabel:"Status",resizeColumnId:"connection",resizeLabel:"Widen Connection"}),emptyState:E("div",{className:"rounded-md border border-dashed p-8 text-center text-muted-foreground text-sm",children:"No connections found"})})}export{x as ConnectionsTable};
|
|
@@ -1,362 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
|
|
3
|
-
import { Button } from "@contractspec/lib.design-system";
|
|
4
|
-
import { Badge } from "@contractspec/lib.ui-kit-web/ui/badge";
|
|
5
|
-
import { HStack } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
6
|
-
import { jsxDEV } from "react/jsx-dev-runtime";
|
|
7
|
-
"use client";
|
|
8
|
-
var STATUS_VARIANTS = {
|
|
9
|
-
ACTIVE: "default",
|
|
10
|
-
CONNECTED: "default",
|
|
11
|
-
SUCCESS: "default",
|
|
12
|
-
PENDING: "secondary",
|
|
13
|
-
PAUSED: "secondary",
|
|
14
|
-
ERROR: "destructive",
|
|
15
|
-
DISCONNECTED: "outline"
|
|
16
|
-
};
|
|
17
|
-
function formatDateTime(value) {
|
|
18
|
-
return value ? value.toLocaleString() : "Never";
|
|
19
|
-
}
|
|
20
|
-
function formatJson(value) {
|
|
21
|
-
return value ? JSON.stringify(value, null, 2) : "No configuration";
|
|
22
|
-
}
|
|
23
|
-
function StatusBadge({ status }) {
|
|
24
|
-
return /* @__PURE__ */ jsxDEV(Badge, {
|
|
25
|
-
variant: STATUS_VARIANTS[status] ?? "outline",
|
|
26
|
-
children: status
|
|
27
|
-
}, undefined, false, undefined, this);
|
|
28
|
-
}
|
|
29
|
-
function IntegrationTableToolbar({
|
|
30
|
-
controller,
|
|
31
|
-
label,
|
|
32
|
-
toggleColumnId,
|
|
33
|
-
toggleVisibleLabel,
|
|
34
|
-
toggleHiddenLabel,
|
|
35
|
-
pinColumnId,
|
|
36
|
-
pinLabel,
|
|
37
|
-
resizeColumnId,
|
|
38
|
-
resizeLabel
|
|
39
|
-
}) {
|
|
40
|
-
const firstRow = controller.rows[0];
|
|
41
|
-
const toggleColumn = controller.columns.find((column) => column.id === toggleColumnId);
|
|
42
|
-
const pinColumn = controller.columns.find((column) => column.id === pinColumnId);
|
|
43
|
-
const resizeColumn = controller.columns.find((column) => column.id === resizeColumnId);
|
|
44
|
-
const pinTarget = pinColumn?.pinState === "left" ? false : "left";
|
|
45
|
-
return /* @__PURE__ */ jsxDEV(HStack, {
|
|
46
|
-
gap: "sm",
|
|
47
|
-
className: "flex-wrap",
|
|
48
|
-
children: [
|
|
49
|
-
/* @__PURE__ */ jsxDEV(Badge, {
|
|
50
|
-
variant: "outline",
|
|
51
|
-
children: label
|
|
52
|
-
}, undefined, false, undefined, this),
|
|
53
|
-
/* @__PURE__ */ jsxDEV(Button, {
|
|
54
|
-
variant: "outline",
|
|
55
|
-
size: "sm",
|
|
56
|
-
onPress: () => firstRow?.toggleExpanded?.(!firstRow?.isExpanded),
|
|
57
|
-
children: "Expand First Row"
|
|
58
|
-
}, undefined, false, undefined, this),
|
|
59
|
-
/* @__PURE__ */ jsxDEV(Button, {
|
|
60
|
-
variant: "outline",
|
|
61
|
-
size: "sm",
|
|
62
|
-
onPress: () => toggleColumn?.toggleVisibility?.(!toggleColumn?.visible),
|
|
63
|
-
children: toggleColumn?.visible ? toggleVisibleLabel : toggleHiddenLabel
|
|
64
|
-
}, undefined, false, undefined, this),
|
|
65
|
-
/* @__PURE__ */ jsxDEV(Button, {
|
|
66
|
-
variant: "outline",
|
|
67
|
-
size: "sm",
|
|
68
|
-
onPress: () => pinColumn?.pin?.(pinTarget),
|
|
69
|
-
children: pinColumn?.pinState === "left" ? `Unpin ${pinLabel}` : `Pin ${pinLabel}`
|
|
70
|
-
}, undefined, false, undefined, this),
|
|
71
|
-
/* @__PURE__ */ jsxDEV(Button, {
|
|
72
|
-
variant: "outline",
|
|
73
|
-
size: "sm",
|
|
74
|
-
onPress: () => resizeColumn?.resizeBy?.(40),
|
|
75
|
-
children: resizeLabel
|
|
76
|
-
}, undefined, false, undefined, this)
|
|
77
|
-
]
|
|
78
|
-
}, undefined, true, undefined, this);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// src/ui/tables/ConnectionsTable.tsx
|
|
82
|
-
import { DataTable } from "@contractspec/lib.design-system";
|
|
83
|
-
import { useContractTable } from "@contractspec/lib.presentation-runtime-react";
|
|
84
|
-
import { VStack } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
85
|
-
import { Text } from "@contractspec/lib.ui-kit-web/ui/text";
|
|
86
|
-
import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
|
|
87
|
-
"use client";
|
|
88
|
-
function ConnectionsTable({
|
|
89
|
-
connections
|
|
90
|
-
}) {
|
|
91
|
-
const controller = useContractTable({
|
|
92
|
-
data: connections,
|
|
93
|
-
columns: [
|
|
94
|
-
{
|
|
95
|
-
id: "connection",
|
|
96
|
-
header: "Connection",
|
|
97
|
-
label: "Connection",
|
|
98
|
-
accessor: (connection) => connection.name,
|
|
99
|
-
cell: ({ item }) => /* @__PURE__ */ jsxDEV2(VStack, {
|
|
100
|
-
gap: "xs",
|
|
101
|
-
children: [
|
|
102
|
-
/* @__PURE__ */ jsxDEV2(Text, {
|
|
103
|
-
className: "font-medium text-sm",
|
|
104
|
-
children: item.name
|
|
105
|
-
}, undefined, false, undefined, this),
|
|
106
|
-
/* @__PURE__ */ jsxDEV2(Text, {
|
|
107
|
-
className: "text-muted-foreground text-xs",
|
|
108
|
-
children: [
|
|
109
|
-
"Created ",
|
|
110
|
-
item.createdAt.toLocaleDateString()
|
|
111
|
-
]
|
|
112
|
-
}, undefined, true, undefined, this)
|
|
113
|
-
]
|
|
114
|
-
}, undefined, true, undefined, this),
|
|
115
|
-
size: 240,
|
|
116
|
-
minSize: 180,
|
|
117
|
-
canSort: true,
|
|
118
|
-
canPin: true,
|
|
119
|
-
canResize: true
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
id: "status",
|
|
123
|
-
header: "Status",
|
|
124
|
-
label: "Status",
|
|
125
|
-
accessorKey: "status",
|
|
126
|
-
cell: ({ value }) => /* @__PURE__ */ jsxDEV2(StatusBadge, {
|
|
127
|
-
status: String(value)
|
|
128
|
-
}, undefined, false, undefined, this),
|
|
129
|
-
size: 150,
|
|
130
|
-
canSort: true,
|
|
131
|
-
canPin: true,
|
|
132
|
-
canResize: true
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
id: "lastSyncAt",
|
|
136
|
-
header: "Last Sync",
|
|
137
|
-
label: "Last Sync",
|
|
138
|
-
accessor: (connection) => connection.lastSyncAt?.getTime() ?? 0,
|
|
139
|
-
cell: ({ item }) => formatDateTime(item.lastSyncAt),
|
|
140
|
-
size: 200,
|
|
141
|
-
canSort: true,
|
|
142
|
-
canHide: true,
|
|
143
|
-
canResize: true
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
id: "errorMessage",
|
|
147
|
-
header: "Errors",
|
|
148
|
-
label: "Errors",
|
|
149
|
-
accessor: (connection) => connection.errorMessage ?? "",
|
|
150
|
-
cell: ({ value }) => String(value || "No errors"),
|
|
151
|
-
size: 240,
|
|
152
|
-
canHide: true,
|
|
153
|
-
canResize: true
|
|
154
|
-
}
|
|
155
|
-
],
|
|
156
|
-
initialState: {
|
|
157
|
-
pagination: { pageIndex: 0, pageSize: 3 },
|
|
158
|
-
columnVisibility: { errorMessage: false },
|
|
159
|
-
columnPinning: { left: ["connection"], right: [] }
|
|
160
|
-
},
|
|
161
|
-
renderExpandedContent: (connection) => /* @__PURE__ */ jsxDEV2(VStack, {
|
|
162
|
-
gap: "sm",
|
|
163
|
-
className: "py-2",
|
|
164
|
-
children: [
|
|
165
|
-
/* @__PURE__ */ jsxDEV2(Text, {
|
|
166
|
-
className: "font-medium text-sm",
|
|
167
|
-
children: "Credentials"
|
|
168
|
-
}, undefined, false, undefined, this),
|
|
169
|
-
/* @__PURE__ */ jsxDEV2("pre", {
|
|
170
|
-
className: "overflow-auto rounded-md bg-muted/40 p-3 text-xs",
|
|
171
|
-
children: formatJson(connection.credentials)
|
|
172
|
-
}, undefined, false, undefined, this),
|
|
173
|
-
/* @__PURE__ */ jsxDEV2(Text, {
|
|
174
|
-
className: "font-medium text-sm",
|
|
175
|
-
children: "Config"
|
|
176
|
-
}, undefined, false, undefined, this),
|
|
177
|
-
/* @__PURE__ */ jsxDEV2("pre", {
|
|
178
|
-
className: "overflow-auto rounded-md bg-muted/40 p-3 text-xs",
|
|
179
|
-
children: formatJson(connection.config)
|
|
180
|
-
}, undefined, false, undefined, this),
|
|
181
|
-
/* @__PURE__ */ jsxDEV2(Text, {
|
|
182
|
-
className: "text-muted-foreground text-sm",
|
|
183
|
-
children: connection.errorMessage ?? "No sync errors recorded."
|
|
184
|
-
}, undefined, false, undefined, this)
|
|
185
|
-
]
|
|
186
|
-
}, undefined, true, undefined, this),
|
|
187
|
-
getCanExpand: () => true
|
|
188
|
-
});
|
|
189
|
-
return /* @__PURE__ */ jsxDEV2(DataTable, {
|
|
190
|
-
controller,
|
|
191
|
-
title: "Connections",
|
|
192
|
-
description: "Client-mode ContractSpec table with visibility, pinning, resizing, and expanded diagnostics.",
|
|
193
|
-
toolbar: /* @__PURE__ */ jsxDEV2(IntegrationTableToolbar, {
|
|
194
|
-
controller,
|
|
195
|
-
label: `${connections.length} total connections`,
|
|
196
|
-
toggleColumnId: "errorMessage",
|
|
197
|
-
toggleVisibleLabel: "Hide Error Column",
|
|
198
|
-
toggleHiddenLabel: "Show Error Column",
|
|
199
|
-
pinColumnId: "status",
|
|
200
|
-
pinLabel: "Status",
|
|
201
|
-
resizeColumnId: "connection",
|
|
202
|
-
resizeLabel: "Widen Connection"
|
|
203
|
-
}, undefined, false, undefined, this),
|
|
204
|
-
emptyState: /* @__PURE__ */ jsxDEV2("div", {
|
|
205
|
-
className: "rounded-md border border-dashed p-8 text-center text-muted-foreground text-sm",
|
|
206
|
-
children: "No connections found"
|
|
207
|
-
}, undefined, false, undefined, this)
|
|
208
|
-
}, undefined, false, undefined, this);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
// src/ui/tables/SyncConfigsTable.tsx
|
|
212
|
-
import { DataTable as DataTable2 } from "@contractspec/lib.design-system";
|
|
213
|
-
import { useContractTable as useContractTable2 } from "@contractspec/lib.presentation-runtime-react";
|
|
214
|
-
import { VStack as VStack2 } from "@contractspec/lib.ui-kit-web/ui/stack";
|
|
215
|
-
import { Text as Text2 } from "@contractspec/lib.ui-kit-web/ui/text";
|
|
216
|
-
import { jsxDEV as jsxDEV3 } from "react/jsx-dev-runtime";
|
|
217
|
-
"use client";
|
|
218
|
-
function SyncConfigsTable({
|
|
219
|
-
syncConfigs
|
|
220
|
-
}) {
|
|
221
|
-
const controller = useContractTable2({
|
|
222
|
-
data: syncConfigs,
|
|
223
|
-
columns: [
|
|
224
|
-
{
|
|
225
|
-
id: "sync",
|
|
226
|
-
header: "Sync Config",
|
|
227
|
-
label: "Sync Config",
|
|
228
|
-
accessor: (sync) => sync.name,
|
|
229
|
-
cell: ({ item }) => /* @__PURE__ */ jsxDEV3(VStack2, {
|
|
230
|
-
gap: "xs",
|
|
231
|
-
children: [
|
|
232
|
-
/* @__PURE__ */ jsxDEV3(Text2, {
|
|
233
|
-
className: "font-medium text-sm",
|
|
234
|
-
children: item.name
|
|
235
|
-
}, undefined, false, undefined, this),
|
|
236
|
-
/* @__PURE__ */ jsxDEV3(Text2, {
|
|
237
|
-
className: "text-muted-foreground text-xs",
|
|
238
|
-
children: [
|
|
239
|
-
item.sourceEntity,
|
|
240
|
-
" \u2192 ",
|
|
241
|
-
item.targetEntity
|
|
242
|
-
]
|
|
243
|
-
}, undefined, true, undefined, this)
|
|
244
|
-
]
|
|
245
|
-
}, undefined, true, undefined, this),
|
|
246
|
-
size: 260,
|
|
247
|
-
minSize: 200,
|
|
248
|
-
canSort: true,
|
|
249
|
-
canPin: true,
|
|
250
|
-
canResize: true
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
id: "frequency",
|
|
254
|
-
header: "Frequency",
|
|
255
|
-
label: "Frequency",
|
|
256
|
-
accessorKey: "frequency",
|
|
257
|
-
size: 160,
|
|
258
|
-
canSort: true,
|
|
259
|
-
canHide: true,
|
|
260
|
-
canResize: true
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
id: "status",
|
|
264
|
-
header: "Status",
|
|
265
|
-
label: "Status",
|
|
266
|
-
accessorKey: "status",
|
|
267
|
-
cell: ({ value }) => /* @__PURE__ */ jsxDEV3(StatusBadge, {
|
|
268
|
-
status: String(value)
|
|
269
|
-
}, undefined, false, undefined, this),
|
|
270
|
-
size: 150,
|
|
271
|
-
canSort: true,
|
|
272
|
-
canPin: true,
|
|
273
|
-
canResize: true
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
id: "recordsSynced",
|
|
277
|
-
header: "Records",
|
|
278
|
-
label: "Records",
|
|
279
|
-
accessorKey: "recordsSynced",
|
|
280
|
-
align: "right",
|
|
281
|
-
size: 140,
|
|
282
|
-
canSort: true,
|
|
283
|
-
canResize: true
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
id: "lastRunAt",
|
|
287
|
-
header: "Last Run",
|
|
288
|
-
label: "Last Run",
|
|
289
|
-
accessor: (sync) => sync.lastRunAt?.getTime() ?? 0,
|
|
290
|
-
cell: ({ item }) => formatDateTime(item.lastRunAt),
|
|
291
|
-
size: 200,
|
|
292
|
-
canSort: true,
|
|
293
|
-
canHide: true,
|
|
294
|
-
canResize: true
|
|
295
|
-
}
|
|
296
|
-
],
|
|
297
|
-
initialState: {
|
|
298
|
-
pagination: { pageIndex: 0, pageSize: 3 },
|
|
299
|
-
columnVisibility: { lastRunAt: false },
|
|
300
|
-
columnPinning: { left: ["sync"], right: [] }
|
|
301
|
-
},
|
|
302
|
-
renderExpandedContent: (sync) => /* @__PURE__ */ jsxDEV3(VStack2, {
|
|
303
|
-
gap: "sm",
|
|
304
|
-
className: "py-2",
|
|
305
|
-
children: [
|
|
306
|
-
/* @__PURE__ */ jsxDEV3(Text2, {
|
|
307
|
-
className: "text-muted-foreground text-sm",
|
|
308
|
-
children: [
|
|
309
|
-
"Connection ",
|
|
310
|
-
sync.connectionId
|
|
311
|
-
]
|
|
312
|
-
}, undefined, true, undefined, this),
|
|
313
|
-
/* @__PURE__ */ jsxDEV3(Text2, {
|
|
314
|
-
className: "text-muted-foreground text-sm",
|
|
315
|
-
children: [
|
|
316
|
-
"Last run: ",
|
|
317
|
-
formatDateTime(sync.lastRunAt)
|
|
318
|
-
]
|
|
319
|
-
}, undefined, true, undefined, this),
|
|
320
|
-
/* @__PURE__ */ jsxDEV3(Text2, {
|
|
321
|
-
className: "text-muted-foreground text-sm",
|
|
322
|
-
children: [
|
|
323
|
-
"Last status: ",
|
|
324
|
-
sync.lastRunStatus ?? "No runs recorded"
|
|
325
|
-
]
|
|
326
|
-
}, undefined, true, undefined, this),
|
|
327
|
-
/* @__PURE__ */ jsxDEV3(Text2, {
|
|
328
|
-
className: "text-muted-foreground text-sm",
|
|
329
|
-
children: [
|
|
330
|
-
"Updated ",
|
|
331
|
-
sync.updatedAt.toLocaleString()
|
|
332
|
-
]
|
|
333
|
-
}, undefined, true, undefined, this)
|
|
334
|
-
]
|
|
335
|
-
}, undefined, true, undefined, this),
|
|
336
|
-
getCanExpand: () => true
|
|
337
|
-
});
|
|
338
|
-
return /* @__PURE__ */ jsxDEV3(DataTable2, {
|
|
339
|
-
controller,
|
|
340
|
-
title: "Sync Configs",
|
|
341
|
-
description: "Shared table primitives applied to sync monitoring without changing the surrounding dashboard layout.",
|
|
342
|
-
toolbar: /* @__PURE__ */ jsxDEV3(IntegrationTableToolbar, {
|
|
343
|
-
controller,
|
|
344
|
-
label: `${syncConfigs.length} syncs`,
|
|
345
|
-
toggleColumnId: "lastRunAt",
|
|
346
|
-
toggleVisibleLabel: "Hide Last Run",
|
|
347
|
-
toggleHiddenLabel: "Show Last Run",
|
|
348
|
-
pinColumnId: "status",
|
|
349
|
-
pinLabel: "Status",
|
|
350
|
-
resizeColumnId: "sync",
|
|
351
|
-
resizeLabel: "Widen Sync"
|
|
352
|
-
}, undefined, false, undefined, this),
|
|
353
|
-
emptyState: /* @__PURE__ */ jsxDEV3("div", {
|
|
354
|
-
className: "rounded-md border border-dashed p-8 text-center text-muted-foreground text-sm",
|
|
355
|
-
children: "No sync configurations found"
|
|
356
|
-
}, undefined, false, undefined, this)
|
|
357
|
-
}, undefined, false, undefined, this);
|
|
358
|
-
}
|
|
359
|
-
export {
|
|
360
|
-
SyncConfigsTable,
|
|
361
|
-
ConnectionsTable
|
|
362
|
-
};
|
|
2
|
+
import{Button as Y}from"@contractspec/lib.design-system";import{Badge as H}from"@contractspec/lib.ui-kit-web/ui/badge";import{HStack as S}from"@contractspec/lib.ui-kit-web/ui/stack";import{jsx as M,jsxs as p}from"react/jsx-runtime";var L={ACTIVE:"default",CONNECTED:"default",SUCCESS:"default",PENDING:"secondary",PAUSED:"secondary",ERROR:"destructive",DISCONNECTED:"outline"};function Q(E){return E?E.toLocaleString():"Never"}function _(E){return E?JSON.stringify(E,null,2):"No configuration"}function Z({status:E}){return M(H,{variant:L[E]??"outline",children:E})}function $({controller:E,label:G,toggleColumnId:q,toggleVisibleLabel:z,toggleHiddenLabel:D,pinColumnId:V,pinLabel:J,resizeColumnId:f,resizeLabel:B}){let A=E.rows[0],N=E.columns.find((P)=>P.id===q),U=E.columns.find((P)=>P.id===V),k=E.columns.find((P)=>P.id===f),I=U?.pinState==="left"?!1:"left";return p(S,{gap:"sm",className:"flex-wrap",children:[M(H,{variant:"outline",children:G}),M(Y,{variant:"outline",size:"sm",onPress:()=>A?.toggleExpanded?.(!A?.isExpanded),children:"Expand First Row"}),M(Y,{variant:"outline",size:"sm",onPress:()=>N?.toggleVisibility?.(!N?.visible),children:N?.visible?z:D}),M(Y,{variant:"outline",size:"sm",onPress:()=>U?.pin?.(I),children:U?.pinState==="left"?`Unpin ${J}`:`Pin ${J}`}),M(Y,{variant:"outline",size:"sm",onPress:()=>k?.resizeBy?.(40),children:B})]})}import{DataTable as v}from"@contractspec/lib.design-system";import{useContractTable as y}from"@contractspec/lib.presentation-runtime-react";import{VStack as R}from"@contractspec/lib.ui-kit-web/ui/stack";import{Text as W}from"@contractspec/lib.ui-kit-web/ui/text";import{jsx as F,jsxs as h}from"react/jsx-runtime";function d({connections:E}){let G=y({data:E,columns:[{id:"connection",header:"Connection",label:"Connection",accessor:(q)=>q.name,cell:({item:q})=>h(R,{gap:"xs",children:[F(W,{className:"font-medium text-sm",children:q.name}),h(W,{className:"text-muted-foreground text-xs",children:["Created ",q.createdAt.toLocaleDateString()]})]}),size:240,minSize:180,canSort:!0,canPin:!0,canResize:!0},{id:"status",header:"Status",label:"Status",accessorKey:"status",cell:({value:q})=>F(Z,{status:String(q)}),size:150,canSort:!0,canPin:!0,canResize:!0},{id:"lastSyncAt",header:"Last Sync",label:"Last Sync",accessor:(q)=>q.lastSyncAt?.getTime()??0,cell:({item:q})=>Q(q.lastSyncAt),size:200,canSort:!0,canHide:!0,canResize:!0},{id:"errorMessage",header:"Errors",label:"Errors",accessor:(q)=>q.errorMessage??"",cell:({value:q})=>String(q||"No errors"),size:240,canHide:!0,canResize:!0}],initialState:{pagination:{pageIndex:0,pageSize:3},columnVisibility:{errorMessage:!1},columnPinning:{left:["connection"],right:[]}},renderExpandedContent:(q)=>h(R,{gap:"sm",className:"py-2",children:[F(W,{className:"font-medium text-sm",children:"Credentials"}),F("pre",{className:"overflow-auto rounded-md bg-muted/40 p-3 text-xs",children:_(q.credentials)}),F(W,{className:"font-medium text-sm",children:"Config"}),F("pre",{className:"overflow-auto rounded-md bg-muted/40 p-3 text-xs",children:_(q.config)}),F(W,{className:"text-muted-foreground text-sm",children:q.errorMessage??"No sync errors recorded."})]}),getCanExpand:()=>!0});return F(v,{controller:G,title:"Connections",description:"Client-mode ContractSpec table with visibility, pinning, resizing, and expanded diagnostics.",toolbar:F($,{controller:G,label:`${E.length} total connections`,toggleColumnId:"errorMessage",toggleVisibleLabel:"Hide Error Column",toggleHiddenLabel:"Show Error Column",pinColumnId:"status",pinLabel:"Status",resizeColumnId:"connection",resizeLabel:"Widen Connection"}),emptyState:F("div",{className:"rounded-md border border-dashed p-8 text-center text-muted-foreground text-sm",children:"No connections found"})})}import{DataTable as C}from"@contractspec/lib.design-system";import{useContractTable as T}from"@contractspec/lib.presentation-runtime-react";import{VStack as w}from"@contractspec/lib.ui-kit-web/ui/stack";import{Text as O}from"@contractspec/lib.ui-kit-web/ui/text";import{jsx as X,jsxs as K}from"react/jsx-runtime";function b({syncConfigs:E}){let G=T({data:E,columns:[{id:"sync",header:"Sync Config",label:"Sync Config",accessor:(q)=>q.name,cell:({item:q})=>K(w,{gap:"xs",children:[X(O,{className:"font-medium text-sm",children:q.name}),K(O,{className:"text-muted-foreground text-xs",children:[q.sourceEntity," \u2192 ",q.targetEntity]})]}),size:260,minSize:200,canSort:!0,canPin:!0,canResize:!0},{id:"frequency",header:"Frequency",label:"Frequency",accessorKey:"frequency",size:160,canSort:!0,canHide:!0,canResize:!0},{id:"status",header:"Status",label:"Status",accessorKey:"status",cell:({value:q})=>X(Z,{status:String(q)}),size:150,canSort:!0,canPin:!0,canResize:!0},{id:"recordsSynced",header:"Records",label:"Records",accessorKey:"recordsSynced",align:"right",size:140,canSort:!0,canResize:!0},{id:"lastRunAt",header:"Last Run",label:"Last Run",accessor:(q)=>q.lastRunAt?.getTime()??0,cell:({item:q})=>Q(q.lastRunAt),size:200,canSort:!0,canHide:!0,canResize:!0}],initialState:{pagination:{pageIndex:0,pageSize:3},columnVisibility:{lastRunAt:!1},columnPinning:{left:["sync"],right:[]}},renderExpandedContent:(q)=>K(w,{gap:"sm",className:"py-2",children:[K(O,{className:"text-muted-foreground text-sm",children:["Connection ",q.connectionId]}),K(O,{className:"text-muted-foreground text-sm",children:["Last run: ",Q(q.lastRunAt)]}),K(O,{className:"text-muted-foreground text-sm",children:["Last status: ",q.lastRunStatus??"No runs recorded"]}),K(O,{className:"text-muted-foreground text-sm",children:["Updated ",q.updatedAt.toLocaleString()]})]}),getCanExpand:()=>!0});return X(C,{controller:G,title:"Sync Configs",description:"Shared table primitives applied to sync monitoring without changing the surrounding dashboard layout.",toolbar:X($,{controller:G,label:`${E.length} syncs`,toggleColumnId:"lastRunAt",toggleVisibleLabel:"Hide Last Run",toggleHiddenLabel:"Show Last Run",pinColumnId:"status",pinLabel:"Status",resizeColumnId:"sync",resizeLabel:"Widen Sync"}),emptyState:X("div",{className:"rounded-md border border-dashed p-8 text-center text-muted-foreground text-sm",children:"No sync configurations found"})})}export{b as SyncConfigsTable,d as ConnectionsTable};
|