kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Update account schema
rodzic
41dde9448f
commit
162b0042ed
|
@ -110,6 +110,8 @@ const baseAccountSchema = z.object({
|
||||||
nostr: z.object({
|
nostr: z.object({
|
||||||
nip05: z.string().optional().catch(undefined),
|
nip05: z.string().optional().catch(undefined),
|
||||||
}).optional().catch(undefined),
|
}).optional().catch(undefined),
|
||||||
|
ditto: z.object({
|
||||||
|
captcha_solved: z.boolean().catch(true) }),
|
||||||
}).optional().catch(undefined),
|
}).optional().catch(undefined),
|
||||||
statuses_count: z.number().catch(0),
|
statuses_count: z.number().catch(0),
|
||||||
suspended: z.boolean().catch(false),
|
suspended: z.boolean().catch(false),
|
||||||
|
|
Ładowanie…
Reference in New Issue