Skip to content

Commit 2c7cd9c

Browse files
authored
fix(javascript): make type filename consistent (#890)
1 parent fd3e226 commit 2c7cd9c

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

clients/algoliasearch-client-javascript/packages/client-common/src/createIterablePromise.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { CreateIterablePromise } from './types/CreateIterablePromise';
1+
import type { CreateIterablePromise } from './types/createIterablePromise';
22

33
/**
44
* Helper: Returns the promise of a given `func` to iterate on, based on a given `validate` condition.

clients/algoliasearch-client-javascript/packages/client-common/src/types/CreateClient.ts renamed to clients/algoliasearch-client-javascript/packages/client-common/src/types/createClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { AlgoliaAgentOptions, TransporterOptions } from './Transporter';
1+
import type { AlgoliaAgentOptions, TransporterOptions } from './transporter';
22

33
export type AuthMode = 'WithinHeaders' | 'WithinQueryParameters';
44

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
export * from './Cache';
2-
export * from './CreateClient';
3-
export * from './CreateIterablePromise';
4-
export * from './Host';
5-
export * from './Requester';
6-
export * from './Transporter';
1+
export * from './cache';
2+
export * from './createClient';
3+
export * from './createIterablePromise';
4+
export * from './host';
5+
export * from './requester';
6+
export * from './transporter';

clients/algoliasearch-client-javascript/packages/client-common/src/types/Requester.ts renamed to clients/algoliasearch-client-javascript/packages/client-common/src/types/requester.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Headers, QueryParameters } from './Transporter';
1+
import type { Headers, QueryParameters } from './transporter';
22

33
/**
44
* The method of the request.

clients/algoliasearch-client-javascript/packages/client-common/src/types/Transporter.ts renamed to clients/algoliasearch-client-javascript/packages/client-common/src/types/transporter.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import type { Cache } from './Cache';
2-
import type { Host } from './Host';
3-
import type { Request, Requester, EndRequest, Response } from './Requester';
1+
import type { Cache } from './cache';
2+
import type { Host } from './host';
3+
import type { Request, Requester, EndRequest, Response } from './requester';
44

55
export type Headers = Record<string, string>;
66
export type QueryParameters = Record<string, any>;

0 commit comments

Comments
 (0)