qanary-component-helpers/common
This page is auto-generated from TSDoc output. Edit the source file, not this Markdown.
qanary-component-helpers/common
Section titled “qanary-component-helpers/common”- Package:
@leipzigtreechat/qanary-component-helpers - Source file:
packages/qanary-component-helpers/src/common.ts
Summary
Section titled “Summary”No summary is available for this file.
Functions
Section titled “Functions”assertParamExists
Section titled “assertParamExists”function assertParamExists(functionName: string, paramName: string, paramValue: unknown): voidParameters
functionName(string)paramName(string)paramValue(unknown) Defined at: line 30
setApiKeyToObject
Section titled “setApiKeyToObject”function setApiKeyToObject(object: any, keyParamName: string, configuration: Configuration): voidParameters
object(any)keyParamName(string)configuration(Configuration) Defined at: line 43
setBasicAuthToObject
Section titled “setBasicAuthToObject”function setBasicAuthToObject(object: any, configuration: Configuration): voidParameters
object(any)configuration(Configuration) Defined at: line 57
setBearerAuthToObject
Section titled “setBearerAuthToObject”function setBearerAuthToObject(object: any, configuration: Configuration): voidParameters
object(any)configuration(Configuration) Defined at: line 67
setOAuthToObject
Section titled “setOAuthToObject”function setOAuthToObject(object: any, name: string, scopes: string[], configuration: Configuration): voidParameters
object(any)name(string)scopes(string[])configuration(Configuration) Defined at: line 81
setSearchParams
Section titled “setSearchParams”function setSearchParams(url: URL, objects: any[]): voidParameters
url(URL)objects(any[]) Defined at: line 113
serializeDataIfNeeded
Section titled “serializeDataIfNeeded”function serializeDataIfNeeded(value: any, requestOptions: any, configuration: Configuration): voidParameters
value(any)requestOptions(any)configuration(Configuration) Defined at: line 123
toPathString
Section titled “toPathString”function toPathString(url: URL): voidParameters
url(URL) Defined at: line 136
createRequestFunction
Section titled “createRequestFunction”function createRequestFunction(axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration: Configuration): voidParameters
axiosArgs(RequestArgs)globalAxios(AxiosInstance)BASE_PATH(string)configuration(Configuration) Defined at: line 142
Constants
Section titled “Constants”DUMMY_BASE_URL
Section titled “DUMMY_BASE_URL”const DUMMY_BASE_URL: stringDefined at: line 23
In qanary-component-helpers
Section titled “In qanary-component-helpers”qanary-component-helpers/apiqanary-component-helpers/baseqanary-component-helpers/commonqanary-component-helpers/configurationqanary-component-helpers/create-annotationqanary-component-helpers/create-clarification-annotationqanary-component-helpers/generate-clarification-questionqanary-component-helpers/generate-object-retryqanary-component-helpers/get-domain-instancesqanary-component-helpers/get-question-uriqanary-component-helpers/get-questionqanary-component-helpers/indexqanary-component-helpers/interfaces/question-sparql-responseqanary-component-helpers/llm-providerqanary-component-helpers/message-operationsqanary-component-helpers/query-file-loaderqanary-component-helpers/query-sparqlqanary-component-helpers/utils/question-uri-query