diff options
Diffstat (limited to 'server/typings/models/account/account-blocklist.ts')
-rw-r--r-- | server/typings/models/account/account-blocklist.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/server/typings/models/account/account-blocklist.ts b/server/typings/models/account/account-blocklist.ts new file mode 100644 index 000000000..6d1771de8 --- /dev/null +++ b/server/typings/models/account/account-blocklist.ts | |||
@@ -0,0 +1,11 @@ | |||
1 | import { AccountBlocklistModel } from '../../../models/account/account-blocklist' | ||
2 | import { PickWith } from '../../utils' | ||
3 | import { MAccountDefault } from './account' | ||
4 | |||
5 | export type MAccountBlocklist = Omit<AccountBlocklistModel, 'ByAccount' | 'BlockedAccount'> | ||
6 | |||
7 | export type MAccountBlocklistId = Pick<AccountBlocklistModel, 'id'> | ||
8 | |||
9 | export type MAccountBlocklistAccounts = MAccountBlocklist & | ||
10 | PickWith<AccountBlocklistModel, 'ByAccount', MAccountDefault> & | ||
11 | PickWith<AccountBlocklistModel, 'BlockedAccount', MAccountDefault> | ||