mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-26 06:44:58 +00:00
- Created dbal/shared/ui directory for shared UI components - Implemented getStatusResponse() for status API endpoint - Implemented DBALDaemonPage component with metadata - Updated tsconfig.json @dbal-ui path to point to dbal/shared/ui - Updated next.config.ts webpack alias for @dbal-ui - Components support both development and production DBAL modes Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
14 lines
241 B
TypeScript
14 lines
241 B
TypeScript
/**
|
|
* DBAL Status Response
|
|
*/
|
|
export function getStatusResponse() {
|
|
return {
|
|
status: 'ok',
|
|
timestamp: new Date().toISOString(),
|
|
dbal: {
|
|
mode: process.env.DBAL_MODE || 'development',
|
|
version: '1.0.0',
|
|
},
|
|
}
|
|
}
|