style: change OverpassResult and OverpassElement from type to interface
Some checks failed
TrafficCue Server CI / check (push) Failing after 15s
Some checks failed
TrafficCue Server CI / check (push) Failing after 15s
This commit is contained in:
@ -4,11 +4,11 @@ import { google } from "@ai-sdk/google";
|
|||||||
import { stream } from "hono/streaming";
|
import { stream } from "hono/streaming";
|
||||||
import z from "zod";
|
import z from "zod";
|
||||||
|
|
||||||
export type OverpassResult = {
|
export interface OverpassResult {
|
||||||
elements: OverpassElement[];
|
elements: OverpassElement[];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type OverpassElement = {
|
export interface OverpassElement {
|
||||||
type: "node" | "way" | "relation";
|
type: "node" | "way" | "relation";
|
||||||
id: number;
|
id: number;
|
||||||
tags: Record<string, string>;
|
tags: Record<string, string>;
|
||||||
|
Reference in New Issue
Block a user