@ts4ocds/requirements
Version:
TS4OCDS is a library of TypeScript entities that takes an approach to befriend large OCDS JSONs with your per-project routine of writing whole lotta interfaces for them.
29 lines (24 loc) • 1.02 kB
text/typescript
/**
* @packageDocumentation
* @module Requirements
*/
import * as Core from '@ts4ocds/core/award';
import type { Initializer } from '@ts4ocds/utils';
import type { RequirementResponse } from '../requirement-response';
/**
* An award for the given procurement.
* There can be more than one award per contracting process e.g. because the contract is split among different providers,
* or because it is a standing offer.
*
* @param RR
* A list of the detailed {@link RequirementResponse.RequirementResponse | responses} of this award to the {@link Requirement.Requirement | requirements} of the tender.
*/
export class Award<RR extends RequirementResponse = RequirementResponse> extends Core.Award {
/**
* A list of the detailed {@link RequirementResponse.RequirementResponse | responses} of this award to the {@link Requirement.Requirement | requirements} of the tender.
*/
public requirementResponses?: RR[];
public constructor(initializer: Initializer<Award<RR>>) {
super(initializer);
}
}