Skip to content

Interface: CollectionDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Collections / CollectionDto

Interface: CollectionDto

Defined in: src/types/collections.ts:32

A collection in the collection hierarchy.

Remarks

Collection response structure. Provides the common fields returned by collection CRUD endpoints.

Properties

depth

depth: number

Defined in: src/types/collections.ts:34

Depth in the hierarchy (0 for root).


description?

optional description: string | null

Defined in: src/types/collections.ts:36

Optional description.


id

id: string

Defined in: src/types/collections.ts:38

Collection ID (UUID).


name?

optional name: string | null

Defined in: src/types/collections.ts:40

Name (last segment of path, or null for root).


namespaceId

namespaceId: string

Defined in: src/types/collections.ts:42

Namespace this collection belongs to (UUID).


path

path: string

Defined in: src/types/collections.ts:44

Full path (e.g., “/documents/reports/2024”).


tags

tags: string[]

Defined in: src/types/collections.ts:46

Tags for categorization.