Files
deflock/webapp/src/types.ts
T
Will Freeman 5cca87208d Allow Profile Imports to App, Map Sharing, iframe improvements (#102)
* update identiyf page

* support non-ALPRs on Idenfity page

* show pending devices, even w/o tags

* update lprBaseTags

* detect iframe instead of passing query string

* implement share dialog

* clean up identify

* finishing touches for identify page
2026-02-16 20:09:02 -07:00

29 lines
559 B
TypeScript

export interface ALPR {
id: string;
lat: number;
lon: number;
tags: Record<string, string>;
type: string;
};
export interface LprVendor {
id: number;
shortName: string;
fullName: string;
identificationHints?: string;
urls: Array<{ url: string }>;
logoUrl?: string;
osmTags: Record<string, string>;
}
export interface OtherSurveillanceDevice {
id: number;
capabilities?: string;
category: string;
fov?: number;
name: string;
osmTags: Record<string, string>;
requiresDirection: boolean;
urls: Array<{ url: string }>;
}