This repository has no description
0

Configure Feed

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

semble / src / modules / atproto / domain / services / IFirehoseEventDuplicationService.ts
362 B 13 lines
1import { Result } from 'src/shared/core/Result'; 2 3export type FirehoseEventType = 'create' | 'update' | 'delete'; 4 5export interface IFirehoseEventDuplicationService { 6 hasEventBeenProcessed( 7 atUri: string, 8 cid: string | null, 9 operation: FirehoseEventType, 10 ): Promise<Result<boolean>>; 11 12 hasBeenDeleted(atUri: string): Promise<Result<boolean>>; 13}