Appearance
apps/api/src/features/push/push.controller.ts ​
Auto-generated by
scripts/generate-file-docs.ts. Do not edit — overwritten on every run.
Purpose ​
Push-token HTTP handlers. Clients (the React Native app via Expo) register their Expo push token after sign-in so the Notifier can deliver mobile push notifications. Tokens are upserted (idempotent) and ownership re-assigned to the caller if the same token was previously registered to another user (e.g. shared device, account switch on the same install). /
Exports ​
export async function registerPushTokenexport async function deletePushToken
Imports ​
../../adapters/db../../lib/errors../../lib/responsefastify