import {
  BaseService
} from "./chunk-W72PRNJY.js";

// runtime/base-classes/activity-entity-service.ts
var ActivityEntityService = class extends BaseService {
  /**
   * Find activities within a date range (inclusive).
   */
  findByDateRange(start, end) {
    return this.repository.findByDateRange(start, end);
  }
  /**
   * Find all activities for a specific user.
   */
  findByUser(userId) {
    return this.repository.findByUserId(userId);
  }
  /**
   * Find all activities for a specific opportunity.
   */
  findByOpportunity(opportunityId) {
    return this.repository.findByOpportunityId(opportunityId);
  }
  /**
   * Find the most recent activities for an opportunity.
   */
  findRecent(opportunityId, limit) {
    return this.repository.findRecentByOpportunityId(opportunityId, limit);
  }
};

export {
  ActivityEntityService
};
//# sourceMappingURL=chunk-BOPZWRJK.js.map