@ndla/types-backend 0.2.51 → 0.2.52

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.
@@ -198,14 +198,14 @@ export interface IUpdatedConcept {
198
198
  language: string;
199
199
  title?: string;
200
200
  content?: string;
201
- metaImage?: (null | INewConceptMetaImage);
201
+ metaImage: UpdateOrDeleteNewConceptMetaImage;
202
202
  copyright?: IDraftCopyright;
203
203
  tags?: string[];
204
204
  subjectIds?: string[];
205
205
  articleIds?: number[];
206
206
  status?: string;
207
207
  visualElement?: string;
208
- responsibleId?: (null | string);
208
+ responsibleId: UpdateOrDeleteString;
209
209
  conceptType?: string;
210
210
  glossData?: IGlossData;
211
211
  }
@@ -223,3 +223,5 @@ export interface IVisualElement {
223
223
  visualElement: string;
224
224
  language: string;
225
225
  }
226
+ export type UpdateOrDeleteNewConceptMetaImage = (null | undefined | INewConceptMetaImage);
227
+ 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.51"
30
+ "version": "0.2.52"
31
31
  }