From c0be46d9dfdd7474ef288f7fdd14c30a9766798a Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 21 Nov 2022 11:47:17 -0500 Subject: [PATCH] Remove federation strict_allowlist and retry_count. Fixes #82 --- src/interfaces/api/site.ts | 16 ---------------- src/interfaces/source.ts | 2 -- 2 files changed, 18 deletions(-) diff --git a/src/interfaces/api/site.ts b/src/interfaces/api/site.ts index d7279d4..a843f9c 100644 --- a/src/interfaces/api/site.ts +++ b/src/interfaces/api/site.ts @@ -301,14 +301,6 @@ export class CreateSite { @Transform(({ value }) => toOption(value), { toClassOnly: true }) @Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) @Expose() - federation_strict_allowlist: Option; - @Transform(({ value }) => toOption(value), { toClassOnly: true }) - @Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) - @Expose() - federation_http_fetch_retry_limit: Option; - @Transform(({ value }) => toOption(value), { toClassOnly: true }) - @Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) - @Expose() federation_worker_count: Option; @Transform(({ value }) => toOption(value), { toClassOnly: true }) @Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) @@ -475,14 +467,6 @@ export class EditSite { @Transform(({ value }) => toOption(value), { toClassOnly: true }) @Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) @Expose() - federation_strict_allowlist: Option; - @Transform(({ value }) => toOption(value), { toClassOnly: true }) - @Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) - @Expose() - federation_http_fetch_retry_limit: Option; - @Transform(({ value }) => toOption(value), { toClassOnly: true }) - @Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) - @Expose() federation_worker_count: Option; @Transform(({ value }) => toOption(value), { toClassOnly: true }) @Transform(({ value }) => toUndefined(value), { toPlainOnly: true }) diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index 33b8063..c77c4ad 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -133,8 +133,6 @@ export class LocalSite { actor_name_max_length: number; federation_enabled: boolean; federation_debug: boolean; - federation_strict_allowlist: boolean; - federation_http_fetch_retry_limit: number; federation_worker_count: number; captcha_enabled: boolean; captcha_difficulty: string;