aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/types
diff options
context:
space:
mode:
authorJohn Livingston <38844060+JohnXLivingston@users.noreply.github.com>2021-06-03 12:28:26 +0200
committerGitHub <noreply@github.com>2021-06-03 12:28:26 +0200
commit9777fe9eebe53debdf45091cab98f72a5987e05a (patch)
tree0f85ae9dc3ef89e0ca111d21e4a48d942ff3f991 /client/src/types
parent63da15eb18065ef6c419f073c95fec6ef5541652 (diff)
downloadPeerTube-9777fe9eebe53debdf45091cab98f72a5987e05a.tar.gz
PeerTube-9777fe9eebe53debdf45091cab98f72a5987e05a.tar.zst
PeerTube-9777fe9eebe53debdf45091cab98f72a5987e05a.zip
Adding frontend peertubeHelpers.getBaseRouterRoute. (#4153)
* Adding frontend peertubeHelpers.getBaseRouterRoute. * Fix doctoc.
Diffstat (limited to 'client/src/types')
-rw-r--r--client/src/types/register-client-option.model.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/types/register-client-option.model.ts b/client/src/types/register-client-option.model.ts
index 8802edc32..59bcbc5ff 100644
--- a/client/src/types/register-client-option.model.ts
+++ b/client/src/types/register-client-option.model.ts
@@ -19,6 +19,8 @@ export type RegisterClientOptions = {
19export type RegisterClientHelpers = { 19export type RegisterClientHelpers = {
20 getBaseStaticRoute: () => string 20 getBaseStaticRoute: () => string
21 21
22 getBaseRouterRoute: () => string
23
22 isLoggedIn: () => boolean 24 isLoggedIn: () => boolean
23 25
24 getAuthHeader: () => { 'Authorization': string } | undefined 26 getAuthHeader: () => { 'Authorization': string } | undefined