@marianmeres/collection-types 1.3.0 → 1.4.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.
Files changed (2) hide show
  1. package/dist/model.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/model.d.ts CHANGED
@@ -52,6 +52,8 @@ export interface ModelDTOOut extends ModelDTOIn {
52
52
  collection_id: UUID;
53
53
  /** Model type within collection (default "default") */
54
54
  type: string;
55
+ /** Hierarchy depth (0 = root) */
56
+ depth: number;
55
57
  /** Auto-generated label from schema _label_source fields */
56
58
  _label?: MaybeLocalized<string> | null;
57
59
  /** Computed label for hierarchy display */
@@ -66,8 +68,6 @@ export interface ModelDTOOut extends ModelDTOIn {
66
68
  * Includes internal fields for search indexing and REST control.
67
69
  */
68
70
  export interface ModelDbRow extends ModelDTOOut {
69
- /** Hierarchy depth (0 = root) */
70
- depth: number;
71
71
  /** @internal Disables REST API access */
72
72
  __is_rest_disabled: boolean;
73
73
  /** @internal Structured search index data */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/collection-types",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "type": "module",
5
5
  "main": "dist/mod.js",
6
6
  "types": "dist/mod.d.ts",