@ndla/types-backend 1.0.95 → 1.0.97
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.
|
@@ -304,6 +304,28 @@ export type components = {
|
|
|
304
304
|
*/
|
|
305
305
|
statusCode: number;
|
|
306
306
|
};
|
|
307
|
+
/**
|
|
308
|
+
* GrepFagkodeDTO
|
|
309
|
+
* @description Information about a single grep search result entry
|
|
310
|
+
*/
|
|
311
|
+
GrepFagkodeDTO: {
|
|
312
|
+
/** @description The grep code */
|
|
313
|
+
code: string;
|
|
314
|
+
/** @description The grep uri */
|
|
315
|
+
uri: string;
|
|
316
|
+
/** @description The grep status */
|
|
317
|
+
status: components["schemas"]["GrepStatusDTO"];
|
|
318
|
+
/** @description The greps title */
|
|
319
|
+
title: components["schemas"]["TitleDTO"];
|
|
320
|
+
/** @description Title of resource */
|
|
321
|
+
kortform: components["schemas"]["TitleDTO"];
|
|
322
|
+
typename: components["schemas"]["GrepFagkodeDTO1"];
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* GrepFagkodeDTO
|
|
326
|
+
* @enum {string}
|
|
327
|
+
*/
|
|
328
|
+
GrepFagkodeDTO1: "GrepFagkodeDTO";
|
|
307
329
|
/**
|
|
308
330
|
* GrepKjerneelementDTO
|
|
309
331
|
* @description Information about a single grep search result entry
|
|
@@ -311,8 +333,11 @@ export type components = {
|
|
|
311
333
|
GrepKjerneelementDTO: {
|
|
312
334
|
/** @description The grep code */
|
|
313
335
|
code: string;
|
|
336
|
+
/** @description The grep uri */
|
|
337
|
+
uri: string;
|
|
314
338
|
/** @description The grep status */
|
|
315
339
|
status: components["schemas"]["GrepStatusDTO"];
|
|
340
|
+
/** @description The greps title */
|
|
316
341
|
title: components["schemas"]["TitleDTO"];
|
|
317
342
|
description: components["schemas"]["DescriptionDTO"];
|
|
318
343
|
laereplan: components["schemas"]["GrepReferencedLaereplanDTO"];
|
|
@@ -330,8 +355,11 @@ export type components = {
|
|
|
330
355
|
GrepKompetansemaalDTO: {
|
|
331
356
|
/** @description The grep code */
|
|
332
357
|
code: string;
|
|
358
|
+
/** @description The grep uri */
|
|
359
|
+
uri: string;
|
|
333
360
|
/** @description The grep status */
|
|
334
361
|
status: components["schemas"]["GrepStatusDTO"];
|
|
362
|
+
/** @description The greps title */
|
|
335
363
|
title: components["schemas"]["TitleDTO"];
|
|
336
364
|
laereplan: components["schemas"]["GrepReferencedLaereplanDTO"];
|
|
337
365
|
kompetansemaalSett: components["schemas"]["GrepReferencedKompetansemaalSettDTO"];
|
|
@@ -352,8 +380,11 @@ export type components = {
|
|
|
352
380
|
GrepKompetansemaalSettDTO: {
|
|
353
381
|
/** @description The grep code */
|
|
354
382
|
code: string;
|
|
383
|
+
/** @description The grep uri */
|
|
384
|
+
uri: string;
|
|
355
385
|
/** @description The grep status */
|
|
356
386
|
status: components["schemas"]["GrepStatusDTO"];
|
|
387
|
+
/** @description The greps title */
|
|
357
388
|
title: components["schemas"]["TitleDTO"];
|
|
358
389
|
kompetansemaal: components["schemas"]["GrepReferencedKompetansemaalDTO"][];
|
|
359
390
|
typename: components["schemas"]["GrepKompetansemaalSettDTO1"];
|
|
@@ -370,8 +401,11 @@ export type components = {
|
|
|
370
401
|
GrepLaererplanDTO: {
|
|
371
402
|
/** @description The grep code */
|
|
372
403
|
code: string;
|
|
404
|
+
/** @description The grep uri */
|
|
405
|
+
uri: string;
|
|
373
406
|
/** @description The grep status */
|
|
374
407
|
status: components["schemas"]["GrepStatusDTO"];
|
|
408
|
+
/** @description The greps title */
|
|
375
409
|
title: components["schemas"]["TitleDTO"];
|
|
376
410
|
replacedBy: components["schemas"]["GrepReferencedLaereplanDTO"][];
|
|
377
411
|
typename: components["schemas"]["GrepLaererplanDTO1"];
|
|
@@ -384,29 +418,33 @@ export type components = {
|
|
|
384
418
|
/** GrepReferencedKjerneelementDTO */
|
|
385
419
|
GrepReferencedKjerneelementDTO: {
|
|
386
420
|
code: string;
|
|
421
|
+
uri: string;
|
|
387
422
|
status: components["schemas"]["GrepStatusDTO"];
|
|
388
423
|
title: string;
|
|
389
424
|
};
|
|
390
425
|
/** GrepReferencedKompetansemaalDTO */
|
|
391
426
|
GrepReferencedKompetansemaalDTO: {
|
|
392
427
|
code: string;
|
|
428
|
+
uri: string;
|
|
393
429
|
status: components["schemas"]["GrepStatusDTO"];
|
|
394
430
|
title: string;
|
|
395
431
|
};
|
|
396
432
|
/** GrepReferencedKompetansemaalSettDTO */
|
|
397
433
|
GrepReferencedKompetansemaalSettDTO: {
|
|
398
434
|
code: string;
|
|
435
|
+
uri: string;
|
|
399
436
|
status: components["schemas"]["GrepStatusDTO"];
|
|
400
437
|
title: string;
|
|
401
438
|
};
|
|
402
439
|
/** GrepReferencedLaereplanDTO */
|
|
403
440
|
GrepReferencedLaereplanDTO: {
|
|
404
441
|
code: string;
|
|
442
|
+
uri: string;
|
|
405
443
|
status: components["schemas"]["GrepStatusDTO"];
|
|
406
444
|
title: string;
|
|
407
445
|
};
|
|
408
446
|
/** GrepResultDTO */
|
|
409
|
-
GrepResultDTO: components["schemas"]["GrepKjerneelementDTO"] | components["schemas"]["GrepKompetansemaalDTO"] | components["schemas"]["GrepKompetansemaalSettDTO"] | components["schemas"]["GrepLaererplanDTO"] | components["schemas"]["GrepTverrfagligTemaDTO"];
|
|
447
|
+
GrepResultDTO: components["schemas"]["GrepFagkodeDTO"] | components["schemas"]["GrepKjerneelementDTO"] | components["schemas"]["GrepKompetansemaalDTO"] | components["schemas"]["GrepKompetansemaalSettDTO"] | components["schemas"]["GrepLaererplanDTO"] | components["schemas"]["GrepTverrfagligTemaDTO"];
|
|
410
448
|
/**
|
|
411
449
|
* GrepSearchInputDTO
|
|
412
450
|
* @description Input parameters to subject aggregations endpoint
|
|
@@ -475,8 +513,11 @@ export type components = {
|
|
|
475
513
|
GrepTverrfagligTemaDTO: {
|
|
476
514
|
/** @description The grep code */
|
|
477
515
|
code: string;
|
|
516
|
+
/** @description The grep uri */
|
|
517
|
+
uri: string;
|
|
478
518
|
/** @description The grep status */
|
|
479
519
|
status: components["schemas"]["GrepStatusDTO"];
|
|
520
|
+
/** @description The greps title */
|
|
480
521
|
title: components["schemas"]["TitleDTO"];
|
|
481
522
|
typename: components["schemas"]["GrepTverrfagligTemaDTO1"];
|
|
482
523
|
};
|
|
@@ -970,10 +1011,7 @@ export type components = {
|
|
|
970
1011
|
*/
|
|
971
1012
|
count: number;
|
|
972
1013
|
};
|
|
973
|
-
/**
|
|
974
|
-
* TitleDTO
|
|
975
|
-
* @description The greps title
|
|
976
|
-
*/
|
|
1014
|
+
/** TitleDTO */
|
|
977
1015
|
TitleDTO: {
|
|
978
1016
|
/** @description The freetext title of the resource */
|
|
979
1017
|
title: string;
|
package/build/search-api.d.ts
CHANGED
|
@@ -8,6 +8,8 @@ export type CommentDTO = schemas["CommentDTO"];
|
|
|
8
8
|
export type DescriptionDTO = schemas["DescriptionDTO"];
|
|
9
9
|
export type DraftSearchParamsDTO = schemas["DraftSearchParamsDTO"];
|
|
10
10
|
export type ErrorBody = schemas["ErrorBody"];
|
|
11
|
+
export type GrepFagkodeDTO = schemas["GrepFagkodeDTO"];
|
|
12
|
+
export type GrepFagkodeDTO1 = schemas["GrepFagkodeDTO1"];
|
|
11
13
|
export type GrepKjerneelementDTO = schemas["GrepKjerneelementDTO"];
|
|
12
14
|
export type GrepKjerneelementDTO1 = schemas["GrepKjerneelementDTO1"];
|
|
13
15
|
export type GrepKompetansemaalDTO = schemas["GrepKompetansemaalDTO"];
|