tkhwang / readable

anti-social social bookmark and much more...
5 stars 1 forks source link

✨ (server,client,libs): Enable pagination query and feed page using new API #114

Closed tkhwang closed 3 years ago

tkhwang commented 3 years ago

Description

Type of change

query    {
  paginationUserBookmarks(
      first:1,
      after: "eyJvcmRlckJ5IjoiY3JlYXRlZEF0Iiwib3JkZXIiOiJERVNDIiwiY3JlYXRlZEF0IjoiMjAyMS0wOS0xM1QyMToyODowNy45MTdaIn0="
  ) {
    pageInfo {
      hasNextPage
      endCursor
    }
    edges {
      cursor
      node {
        id
        urlHash
        urlInfo {
          id
          url
          urlHash
          title
        }
        interest {
          id
          interest
        }
        tags {
          id
          tag
        }            
      }
    }
  }
}

Further to-do lists

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tkhwang/readable/XxM2ewRVyJDg7W6Mhzz46oK4z21k
✅ Preview: https://readable-git-feat-server-0914-pagination-tkhwang.vercel.app