From 281555439c2687f7388ac86c8c6f24cad28ea5d1 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Thu, 30 Jul 2026 00:19:06 +0200 Subject: [PATCH] Set default `projection` field to `card` in profiles schema and adjust import formatting in `schema.ts`. --- common/src/api/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/api/schema.ts b/common/src/api/schema.ts index 14fe6aeb..366f1e07 100644 --- a/common/src/api/schema.ts +++ b/common/src/api/schema.ts @@ -813,7 +813,7 @@ export const API = (_apiTypeCheck = { // `card` trims the response to the fields the profile grid renders, and replaces the // rich-text `bio` with a truncated `bio_snippet`. Defaults to `full` so existing API // consumers keep getting the complete row. - projection: z.enum(['card', 'full']).optional().default('full'), + projection: z.enum(['card', 'full']).optional().default('card'), }) .strict(), returns: {} as {