Skip to content

@graphty/graphty-element / extend / LogSinkRegistration

Interface: LogSinkRegistration ​

Defined in: graphty-element/src/catalog/logSinkRegistry.ts:26

One log destination a third party registered: what a settings panel reads, and how to build it.

Properties ​

create ​

readonly create: (options) => Sink

Defined in: graphty-element/src/catalog/logSinkRegistry.ts:35

Builds the destination.

Called with the options resolved against the descriptor's declared defaults, so a factory reads plain data and never validates its own inputs.

Parameters ​

options ​

Readonly<Record<string, unknown>>

Returns ​

Sink


descriptor ​

readonly descriptor: LogSinkDescriptor

Defined in: graphty-element/src/catalog/logSinkRegistry.ts:28

What the catalogue publishes about it, including the options its factory accepts.