Skip to content

Commit d774bd4

Browse files
Fix orcid linter issues
Co-authored-by: Abel Soares Siqueira <[email protected]>
1 parent eb88e13 commit d774bd4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/components/AuthorCardEditing.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,15 @@ export default defineComponent({
225225
config.props = this
226226
return config
227227
})
228-
228+
interface OrcidAuthor {
229+
'given-names': string
230+
'family-names': string
231+
email: string
232+
'institution-name': string[]
233+
}
234+
interface OrcidResponse {
235+
'expanded-result': OrcidAuthor[]
236+
}
229237
void axios.get(orcidEndpoint,
230238
{
231239
data: {},

0 commit comments

Comments
 (0)