Comparison

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
comparison
equal deleted inserted replaced
9902:3eea63a68e0f 9903:2c5546cc5c70
45 -- Removal of items. API like find. Optional? 45 -- Removal of items. API like find. Optional?
46 delete : ( self, string?, archive_query? ) -> (boolean) | (number) | (nil, string) 46 delete : ( self, string?, archive_query? ) -> (boolean) | (number) | (nil, string)
47 47
48 -- Array of dates which do have messages (Optional?) 48 -- Array of dates which do have messages (Optional?)
49 dates : ( self, string? ) -> ({ string }) | (nil, string) 49 dates : ( self, string? ) -> ({ string }) | (nil, string)
50
51 -- Map of counts per "with" field
52 summary : ( self, string?, archive_query? ) -> ( { string : integer } ) | (nil, string)
50 end 53 end
51 54
52 -- This represents moduleapi 55 -- This represents moduleapi
53 interface module 56 interface module
54 -- If the first string is omitted then the name of the module is used 57 -- If the first string is omitted then the name of the module is used