From eafe79095e6915b81d0e0f2d7735f561cd6f9129 Mon Sep 17 00:00:00 2001 From: Rory& Date: Tue, 16 Dec 2025 05:00:49 +0100 Subject: Update instance ban schema --- assets/openapi.json | 3 +++ assets/schemas.json | 3 +++ src/schemas/api/users/InstanceUserDeleteSchema.ts | 1 + 3 files changed, 7 insertions(+) diff --git a/assets/openapi.json b/assets/openapi.json index 83138115..0ac9295d 100644 --- a/assets/openapi.json +++ b/assets/openapi.json @@ -10782,6 +10782,9 @@ "properties": { "reason": { "type": "string" + }, + "persistInstanceBan": { + "type": "boolean" } } }, diff --git a/assets/schemas.json b/assets/schemas.json index 4bf97dc4..3c1ea8b8 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -11409,6 +11409,9 @@ "properties": { "reason": { "type": "string" + }, + "persistInstanceBan": { + "type": "boolean" } }, "additionalProperties": false, diff --git a/src/schemas/api/users/InstanceUserDeleteSchema.ts b/src/schemas/api/users/InstanceUserDeleteSchema.ts index 48c9fde8..923386de 100644 --- a/src/schemas/api/users/InstanceUserDeleteSchema.ts +++ b/src/schemas/api/users/InstanceUserDeleteSchema.ts @@ -3,4 +3,5 @@ import { ConnectedAccount } from "@spacebar/util"; export type InstanceUserDeleteSchema = InstanceUserDeleteSchemaContent | undefined; //unsure if this a correct way to make the body optional export interface InstanceUserDeleteSchemaContent { reason?: string; + persistInstanceBan?: boolean; } -- cgit 1.5.1