full working application and initial commit

This commit is contained in:
2026-06-04 18:39:39 +02:00
commit 8524179793
86 changed files with 10107 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import { v } from 'convex/values';
export const moodValidator = v.union(
v.literal('joyful'),
v.literal('calm'),
v.literal('neutral'),
v.literal('tired'),
v.literal('stressed'),
v.literal('sad'),
v.literal('angry'),
v.literal('grateful')
);
export const themePreferenceValidator = v.union(
v.literal('system'),
v.literal('light'),
v.literal('dark')
);
export const editorModeValidator = v.union(
v.literal('split'),
v.literal('write'),
v.literal('preview')
);
export const dashboardRangeValidator = v.union(v.literal('7d'), v.literal('30d'), v.literal('90d'));