UNPKG

@ts4ocds/lots

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.

20 lines (16 loc) 686 B
/** * @packageDocumentation * @module Lots.Lot */ import { TenderStatuses } from '@ts4ocds/core/tender'; import { ClosedCodeList, CodeList } from '@ts4ocds/utils'; /** * The current status of the process related to this {@link Lot | lot} * based on the [tenderStatus codelist](http://standard.open-contracting.org/1.1/en/schema/codelists/#tender-status) */ export const LotStatuses = new ClosedCodeList([...TenderStatuses]); /** * The current status of the process related to this {@link Lot | lot} * based on the [tenderStatus codelist](http://standard.open-contracting.org/1.1/en/schema/codelists/#tender-status) */ export type LotStatus = CodeList<typeof LotStatuses>;