UNPKG

@atproto/ozone

Version:

Backend service for moderating the Bluesky network.

22 lines (17 loc) 495 B
import { Generated } from 'kysely' export const eventTableName = 'record_push_event' export type RecordPushEventType = 'pds_takedown' | 'appview_takedown' export interface RecordPushEvent { id: Generated<number> eventType: RecordPushEventType subjectDid: string subjectUri: string subjectCid: string takedownRef: string | null confirmedAt: Date | null lastAttempted: Date | null attempts: Generated<number> } export type PartialDB = { [eventTableName]: RecordPushEvent }