feat(frontend): add API client, layout, and routing
- Create Axios-based API client with sources, jobs, and dashboard endpoints - Add responsive Layout component with navigation sidebar - Set up React Router with Dashboard, Backups, and Settings routes - Configure TanStack Query provider with default options - Use lucide-react for navigation icons
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
import { V as ViteNodeServerOptions } from './index-O2IrwHKf.js';
|
||||
import './trace-mapping.d-xyIfZtPm.js';
|
||||
|
||||
interface CliOptions {
|
||||
'root'?: string;
|
||||
'script'?: boolean;
|
||||
'config'?: string;
|
||||
'mode'?: string;
|
||||
'watch'?: boolean;
|
||||
'options'?: ViteNodeServerOptionsCLI;
|
||||
'version'?: boolean;
|
||||
'help'?: boolean;
|
||||
'--'?: string[];
|
||||
}
|
||||
type Optional<T> = T | undefined;
|
||||
type ComputeViteNodeServerOptionsCLI<T extends Record<string, any>> = {
|
||||
[K in keyof T]: T[K] extends Optional<RegExp[]> ? string | string[] : T[K] extends Optional<(string | RegExp)[]> ? string | string[] : T[K] extends Optional<(string | RegExp)[] | true> ? string | string[] | true : T[K] extends Optional<Record<string, any>> ? ComputeViteNodeServerOptionsCLI<T[K]> : T[K];
|
||||
};
|
||||
type ViteNodeServerOptionsCLI = ComputeViteNodeServerOptionsCLI<ViteNodeServerOptions>;
|
||||
|
||||
export type { CliOptions, ViteNodeServerOptionsCLI };
|
||||
Reference in New Issue
Block a user