My Portal
My Account
| Path | /my-account |
|---|---|
| Status | live |
| Drill-down pages | /change-password |
| Pop-ups | — |
| Tabs | — |
| API routes | /api/staff-portal/my-info |
Database tables & columns
| Table | Columns used |
|---|---|
calendars | calendar_name, city, dental_day_location, dentrix_office_name, short_code, state, street_address, zip_code |
dd_staff_assignments | calendar_id, position, published_at, schedule_date, staff_id |
dh_users | email, id, name, staff_id |
email_recipient_notify_types | notify_type, recipient_id |
email_recipients | active, created_at, email, email_type, id, name |
email_sends | app, error, lang, provider, recipients, ref, sent_by, status, subject, subject_encrypted, template_key, to_email, to_email_encrypted, to_email_hash |
email_templates | active, bcc_emails, body_en, body_es, from_email, key, reply_to, subject_en, subject_es, to_emails |
staff | cell_phone, employment_type, first_name, id, last_name, mobile_phone, onboarding_completed_at, personal_email, position, status, work_email |
staff_time_off | end_date, reason, request_id, staff_id, start_date |
staff_time_off_requests | created_at, decided_at, decided_by, end_date, id, reason, requester_email, requester_name, requester_phone, staff_id, start_date, status |
time_off_approval_tokens | approver_email, approver_name, expires_at, request_id, token_hash, used_at |
File structure
Its own files
Shared code it uses (followed through its imports and the helpers its API calls; sign-in/access plumbing and UI primitives left out)
- apps/
- worker/
- src/
- db/
- index.ts
- features/
- staff-portal/
- decide.ts
- queries.ts
- routes.ts
- service.ts
- staff-portal/
- lib/
- list-query.ts
- services/
- email-templates.ts
- notify-recipients.ts
- phi-read.ts
- staff-onboarding.ts
- utils/
- crypto.ts
- email.ts
- phi-access.ts
- phi-crypto.ts
- db/
- src/
- worker/