mirror of https://github.com/iptv-org/iptv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.1 KiB
TypeScript
53 lines
1.1 KiB
TypeScript
import { Collection } from '@freearhey/core'
|
|
import type { CountrySerializedData } from './country'
|
|
import type { SubdivisionSerializedData } from './subdivision'
|
|
import type { CategorySerializedData } from './category'
|
|
|
|
export type ChannelSerializedData = {
|
|
id: string
|
|
name: string
|
|
altNames: string[]
|
|
network?: string
|
|
owners: string[]
|
|
countryCode: string
|
|
country?: CountrySerializedData
|
|
subdivisionCode?: string
|
|
subdivision?: SubdivisionSerializedData
|
|
cityName?: string
|
|
categoryIds: string[]
|
|
categories?: CategorySerializedData[]
|
|
isNSFW: boolean
|
|
launched?: string
|
|
closed?: string
|
|
replacedBy?: string
|
|
website?: string
|
|
logo: string
|
|
}
|
|
|
|
export type ChannelData = {
|
|
id: string
|
|
name: string
|
|
alt_names: string[]
|
|
network: string
|
|
owners: Collection
|
|
country: string
|
|
subdivision: string
|
|
city: string
|
|
categories: Collection
|
|
is_nsfw: boolean
|
|
launched: string
|
|
closed: string
|
|
replaced_by: string
|
|
website: string
|
|
logo: string
|
|
}
|
|
|
|
export type ChannelSearchableData = {
|
|
id: string
|
|
name: string
|
|
altNames: string[]
|
|
guideNames: string[]
|
|
streamNames: string[]
|
|
feedFullNames: string[]
|
|
}
|