X-Git-Url: http://git.squeep.com/?p=websub-hub;a=blobdiff_plain;f=src%2Fdb%2Fbase.js;h=fbc2cbae0c2f83b2e79d5bc1a377ea5d8ca35a90;hp=de0cd44a1b9c5a77eb0e8fcb22771ffbf7c488c1;hb=737fbd003d5c4dfea81b667ef906f1c106a60612;hpb=17b4ff9c1974842c02071d2cd02144d2e5a99eb5 diff --git a/src/db/base.js b/src/db/base.js index de0cd44..fbc2cba 100644 --- a/src/db/base.js +++ b/src/db/base.js @@ -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