summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-16 05:00:49 +0100
committerRory& <root@rory.gay>2025-12-16 05:00:49 +0100
commiteafe79095e6915b81d0e0f2d7735f561cd6f9129 (patch)
tree56231034542dc204ceb165c65cd2d6fe81b68ec1
parentToken versioning start (diff)
downloadserver-ts-eafe79095e6915b81d0e0f2d7735f561cd6f9129.tar.xz
Update instance ban schema
-rw-r--r--assets/openapi.json3
-rw-r--r--assets/schemas.json3
-rw-r--r--src/schemas/api/users/InstanceUserDeleteSchema.ts1
3 files changed, 7 insertions, 0 deletions
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; }