X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=src%2Fdb%2Fbase.js;h=3346f92d421ac7d65932a6e21df5cddc2ddf635d;hb=944e7dc61a951aa870160aeb390d5bd053cdd224;hp=de0cd44a1b9c5a77eb0e8fcb22771ffbf7c488c1;hpb=085b55f507dedc16016bb491d520c556acd60643;p=websub-hub diff --git a/src/db/base.js b/src/db/base.js index de0cd44..3346f92 100644 --- a/src/db/base.js +++ b/src/db/base.js @@ -585,6 +585,18 @@ class Database { } + /** + * Return an array of the counts of the last #days of topic updates. + * @param {*} dbCtx + * @param {*} topicId + * @param {Number} days + * @returns {Number[]} + */ + async topicPublishHistory(dbCtx, topicId, days) { + this._notImplemented('topicPublishHistory', arguments); + } + + /** * Create or update the basic parameters of a topic. * @param {*} dbCtx @@ -598,7 +610,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