feat(05-01): wire BackendSelectionStep to registry and remove dead export

- Replace hardcoded BACKENDS array with Object.entries(BACKEND_REGISTRY)
- Import BACKEND_REGISTRY in BackendSelectionStep.tsx
- Remove BackendFormValues<T> export from schemas/index.ts (dead code TECH-04)
- TypeScript compiles with zero errors
This commit is contained in:
2026-03-30 09:38:25 +02:00
parent 214a68e4eb
commit 52318d5130
2 changed files with 7 additions and 26 deletions
-3
View File
@@ -23,6 +23,3 @@ export const BACKEND_SCHEMAS = {
's3-compatible': buildZodSchema('s3-compatible'),
} as const;
// Utility type: infer TypeScript type from a backend's Zod schema
export type BackendFormValues<T extends BackendType> =
z.infer<typeof BACKEND_SCHEMAS[T]>;