import { createModuleEvents } from "@open-mercato/shared/modules/events";
const events = [
  // Tenants
  { id: "directory.tenant.created", label: "Tenant Created", entity: "tenant", category: "crud" },
  { id: "directory.tenant.updated", label: "Tenant Updated", entity: "tenant", category: "crud" },
  { id: "directory.tenant.deleted", label: "Tenant Deleted", entity: "tenant", category: "crud" },
  // Organizations
  { id: "directory.organization.created", label: "Organization Created", entity: "organization", category: "crud" },
  { id: "directory.organization.updated", label: "Organization Updated", entity: "organization", category: "crud" },
  { id: "directory.organization.deleted", label: "Organization Deleted", entity: "organization", category: "crud" }
];
const eventsConfig = createModuleEvents({
  moduleId: "directory",
  events
});
const emitDirectoryEvent = eventsConfig.emit;
var events_default = eventsConfig;
export {
  events_default as default,
  emitDirectoryEvent,
  eventsConfig
};
//# sourceMappingURL=events.js.map
