feat : Création de toutes les entités

This commit is contained in:
Yaël Perret
2026-09-01 17:18:28 +02:00
parent d4246aa2c8
commit d8aa9956d0
32 changed files with 529 additions and 5 deletions

View File

@@ -0,0 +1,13 @@
import { z } from 'zod';
import { timestampSchema, uuidSchema } from './_shared';
export const socialAuthProviderSchema = z.object({
id: uuidSchema,
user_id: uuidSchema,
provider: z.enum(['google', 'apple']),
provider_user_id: z.string().trim().min(1).max(255),
created_at: timestampSchema,
});
export type SocialAuthProvider = z.infer<typeof socialAuthProviderSchema>;