diff --git a/CHANGELOG.md b/CHANGELOG.md index 641e1a3dd..261dadf85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v2.109.7 - 2024-12-16 + +[Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.109.6...v2.109.7) + ## v2.109.6 - 2024-12-12 [Full Changelog](https://github.com/ORCID/orcid-angular/compare/v2.109.5...v2.109.6) diff --git a/documentation.json b/documentation.json index cceda5c7d..812d0f11a 100644 --- a/documentation.json +++ b/documentation.json @@ -4033,7 +4033,7 @@ "deprecated": false, "deprecationMessage": "", "type": "interface", - "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Online resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Data set`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Lecture/speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", + "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue or edition`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Interactive resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic output or performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Dataset`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Talk, interview, podcast or speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", "properties": [ { "name": "citation", @@ -6153,7 +6153,7 @@ "deprecated": false, "deprecationMessage": "", "type": "interface", - "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Online resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Data set`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Lecture/speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", + "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue or edition`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Interactive resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic output or performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Dataset`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Talk, interview, podcast or speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", "properties": [ { "name": "moreAvailable", @@ -11294,7 +11294,7 @@ "deprecated": false, "deprecationMessage": "", "type": "interface", - "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Online resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Data set`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Lecture/speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", + "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:ournal issue or edition`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Interactive resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic output or performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Dataset`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Talk, interview, podcast or speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", "properties": [ { "name": "key", @@ -12632,7 +12632,7 @@ "deprecated": false, "deprecationMessage": "", "type": "interface", - "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Online resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Data set`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Lecture/speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", + "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue or edition`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Interactive resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic output or performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Dataset`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Talk, interview, podcast or speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", "properties": [ { "name": "orcid", @@ -14196,7 +14196,7 @@ "deprecated": false, "deprecationMessage": "", "type": "interface", - "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Online resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Data set`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Lecture/speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", + "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue or edition`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Interactive resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic output or performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Dataset`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Talk, interview, podcast or speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", "properties": [ { "name": "checked", @@ -14447,7 +14447,7 @@ "deprecated": false, "deprecationMessage": "", "type": "interface", - "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Online resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Data set`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Lecture/speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", + "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue or edition`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Interactive resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic output or performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Dataset`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Talk, interview, podcast or speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", "properties": [ { "name": "errors", @@ -14574,7 +14574,7 @@ "deprecated": false, "deprecationMessage": "", "type": "interface", - "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Online resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Data set`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Lecture/speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", + "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue or edition`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Interactive resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic output or performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Dataset`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Talk, interview, podcast or speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", "properties": [ { "name": "description", @@ -14615,7 +14615,7 @@ "deprecated": false, "deprecationMessage": "", "type": "interface", - "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Online resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Data set`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Lecture/speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", + "sourceCode": "import { ExternalIdentifier, MonthDayYearDate, Value } from './common.endpoint'\n\nexport interface Citation {\n citation: Value\n citationType: Value\n errors: any[]\n getRequiredMessage?: any\n required: boolean\n}\n\nexport enum WorkCategories {\n publication = 'publication',\n conference = 'conference',\n intellectual_property = 'intellectual_property',\n other_output = 'other_output',\n}\n\nexport enum WorkPublicationTypes {\n book = 'book',\n bookChapter = 'book-chapter',\n bookReview = 'book-review',\n dictionaryEntry = 'dictionary-entry',\n dissertationThesis = 'dissertation-thesis',\n editedBook = 'edited-book',\n encyclopediaEntry = 'encyclopedia-entry',\n journalArticle = 'journal-article',\n journalIssue = 'journal-issue',\n magazineArticle = 'magazine-article',\n manual = 'manual',\n newsletterArticle = 'newsletter-article',\n newspaperArticle = 'newspaper-article',\n onlineResource = 'online-resource',\n preprint = 'preprint',\n report = 'report',\n researchTool = 'research-tool',\n supervisedStudentPublication = 'supervised-student-publication',\n test = 'test',\n translation = 'translation',\n website = 'website',\n workingPaper = 'working-paper',\n review = 'review',\n}\n\nexport enum WorkConferenceTypes {\n conferenceAbstract = 'conference-abstract',\n conferencePaper = 'conference-paper',\n conferencePoster = 'conference-poster',\n}\n\nexport enum WorkIntellectualPropertyTypes {\n disclosure = 'disclosure',\n license = 'license',\n patent = 'patent',\n registeredCopyright = 'registered-copyright',\n trademark = 'trademark',\n}\n\nexport enum WorkOtherOutputTypes {\n annotation = 'annotation',\n artisticPerformance = 'artistic-performance',\n dataManagementPlan = 'data-management-plan', //\n dataSet = 'data-set',\n invention = 'invention',\n lectureSpeech = 'lecture-speech',\n other = 'other',\n physicalObject = 'physical-object',\n researchTechnique = 'research-technique',\n software = 'software', //\n spinOffCompany = 'spin-off-company',\n standardsAndPolicy = 'standards-and-policy',\n technicalStandard = 'technical-standard',\n}\n\nexport const WorkCategoriesLabel = {\n [WorkCategories.conference]: $localize`:@@works.conference:Conference`,\n [WorkCategories.intellectual_property]: $localize`:@@works.intellectual:Intellectual property`,\n [WorkCategories.other_output]: $localize`:@@works.other:Other`,\n [WorkCategories.publication]: $localize`:@@works.publication:Publication`,\n}\n\nexport const WorkTypesLabels = {\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue or edition`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Interactive resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic output or performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Dataset`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Talk, interview, podcast or speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}\n\nexport enum WorksTitleName {\n publisher = 'publisher',\n conferenceTitle = 'conferenceTitle',\n bookTitle = 'bookTitle',\n journalTitle = 'journalTitle',\n magazineTitle = 'magazineTitle',\n newsletterTitle = 'newsletterTitle',\n newspaperTitle = 'newspaperTitle',\n institution = 'institution',\n custodian = 'custodian',\n trademark = 'trademark',\n}\n\nexport const WorksTitleNameLabel = {\n [WorksTitleName.publisher]: $localize`:@@works.publisher:Publisher`,\n [WorksTitleName.conferenceTitle]: $localize`:@@works.conferenceTitle:Conference title`,\n [WorksTitleName.bookTitle]: $localize`:@@works.bookTitle:Book title`,\n [WorksTitleName.journalTitle]: $localize`:@@works.journalTitle:Journal title`,\n [WorksTitleName.magazineTitle]: $localize`:@@works.magazineTitle:Magazine title`,\n [WorksTitleName.newsletterTitle]: $localize`:@@works.newsletterTitle:Newsletter title`,\n [WorksTitleName.newspaperTitle]: $localize`:@@works.newspaperTitle:Newspaper title`,\n [WorksTitleName.institution]: $localize`:@@works.institution:Institution`,\n [WorksTitleName.custodian]: $localize`:@@works.custodian:Custodian`,\n [WorksTitleName.trademark]: $localize`:@@works.trademark:Trademark`,\n}\n\nexport const WorkTypesTitle = {\n [WorkConferenceTypes.conferenceAbstract]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePaper]: WorksTitleName.conferenceTitle,\n [WorkConferenceTypes.conferencePoster]: WorksTitleName.conferenceTitle,\n [WorkPublicationTypes.book]: WorksTitleName.publisher,\n [WorkPublicationTypes.bookChapter]: WorksTitleName.bookTitle,\n [WorkPublicationTypes.bookReview]: WorksTitleName.publisher,\n [WorkPublicationTypes.dictionaryEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.editedBook]: WorksTitleName.publisher,\n [WorkPublicationTypes.dissertationThesis]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.encyclopediaEntry]: WorksTitleName.publisher,\n [WorkPublicationTypes.journalArticle]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.journalIssue]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.magazineArticle]: WorksTitleName.magazineTitle,\n [WorkPublicationTypes.manual]: WorksTitleName.publisher,\n [WorkPublicationTypes.newsletterArticle]: WorksTitleName.newsletterTitle,\n [WorkPublicationTypes.newspaperArticle]: WorksTitleName.newspaperTitle,\n [WorkPublicationTypes.onlineResource]: WorksTitleName.publisher,\n [WorkPublicationTypes.preprint]: WorksTitleName.journalTitle,\n [WorkPublicationTypes.report]: WorksTitleName.institution,\n [WorkPublicationTypes.researchTool]: WorksTitleName.institution,\n [WorkPublicationTypes.supervisedStudentPublication]:\n WorksTitleName.institution,\n [WorkPublicationTypes.test]: WorksTitleName.institution,\n [WorkPublicationTypes.translation]: WorksTitleName.publisher,\n [WorkPublicationTypes.website]: WorksTitleName.publisher,\n [WorkPublicationTypes.workingPaper]: WorksTitleName.institution,\n [WorkIntellectualPropertyTypes.disclosure]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.license]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.patent]: WorksTitleName.publisher,\n [WorkPublicationTypes.review]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.registeredCopyright]: WorksTitleName.publisher,\n [WorkIntellectualPropertyTypes.trademark]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.annotation]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.artisticPerformance]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.dataManagementPlan]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.dataSet]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.invention]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.lectureSpeech]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.physicalObject]: WorksTitleName.custodian,\n [WorkOtherOutputTypes.researchTechnique]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.software]: WorksTitleName.journalTitle,\n [WorkOtherOutputTypes.spinOffCompany]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.standardsAndPolicy]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.technicalStandard]: WorksTitleName.publisher,\n [WorkOtherOutputTypes.other]: WorksTitleName.publisher,\n}\n\nexport const WorkTypesByCategory = {\n [WorkCategories.conference]: WorkConferenceTypes,\n [WorkCategories.publication]: WorkPublicationTypes,\n [WorkCategories.intellectual_property]: WorkIntellectualPropertyTypes,\n [WorkCategories.other_output]: WorkOtherOutputTypes,\n}\n\nexport const LanguageMap = {\n Abkhazian: 'ab',\n Afar: 'aa',\n Afrikaans: 'af',\n Akan: 'ak',\n Albanian: 'sq',\n Amharic: 'am',\n Arabic: 'ar',\n Aragonese: 'an',\n Armenian: 'hy',\n Assamese: 'as',\n Avaric: 'av',\n Avestan: 'ae',\n Aymara: 'ay',\n Azerbaijani: 'az',\n Bambara: 'bm',\n Bangla: 'bn',\n Bashkir: 'ba',\n Basque: 'eu',\n Belarusian: 'be',\n Bihari: 'bh',\n Bislama: 'bi',\n Bosnian: 'bs',\n Breton: 'br',\n Bulgarian: 'bg',\n Burmese: 'my',\n Catalan: 'ca',\n Chamorro: 'ch',\n Chechen: 'ce',\n 'Chinese (simplified)': 'zh_CN',\n 'Chinese (traditional)': 'zh_TW',\n 'Church Slavic': 'cu',\n Chuvash: 'cv',\n Cornish: 'kw',\n Corsican: 'co',\n Cree: 'cr',\n Croatian: 'hr',\n Czech: 'cs',\n Danish: 'da',\n Divehi: 'dv',\n Dutch: 'nl',\n Dzongkha: 'dz',\n English: 'en',\n Esperanto: 'eo',\n Estonian: 'et',\n Ewe: 'ee',\n Faroese: 'fo',\n Fijian: 'fj',\n Finnish: 'fi',\n French: 'fr',\n Fulah: 'ff',\n Galician: 'gl',\n Ganda: 'lg',\n Georgian: 'ka',\n German: 'de',\n Greek: 'el',\n Guarani: 'gn',\n Gujarati: 'gu',\n 'Haitian Creole': 'ht',\n Hausa: 'ha',\n Hebrew: 'iw',\n Herero: 'hz',\n Hindi: 'hi',\n 'Hiri Motu': 'ho',\n Hungarian: 'hu',\n Icelandic: 'is',\n Ido: 'io',\n Igbo: 'ig',\n Indonesian: 'in',\n Interlingua: 'ia',\n Interlingue: 'ie',\n Inuktitut: 'iu',\n Inupiaq: 'ik',\n Irish: 'ga',\n Italian: 'it',\n Japanese: 'ja',\n Javanese: 'jv',\n Kalaallisut: 'kl',\n Kannada: 'kn',\n Kanuri: 'kr',\n Kashmiri: 'ks',\n Kazakh: 'kk',\n Khmer: 'km',\n Kikuyu: 'ki',\n Kinyarwanda: 'rw',\n Komi: 'kv',\n Kongo: 'kg',\n Korean: 'ko',\n Kuanyama: 'kj',\n Kurdish: 'ku',\n Kyrgyz: 'ky',\n Lao: 'lo',\n Latin: 'la',\n Latvian: 'lv',\n Limburgish: 'li',\n Lingala: 'ln',\n Lithuanian: 'lt',\n 'Luba-Katanga': 'lu',\n Luxembourgish: 'lb',\n Macedonian: 'mk',\n Malagasy: 'mg',\n Malay: 'ms',\n Malayalam: 'ml',\n Maltese: 'mt',\n Manx: 'gv',\n Maori: 'mi',\n Marathi: 'mr',\n Marshallese: 'mh',\n Moldavian: 'mo',\n Mongolian: 'mn',\n Nauru: 'na',\n Navajo: 'nv',\n Ndonga: 'ng',\n Nepali: 'ne',\n 'North Ndebele': 'nd',\n 'Northern Sami': 'se',\n Norwegian: 'no',\n 'Norwegian Bokmål': 'nb',\n 'Norwegian Nynorsk': 'nn',\n Nyanja: 'ny',\n Occitan: 'oc',\n Odia: 'or',\n Ojibwa: 'oj',\n Oromo: 'om',\n Ossetic: 'os',\n Pali: 'pi',\n Pashto: 'ps',\n Persian: 'fa',\n Polish: 'pl',\n Portuguese: 'pt',\n Punjabi: 'pa',\n Quechua: 'qu',\n Romanian: 'ro',\n Romansh: 'rm',\n Rundi: 'rn',\n Russian: 'ru',\n Samoan: 'sm',\n Sango: 'sg',\n Sanskrit: 'sa',\n Sardinian: 'sc',\n 'Scottish Gaelic': 'gd',\n Serbian: 'sr',\n Shona: 'sn',\n 'Sichuan Yi': 'ii',\n Sindhi: 'sd',\n Sinhala: 'si',\n Slovak: 'sk',\n Slovenian: 'sl',\n Somali: 'so',\n 'South Ndebele': 'nr',\n 'Southern Sotho': 'st',\n Spanish: 'es',\n Sundanese: 'su',\n Swahili: 'sw',\n Swati: 'ss',\n Swedish: 'sv',\n Tagalog: 'tl',\n Tahitian: 'ty',\n Tajik: 'tg',\n Tamil: 'ta',\n Tatar: 'tt',\n Telugu: 'te',\n Thai: 'th',\n Tibetan: 'bo',\n Tigrinya: 'ti',\n Tongan: 'to',\n Tsonga: 'ts',\n Tswana: 'tn',\n Turkish: 'tr',\n Turkmen: 'tk',\n Twi: 'tw',\n Ukrainian: 'uk',\n Urdu: 'ur',\n Uyghur: 'ug',\n Uzbek: 'uz',\n Venda: 've',\n Vietnamese: 'vi',\n Volapük: 'vo',\n Walloon: 'wa',\n Welsh: 'cy',\n 'Western Frisian': 'fy',\n Wolof: 'wo',\n Xhosa: 'xh',\n Yiddish: 'ji',\n Yoruba: 'yo',\n}\n\nexport const CitationTypes = {\n 'formatted-apa': 'APA',\n bibtex: 'BIBTEX',\n 'formatted-chicago': 'CHICAGO',\n 'formatted-harvard': 'HARVARD',\n 'formatted-ieee': 'IEEE',\n 'formatted-mla': 'MLA',\n ris: 'RIS',\n 'formatted-unspecified': 'UNSPECIFIED',\n 'formatted-vancouver': 'VANCOUVER',\n}\n\nexport const ContributionRoles: Role[] = [\n {\n key: 'no specified role',\n value: null,\n translation: $localize`:@@works.noSpecifiedRole:No specified role`,\n },\n {\n key: 'conceptualization',\n value: 'http://credit.niso.org/contributor-roles/conceptualization/',\n translation: $localize`:@@works.conceptualization:Conceptualization`,\n },\n {\n key: 'data curation',\n value: 'http://credit.niso.org/contributor-roles/data-curation/',\n translation: $localize`:@@works.dataCuration:Data curation`,\n },\n {\n key: 'formal analysis',\n value: 'http://credit.niso.org/contributor-roles/formal-analysis/',\n translation: $localize`:@@works.formalAnalysis:Formal analysis`,\n },\n {\n key: 'funding acquisition',\n value: 'http://credit.niso.org/contributor-roles/funding-acquisition/',\n translation: $localize`:@@works.fundingAcquisition:Funding acquisition`,\n },\n {\n key: 'investigation',\n value: 'http://credit.niso.org/contributor-roles/investigation/',\n translation: $localize`:@@works.investigation:Investigation`,\n },\n {\n key: 'methodology',\n value: 'http://credit.niso.org/contributor-roles/methodology/',\n translation: $localize`:@@works.methodology:Methodology`,\n },\n {\n key: 'project administration',\n value: 'http://credit.niso.org/contributor-roles/project-administration/',\n translation: $localize`:@@works.projectAdministration:Project administration`,\n },\n {\n key: 'resources',\n value: 'http://credit.niso.org/contributor-roles/resources/',\n translation: $localize`:@@works.resources:Resources`,\n },\n {\n key: 'software',\n value: 'http://credit.niso.org/contributor-roles/software/',\n translation: $localize`:@@works.software:Software`,\n },\n {\n key: 'supervision',\n value: 'http://credit.niso.org/contributor-roles/supervision/',\n translation: $localize`:@@works.supervision:Supervision`,\n },\n {\n key: 'validation',\n value: 'http://credit.niso.org/contributor-roles/validation/',\n translation: $localize`:@@works.validation:Validation`,\n },\n {\n key: 'visualization',\n value: 'http://credit.niso.org/contributor-roles/visualization/',\n translation: $localize`:@@works.visualization:Visualization`,\n },\n {\n key: 'writing - original draft',\n value: 'http://credit.niso.org/contributor-roles/writing-original-draft/',\n translation: $localize`:@@works.writingOriginalDraft:Writing - original draft`,\n },\n {\n key: 'writing - review & editing',\n value: 'http://credit.niso.org/contributor-roles/writing-review-editing/',\n translation: $localize`:@@works.writingReviewEditing:Writing - review & editing`,\n },\n]\n\nexport const _LEGACY_ContributionRoles: Role[] = [\n {\n key: 'author',\n value: null,\n translation: $localize`:@@works.author:Author`,\n },\n {\n key: 'assignee',\n value: null,\n translation: $localize`:@@works.assignee:Assignee`,\n },\n {\n key: 'editor',\n value: null,\n translation: $localize`:@@works.editor:Editor`,\n },\n {\n key: 'chair-or-translator',\n value: null,\n translation: $localize`:@@works.chairOrTranslator:Chair or Translator`,\n },\n {\n key: 'co-investigator',\n value: null,\n translation: $localize`:@@works.coInvestigator:Co-investigator`,\n },\n {\n key: 'co-inventor',\n value: null,\n translation: $localize`:@@works.coInventor:Co-inventor`,\n },\n {\n key: 'graduate-student',\n value: null,\n translation: $localize`:@@works.graduateStudent:Graduate Student`,\n },\n {\n key: 'other-inventor',\n value: null,\n translation: $localize`:@@works.otherInventor:Other inventor`,\n },\n {\n key: 'principal-investigator',\n value: null,\n translation: $localize`:@@works.principalInvestigator:Principal Investigator`,\n },\n {\n key: 'postdoctoral-researcher',\n value: null,\n translation: $localize`:@@works.postdoctoralResearcher:Postdoctoral Researcher`,\n },\n {\n key: 'support-staff',\n value: null,\n translation: $localize`:@@works.supportStaff:Support Staff`,\n },\n {\n key: 'lead',\n value: null,\n translation: $localize`:@@works.lead:Lead`,\n },\n {\n key: 'co-lead',\n value: null,\n translation: $localize`:@@works.coLead:Co-lead`,\n },\n {\n key: 'supported-by',\n value: null,\n translation: $localize`:@@works.supportedBy:Supported by`,\n },\n {\n key: 'other-contribution',\n value: null,\n translation: $localize`:@@works.otherContribution:Other contribution`,\n },\n]\n\nexport interface WorkIdType {\n name: string\n description: string\n resolutionPrefix: string\n}\n\nexport interface WorkIdTypeValidation {\n resolved: boolean\n attemptedResolution: boolean\n generatedUrl: string\n validFormat: boolean\n}\n\nexport interface WorkCombineEndpoint {\n errors: string[]\n workIds: any\n}\n\nexport enum WorkRelationships {\n self = 'self',\n 'part-of' = 'part-of',\n 'version-of' = 'version-of',\n 'funded-by' = 'funded-by',\n}\n\nexport const WorkRelationshipsLabels = {\n self: $localize`:@@works.self:Self`,\n 'part-of': $localize`:@@works.partOf:Part of`,\n 'version-of': $localize`:@@works.versionOf:Version of`,\n 'funded-by': $localize`:@@works.fundedBy:Funded by`,\n}\n\nexport const WorkRelationshipsHintsLabels = {\n self: $localize`:@@works.selfDescription:The identifier applies to the work itself. For example, a DOI for a book chapter.`,\n 'part-of': $localize`:@@works.partOfDescription:The identifier applies to part of a larger work. For example, the ISBN of the book in which the work was published.`,\n 'version-of': $localize`:@@works.versionOfDescription:The identifier applies to an alternate version of the work. For example, an earlier draft of an article.`,\n 'funded-by': $localize`:@@works.fundedByDescription:The identifier applies to the funding for the work.`,\n}\n\nexport interface Work {\n visibility: any\n errors: any[] // TODO is this always empty?\n publicationDate: MonthDayYearDate\n putCode: any\n shortDescription?: Value\n url?: Value\n journalTitle?: Value\n languageCode?: Value\n languageName?: Value\n citation?: Citation\n countryCode?: Value\n countryName?: Value\n contributors?: [any] // TODO is this always empty?\n workExternalIdentifiers: ExternalIdentifier[]\n source: string\n sourceName: string\n title: Value\n subtitle?: Value\n translatedTitle?: any // TODO is this always empty?\n workCategory?: Value\n workType: Value\n dateSortString?: string\n createdDate?: MonthDayYearDate\n lastModified?: MonthDayYearDate\n userSource: boolean\n checked: boolean\n}\n\nexport interface Suggestion {\n putCodes: number[]\n orcid: string\n putCodesAsString: string\n}\n\nexport interface GroupingSuggestions {\n suggestions: Suggestion[]\n moreAvailable: boolean\n}\n\nexport interface Role {\n key: string\n value: string\n translation: string\n}\n", "properties": [ { "name": "attemptedResolution", @@ -91656,7 +91656,7 @@ "deprecated": false, "deprecationMessage": "", "type": "object", - "defaultValue": "{\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Online resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Data set`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Lecture/speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}" + "defaultValue": "{\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue or edition`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Interactive resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic output or performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Dataset`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Talk, interview, podcast or speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}" }, { "name": "WorkTypesTitle", @@ -94350,7 +94350,7 @@ "deprecated": false, "deprecationMessage": "", "type": "object", - "defaultValue": "{\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Online resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Data set`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Lecture/speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}" + "defaultValue": "{\n [WorkCategories.conference]: {\n [WorkConferenceTypes.conferenceAbstract]: $localize`:@@works.abstract:Conference abstract`,\n [WorkConferenceTypes.conferencePaper]: $localize`:@@works.paper:Conference paper`,\n [WorkConferenceTypes.conferencePoster]: $localize`:@@works.poster:Conference poster`,\n },\n [WorkCategories.publication]: {\n [WorkPublicationTypes.bookChapter]: $localize`:@@works.chapter:Book chapter`,\n [WorkPublicationTypes.bookReview]: $localize`:@@works.review:Book review`,\n [WorkPublicationTypes.book]: $localize`:@@works.book:Book`,\n [WorkPublicationTypes.dictionaryEntry]: $localize`:@@works.entry:Dictionary entry`,\n [WorkPublicationTypes.dissertationThesis]: $localize`:@@works.thesis:Dissertation/Thesis`,\n [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`,\n [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`,\n [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`,\n [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue or edition`,\n [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`,\n [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`,\n [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`,\n [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`,\n [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Interactive resource`,\n [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`,\n [WorkPublicationTypes.report]: $localize`:@@works.report:Report`,\n [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`,\n [WorkPublicationTypes.supervisedStudentPublication]: $localize`:@@works.studentPublication:Supervised student publication`,\n [WorkPublicationTypes.test]: $localize`:@@works.test:Test`,\n [WorkPublicationTypes.translation]: $localize`:@@works.translation:Translation`,\n [WorkPublicationTypes.website]: $localize`:@@works.website:Website`,\n [WorkPublicationTypes.workingPaper]: $localize`:@@works.working:Working paper`,\n [WorkPublicationTypes.review]: $localize`:@@works.reviewPublication:Review`,\n },\n\n [WorkCategories.intellectual_property]: {\n [WorkIntellectualPropertyTypes.disclosure]: $localize`:@@works.disclosure:Disclosure`,\n [WorkIntellectualPropertyTypes.license]: $localize`:@@works.license:License`,\n [WorkIntellectualPropertyTypes.patent]: $localize`:@@works.patent:Patent`,\n [WorkIntellectualPropertyTypes.registeredCopyright]: $localize`:@@works.copyright:Registered copyright`,\n [WorkIntellectualPropertyTypes.trademark]: $localize`:@@works.trademark:Trademark`,\n },\n [WorkCategories.other_output]: {\n [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`,\n [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic output or performance`,\n [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`,\n [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Dataset`,\n [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`,\n [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Talk, interview, podcast or speech`,\n [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`,\n [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`,\n [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`,\n [WorkOtherOutputTypes.spinOffCompany]: $localize`:@@works.company:Spin off company`,\n [WorkOtherOutputTypes.standardsAndPolicy]: $localize`:@@works.policy:Standards and policy`,\n [WorkOtherOutputTypes.technicalStandard]: $localize`:@@works.standard:Technical Standard`,\n [WorkOtherOutputTypes.other]: $localize`:@@works.other:Other`,\n },\n}" }, { "name": "WorkTypesTitle", diff --git a/src/app/types/works.endpoint.ts b/src/app/types/works.endpoint.ts index d30f402e0..a6fa5cf10 100644 --- a/src/app/types/works.endpoint.ts +++ b/src/app/types/works.endpoint.ts @@ -93,12 +93,12 @@ export const WorkTypesLabels = { [WorkPublicationTypes.editedBook]: $localize`:@@works.editedBook:Edited book`, [WorkPublicationTypes.encyclopediaEntry]: $localize`:@@works.encyclopediaEntry:Encyclopedia entry`, [WorkPublicationTypes.journalArticle]: $localize`:@@works.journalArticle:Journal article`, - [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue`, + [WorkPublicationTypes.journalIssue]: $localize`:@@works.issue:Journal issue or edition`, [WorkPublicationTypes.magazineArticle]: $localize`:@@works.magazineArticle:Magazine article`, [WorkPublicationTypes.manual]: $localize`:@@works.manual:Manual`, [WorkPublicationTypes.newsletterArticle]: $localize`:@@works.newsletterarticle:Newsletter article`, [WorkPublicationTypes.newspaperArticle]: $localize`:@@works.newspaperArticle:Newspaper article`, - [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Online resource`, + [WorkPublicationTypes.onlineResource]: $localize`:@@works.onlineResource:Interactive resource`, [WorkPublicationTypes.preprint]: $localize`:@@works.preprint:Preprint`, [WorkPublicationTypes.report]: $localize`:@@works.report:Report`, [WorkPublicationTypes.researchTool]: $localize`:@@works.tool:Research tool`, @@ -119,11 +119,11 @@ export const WorkTypesLabels = { }, [WorkCategories.other_output]: { [WorkOtherOutputTypes.annotation]: $localize`:@@works.annotation:Annotation`, - [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic performance`, + [WorkOtherOutputTypes.artisticPerformance]: $localize`:@@works.artisticPerformance:Artistic output or performance`, [WorkOtherOutputTypes.dataManagementPlan]: $localize`:@@works.dataManagementPlan:Data management plan`, - [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Data set`, + [WorkOtherOutputTypes.dataSet]: $localize`:@@works.plan:Dataset`, [WorkOtherOutputTypes.invention]: $localize`:@@works.invention:Invention`, - [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Lecture/speech`, + [WorkOtherOutputTypes.lectureSpeech]: $localize`:@@works.speech:Talk, interview, podcast or speech`, [WorkOtherOutputTypes.physicalObject]: $localize`:@@works.object:Physical object`, [WorkOtherOutputTypes.researchTechnique]: $localize`:@@works.technique:Research technique`, [WorkOtherOutputTypes.software]: $localize`:@@works.software:Software`, diff --git a/src/locale/properties/works/works.en.properties b/src/locale/properties/works/works.en.properties index 532f5ccfd..3e8b66fc7 100644 --- a/src/locale/properties/works/works.en.properties +++ b/src/locale/properties/works/works.en.properties @@ -42,12 +42,12 @@ works.thesis=Dissertation/Thesis works.editedBook=Edited book works.encyclopediaEntry=Encyclopedia entry works.journalArticle=Journal article -works.issue=Journal issue +works.issue=Journal issue or edition works.magazineArticle=Magazine article works.manual=Manual works.newsletterarticle=Newsletter article works.newspaperArticle=Newspaper article -works.onlineResource=Online resource +works.onlineResource=Interactive resource works.preprint=Preprint works.report=Report works.tool=Research tool @@ -62,11 +62,11 @@ works.patent=Patent works.copyright=Registered copyright works.trademark=Trademark works.annotation=Annotation -works.artisticPerformance=Artistic performance +works.artisticPerformance=Artistic output or performance works.dataManagementPlan=Data management plan -works.plan=Data set +works.plan=Dataset works.invention=Invention -works.speech=Lecture/speech +works.speech=Talk, interview, podcast or speech works.object=Physical object works.technique=Research technique works.software=Software