@ndla/types-taxonomy 1.0.31 → 1.0.33
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/taxonomy-api.d.ts +3 -2
- package/package.json +1 -1
- package/taxonomy-api.ts +3 -2
package/build/taxonomy-api.d.ts
CHANGED
|
@@ -308,6 +308,7 @@ export interface ResolvedUrl {
|
|
|
308
308
|
name: string;
|
|
309
309
|
parents: string[];
|
|
310
310
|
path: string;
|
|
311
|
+
url: string;
|
|
311
312
|
}
|
|
312
313
|
export interface ResourcePostPut {
|
|
313
314
|
/**
|
|
@@ -407,7 +408,7 @@ export interface SubjectPostPut {
|
|
|
407
408
|
*/
|
|
408
409
|
contentUri?: string;
|
|
409
410
|
/**
|
|
410
|
-
* If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If
|
|
411
|
+
* If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If omitted, an id will be assigned automatically.
|
|
411
412
|
*/
|
|
412
413
|
id?: string;
|
|
413
414
|
/**
|
|
@@ -764,7 +765,7 @@ export interface Version {
|
|
|
764
765
|
}
|
|
765
766
|
export interface VersionPostPut {
|
|
766
767
|
/**
|
|
767
|
-
* If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If
|
|
768
|
+
* If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If omitted, an id will be assigned automatically.
|
|
768
769
|
*/
|
|
769
770
|
id?: string;
|
|
770
771
|
/**
|
package/package.json
CHANGED
package/taxonomy-api.ts
CHANGED
|
@@ -328,6 +328,7 @@ export interface ResolvedUrl {
|
|
|
328
328
|
name: string;
|
|
329
329
|
parents: string[];
|
|
330
330
|
path: string;
|
|
331
|
+
url: string;
|
|
331
332
|
}
|
|
332
333
|
|
|
333
334
|
export interface ResourcePostPut {
|
|
@@ -436,7 +437,7 @@ export interface SubjectPostPut {
|
|
|
436
437
|
*/
|
|
437
438
|
contentUri?: string;
|
|
438
439
|
/**
|
|
439
|
-
* If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If
|
|
440
|
+
* If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If omitted, an id will be assigned automatically.
|
|
440
441
|
*/
|
|
441
442
|
id?: string;
|
|
442
443
|
/**
|
|
@@ -810,7 +811,7 @@ export interface Version {
|
|
|
810
811
|
|
|
811
812
|
export interface VersionPostPut {
|
|
812
813
|
/**
|
|
813
|
-
* If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If
|
|
814
|
+
* If specified, set the id to this value. Must start with urn:subject: and be a valid URI. If omitted, an id will be assigned automatically.
|
|
814
815
|
*/
|
|
815
816
|
id?: string;
|
|
816
817
|
/**
|