doc/storage.tld
changeset 10842 f26f2ec33f1e
parent 9907 2c5546cc5c70
equal deleted inserted replaced
10841:f23363380599 10842:f26f2ec33f1e
    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 
    50 
    51 	-- Map of counts per "with" field
    51 	-- Map of counts per "with" field
    52 	summary : ( self, string?, archive_query? ) -> ( { string : integer } ) | (nil, string)
    52 	summary : ( self, string?, archive_query? ) -> ( { string : integer } ) | (nil, string)
       
    53 
       
    54 	-- Map-store API
       
    55 	get    : ( self, string, string ) -> (stanza, number?, string?) | (nil, string)
       
    56 	set    : ( self, string, string, stanza, number?, string? ) -> (boolean) | (nil, string)
    53 end
    57 end
    54 
    58 
    55 -- This represents moduleapi
    59 -- This represents moduleapi
    56 interface module
    60 interface module
    57 	-- If the first string is omitted then the name of the module is used
    61 	-- If the first string is omitted then the name of the module is used