@ndla/types-backend 1.0.23 → 1.0.24
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 +2 -1
- package/build/audio-api.d.ts +2 -1
- package/build/concept-api.d.ts +2 -1
- package/build/draft-api.d.ts +2 -1
- package/build/draft-api.js.map +1 -1
- package/build/image-api.d.ts +2 -1
- package/build/image-api.js.map +1 -1
- package/build/learningpath-api.d.ts +2 -1
- package/package.json +1 -1
package/build/article-api.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare enum ArticleSortEnum {
|
|
|
9
9
|
ByIdAsc = "id"
|
|
10
10
|
}
|
|
11
11
|
export type Availability = ("everyone" | "teacher");
|
|
12
|
+
export type ContributorType = ("artist" | "cowriter" | "compiler" | "composer" | "correction" | "director" | "distributor" | "editorial" | "facilitator" | "idea" | "illustrator" | "linguistic" | "originator" | "photographer" | "processor" | "publisher" | "reader" | "rightsholder" | "scriptwriter" | "supplier" | "translator" | "writer");
|
|
12
13
|
export interface IArticleContentV2DTO {
|
|
13
14
|
content: string;
|
|
14
15
|
language: string;
|
|
@@ -103,7 +104,7 @@ export interface IArticleV2DTO {
|
|
|
103
104
|
disclaimer?: IDisclaimerDTO;
|
|
104
105
|
}
|
|
105
106
|
export interface IAuthorDTO {
|
|
106
|
-
type:
|
|
107
|
+
type: ContributorType;
|
|
107
108
|
name: string;
|
|
108
109
|
}
|
|
109
110
|
export interface ICopyrightDTO {
|
package/build/audio-api.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare enum AudioSortEnum {
|
|
|
8
8
|
ByIdDesc = "-id",
|
|
9
9
|
ByIdAsc = "id"
|
|
10
10
|
}
|
|
11
|
+
export type ContributorType = ("artist" | "cowriter" | "compiler" | "composer" | "correction" | "director" | "distributor" | "editorial" | "facilitator" | "idea" | "illustrator" | "linguistic" | "originator" | "photographer" | "processor" | "publisher" | "reader" | "rightsholder" | "scriptwriter" | "supplier" | "translator" | "writer");
|
|
11
12
|
export interface IAudioDTO {
|
|
12
13
|
url: string;
|
|
13
14
|
mimeType: string;
|
|
@@ -49,7 +50,7 @@ export interface IAudioSummarySearchResultDTO {
|
|
|
49
50
|
results: IAudioSummaryDTO[];
|
|
50
51
|
}
|
|
51
52
|
export interface IAuthorDTO {
|
|
52
|
-
type:
|
|
53
|
+
type: ContributorType;
|
|
53
54
|
name: string;
|
|
54
55
|
}
|
|
55
56
|
export interface ICopyrightDTO {
|
package/build/concept-api.d.ts
CHANGED
|
@@ -16,8 +16,9 @@ export declare enum ConceptSortEnum {
|
|
|
16
16
|
ByConceptTypeAsc = "conceptType",
|
|
17
17
|
ByConceptTypeDesc = "-conceptType"
|
|
18
18
|
}
|
|
19
|
+
export type ContributorType = ("artist" | "cowriter" | "compiler" | "composer" | "correction" | "director" | "distributor" | "editorial" | "facilitator" | "idea" | "illustrator" | "linguistic" | "originator" | "photographer" | "processor" | "publisher" | "reader" | "rightsholder" | "scriptwriter" | "supplier" | "translator" | "writer");
|
|
19
20
|
export interface IAuthorDTO {
|
|
20
|
-
type:
|
|
21
|
+
type: ContributorType;
|
|
21
22
|
name: string;
|
|
22
23
|
}
|
|
23
24
|
export interface IConceptContent {
|
package/build/draft-api.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export type Availability = ("everyone" | "teacher");
|
|
2
|
+
export type ContributorType = ("artist" | "cowriter" | "compiler" | "composer" | "correction" | "director" | "distributor" | "editorial" | "facilitator" | "idea" | "illustrator" | "linguistic" | "originator" | "photographer" | "processor" | "publisher" | "reader" | "rightsholder" | "scriptwriter" | "supplier" | "translator" | "writer");
|
|
2
3
|
export declare enum DraftSortEnum {
|
|
3
4
|
ByRelevanceDesc = "-relevance",
|
|
4
5
|
ByRelevanceAsc = "relevance",
|
|
@@ -103,7 +104,7 @@ export interface IArticleTitleDTO {
|
|
|
103
104
|
language: string;
|
|
104
105
|
}
|
|
105
106
|
export interface IAuthorDTO {
|
|
106
|
-
type:
|
|
107
|
+
type: ContributorType;
|
|
107
108
|
name: string;
|
|
108
109
|
}
|
|
109
110
|
export interface ICommentDTO {
|
package/build/draft-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft-api.js","sourceRoot":"","sources":["../draft-api.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;
|
|
1
|
+
{"version":3,"file":"draft-api.js","sourceRoot":"","sources":["../draft-api.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AAM3C,IAAY,aASX;AATD,WAAY,aAAa;IACvB,+CAA8B,CAAA;IAC9B,6CAA4B,CAAA;IAC5B,uCAAsB,CAAA;IACtB,qCAAoB,CAAA;IACpB,mDAAkC,CAAA;IAClC,iDAAgC,CAAA;IAChC,iCAAgB,CAAA;IAChB,+BAAc,CAAA;AAChB,CAAC,EATW,aAAa,6BAAb,aAAa,QASxB"}
|
package/build/image-api.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
export type ContributorType = ("artist" | "cowriter" | "compiler" | "composer" | "correction" | "director" | "distributor" | "editorial" | "facilitator" | "idea" | "illustrator" | "linguistic" | "originator" | "photographer" | "processor" | "publisher" | "reader" | "rightsholder" | "scriptwriter" | "supplier" | "translator" | "writer");
|
|
1
2
|
export interface IAuthorDTO {
|
|
2
|
-
type:
|
|
3
|
+
type: ContributorType;
|
|
3
4
|
name: string;
|
|
4
5
|
}
|
|
5
6
|
export interface ICopyrightDTO {
|
package/build/image-api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-api.js","sourceRoot":"","sources":["../image-api.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;
|
|
1
|
+
{"version":3,"file":"image-api.js","sourceRoot":"","sources":["../image-api.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AAyL3C,IAAY,aASX;AATD,WAAY,aAAa;IACvB,+CAA8B,CAAA;IAC9B,6CAA4B,CAAA;IAC5B,uCAAsB,CAAA;IACtB,qCAAoB,CAAA;IACpB,mDAAkC,CAAA;IAClC,iDAAgC,CAAA;IAChC,iCAAgB,CAAA;IAChB,+BAAc,CAAA;AAChB,CAAC,EATW,aAAa,6BAAb,aAAa,QASxB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
export type ContributorType = ("artist" | "cowriter" | "compiler" | "composer" | "correction" | "director" | "distributor" | "editorial" | "facilitator" | "idea" | "illustrator" | "linguistic" | "originator" | "photographer" | "processor" | "publisher" | "reader" | "rightsholder" | "scriptwriter" | "supplier" | "translator" | "writer");
|
|
1
2
|
export interface IAuthorDTO {
|
|
2
|
-
type:
|
|
3
|
+
type: ContributorType;
|
|
3
4
|
name: string;
|
|
4
5
|
}
|
|
5
6
|
export interface IConfigMetaDTO {
|
package/package.json
CHANGED