@ndla/types-backend 1.0.22 → 1.0.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.
@@ -34,12 +34,10 @@ export interface IConceptDTO {
34
34
  source?: string;
35
35
  metaImage?: IConceptMetaImageDTO;
36
36
  tags?: IConceptTagsDTO;
37
- subjectIds?: string[];
38
37
  created: string;
39
38
  updated: string;
40
39
  updatedBy?: string[];
41
40
  supportedLanguages: string[];
42
- articleIds: number[];
43
41
  status: IStatusDTO;
44
42
  visualElement?: IVisualElementDTO;
45
43
  responsible?: IConceptResponsibleDTO;
@@ -65,7 +63,6 @@ export interface IConceptSearchParamsDTO {
65
63
  sort?: Sort;
66
64
  fallback?: boolean;
67
65
  scrollId?: string;
68
- subjects?: string[];
69
66
  tags?: string[];
70
67
  exactMatch?: boolean;
71
68
  embedResource?: string[];
@@ -87,7 +84,6 @@ export interface IConceptSummaryDTO {
87
84
  content: IConceptContent;
88
85
  metaImage: IConceptMetaImageDTO;
89
86
  tags?: IConceptTagsDTO;
90
- subjectIds?: string[];
91
87
  supportedLanguages: string[];
92
88
  lastUpdated: string;
93
89
  created: string;
@@ -96,12 +92,10 @@ export interface IConceptSummaryDTO {
96
92
  license?: string;
97
93
  copyright?: IDraftCopyrightDTO;
98
94
  visualElement?: IVisualElementDTO;
99
- articleIds: number[];
100
95
  source?: string;
101
96
  responsible?: IConceptResponsibleDTO;
102
97
  conceptType: string;
103
98
  glossData?: IGlossDataDTO;
104
- subjectName?: string;
105
99
  conceptTypeName: string;
106
100
  }
107
101
  export interface IConceptTagsDTO {
@@ -121,7 +115,6 @@ export interface IDraftConceptSearchParamsDTO {
121
115
  sort?: Sort;
122
116
  fallback?: boolean;
123
117
  scrollId?: string;
124
- subjects?: string[];
125
118
  tags?: string[];
126
119
  status?: string[];
127
120
  users?: string[];
@@ -181,8 +174,6 @@ export interface INewConceptDTO {
181
174
  copyright?: IDraftCopyrightDTO;
182
175
  metaImage?: INewConceptMetaImageDTO;
183
176
  tags?: string[];
184
- subjectIds?: string[];
185
- articleIds?: number[];
186
177
  visualElement?: string;
187
178
  responsibleId?: string;
188
179
  conceptType: string;
@@ -196,11 +187,6 @@ export interface IStatusDTO {
196
187
  current: string;
197
188
  other: string[];
198
189
  }
199
- export interface ISubjectTagsDTO {
200
- subjectId: string;
201
- tags: string[];
202
- language: string;
203
- }
204
190
  export interface ITagsSearchResultDTO {
205
191
  totalCount: number;
206
192
  page: number;
@@ -219,8 +205,6 @@ export interface IUpdatedConceptDTO {
219
205
  metaImage: UpdateOrDeleteNewConceptMetaImageDTO;
220
206
  copyright?: IDraftCopyrightDTO;
221
207
  tags?: string[];
222
- subjectIds?: string[];
223
- articleIds?: number[];
224
208
  status?: string;
225
209
  visualElement?: string;
226
210
  responsibleId: UpdateOrDeleteString;
@@ -271,7 +271,6 @@ export interface IMultiSearchSummaryDTO {
271
271
  published?: string;
272
272
  favorited?: number;
273
273
  resultType: SearchType;
274
- conceptSubjectIds?: string[];
275
274
  }
276
275
  export interface IMultiSearchTermsAggregationDTO {
277
276
  field: string;
@@ -1 +1 @@
1
- {"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AA8Z3C,IAAY,QA6BX;AA7BD,WAAY,QAAQ;IAClB,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;IAC5B,kCAAsB,CAAA;IACtB,gCAAoB,CAAA;IACpB,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,4BAAgB,CAAA;IAChB,0BAAc,CAAA;IACd,wCAA4B,CAAA;IAC5B,sCAA0B,CAAA;IAC1B,8CAAkC,CAAA;IAClC,gDAAoC,CAAA;IACpC,kEAAsD,CAAA;IACtD,oEAAwD,CAAA;IACxD,kCAAsB,CAAA;IACtB,oCAAwB,CAAA;IACxB,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,sDAA0C,CAAA;IAC1C,oDAAwC,CAAA;IACxC,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,gDAAoC,CAAA;IACpC,8CAAkC,CAAA;IAClC,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;IAC5B,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;AAC9B,CAAC,EA7BW,QAAQ,wBAAR,QAAQ,QA6BnB"}
1
+ {"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AA6Z3C,IAAY,QA6BX;AA7BD,WAAY,QAAQ;IAClB,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;IAC5B,kCAAsB,CAAA;IACtB,gCAAoB,CAAA;IACpB,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,4BAAgB,CAAA;IAChB,0BAAc,CAAA;IACd,wCAA4B,CAAA;IAC5B,sCAA0B,CAAA;IAC1B,8CAAkC,CAAA;IAClC,gDAAoC,CAAA;IACpC,kEAAsD,CAAA;IACtD,oEAAwD,CAAA;IACxD,kCAAsB,CAAA;IACtB,oCAAwB,CAAA;IACxB,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,sDAA0C,CAAA;IAC1C,oDAAwC,CAAA;IACxC,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,gDAAoC,CAAA;IACpC,8CAAkC,CAAA;IAClC,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;IAC5B,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;AAC9B,CAAC,EA7BW,QAAQ,wBAAR,QAAQ,QA6BnB"}
package/package.json CHANGED
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.3.3"
29
29
  },
30
- "version": "1.0.22"
30
+ "version": "1.0.23"
31
31
  }