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 (actor / owner scoping).
   */
  findByUser(userId) {
    return this.repository.findByUserId(userId);
  }
  /**
   * Find all activities for a specific subject (config-driven FK column).
   */
  findBySubject(subjectId) {
    return this.repository.findBySubjectId(subjectId);
  }
  /**
   * Find the most recent activities for a subject.
   */
  findRecent(subjectId, limit) {
    return this.repository.findRecentBySubjectId(subjectId, limit);
  }
};

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