Skip to content

apps/api/src/features/announcements/announcements.controller.ts ​

Auto-generated by scripts/generate-file-docs.ts. Do not edit — overwritten on every run.

Purpose ​

Announcements HTTP handlers. Transport-only: parse + validate the request, delegate to AnnouncementsService, format the response envelope. /

Exports ​

  • export async function create
  • export async function list
  • export async function getPending
  • export async function getById
  • export async function update
  • export async function submitForApproval
  • export async function approve
  • export async function reject
  • export async function markRead
  • export async function withdraw

Imports ​

  • ../../lib/errors
  • ../../lib/pagination
  • ../../lib/response
  • ./announcements.service
  • fastify

Imported by ​

Heritage Community Hub — Internal. Access restricted via Cloudflare Access + Entra ID.