c3nav
Version:
A c3nav API client
29 lines (28 loc) • 593 B
TypeScript
export interface Location {
icon: string;
id: number;
on_top_of: null | number;
slug: string;
subtitle: string;
title: string;
type: string;
}
export interface LocationDetails {
display: Array<[string, string | null | number]>;
editor_url: string;
id: number;
}
export interface LocationGeometry {
geometry: {
coordinates: number[] | number[][];
type: string;
};
id: number;
level: number | null;
}
export interface LocationType {
name: string;
name_plural: string;
title: string;
title_plural: string;
}