refactor: more TS code

This commit is contained in:
Tristan Yang
2022-07-28 08:57:42 +08:00
parent 974432a0af
commit e26b6f0fcc
28 changed files with 121 additions and 120 deletions
+2 -2
View File
@@ -6,11 +6,11 @@ export type ContentTypeKey = "text" | "markdown" | "file" | "archive";
export interface MuteDTO {
add_users?: {
uid: number;
expired_in: number;
expired_in?: number;
}[];
add_groups?: {
gid: number;
expired_in: number;
expired_in?: number;
}[];
remove_users?: number[];
remove_groups?: number[];