aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/types/plugins/register-server-option.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/types/plugins/register-server-option.model.ts')
-rw-r--r--server/types/plugins/register-server-option.model.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/server/types/plugins/register-server-option.model.ts b/server/types/plugins/register-server-option.model.ts
index fb4f12a4c..a8b804b63 100644
--- a/server/types/plugins/register-server-option.model.ts
+++ b/server/types/plugins/register-server-option.model.ts
@@ -16,7 +16,7 @@ import {
16 ThumbnailType, 16 ThumbnailType,
17 VideoBlacklistCreate 17 VideoBlacklistCreate
18} from '@shared/models' 18} from '@shared/models'
19import { MUserDefault, MVideoThumbnail } from '../models' 19import { MUserDefault, MVideo, MVideoThumbnail, UserNotificationModelForApi } from '../models'
20import { 20import {
21 RegisterServerAuthExternalOptions, 21 RegisterServerAuthExternalOptions,
22 RegisterServerAuthExternalResult, 22 RegisterServerAuthExternalResult,
@@ -86,6 +86,11 @@ export type PeerTubeHelpers = {
86 getServerActor: () => Promise<ActorModel> 86 getServerActor: () => Promise<ActorModel>
87 } 87 }
88 88
89 socket: {
90 sendNotification: (userId: number, notification: UserNotificationModelForApi) => void
91 sendVideoLiveNewState: (video: MVideo) => void
92 }
93
89 plugin: { 94 plugin: {
90 // PeerTube >= 3.2 95 // PeerTube >= 3.2
91 getBaseStaticRoute: () => string 96 getBaseStaticRoute: () => string