@ndla/types-backend 0.2.68 → 0.2.69
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/article-api.d.ts
CHANGED
package/build/draft-api.d.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
export type ArenaGroup = "ADMIN";
|
|
2
1
|
export interface IAuthor {
|
|
3
2
|
type: string;
|
|
4
3
|
name: string;
|
|
5
4
|
}
|
|
6
|
-
export interface IBreadcrumb {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
}
|
|
10
5
|
export interface IConfigMeta {
|
|
11
6
|
key: string;
|
|
12
7
|
value: (boolean | string[]);
|
|
@@ -33,22 +28,6 @@ export interface IEmbedUrlV2 {
|
|
|
33
28
|
url: string;
|
|
34
29
|
embedType: string;
|
|
35
30
|
}
|
|
36
|
-
export interface IFolder {
|
|
37
|
-
id: string;
|
|
38
|
-
name: string;
|
|
39
|
-
status: string;
|
|
40
|
-
parentId?: string;
|
|
41
|
-
breadcrumbs: IBreadcrumb[];
|
|
42
|
-
subfolders: IFolderData[];
|
|
43
|
-
resources: IResource[];
|
|
44
|
-
rank?: number;
|
|
45
|
-
created: string;
|
|
46
|
-
updated: string;
|
|
47
|
-
shared?: string;
|
|
48
|
-
description?: string;
|
|
49
|
-
owner?: IOwner;
|
|
50
|
-
}
|
|
51
|
-
export type IFolderData = IFolder;
|
|
52
31
|
export interface IIntroduction {
|
|
53
32
|
introduction: string;
|
|
54
33
|
language: string;
|
|
@@ -145,50 +124,6 @@ export interface IMessage {
|
|
|
145
124
|
message: string;
|
|
146
125
|
date: string;
|
|
147
126
|
}
|
|
148
|
-
export interface IMyNDLAGroup {
|
|
149
|
-
id: string;
|
|
150
|
-
displayName: string;
|
|
151
|
-
isPrimarySchool: boolean;
|
|
152
|
-
parentId?: string;
|
|
153
|
-
}
|
|
154
|
-
export interface IMyNDLAUser {
|
|
155
|
-
id: number;
|
|
156
|
-
feideId: string;
|
|
157
|
-
username: string;
|
|
158
|
-
email: string;
|
|
159
|
-
displayName: string;
|
|
160
|
-
favoriteSubjects: string[];
|
|
161
|
-
role: string;
|
|
162
|
-
organization: string;
|
|
163
|
-
groups: IMyNDLAGroup[];
|
|
164
|
-
arenaEnabled: boolean;
|
|
165
|
-
shareName: boolean;
|
|
166
|
-
arenaGroups: ArenaGroup[];
|
|
167
|
-
}
|
|
168
|
-
export interface INewFolder {
|
|
169
|
-
name: string;
|
|
170
|
-
parentId?: string;
|
|
171
|
-
status?: string;
|
|
172
|
-
description?: string;
|
|
173
|
-
}
|
|
174
|
-
export interface INewResource {
|
|
175
|
-
resourceType: ResourceType;
|
|
176
|
-
path: string;
|
|
177
|
-
tags?: string[];
|
|
178
|
-
resourceId: string;
|
|
179
|
-
}
|
|
180
|
-
export interface IOwner {
|
|
181
|
-
name: string;
|
|
182
|
-
}
|
|
183
|
-
export interface IResource {
|
|
184
|
-
id: string;
|
|
185
|
-
resourceType: ResourceType;
|
|
186
|
-
path: string;
|
|
187
|
-
created: string;
|
|
188
|
-
tags: string[];
|
|
189
|
-
resourceId: string;
|
|
190
|
-
rank?: number;
|
|
191
|
-
}
|
|
192
127
|
export interface ISearchResultV2 {
|
|
193
128
|
totalCount: number;
|
|
194
129
|
page?: number;
|
|
@@ -200,13 +135,3 @@ export interface ITitle {
|
|
|
200
135
|
title: string;
|
|
201
136
|
language: string;
|
|
202
137
|
}
|
|
203
|
-
export interface IUpdatedFolder {
|
|
204
|
-
name?: string;
|
|
205
|
-
status?: string;
|
|
206
|
-
description?: string;
|
|
207
|
-
}
|
|
208
|
-
export interface IUpdatedResource {
|
|
209
|
-
tags?: string[];
|
|
210
|
-
resourceId?: string;
|
|
211
|
-
}
|
|
212
|
-
export type ResourceType = ("concept" | "image" | "audio" | "multidisciplinary" | "article" | "learningpath" | "video" | "folder");
|
package/build/search-api.d.ts
CHANGED
package/package.json
CHANGED