feat(navigation): add Header entity + use-case + mock/payload repos + DI container

This commit is contained in:
2026-05-05 08:34:14 +02:00
parent f71025b14a
commit 19f32ec94d
10 changed files with 164 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { z } from "zod";
export const headerItemSchema = z.object({
label: z.string().min(1).max(64),
href: z.string().min(1),
external: z.boolean().default(false),
});
export const headerSchema = z.object({
logoId: z.string().optional(),
items: z.array(headerItemSchema),
});
export type Header = z.infer<typeof headerSchema>;
export type HeaderItem = z.infer<typeof headerItemSchema>;