aboutsummaryrefslogtreecommitdiffstats
path: root/doc/storage.tld
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-09-30 09:50:33 +0100
committerMatthew Wild <mwild1@gmail.com>2020-09-30 09:50:33 +0100
commit785c20f6ee7e61a5a91a8b6259623bc2a2bbffaa (patch)
tree3a37db7b805b1555d08cc61c7938cf512ff35ce0 /doc/storage.tld
parente55d037cdf89efac99c6144b381c9fa880f7fb93 (diff)
parentb80ff2ae4f86aa26e055890a8284b55170ef2056 (diff)
downloadprosody-785c20f6ee7e61a5a91a8b6259623bc2a2bbffaa.tar.gz
prosody-785c20f6ee7e61a5a91a8b6259623bc2a2bbffaa.zip
Merge 0.11->trunk
Diffstat (limited to 'doc/storage.tld')
-rw-r--r--doc/storage.tld7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/storage.tld b/doc/storage.tld
index f1d33e58..0fc8ff54 100644
--- a/doc/storage.tld
+++ b/doc/storage.tld
@@ -47,6 +47,13 @@ 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)
+
+ -- 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