UNPKG

@atproto/ozone

Version:

Backend service for moderating the Bluesky network.

23 lines (17 loc) 452 B
import { Generated, Selectable } from 'kysely' export const tableName = 'label' export interface Label { id: Generated<number> src: string uri: string cid: string val: string neg: boolean cts: string exp: string | null sig: Buffer | null signingKeyId: number | null } export type LabelRow = Selectable<Label> export type PartialDB = { [tableName]: Label } export const LabelChannel = 'label_channel' // used with notify/listen