refactor: Flatten directory structure
Move project files from uzdb/ subdirectory to root directory for cleaner project structure.
Changes:
- Move frontend/ to root
- Move internal/ to root
- Move build/ to root
- Move all config files (go.mod, wails.json, etc.) to root
- Remove redundant uzdb/ subdirectory nesting
Project structure is now:
├── frontend/ # React application
├── internal/ # Go backend
├── build/ # Wails build assets
├── doc/ # Design documentation
├── main.go # Entry point
└── ...
🤖 Generated with Qoder
This commit is contained in:
63
frontend/src/components/index.ts
Normal file
63
frontend/src/components/index.ts
Normal file
@@ -0,0 +1,63 @@
|
||||
/**
|
||||
* uzdb Frontend Components
|
||||
*
|
||||
* Central export file for all components.
|
||||
*/
|
||||
|
||||
// Common components
|
||||
export { StatusIndicator } from './common/StatusIndicator';
|
||||
export type { StatusIndicatorProps, StatusType } from './common/StatusIndicator';
|
||||
|
||||
// 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';
|
||||
Reference in New Issue
Block a user