KidC Shared

This directory contains shared code and type definitions used by both the frontend and backend.

Contents

  • types.ts - TypeScript interfaces and types for the platform

Type Definitions

The shared types include:

  • Lesson - Lesson content structure
  • Exercise - Exercise definition structure
  • TestCase - Test case for validating exercise solutions
  • CompilationResult - Result of code compilation
  • TestResult - Result of testing a solution
  • ValidationResult - Overall validation result for a solution
  • User - User information
  • UserProgress - User progress tracking
  • UserSolution - User submitted solutions
  • LearningPathItem - Lesson with progress information