import type { ActivityId } from "./ActivityId"; import type { InstanceId } from "./InstanceId"; export type FederationQueueState = { instance_id: InstanceId; /** * the last successfully sent activity id */ last_successful_id?: ActivityId; last_successful_published_time_at?: string; /** * how many failed attempts have been made to send the next activity */ fail_count: number; /** * timestamp of the last retry attempt (when the last failing activity was resent) */ last_retry_at?: string; };