@ndla/types-backend 1.0.43 → 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.
|
@@ -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
|
}
|