FreakingGenius - v0.1.0
    Preparing search index...

    Module @fg/shared

    index.ts

    Public barrel for the @fg/shared package. Re-exports every type from stroke, primitives, bridge, and session under a single import specifier.

    Consumers write import type { Stroke } from "@fg/shared" rather than reaching into individual sub-modules. This lets us reorganise internals (split or merge files) without touching import paths in apps/tutor or apps/edge.

    Simple export * re-export statements — bundlers and TypeScript's isolatedModules mode handle this correctly. Tree-shaking removes any types not referenced by the consuming bundle at build time.

    The entry-point for any cross-app code that needs shared types; should always be the first shared import resolved per file.

    Enumerations

    BridgeMessageType
    SessionEventType
    SessionStatus

    Interfaces

    AcknowledgeMessage
    BoundingBox
    BridgeCapabilities
    BridgeConfig
    BridgeMessageBase
    CapabilityReportMessage
    Checkpoint
    CirclePrimitive
    HeartbeatMessage
    ImagePrimitive
    LinePrimitive
    MathPrimitive
    Point
    PressurePoint
    PrimitiveRenderCommand
    RectPrimitive
    RenderCommandMessage
    Session
    SessionConfig
    SessionEndMessage
    SessionEvent
    SessionStartMessage
    Stroke
    StrokeEventMessage
    StrokeGroup
    TextPrimitive

    Type Aliases

    BridgeMessage
    Color
    SessionId
    StudentId
    VisualPrimitive