SearchResponse.ts 485 B

1234567891011121314151617181920
  1. import { BaseResponse } from '../ApiResponses';
  2. import { SearchNavigationResult } from '../SearchNavigationResult';
  3. import SearchVerseItem from './SearchVerseItem';
  4. interface SearchResponse extends BaseResponse {
  5. result: {
  6. navigation: SearchNavigationResult[];
  7. verses: SearchVerseItem[];
  8. };
  9. pagination: {
  10. perPage: number;
  11. currentPage: number;
  12. nextPage: number | null;
  13. totalRecords: number;
  14. totalPages: number;
  15. };
  16. }
  17. export default SearchResponse;