@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.
27 lines (23 loc) • 672 B
text/typescript
/**
* @packageDocumentation
* @module Standard.Tender
*/
import { ClosedCodeList, CodeList } from '@ts4ocds/utils';
/**
* The current status of the tender,
* from the closed [tenderStatus](https://standard.open-contracting.org/1.1/en/schema/codelists/#tender-status) codelist.
*/
export const TenderStatuses = new ClosedCodeList([
'planning',
'planned',
'active',
'cancelled',
'unsuccessful',
'complete',
'withdrawn',
]);
/**
* The current status of the tender,
* from the closed [tenderStatus](https://standard.open-contracting.org/1.1/en/schema/codelists/#tender-status) codelist.
*/
export type TenderStatus = CodeList<typeof TenderStatuses>;