mirror of
https://github.com/iptv-org/iptv.git
synced 2026-06-25 21:10:11 +08:00
21 lines
455 B
TypeScript
21 lines
455 B
TypeScript
import { CountrySerializedData } from './country'
|
|
import { SubdivisionSerializedData } from './subdivision'
|
|
|
|
export type CitySerializedData = {
|
|
code: string
|
|
name: string
|
|
countryCode: string
|
|
country?: CountrySerializedData
|
|
subdivisionCode: string | null
|
|
subdivision?: SubdivisionSerializedData
|
|
wikidataId: string
|
|
}
|
|
|
|
export type CityData = {
|
|
code: string
|
|
name: string
|
|
country: string
|
|
subdivision: string | null
|
|
wikidata_id: string
|
|
}
|