import { assertDestructiveDbAllowed } from "./destructive-db-guard.js";

const TEST_DATABASE_NAMES = [
  "capakraken_test",
  "capakraken_e2e",
  "capakraken_ci",
];

export function assertSafeSeedTarget(commandName: string) {
  return assertDestructiveDbAllowed({
    commandName,
    allowedDatabaseNames: TEST_DATABASE_NAMES,
  });
}
