Interface: RegisterSourceResponse
@kortexya/reasoninglayer / RegisterSourceResponse
Interface: RegisterSourceResponse
Section titled “Interface: RegisterSourceResponse”Defined in: src/types/sources.ts:325
Response from source registration.
Properties
Section titled “Properties”message
Section titled “message”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
Section titled “sourceId”sourceId:
string
Defined in: src/types/sources.ts:329
The registered source ID.
sourceType
Section titled “sourceType”sourceType:
string
Defined in: src/types/sources.ts:331
Source type.
success
Section titled “success”success:
boolean
Defined in: src/types/sources.ts:327
Whether registration was successful.
supportedModes
Section titled “supportedModes”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).