@meshery/schemas 0.8.51 → 0.8.53

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.
@@ -433,6 +433,24 @@ type GetApiAcademyByTypeAndOrgIdSlugApiResponse = {
433
433
  banner?: string | null;
434
434
  /** Canonical URL for the learning path */
435
435
  permalink: string;
436
+ badge?: {
437
+ /** unique identifier for the badge ( auto generated ) */
438
+ label: string;
439
+ /** Title of the badge */
440
+ title: string;
441
+ /** Description of the badge */
442
+ description: string;
443
+ /** URL to the badge image */
444
+ png: string;
445
+ /** URL to the badge SVG image */
446
+ svg: string;
447
+ };
448
+ certificate?: {
449
+ /** Title of the certificate */
450
+ title: string;
451
+ /** Description of the certificate */
452
+ description: string;
453
+ };
436
454
  /** List of children items in the top-level curricula */
437
455
  children?: {
438
456
  /** Unique identifier for the course */
@@ -560,9 +578,9 @@ type UpdateCurrentItemInProgressTrackerApiResponse =
560
578
  questions: {
561
579
  id: string;
562
580
  text: string;
563
- type: "mcq" | "short_answer" | "essay";
581
+ type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
564
582
  marks: number;
565
- multiple_answers: boolean;
583
+ multiple_answers?: boolean;
566
584
  options: {
567
585
  id: string;
568
586
  text: string;
@@ -656,9 +674,9 @@ type SubmitQuizApiResponse = {
656
674
  questions: {
657
675
  id: string;
658
676
  text: string;
659
- type: "mcq" | "short_answer" | "essay";
677
+ type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
660
678
  marks: number;
661
- multiple_answers: boolean;
679
+ multiple_answers?: boolean;
662
680
  options: {
663
681
  id: string;
664
682
  text: string;
@@ -433,6 +433,24 @@ type GetApiAcademyByTypeAndOrgIdSlugApiResponse = {
433
433
  banner?: string | null;
434
434
  /** Canonical URL for the learning path */
435
435
  permalink: string;
436
+ badge?: {
437
+ /** unique identifier for the badge ( auto generated ) */
438
+ label: string;
439
+ /** Title of the badge */
440
+ title: string;
441
+ /** Description of the badge */
442
+ description: string;
443
+ /** URL to the badge image */
444
+ png: string;
445
+ /** URL to the badge SVG image */
446
+ svg: string;
447
+ };
448
+ certificate?: {
449
+ /** Title of the certificate */
450
+ title: string;
451
+ /** Description of the certificate */
452
+ description: string;
453
+ };
436
454
  /** List of children items in the top-level curricula */
437
455
  children?: {
438
456
  /** Unique identifier for the course */
@@ -560,9 +578,9 @@ type UpdateCurrentItemInProgressTrackerApiResponse =
560
578
  questions: {
561
579
  id: string;
562
580
  text: string;
563
- type: "mcq" | "short_answer" | "essay";
581
+ type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
564
582
  marks: number;
565
- multiple_answers: boolean;
583
+ multiple_answers?: boolean;
566
584
  options: {
567
585
  id: string;
568
586
  text: string;
@@ -656,9 +674,9 @@ type SubmitQuizApiResponse = {
656
674
  questions: {
657
675
  id: string;
658
676
  text: string;
659
- type: "mcq" | "short_answer" | "essay";
677
+ type: "multiple-answers" | "single-answer" | "short-answer" | "essay";
660
678
  marks: number;
661
- multiple_answers: boolean;
679
+ multiple_answers?: boolean;
662
680
  options: {
663
681
  id: string;
664
682
  text: string;