mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-07-30 09:48:47 -04:00
Set default projection field to card in profiles schema and adjust import formatting in schema.ts.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user