feat: implement city weather detail API routing, dashboard data models, and monitoring infrastructure
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export const MONITOR_CITY_DETAIL_DEPTH = "panel" as const;
|
||||
export const MONITOR_REFRESH_INTERVAL_MS = 60_000;
|
||||
|
||||
export type MonitorRefreshTrigger = "initial" | "interval";
|
||||
|
||||
export function getMonitorRefreshRequest(_trigger: MonitorRefreshTrigger) {
|
||||
return {
|
||||
depth: MONITOR_CITY_DETAIL_DEPTH,
|
||||
force: true,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user