@marianmeres/collection-types 1.29.0 → 1.30.0

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.
@@ -20,6 +20,7 @@ export interface FolderDefinition {
20
20
  export interface TagDefinition {
21
21
  label?: string;
22
22
  color?: string;
23
+ [key: string]: unknown;
23
24
  }
24
25
  /**
25
26
  * Input DTO for creating/updating a collection.
@@ -47,8 +48,8 @@ export interface CollectionDTOIn {
47
48
  is_readonly?: boolean;
48
49
  /** Folder definitions */
49
50
  folders?: Record<string, FolderDefinition>;
50
- /** Tag definitions */
51
- tags?: Record<string, TagDefinition>;
51
+ /** Tag definitions per model type */
52
+ tags?: Record<string, Record<string, TagDefinition>>;
52
53
  }
53
54
  /**
54
55
  * Output DTO for collection responses.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/collection-types",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "type": "module",
5
5
  "main": "dist/mod.js",
6
6
  "types": "dist/mod.d.ts",