feat: productionize learning engine and classroom
This commit is contained in:
1 parent
2d04197f3f
commit
ba35adfbfa
124 files changed
+9071
-796
No files matched your search
@@ -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>;
|
||||
|
||||
Reference in new issue
Block a user