@parra/parra-js-sdk 0.3.494 → 0.3.496
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.
- package/dist/ParraAPI.d.ts +5 -2
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -1459,6 +1459,7 @@ export interface CourseStub {
|
|
1459
1459
|
tenant_id: string;
|
1460
1460
|
title: string;
|
1461
1461
|
description?: string | null;
|
1462
|
+
is_enrolled?: boolean | null;
|
1462
1463
|
}
|
1463
1464
|
export interface Course {
|
1464
1465
|
id: string;
|
@@ -1469,6 +1470,7 @@ export interface Course {
|
|
1469
1470
|
tenant_id: string;
|
1470
1471
|
title: string;
|
1471
1472
|
description?: string | null;
|
1473
|
+
is_enrolled?: boolean | null;
|
1472
1474
|
header_image?: ImageAssetStub | null;
|
1473
1475
|
modules?: Array<CourseModule>;
|
1474
1476
|
}
|
@@ -1495,7 +1497,7 @@ export interface AppLesson {
|
|
1495
1497
|
is_preview: boolean;
|
1496
1498
|
content?: LessonContent;
|
1497
1499
|
progress?: AppLessonProgress | null;
|
1498
|
-
sections
|
1500
|
+
sections: Array<AppLessonSection>;
|
1499
1501
|
}
|
1500
1502
|
export interface AppCourseModule {
|
1501
1503
|
id: string;
|
@@ -1505,7 +1507,7 @@ export interface AppCourseModule {
|
|
1505
1507
|
title: string;
|
1506
1508
|
description?: string | null;
|
1507
1509
|
is_preview: boolean;
|
1508
|
-
lessons
|
1510
|
+
lessons: Array<AppLesson>;
|
1509
1511
|
}
|
1510
1512
|
export interface CreatorUpdateSenderStub {
|
1511
1513
|
id: string;
|
@@ -1532,6 +1534,7 @@ export interface AppCourse {
|
|
1532
1534
|
description?: string | null;
|
1533
1535
|
modules: Array<AppCourseModule>;
|
1534
1536
|
instructors: Array<CourseInstructor>;
|
1537
|
+
is_enrolled?: boolean | null;
|
1535
1538
|
}
|
1536
1539
|
export interface UpdateCourseModuleRequestBody {
|
1537
1540
|
title?: string;
|