Skip to content

Interface: CollectionDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Collections / CollectionDto

Interface: CollectionDto

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

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:58

Depth in the hierarchy (0 for root).


description?

optional description: string | null

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

Optional description.


id

id: string

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

Collection ID (UUID).


name?

optional name: string | null

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

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


namespaceId

namespaceId: string

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

Namespace this collection belongs to (UUID).


path

path: string

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

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


tags

tags: string[]

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

Tags for categorization.