import { Selectable } from "kysely";

export interface Event {
  id: number;
  action: string;
  subjectType: string;
  subjectDid: string;
  subjectUri: string | null;
  subjectCid: string | null;
  subjectBlobCids: string | null;
  subjectMessageId: string | null;
  createLabelVals: string | null;
  negateLabelVals: string | null;
  comment: string | null;
  createdAt: string;
  createdBy: string;
  durationInHours: number | null;
  expiresAt: string | null;
  meta: string | null;
  addedTags: string | null;
  removedTags: string | null;
}

export type EventRow = Selectable<Event>;
