coursekit-lms 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,11 +3,12 @@ import type { UserRow } from '../db/schema.js';
3
3
  export interface SeedDemoOptions {
4
4
  /** An existing administrator for the demo. If omitted, the first admin is used (or one is created). */
5
5
  admin?: Pick<UserRow, 'id'> | undefined;
6
- /** Password for all demo accounts. Defaults to a random one (admins can still use "Log in as"). */
6
+ /** Password for all demo accounts. Defaults to a random one, which the result returns. */
7
7
  password?: string | undefined;
8
8
  }
9
9
  export interface SeedDemoResult {
10
10
  created: boolean;
11
+ /** The password the demo accounts were given, or null when demo content was already loaded. */
11
12
  password: string | null;
12
13
  users: Array<{
13
14
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coursekit-lms",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Open-source learning management system for Node.js: courses, lessons, assignments, quizzes, forums and a gradebook, with a modern web UI.",
5
5
  "keywords": [
6
6
  "lms",