Union type of all valid ORCID work type string values.
This type is derived from the WORK_TYPES constant object and includes all possible work type string values (e.g., 'journal-article', 'book', etc.).
function processWork(type: WorkType) { switch (type) { case WORK_TYPES.ARTICLE: console.log('Processing journal article'); break; case WORK_TYPES.BOOK: console.log('Processing book'); break; // ... handle other types }} Copy
function processWork(type: WorkType) { switch (type) { case WORK_TYPES.ARTICLE: console.log('Processing journal article'); break; case WORK_TYPES.BOOK: console.log('Processing book'); break; // ... handle other types }}
Union type of all valid ORCID work type string values.