mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-16 18:25:17 +02:00
embed tweets
This commit is contained in:
parent
8737605666
commit
e3d2a0988b
7 changed files with 87 additions and 63 deletions
|
|
@ -22,7 +22,7 @@ export const ImageBlockSchema = z.object({
|
|||
export type ImageBlock = z.infer<typeof ImageBlockSchema>;
|
||||
|
||||
export const EmbedBlockSchema = z.object({
|
||||
provider: z.enum(['youtube', 'figma', 'generic']),
|
||||
provider: z.enum(['youtube', 'figma', 'tweet', 'generic']),
|
||||
url: z.string().url(),
|
||||
caption: z.string().optional(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue