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.
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
|
|
}
|