Interface: CollectionDto
@kortexya/reasoninglayer / CollectionDto
Interface: CollectionDto
Section titled “Interface: CollectionDto”Defined in: src/types/collections.ts:56
A collection in the collection hierarchy.
Remarks
Section titled “Remarks”Collection response structure. Provides the common fields returned by collection CRUD endpoints.
Properties
Section titled “Properties”depth:
number
Defined in: src/types/collections.ts:58
Depth in the hierarchy (0 for root).
description?
Section titled “description?”
optionaldescription?:string|null
Defined in: src/types/collections.ts:60
Optional description.
id:
string
Defined in: src/types/collections.ts:62
Collection ID (UUID).
optionalname?:string|null
Defined in: src/types/collections.ts:64
Name (last segment of path, or null for root).
namespaceId
Section titled “namespaceId”namespaceId:
string
Defined in: src/types/collections.ts:66
Namespace this collection belongs to (UUID).
path:
string
Defined in: src/types/collections.ts:68
Full path (e.g., “/documents/reports/2024”).
tags:
string[]
Defined in: src/types/collections.ts:70
Tags for categorization.