@ndla/types-backend 1.0.159 → 1.0.161
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/taxonomy-api.d.ts +17 -17
- package/package.json +1 -1
package/build/taxonomy-api.d.ts
CHANGED
|
@@ -1743,7 +1743,7 @@ export type components = {
|
|
|
1743
1743
|
/** Format: uri */
|
|
1744
1744
|
id: string;
|
|
1745
1745
|
name: string;
|
|
1746
|
-
path
|
|
1746
|
+
path?: string | null;
|
|
1747
1747
|
};
|
|
1748
1748
|
/** @description object containing public id of the node to be registered as context */
|
|
1749
1749
|
ContextPOST: {
|
|
@@ -2129,46 +2129,46 @@ export type components = {
|
|
|
2129
2129
|
};
|
|
2130
2130
|
NodeSearchBody: {
|
|
2131
2131
|
/** @description ContentURIs to fetch for query */
|
|
2132
|
-
contentUris?: string[];
|
|
2132
|
+
contentUris?: string[] | null;
|
|
2133
2133
|
/** @description If specified, the search result will be filtered by whether they include the key,value combination provided. If more than one provided only one will be required (OR) */
|
|
2134
2134
|
customFields?: {
|
|
2135
2135
|
[key: string]: string;
|
|
2136
|
-
};
|
|
2136
|
+
} | null;
|
|
2137
2137
|
/** @description Filter out programme contexts */
|
|
2138
|
-
filterProgrammes
|
|
2138
|
+
filterProgrammes: boolean;
|
|
2139
2139
|
/** @description Ids to fetch for query */
|
|
2140
|
-
ids?: string[];
|
|
2140
|
+
ids?: string[] | null;
|
|
2141
2141
|
/** @description Include all contexts */
|
|
2142
|
-
includeContexts
|
|
2142
|
+
includeContexts: boolean;
|
|
2143
2143
|
/**
|
|
2144
2144
|
* @description ISO-639-1 language code
|
|
2145
2145
|
* @example nb
|
|
2146
2146
|
*/
|
|
2147
|
-
language
|
|
2147
|
+
language: string;
|
|
2148
2148
|
/** @description Filter by nodeType */
|
|
2149
|
-
nodeType?: components["schemas"]["NodeType"][];
|
|
2149
|
+
nodeType?: components["schemas"]["NodeType"][] | null;
|
|
2150
2150
|
/**
|
|
2151
2151
|
* Format: int32
|
|
2152
2152
|
* @description Which page to fetch
|
|
2153
2153
|
*/
|
|
2154
|
-
page
|
|
2154
|
+
page: number;
|
|
2155
2155
|
/**
|
|
2156
2156
|
* Format: int32
|
|
2157
2157
|
* @description How many results to return per page
|
|
2158
2158
|
*/
|
|
2159
|
-
pageSize
|
|
2159
|
+
pageSize: number;
|
|
2160
2160
|
/**
|
|
2161
2161
|
* Format: uri
|
|
2162
2162
|
* @description Id to parent id in context.
|
|
2163
2163
|
*/
|
|
2164
|
-
parentId?: string;
|
|
2164
|
+
parentId?: string | null;
|
|
2165
2165
|
/** @description Query to search names */
|
|
2166
|
-
query?: string;
|
|
2166
|
+
query?: string | null;
|
|
2167
2167
|
/**
|
|
2168
2168
|
* Format: uri
|
|
2169
2169
|
* @description Id to root id in context.
|
|
2170
2170
|
*/
|
|
2171
|
-
rootId?: string;
|
|
2171
|
+
rootId?: string | null;
|
|
2172
2172
|
};
|
|
2173
2173
|
/** @enum {string} */
|
|
2174
2174
|
NodeType: "NODE" | "SUBJECT" | "TOPIC" | "CASE" | "RESOURCE" | "PROGRAMME";
|
|
@@ -2434,19 +2434,19 @@ export type components = {
|
|
|
2434
2434
|
SearchResult: {
|
|
2435
2435
|
/**
|
|
2436
2436
|
* Format: int32
|
|
2437
|
-
* @
|
|
2437
|
+
* @description The page number
|
|
2438
2438
|
*/
|
|
2439
2439
|
page: number;
|
|
2440
2440
|
/**
|
|
2441
2441
|
* Format: int32
|
|
2442
|
-
* @
|
|
2442
|
+
* @description The page size
|
|
2443
2443
|
*/
|
|
2444
2444
|
pageSize: number;
|
|
2445
|
-
/** @
|
|
2445
|
+
/** @description List of search results */
|
|
2446
2446
|
results: components["schemas"]["Node"][];
|
|
2447
2447
|
/**
|
|
2448
2448
|
* Format: int64
|
|
2449
|
-
* @
|
|
2449
|
+
* @description Total search result count, useful for fetching multiple pages
|
|
2450
2450
|
*/
|
|
2451
2451
|
totalCount: number;
|
|
2452
2452
|
};
|