a tool for shared writing and social publishing
0
fork

Configure Feed

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

add deletes for documents

+6
+6
appview/index.ts
··· 69 69 document: evt.uri.toString(), 70 70 }); 71 71 } 72 + if (evt.event === "delete") { 73 + await supabase 74 + .from("documents") 75 + .delete() 76 + .eq("uri", evt.uri.toString()); 77 + } 72 78 } 73 79 if (evt.collection === ids.PubLeafletPublication) { 74 80 if (evt.event === "create" || evt.event === "update") {