Interface: RegisterSourceResponse
@kortexya/reasoninglayer / Sources / RegisterSourceResponse
Interface: RegisterSourceResponse
Defined in: src/types/sources.ts:179
Response from source registration.
Properties
message
message:
string
Defined in: src/types/sources.ts:205
Status message.
mode
mode:
string
Defined in: src/types/sources.ts:194
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
sourceId:
string
Defined in: src/types/sources.ts:183
The registered source ID.
sourceType
sourceType:
string
Defined in: src/types/sources.ts:185
Source type.
success
success:
boolean
Defined in: src/types/sources.ts:181
Whether registration was successful.
supportedModes
supportedModes:
string[]
Defined in: src/types/sources.ts:203
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).