blob: 36d08d84a3cee6efae837f4cc1ca8d11994eeb80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import { PluginModel } from '@server/models/server/plugin'
import { PeerTubeHelpers } from '@server/typings/plugins'
function buildPluginHelpers (npmName: string, plugin: PluginModel): PeerTubeHelpers {
const logger = buildLogger(npmName)
return {
logger
}
}
export {
buildPluginHelpers
}
// ---------------------------------------------------------------------------
function buildLogger (npmName: string) {
return buildLogger(npmName)
}
|