mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-16 11:31:04 +02:00
chore: add docs url for integration nodes
This commit is contained in:
parent
c650ccc5dd
commit
a422241517
13 changed files with 95 additions and 13 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -401,7 +401,7 @@ export type AzureRealtimeLlmConfiguration = {
|
|||
/**
|
||||
* Api Version
|
||||
*
|
||||
* Azure OpenAI API version.
|
||||
* Azure OpenAI Realtime protocol version. Use 'v1' for the GA API; date-based versions select the deprecated preview endpoint.
|
||||
*/
|
||||
api_version?: string;
|
||||
};
|
||||
|
|
@ -3814,6 +3814,12 @@ export type NodeSpec = {
|
|||
* LLM-only guidance; omitted from the UI.
|
||||
*/
|
||||
llm_hint?: string | null;
|
||||
/**
|
||||
* Docs Url
|
||||
*
|
||||
* Documentation URL shown in the node editor.
|
||||
*/
|
||||
docs_url?: string | null;
|
||||
category: NodeCategory;
|
||||
/**
|
||||
* Icon
|
||||
|
|
@ -7479,6 +7485,38 @@ export type CompleteTransferFunctionCallApiV1TelephonyTransferResultTransferIdPo
|
|||
200: unknown;
|
||||
};
|
||||
|
||||
export type HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostData = {
|
||||
body?: never;
|
||||
path: {
|
||||
/**
|
||||
* Transfer Id
|
||||
*/
|
||||
transfer_id: string;
|
||||
};
|
||||
query?: never;
|
||||
url: '/api/v1/telephony/cloudonix/transfer-result/{transfer_id}';
|
||||
};
|
||||
|
||||
export type HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostErrors = {
|
||||
/**
|
||||
* Not found
|
||||
*/
|
||||
404: unknown;
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostError = HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostErrors[keyof HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostErrors];
|
||||
|
||||
export type HandleCloudonixTransferResultApiV1TelephonyCloudonixTransferResultTransferIdPostResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: unknown;
|
||||
};
|
||||
|
||||
export type HandleCloudonixStatusCallbackApiV1TelephonyCloudonixStatusCallbackWorkflowRunIdPostData = {
|
||||
body?: never;
|
||||
path: {
|
||||
|
|
|
|||
|
|
@ -597,7 +597,7 @@ export const GenericNode = memo(({ data, selected, id, type }: GenericNodeProps)
|
|||
: { source: true, target: true });
|
||||
const badge = getBadgeForSpec(spec, styleVariant);
|
||||
const Icon = spec ? resolveIcon(spec.icon) : Circle;
|
||||
const docUrl = DOC_URL_BY_SPEC[type];
|
||||
const docUrl = spec?.docs_url ?? DOC_URL_BY_SPEC[type];
|
||||
const contentLabel = spec?.properties.some((p) => p.name === "prompt")
|
||||
? "Prompt"
|
||||
: "Details";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue