useCurrentAlertDevices
TanStack Query hook returning the **raw** devices that currently carry one or more alerts, as the nested `ListThingsDevice[][]` the devkit `Alerts` / `Curren…
TanStack Query hook returning the **raw** devices that currently carry one or more alerts, as the nested `ListThingsDevice[][]` the devkit `<Alerts>` / `<CurrentAlerts>` table expects (the table heads the outer array itself).
import { useCurrentAlertDevices } from "@tetherto/mdk-react-adapter";Signature
(options: UseCurrentAlertDevicesOptions = {}) => UseQueryResult<ListThingsDevice[][], Error>| Package | @tetherto/mdk-react-adapter |
| Requires provider | No |
useCostSummary
Base hook for the cost-summary reporting page (single-site mode). Owns the date-range / period UI state and the pure transform from a v2 `/auth/finance/cost-…
useCurrentUserEmail
Fetches `/auth/userinfo` and returns the current user's email. Used by `useLiveActions` to partition actions into "mine vs others".