@ndla/types-taxonomy 1.0.1 → 1.0.2

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.
@@ -520,11 +520,7 @@ export interface Connection {
520
520
  targetId: string;
521
521
  paths: string[];
522
522
  type: string;
523
- /**
524
- * True if owned by this topic, false if it has its primary connection elsewhere
525
- */
526
523
  isPrimary: boolean;
527
- primary: boolean;
528
524
  }
529
525
  export interface Metadata {
530
526
  grepCodes: string[];
@@ -536,7 +532,7 @@ export interface NodeChild extends Node {
536
532
  connectionId: string;
537
533
  rank: number;
538
534
  parent: string;
539
- primary: boolean;
535
+ isPrimary: boolean;
540
536
  }
541
537
  export interface Node {
542
538
  id: string;
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "devDependencies": {
18
18
  "typescript": "^5.0.2"
19
19
  },
20
- "version": "1.0.1"
20
+ "version": "1.0.2"
21
21
  }
package/taxonomy-api.ts CHANGED
@@ -549,11 +549,7 @@ export interface Connection {
549
549
  targetId: string;
550
550
  paths: string[];
551
551
  type: string;
552
- /**
553
- * True if owned by this topic, false if it has its primary connection elsewhere
554
- */
555
552
  isPrimary: boolean;
556
- primary: boolean;
557
553
  }
558
554
 
559
555
  export interface Metadata {
@@ -567,7 +563,7 @@ export interface NodeChild extends Node {
567
563
  connectionId: string;
568
564
  rank: number;
569
565
  parent: string;
570
- primary: boolean;
566
+ isPrimary: boolean;
571
567
  }
572
568
 
573
569
  export interface Node {