- Modèle Prisma UserPreference (1-1 avec UserProfile, onDelete Cascade), enum ThemePreference (LIGHT/DARK/SYSTEM, défaut SYSTEM) - packages/shared: THEME_PREFERENCES/ThemePreference, PreferencesView, updatePreferencesSchema
18 lines
767 B
TypeScript
18 lines
767 B
TypeScript
// Public entry point of the code shared between apps/api and apps/web.
|
|
// Anything exported here is part of the cross-app contract — keep it
|
|
// intentional (types, validation schemas, error codes), not an implementation
|
|
// detail specific to one side.
|
|
|
|
export * from "./errors/error-codes.js";
|
|
export * from "./schemas/account.js";
|
|
export * from "./schemas/auth.js";
|
|
export * from "./schemas/household.js";
|
|
export * from "./schemas/planning.js";
|
|
export * from "./schemas/preferences.js";
|
|
export * from "./schemas/profile.js";
|
|
export * from "./tools/assert-is-never.js";
|
|
export * from "./types/household.js";
|
|
export * from "./types/planning.js";
|
|
export * from "./types/preferences.js";
|
|
export * from "./types/reference.js";
|
|
export * from "./types/user-profile.js";
|