Update scripts
This commit is contained in:
4
scripts/types/subdivision.d.ts
vendored
4
scripts/types/subdivision.d.ts
vendored
@@ -1,12 +1,16 @@
|
||||
import { CountrySerializedData } from './country'
|
||||
|
||||
export type SubdivisionSerializedData = {
|
||||
code: string
|
||||
name: string
|
||||
countryCode: string
|
||||
country?: CountrySerializedData
|
||||
parentCode: string | null
|
||||
}
|
||||
|
||||
export type SubdivisionData = {
|
||||
code: string
|
||||
name: string
|
||||
country: string
|
||||
parent: string | null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user