From 1a4b01da0d69c3ccc88cb11a8b12eeb8e0bc898e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 28 Oct 2024 00:10:38 +0100 Subject: [PATCH] pl-api: instance schema cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-api/lib/entities/instance.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/pl-api/lib/entities/instance.ts b/packages/pl-api/lib/entities/instance.ts index 22a7fc055..efc68aa32 100644 --- a/packages/pl-api/lib/entities/instance.ts +++ b/packages/pl-api/lib/entities/instance.ts @@ -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,