Sifa professional network API (Fastify, AT Protocol, Jetstream) sifa.id/
at main 22 lines 428 B view raw
1export interface JetstreamEvent { 2 did: string; 3 time_us: number; 4 kind: 'commit' | 'identity' | 'account'; 5 commit?: { 6 rev: string; 7 operation: 'create' | 'update' | 'delete'; 8 collection: string; 9 rkey: string; 10 record?: Record<string, unknown>; 11 cid?: string; 12 }; 13 identity?: { 14 did: string; 15 handle: string; 16 }; 17 account?: { 18 active: boolean; 19 did: string; 20 status?: string; 21 }; 22}