Tasks 10-12 of the WP-A plan in one commit (the route modules import each other): - header extras portalled into the Phase 0 header: course switcher, search, Reading/Work, account - course frame with outline sidebar (mobile overlay, Escape closes), progress, gating locks - library: featured course, continue row, New and collection rows, course list, filters, search - LessonView: text (track switcher, folds, ordered hint tiers), video (resume, done near the end, timestamp notes, transcript), companion decks rendered with pdf.js (thumbs, arrows, fullscreen, per-slide notes), code files (tree, tabs, copy, zip, command), exercises (Web Worker runner or local command with optional pasted evidence), floating action bar - notes list, account (email/password, providers, SSO by email) and owner admin pages - pdf.js worker served from /api/learner/pdf.worker.mjs - browser entry @stc/feature-learner/web (the package index also carries the server half) Co-Authored-By: Claude Opus 5.5 <[email protected]>
8 lines
359 B
TypeScript
8 lines
359 B
TypeScript
// Server
|
|
export { migrationsDirs, runMigrations } from "./server/migrate";
|
|
export { learnerFeature } from "./server/feature";
|
|
// Browser (also available without the server half as "@stc/feature-learner/web")
|
|
export { learnerWeb, LessonView, type LessonViewProps, ensureLearnerStyles } from "./web";
|
|
// Shared JSON shapes
|
|
export type * from "./shared/types";
|