@ndla/types-backend 1.0.122 → 1.0.123
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/article-api.d.ts +2 -0
- package/build/draft-api.d.ts +8 -2
- package/build/search-api.d.ts +5 -1
- package/package.json +1 -1
package/build/article-api.d.ts
CHANGED
|
@@ -392,6 +392,8 @@ export type components = {
|
|
|
392
392
|
updatedBy: string;
|
|
393
393
|
/** @description When the article was last published */
|
|
394
394
|
published: string;
|
|
395
|
+
/** @description Revision date of the article */
|
|
396
|
+
revised: string;
|
|
395
397
|
/** @description The type of article this is. Possible values are frontpage-article, standard, topic-article */
|
|
396
398
|
articleType: string;
|
|
397
399
|
/** @description The languages this article supports */
|
package/build/draft-api.d.ts
CHANGED
|
@@ -610,7 +610,9 @@ export type components = {
|
|
|
610
610
|
/** @description By whom the article was last updated */
|
|
611
611
|
updatedBy: string;
|
|
612
612
|
/** @description When the article was last published */
|
|
613
|
-
published
|
|
613
|
+
published?: string;
|
|
614
|
+
/** @description Revision date of the article */
|
|
615
|
+
revised: string;
|
|
614
616
|
/** @description The type of article this is. Possible values are frontpage-article, standard, topic-article */
|
|
615
617
|
articleType: string;
|
|
616
618
|
/** @description The languages this article supports */
|
|
@@ -978,6 +980,8 @@ export type components = {
|
|
|
978
980
|
title: string;
|
|
979
981
|
/** @description The date the article is published */
|
|
980
982
|
published?: string;
|
|
983
|
+
/** @description The revision date of the article */
|
|
984
|
+
revised?: string;
|
|
981
985
|
/** @description The content of the article */
|
|
982
986
|
content?: string;
|
|
983
987
|
/** @description Searchable tags */
|
|
@@ -1060,7 +1064,7 @@ export type components = {
|
|
|
1060
1064
|
* PartialArticleFieldsDTO
|
|
1061
1065
|
* @enum {string}
|
|
1062
1066
|
*/
|
|
1063
|
-
PartialArticleFieldsDTO: "availability" | "grepCodes" | "license" | "metaDescription" | "relatedContent" | "tags" | "revisionDate" | "
|
|
1067
|
+
PartialArticleFieldsDTO: "availability" | "grepCodes" | "license" | "metaDescription" | "relatedContent" | "tags" | "revisionDate" | "revised";
|
|
1064
1068
|
/**
|
|
1065
1069
|
* PartialBulkArticlesDTO
|
|
1066
1070
|
* @description Partial data about articles to publish in bulk
|
|
@@ -1211,6 +1215,8 @@ export type components = {
|
|
|
1211
1215
|
status?: string;
|
|
1212
1216
|
/** @description The date the article is published */
|
|
1213
1217
|
published?: string;
|
|
1218
|
+
/** @description The revision date of the article */
|
|
1219
|
+
revised?: string;
|
|
1214
1220
|
/** @description The content of the article */
|
|
1215
1221
|
content?: string;
|
|
1216
1222
|
/** @description Searchable tags */
|
package/build/search-api.d.ts
CHANGED
|
@@ -302,6 +302,8 @@ export type components = {
|
|
|
302
302
|
resultTypes?: components["schemas"]["SearchType"][];
|
|
303
303
|
/** @description Only return results that have one of the specified tags. */
|
|
304
304
|
tags?: string[];
|
|
305
|
+
/** @description Only return results matching the isRepublished flag. */
|
|
306
|
+
isRepublished?: boolean;
|
|
305
307
|
};
|
|
306
308
|
/**
|
|
307
309
|
* ErrorBody
|
|
@@ -714,8 +716,10 @@ export type components = {
|
|
|
714
716
|
parentTopicName?: string;
|
|
715
717
|
/** @description Name of the primary context root if exists */
|
|
716
718
|
primaryRootName?: string;
|
|
717
|
-
/** @description When the
|
|
719
|
+
/** @description When the resource was last published */
|
|
718
720
|
published?: string;
|
|
721
|
+
/** @description Revision date of the resource */
|
|
722
|
+
revised?: string;
|
|
719
723
|
/**
|
|
720
724
|
* Format: int64
|
|
721
725
|
* @description Number of times favorited in MyNDLA
|