mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Refactor video links builders
This commit is contained in:
parent
9162fdd363
commit
15a7eafb89
41 changed files with 281 additions and 254 deletions
|
@ -1,5 +1,5 @@
|
|||
import { HookType } from '../../models/plugins/hook-type.enum'
|
||||
import { isCatchable, isPromise } from '../miscs/miscs'
|
||||
import { isCatchable, isPromise } from '../common/promises'
|
||||
|
||||
function getHookType (hookName: string) {
|
||||
if (hookName.startsWith('filter:')) return HookType.FILTER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue