@leavittsoftware/lg-core-typescript 2.155.0 → 2.157.0

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.
@@ -15,9 +15,9 @@ export var AccountStatus;
15
15
  })(AccountStatus || (AccountStatus = {}));
16
16
  export var CourseMemberStatus;
17
17
  (function (CourseMemberStatus) {
18
- CourseMemberStatus[CourseMemberStatus["ENROLLED"] = 1] = "ENROLLED";
19
- CourseMemberStatus[CourseMemberStatus["UNENROLLED"] = 2] = "UNENROLLED";
20
- CourseMemberStatus[CourseMemberStatus["GROUPENROLLED"] = 3] = "GROUPENROLLED";
18
+ CourseMemberStatus[CourseMemberStatus["Enrolled"] = 1] = "Enrolled";
19
+ CourseMemberStatus[CourseMemberStatus["Unenrolled"] = 2] = "Unenrolled";
20
+ CourseMemberStatus[CourseMemberStatus["GroupEnrolled"] = 3] = "GroupEnrolled";
21
21
  })(CourseMemberStatus || (CourseMemberStatus = {}));
22
22
  export var SearchSource;
23
23
  (function (SearchSource) {
@@ -1 +1 @@
1
- {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AAsiEA,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IAClB,2CAAQ,CAAA;IACR,uDAAc,CAAA;IACd,mEAAoB,CAAA;IACpB,mDAAY,CAAA;AAChB,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAID,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,qDAAU,CAAA;IACV,yDAAY,CAAA;IACZ,uEAAmB,CAAA;IACnB,qDAAU,CAAA;IACV,mEAAiB,CAAA;AACrB,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAID,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,mEAAY,CAAA;IACZ,uEAAc,CAAA;IACd,6EAAiB,CAAA;AACrB,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B;AAID,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,+DAAgB,CAAA;IAChB,mDAAU,CAAA;IACV,6CAAO,CAAA;AACX,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAID,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,yEAAkB,CAAA;IAClB,iEAAc,CAAA;IACd,iFAAsB,CAAA;AAC1B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
1
+ {"version":3,"file":"api3.leavitt.com.js","sourceRoot":"","sources":["api3.leavitt.com.ts"],"names":[],"mappings":"AAkjEA,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IAClB,2CAAQ,CAAA;IACR,uDAAc,CAAA;IACd,mEAAoB,CAAA;IACpB,mDAAY,CAAA;AAChB,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAID,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,qDAAU,CAAA;IACV,yDAAY,CAAA;IACZ,uEAAmB,CAAA;IACnB,qDAAU,CAAA;IACV,mEAAiB,CAAA;AACrB,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAID,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,mEAAY,CAAA;IACZ,uEAAc,CAAA;IACd,6EAAiB,CAAA;AACrB,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B;AAID,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,+DAAgB,CAAA;IAChB,mDAAU,CAAA;IACV,6CAAO,CAAA;AACX,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAID,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,yEAAkB,CAAA;IAClB,iEAAc,CAAA;IACd,iFAAsB,CAAA;AAC1B,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B"}
@@ -355,6 +355,7 @@ export interface PLGameScoreboardDto {
355
355
  IsEnabled: boolean;
356
356
  Name: string | null;
357
357
  PlayerGroups: Array<Partial<PLGameScoreboardToPlayerGroup>> | null;
358
+ PLGameCustomQuestionId: number | null;
358
359
  PLGameId: number;
359
360
  PrizeDistributionOption: PrizeDistributionOptionString;
360
361
  Prizes: Array<Partial<PLGamePrize>> | null;
@@ -1472,6 +1473,17 @@ export interface UpsertCourseDto {
1472
1473
  UpdateImage: boolean;
1473
1474
  }
1474
1475
 
1476
+ export interface UpsertLessonDto {
1477
+ CourseId: number;
1478
+ DeleteFileIds: Array<number> | null;
1479
+ Files: Array<File> | null;
1480
+ Id: number | null;
1481
+ Name: string | null;
1482
+ PassingPercentage: number;
1483
+ VideoLength: string | null;
1484
+ YoutubeVideoKey: string | null;
1485
+ }
1486
+
1475
1487
  export interface UpsertQuestionsDto {
1476
1488
  Questions: Array<Partial<EducationQuestion>> | null;
1477
1489
  }
@@ -2104,9 +2116,9 @@ export enum AccountStatus {
2104
2116
  export type AccountStatusString = keyof typeof AccountStatus;
2105
2117
 
2106
2118
  export enum CourseMemberStatus {
2107
- ENROLLED = 1,
2108
- UNENROLLED = 2,
2109
- GROUPENROLLED = 3
2119
+ Enrolled = 1,
2120
+ Unenrolled = 2,
2121
+ GroupEnrolled = 3
2110
2122
  }
2111
2123
 
2112
2124
  export type CourseMemberStatusString = keyof typeof CourseMemberStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leavittsoftware/lg-core-typescript",
3
- "version": "2.155.0",
3
+ "version": "2.157.0",
4
4
  "description": "Typescript of lg core",
5
5
  "main": "lg.core.js",
6
6
  "files": [