UNPKG

@ts4ocds/core

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.

18 lines (15 loc) 639 B
/** * @packageDocumentation * @module Standard.Award */ import { ClosedCodeList, CodeList } from '@ts4ocds/utils'; /** * The current status of the {@link Award | award}, * from the closed [awardStatus](https://standard.open-contracting.org/1.1/en/schema/codelists/#award-status) codelist. */ export const AwardStatuses = new ClosedCodeList(['pending', 'active', 'cancelled', 'unsuccessful']); /** * The current status of the {@link Award | award}, * from the closed [awardStatus](https://standard.open-contracting.org/1.1/en/schema/codelists/#award-status) codelist. */ export type AwardStatus = CodeList<typeof AwardStatuses>;