sdp-request-watcher/src/places.js
Skylar Grant 9479b122fa Save per-user settings on the server
Each user's sites, groups, technicians, timing, weather location and
hidden panels/columns are saved by Zoho email in DATA_DIR, merged over
the .env defaults and validated on PUT /api/settings. /api/names
suggests names from recent tickets, and weather is cached per zip from a
fixed list of campuses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 21:04:22 -04:00

17 lines
832 B
JavaScript

// Weather locations people can pick from in settings. Keeping it to a fixed list means the
// browser can't make the server look up arbitrary places, and the weather cache stays small.
// Add satellites here as needed; zip is a US zip code.
module.exports = [
{ zip: '04330', label: 'MCCS System Office (Augusta)' },
{ zip: '04210', label: 'CMCC (Auburn)' },
{ zip: '04543', label: 'CMCC Damariscotta' },
{ zip: '04401', label: 'EMCC (Bangor)' },
{ zip: '04937', label: 'KVCC (Fairfield)' },
{ zip: '04944', label: 'KVCC Alfond Campus (Hinckley)' },
{ zip: '04769', label: 'NMCC (Presque Isle)' },
{ zip: '04106', label: 'SMCC (South Portland)' },
{ zip: '04011', label: 'SMCC Midcoast (Brunswick)' },
{ zip: '04619', label: 'WCCC (Calais)' },
{ zip: '04090', label: 'YCCC (Wells)' }
];