This repository has no description
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}