orcid-parser
    Preparing search index...

    Type Alias WorkType

    WorkType: typeof WORK_TYPES[keyof typeof WORK_TYPES]

    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
    }
    }