瀏覽代碼

Add ability for plugins to alter video jsonld

tags/v5.1.0
Chocobozzz 2 月之前
父節點
當前提交
230af3e7db
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 583A612D890159BE
共有 1 個檔案被更改,包括 0 行新增9 行删除
  1. +0
    -9
      client/src/app/core/plugins/hooks.service.ts

+ 0
- 9
client/src/app/core/plugins/hooks.service.ts 查看文件

@@ -48,15 +48,6 @@ export class HooksService {
return this.pluginService.runHook(hookResultName, result, params)
}

async wrapFunResult <P, R, H extends ClientFilterHookName>
(fun: RawFunction<P, R>, params: P, scope: PluginClientScope, hookResultName: H) {
await this.pluginService.ensurePluginsAreLoaded(scope)

const result = fun(params)

return this.pluginService.runHook(hookResultName, result, params)
}

runAction<T, U extends ClientActionHookName> (hookName: U, scope: PluginClientScope, params?: T) {
// Use setTimeout to give priority to Angular change detector
setTimeout(() => {


Loading…
取消
儲存