MCPcopy Create free account

hub / github.com/algolia/algoliasearch-client-javascript / functions

Functions918 in github.com/algolia/algoliasearch-client-javascript

↓ 517 callersFunctionvalidateRequired
(field: string, method: string, value: unknown)
packages/client-common/src/validateParam.ts:1
↓ 63 callersFunctioncreateMemoryCache
(options: MemoryCacheOptions = { serializable: true })
packages/client-common/src/cache/createMemoryCache.ts:3
↓ 63 callersFunctioncreateNullLogger
()
packages/client-common/src/logger/createNullLogger.ts:3
↓ 50 callersFunctioncreateNullCache
()
packages/client-common/src/cache/createNullCache.ts:3
↓ 27 callersFunctioncreateFetchRequester
({ requesterOptions = {} }: FetchRequesterOptions = {})
packages/requester-fetch/src/createFetchRequester.ts:18
↓ 19 callersFunctioncreateFallbackableCache
(options: FallbackableCacheOptions)
packages/client-common/src/cache/createFallbackableCache.ts:4
↓ 19 callersFunctioncreateTransporter
({ hosts, hostsCache, baseHeaders, logger, baseQueryParameters, algoliaAgent, timeouts, reques
packages/client-common/src/transporter/createTransporter.ts:37
↓ 19 callersFunctiongetBaseNodeOptions
( pkg: PKG, cwd: string, requester: Requester = 'http', target: string = 'node14', )
base.tsup.config.ts:47
↓ 17 callersFunctioncreateHttpRequester
({ agent: userGlobalAgent, httpAgent: userHttpAgent, httpsAgent: userHttpsAgent, requesterOptions = {}
packages/requester-node-http/src/createHttpRequester.ts:36
↓ 17 callersFunctiongetBaseBrowserOptions
(pkg: PKG, cwd: string, requester: Requester = 'xhr')
base.tsup.config.ts:61
↓ 16 callersFunctioncreateBrowserLocalStorageCache
(options: BrowserLocalStorageOptions)
packages/client-common/src/cache/createBrowserLocalStorageCache.ts:3
↓ 16 callersFunctiongetDependencies
(pkg: PKG, requester: Requester)
base.tsup.config.ts:27
↓ 16 callersFunctionwithRequestId
( transporter: Pick<Transporter, 'requestIdChannel' | 'baseHeaders' | 'baseQueryParameters'>, requestOptio
packages/client-common/src/transporter/requestId.ts:40
↓ 15 callersFunctioncreateXhrRequester
()
packages/requester-browser-xhr/src/createXhrRequester.ts:18
↓ 14 callersFunctioncreateAuth
( appId: string, apiKey: string, authMode: AuthMode = 'WithinHeaders', )
packages/client-common/src/createAuth.ts:3
↓ 14 callersFunctiongetAlgoliaAgent
({ algoliaAgents, client, version }: GetAlgoliaAgent)
packages/client-common/src/getAlgoliaAgent.ts:10
↓ 9 callersFunctioncreateIterablePromise
({ func, validate, aggregator, error, timeout = (): number => 0, }: CreateIterablePromise<TResponse>
packages/client-common/src/createIterablePromise.ts:13
↓ 6 callersFunctioncreateSearchClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOpti
packages/client-search/src/searchClient.ts:174
↓ 6 callersFunctionlogWarning
(logger: Logger, message: string)
packages/client-common/src/logger/logWarning.ts:6
↓ 5 callersFunctioncreateConsoleLogger
(logLevel: LogLevelType)
packages/logger-console/src/logger.ts:4
↓ 5 callersFunctiongetStorage
()
packages/client-common/src/cache/createBrowserLocalStorageCache.ts:8
↓ 5 callersFunctionshuffle
(array: TData[])
packages/client-common/src/transporter/helpers.ts:13
↓ 4 callersFunctionabtestingClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-abtesting/builds/node.ts:23
↓ 4 callersFunctionabtestingV3Client
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/abtesting/builds/node.ts:23
↓ 4 callersFunctionanalyticsClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-analytics/builds/node.ts:23
↓ 4 callersFunctioncreateAbtestingClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...opt
packages/client-abtesting/src/abtestingClient.ts:44
↓ 4 callersFunctioncreateAbtestingV3Client
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...opt
packages/abtesting/src/abtestingV3Client.ts:46
↓ 4 callersFunctioncreateAdvancedPersonalizationClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...opt
packages/advanced-personalization/src/advancedPersonalizationClient.ts:47
↓ 4 callersFunctioncreateAgentStudioClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOpti
packages/agent-studio/src/agentStudioClient.ts:109
↓ 4 callersFunctioncreateAnalyticsClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...opt
packages/client-analytics/src/analyticsClient.ts:81
↓ 4 callersFunctioncreateCompositionClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOpti
packages/composition/src/compositionClient.ts:92
↓ 4 callersFunctioncreateIngestionClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...opt
packages/ingestion/src/ingestionClient.ts:163
↓ 4 callersFunctioncreateInsightsClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...opt
packages/client-insights/src/insightsClient.ts:37
↓ 4 callersFunctioncreateMonitoringClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOpti
packages/monitoring/src/monitoringClient.ts:40
↓ 4 callersFunctioncreatePersonalizationClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...opt
packages/client-personalization/src/personalizationClient.ts:40
↓ 4 callersFunctioncreateQuerySuggestionsClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, region: regionOption, ...opt
packages/client-query-suggestions/src/querySuggestionsClient.ts:44
↓ 4 callersFunctioncreateRecommendClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOpti
packages/recommend/src/recommendClient.ts:72
↓ 4 callersFunctiongetStringifiedBody
(body: Record<string, any> = { foo: 'bar' })
tests/utils.ts:47
↓ 4 callersFunctioningestionClient
( appId: string, apiKey: string, region: Region, options?: ClientOptions | undefined, )
packages/ingestion/builds/node.ts:23
↓ 4 callersFunctioninsightsClient
( appId: string, apiKey: string, region?: Region | undefined, options?: ClientOptions | undefined, )
packages/client-insights/builds/node.ts:23
↓ 4 callersFunctionmonitoringClient
(appId: string, apiKey: string, options?: ClientOptions | undefined)
packages/monitoring/builds/node.ts:18
↓ 4 callersFunctionpersonalizationClient
( appId: string, apiKey: string, region: Region, options?: ClientOptions | undefined, )
packages/client-personalization/builds/node.ts:23
↓ 4 callersFunctionquerySuggestionsClient
( appId: string, apiKey: string, region: Region, options?: ClientOptions | undefined, )
packages/client-query-suggestions/builds/node.ts:23
↓ 4 callersFunctionrecommendClient
(appId: string, apiKey: string, options?: ClientOptions | undefined)
packages/recommend/builds/node.ts:18
↓ 4 callersFunctionsearchClient
(appId: string, apiKey: string, options?: ClientOptions | undefined)
packages/client-search/builds/node.ts:40
↓ 4 callersFunctionserializeQueryParameters
(parameters: QueryParameters)
packages/client-common/src/transporter/helpers.ts:40
↓ 3 callersFunctioncreateTestServer
()
tests/utils.ts:54
↓ 3 callersFunctiondefaultValue
()
packages/client-common/src/__tests__/cache/null-cache.test.ts:19
↓ 3 callersFunctiongenerateRequestId
()
packages/client-common/src/transporter/requestId.ts:6
↓ 3 callersFunctiongetCorrelationId
(headers: Headers | undefined)
packages/client-common/src/transporter/helpers.ts:108
↓ 3 callersFunctiongetNamespace
()
packages/client-common/src/cache/createBrowserLocalStorageCache.ts:16
↓ 3 callersFunctionyieldToMain
()
packages/client-common/src/cache/createBrowserLocalStorageCache.ts:24
↓ 2 callersFunctionalgoliasearch
( appId: string, apiKey: string, options?: (ClientOptions & TransformationOptions) | undefined, )
packages/algoliasearch/builds/browser.ts:132
↓ 2 callersFunctioncreateEchoRequester
({ getURL, status = 200 }: EchoRequesterParams)
packages/requester-testing/src/createEchoRequester.ts:60
↓ 2 callersFunctioncreateLiteClient
({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOpti
packages/algoliasearch/lite/src/liteClient.ts:65
↓ 2 callersFunctioncreateRetryableOptions
(compatibleHosts: Host[])
packages/client-common/src/transporter/createTransporter.ts:68
↓ 2 callersFunctioncreateStatefulHost
(host: Host, status: StatefulHost['status'] = 'up')
packages/client-common/src/transporter/createStatefulHost.ts:7
↓ 2 callersMethoddecode
(line: string)
packages/client-common/src/sse.ts:196
↓ 2 callersFunctiondeserializeSuccess
(response: Response)
packages/client-common/src/transporter/helpers.ts:86
↓ 2 callersFunctiongetBaseConfig
(cwd: string)
base.tsup.config.ts:18
↓ 2 callersFunctiongetUrlParams
({ host, search, pathname, }: BasicURL)
packages/requester-testing/src/createEchoRequester.ts:21
↓ 2 callersFunctioninjectRequestId
(headers: Headers, queryParameters: QueryParameters)
packages/client-common/src/transporter/createTransporter.ts:52
↓ 2 callersFunctionisAbortError
(error: unknown)
packages/requester-fetch/src/createFetchRequester.ts:3
↓ 2 callersFunctioniterSSEEvents
( stream: ReadableStream<Uint8Array> | AsyncIterable<Uint8Array>, )
packages/client-common/src/sse.ts:291
↓ 2 callersFunctionretryableRequest
( request: Request, requestOptions: RequestOptions, isRead: boolean, )
packages/client-common/src/transporter/createTransporter.ts:105
↓ 2 callersFunctionserializeData
(request: Request, requestOptions: RequestOptions)
packages/client-common/src/transporter/helpers.ts:55
↓ 2 callersFunctionserializeHeaders
( baseHeaders: Headers, requestHeaders: Headers, requestOptionsHeaders?: Headers | undefined, )
packages/client-common/src/transporter/helpers.ts:65
↓ 2 callersFunctionserializeUrl
(host: Host, path: string, queryParameters: QueryParameters)
packages/client-common/src/transporter/helpers.ts:27
↓ 2 callersFunctionstackFrameWithoutCredentials
(stackFrame: StackFrame)
packages/client-common/src/transporter/stackTrace.ts:7
↓ 1 callersFunctionagentStudioClient
( appId: string, apiKey: string, options?: ClientOptions | undefined, )
packages/agent-studio/builds/node.ts:22
↓ 1 callersFunctionaggregator
(response: SearchRulesResponse)
packages/client-search/builds/node.ts:174
↓ 1 callersFunctionalgoliasearch
( appId: string, apiKey: string, options?: (ClientOptions & TransformationOptions) | undefined, )
packages/algoliasearch/builds/node.ts:132
↓ 1 callersFunctionalgoliasearch
( appId: string, apiKey: string, options?: (ClientOptions & TransformationOptions) | undefined, )
packages/algoliasearch/builds/worker.ts:132
↓ 1 callersFunctionalgoliasearch
( appId: string, apiKey: string, options?: (ClientOptions & TransformationOptions) | undefined, )
packages/algoliasearch/builds/fetch.ts:132
↓ 1 callersFunctionbrowserEchoRequester
(status: number = 200)
packages/requester-testing/src/browserEchoRequester.ts:5
↓ 1 callersFunctioncollectEvents
Feed chunks through iterSSEEvents and collect all emitted events.
packages/client-common/src/__tests__/sse.test.ts:20
↓ 1 callersFunctioncreateAlgoliaAgent
(version: string)
packages/client-common/src/createAlgoliaAgent.ts:3
↓ 1 callersFunctioncreateEchoRequester
()
packages/client-common/src/__tests__/transporter/requestIdChannel.test.ts:38
↓ 1 callersFunctioncreateRecordingRequester
()
packages/algoliasearch/__tests__/algoliasearch.node.test.ts:28
↓ 1 callersFunctioncreateRetryableRequest
()
packages/client-common/src/transporter/createTransporter.ts:265
↓ 1 callersFunctioncreateTestTransporter
(requester: Requester)
packages/client-common/src/__tests__/transporter/withHttpInfo.test.ts:13
↓ 1 callersFunctioncreateTestTransporter
( requester: Requester, options: Partial<TransporterOptions> = {}, )
packages/client-common/src/__tests__/transporter/requestIdChannel.test.ts:15
↓ 1 callersFunctioncreateTestTransporter
(requester: Requester, hostCount = 1)
packages/client-common/src/__tests__/transporter/correlationId.test.ts:13
↓ 1 callersFunctioncreateTimeout
(timeout: number)
packages/requester-fetch/src/createFetchRequester.ts:23
↓ 1 callersFunctioncreateTimeout
(timeout: number, content: string)
packages/requester-node-http/src/createHttpRequester.ts:109
↓ 1 callersFunctioncreateTimeout
(timeout: number, content: string)
packages/requester-browser-xhr/src/createXhrRequester.ts:26
↓ 1 callersFunctiondeserializeFailure
(response: Response, stackFrame: StackFrame[])
packages/client-common/src/transporter/helpers.ts:133
↓ 1 callersFunctiondeserializeSuccessWithHttpInfo
(response: Response)
packages/client-common/src/transporter/helpers.ts:99
↓ 1 callersMethoddispatch
()
packages/client-common/src/sse.ts:250
↓ 1 callersFunctiongenerate
()
packages/requester-fetch/src/__tests__/fetch-requester.test.ts:85
↓ 1 callersFunctiongenerate
()
packages/requester-node-http/src/__tests__/node-http-requester.test.ts:141
↓ 1 callersFunctiongenerateBase64Hmac
(parentApiKey: string, queryParameters: string)
packages/client-search/builds/worker.ts:123
↓ 1 callersFunctiongenerateHmacHex
(cryptoKey: CryptoKey, queryParameters: string)
packages/client-search/builds/worker.ts:114
↓ 1 callersFunctiongetCryptoKey
(secret: string)
packages/client-search/builds/worker.ts:109
↓ 1 callersFunctiongetDefaultHosts
(region: Region)
packages/client-personalization/src/personalizationClient.ts:34
↓ 1 callersFunctiongetDefaultHosts
(region?: Region | undefined)
packages/abtesting/src/abtestingV3Client.ts:40
↓ 1 callersFunctiongetDefaultHosts
(appId: string)
packages/client-search/src/searchClient.ts:139
↓ 1 callersFunctiongetDefaultHosts
(appId: string)
packages/composition/src/compositionClient.ts:57
↓ 1 callersFunctiongetDefaultHosts
(region?: Region | undefined)
packages/client-abtesting/src/abtestingClient.ts:38
↓ 1 callersFunctiongetDefaultHosts
(region: Region)
packages/ingestion/src/ingestionClient.ts:127
next →1–100 of 918, ranked by callers