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:
+27
@@ -0,0 +1,27 @@
|
||||
export declare const EVENTS: {
|
||||
readonly BLUR: "blur";
|
||||
readonly FOCUS_OUT: "focusout";
|
||||
readonly CHANGE: "change";
|
||||
readonly SUBMIT: "submit";
|
||||
readonly TRIGGER: "trigger";
|
||||
readonly VALID: "valid";
|
||||
};
|
||||
export declare const VALIDATION_MODE: {
|
||||
readonly onBlur: "onBlur";
|
||||
readonly onChange: "onChange";
|
||||
readonly onSubmit: "onSubmit";
|
||||
readonly onTouched: "onTouched";
|
||||
readonly all: "all";
|
||||
};
|
||||
export declare const INPUT_VALIDATION_RULES: {
|
||||
readonly max: "max";
|
||||
readonly min: "min";
|
||||
readonly maxLength: "maxLength";
|
||||
readonly minLength: "minLength";
|
||||
readonly pattern: "pattern";
|
||||
readonly required: "required";
|
||||
readonly validate: "validate";
|
||||
};
|
||||
export declare const FORM_ERROR_TYPE = "form";
|
||||
export declare const ROOT_ERROR_TYPE = "root";
|
||||
//# sourceMappingURL=constants.d.ts.map
|
||||
Reference in New Issue
Block a user