Skip to content

shared/helpers/message-operations

This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.

  • Package: @leipzigtreechat/shared
  • Source file: packages/shared/src/helpers/message-operations.ts

Gets the endpoint attribute from the message

function getEndpoint(message: QanaryComponentApi.IQanaryMessage): string | undefined

Gets the endpoint attribute from the message

Parameters

  • message (QanaryComponentApi.IQanaryMessage): the message received from the qanary pipeline Returns
  • string | undefined: the endpoint attribute Defined at: line 8
function getInGraph(message: QanaryComponentApi.IQanaryMessage): string | undefined

Gets the inGraph attribute from the message

Parameters

  • message (QanaryComponentApi.IQanaryMessage): the message received from the qanary pipeline Returns
  • string | undefined: the inGraph attribute Defined at: line 17
function getOutGraph(message: QanaryComponentApi.IQanaryMessage): string | undefined

Gets the outGraph attribute from the message

Parameters

  • message (QanaryComponentApi.IQanaryMessage): the message received from the qanary pipeline Returns
  • string | undefined: the outGraph attribute Defined at: line 26