UNPKG

@atproto/ozone

Version:

Backend service for moderating the Bluesky network.

20 lines (15 loc) 443 B
import { Generated } from 'kysely' export const eventTableName = 'repo_push_event' export type RepoPushEventType = 'pds_takedown' | 'appview_takedown' export interface RepoPushEvent { id: Generated<number> eventType: RepoPushEventType subjectDid: string takedownRef: string | null confirmedAt: Date | null lastAttempted: Date | null attempts: Generated<number> } export type PartialDB = { [eventTableName]: RepoPushEvent }