@ndla/types-taxonomy 1.0.52 → 1.0.54

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/package.json CHANGED
@@ -21,6 +21,6 @@
21
21
  "tsx": "^4.21.0",
22
22
  "typescript": "^5.9.3"
23
23
  },
24
- "version": "1.0.52",
24
+ "version": "1.0.54",
25
25
  "packageManager": "yarn@4.10.3"
26
26
  }
package/taxonomy-api.ts CHANGED
@@ -2240,6 +2240,10 @@ export type components = {
2240
2240
  contextids: string[];
2241
2241
  /** @description A list of all contexts this node is part of */
2242
2242
  contexts: components["schemas"]["TaxonomyContext"][];
2243
+ /** @description A pretty url based on the name and context in the default language. */
2244
+ defaultUrl?: string;
2245
+ /** @description Url safe name for the node in the default language. */
2246
+ defaultUrlName?: string;
2243
2247
  /** @description A number representing the average grade of all children nodes recursively. */
2244
2248
  gradeAverage?: components["schemas"]["GradeAverage"];
2245
2249
  /**
@@ -2298,6 +2302,8 @@ export type components = {
2298
2302
  translations: components["schemas"]["Translation"][];
2299
2303
  /** @description A pretty url based on name and context. Empty if no context. */
2300
2304
  url?: string;
2305
+ /** @description Url safe names for the node. */
2306
+ urlName?: string[];
2301
2307
  };
2302
2308
  NodeChild: {
2303
2309
  /**
@@ -2327,6 +2333,10 @@ export type components = {
2327
2333
  contextids: string[];
2328
2334
  /** @description A list of all contexts this node is part of */
2329
2335
  contexts: components["schemas"]["TaxonomyContext"][];
2336
+ /** @description A pretty url based on the name and context in the default language. */
2337
+ defaultUrl?: string;
2338
+ /** @description Url safe name for the node in the default language. */
2339
+ defaultUrlName?: string;
2330
2340
  /** @description A number representing the average grade of all children nodes recursively. */
2331
2341
  gradeAverage?: components["schemas"]["GradeAverage"];
2332
2342
  /**
@@ -2397,6 +2407,8 @@ export type components = {
2397
2407
  translations: components["schemas"]["Translation"][];
2398
2408
  /** @description A pretty url based on name and context. Empty if no context. */
2399
2409
  url?: string;
2410
+ /** @description Url safe names for the node. */
2411
+ urlName?: string[];
2400
2412
  };
2401
2413
  NodeConnection: {
2402
2414
  /**
@@ -2696,6 +2708,10 @@ export type components = {
2696
2708
  contextids?: string[];
2697
2709
  /** @description A list of all contexts this node is part of */
2698
2710
  contexts?: components["schemas"]["TaxonomyContext"][];
2711
+ /** @description A pretty url based on the name and context in the default language. */
2712
+ defaultUrl?: string;
2713
+ /** @description Url safe name for the node in the default language. */
2714
+ defaultUrlName?: string;
2699
2715
  /** @description A number representing the average grade of all children nodes recursively. */
2700
2716
  gradeAverage?: components["schemas"]["GradeAverage"];
2701
2717
  /**
@@ -2767,6 +2783,8 @@ export type components = {
2767
2783
  translations?: components["schemas"]["Translation"][];
2768
2784
  /** @description A pretty url based on name and context. Empty if no context. */
2769
2785
  url?: string;
2786
+ /** @description Url safe names for the node. */
2787
+ urlName?: string[];
2770
2788
  };
2771
2789
  QualityEvaluationDTO: {
2772
2790
  /** @description The grade (1-5) of the article */
@@ -3154,6 +3172,8 @@ export type components = {
3154
3172
  contextId: string;
3155
3173
  /** @description Whether a 'standard'-article, 'topic-article'-article or a 'learningpath' */
3156
3174
  contextType?: string;
3175
+ /** @description Pretty-url of this particular context in the default language */
3176
+ defaultUrl: string;
3157
3177
  /**
3158
3178
  * Format: uri
3159
3179
  * @description The publicId of the node connected via content-uri