Skip to content

Commit ef603fb

Browse files
authored
feat(specs): add recommend spec and client (#19)
1 parent 47f71b9 commit ef603fb

File tree

103 files changed

+1849
-320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+1849
-320
lines changed

README.md

Lines changed: 15 additions & 1 deletion

clients/README.md

Lines changed: 5 additions & 2 deletions
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// This is the entrypoint for the package
2-
export * from './client-search/apis';
2+
export * from './src/apis';
33
export * from './model/models';
File renamed without changes.
File renamed without changes.

clients/algoliasearch-client-javascript/model/searchResponse.ts renamed to clients/algoliasearch-client-javascript/client-search/model/baseSearchResponse.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { Record } from './record';
2-
import { SearchResponseFacetsStats } from './searchResponseFacetsStats';
1+
import { BaseSearchResponseFacetsStats } from './baseSearchResponseFacetsStats';
32

4-
export type SearchResponse = {
3+
export type BaseSearchResponse = {
54
/**
65
* If a search encounters an index that is being A/B tested, abTestID reports the ongoing A/B test ID.
76
*/
@@ -37,8 +36,7 @@ export type SearchResponse = {
3736
/**
3837
* Statistics for numerical facets.
3938
*/
40-
facets_stats?: { [key: string]: SearchResponseFacetsStats };
41-
hits: Array<Record>;
39+
facets_stats?: { [key: string]: BaseSearchResponseFacetsStats };
4240
/**
4341
* Set the number of hits per page.
4442
*/

clients/algoliasearch-client-javascript/model/searchResponseFacetsStats.ts renamed to clients/algoliasearch-client-javascript/client-search/model/baseSearchResponseFacetsStats.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export type SearchResponseFacetsStats = {
1+
export type BaseSearchResponseFacetsStats = {
22
/**
33
* The minimum value in the result set.
44
*/
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)