Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

Commit

Permalink
fix(getqueriedgamesamerica): fixed type exports and TSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Mar 5, 2021
1 parent 25d6476 commit 103f028
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
16 changes: 15 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,25 @@ export {
JP_GET_GAMES_URL,
PRICE_GET_URL,
QUERIED_US_ALGOLIA_KEY,
QUERIED_US_GET_GAMES_URL,
Region,
US_ALGOLIA_HEADERS,
US_ALGOLIA_ID,
US_ALGOLIA_KEY,
US_GET_GAMES_URL
} from './lib/utils/constants';
export type { EShop, EURequestOptions, GameEU, GameJP, GameUS, PriceResponse, QueriedGameUS } from './lib/utils/interfaces';
export type {
EShop,
EURequestOptions,
GameEU,
GameJP,
GameUS,
HighlightResult,
Nsuid,
PriceResponse,
QueriedGameResult,
QueriedGamesAmericaOptions,
QueriedGameUS,
TitleData
} from './lib/utils/interfaces';
export { EshopError } from './lib/utils/utils';
3 changes: 2 additions & 1 deletion src/lib/getGames/getQueriedGamesAmerica.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { EshopError } from '../utils/utils';
/**
* Fetches a subset of games from the American e-shops as based on a given query
* @param query The query to search for
* @returns Promise containing the first 200 games that match your query
* @param __namedParameters Additional options for the [[getQueriedGamesAmerica]] call. Defaults to `{ hitsPerPage: 200, page: 0 }`
* @returns Promise containing the first `hitsPerPage` games that match your query
* @license Apache-2.0 Favna & Antonio Román
* @copyright 2019
*/
Expand Down

0 comments on commit 103f028

Please sign in to comment.