@types/react-instantsearch-native
Advanced tools
Comparing version 5.3.3 to 6.3.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for react-instantsearch-native 5.3 | ||
// Type definitions for react-instantsearch-native 6.3 | ||
// Project: https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react, https://community.algolia.com/react-instantsearch | ||
@@ -19,2 +19,5 @@ // Definitions by: Gordon Burgett <https://github.com/gburgett> | ||
export { Configure } from 'react-instantsearch-core'; | ||
export { InstantSearch } from 'react-instantsearch-core'; | ||
export { InstantSearchProps } from 'react-instantsearch-core'; | ||
export { Index } from 'react-instantsearch-core'; | ||
@@ -44,36 +47,1 @@ // Connectors | ||
export { connectToggleRefinement } from 'react-instantsearch-core'; | ||
// Native | ||
interface InstantSearchBaseProps { | ||
indexName: string; | ||
createURL?: (...args: any[]) => any; | ||
searchState?: any; | ||
refresh?: boolean; | ||
onSearchStateChange?: (...args: any[]) => any; | ||
onSearchParameters?: (...args: any[]) => any; | ||
resultsState?: any; | ||
root?: { | ||
Root: string | ((...args: any[]) => any); | ||
props: any; | ||
}; | ||
} | ||
export interface UsingSearchClientProps extends InstantSearchBaseProps { | ||
searchClient: any; | ||
} | ||
export interface UsingManualInfoProps extends InstantSearchBaseProps { | ||
apiKey: string; | ||
appId: string; | ||
algoliaClient?: any; | ||
} | ||
export type InstantSearchProps = UsingSearchClientProps | UsingManualInfoProps; | ||
/** | ||
* <InstantSearch> is the root component of all React InstantSearch implementations. It provides all the connected components (aka widgets) a means to interact with the searchState. | ||
* | ||
* https://community.algolia.com/react-instantsearch/widgets/%3CInstantSearch%3E.html | ||
*/ | ||
export class InstantSearch extends React.Component<InstantSearchProps> {} | ||
export class Index extends React.Component<any> {} |
{ | ||
"name": "@types/react-instantsearch-native", | ||
"version": "5.3.3", | ||
"version": "6.3.0", | ||
"description": "TypeScript definitions for react-instantsearch-native", | ||
@@ -29,3 +29,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -41,4 +41,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "7c6e01b8299eae7e6b73af7ee437dd8235e9a9de5fe4a4ad081129394ecb7cca", | ||
"typesPublisherContentHash": "8568599a6c22d0353a372324023f8d86fb72fa9f706ba047cf5a509e7dc2fcad", | ||
"typeScriptVersion": "2.9" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-instantsearch-native | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-instantsearch-native. | ||
Additional Details | ||
* Last updated: Mon, 09 Sep 2019 18:37:49 GMT | ||
* Dependencies: @types/react, @types/react-instantsearch-core | ||
### Additional Details | ||
* Last updated: Mon, 23 Mar 2020 15:48:34 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/react-instantsearch-core](https://npmjs.com/package/@types/react-instantsearch-core) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Gordon Burgett <https://github.com/gburgett>, Justin Powell <https://github.com/jpowell>, Haroen Viaene <https://github.com/haroenv>, and Samuel Vaillant <https://github.com/samouss>. | ||
These definitions were written by [Gordon Burgett](https://github.com/gburgett), [Justin Powell](https://github.com/jpowell), [Haroen Viaene](https://github.com/haroenv), and [Samuel Vaillant](https://github.com/samouss). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5714
41