mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 14:46:43 +02:00
style: auto-format codebase with Prettier
Applied formatting to 1487+ files using pnpm format:write - TypeScript/JavaScript files - Svelte components - Astro pages - JSON configs - Markdown docs 13 files still need manual review (Astro JSX comments)
This commit is contained in:
parent
0241f5554c
commit
d36b321d9d
3952 changed files with 661498 additions and 739751 deletions
|
|
@ -4,25 +4,25 @@ export const userTierEnum = pgEnum('user_tier', ['free', 'premium', 'enterprise'
|
|||
export const readingSpeedEnum = pgEnum('reading_speed', ['slow', 'normal', 'fast']);
|
||||
|
||||
export const users = pgTable('users', {
|
||||
id: uuid('id').primaryKey().defaultRandom(),
|
||||
email: text('email').notNull().unique(),
|
||||
name: text('name'),
|
||||
avatarUrl: text('avatar_url'),
|
||||
emailVerified: boolean('email_verified').default(false).notNull(),
|
||||
id: uuid('id').primaryKey().defaultRandom(),
|
||||
email: text('email').notNull().unique(),
|
||||
name: text('name'),
|
||||
avatarUrl: text('avatar_url'),
|
||||
emailVerified: boolean('email_verified').default(false).notNull(),
|
||||
|
||||
// Preferences
|
||||
tier: userTierEnum('tier').default('free').notNull(),
|
||||
readingSpeed: readingSpeedEnum('reading_speed').default('normal').notNull(),
|
||||
preferredCategories: text('preferred_categories').array(),
|
||||
blockedSources: text('blocked_sources').array(),
|
||||
// Preferences
|
||||
tier: userTierEnum('tier').default('free').notNull(),
|
||||
readingSpeed: readingSpeedEnum('reading_speed').default('normal').notNull(),
|
||||
preferredCategories: text('preferred_categories').array(),
|
||||
blockedSources: text('blocked_sources').array(),
|
||||
|
||||
// Settings
|
||||
onboardingCompleted: boolean('onboarding_completed').default(false).notNull(),
|
||||
notificationSettings: text('notification_settings'), // JSON string
|
||||
// Settings
|
||||
onboardingCompleted: boolean('onboarding_completed').default(false).notNull(),
|
||||
notificationSettings: text('notification_settings'), // JSON string
|
||||
|
||||
// Timestamps
|
||||
createdAt: timestamp('created_at').defaultNow().notNull(),
|
||||
updatedAt: timestamp('updated_at').defaultNow().notNull(),
|
||||
// Timestamps
|
||||
createdAt: timestamp('created_at').defaultNow().notNull(),
|
||||
updatedAt: timestamp('updated_at').defaultNow().notNull(),
|
||||
});
|
||||
|
||||
export type User = typeof users.$inferSelect;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue