@ndla/types-taxonomy 1.0.23 → 1.0.25
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 +4 -20
- package/package.json +1 -1
- package/taxonomy-api.ts +4 -20
package/build/taxonomy-api.d.ts
CHANGED
|
@@ -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,22 +490,18 @@ 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
|
*/
|
|
504
496
|
isVisible: boolean;
|
|
505
497
|
/**
|
|
506
|
-
* List of all parent
|
|
498
|
+
* List of all parent contextIds
|
|
507
499
|
*/
|
|
508
|
-
|
|
500
|
+
parentContextIds: string[];
|
|
509
501
|
/**
|
|
510
|
-
*
|
|
502
|
+
* List of all parent ids
|
|
511
503
|
*/
|
|
512
|
-
|
|
504
|
+
parentIds: string[];
|
|
513
505
|
/**
|
|
514
506
|
* The context path
|
|
515
507
|
*/
|
|
@@ -542,14 +534,6 @@ export interface TaxonomyContext {
|
|
|
542
534
|
* The publicId of the root parent of the context
|
|
543
535
|
*/
|
|
544
536
|
rootId: string;
|
|
545
|
-
/**
|
|
546
|
-
* @deprecated
|
|
547
|
-
*/
|
|
548
|
-
subject?: Record<string, string>;
|
|
549
|
-
/**
|
|
550
|
-
* @deprecated
|
|
551
|
-
*/
|
|
552
|
-
subjectId?: string;
|
|
553
537
|
/**
|
|
554
538
|
* Pretty-url of this particular context
|
|
555
539
|
*/
|
package/package.json
CHANGED
package/taxonomy-api.ts
CHANGED
|
@@ -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,22 +522,18 @@ 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
|
*/
|
|
536
528
|
isVisible: boolean;
|
|
537
529
|
/**
|
|
538
|
-
* List of all parent
|
|
530
|
+
* List of all parent contextIds
|
|
539
531
|
*/
|
|
540
|
-
|
|
532
|
+
parentContextIds: string[];
|
|
541
533
|
/**
|
|
542
|
-
*
|
|
534
|
+
* List of all parent ids
|
|
543
535
|
*/
|
|
544
|
-
|
|
536
|
+
parentIds: string[];
|
|
545
537
|
/**
|
|
546
538
|
* The context path
|
|
547
539
|
*/
|
|
@@ -574,14 +566,6 @@ export interface TaxonomyContext {
|
|
|
574
566
|
* The publicId of the root parent of the context
|
|
575
567
|
*/
|
|
576
568
|
rootId: string;
|
|
577
|
-
/**
|
|
578
|
-
* @deprecated
|
|
579
|
-
*/
|
|
580
|
-
subject?: Record<string, string>;
|
|
581
|
-
/**
|
|
582
|
-
* @deprecated
|
|
583
|
-
*/
|
|
584
|
-
subjectId?: string;
|
|
585
569
|
/**
|
|
586
570
|
* Pretty-url of this particular context
|
|
587
571
|
*/
|