2
0

(audio) Add autoplay switch in settings

This commit is contained in:
Baptiste Arnaud
2023-08-07 12:20:38 +02:00
parent bd9c8eac4c
commit 037d4ce345
9 changed files with 52 additions and 37 deletions

View File

@ -4,6 +4,7 @@ import { BubbleBlockType } from './enums'
export const audioBubbleContentSchema = z.object({
url: z.string().optional(),
isAutoplayEnabled: z.boolean().optional(),
})
export const audioBubbleBlockSchema = blockBaseSchema.merge(