summary refs log tree commit diff
path: root/src/util/schemas
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-23 12:46:03 +1100
committerPuyodead1 <puyodead@proton.me>2023-03-18 19:25:03 -0400
commit2364096a97ba66949cc3b7fbc5b9fb68977ff3ca (patch)
tree4fdd00ba8605da25572889190020843cddc7862a /src/util/schemas
parentDon't use mergeDeep (diff)
downloadserver-2364096a97ba66949cc3b7fbc5b9fb68977ff3ca.tar.xz
entities/ConnectionUpdateSchema -> schemas/ConnectionUpdateSchema
Diffstat (limited to 'src/util/schemas')
-rw-r--r--src/util/schemas/ConnectionUpdateSchema.ts3
-rw-r--r--src/util/schemas/index.ts1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/util/schemas/ConnectionUpdateSchema.ts b/src/util/schemas/ConnectionUpdateSchema.ts
new file mode 100644
index 00000000..ac234e7e
--- /dev/null
+++ b/src/util/schemas/ConnectionUpdateSchema.ts
@@ -0,0 +1,3 @@
+export interface ConnectionUpdateSchema {
+	visibility?: boolean;
+}
diff --git a/src/util/schemas/index.ts b/src/util/schemas/index.ts
index 71b4c2ce..e9f4268e 100644
--- a/src/util/schemas/index.ts
+++ b/src/util/schemas/index.ts
@@ -32,6 +32,7 @@ export * from "./ChannelReorderSchema";
 export * from "./CodesVerificationSchema";
 export * from "./ConnectedAccountSchema";
 export * from "./ConnectionCallbackSchema";
+export * from "./ConnectionUpdateSchema";
 export * from "./DmChannelCreateSchema";
 export * from "./EmojiCreateSchema";
 export * from "./EmojiModifySchema";