aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/register.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-05 13:54:32 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commit345da516fae80f24c90c2196e96393b489af2243 (patch)
tree64d72d25a531626c1d4a6337460dae4e32386f2a /shared/models/plugins/register.model.ts
parent297067399db2bf7505561d67667ca0d559a8e42b (diff)
downloadPeerTube-345da516fae80f24c90c2196e96393b489af2243.tar.gz
PeerTube-345da516fae80f24c90c2196e96393b489af2243.tar.zst
PeerTube-345da516fae80f24c90c2196e96393b489af2243.zip
WIP plugins: add ability to register plugins
Diffstat (limited to 'shared/models/plugins/register.model.ts')
-rw-r--r--shared/models/plugins/register.model.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/models/plugins/register.model.ts b/shared/models/plugins/register.model.ts
new file mode 100644
index 000000000..3817007ae
--- /dev/null
+++ b/shared/models/plugins/register.model.ts
@@ -0,0 +1,5 @@
1export type RegisterHookOptions = {
2 target: string
3 handler: Function
4 priority?: number
5}