Skip to content

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

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

Purpose ​

Request body schemas for the approval workflow queue. Matches api-contracts.md §6 wire vocabulary: - status filter values are lowercase-hyphenated: pending | approved | rejected - type filter values are lowercase-hyphenated: member-join | spouse-add | child-add | content-publish - deny body: { reason: string } /

Exports ​

  • export const ApproveBodySchema
  • export type ApproveBody
  • export const DenyBodySchema
  • export type DenyBody
  • export const MemberJoinRequestSchema
  • export type MemberJoinRequestInput
  • export const WorkflowStatusFilterSchema
  • export type WorkflowStatusFilter
  • export const WorkflowTypeFilterSchema
  • export type WorkflowTypeFilter

Imports ​

  • zod

Imported by ​

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