Skip to content

Interface: ListTablesResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Sources / ListTablesResponse

Interface: ListTablesResponse

Defined in: src/types/sources.ts:321

Response from the cheap, name-only type listing of a source.

Remarks

Returned by GET /api/v1/sources/{source_id}/tables. Never capped: schema discovery refuses a source with more candidate types than OSFKB_MAX_DISCOVERED_SORTS allows, so this listing is the un-capped payload a client narrows from — list the names, let the user pick, and hand the picked subset back as the typeFilter of a DiscoverSchemaRequest. Wire format is snake_case (source_id).

Properties

sourceId

sourceId: string

Defined in: src/types/sources.ts:323

Source identifier.


tables

tables: DiscoverableTypeDto[]

Defined in: src/types/sources.ts:325

Every discoverable type of the source, in catalog order.


total

total: number

Defined in: src/types/sources.ts:330

Number of types listed. Redundant with tables.length, and stated because this list is complete by construction — it is never truncated.