Add experimental parser module
This commit is contained in:
parent
4738ec3385
commit
3a076a9b4e
|
@ -2,8 +2,7 @@
|
||||||
import asyncdispatch, httpclient, uri, strutils, sequtils, sugar
|
import asyncdispatch, httpclient, uri, strutils, sequtils, sugar
|
||||||
import packedjson
|
import packedjson
|
||||||
import types, query, formatters, consts, apiutils, parser
|
import types, query, formatters, consts, apiutils, parser
|
||||||
import experimental/parser/[user, graphql]
|
import experimental/parser as newParser
|
||||||
import experimental/parser/timeline as timelineParser
|
|
||||||
|
|
||||||
proc getGraphUser*(id: string): Future[User] {.async.} =
|
proc getGraphUser*(id: string): Future[User] {.async.} =
|
||||||
if id.len == 0 or id.any(c => not c.isDigit): return
|
if id.len == 0 or id.any(c => not c.isDigit): return
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
import parser/[user, graphql, timeline]
|
||||||
|
export user, graphql, timeline
|
Loading…
Reference in New Issue