Skip to content

Function: createFsJsonlLessonStoreBuilder() ​

ts
function createFsJsonlLessonStoreBuilder(options?): FsJsonlLessonStoreNode;

Defined in: fs/src/builders/create-fs-jsonl-lesson-store-builder.ts:30

Compiles a passive FsJsonlLessonStoreNode (fs:jsonl-lesson-store) for fs.jsonlLessonStore(options?).

Configures a host-root-resolved content-addressed lesson store splitting immutable <definitionsDir>/<lessonId>.json definitions from mutable statsPath counters.

Parameters ​

ParameterTypeDescription
options?FsJsonlLessonStoreOptionsOptional host-root paths for definitions, stats, and lockfile.

Returns ​

FsJsonlLessonStoreNode

Deeply frozen FsJsonlLessonStoreNode AST descriptor.

Throws ​

If any of definitionsDir, statsPath, or lockFile is empty.

Released under the MIT License.