X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=server%2Ftypings%2Fmodels%2Faccount%2Faccount-blocklist.ts;h=0d8bf11bd98b5838f5aab96af8896f5efa53b892;hb=d6d951ddc0c492f3261065b5dcb4df0534d252fc;hp=c9cb553325ceb063f03fb0d2db6928b588b3805e;hpb=d5c8932a601c1854db0a2e399ccaf26e17385f1a;p=oweals%2Fpeertube.git diff --git a/server/typings/models/account/account-blocklist.ts b/server/typings/models/account/account-blocklist.ts index c9cb55332..0d8bf11bd 100644 --- a/server/typings/models/account/account-blocklist.ts +++ b/server/typings/models/account/account-blocklist.ts @@ -12,7 +12,8 @@ export type MAccountBlocklist = Omit -export type MAccountBlocklistAccounts = MAccountBlocklist & +export type MAccountBlocklistAccounts = + MAccountBlocklist & Use<'ByAccount', MAccountDefault> & Use<'BlockedAccount', MAccountDefault> @@ -20,6 +21,7 @@ export type MAccountBlocklistAccounts = MAccountBlocklist & // Format for API or AP object -export type MAccountBlocklistFormattable = Pick & +export type MAccountBlocklistFormattable = + Pick & Use<'ByAccount', MAccountFormattable> & Use<'BlockedAccount', MAccountFormattable>