const CONVENTION_PATTERNS = [
  { name: "validate", pattern: /^validate\s+(.+)/i, description: "Validate input data" },
  { name: "check-no-existing", pattern: /^check\s+(?:no\s+existing|.*has\s+no\s+existing)\s+(\w+)\s+for\s+(\w+)\s+in\s+(\w+)/i, description: "Check no duplicate entity exists for a pair" },
  { name: "check", pattern: /^check\s+(.+)/i, description: "Check a condition" },
  { name: "find", pattern: /^find\s+(\w+)\s+by\s+(\w+)/i, description: "Find entity by field" },
  { name: "find-all-for", pattern: /^find\s+(?:all\s+)?(\w+?)s?\s+(?:for|of|belonging\s+to)\s+(\w+)/i, description: "Cross-model query via foreign key" },
  { name: "count-per", pattern: /^count\s+(\w+?)s?\s+(?:per|by|for\s+each)\s+(\w+)/i, description: "Group-by aggregation count" },
  { name: "create", pattern: /^create\s+(\w+)(?:\s+record)?/i, description: "Create a new entity" },
  { name: "update-field", pattern: /^update\s+(\w+)\s+(\w+)\s+to\s+(.+)/i, description: "Update specific field to value" },
  { name: "update", pattern: /^update\s+(\w+)$/i, description: "Update entity with params" },
  { name: "delete", pattern: /^delete\s+(\w+)/i, description: "Delete an entity" },
  { name: "transition", pattern: /^transition\s+(\w+)\s+to\s+(\w+)/i, description: "Lifecycle state transition" },
  { name: "set", pattern: /^set\s+(\w+)\s+to\s+(.+)/i, description: "Set a field value" },
  { name: "increment", pattern: /^increment\s+(\w+)\s+by\s+(\w+)/i, description: "Increment numeric field" },
  { name: "decrement", pattern: /^decrement\s+(\w+)\s+by\s+(\w+)/i, description: "Decrement numeric field" },
  { name: "calculate", pattern: /^calculate\s+(.+)/i, description: "Calculate metric or aggregation" },
  { name: "send-event", pattern: /^(?:send|emit|publish)\s+(\w+)\s+event/i, description: "Publish domain event" },
  { name: "send-notification", pattern: /^send\s+(\w+)\s+notification/i, description: "Send notification event" },
  { name: "call-service", pattern: /^call\s+(\w+)\.(\w+)/i, description: "Delegate to another service" },
  { name: "return", pattern: /^return\s+(.+)/i, description: "Return a value" }
];
export {
  CONVENTION_PATTERNS
};
