docs: add documentation links to nodes & tools (#184)

* docs: add documentation links to nodes & tools

* fix: add type hints to constants

---------

Co-authored-by: Abhishek Kumar <abhishek@a6k.me>
This commit is contained in:
Sabiha Khan 2026-03-09 11:39:25 +05:30 committed by GitHub
parent 5114ca5ee7
commit 5698338215
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 64 additions and 6 deletions

View file

@ -0,0 +1,17 @@
const DOCS_BASE = "https://docs.dograh.com";
export const NODE_DOCUMENTATION_URLS: Record<string, string> = {
startCall: `${DOCS_BASE}/voice-agent/start-call`,
endCall: `${DOCS_BASE}/voice-agent/end-call`,
agent: `${DOCS_BASE}/voice-agent/agent`,
global: `${DOCS_BASE}/voice-agent/global`,
apiTrigger: `${DOCS_BASE}/voice-agent/api-trigger`,
webhook: `${DOCS_BASE}/voice-agent/webhook`,
qaAnalysis: `${DOCS_BASE}/getting-started`,
};
export const TOOL_DOCUMENTATION_URLS: Record<string, string> = {
http_api: `${DOCS_BASE}/voice-agent/tools/http-api`,
end_call: `${DOCS_BASE}/voice-agent/tools/end-call`,
transfer_call: `${DOCS_BASE}/voice-agent/tools/call-transfer`,
};