@ndla/types-backend 0.2.19 → 0.2.20
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 +0 -1
- package/build/audio-api.d.ts +0 -1
- package/build/concept-api.d.ts +0 -1
- package/build/draft-api.d.ts +0 -42
- package/package.json +1 -1
package/build/article-api.d.ts
CHANGED
package/build/audio-api.d.ts
CHANGED
package/build/concept-api.d.ts
CHANGED
package/build/draft-api.d.ts
CHANGED
|
@@ -1,25 +1,4 @@
|
|
|
1
1
|
export type Availability = ("decoder" | "encoder" | "everyone" | "teacher");
|
|
2
|
-
export interface IAgreement {
|
|
3
|
-
id: number;
|
|
4
|
-
title: string;
|
|
5
|
-
content: string;
|
|
6
|
-
copyright: ICopyright;
|
|
7
|
-
created: string;
|
|
8
|
-
updated: string;
|
|
9
|
-
updatedBy: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IAgreementSearchResult {
|
|
12
|
-
totalCount: number;
|
|
13
|
-
page?: number;
|
|
14
|
-
pageSize: number;
|
|
15
|
-
language: string;
|
|
16
|
-
results: IAgreementSummary[];
|
|
17
|
-
}
|
|
18
|
-
export interface IAgreementSummary {
|
|
19
|
-
id: number;
|
|
20
|
-
title: string;
|
|
21
|
-
license: string;
|
|
22
|
-
}
|
|
23
2
|
export interface IArticle {
|
|
24
3
|
id: number;
|
|
25
4
|
oldNdlaUrl?: string;
|
|
@@ -111,7 +90,6 @@ export interface ICopyright {
|
|
|
111
90
|
creators: IAuthor[];
|
|
112
91
|
processors: IAuthor[];
|
|
113
92
|
rightsholders: IAuthor[];
|
|
114
|
-
agreementId?: number;
|
|
115
93
|
validFrom?: string;
|
|
116
94
|
validTo?: string;
|
|
117
95
|
}
|
|
@@ -136,21 +114,6 @@ export interface ILicense {
|
|
|
136
114
|
description?: string;
|
|
137
115
|
url?: string;
|
|
138
116
|
}
|
|
139
|
-
export interface INewAgreement {
|
|
140
|
-
title: string;
|
|
141
|
-
content: string;
|
|
142
|
-
copyright: INewAgreementCopyright;
|
|
143
|
-
}
|
|
144
|
-
export interface INewAgreementCopyright {
|
|
145
|
-
license?: ILicense;
|
|
146
|
-
origin?: string;
|
|
147
|
-
creators: IAuthor[];
|
|
148
|
-
processors: IAuthor[];
|
|
149
|
-
rightsholders: IAuthor[];
|
|
150
|
-
agreementId?: number;
|
|
151
|
-
validFrom?: string;
|
|
152
|
-
validTo?: string;
|
|
153
|
-
}
|
|
154
117
|
export interface INewArticle {
|
|
155
118
|
language: string;
|
|
156
119
|
title: string;
|
|
@@ -217,11 +180,6 @@ export interface ITagsSearchResult {
|
|
|
217
180
|
language: string;
|
|
218
181
|
results: string[];
|
|
219
182
|
}
|
|
220
|
-
export interface IUpdatedAgreement {
|
|
221
|
-
title?: string;
|
|
222
|
-
content?: string;
|
|
223
|
-
copyright?: INewAgreementCopyright;
|
|
224
|
-
}
|
|
225
183
|
export interface IUpdatedArticle {
|
|
226
184
|
revision: number;
|
|
227
185
|
language?: string;
|
package/package.json
CHANGED