@ndla/types-backend 0.2.22 → 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.
@@ -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
- latestContent?: string[];
94
- goTo?: string[];
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
- latestContent?: string[];
127
- goTo?: string[];
110
+ connectedTo?: string[];
111
+ buildsOn?: string[];
112
+ leadsTo?: string[];
128
113
  }
129
114
  export interface IVisualElement {
130
115
  type: string;
package/package.json CHANGED
@@ -26,5 +26,5 @@
26
26
  "devDependencies": {
27
27
  "typescript": "^5.0.2"
28
28
  },
29
- "version": "0.2.22"
29
+ "version": "0.2.23"
30
30
  }