@ndla/types-backend 0.2.50 → 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.
- package/build/draft-api.d.ts +4 -2
- package/package.json +1 -1
package/build/draft-api.d.ts
CHANGED
|
@@ -196,7 +196,7 @@ export interface IUpdatedArticle {
|
|
|
196
196
|
tags?: string[];
|
|
197
197
|
introduction?: string;
|
|
198
198
|
metaDescription?: string;
|
|
199
|
-
metaImage
|
|
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
|
|
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