summary refs log tree commit diff
path: root/src/util/schemas/ChannelReorderSchema.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-24 19:46:33 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-24 19:46:33 +1100
commitc96d2e9bd885f927c12b6bb711301091e51e5477 (patch)
treece115cd5cee8ca90d4e4dfe07979d67939d0af32 /src/util/schemas/ChannelReorderSchema.ts
parentrearrange test client's index a bit (diff)
downloadserver-c96d2e9bd885f927c12b6bb711301091e51e5477.tar.xz
Forgot some schemas + only generate schemas in util/schemas + add setup script
Diffstat (limited to 'src/util/schemas/ChannelReorderSchema.ts')
-rw-r--r--src/util/schemas/ChannelReorderSchema.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/schemas/ChannelReorderSchema.ts b/src/util/schemas/ChannelReorderSchema.ts
new file mode 100644
index 00000000..6eb4cdd5
--- /dev/null
+++ b/src/util/schemas/ChannelReorderSchema.ts
@@ -0,0 +1,6 @@
+export type ChannelReorderSchema = {
+	id: string;
+	position?: number;
+	lock_permissions?: boolean;
+	parent_id?: string;
+}[];
\ No newline at end of file