1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-14 06:32:36 +01:00

Typescript-json-schema does not crawl extends

This commit is contained in:
Madeline 2022-07-02 19:28:35 +10:00
parent 4fbebe17d3
commit 02222361f1
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

@ -16,7 +16,14 @@ const router: Router = Router();
// TODO: Only permissions your bot has in the guild or channel can be allowed/denied (unless your bot has a MANAGE_ROLES overwrite in the channel) // TODO: Only permissions your bot has in the guild or channel can be allowed/denied (unless your bot has a MANAGE_ROLES overwrite in the channel)
export interface ChannelPermissionOverwriteSchema extends ChannelPermissionOverwrite {} // export interface ChannelPermissionOverwriteSchema extends ChannelPermissionOverwrite {}
// TODO: typescript-json-schema does not like extending types
export interface ChannelPermissionOverwriteSchema {
allow: string;
deny: string;
id: string;
type: ChannelPermissionOverwriteType;
}
router.put( router.put(
"/:overwrite_id", "/:overwrite_id",