@ndla/types-backend 0.2.14 → 0.2.15
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/frontpage-api.d.ts +8 -11
- package/package.json +1 -1
package/build/frontpage-api.d.ts
CHANGED
|
@@ -28,10 +28,15 @@ export interface IFilmFrontPageData {
|
|
|
28
28
|
movieThemes: IMovieTheme[];
|
|
29
29
|
slideShow: string[];
|
|
30
30
|
}
|
|
31
|
-
export interface
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
export interface IFrontPage {
|
|
32
|
+
articleId: number;
|
|
33
|
+
menu: IMenu[];
|
|
34
34
|
}
|
|
35
|
+
export interface IMenu {
|
|
36
|
+
articleId: number;
|
|
37
|
+
menu: IMenuData[];
|
|
38
|
+
}
|
|
39
|
+
export type IMenuData = IMenu;
|
|
35
40
|
export interface IMovieTheme {
|
|
36
41
|
name: IMovieThemeName[];
|
|
37
42
|
movies: string[];
|
|
@@ -89,14 +94,6 @@ export interface INewSubjectFrontPageData {
|
|
|
89
94
|
latestContent?: string[];
|
|
90
95
|
goTo?: string[];
|
|
91
96
|
}
|
|
92
|
-
export interface ISubjectCollection {
|
|
93
|
-
name: string;
|
|
94
|
-
subjects: ISubjectFilters[];
|
|
95
|
-
}
|
|
96
|
-
export interface ISubjectFilters {
|
|
97
|
-
id: string;
|
|
98
|
-
filters: string[];
|
|
99
|
-
}
|
|
100
97
|
export interface ISubjectPageData {
|
|
101
98
|
id: number;
|
|
102
99
|
name: string;
|
package/package.json
CHANGED