X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Ftypes%2Fregister-client-option.model.ts;h=b64652a0ff8ca4bd99a6ad13c9bc9527bd214997;hb=27d48bc30b09cff26afc3f1b4006092364e71a20;hp=638b086532f2d614a7608fc4b3bba0d7ee556252;hpb=eb8f702c8398b7f51461c8e967c7bc7de3c10c16;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 638b08653..b64652a0f 100644 --- a/client/src/types/register-client-option.model.ts +++ b/client/src/types/register-client-option.model.ts @@ -13,5 +13,11 @@ export type RegisterClientHelpers = { 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 }