@ndla/types-backend 1.0.42 → 1.0.44
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.
|
@@ -1301,7 +1301,7 @@ export interface operations {
|
|
|
1301
1301
|
};
|
|
1302
1302
|
requestBody?: never;
|
|
1303
1303
|
responses: {
|
|
1304
|
-
|
|
1304
|
+
204: {
|
|
1305
1305
|
headers: {
|
|
1306
1306
|
[name: string]: unknown;
|
|
1307
1307
|
};
|
|
@@ -1730,7 +1730,7 @@ export interface operations {
|
|
|
1730
1730
|
};
|
|
1731
1731
|
requestBody?: never;
|
|
1732
1732
|
responses: {
|
|
1733
|
-
|
|
1733
|
+
204: {
|
|
1734
1734
|
headers: {
|
|
1735
1735
|
[name: string]: unknown;
|
|
1736
1736
|
};
|
|
@@ -2513,7 +2513,7 @@ export interface operations {
|
|
|
2513
2513
|
};
|
|
2514
2514
|
requestBody?: never;
|
|
2515
2515
|
responses: {
|
|
2516
|
-
|
|
2516
|
+
204: {
|
|
2517
2517
|
headers: {
|
|
2518
2518
|
[name: string]: unknown;
|
|
2519
2519
|
};
|
|
@@ -2637,7 +2637,7 @@ export interface operations {
|
|
|
2637
2637
|
};
|
|
2638
2638
|
requestBody?: never;
|
|
2639
2639
|
responses: {
|
|
2640
|
-
|
|
2640
|
+
204: {
|
|
2641
2641
|
headers: {
|
|
2642
2642
|
[name: string]: unknown;
|
|
2643
2643
|
};
|
|
@@ -2682,7 +2682,7 @@ export interface operations {
|
|
|
2682
2682
|
};
|
|
2683
2683
|
};
|
|
2684
2684
|
responses: {
|
|
2685
|
-
|
|
2685
|
+
204: {
|
|
2686
2686
|
headers: {
|
|
2687
2687
|
[name: string]: unknown;
|
|
2688
2688
|
};
|
|
@@ -1166,7 +1166,7 @@ export interface operations {
|
|
|
1166
1166
|
};
|
|
1167
1167
|
requestBody?: never;
|
|
1168
1168
|
responses: {
|
|
1169
|
-
|
|
1169
|
+
204: {
|
|
1170
1170
|
headers: {
|
|
1171
1171
|
[name: string]: unknown;
|
|
1172
1172
|
};
|
|
@@ -1755,7 +1755,7 @@ export interface operations {
|
|
|
1755
1755
|
};
|
|
1756
1756
|
requestBody?: never;
|
|
1757
1757
|
responses: {
|
|
1758
|
-
|
|
1758
|
+
204: {
|
|
1759
1759
|
headers: {
|
|
1760
1760
|
[name: string]: unknown;
|
|
1761
1761
|
};
|
|
@@ -1216,7 +1216,7 @@ export interface operations {
|
|
|
1216
1216
|
};
|
|
1217
1217
|
requestBody?: never;
|
|
1218
1218
|
responses: {
|
|
1219
|
-
|
|
1219
|
+
204: {
|
|
1220
1220
|
headers: {
|
|
1221
1221
|
[name: string]: unknown;
|
|
1222
1222
|
};
|
|
@@ -1488,7 +1488,7 @@ export interface operations {
|
|
|
1488
1488
|
};
|
|
1489
1489
|
requestBody?: never;
|
|
1490
1490
|
responses: {
|
|
1491
|
-
|
|
1491
|
+
204: {
|
|
1492
1492
|
headers: {
|
|
1493
1493
|
[name: string]: unknown;
|
|
1494
1494
|
};
|
|
@@ -1788,7 +1788,7 @@ export interface operations {
|
|
|
1788
1788
|
};
|
|
1789
1789
|
};
|
|
1790
1790
|
responses: {
|
|
1791
|
-
|
|
1791
|
+
204: {
|
|
1792
1792
|
headers: {
|
|
1793
1793
|
[name: string]: unknown;
|
|
1794
1794
|
};
|
|
@@ -1863,7 +1863,7 @@ export interface operations {
|
|
|
1863
1863
|
};
|
|
1864
1864
|
};
|
|
1865
1865
|
responses: {
|
|
1866
|
-
|
|
1866
|
+
204: {
|
|
1867
1867
|
headers: {
|
|
1868
1868
|
[name: string]: unknown;
|
|
1869
1869
|
};
|
|
@@ -1935,7 +1935,7 @@ export interface operations {
|
|
|
1935
1935
|
};
|
|
1936
1936
|
};
|
|
1937
1937
|
responses: {
|
|
1938
|
-
|
|
1938
|
+
204: {
|
|
1939
1939
|
headers: {
|
|
1940
1940
|
[name: string]: unknown;
|
|
1941
1941
|
};
|
|
@@ -2006,7 +2006,7 @@ export interface operations {
|
|
|
2006
2006
|
};
|
|
2007
2007
|
requestBody?: never;
|
|
2008
2008
|
responses: {
|
|
2009
|
-
|
|
2009
|
+
204: {
|
|
2010
2010
|
headers: {
|
|
2011
2011
|
[name: string]: unknown;
|
|
2012
2012
|
};
|
|
@@ -2077,7 +2077,7 @@ export interface operations {
|
|
|
2077
2077
|
};
|
|
2078
2078
|
requestBody?: never;
|
|
2079
2079
|
responses: {
|
|
2080
|
-
|
|
2080
|
+
204: {
|
|
2081
2081
|
headers: {
|
|
2082
2082
|
[name: string]: unknown;
|
|
2083
2083
|
};
|
|
@@ -2273,7 +2273,7 @@ export interface operations {
|
|
|
2273
2273
|
};
|
|
2274
2274
|
requestBody?: never;
|
|
2275
2275
|
responses: {
|
|
2276
|
-
|
|
2276
|
+
204: {
|
|
2277
2277
|
headers: {
|
|
2278
2278
|
[name: string]: unknown;
|
|
2279
2279
|
};
|
|
@@ -310,6 +310,8 @@ export type components = {
|
|
|
310
310
|
GrepKjerneelementDTO: {
|
|
311
311
|
/** @description The grep code */
|
|
312
312
|
code: string;
|
|
313
|
+
/** @description The grep status */
|
|
314
|
+
status: components["schemas"]["GrepStatusDTO"];
|
|
313
315
|
title: components["schemas"]["TitleDTO"];
|
|
314
316
|
description: components["schemas"]["DescriptionDTO"];
|
|
315
317
|
laereplan: components["schemas"]["GrepReferencedLaereplanDTO"];
|
|
@@ -327,6 +329,8 @@ export type components = {
|
|
|
327
329
|
GrepKompetansemaalDTO: {
|
|
328
330
|
/** @description The grep code */
|
|
329
331
|
code: string;
|
|
332
|
+
/** @description The grep status */
|
|
333
|
+
status: components["schemas"]["GrepStatusDTO"];
|
|
330
334
|
title: components["schemas"]["TitleDTO"];
|
|
331
335
|
laereplan: components["schemas"]["GrepReferencedLaereplanDTO"];
|
|
332
336
|
kompetansemaalSett: components["schemas"]["GrepReferencedKompetansemaalSettDTO"];
|
|
@@ -347,6 +351,8 @@ export type components = {
|
|
|
347
351
|
GrepKompetansemaalSettDTO: {
|
|
348
352
|
/** @description The grep code */
|
|
349
353
|
code: string;
|
|
354
|
+
/** @description The grep status */
|
|
355
|
+
status: components["schemas"]["GrepStatusDTO"];
|
|
350
356
|
title: components["schemas"]["TitleDTO"];
|
|
351
357
|
kompetansemaal: components["schemas"]["GrepReferencedKompetansemaalDTO"][];
|
|
352
358
|
typename: components["schemas"]["GrepKompetansemaalSettDTO1"];
|
|
@@ -363,6 +369,8 @@ export type components = {
|
|
|
363
369
|
GrepLaererplanDTO: {
|
|
364
370
|
/** @description The grep code */
|
|
365
371
|
code: string;
|
|
372
|
+
/** @description The grep status */
|
|
373
|
+
status: components["schemas"]["GrepStatusDTO"];
|
|
366
374
|
title: components["schemas"]["TitleDTO"];
|
|
367
375
|
replacedBy: components["schemas"]["GrepReferencedLaereplanDTO"][];
|
|
368
376
|
typename: components["schemas"]["GrepLaererplanDTO1"];
|
|
@@ -375,21 +383,25 @@ export type components = {
|
|
|
375
383
|
/** GrepReferencedKjerneelementDTO */
|
|
376
384
|
GrepReferencedKjerneelementDTO: {
|
|
377
385
|
code: string;
|
|
386
|
+
status: components["schemas"]["GrepStatusDTO"];
|
|
378
387
|
title: string;
|
|
379
388
|
};
|
|
380
389
|
/** GrepReferencedKompetansemaalDTO */
|
|
381
390
|
GrepReferencedKompetansemaalDTO: {
|
|
382
391
|
code: string;
|
|
392
|
+
status: components["schemas"]["GrepStatusDTO"];
|
|
383
393
|
title: string;
|
|
384
394
|
};
|
|
385
395
|
/** GrepReferencedKompetansemaalSettDTO */
|
|
386
396
|
GrepReferencedKompetansemaalSettDTO: {
|
|
387
397
|
code: string;
|
|
398
|
+
status: components["schemas"]["GrepStatusDTO"];
|
|
388
399
|
title: string;
|
|
389
400
|
};
|
|
390
401
|
/** GrepReferencedLaereplanDTO */
|
|
391
402
|
GrepReferencedLaereplanDTO: {
|
|
392
403
|
code: string;
|
|
404
|
+
status: components["schemas"]["GrepStatusDTO"];
|
|
393
405
|
title: string;
|
|
394
406
|
};
|
|
395
407
|
/** GrepResultDTO */
|
|
@@ -449,7 +461,12 @@ export type components = {
|
|
|
449
461
|
* @description The sort order of the search hits.
|
|
450
462
|
* @enum {string}
|
|
451
463
|
*/
|
|
452
|
-
GrepSortDTO: "-relevance" | "relevance" | "-title" | "title" | "-code" | "code";
|
|
464
|
+
GrepSortDTO: "-relevance" | "relevance" | "-title" | "title" | "-code" | "code" | "-status" | "status";
|
|
465
|
+
/**
|
|
466
|
+
* GrepStatusDTO
|
|
467
|
+
* @enum {string}
|
|
468
|
+
*/
|
|
469
|
+
GrepStatusDTO: "Published" | "InProgress" | "ToRevision" | "Expired" | "Invalid";
|
|
453
470
|
/**
|
|
454
471
|
* GrepTverrfagligTemaDTO
|
|
455
472
|
* @description Information about a single grep search result entry
|
|
@@ -457,6 +474,8 @@ export type components = {
|
|
|
457
474
|
GrepTverrfagligTemaDTO: {
|
|
458
475
|
/** @description The grep code */
|
|
459
476
|
code: string;
|
|
477
|
+
/** @description The grep status */
|
|
478
|
+
status: components["schemas"]["GrepStatusDTO"];
|
|
460
479
|
title: components["schemas"]["TitleDTO"];
|
|
461
480
|
typename: components["schemas"]["GrepTverrfagligTemaDTO1"];
|
|
462
481
|
};
|
package/build/search-api.d.ts
CHANGED
|
@@ -47,6 +47,8 @@ export type GrepSearchResultsDTO = schemas["GrepSearchResultsDTO"];
|
|
|
47
47
|
export type IGrepSearchResultsDTO = schemas["GrepSearchResultsDTO"];
|
|
48
48
|
export type GrepSortDTO = schemas["GrepSortDTO"];
|
|
49
49
|
export type IGrepSortDTO = schemas["GrepSortDTO"];
|
|
50
|
+
export type GrepStatusDTO = schemas["GrepStatusDTO"];
|
|
51
|
+
export type IGrepStatusDTO = schemas["GrepStatusDTO"];
|
|
50
52
|
export type GrepTverrfagligTemaDTO = schemas["GrepTverrfagligTemaDTO"];
|
|
51
53
|
export type IGrepTverrfagligTemaDTO = schemas["GrepTverrfagligTemaDTO"];
|
|
52
54
|
export type GrepTverrfagligTemaDTO1 = schemas["GrepTverrfagligTemaDTO1"];
|
package/package.json
CHANGED
|
@@ -32,5 +32,6 @@
|
|
|
32
32
|
"tsx": "^4.19.3",
|
|
33
33
|
"typescript": "^5.3.3"
|
|
34
34
|
},
|
|
35
|
-
"version": "1.0.
|
|
35
|
+
"version": "1.0.44",
|
|
36
|
+
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
36
37
|
}
|