Shared Resources

This directory contains shared resources used by both the frontend and backend.

Files

  • types.ts - TypeScript interfaces and types used throughout the application
  • utils.ts - Utility functions for common operations

Types

The types.ts file defines interfaces for:

  • Leads (users)
  • Authentication sessions
  • Content analyses
  • API responses
  • Content calendar data structure

Utilities

The utils.ts file provides functions for:

  • UUID generation
  • Password hashing and verification
  • API response formatting
  • Session management