(error: ZodError)
| 74 | const globalSettingsShape = globalSettingsSchema.shape as Record<keyof GlobalSettings, z.ZodTypeAny> |
| 75 | |
| 76 | function formatZodIssues(error: ZodError): string { |
| 77 | return error.issues.map((issue) => `[${issue.path.join(".") || "value"}]: ${issue.message}`).join(", ") |
| 78 | } |
| 79 | |
| 80 | function sanitizeGlobalSettings(rawGlobalSettings: unknown): { |
| 81 | sanitizedGlobalSettings: GlobalSettings |
no outgoing calls
no test coverage detected