mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-25 07:15:01 +03:00
14c9bdff89
The router, the sidebar, the page titles and the command palette each kept their own list of the panel's pages, so a page added to one could go missing from another without any test noticing. They all read src/routes/panelRoutes.tsx now, and a contract test holds the manifest to the router, the translation bundle and the palette keywords. The unused useZodForm helper goes, and CONTRIBUTING, frontend/CLAUDE.md and the frontend README describe the useForm + rhfZodValidate pattern the panel's forms actually use.
5 lines
249 B
TypeScript
5 lines
249 B
TypeScript
export { FormField, type FormFieldProps } from './FormField';
|
|
export { rhfZodValidate } from './rhfZodValidate';
|
|
export { normalizeAntdOnChange, type ValueProp } from './normalizeAntdOnChange';
|
|
export { toDotted, type FieldName } from './toDotted';
|