display history of topic updates on topic details page
[websub-hub] / src / db / base.js
index de0cd44a1b9c5a77eb0e8fcb22771ffbf7c488c1..fbc2cbae0c2f83b2e79d5bc1a377ea5d8ca35a90 100644 (file)
@@ -585,6 +585,17 @@ class Database {
   }
 
 
+  /**
+   * Return an array of the counts of the last #days of topic updates.
+   * @param {*} dbCtx
+   * @param {*} topicId
+   * @param {Number} days
+   */
+  async topicPublishHistory(dbCtx, topicId, days) {
+    this._notImplemented('topicPublishHistory', arguments);
+  }
+
+
   /**
    * Create or update the basic parameters of a topic.
    * @param {*} dbCtx 
@@ -598,7 +609,7 @@ class Database {
   /**
    * Updates a topic's content data and content update timestamp.
    * @param {Object} data
-   * @param {Integer} data.topicId
+   * @param {*} data.topicId
    * @param {String} data.content
    * @param {String} data.contentHash
    * @param {String=} data.contentType