pl-api: instance schema cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
822e7e2287
commit
1a4b01da0d
1 changed files with 0 additions and 2 deletions
|
@ -166,7 +166,6 @@ const pleromaSchema = coerceObject({
|
|||
birthday_min_age: v.fallback(v.number(), 0),
|
||||
birthday_required: v.fallback(v.boolean(), false),
|
||||
description_limit: v.fallback(v.number(), 1500),
|
||||
features: v.fallback(v.array(v.string()), []),
|
||||
federation: coerceObject({
|
||||
enabled: v.fallback(v.boolean(), true), // Assume true unless explicitly false
|
||||
mrf_policies: v.fallback(v.optional(v.array(v.string())), undefined),
|
||||
|
@ -315,7 +314,6 @@ const instanceSchema = v.pipe(
|
|||
description: v.fallback(v.string(), ''),
|
||||
domain: v.fallback(v.string(), ''),
|
||||
feature_quote: v.fallback(v.boolean(), false),
|
||||
fedibird_capabilities: v.fallback(v.array(v.string()), []),
|
||||
languages: v.fallback(v.array(v.string()), []),
|
||||
pleroma: pleromaSchema,
|
||||
registrations: registrations,
|
||||
|
|
Loading…
Reference in a new issue