aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-02-25 15:48:28 +0100
committerKim Alvefur <zash@zash.se>2019-02-25 15:48:28 +0100
commitc1a1511e2662fdd1749c30cfc1cabc3d4b89f082 (patch)
tree21f89ef04949ba04cad55d6d93b4e97b66709053 /doc
parentbd52e2269b0fff09fc8aea6c6807a9f08727bb31 (diff)
downloadprosody-c1a1511e2662fdd1749c30cfc1cabc3d4b89f082.tar.gz
prosody-c1a1511e2662fdd1749c30cfc1cabc3d4b89f082.zip
mod_storage_internal: Implement a summary API returning message counts per contact
Diffstat (limited to 'doc')
-rw-r--r--doc/storage.tld3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/storage.tld b/doc/storage.tld
index f1d33e58..057649a4 100644
--- a/doc/storage.tld
+++ b/doc/storage.tld
@@ -47,6 +47,9 @@ interface archive_store
-- 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