import { Type, Static, TSchema } from '@sinclair/typebox' export type ServiceConf = Static>> export const ServiceConf = (T: T) => Type.Object({ host: T, url: Type.Optional(Type.String()), match: Type.Optional(Type.Any()), rawResult: Type.Optional(Type.Literal(true)), needExtraData: Type.Optional(Type.Literal(true)), additionalData: Type.Optional(Type.String()) }) export type VideoService = Static export const VideoService = CoreVideoService export type ServiceConf = Static>> export const ServiceConf = (T: T) => CoreServiceConf(T)