feat(database): re-add per-post counters to track page views etc.

This commit is contained in:
David Bailey 2025-03-27 23:31:29 +01:00
parent 5ddbae91d2
commit a3604d21c9
7 changed files with 53 additions and 9 deletions

View file

@ -73,6 +73,8 @@ interface PostdataInterface {
public function set_postdata($data);
public function set_post_markdown($id, $markdown);
public function increment_post_counter($path, $counter = 'views', $value = 1);
public function get_postdata($path);
// Returns a key-value pair of child paths => child data
public function get_post_children($path,