@ndla/types-backend 1.0.2 → 1.0.4

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.
@@ -48,6 +48,7 @@ export interface IArticleDTO {
48
48
  priority: string;
49
49
  started: boolean;
50
50
  qualityEvaluation?: IQualityEvaluationDTO;
51
+ disclaimer?: IDisclaimerDTO;
51
52
  }
52
53
  export interface IArticleIntroductionDTO {
53
54
  introduction: string;
@@ -113,6 +114,10 @@ export interface ICommentDTO {
113
114
  isOpen: boolean;
114
115
  solved: boolean;
115
116
  }
117
+ export interface IDisclaimerDTO {
118
+ disclaimer: string;
119
+ language: string;
120
+ }
116
121
  export interface IDraftCopyrightDTO {
117
122
  license?: ILicenseDTO;
118
123
  origin?: string;
@@ -170,6 +175,7 @@ export interface INewArticleDTO {
170
175
  prioritized?: boolean;
171
176
  priority?: string;
172
177
  qualityEvaluation?: IQualityEvaluationDTO;
178
+ disclaimer?: string;
173
179
  }
174
180
  export interface INewArticleMetaImageDTO {
175
181
  id: string;
@@ -249,6 +255,7 @@ export interface IUpdatedArticleDTO {
249
255
  prioritized?: boolean;
250
256
  priority?: string;
251
257
  qualityEvaluation?: IQualityEvaluationDTO;
258
+ disclaimer?: string;
252
259
  }
253
260
  export interface IUpdatedCommentDTO {
254
261
  id?: string;
@@ -101,6 +101,7 @@ export interface IDraftSearchParamsDTO {
101
101
  export interface IGrepResultDTO {
102
102
  code: string;
103
103
  title: ITitleDTO;
104
+ laereplanCode?: string;
104
105
  }
105
106
  export interface IGrepSearchInputDTO {
106
107
  prefixFilter?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AAgW3C,IAAY,QA6BX;AA7BD,WAAY,QAAQ;IAClB,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;IAC5B,kCAAsB,CAAA;IACtB,gCAAoB,CAAA;IACpB,8CAAkC,CAAA;I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C9B,CAAC,EA7BW,QAAQ,wBAAR,QAAQ,QA6BnB"}
package/package.json CHANGED
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.3.3"
29
29
  },
30
- "version": "1.0.2"
30
+ "version": "1.0.4"
31
31
  }