Skip to content

Commit 7362d5f

Browse files
committed
style(types): fix biome formatting for AICommitSuggestionSchema
1 parent 8443006 commit 7362d5f

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/services/ai/types.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@ export interface UserAIConfig {
5252
preset?: string
5353
}
5454

55-
export const AICommitSuggestionSchema: z.ZodType<AICommitSuggestion> = z.object({
56-
type: z.string(),
57-
scope: z.string().optional(),
58-
message: z.string(),
59-
body: z.string().optional(),
60-
breaking: z.string().optional(),
61-
})
55+
export const AICommitSuggestionSchema: z.ZodType<AICommitSuggestion> = z.object(
56+
{
57+
type: z.string(),
58+
scope: z.string().optional(),
59+
message: z.string(),
60+
body: z.string().optional(),
61+
breaking: z.string().optional(),
62+
},
63+
)
6264

6365
export const ProviderConfigSchema: z.ZodType<ProviderConfig> = z.object({
6466
name: z.enum(['claude', 'codex', 'agent', 'custom']),

0 commit comments

Comments
 (0)