feat: productionize learning engine and classroom

This commit is contained in:
inman committed 2026-08-16 21:44:52 +08:00
1 parent 2d04197f3f
commit ba35adfbfa
124 files changed
+9071 -796

No files matched your search

+2 -1
View File
@@ -10,7 +10,8 @@ import path from 'path';
import { assertCoursewareId, assertCoursewareVersion, resolveDirectChildPath } from './identity';
export const COURSEWARE_BUNDLES_DIR =
process.env.COURSEWARE_BUNDLE_DIR ?? path.join(process.cwd(), 'data', 'courseware-bundles');
process.env.COURSEWARE_BUNDLE_DIR ??
path.join(process.env.LEARNING_DATA_DIR ?? path.join(process.cwd(), 'data'), 'courseware-bundles');
export interface BundleByteStore {
save(coursewareId: string, version: number, bytes: Uint8Array): Promise<string>;