doc/storage: Add archive store map-like API
authorKim Alvefur <zash@zash.se>
Mon, 11 May 2020 22:32:28 +0200
changeset 10842 f26f2ec33f1e
parent 10841 f23363380599
child 10843 018acdaf374f
doc/storage: Add archive store map-like API
doc/storage.tld
--- a/doc/storage.tld	Mon May 11 21:56:19 2020 +0200
+++ b/doc/storage.tld	Mon May 11 22:32:28 2020 +0200
@@ -50,6 +50,10 @@
 
 	-- Map of counts per "with" field
 	summary : ( self, string?, archive_query? ) -> ( { string : integer } ) | (nil, string)
+
+	-- Map-store API
+	get    : ( self, string, string ) -> (stanza, number?, string?) | (nil, string)
+	set    : ( self, string, string, stanza, number?, string? ) -> (boolean) | (nil, string)
 end
 
 -- This represents moduleapi