@ndla/types-backend 1.0.66 → 1.0.68

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.
@@ -2807,6 +2807,14 @@ export interface operations {
2807
2807
  "application/json": components["schemas"]["AllErrors"];
2808
2808
  };
2809
2809
  };
2810
+ 409: {
2811
+ headers: {
2812
+ [name: string]: unknown;
2813
+ };
2814
+ content: {
2815
+ "application/json": components["schemas"]["AllErrors"];
2816
+ };
2817
+ };
2810
2818
  500: {
2811
2819
  headers: {
2812
2820
  [name: string]: unknown;
@@ -687,6 +687,8 @@ export type components = {
687
687
  priority: components["schemas"]["Priority"];
688
688
  /** @description A list of revisions planned for the learningpath */
689
689
  revisions: components["schemas"]["RevisionMetaDTO"][];
690
+ /** @description An introduction for the learningpath */
691
+ introduction: components["schemas"]["IntroductionDTO"];
690
692
  };
691
693
  /**
692
694
  * LearningStepContainerSummaryDTO
@@ -777,8 +779,13 @@ export type components = {
777
779
  showTitle: boolean;
778
780
  /** @description The type of the step */
779
781
  type: string;
780
- /** @description Describes the copyright information for the learningstep */
782
+ /**
783
+ * @deprecated
784
+ * @description Describes the copyright information for the learningstep
785
+ */
781
786
  license?: components["schemas"]["LicenseDTO"];
787
+ /** @description Describes the copyright information for the learningstep */
788
+ copyright?: components["schemas"]["CopyrightDTO"];
782
789
  /** @description The full url to where the complete metainformation about the learningstep can be found */
783
790
  metaUrl: string;
784
791
  /** @description True if authenticated user may edit this learningstep */
@@ -824,6 +831,8 @@ export type components = {
824
831
  NewCopyLearningPathV2DTO: {
825
832
  /** @description The titles of the learningpath */
826
833
  title: string;
834
+ /** @description The introduction of the learningpath */
835
+ introduction?: string;
827
836
  /** @description The descriptions of the learningpath */
828
837
  description?: string;
829
838
  /** @description The chosen language */
@@ -869,6 +878,8 @@ export type components = {
869
878
  /** @description A list of all revisions of the learningpath */
870
879
  revisionMeta?: components["schemas"]["RevisionMetaDTO"][];
871
880
  priority?: components["schemas"]["Priority"];
881
+ /** @description An introduction */
882
+ introduction?: string;
872
883
  };
873
884
  /**
874
885
  * NewLearningStepV2DTO
@@ -896,8 +907,13 @@ export type components = {
896
907
  showTitle?: boolean;
897
908
  /** @description The type of the step */
898
909
  type: string;
899
- /** @description Describes the copyright information for the learningstep */
910
+ /**
911
+ * @deprecated
912
+ * @description Describes the copyright information for the learningstep
913
+ */
900
914
  license?: string;
915
+ /** @description Describes the copyright information for the learningstep */
916
+ copyright?: components["schemas"]["CopyrightDTO"];
901
917
  };
902
918
  /**
903
919
  * NotFoundWithSupportedLanguages
@@ -1077,6 +1093,8 @@ export type components = {
1077
1093
  priority?: components["schemas"]["Priority"];
1078
1094
  /** @description A list of all revisions of the learningpath */
1079
1095
  revisionMeta?: components["schemas"]["RevisionMetaDTO"][];
1096
+ /** @description An introduction */
1097
+ introduction?: string;
1080
1098
  };
1081
1099
  /**
1082
1100
  * UpdatedLearningStepV2DTO
@@ -1107,8 +1125,13 @@ export type components = {
1107
1125
  showTitle?: boolean;
1108
1126
  /** @description The type of the step */
1109
1127
  type?: string;
1110
- /** @description Describes the copyright information for the learningstep */
1128
+ /**
1129
+ * @deprecated
1130
+ * @description Describes the copyright information for the learningstep
1131
+ */
1111
1132
  license?: string;
1133
+ /** @description Describes the copyright information for the learningstep */
1134
+ copyright?: components["schemas"]["CopyrightDTO"] | null;
1112
1135
  };
1113
1136
  /**
1114
1137
  * ValidationErrorBody
@@ -965,6 +965,11 @@ export type components = {
965
965
  * @description The number of users with no favourites
966
966
  */
967
967
  noFavourites: number;
968
+ /**
969
+ * Format: int64
970
+ * @description The number of users with learningpaths
971
+ */
972
+ withLearningpaths: number;
968
973
  /**
969
974
  * Format: int64
970
975
  * @description The number of users in the arena
package/package.json CHANGED
@@ -32,6 +32,6 @@
32
32
  "tsx": "^4.19.3",
33
33
  "typescript": "^5.3.3"
34
34
  },
35
- "version": "1.0.66",
35
+ "version": "1.0.68",
36
36
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
37
37
  }