import { auditCompanyStub } from "@tailor-platform/erp-kit/module";
import { umModules, auditModules } from "./modules";

// Destructured for DB scanner (tailor.config.ts db.files).
// This file must NOT be imported by resolvers — property access prevents tree-shaking.

// user-management
export const { user, permission, role, userRole, rolePermission } = umModules.db;

// audit
export const { auditableEntity, auditPolicy, policyFieldRule, auditEntry, changeDetail } =
  auditModules.db;
export { auditCompanyStub as company };
