diff options
Diffstat (limited to 'server/typings/models/server/server-blocklist.ts')
-rw-r--r-- | server/typings/models/server/server-blocklist.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/typings/models/server/server-blocklist.ts b/server/typings/models/server/server-blocklist.ts new file mode 100644 index 000000000..38065f382 --- /dev/null +++ b/server/typings/models/server/server-blocklist.ts | |||
@@ -0,0 +1,9 @@ | |||
1 | import { ServerBlocklistModel } from '@server/models/server/server-blocklist' | ||
2 | import { PickWith } from '@server/typings/utils' | ||
3 | import { MAccountDefault, MServer } from '@server/typings/models' | ||
4 | |||
5 | export type MServerBlocklist = Omit<ServerBlocklistModel, 'ByAccount' | 'BlockedServer'> | ||
6 | |||
7 | export type MServerBlocklistAccountServer = MServerBlocklist & | ||
8 | PickWith<ServerBlocklistModel, 'ByAccount', MAccountDefault> & | ||
9 | PickWith<ServerBlocklistModel, 'BlockedServer', MServer> | ||