@parra/parra-js-sdk 0.3.493 → 0.3.494

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 +15 -7
  2. package/package.json +1 -1
@@ -1507,6 +1507,19 @@ export interface AppCourseModule {
1507
1507
  is_preview: boolean;
1508
1508
  lessons?: Array<AppLesson>;
1509
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;
1522
+ }
1510
1523
  export interface AppCourse {
1511
1524
  id: string;
1512
1525
  created_at: 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.494",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",