@ndla/types-backend 0.2.21 → 0.2.23
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/concept-api.d.ts +0 -2
- package/build/frontpage-api.d.ts +9 -24
- package/package.json +1 -1
package/build/concept-api.d.ts
CHANGED
|
@@ -141,7 +141,6 @@ export interface INewConcept {
|
|
|
141
141
|
title: string;
|
|
142
142
|
content?: string;
|
|
143
143
|
copyright?: IDraftCopyright;
|
|
144
|
-
source?: string;
|
|
145
144
|
metaImage?: INewConceptMetaImage;
|
|
146
145
|
tags?: string[];
|
|
147
146
|
subjectIds?: string[];
|
|
@@ -177,7 +176,6 @@ export interface IUpdatedConcept {
|
|
|
177
176
|
content?: string;
|
|
178
177
|
metaImage?: (null | INewConceptMetaImage);
|
|
179
178
|
copyright?: IDraftCopyright;
|
|
180
|
-
source?: string;
|
|
181
179
|
tags?: string[];
|
|
182
180
|
subjectIds?: string[];
|
|
183
181
|
articleIds?: number[];
|
package/build/frontpage-api.d.ts
CHANGED
|
@@ -79,52 +79,37 @@ export interface INewOrUpdatedVisualElement {
|
|
|
79
79
|
}
|
|
80
80
|
export interface INewSubjectFrontPageData {
|
|
81
81
|
name: string;
|
|
82
|
-
filters?: string[];
|
|
83
82
|
externalId?: string;
|
|
84
|
-
layout: string;
|
|
85
|
-
twitter?: string;
|
|
86
|
-
facebook?: string;
|
|
87
83
|
banner: INewOrUpdateBannerImage;
|
|
88
84
|
about: INewOrUpdatedAboutSubject[];
|
|
89
85
|
metaDescription: INewOrUpdatedMetaDescription[];
|
|
90
|
-
topical?: string;
|
|
91
|
-
mostRead?: string[];
|
|
92
86
|
editorsChoices?: string[];
|
|
93
|
-
|
|
94
|
-
|
|
87
|
+
connectedTo?: string[];
|
|
88
|
+
buildsOn?: string[];
|
|
89
|
+
leadsTo?: string[];
|
|
95
90
|
}
|
|
96
91
|
export interface ISubjectPageData {
|
|
97
92
|
id: number;
|
|
98
93
|
name: string;
|
|
99
|
-
filters?: string[];
|
|
100
|
-
layout: string;
|
|
101
|
-
twitter?: string;
|
|
102
|
-
facebook?: string;
|
|
103
94
|
banner: IBannerImage;
|
|
104
95
|
about?: IAboutSubject;
|
|
105
96
|
metaDescription?: string;
|
|
106
|
-
topical?: string;
|
|
107
|
-
mostRead: string[];
|
|
108
97
|
editorsChoices: string[];
|
|
109
|
-
latestContent?: string[];
|
|
110
|
-
goTo: string[];
|
|
111
98
|
supportedLanguages: string[];
|
|
99
|
+
connectedTo: string[];
|
|
100
|
+
buildsOn: string[];
|
|
101
|
+
leadsTo: string[];
|
|
112
102
|
}
|
|
113
103
|
export interface IUpdatedSubjectFrontPageData {
|
|
114
104
|
name?: string;
|
|
115
|
-
filters?: string[];
|
|
116
105
|
externalId?: string;
|
|
117
|
-
layout?: string;
|
|
118
|
-
twitter?: string;
|
|
119
|
-
facebook?: string;
|
|
120
106
|
banner?: INewOrUpdateBannerImage;
|
|
121
107
|
about?: INewOrUpdatedAboutSubject[];
|
|
122
108
|
metaDescription?: INewOrUpdatedMetaDescription[];
|
|
123
|
-
topical?: string;
|
|
124
|
-
mostRead?: string[];
|
|
125
109
|
editorsChoices?: string[];
|
|
126
|
-
|
|
127
|
-
|
|
110
|
+
connectedTo?: string[];
|
|
111
|
+
buildsOn?: string[];
|
|
112
|
+
leadsTo?: string[];
|
|
128
113
|
}
|
|
129
114
|
export interface IVisualElement {
|
|
130
115
|
type: string;
|
package/package.json
CHANGED