Skip to content

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

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

Purpose ​

Approval-queue HTTP handlers. Wire vocabulary normalization happens here: - Status filter: pending | approved | rejected ←→ PENDING | APPROVED | REJECTED - Type filter: member-join | spouse-add | ... ←→ MEMBER_JOIN | SPOUSE_ADD | ... The service speaks the database enum form; this controller is the translation layer to/from the documented wire format. /

Exports ​

  • export async function submitMemberJoin
  • export async function getQueue
  • export async function getQueueItem
  • export async function approveItem
  • export async function denyItem

Imports ​

  • ../../config
  • ../../lib/errors
  • ../../lib/pagination
  • ../../lib/response
  • ../members/members.service
  • ./approval.service
  • @clerk/backend
  • fastify

Imported by ​

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