kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
fix: add zaps_amount to baseStatusSchema
rodzic
e303d19f8c
commit
5a28c42e7c
|
@ -72,6 +72,7 @@ const baseStatusSchema = z.object({
|
|||
url: z.string().url().catch(''),
|
||||
visibility: z.string().catch('public'),
|
||||
zapped: z.coerce.boolean(),
|
||||
zaps_amount: z.number().catch(0),
|
||||
});
|
||||
|
||||
type BaseStatus = z.infer<typeof baseStatusSchema>;
|
||||
|
|
Ładowanie…
Reference in New Issue