@vepler/http-sdk
Version:
The definitive TypeScript SDK for UK property technology. Access comprehensive property data, school metrics, demographics, planning applications, and more through a single, powerful API.
21 lines (20 loc) • 583 B
TypeScript
/**
* Common types used throughout the SDK
*/
export type QueryParams = Record<string, string | number | boolean | string[] | number[] | undefined>;
export interface JsonObject {
[key: string]: JsonValue;
}
export type JsonValue = string | number | boolean | null | JsonObject | JsonValue[];
export interface Geometry {
type: string;
coordinates: number[] | number[][] | number[][][] | number[][][][];
}
export interface GeographicEntityBase {
id: string;
code: string;
name: string;
type: string;
status: string;
metadata: JsonObject | null;
}