feat: implement NewConnectionDialog component for creating and editing database connections with form validation chore: generate TypeScript definitions and JavaScript bindings for app functions chore: add models for configuration, connection requests, and database entities
67 lines
1.7 KiB
TypeScript
67 lines
1.7 KiB
TypeScript
/**
|
|
* uzdb Frontend Components
|
|
*
|
|
* Central export file for all components.
|
|
*/
|
|
|
|
// Common components
|
|
export { StatusIndicator } from './common/StatusIndicator';
|
|
export type { StatusIndicatorProps, StatusType } from './common/StatusIndicator';
|
|
|
|
export { default as NewConnectionDialog } from './common/NewConnectionDialog';
|
|
export type { NewConnectionFormData } from './common/NewConnectionDialog';
|
|
|
|
// Layout components
|
|
export { AppLayout } from './Layout/AppLayout';
|
|
export type { AppLayoutProps } from './Layout/AppLayout';
|
|
|
|
export { StatusBar } from './Layout/StatusBar';
|
|
export type { StatusBarProps, StatusType as StatusBarStatusType } from './Layout/StatusBar';
|
|
|
|
export { ToolBar } from './Layout/ToolBar';
|
|
export type { ToolBarProps, ToolButton } from './Layout/ToolBar';
|
|
|
|
// MenuBar components
|
|
export { MenuBar } from './MenuBar/MenuBar';
|
|
export type { MenuBarProps, MenuItem, MenuDefinition } from './MenuBar/MenuBar';
|
|
|
|
// Sidebar components
|
|
export { ConnectionPanel } from './Sidebar/ConnectionPanel';
|
|
export type {
|
|
ConnectionPanelProps,
|
|
DatabaseConnection,
|
|
Schema,
|
|
Table,
|
|
View,
|
|
Function,
|
|
Procedure,
|
|
} from './Sidebar/ConnectionPanel';
|
|
|
|
// MainArea components
|
|
export { QueryEditor } from './MainArea/QueryEditor';
|
|
export type {
|
|
QueryEditorProps,
|
|
QueryTab,
|
|
QueryResult,
|
|
} from './MainArea/QueryEditor';
|
|
|
|
export { DataGrid } from './MainArea/DataGrid';
|
|
export type {
|
|
DataGridProps,
|
|
Column,
|
|
DataRow,
|
|
PaginationState,
|
|
SortState,
|
|
FilterState,
|
|
} from './MainArea/DataGrid';
|
|
|
|
export { TableStructure } from './MainArea/TableStructure';
|
|
export type {
|
|
TableStructureProps,
|
|
TableColumn,
|
|
Index,
|
|
ForeignKey,
|
|
TableInfo,
|
|
StructureTab,
|
|
} from './MainArea/TableStructure';
|