@ndla/types-backend 0.2.81 → 0.2.83
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/draft-api.d.ts +6 -2
- package/build/myndla-api.d.ts +1 -1
- package/package.json +1 -1
package/build/draft-api.d.ts
CHANGED
|
@@ -175,6 +175,10 @@ export interface IRevisionMeta {
|
|
|
175
175
|
note: string;
|
|
176
176
|
status: string;
|
|
177
177
|
}
|
|
178
|
+
export interface ISavedSearch {
|
|
179
|
+
searchUrl: string;
|
|
180
|
+
searchPhrase: string;
|
|
181
|
+
}
|
|
178
182
|
export interface ISearchResult {
|
|
179
183
|
totalCount: number;
|
|
180
184
|
page: number;
|
|
@@ -230,7 +234,7 @@ export interface IUpdatedComment {
|
|
|
230
234
|
solved?: boolean;
|
|
231
235
|
}
|
|
232
236
|
export interface IUpdatedUserData {
|
|
233
|
-
savedSearches?:
|
|
237
|
+
savedSearches?: ISavedSearch[];
|
|
234
238
|
latestEditedArticles?: string[];
|
|
235
239
|
latestEditedConcepts?: string[];
|
|
236
240
|
favoriteSubjects?: string[];
|
|
@@ -243,7 +247,7 @@ export interface IUploadedFile {
|
|
|
243
247
|
}
|
|
244
248
|
export interface IUserData {
|
|
245
249
|
userId: string;
|
|
246
|
-
savedSearches?:
|
|
250
|
+
savedSearches?: ISavedSearch[];
|
|
247
251
|
latestEditedArticles?: string[];
|
|
248
252
|
latestEditedConcepts?: string[];
|
|
249
253
|
favoriteSubjects?: string[];
|
package/build/myndla-api.d.ts
CHANGED
|
@@ -241,4 +241,4 @@ export interface IUserFolder {
|
|
|
241
241
|
folders: IFolder[];
|
|
242
242
|
sharedFolders: IFolder[];
|
|
243
243
|
}
|
|
244
|
-
export type ResourceType = ("concept" | "image" | "audio" | "multidisciplinary" | "article" | "learningpath" | "video"
|
|
244
|
+
export type ResourceType = ("concept" | "image" | "audio" | "multidisciplinary" | "article" | "learningpath" | "video");
|
package/package.json
CHANGED