@ndla/types-backend 0.2.9 → 0.2.11
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/audio-api.d.ts +0 -10
- package/build/draft-api.d.ts +3 -0
- package/build/frontpage-api.d.ts +5 -0
- package/package.json +1 -1
package/build/audio-api.d.ts
CHANGED
|
@@ -172,13 +172,3 @@ export interface IUpdatedAudioMetaInformation {
|
|
|
172
172
|
seriesId?: number;
|
|
173
173
|
manuscript?: string;
|
|
174
174
|
}
|
|
175
|
-
export interface IValidationError {
|
|
176
|
-
code: string;
|
|
177
|
-
description: string;
|
|
178
|
-
messages: IValidationMessage[];
|
|
179
|
-
occuredAt: string;
|
|
180
|
-
}
|
|
181
|
-
export interface IValidationMessage {
|
|
182
|
-
field: string;
|
|
183
|
-
message: string;
|
|
184
|
-
}
|
package/build/draft-api.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export interface IArticle {
|
|
|
50
50
|
responsible?: IDraftResponsible;
|
|
51
51
|
slug?: string;
|
|
52
52
|
comments: IComment[];
|
|
53
|
+
prioritized: boolean;
|
|
53
54
|
}
|
|
54
55
|
export interface IArticleContent {
|
|
55
56
|
content: string;
|
|
@@ -172,6 +173,7 @@ export interface INewArticle {
|
|
|
172
173
|
responsibleId?: string;
|
|
173
174
|
slug?: string;
|
|
174
175
|
comments: INewComment[];
|
|
176
|
+
prioritized?: boolean;
|
|
175
177
|
}
|
|
176
178
|
export interface INewArticleMetaImage {
|
|
177
179
|
id: string;
|
|
@@ -245,6 +247,7 @@ export interface IUpdatedArticle {
|
|
|
245
247
|
responsibleId?: (null | string);
|
|
246
248
|
slug?: string;
|
|
247
249
|
comments?: IUpdatedComment[];
|
|
250
|
+
prioritized?: boolean;
|
|
248
251
|
}
|
|
249
252
|
export interface IUpdatedComment {
|
|
250
253
|
id?: string;
|
package/build/frontpage-api.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export interface IErrorBody {
|
|
|
19
19
|
code: string;
|
|
20
20
|
description: string;
|
|
21
21
|
occurredAt: string;
|
|
22
|
+
messages?: IValidationMessage[];
|
|
22
23
|
statusCode: number;
|
|
23
24
|
}
|
|
24
25
|
export interface IFilmFrontPageData {
|
|
@@ -129,6 +130,10 @@ export interface IUpdatedSubjectFrontPageData {
|
|
|
129
130
|
latestContent?: string[];
|
|
130
131
|
goTo?: string[];
|
|
131
132
|
}
|
|
133
|
+
export interface IValidationMessage {
|
|
134
|
+
field: string;
|
|
135
|
+
message: string;
|
|
136
|
+
}
|
|
132
137
|
export interface IVisualElement {
|
|
133
138
|
type: string;
|
|
134
139
|
url: string;
|
package/package.json
CHANGED