Something went wrong. Try again.
a tool for shared writing and social publishing
Something went wrong. Try again.
TypeScript
12345678910111213141516171819202122232425262728293031import { Inngest } from "inngest";
import { EventSchemas } from "inngest";
export type Events = { "feeds/index-follows": { data: { did: string; }; }; "appview/profile-update": { data: { record: any; did: string; }; }; "appview/index-bsky-post-mention": { data: { post_uri: string; document_link: string; }; }; "appview/come-online": { data: {} };};
// Create a client to send and receive eventsexport const inngest = new Inngest({ id: "leaflet", schemas: new EventSchemas().fromRecord<Events>(),});