@ndla/types-backend 1.0.63 → 1.0.65

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.
@@ -685,6 +685,8 @@ export type components = {
685
685
  /** @description Information about comments attached to the learningpath */
686
686
  comments: components["schemas"]["CommentDTO"][];
687
687
  priority: components["schemas"]["Priority"];
688
+ /** @description A list of revisions planned for the learningpath */
689
+ revisions: components["schemas"]["RevisionMetaDTO"][];
688
690
  };
689
691
  /**
690
692
  * LearningStepContainerSummaryDTO
@@ -864,6 +866,8 @@ export type components = {
864
866
  responsibleId?: string;
865
867
  /** @description Information about comments attached to the learningpath */
866
868
  comments?: components["schemas"]["NewCommentDTO"][];
869
+ /** @description A list of all revisions of the learningpath */
870
+ revisionMeta?: components["schemas"]["RevisionMetaDTO"][];
867
871
  priority?: components["schemas"]["Priority"];
868
872
  };
869
873
  /**
@@ -930,6 +934,20 @@ export type components = {
930
934
  /** @description Date of when the responsible editor was last updated */
931
935
  lastUpdated: string;
932
936
  };
937
+ /**
938
+ * RevisionMetaDTO
939
+ * @description Information about the editorial notes
940
+ */
941
+ RevisionMetaDTO: {
942
+ /** @description An unique uuid of the revision. If none supplied, one is generated. */
943
+ id?: string;
944
+ /** @description A date on which the article would need to be revised */
945
+ revisionDate: string;
946
+ /** @description Notes to keep track of what needs to happen before revision */
947
+ note: string;
948
+ /** @description Status of a revision, either 'revised' or 'needs-revision' */
949
+ status: string;
950
+ };
933
951
  /**
934
952
  * SearchParamsDTO
935
953
  * @description The search parameters
@@ -1057,6 +1075,8 @@ export type components = {
1057
1075
  /** @description Information about comments attached to the learningpath */
1058
1076
  comments?: components["schemas"]["UpdatedCommentDTO"][];
1059
1077
  priority?: components["schemas"]["Priority"];
1078
+ /** @description A list of all revisions of the learningpath */
1079
+ revisionMeta?: components["schemas"]["RevisionMetaDTO"][];
1060
1080
  };
1061
1081
  /**
1062
1082
  * UpdatedLearningStepV2DTO
@@ -59,6 +59,8 @@ export type Priority = schemas["Priority"];
59
59
  export type IPriority = schemas["Priority"];
60
60
  export type ResponsibleDTO = schemas["ResponsibleDTO"];
61
61
  export type IResponsibleDTO = schemas["ResponsibleDTO"];
62
+ export type RevisionMetaDTO = schemas["RevisionMetaDTO"];
63
+ export type IRevisionMetaDTO = schemas["RevisionMetaDTO"];
62
64
  export type SearchParamsDTO = schemas["SearchParamsDTO"];
63
65
  export type ISearchParamsDTO = schemas["SearchParamsDTO"];
64
66
  export type SearchResultV2DTO = schemas["SearchResultV2DTO"];
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.63",
35
+ "version": "1.0.65",
36
36
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
37
37
  }