export interface RelationshipSeveranceEventTypeRegistry { domain_block: never; user_domain_block: never; account_suspension: never; } export type RelationshipSeveranceEventType = keyof RelationshipSeveranceEventTypeRegistry; /** * Summary of a moderation or block event that caused follow relationships to be severed. */ export interface RelationshipSeveranceEvent { /** The ID of the relationship severance event in the database. */ id: string; /** Type of event. */ type: RelationshipSeveranceEventType; /** Whether the list of severed relationships is unavailable because the underlying issue has been purged. */ purged: boolean; /** Number of followers that were removed as result of the event. */ followersCount: number; /** Number of accounts the user stopped following as result of the event. */ followingCount: number; /** Name of the target of the moderation/block event. This is either a domain name or a user handle, depending on the event type. */ targetName: string; /** When the event took place. */ createdAt: string; }