# Interface AggregatorInputs

Inputs to aggregateLegislativeEffectiveness.

interface AggregatorInputs {
adoptedTexts: readonly AdoptedText[];
dateFrom: string;
dateTo: string;
plenaryDocumentItems: readonly LegislativeDocument[];
procedures: readonly Procedure[];
questions: readonly ParliamentaryQuestion[];
subjectId: string;
committeeMemberIds?: readonly string[];
subjectName?: string;
}

- Defined in utils/effectivenessAggregator.ts:249

##### Index

### Properties

adoptedTexts
dateFrom
dateTo
plenaryDocumentItems
procedures
questions
subjectId
committeeMemberIds?
subjectName?

## Properties

### adoptedTexts

adoptedTexts: readonly AdoptedText[]

Adopted texts fetched from `/adopted-texts`.

- Defined in utils/effectivenessAggregator.ts:271

### dateFrom

dateFrom: string

Inclusive ISO-date window for filtering procedures, documents, and questions.

- Defined in utils/effectivenessAggregator.ts:265

### dateTo

dateTo: string

Inclusive ISO-date window upper bound.

- Defined in utils/effectivenessAggregator.ts:267

### plenaryDocumentItems

plenaryDocumentItems: readonly LegislativeDocument[]

Plenary-session document items fetched from `/plenary-session-documents-items`.

- Defined in utils/effectivenessAggregator.ts:273

### procedures

procedures: readonly Procedure[]

Procedures fetched from `/procedures`.

- Defined in utils/effectivenessAggregator.ts:269

### questions

questions: readonly ParliamentaryQuestion[]

Parliamentary questions fetched from `/parliamentary-questions`.

- Defined in utils/effectivenessAggregator.ts:275

### subjectId

subjectId: string

Subject identifier (MEP ID or committee abbreviation).

- Defined in utils/effectivenessAggregator.ts:251

### `Optional` committeeMemberIds

committeeMemberIds?: readonly string[]

Optional list of committee member MEP IDs. When provided, the aggregator treats any rapporteur/author hit against a member as a hit for the committee subject.

- Defined in utils/effectivenessAggregator.ts:263

### `Optional` subjectName

subjectName?: string

Optional human-readable subject name (e.g. MEP full name). When provided, enables rapporteur name-based matching against the procedure's `rapporteur` field (which carries human-readable text like "Jane Andersson").

- Defined in utils/effectivenessAggregator.ts:257