@ndla/types-backend 1.0.63 → 1.0.64

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