diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-24 11:55:08 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-24 11:55:08 +0200 |
commit | bfa1a32b34e14975e8f9ad43b5c9799fe5ced38a (patch) | |
tree | f3d0d939cbcfa00be98884a0145740a4e928593f /client/src/types/register-client-option.model.ts | |
parent | 9ae88819c202a6ce4a36b56506f508a5603e8eab (diff) | |
download | PeerTube-bfa1a32b34e14975e8f9ad43b5c9799fe5ced38a.tar.gz PeerTube-bfa1a32b34e14975e8f9ad43b5c9799fe5ced38a.tar.zst PeerTube-bfa1a32b34e14975e8f9ad43b5c9799fe5ced38a.zip |
Add client hook/register typings
Diffstat (limited to 'client/src/types/register-client-option.model.ts')
-rw-r--r-- | client/src/types/register-client-option.model.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/src/types/register-client-option.model.ts b/client/src/types/register-client-option.model.ts new file mode 100644 index 000000000..42d689403 --- /dev/null +++ b/client/src/types/register-client-option.model.ts | |||
@@ -0,0 +1,9 @@ | |||
1 | import { RegisterClientHookOptions } from '@shared/models/plugins/register-client-hook.model' | ||
2 | |||
3 | export type RegisterClientOptions = { | ||
4 | registerHook: (options: RegisterClientHookOptions) => void | ||
5 | |||
6 | peertubeHelpers: { | ||
7 | getBaseStaticRoute: () => string | ||
8 | } | ||
9 | } | ||