@ndla/types-backend 1.0.160 → 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.
@@ -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?: boolean;
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?: boolean;
2142
+ includeContexts: boolean;
2143
2143
  /**
2144
2144
  * @description ISO-639-1 language code
2145
2145
  * @example nb
2146
2146
  */
2147
- language?: string;
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?: number;
2154
+ page: number;
2155
2155
  /**
2156
2156
  * Format: int32
2157
2157
  * @description How many results to return per page
2158
2158
  */
2159
- pageSize?: number;
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
- * @example The page number
2437
+ * @description The page number
2438
2438
  */
2439
2439
  page: number;
2440
2440
  /**
2441
2441
  * Format: int32
2442
- * @example The page size
2442
+ * @description The page size
2443
2443
  */
2444
2444
  pageSize: number;
2445
- /** @example List of search results */
2445
+ /** @description List of search results */
2446
2446
  results: components["schemas"]["Node"][];
2447
2447
  /**
2448
2448
  * Format: int64
2449
- * @example Total search result count, useful for fetching multiple pages
2449
+ * @description Total search result count, useful for fetching multiple pages
2450
2450
  */
2451
2451
  totalCount: number;
2452
2452
  };
package/package.json CHANGED
@@ -33,6 +33,6 @@
33
33
  "tsx": "^4.21.0",
34
34
  "typescript": "^5.9.3"
35
35
  },
36
- "version": "1.0.160",
36
+ "version": "1.0.161",
37
37
  "packageManager": "yarn@4.10.3"
38
38
  }