mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2026-01-05 06:34:22 +01:00
- Add useId hook for unique ID generation in SettingsControls - Fix label accessibility with proper htmlFor attribute - Apply Biome formatting rules to all modified files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
364 B
TypeScript
13 lines
364 B
TypeScript
import z from "zod";
|
|
|
|
export const configSchema = z.object({
|
|
hideNoUserMessageSession: z.boolean().optional().default(true),
|
|
unifySameTitleSession: z.boolean().optional().default(true),
|
|
enterKeyBehavior: z
|
|
.enum(["shift-enter-send", "enter-send"])
|
|
.optional()
|
|
.default("shift-enter-send"),
|
|
});
|
|
|
|
export type Config = z.infer<typeof configSchema>;
|