github-api.ts 390 B

123456789101112131415161718192021
  1. export type SearchResult = {
  2. total_count: number,
  3. imcomplete_results: boolean,
  4. items: SearchResultItem[];
  5. }
  6. export type SearchResultItem = {
  7. id: number,
  8. name: string,
  9. owner: {
  10. login: string,
  11. html_url: string,
  12. avatar_url: string,
  13. },
  14. fullName: string,
  15. htmlUrl: string,
  16. description: string,
  17. topics: string[],
  18. homepage: string,
  19. stargazersCount: number,
  20. }