Appearance
apps/api/src/features/auth/auth.dto.ts ​
Auto-generated by
scripts/generate-file-docs.ts. Do not edit — overwritten on every run.
Purpose ​
DTO mappers for the auth feature. The Prisma User row carries internal columns (passwordHash, externalUserId, approvedById, updatedAt, lastLoginAt, ...). The API contract exposes only the documented UserProfile fields (api-contracts.md §4). These mappers are the single boundary that enforces "never leak passwordHash" and normalizes enum casing (Prisma uppercase → wire-format lowercase). /
Exports ​
export type RoleSlugexport type UserStatusSlugexport type CredentialTypeSlugexport interface UserProfileexport type GenderSlugexport interface MemberSummaryexport function toRoleSlugexport function toStatusSlugexport function toCredentialTypeSlugexport function toUserProfileexport function toMemberSummary
Imports ​
@hch/shared-types@prisma/client