X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Ftypes%2Fregister-client-option.model.ts;h=b64652a0ff8ca4bd99a6ad13c9bc9527bd214997;hb=27d48bc30b09cff26afc3f1b4006092364e71a20;hp=243d74dea7257a85d6a41211ba2d5277c7cc0bb1;hpb=d75db01f14138ea660c4c519e37ab05228b39d13;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/types/register-client-option.model.ts b/client/src/types/register-client-option.model.ts index 243d74dea..b64652a0f 100644 --- a/client/src/types/register-client-option.model.ts +++ b/client/src/types/register-client-option.model.ts @@ -9,7 +9,15 @@ export type RegisterClientOptions = { export type RegisterClientHelpers = { getBaseStaticRoute: () => string + isLoggedIn: () => boolean + getSettings: () => Promise<{ [ name: string ]: string }> + notifier: { + info: (text: string, title?: string, timeout?: number) => void, + error: (text: string, title?: string, timeout?: number) => void, + success: (text: string, title?: string, timeout?: number) => void + } + translate: (toTranslate: string) => Promise }