UNPKG

@vepler/area-reference-types

Version:

TypeScript type definitions for Vepler Area Reference API

30 lines (29 loc) 501 B
/** * Common types shared across all API endpoints */ /** * Geographic entity type */ export type GeographicEntityType = string; /** * Generic object with string keys */ export type Dictionary = { [key: string]: any; }; /** * GeoJSON geometry types */ export interface GeoJSONGeometry { type: string; coordinates: any; } /** * Hierarchy node for administrative structure */ export interface HierarchyNode { id: number; code: string; name: string; type: string; }