Interface: DiscoverableTypeDto
@kortexya/reasoninglayer / DiscoverableTypeDto
Interface: DiscoverableTypeDto
Section titled “Interface: DiscoverableTypeDto”Defined in: src/types/sources.ts:493
One discoverable type of a source, as reported by the cheap name-only listing.
Remarks
Section titled “Remarks”Returned inside ListTablesResponse. Wire format is snake_case
(estimated_rows).
Properties
Section titled “Properties”columnCount?
Section titled “columnCount?”
optionalcolumnCount?:number|null
Defined in: src/types/sources.ts:514
How many fields/columns the type declares.
Remarks
Section titled “Remarks”Absent when the adapter cannot say without a per-type round-trip. Never
0 to mean “unknown” — 0 means the type declares no columns.
The twin of estimatedRows, and added for the same reason: both counts used to be readable only by parsing the free-text comment (“Data from CSV file ‘…’ with 11 rows and 6 columns”), and mapping one without the other leaves a consumer parsing that sentence for the other half.
comment?
Section titled “comment?”
optionalcomment?:string|null
Defined in: src/types/sources.ts:495
The type’s own description, when the source records one.
estimatedRows?
Section titled “estimatedRows?”
optionalestimatedRows?:number|null
Defined in: src/types/sources.ts:500
Planner-grade row estimate. Never exact — it is what the catalog already
knows, never a COUNT(*).
name:
string
Defined in: src/types/sources.ts:516
Name of the type as the source knows it (table name, label, collection).