aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/plugins
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-09 11:00:30 +0200
committerChocobozzz <me@florianbigard.com>2020-04-09 11:00:30 +0200
commit1b05d82d861f42c27766e9f24d8d55e68b0cf098 (patch)
treebbf14abc606dd3f8f0c13625afbdf3b17fea3a23 /server/typings/plugins
parentbc0d801bb7a0cc503c1637f4a07bb51d68d85608 (diff)
downloadPeerTube-1b05d82d861f42c27766e9f24d8d55e68b0cf098.tar.gz
PeerTube-1b05d82d861f42c27766e9f24d8d55e68b0cf098.tar.zst
PeerTube-1b05d82d861f42c27766e9f24d8d55e68b0cf098.zip
Add SQL query support in plugins
Diffstat (limited to 'server/typings/plugins')
-rw-r--r--server/typings/plugins/register-server-option.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/typings/plugins/register-server-option.model.ts b/server/typings/plugins/register-server-option.model.ts
index 76ac3cb9a..6f2ba7cd6 100644
--- a/server/typings/plugins/register-server-option.model.ts
+++ b/server/typings/plugins/register-server-option.model.ts
@@ -9,6 +9,10 @@ import { Logger } from 'winston'
9 9
10export type PeerTubeHelpers = { 10export type PeerTubeHelpers = {
11 logger: Logger 11 logger: Logger
12
13 database: {
14 query: Function
15 }
12} 16}
13 17
14export type RegisterServerOptions = { 18export type RegisterServerOptions = {