more refactor

This commit is contained in:
2025-07-23 09:54:11 -06:00
parent 3e371247d6
commit 1885431574
69 changed files with 158 additions and 142 deletions

View File

@@ -0,0 +1,14 @@
import z from "zod";
export const zodGlobalSettingsCourse = z.object({
path: z.string(),
name: z.string(),
});
export const zodGlobalSettings = z.object({
courses: z.array(zodGlobalSettingsCourse),
});
export type GlobalSettings = z.infer<typeof zodGlobalSettings>;
export type GlobalSettingsCourse = z.infer<typeof zodGlobalSettingsCourse>;