Skip to content

Commit bda30a3

Browse files
committed
fix: made typecheck correction
1 parent 501bcd7 commit bda30a3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/validations.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ const baseStreakParamsSchema = z.object({
281281
.transform((val) => val === 'true' || val === '1'),
282282
// Glow effect — on by default. Accepts 'true'/'1' (true) or 'false' (false).
283283
glow: z.string().optional().transform(toBooleanFlag).default(true),
284+
opacity: z.string().optional().transform(toOpacityValue),
284285
entrance: z.enum(['rise', 'fade', 'slide', 'none']).catch('rise').default('rise'),
285286

286287
// Output format: 'svg' (default) or 'json' for programmatic access.

0 commit comments

Comments
 (0)