Cleaning some stuff.

This commit is contained in:
John Livingston
2024-05-23 16:56:11 +02:00
committed by Mehdi Benadel
parent 0491539dfd
commit b72b23d6ae
15 changed files with 35 additions and 31 deletions

View File

@ -1,8 +1,6 @@
import { createContext } from "@lit/context";
import type { RegisterClientOptions } from "@peertube/peertube-types/client/types";
import type { ChannelConfiguration } from "shared/lib/types";
import { ChannelDetailsService } from "../services/channel-details";
import type { ChannelConfiguration } from 'shared/lib/types'
import { createContext } from '@lit/context'
import { ChannelDetailsService } from '../services/channel-details'
export const registerClientOptionsContext = createContext<RegisterClientOptions | undefined>(Symbol('register-client-options'));
export const channelConfigurationContext = createContext<ChannelConfiguration | undefined>(Symbol('channel-configuration'));
export const channelDetailsServiceContext = createContext<ChannelDetailsService | undefined>(Symbol('channel-configuration-service'));
export const channelConfigurationContext = createContext<ChannelConfiguration | undefined>(Symbol('channel-configuration'))
export const channelDetailsServiceContext = createContext<ChannelDetailsService | undefined>(Symbol('channel-configuration-service'))