# HG changeset patch # User Kim Alvefur # Date 1589229148 -7200 # Node ID f26f2ec33f1eb153fca418733233a0fa9c007157 # Parent f23363380599d5253e52db0c4d626d38f20436dd doc/storage: Add archive store map-like API diff -r f23363380599 -r f26f2ec33f1e 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