this._ensureTypes(data, ['content'], ['string', 'buffer']);
this._ensureTypes(data, ['contentHash'], ['string']);
this._ensureTypes(data, ['contentType'], ['string', 'null', 'undefined']);
this._ensureTypes(data, ['content'], ['string', 'buffer']);
this._ensureTypes(data, ['contentHash'], ['string']);
this._ensureTypes(data, ['contentType'], ['string', 'null', 'undefined']);
+ this._ensureTypes(data, ['eTag'], ['string', 'null', 'undefined']);
+ this._ensureTypes(data, ['lastModified'], ['string', 'null', 'undefined']);
+ /**
+ * 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);
+ }
+
+
* @param {String} data.content
* @param {String} data.contentHash
* @param {String=} data.contentType
* @param {String} data.content
* @param {String} data.contentHash
* @param {String=} data.contentType
*/
async topicSetContent(dbCtx, data) {
this._notImplemented('topicSetContent', arguments);
*/
async topicSetContent(dbCtx, data) {
this._notImplemented('topicSetContent', arguments);