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.

36 lines (32 loc) 1.03 kB
/** * @packageDocumentation * @module Standard */ import { ClosedCodeList, CodeList } from '@ts4ocds/utils'; /** * One or more values from the closed [releaseTag](https://standard.open-contracting.org/1.1/en/schema/codelists/#release-tag) * codelist. Tags can be used to filter releases and to understand the kind of information that releases might contain. */ export const ReleaseTags = new ClosedCodeList([ 'planning', 'planningUpdate', 'tender', 'tenderAmendment', 'tenderUpdate', 'tenderCancellation', 'award', 'awardUpdate', 'awardCancellation', 'contract', 'contractUpdate', 'contractAmendment', 'implementation', 'implementationUpdate', 'contractTermination', 'compiled', ]); /** * One or more values from the closed [releaseTag](https://standard.open-contracting.org/1.1/en/schema/codelists/#release-tag) * codelist. Tags can be used to filter releases and to understand the kind of information that releases might contain. */ export type ReleaseTag = CodeList<typeof ReleaseTags>;