]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/types/models/server/server.ts
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / server / types / models / server / server.ts
index b35e55aeb556d1e139f41438487239217adc788c..0b16186cd67aabb6d61cb191b48468277a25e1da 100644 (file)
@@ -1,5 +1,5 @@
+import { FunctionProperties, PickWith } from '@shared/typescript-utils'
 import { ServerModel } from '../../../models/server/server'
-import { FunctionProperties, PickWith } from '../../utils'
 import { MAccountBlocklistId } from '../account'
 
 type Use<K extends keyof ServerModel, M> = PickWith<ServerModel, K, M>
@@ -15,7 +15,7 @@ export type MServerRedundancyAllowed = Pick<MServer, 'redundancyAllowed'>
 
 export type MServerHostBlocks =
   MServerHost &
-  Use<'BlockedByAccounts', MAccountBlocklistId[]>
+  Use<'BlockedBy', MAccountBlocklistId[]>
 
 // ############################################################################