feat: add litenote lexicon
This commit is contained in:
4
main.ts
4
main.ts
@@ -2,7 +2,7 @@ import { Jetstream } from "@skyware/jetstream";
|
||||
|
||||
const jetstream = new Jetstream({
|
||||
wantedCollections: [
|
||||
"app.bsky.feed.like",
|
||||
"site.standard.graph.subscription",
|
||||
"site.standard.publication",
|
||||
"site.standard.document",
|
||||
"space.litenote.post",
|
||||
@@ -10,7 +10,7 @@ const jetstream = new Jetstream({
|
||||
});
|
||||
|
||||
// Handle standard posts
|
||||
jetstream.onCreate("app.bsky.feed.like", (event) => {
|
||||
jetstream.onCreate("site.standard.graph.subscription", (event) => {
|
||||
// Check if it references litenote content
|
||||
const { did, commit } = event
|
||||
console.log(did, commit);
|
||||
|
||||
Reference in New Issue
Block a user