40227-vm/frontend/docs/personality-catalog.md

1.1 KiB

Personality Catalog

Purpose

Static emotional-intelligence personality type directory content lives in frontend/src/shared/constants/personalityStaticContent.ts. Organization-owned EI self-assessment and Personality Type quiz questions are loaded from the backend content catalog. Pure catalog types and helper functions live in frontend/src/shared/constants/personalityCatalog.ts.

Contents

personalityStaticContent.ts:

  • PERSONALITY_TYPES
  • PERSONALITY_QUIZ_FEATURES
  • PERSONALITY_WORKPLACE_CONTENT

personalityCatalog.ts:

  • calculateMBTI
  • getPersonalityType
  • static catalog types for quiz question payloads and personality descriptions

Boundary

This file is product-static catalog content for the type directory and shared helpers. Persisted user personality results remain in:

  • API layer: frontend/src/shared/api/personality.ts
  • DTO types: frontend/src/shared/types/personality.ts
  • Business layer: frontend/src/business/personality/

Do not store user answers, quiz results, tenant-owned quiz questions, or tenant-owned personality data in the static catalog.