Update instance ban schema
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;
}
|