@ndla/types-backend 1.0.94 → 1.0.96
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/article-api-openapi.d.ts +20 -16
- package/build/myndla-api-openapi.d.ts +28 -112
- package/build/search-api-openapi.d.ts +46 -17
- package/build/search-api.d.ts +2 -0
- package/package.json +1 -1
|
@@ -670,10 +670,7 @@ export interface operations {
|
|
|
670
670
|
/** @description The page number of the search hits to display. */
|
|
671
671
|
page?: number;
|
|
672
672
|
};
|
|
673
|
-
header?:
|
|
674
|
-
/** @description Header containing FEIDE access token. */
|
|
675
|
-
FeideAuthorization?: string;
|
|
676
|
-
};
|
|
673
|
+
header?: never;
|
|
677
674
|
path?: never;
|
|
678
675
|
cookie?: never;
|
|
679
676
|
};
|
|
@@ -777,10 +774,7 @@ export interface operations {
|
|
|
777
774
|
/** @description Fallback to existing language if language is specified. */
|
|
778
775
|
fallback?: boolean;
|
|
779
776
|
};
|
|
780
|
-
header?:
|
|
781
|
-
/** @description Header containing FEIDE access token. */
|
|
782
|
-
FeideAuthorization?: string;
|
|
783
|
-
};
|
|
777
|
+
header?: never;
|
|
784
778
|
path: {
|
|
785
779
|
/** @description Id or slug of the article that is to be fetched. */
|
|
786
780
|
article_id: string;
|
|
@@ -805,6 +799,22 @@ export interface operations {
|
|
|
805
799
|
"application/json": components["schemas"]["AllErrors"];
|
|
806
800
|
};
|
|
807
801
|
};
|
|
802
|
+
401: {
|
|
803
|
+
headers: {
|
|
804
|
+
[name: string]: unknown;
|
|
805
|
+
};
|
|
806
|
+
content: {
|
|
807
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
403: {
|
|
811
|
+
headers: {
|
|
812
|
+
[name: string]: unknown;
|
|
813
|
+
};
|
|
814
|
+
content: {
|
|
815
|
+
"application/json": components["schemas"]["AllErrors"];
|
|
816
|
+
};
|
|
817
|
+
};
|
|
808
818
|
404: {
|
|
809
819
|
headers: {
|
|
810
820
|
[name: string]: unknown;
|
|
@@ -866,10 +876,7 @@ export interface operations {
|
|
|
866
876
|
/** @description A comma separated list of codes from GREP API the resources should be filtered by. */
|
|
867
877
|
"grep-codes"?: string[];
|
|
868
878
|
};
|
|
869
|
-
header?:
|
|
870
|
-
/** @description Header containing FEIDE access token. */
|
|
871
|
-
FeideAuthorization?: string;
|
|
872
|
-
};
|
|
879
|
+
header?: never;
|
|
873
880
|
path?: never;
|
|
874
881
|
cookie?: never;
|
|
875
882
|
};
|
|
@@ -912,10 +919,7 @@ export interface operations {
|
|
|
912
919
|
"postArticle-apiV2ArticlesSearch": {
|
|
913
920
|
parameters: {
|
|
914
921
|
query?: never;
|
|
915
|
-
header?:
|
|
916
|
-
/** @description Header containing FEIDE access token. */
|
|
917
|
-
FeideAuthorization?: string;
|
|
918
|
-
};
|
|
922
|
+
header?: never;
|
|
919
923
|
path?: never;
|
|
920
924
|
cookie?: never;
|
|
921
925
|
};
|
|
@@ -1038,10 +1038,7 @@ export interface operations {
|
|
|
1038
1038
|
/** @description Choose if sub-folders should be included in the response */
|
|
1039
1039
|
"include-subfolders"?: boolean;
|
|
1040
1040
|
};
|
|
1041
|
-
header?:
|
|
1042
|
-
/** @description Header containing FEIDE access token. */
|
|
1043
|
-
FeideAuthorization?: string;
|
|
1044
|
-
};
|
|
1041
|
+
header?: never;
|
|
1045
1042
|
path?: never;
|
|
1046
1043
|
cookie?: never;
|
|
1047
1044
|
};
|
|
@@ -1100,10 +1097,7 @@ export interface operations {
|
|
|
1100
1097
|
"postMyndla-apiV1Folders": {
|
|
1101
1098
|
parameters: {
|
|
1102
1099
|
query?: never;
|
|
1103
|
-
header?:
|
|
1104
|
-
/** @description Header containing FEIDE access token. */
|
|
1105
|
-
FeideAuthorization?: string;
|
|
1106
|
-
};
|
|
1100
|
+
header?: never;
|
|
1107
1101
|
path?: never;
|
|
1108
1102
|
cookie?: never;
|
|
1109
1103
|
};
|
|
@@ -1169,10 +1163,7 @@ export interface operations {
|
|
|
1169
1163
|
/** @description Limit the number of results to this many elements */
|
|
1170
1164
|
size?: number;
|
|
1171
1165
|
};
|
|
1172
|
-
header?:
|
|
1173
|
-
/** @description Header containing FEIDE access token. */
|
|
1174
|
-
FeideAuthorization?: string;
|
|
1175
|
-
};
|
|
1166
|
+
header?: never;
|
|
1176
1167
|
path?: never;
|
|
1177
1168
|
cookie?: never;
|
|
1178
1169
|
};
|
|
@@ -1300,10 +1291,7 @@ export interface operations {
|
|
|
1300
1291
|
/** @description Choose if sub-folders should be included in the response */
|
|
1301
1292
|
"include-subfolders"?: boolean;
|
|
1302
1293
|
};
|
|
1303
|
-
header?:
|
|
1304
|
-
/** @description Header containing FEIDE access token. */
|
|
1305
|
-
FeideAuthorization?: string;
|
|
1306
|
-
};
|
|
1294
|
+
header?: never;
|
|
1307
1295
|
path: {
|
|
1308
1296
|
/** @description The UUID of the folder */
|
|
1309
1297
|
"folder-id": string;
|
|
@@ -1365,10 +1353,7 @@ export interface operations {
|
|
|
1365
1353
|
"deleteMyndla-apiV1FoldersFolder-id": {
|
|
1366
1354
|
parameters: {
|
|
1367
1355
|
query?: never;
|
|
1368
|
-
header?:
|
|
1369
|
-
/** @description Header containing FEIDE access token. */
|
|
1370
|
-
FeideAuthorization?: string;
|
|
1371
|
-
};
|
|
1356
|
+
header?: never;
|
|
1372
1357
|
path: {
|
|
1373
1358
|
/** @description The UUID of the folder */
|
|
1374
1359
|
"folder-id": string;
|
|
@@ -1428,10 +1413,7 @@ export interface operations {
|
|
|
1428
1413
|
"patchMyndla-apiV1FoldersFolder-id": {
|
|
1429
1414
|
parameters: {
|
|
1430
1415
|
query?: never;
|
|
1431
|
-
header?:
|
|
1432
|
-
/** @description Header containing FEIDE access token. */
|
|
1433
|
-
FeideAuthorization?: string;
|
|
1434
|
-
};
|
|
1416
|
+
header?: never;
|
|
1435
1417
|
path: {
|
|
1436
1418
|
/** @description The UUID of the folder */
|
|
1437
1419
|
"folder-id": string;
|
|
@@ -1500,10 +1482,7 @@ export interface operations {
|
|
|
1500
1482
|
/** @description The path of the resource to check */
|
|
1501
1483
|
path: string;
|
|
1502
1484
|
};
|
|
1503
|
-
header?:
|
|
1504
|
-
/** @description Header containing FEIDE access token. */
|
|
1505
|
-
FeideAuthorization?: string;
|
|
1506
|
-
};
|
|
1485
|
+
header?: never;
|
|
1507
1486
|
path?: never;
|
|
1508
1487
|
cookie?: never;
|
|
1509
1488
|
};
|
|
@@ -1570,10 +1549,7 @@ export interface operations {
|
|
|
1570
1549
|
"postMyndla-apiV1FoldersFolder-idResources": {
|
|
1571
1550
|
parameters: {
|
|
1572
1551
|
query?: never;
|
|
1573
|
-
header?:
|
|
1574
|
-
/** @description Header containing FEIDE access token. */
|
|
1575
|
-
FeideAuthorization?: string;
|
|
1576
|
-
};
|
|
1552
|
+
header?: never;
|
|
1577
1553
|
path: {
|
|
1578
1554
|
/** @description The UUID of the folder */
|
|
1579
1555
|
"folder-id": string;
|
|
@@ -1639,10 +1615,7 @@ export interface operations {
|
|
|
1639
1615
|
"patchMyndla-apiV1FoldersResourcesResource-id": {
|
|
1640
1616
|
parameters: {
|
|
1641
1617
|
query?: never;
|
|
1642
|
-
header?:
|
|
1643
|
-
/** @description Header containing FEIDE access token. */
|
|
1644
|
-
FeideAuthorization?: string;
|
|
1645
|
-
};
|
|
1618
|
+
header?: never;
|
|
1646
1619
|
path: {
|
|
1647
1620
|
/** @description The UUID of the resource */
|
|
1648
1621
|
"resource-id": string;
|
|
@@ -1708,10 +1681,7 @@ export interface operations {
|
|
|
1708
1681
|
"deleteMyndla-apiV1FoldersFolder-idResourcesResource-id": {
|
|
1709
1682
|
parameters: {
|
|
1710
1683
|
query?: never;
|
|
1711
|
-
header?:
|
|
1712
|
-
/** @description Header containing FEIDE access token. */
|
|
1713
|
-
FeideAuthorization?: string;
|
|
1714
|
-
};
|
|
1684
|
+
header?: never;
|
|
1715
1685
|
path: {
|
|
1716
1686
|
/** @description The UUID of the folder */
|
|
1717
1687
|
"folder-id": string;
|
|
@@ -1854,10 +1824,7 @@ export interface operations {
|
|
|
1854
1824
|
/** @description Status of the folder */
|
|
1855
1825
|
"folder-status": components["schemas"]["FolderStatus"];
|
|
1856
1826
|
};
|
|
1857
|
-
header?:
|
|
1858
|
-
/** @description Header containing FEIDE access token. */
|
|
1859
|
-
FeideAuthorization?: string;
|
|
1860
|
-
};
|
|
1827
|
+
header?: never;
|
|
1861
1828
|
path: {
|
|
1862
1829
|
/** @description The UUID of the folder */
|
|
1863
1830
|
"folder-id": string;
|
|
@@ -1930,10 +1897,7 @@ export interface operations {
|
|
|
1930
1897
|
/** @description Destination UUID of the folder. If None it will be cloned as a root folder. */
|
|
1931
1898
|
"destination-folder-id"?: string;
|
|
1932
1899
|
};
|
|
1933
|
-
header?:
|
|
1934
|
-
/** @description Header containing FEIDE access token. */
|
|
1935
|
-
FeideAuthorization?: string;
|
|
1936
|
-
};
|
|
1900
|
+
header?: never;
|
|
1937
1901
|
path: {
|
|
1938
1902
|
/** @description Source UUID of the folder. */
|
|
1939
1903
|
"source-folder-id": string;
|
|
@@ -2003,10 +1967,7 @@ export interface operations {
|
|
|
2003
1967
|
"putMyndla-apiV1FoldersSort-resourcesFolder-id": {
|
|
2004
1968
|
parameters: {
|
|
2005
1969
|
query?: never;
|
|
2006
|
-
header?:
|
|
2007
|
-
/** @description Header containing FEIDE access token. */
|
|
2008
|
-
FeideAuthorization?: string;
|
|
2009
|
-
};
|
|
1970
|
+
header?: never;
|
|
2010
1971
|
path: {
|
|
2011
1972
|
/** @description The UUID of the folder */
|
|
2012
1973
|
"folder-id": string;
|
|
@@ -2081,10 +2042,7 @@ export interface operations {
|
|
|
2081
2042
|
/** @description The UUID of the folder */
|
|
2082
2043
|
"folder-id"?: string;
|
|
2083
2044
|
};
|
|
2084
|
-
header?:
|
|
2085
|
-
/** @description Header containing FEIDE access token. */
|
|
2086
|
-
FeideAuthorization?: string;
|
|
2087
|
-
};
|
|
2045
|
+
header?: never;
|
|
2088
2046
|
path?: never;
|
|
2089
2047
|
cookie?: never;
|
|
2090
2048
|
};
|
|
@@ -2153,10 +2111,7 @@ export interface operations {
|
|
|
2153
2111
|
"putMyndla-apiV1FoldersSort-saved": {
|
|
2154
2112
|
parameters: {
|
|
2155
2113
|
query?: never;
|
|
2156
|
-
header?:
|
|
2157
|
-
/** @description Header containing FEIDE access token. */
|
|
2158
|
-
FeideAuthorization?: string;
|
|
2159
|
-
};
|
|
2114
|
+
header?: never;
|
|
2160
2115
|
path?: never;
|
|
2161
2116
|
cookie?: never;
|
|
2162
2117
|
};
|
|
@@ -2225,10 +2180,7 @@ export interface operations {
|
|
|
2225
2180
|
"postMyndla-apiV1FoldersSharedFolder-idSave": {
|
|
2226
2181
|
parameters: {
|
|
2227
2182
|
query?: never;
|
|
2228
|
-
header?:
|
|
2229
|
-
/** @description Header containing FEIDE access token. */
|
|
2230
|
-
FeideAuthorization?: string;
|
|
2231
|
-
};
|
|
2183
|
+
header?: never;
|
|
2232
2184
|
path: {
|
|
2233
2185
|
/** @description The UUID of the folder */
|
|
2234
2186
|
"folder-id": string;
|
|
@@ -2296,10 +2248,7 @@ export interface operations {
|
|
|
2296
2248
|
"deleteMyndla-apiV1FoldersSharedFolder-idSave": {
|
|
2297
2249
|
parameters: {
|
|
2298
2250
|
query?: never;
|
|
2299
|
-
header?:
|
|
2300
|
-
/** @description Header containing FEIDE access token. */
|
|
2301
|
-
FeideAuthorization?: string;
|
|
2302
|
-
};
|
|
2251
|
+
header?: never;
|
|
2303
2252
|
path: {
|
|
2304
2253
|
/** @description The UUID of the folder */
|
|
2305
2254
|
"folder-id": string;
|
|
@@ -2367,10 +2316,7 @@ export interface operations {
|
|
|
2367
2316
|
"getMyndla-apiV1Robots": {
|
|
2368
2317
|
parameters: {
|
|
2369
2318
|
query?: never;
|
|
2370
|
-
header?:
|
|
2371
|
-
/** @description Header containing FEIDE access token. */
|
|
2372
|
-
FeideAuthorization?: string;
|
|
2373
|
-
};
|
|
2319
|
+
header?: never;
|
|
2374
2320
|
path?: never;
|
|
2375
2321
|
cookie?: never;
|
|
2376
2322
|
};
|
|
@@ -2429,10 +2375,7 @@ export interface operations {
|
|
|
2429
2375
|
"postMyndla-apiV1Robots": {
|
|
2430
2376
|
parameters: {
|
|
2431
2377
|
query?: never;
|
|
2432
|
-
header?:
|
|
2433
|
-
/** @description Header containing FEIDE access token. */
|
|
2434
|
-
FeideAuthorization?: string;
|
|
2435
|
-
};
|
|
2378
|
+
header?: never;
|
|
2436
2379
|
path?: never;
|
|
2437
2380
|
cookie?: never;
|
|
2438
2381
|
};
|
|
@@ -2495,10 +2438,7 @@ export interface operations {
|
|
|
2495
2438
|
"getMyndla-apiV1RobotsRobot-id": {
|
|
2496
2439
|
parameters: {
|
|
2497
2440
|
query?: never;
|
|
2498
|
-
header?:
|
|
2499
|
-
/** @description Header containing FEIDE access token. */
|
|
2500
|
-
FeideAuthorization?: string;
|
|
2501
|
-
};
|
|
2441
|
+
header?: never;
|
|
2502
2442
|
path: {
|
|
2503
2443
|
"robot-id": string;
|
|
2504
2444
|
};
|
|
@@ -2559,10 +2499,7 @@ export interface operations {
|
|
|
2559
2499
|
"putMyndla-apiV1RobotsRobot-id": {
|
|
2560
2500
|
parameters: {
|
|
2561
2501
|
query?: never;
|
|
2562
|
-
header?:
|
|
2563
|
-
/** @description Header containing FEIDE access token. */
|
|
2564
|
-
FeideAuthorization?: string;
|
|
2565
|
-
};
|
|
2502
|
+
header?: never;
|
|
2566
2503
|
path: {
|
|
2567
2504
|
"robot-id": string;
|
|
2568
2505
|
};
|
|
@@ -2627,10 +2564,7 @@ export interface operations {
|
|
|
2627
2564
|
"deleteMyndla-apiV1RobotsRobot-id": {
|
|
2628
2565
|
parameters: {
|
|
2629
2566
|
query?: never;
|
|
2630
|
-
header?:
|
|
2631
|
-
/** @description Header containing FEIDE access token. */
|
|
2632
|
-
FeideAuthorization?: string;
|
|
2633
|
-
};
|
|
2567
|
+
header?: never;
|
|
2634
2568
|
path: {
|
|
2635
2569
|
"robot-id": string;
|
|
2636
2570
|
};
|
|
@@ -2689,10 +2623,7 @@ export interface operations {
|
|
|
2689
2623
|
"putMyndla-apiV1RobotsRobot-idRobot-status": {
|
|
2690
2624
|
parameters: {
|
|
2691
2625
|
query?: never;
|
|
2692
|
-
header?:
|
|
2693
|
-
/** @description Header containing FEIDE access token. */
|
|
2694
|
-
FeideAuthorization?: string;
|
|
2695
|
-
};
|
|
2626
|
+
header?: never;
|
|
2696
2627
|
path: {
|
|
2697
2628
|
"robot-id": string;
|
|
2698
2629
|
"robot-status": components["schemas"]["RobotStatus"];
|
|
@@ -2754,10 +2685,7 @@ export interface operations {
|
|
|
2754
2685
|
"getMyndla-apiV1Users": {
|
|
2755
2686
|
parameters: {
|
|
2756
2687
|
query?: never;
|
|
2757
|
-
header?:
|
|
2758
|
-
/** @description Header containing FEIDE access token. */
|
|
2759
|
-
FeideAuthorization?: string;
|
|
2760
|
-
};
|
|
2688
|
+
header?: never;
|
|
2761
2689
|
path?: never;
|
|
2762
2690
|
cookie?: never;
|
|
2763
2691
|
};
|
|
@@ -2816,10 +2744,7 @@ export interface operations {
|
|
|
2816
2744
|
"patchMyndla-apiV1Users": {
|
|
2817
2745
|
parameters: {
|
|
2818
2746
|
query?: never;
|
|
2819
|
-
header?:
|
|
2820
|
-
/** @description Header containing FEIDE access token. */
|
|
2821
|
-
FeideAuthorization?: string;
|
|
2822
|
-
};
|
|
2747
|
+
header?: never;
|
|
2823
2748
|
path?: never;
|
|
2824
2749
|
cookie?: never;
|
|
2825
2750
|
};
|
|
@@ -2882,10 +2807,7 @@ export interface operations {
|
|
|
2882
2807
|
"deleteMyndla-apiV1UsersDelete-personal-data": {
|
|
2883
2808
|
parameters: {
|
|
2884
2809
|
query?: never;
|
|
2885
|
-
header?:
|
|
2886
|
-
/** @description Header containing FEIDE access token. */
|
|
2887
|
-
FeideAuthorization?: string;
|
|
2888
|
-
};
|
|
2810
|
+
header?: never;
|
|
2889
2811
|
path?: never;
|
|
2890
2812
|
cookie?: never;
|
|
2891
2813
|
};
|
|
@@ -2942,10 +2864,7 @@ export interface operations {
|
|
|
2942
2864
|
"getMyndla-apiV1UsersExport": {
|
|
2943
2865
|
parameters: {
|
|
2944
2866
|
query?: never;
|
|
2945
|
-
header?:
|
|
2946
|
-
/** @description Header containing FEIDE access token. */
|
|
2947
|
-
FeideAuthorization?: string;
|
|
2948
|
-
};
|
|
2867
|
+
header?: never;
|
|
2949
2868
|
path?: never;
|
|
2950
2869
|
cookie?: never;
|
|
2951
2870
|
};
|
|
@@ -3004,10 +2923,7 @@ export interface operations {
|
|
|
3004
2923
|
"postMyndla-apiV1UsersImport": {
|
|
3005
2924
|
parameters: {
|
|
3006
2925
|
query?: never;
|
|
3007
|
-
header?:
|
|
3008
|
-
/** @description Header containing FEIDE access token. */
|
|
3009
|
-
FeideAuthorization?: string;
|
|
3010
|
-
};
|
|
2926
|
+
header?: never;
|
|
3011
2927
|
path?: never;
|
|
3012
2928
|
cookie?: never;
|
|
3013
2929
|
};
|
|
@@ -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;
|
|
@@ -1060,10 +1098,7 @@ export interface operations {
|
|
|
1060
1098
|
/** @description Whether to include group without resource-types for group-search. Defaults to false. */
|
|
1061
1099
|
"missing-group"?: boolean;
|
|
1062
1100
|
};
|
|
1063
|
-
header?:
|
|
1064
|
-
/** @description Header containing FEIDE access token. */
|
|
1065
|
-
FeideAuthorization?: string;
|
|
1066
|
-
};
|
|
1101
|
+
header?: never;
|
|
1067
1102
|
path?: never;
|
|
1068
1103
|
cookie?: never;
|
|
1069
1104
|
};
|
|
@@ -1147,10 +1182,7 @@ export interface operations {
|
|
|
1147
1182
|
"node-types"?: string[];
|
|
1148
1183
|
tags?: string[];
|
|
1149
1184
|
};
|
|
1150
|
-
header?:
|
|
1151
|
-
/** @description Header containing FEIDE access token. */
|
|
1152
|
-
FeideAuthorization?: string;
|
|
1153
|
-
};
|
|
1185
|
+
header?: never;
|
|
1154
1186
|
path?: never;
|
|
1155
1187
|
cookie?: never;
|
|
1156
1188
|
};
|
|
@@ -1209,10 +1241,7 @@ export interface operations {
|
|
|
1209
1241
|
"postSearch-apiV1Search": {
|
|
1210
1242
|
parameters: {
|
|
1211
1243
|
query?: never;
|
|
1212
|
-
header?:
|
|
1213
|
-
/** @description Header containing FEIDE access token. */
|
|
1214
|
-
FeideAuthorization?: string;
|
|
1215
|
-
};
|
|
1244
|
+
header?: never;
|
|
1216
1245
|
path?: never;
|
|
1217
1246
|
cookie?: never;
|
|
1218
1247
|
};
|
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"];
|