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:
+19
@@ -0,0 +1,19 @@
|
||||
import { EventHandler } from './addEventListener';
|
||||
import { TransformValue } from './isTransform';
|
||||
import { Property } from './types';
|
||||
declare type AnimateProperties = Record<Property | TransformValue, string>;
|
||||
interface Options {
|
||||
node: HTMLElement;
|
||||
properties: AnimateProperties;
|
||||
duration?: number;
|
||||
easing?: string;
|
||||
callback?: EventHandler<'transitionend'>;
|
||||
}
|
||||
interface Cancel {
|
||||
cancel(): void;
|
||||
}
|
||||
declare function animate(options: Options): Cancel;
|
||||
declare function animate(node: HTMLElement, properties: AnimateProperties, duration: number): Cancel;
|
||||
declare function animate(node: HTMLElement, properties: AnimateProperties, duration: number, callback: EventHandler<'transitionend'>): Cancel;
|
||||
declare function animate(node: HTMLElement, properties: AnimateProperties, duration: number, easing: string, callback: EventHandler<'transitionend'>): Cancel;
|
||||
export default animate;
|
||||
Reference in New Issue
Block a user