Module Lib.Rosetta

val router : graphql_uri:Uri.t option -> pool: ( ( (module Caqti_async.CONNECTION), [< `App of Rosetta_lib.Errors.t | `Connect_failed of 'a | `Connect_rejected of 'b | `Exception of exn | `Page_not_found | `Post_connect of 'c App ] ) Caqti_async.Pool.t, [> `App of Rosetta_lib.Errors.t | `Exception of exn | `Page_not_found ] as 'd ) Async_kernel__Deferred_result.t Core_kernel.Lazy.t -> logger:Logger.t -> string list -> Yojson.Safe.t -> ( Yojson.Safe.t, 'e ) Async_kernel__Deferred_result.t
val pg_log_data : logger:Logger.t -> pool: ( ( (module Caqti_async.CONNECTION), [< Caqti_error.t Decode_rejected Encode_failed Encode_rejected Request_failed Request_rejected Response_failed Response_rejected ] ) Caqti_async.Pool.t, [< `App of Rosetta_lib.Errors.t ] ) Core_kernel._result Async_kernel__Deferred.t Core_kernel.Lazy.t -> unit Async.Deferred.t
val server_handler : pool: ( ( (module Caqti_async.CONNECTION), [< `App of Rosetta_lib.Errors.t | `Connect_failed of 'a & 'b | `Connect_rejected of 'c & 'd | `Exception of exn | `Page_not_found | `Post_connect of 'e & 'f App ] ) Caqti_async.Pool.t, [ `App of Rosetta_lib.Errors.t | `Exception of exn | `Page_not_found ] ) Async_kernel__Deferred_result.t Core_kernel.Lazy.t -> graphql_uri:Uri.t option -> logger:Logger.t -> body:Cohttp_async.Body.t -> 'g -> Cohttp_async.Request.t -> [> `Response of Cohttp_async.Server.response ] Async_kernel__Deferred.t
val command : ( unit -> unit Async_kernel__Deferred.t ) Core__Core_command.Param.t