Skip to content

Commit

Permalink
feat(javascript): assert algoliasearch bundle (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3991

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Oct 21, 2024
1 parent 55a5796 commit c066b4d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions packages/algoliasearch/builds/browser.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.

import type { ClientOptions } from '@algolia/client-common';
import type { SearchClient } from '@algolia/client-search';
import { searchClient } from '@algolia/client-search';

import type { AbtestingClient } from '@algolia/client-abtesting';
import { abtestingClient } from '@algolia/client-abtesting';
Expand All @@ -14,6 +12,8 @@ import type { PersonalizationClient } from '@algolia/client-personalization';
import { personalizationClient } from '@algolia/client-personalization';
import type { QuerySuggestionsClient } from '@algolia/client-query-suggestions';
import { querySuggestionsClient } from '@algolia/client-query-suggestions';
import type { SearchClient } from '@algolia/client-search';
import { searchClient } from '@algolia/client-search';
import type { IngestionClient } from '@algolia/ingestion';
import { ingestionClient } from '@algolia/ingestion';
import type { MonitoringClient } from '@algolia/monitoring';
Expand All @@ -38,10 +38,10 @@ export type Algoliasearch = SearchClient & {
initAnalytics: (initOptions: InitClientOptions & AnalyticsRegionOptions) => AnalyticsClient;
initIngestion: (initOptions: InitClientOptions & IngestionRegionOptions) => IngestionClient;
initInsights: (initOptions: InitClientOptions & InsightsRegionOptions) => InsightsClient;
initMonitoring: (initOptions: InitClientOptions) => MonitoringClient;
initMonitoring: (initOptions?: InitClientOptions) => MonitoringClient;
initPersonalization: (initOptions: InitClientOptions & PersonalizationRegionOptions) => PersonalizationClient;
initQuerySuggestions: (initOptions: InitClientOptions & QuerySuggestionsRegionOptions) => QuerySuggestionsClient;
initRecommend: (initOptions: InitClientOptions) => RecommendClient;
initRecommend: (initOptions?: InitClientOptions) => RecommendClient;
};

export function algoliasearch(appId: string, apiKey: string, options?: ClientOptions): Algoliasearch {
Expand Down Expand Up @@ -101,7 +101,7 @@ export function algoliasearch(appId: string, apiKey: string, options?: ClientOpt
);
},

initMonitoring: (initOptions: InitClientOptions): MonitoringClient => {
initMonitoring: (initOptions: InitClientOptions = {}): MonitoringClient => {
return monitoringClient(initOptions.appId || appId, initOptions.apiKey || apiKey, initOptions.options);
},

Expand All @@ -123,7 +123,7 @@ export function algoliasearch(appId: string, apiKey: string, options?: ClientOpt
);
},

initRecommend: (initOptions: InitClientOptions): RecommendClient => {
initRecommend: (initOptions: InitClientOptions = {}): RecommendClient => {
return recommendClient(initOptions.appId || appId, initOptions.apiKey || apiKey, initOptions.options);
},
};
Expand Down
12 changes: 6 additions & 6 deletions packages/algoliasearch/builds/fetch.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.

import type { ClientOptions } from '@algolia/client-common';
import type { SearchClient } from '@algolia/client-search';
import { searchClient } from '@algolia/client-search';

import type { AbtestingClient } from '@algolia/client-abtesting';
import { abtestingClient } from '@algolia/client-abtesting';
Expand All @@ -14,6 +12,8 @@ import type { PersonalizationClient } from '@algolia/client-personalization';
import { personalizationClient } from '@algolia/client-personalization';
import type { QuerySuggestionsClient } from '@algolia/client-query-suggestions';
import { querySuggestionsClient } from '@algolia/client-query-suggestions';
import type { SearchClient } from '@algolia/client-search';
import { searchClient } from '@algolia/client-search';
import type { IngestionClient } from '@algolia/ingestion';
import { ingestionClient } from '@algolia/ingestion';
import type { MonitoringClient } from '@algolia/monitoring';
Expand All @@ -38,10 +38,10 @@ export type Algoliasearch = SearchClient & {
initAnalytics: (initOptions: InitClientOptions & AnalyticsRegionOptions) => AnalyticsClient;
initIngestion: (initOptions: InitClientOptions & IngestionRegionOptions) => IngestionClient;
initInsights: (initOptions: InitClientOptions & InsightsRegionOptions) => InsightsClient;
initMonitoring: (initOptions: InitClientOptions) => MonitoringClient;
initMonitoring: (initOptions?: InitClientOptions) => MonitoringClient;
initPersonalization: (initOptions: InitClientOptions & PersonalizationRegionOptions) => PersonalizationClient;
initQuerySuggestions: (initOptions: InitClientOptions & QuerySuggestionsRegionOptions) => QuerySuggestionsClient;
initRecommend: (initOptions: InitClientOptions) => RecommendClient;
initRecommend: (initOptions?: InitClientOptions) => RecommendClient;
};

export function algoliasearch(appId: string, apiKey: string, options?: ClientOptions): Algoliasearch {
Expand Down Expand Up @@ -101,7 +101,7 @@ export function algoliasearch(appId: string, apiKey: string, options?: ClientOpt
);
},

initMonitoring: (initOptions: InitClientOptions): MonitoringClient => {
initMonitoring: (initOptions: InitClientOptions = {}): MonitoringClient => {
return monitoringClient(initOptions.appId || appId, initOptions.apiKey || apiKey, initOptions.options);
},

Expand All @@ -123,7 +123,7 @@ export function algoliasearch(appId: string, apiKey: string, options?: ClientOpt
);
},

initRecommend: (initOptions: InitClientOptions): RecommendClient => {
initRecommend: (initOptions: InitClientOptions = {}): RecommendClient => {
return recommendClient(initOptions.appId || appId, initOptions.apiKey || apiKey, initOptions.options);
},
};
Expand Down
12 changes: 6 additions & 6 deletions packages/algoliasearch/builds/node.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.

import type { ClientOptions } from '@algolia/client-common';
import type { SearchClient } from '@algolia/client-search';
import { searchClient } from '@algolia/client-search';

import type { AbtestingClient } from '@algolia/client-abtesting';
import { abtestingClient } from '@algolia/client-abtesting';
Expand All @@ -14,6 +12,8 @@ import type { PersonalizationClient } from '@algolia/client-personalization';
import { personalizationClient } from '@algolia/client-personalization';
import type { QuerySuggestionsClient } from '@algolia/client-query-suggestions';
import { querySuggestionsClient } from '@algolia/client-query-suggestions';
import type { SearchClient } from '@algolia/client-search';
import { searchClient } from '@algolia/client-search';
import type { IngestionClient } from '@algolia/ingestion';
import { ingestionClient } from '@algolia/ingestion';
import type { MonitoringClient } from '@algolia/monitoring';
Expand All @@ -38,10 +38,10 @@ export type Algoliasearch = SearchClient & {
initAnalytics: (initOptions: InitClientOptions & AnalyticsRegionOptions) => AnalyticsClient;
initIngestion: (initOptions: InitClientOptions & IngestionRegionOptions) => IngestionClient;
initInsights: (initOptions: InitClientOptions & InsightsRegionOptions) => InsightsClient;
initMonitoring: (initOptions: InitClientOptions) => MonitoringClient;
initMonitoring: (initOptions?: InitClientOptions) => MonitoringClient;
initPersonalization: (initOptions: InitClientOptions & PersonalizationRegionOptions) => PersonalizationClient;
initQuerySuggestions: (initOptions: InitClientOptions & QuerySuggestionsRegionOptions) => QuerySuggestionsClient;
initRecommend: (initOptions: InitClientOptions) => RecommendClient;
initRecommend: (initOptions?: InitClientOptions) => RecommendClient;
};

export function algoliasearch(appId: string, apiKey: string, options?: ClientOptions): Algoliasearch {
Expand Down Expand Up @@ -101,7 +101,7 @@ export function algoliasearch(appId: string, apiKey: string, options?: ClientOpt
);
},

initMonitoring: (initOptions: InitClientOptions): MonitoringClient => {
initMonitoring: (initOptions: InitClientOptions = {}): MonitoringClient => {
return monitoringClient(initOptions.appId || appId, initOptions.apiKey || apiKey, initOptions.options);
},

Expand All @@ -123,7 +123,7 @@ export function algoliasearch(appId: string, apiKey: string, options?: ClientOpt
);
},

initRecommend: (initOptions: InitClientOptions): RecommendClient => {
initRecommend: (initOptions: InitClientOptions = {}): RecommendClient => {
return recommendClient(initOptions.appId || appId, initOptions.apiKey || apiKey, initOptions.options);
},
};
Expand Down

0 comments on commit c066b4d

Please sign in to comment.