Update scripts

This commit is contained in:
freearhey
2025-07-10 21:13:43 +03:00
parent 9de968a18d
commit acb19e72ee
36 changed files with 342 additions and 85 deletions

View File

@@ -21,7 +21,6 @@ export type ChannelSerializedData = {
closed?: string
replacedBy?: string
website?: string
logo: string
}
export type ChannelData = {
@@ -39,7 +38,6 @@ export type ChannelData = {
closed: string
replaced_by: string
website: string
logo: string
}
export type ChannelSearchableData = {

View File

@@ -13,6 +13,7 @@ export type DataLoaderData = {
blocklist: object | object[]
channels: object | object[]
feeds: object | object[]
logos: object | object[]
timezones: object | object[]
guides: object | object[]
streams: object | object[]

View File

@@ -5,6 +5,7 @@ export type DataProcessorData = {
subdivisionsGroupedByCountryCode: Dictionary
feedsGroupedByChannelId: Dictionary
guidesGroupedByStreamId: Dictionary
logosGroupedByStreamId: Dictionary
subdivisionsKeyByCode: Dictionary
countriesKeyByCode: Dictionary
languagesKeyByCode: Dictionary

9
scripts/types/logo.d.ts vendored Normal file
View File

@@ -0,0 +1,9 @@
export type LogoData = {
channel: string
feed: string | null
tags: string[]
width: number
height: number
format: string | null
url: string
}

View File

@@ -7,4 +7,5 @@ export type StreamData = {
user_agent: string | null
quality: string | null
label: string | null
directives: string[]
}