Skip to content

Interface: RegisterSourceResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RegisterSourceResponse

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

Response from source registration.

message: string

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

Status message.


mode: string

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

The resolved write-path mode: "transpile" or "ingest" (see SourceWriteMode).

Always echoed, including when the caller omitted mode and the default applied — otherwise the default is invisible and a later 409 on ingest reads as arbitrary. Typed as string for the reason given on SourceSummaryDto.mode.


sourceId: string

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

The registered source ID.


sourceType: string

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

Source type.


success: boolean

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

Whether registration was successful.


supportedModes: string[]

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

The write-path modes this source’s adapter can serve (#71) — the same set SourcesClient.getSource | getSource reports. Always contains 'ingest'; contains 'transpile' only when the adapter executes transpiled SQL. Echoed at registration so a client learns, at the moment the choice is made, whether transpile was even on the table (a mode change requires DELETE + re-register).