peertube-plugin-livechat/client/common/configuration/contexts/channel.ts

7 lines
433 B
TypeScript
Raw Normal View History

2024-05-23 14:56:11 +00:00
import type { ChannelConfiguration } from 'shared/lib/types'
import { createContext } from '@lit/context'
import { ChannelDetailsService } from '../services/channel-details'
2024-05-23 14:56:11 +00:00
export const channelConfigurationContext = createContext<ChannelConfiguration | undefined>(Symbol('channel-configuration'))
export const channelDetailsServiceContext = createContext<ChannelDetailsService | undefined>(Symbol('channel-configuration-service'))