Use frontend peertubeHelpers.getBaseRouterRoute when available.
This commit is contained in:
2
client/@types/peertube.d.ts
vendored
2
client/@types/peertube.d.ts
vendored
@ -8,6 +8,8 @@ interface RegisterClientHookOptions {
|
||||
|
||||
interface RegisterClientHelpers {
|
||||
getBaseStaticRoute: () => string
|
||||
// NB: getBaseRouterRoute will come with Peertube > 3.2.1 (3.3.0?)
|
||||
getBaseRouterRoute?: () => string
|
||||
isLoggedIn: () => boolean
|
||||
getSettings: () => Promise<{ [ name: string ]: string }>
|
||||
notifier: {
|
||||
|
Reference in New Issue
Block a user