Diff

doc/storage.tld @ 9903:2c5546cc5c70

mod_storage_internal: Implement a summary API returning message counts per contact
author Kim Alvefur <zash@zash.se>
date Mon, 25 Feb 2019 15:48:28 +0100
parent 7744:4d9186d990a5
child 10838:f26f2ec33f1e
line wrap: on
line diff
--- a/doc/storage.tld	Sat Mar 23 08:52:57 2019 +0000
+++ b/doc/storage.tld	Mon Feb 25 15:48:28 2019 +0100
@@ -47,6 +47,9 @@
 
 	-- Array of dates which do have messages (Optional?)
 	dates  : ( self, string? ) -> ({ string }) | (nil, string)
+
+	-- Map of counts per "with" field
+	summary : ( self, string?, archive_query? ) -> ( { string : integer } ) | (nil, string)
 end
 
 -- This represents moduleapi