Permalink
Browse files

💪 `@phenomic/plugin-renderer-react`: expose `jsNodeList` type

Is the type of data that comes from list queries
  • Loading branch information...
MoOx committed Jan 11, 2018
1 parent 2335678 commit 3d0f24c7e96857d614d3ae1478ce59626f2ea65a
Showing with 8 additions and 0 deletions.
  1. +8 −0 packages/plugin-renderer-react/src/phenomicRendererReactClient.re
@@ -10,6 +10,14 @@ module Link = Link;
let createContainer = (comp, queries) =>
originalCreateContainer(comp, queries);
type jsNodeList('a) = {
.
"list": array('a),
"previousPageIsFirst": Js.boolean,
"previous": Js.nullable(string),
"next": Js.nullable(string)
};
type edge('a) =
| Idle('a)
| Loading

0 comments on commit 3d0f24c

Please sign in to comment.