WIP: PDS Admin tool to hopefully make it easier to moderate your PDS
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Added date to kind of tell where the backfill is for labels

+8 -4
+8 -4
src/handlers/handleNewLabel.ts
··· 11 11 ) => { 12 12 // TODO: MAKE SURE TO CHECK NEG 13 13 logger.info({ host: config.host }, "From"); 14 - 15 - await new Promise((r) => setTimeout(r, 2000)); 16 - 14 + let labledDate = new Date(label.cts); 17 15 if (config.labels[label.val]) { 18 16 logger.info( 19 17 { action: config.labels[label.val]?.action }, ··· 21 19 ); 22 20 } 23 21 logger.info( 24 - { src: label.src, val: label.val, uri: label.uri, neg: label.neg }, 22 + { 23 + src: label.src, 24 + val: label.val, 25 + uri: label.uri, 26 + neg: label.neg, 27 + date: labledDate, 28 + }, 25 29 "Label", 26 30 ); 27 31 };