add api_types.ml

This commit is contained in:
swrup 2025-10-18 17:35:15 +02:00
parent d5abae41b6
commit 4611c1e057
6 changed files with 154 additions and 172 deletions

View file

@ -1,4 +1,5 @@
open Types
open Api_types
let encode_exn jsont v = Jsont_bytesrw.encode_string jsont v |> Result.get_ok
let encode jsont v = Jsont_bytesrw.encode_string jsont v