aboutsummaryrefslogtreecommitdiffstats
path: root/doc/storage.tld
diff options
context:
space:
mode:
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