expose peertubeHelpers to TranslationDirective

This commit is contained in:
Mehdi Benadel
2024-05-24 14:25:08 +02:00
parent d95312aa11
commit 67abb5279f
5 changed files with 66 additions and 10 deletions

View File

@ -4,6 +4,10 @@
import type { RegisterClientOptions } from '@peertube/peertube-types/client/types'
import { createContext } from '@lit/context'
import { BehaviorSubject } from 'rxjs'
export const registerClientOptionsContext =
createContext<RegisterClientOptions | undefined>(Symbol('register-client-options'))
export const registerClientOptionsSubject$ =
new BehaviorSubject<RegisterClientOptions | undefined>(undefined)