From d774bd4e748373ae01c40fbc09926b79c7d479b0 Mon Sep 17 00:00:00 2001 From: Carlos Martinez Date: Wed, 12 Apr 2023 23:10:07 +0200 Subject: [PATCH] Fix orcid linter issues Co-authored-by: Abel Soares Siqueira --- src/components/AuthorCardEditing.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/AuthorCardEditing.vue b/src/components/AuthorCardEditing.vue index ceb50129..553887f0 100644 --- a/src/components/AuthorCardEditing.vue +++ b/src/components/AuthorCardEditing.vue @@ -225,7 +225,15 @@ export default defineComponent({ config.props = this return config }) - + interface OrcidAuthor { + 'given-names': string + 'family-names': string + email: string + 'institution-name': string[] + } + interface OrcidResponse { + 'expanded-result': OrcidAuthor[] + } void axios.get(orcidEndpoint, { data: {},