aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/types/plugins/register-server-option.model.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/types/plugins/register-server-option.model.ts b/server/types/plugins/register-server-option.model.ts
index 1b9250ce4..4af476ed2 100644
--- a/server/types/plugins/register-server-option.model.ts
+++ b/server/types/plugins/register-server-option.model.ts
@@ -58,14 +58,18 @@ export type PeerTubeHelpers = {
58 } 58 }
59 59
60 plugin: { 60 plugin: {
61 // PeerTube >= 3.2
61 getBaseStaticRoute: () => string 62 getBaseStaticRoute: () => string
62 63
64 // PeerTube >= 3.2
63 getBaseRouterRoute: () => string 65 getBaseRouterRoute: () => string
64 66
67 // PeerTube >= 3.2
65 getDataDirectoryPath: () => string 68 getDataDirectoryPath: () => string
66 } 69 }
67 70
68 user: { 71 user: {
72 // PeerTube >= 3.2
69 getAuthUser: (response: Response) => { 73 getAuthUser: (response: Response) => {
70 id?: string 74 id?: string
71 username: string 75 username: string