- 8 DB models (services, incidents, monitors, subscribers, etc.) - Full CRUD API for services, incidents, monitors - Public status page with live data - Incident detail page with timeline - API key authentication - Uptime monitoring scheduler - 13 tests passing - TECHNICAL_DESIGN.md with full spec
10 lines
166 B
Python
10 lines
166 B
Python
from typing import NamedTuple
|
|
|
|
|
|
class Region(NamedTuple):
|
|
"""Defines a rectangular region of the screen."""
|
|
|
|
x: int
|
|
y: int
|
|
width: int
|
|
height: int
|