@ndla/types-taxonomy 1.0.8 → 1.0.10

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.
@@ -197,10 +197,6 @@ export interface NodeResourcePOST {
197
197
  relevanceId?: string;
198
198
  }
199
199
  export interface NodeResourcePUT {
200
- /**
201
- * Node resource connection id
202
- */
203
- id: string;
204
200
  /**
205
201
  * Primary connection
206
202
  */
@@ -574,8 +570,8 @@ export interface TaxonomyContext {
574
570
  contextId: string;
575
571
  id: string;
576
572
  subject: Record<string, string>;
577
- subjectId: string;
578
573
  parentTopicIds: string[];
574
+ subjectId: string;
579
575
  isPrimaryConnection: boolean;
580
576
  }
581
577
  export interface Connection {
package/package.json CHANGED
@@ -17,5 +17,5 @@
17
17
  "devDependencies": {
18
18
  "typescript": "^5.0.2"
19
19
  },
20
- "version": "1.0.8"
20
+ "version": "1.0.10"
21
21
  }
package/taxonomy-api.ts CHANGED
@@ -210,10 +210,6 @@ export interface NodeResourcePOST {
210
210
  }
211
211
 
212
212
  export interface NodeResourcePUT {
213
- /**
214
- * Node resource connection id
215
- */
216
- id: string;
217
213
  /**
218
214
  * Primary connection
219
215
  */
@@ -607,8 +603,8 @@ export interface TaxonomyContext {
607
603
  contextId: string;
608
604
  id: string;
609
605
  subject: Record<string, string>;
610
- subjectId: string;
611
606
  parentTopicIds: string[];
607
+ subjectId: string;
612
608
  isPrimaryConnection: boolean;
613
609
  }
614
610