diff --git a/datastore/typedds.nim b/datastore/typedds.nim index e194a32f..44f9626e 100644 --- a/datastore/typedds.nim +++ b/datastore/typedds.nim @@ -9,6 +9,8 @@ import pkg/chronos import pkg/chronos/futures import ./datastore +import ./types +import ./key ## Wrapper for Datastore with basic functionality of automatically converting ## stored values from some user defined type `T` to `seq[byte]` and vice-versa. @@ -55,6 +57,8 @@ type next*: GetNext[T] dispose*: IterDispose +export types, key, IterDispose, Key, Query, SortOrder, QueryEndedError + # Helpers template requireDecoder*(T: typedesc): untyped = when not (compiles do: