Shared Module

This directory contains TypeScript types and utilities that are shared between the frontend and backend.

Files

  • types.ts - TypeScript interfaces and types used throughout the application

Usage

Import shared types in both frontend and backend code:

import { NavigationItem, SchoolLevel, StaffMember } from "../shared/types.ts";

Note: Code in this directory must be compatible with both browser and server environments.