@@ -24,7 +24,7 @@ const JSON_PATH = '/data/follows.json'
2424// =
2525
2626/**
27- * @typedef {import('../dat/library ').InternalDatArchive } InternalDatArchive
27+ * @typedef {import('../dat/daemon ').DaemonDatArchive } DaemonDatArchive
2828 * @typedef {import('./util').CrawlSourceRecord } CrawlSourceRecord
2929 * @typedef {import('./site-descriptions').SiteDescription } SiteDescription
3030 *
@@ -52,7 +52,7 @@ exports.removeListener = events.removeListener.bind(events)
5252 * @description
5353 * Crawl the given site for follows.
5454 *
55- * @param {InternalDatArchive } archive - site to crawl.
55+ * @param {DaemonDatArchive } archive - site to crawl.
5656 * @param {CrawlSourceRecord } crawlSource - internal metadata about the crawl target.
5757 * @returns {Promise<void> }
5858 */
@@ -245,7 +245,7 @@ const get = exports.get = async function (author, topic) {
245245 * @description
246246 * Add a follow to the given archive.
247247 *
248- * @param {InternalDatArchive } archive
248+ * @param {DaemonDatArchive } archive
249249 * @param {string } topic
250250 * @param {Object } [opts]
251251 * @param {string } [opts.visibility]
@@ -273,7 +273,7 @@ exports.add = async function (archive, topic, opts) {
273273 * @description
274274 * Edit a follow for the given archive.
275275 *
276- * @param {InternalDatArchive } archive
276+ * @param {DaemonDatArchive } archive
277277 * @param {string } topic
278278 * @param {Object } [opts]
279279 * @param {string } [opts.visibility]
@@ -298,7 +298,7 @@ exports.edit = async function (archive, topic, opts) {
298298 * @description
299299 * Remove a follow from the given archive.
300300 *
301- * @param {InternalDatArchive } archive
301+ * @param {DaemonDatArchive } archive
302302 * @param {string } topic
303303 * @returns {Promise<void> }
304304 */
@@ -335,7 +335,7 @@ function toOrigin (url) {
335335}
336336
337337/**
338- * @param {InternalDatArchive } archive
338+ * @param {DaemonDatArchive } archive
339339 * @returns {Promise<Object> }
340340 */
341341async function readFollowsFile ( archive ) {
@@ -352,7 +352,7 @@ async function readFollowsFile (archive) {
352352}
353353
354354/**
355- * @param {InternalDatArchive } archive
355+ * @param {DaemonDatArchive } archive
356356 * @param {function(Object): void } updateFn
357357 * @returns {Promise<void> }
358358 */
0 commit comments