@ndla/types-taxonomy 1.0.22 → 1.0.24
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 +1 -21
- package/package.json +1 -1
- package/taxonomy-api.ts +1 -21
package/build/taxonomy-api.d.ts
CHANGED
|
@@ -344,7 +344,7 @@ export interface ResourceType {
|
|
|
344
344
|
/**
|
|
345
345
|
* Sub resource types
|
|
346
346
|
*/
|
|
347
|
-
subtypes
|
|
347
|
+
subtypes?: ResourceType[];
|
|
348
348
|
/**
|
|
349
349
|
* List of language codes supported by translations
|
|
350
350
|
*/
|
|
@@ -482,10 +482,6 @@ export interface TaxonomyContext {
|
|
|
482
482
|
* Whether a 'standard'-article, 'topic-article'-article or a 'learningpath'
|
|
483
483
|
*/
|
|
484
484
|
contextType?: string;
|
|
485
|
-
/**
|
|
486
|
-
* @deprecated
|
|
487
|
-
*/
|
|
488
|
-
id?: string;
|
|
489
485
|
/**
|
|
490
486
|
* Whether the parent connection is marked as active
|
|
491
487
|
*/
|
|
@@ -494,10 +490,6 @@ export interface TaxonomyContext {
|
|
|
494
490
|
* Whether the parent connection is primary or not
|
|
495
491
|
*/
|
|
496
492
|
isPrimary: boolean;
|
|
497
|
-
/**
|
|
498
|
-
* @deprecated
|
|
499
|
-
*/
|
|
500
|
-
isPrimaryConnection?: boolean;
|
|
501
493
|
/**
|
|
502
494
|
* Whether the parent connection is visible or not
|
|
503
495
|
*/
|
|
@@ -506,10 +498,6 @@ export interface TaxonomyContext {
|
|
|
506
498
|
* List of all parent ids
|
|
507
499
|
*/
|
|
508
500
|
parentIds: string[];
|
|
509
|
-
/**
|
|
510
|
-
* @deprecated
|
|
511
|
-
*/
|
|
512
|
-
parentTopicIds?: string[];
|
|
513
501
|
/**
|
|
514
502
|
* The context path
|
|
515
503
|
*/
|
|
@@ -542,14 +530,6 @@ export interface TaxonomyContext {
|
|
|
542
530
|
* The publicId of the root parent of the context
|
|
543
531
|
*/
|
|
544
532
|
rootId: string;
|
|
545
|
-
/**
|
|
546
|
-
* @deprecated
|
|
547
|
-
*/
|
|
548
|
-
subject?: Record<string, string>;
|
|
549
|
-
/**
|
|
550
|
-
* @deprecated
|
|
551
|
-
*/
|
|
552
|
-
subjectId?: string;
|
|
553
533
|
/**
|
|
554
534
|
* Pretty-url of this particular context
|
|
555
535
|
*/
|
package/package.json
CHANGED
package/taxonomy-api.ts
CHANGED
|
@@ -367,7 +367,7 @@ export interface ResourceType {
|
|
|
367
367
|
/**
|
|
368
368
|
* Sub resource types
|
|
369
369
|
*/
|
|
370
|
-
subtypes
|
|
370
|
+
subtypes?: ResourceType[];
|
|
371
371
|
/**
|
|
372
372
|
* List of language codes supported by translations
|
|
373
373
|
*/
|
|
@@ -514,10 +514,6 @@ export interface TaxonomyContext {
|
|
|
514
514
|
* Whether a 'standard'-article, 'topic-article'-article or a 'learningpath'
|
|
515
515
|
*/
|
|
516
516
|
contextType?: string;
|
|
517
|
-
/**
|
|
518
|
-
* @deprecated
|
|
519
|
-
*/
|
|
520
|
-
id?: string;
|
|
521
517
|
/**
|
|
522
518
|
* Whether the parent connection is marked as active
|
|
523
519
|
*/
|
|
@@ -526,10 +522,6 @@ export interface TaxonomyContext {
|
|
|
526
522
|
* Whether the parent connection is primary or not
|
|
527
523
|
*/
|
|
528
524
|
isPrimary: boolean;
|
|
529
|
-
/**
|
|
530
|
-
* @deprecated
|
|
531
|
-
*/
|
|
532
|
-
isPrimaryConnection?: boolean;
|
|
533
525
|
/**
|
|
534
526
|
* Whether the parent connection is visible or not
|
|
535
527
|
*/
|
|
@@ -538,10 +530,6 @@ export interface TaxonomyContext {
|
|
|
538
530
|
* List of all parent ids
|
|
539
531
|
*/
|
|
540
532
|
parentIds: string[];
|
|
541
|
-
/**
|
|
542
|
-
* @deprecated
|
|
543
|
-
*/
|
|
544
|
-
parentTopicIds?: string[];
|
|
545
533
|
/**
|
|
546
534
|
* The context path
|
|
547
535
|
*/
|
|
@@ -574,14 +562,6 @@ export interface TaxonomyContext {
|
|
|
574
562
|
* The publicId of the root parent of the context
|
|
575
563
|
*/
|
|
576
564
|
rootId: string;
|
|
577
|
-
/**
|
|
578
|
-
* @deprecated
|
|
579
|
-
*/
|
|
580
|
-
subject?: Record<string, string>;
|
|
581
|
-
/**
|
|
582
|
-
* @deprecated
|
|
583
|
-
*/
|
|
584
|
-
subjectId?: string;
|
|
585
565
|
/**
|
|
586
566
|
* Pretty-url of this particular context
|
|
587
567
|
*/
|