@parra/parra-js-sdk 0.3.493 → 0.3.495

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.
Files changed (2) hide show
  1. package/dist/ParraAPI.d.ts +17 -9
  2. package/package.json +1 -1
@@ -1495,7 +1495,7 @@ export interface AppLesson {
1495
1495
  is_preview: boolean;
1496
1496
  content?: LessonContent;
1497
1497
  progress?: AppLessonProgress | null;
1498
- sections?: Array<AppLessonSection>;
1498
+ sections: Array<AppLessonSection>;
1499
1499
  }
1500
1500
  export interface AppCourseModule {
1501
1501
  id: string;
@@ -1505,7 +1505,20 @@ export interface AppCourseModule {
1505
1505
  title: string;
1506
1506
  description?: string | null;
1507
1507
  is_preview: boolean;
1508
- lessons?: Array<AppLesson>;
1508
+ lessons: Array<AppLesson>;
1509
+ }
1510
+ export interface CreatorUpdateSenderStub {
1511
+ id: string;
1512
+ name: string;
1513
+ avatar?: ImageAssetStub | null;
1514
+ verified: boolean;
1515
+ }
1516
+ export interface CourseInstructor {
1517
+ id: string;
1518
+ name: string;
1519
+ avatar?: ImageAssetStub | null;
1520
+ verified: boolean;
1521
+ bio?: string | null;
1509
1522
  }
1510
1523
  export interface AppCourse {
1511
1524
  id: string;
@@ -1517,7 +1530,8 @@ export interface AppCourse {
1517
1530
  tenant_id: string;
1518
1531
  title: string;
1519
1532
  description?: string | null;
1520
- modules?: Array<AppCourseModule>;
1533
+ modules: Array<AppCourseModule>;
1534
+ instructors: Array<CourseInstructor>;
1521
1535
  }
1522
1536
  export interface UpdateCourseModuleRequestBody {
1523
1537
  title?: string;
@@ -1772,12 +1786,6 @@ export declare enum CreatorUpdateStatus {
1772
1786
  published = "published",
1773
1787
  scheduled = "scheduled"
1774
1788
  }
1775
- export interface CreatorUpdateSenderStub {
1776
- id: string;
1777
- name: string;
1778
- avatar?: ImageAssetStub | null;
1779
- verified: boolean;
1780
- }
1781
1789
  export interface CreatorUpdateTemplateStub {
1782
1790
  id: string;
1783
1791
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.493",
3
+ "version": "0.3.495",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",