@ndla/types-backend 0.2.9 → 0.2.10
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/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/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