@ndla/types-backend 0.2.59 → 0.2.60

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.
@@ -43,17 +43,17 @@ export interface IConceptSearchParams {
43
43
  language?: string;
44
44
  page?: number;
45
45
  pageSize?: number;
46
- ids: number[];
46
+ ids?: number[];
47
47
  sort?: string;
48
48
  fallback?: boolean;
49
49
  scrollId?: string;
50
- subjects: string[];
51
- tags: string[];
50
+ subjects?: string[];
51
+ tags?: string[];
52
52
  exactMatch?: boolean;
53
53
  embedResource?: string;
54
54
  embedId?: string;
55
55
  conceptType?: string;
56
- aggregatePaths: string[];
56
+ aggregatePaths?: string[];
57
57
  }
58
58
  export interface IConceptSearchResult {
59
59
  totalCount: number;
@@ -99,19 +99,19 @@ export interface IDraftConceptSearchParams {
99
99
  language?: string;
100
100
  page?: number;
101
101
  pageSize?: number;
102
- idList: number[];
102
+ idList?: number[];
103
103
  sort?: string;
104
104
  fallback?: boolean;
105
105
  scrollId?: string;
106
- subjects: string[];
107
- tags: string[];
108
- status: string[];
109
- users: string[];
106
+ subjects?: string[];
107
+ tags?: string[];
108
+ status?: string[];
109
+ users?: string[];
110
110
  embedResource?: string;
111
111
  embedId?: string;
112
- responsibleIds: string[];
112
+ responsibleIds?: string[];
113
113
  conceptType?: string;
114
- aggregatePaths: string[];
114
+ aggregatePaths?: string[];
115
115
  }
116
116
  export interface IDraftCopyright {
117
117
  license?: ILicense;
package/package.json CHANGED
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.3.3"
29
29
  },
30
- "version": "0.2.59"
30
+ "version": "0.2.60"
31
31
  }