@ndla/types-backend 0.2.49 → 0.2.51

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.
@@ -26,6 +26,7 @@ export interface IConcept {
26
26
  }
27
27
  export interface IConceptContent {
28
28
  content: string;
29
+ htmlContent: string;
29
30
  language: string;
30
31
  }
31
32
  export interface IConceptMetaImage {
@@ -196,7 +196,7 @@ export interface IUpdatedArticle {
196
196
  tags?: string[];
197
197
  introduction?: string;
198
198
  metaDescription?: string;
199
- metaImage?: (null | INewArticleMetaImage);
199
+ metaImage: UpdateOrDeleteNewArticleMetaImage;
200
200
  visualElement?: string;
201
201
  copyright?: IDraftCopyright;
202
202
  requiredLibraries?: IRequiredLibrary[];
@@ -209,7 +209,7 @@ export interface IUpdatedArticle {
209
209
  availability?: string;
210
210
  relatedContent?: (IRelatedContentLink | number)[];
211
211
  revisionMeta?: IRevisionMeta[];
212
- responsibleId?: (null | string);
212
+ responsibleId: UpdateOrDeleteString;
213
213
  slug?: string;
214
214
  comments?: IUpdatedComment[];
215
215
  prioritized?: boolean;
@@ -244,3 +244,5 @@ export interface IVisualElement {
244
244
  visualElement: string;
245
245
  language: string;
246
246
  }
247
+ export type UpdateOrDeleteNewArticleMetaImage = (null | undefined | INewArticleMetaImage);
248
+ export type UpdateOrDeleteString = (null | undefined | string);
package/package.json CHANGED
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.0.2"
29
29
  },
30
- "version": "0.2.49"
30
+ "version": "0.2.51"
31
31
  }