import type { Prisma } from "@prisma/client";

export type AuditModule =
  | "indicators"
  | "outcomes"
  | "verification"
  | "activities"
  | "attendance"
  | "domain"
  | "rbac"
  | "users"
  | "ops";

export type AuditWriteInput = {
  projectId: bigint;
  trainingProviderId?: bigint | null;
  trainingId?: bigint | null;
  cohortId?: bigint | null;
  batchId?: bigint | null;
  module: AuditModule;
  action: string;
  sourceType?: string | null;
  sourceRef?: string | null;
  payloadRaw?: string | null;
  meta?: Prisma.InputJsonValue;
  actorUserId?: bigint | null;
};

