fix(person/publications): made URL stateful and moved retrieval logic to resolvers
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
/**
|
||||
* Innovation Search Engine API
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { AuthorWorkInstitution } from './authorWorkInstitution';
|
||||
import { WorkTopic } from './workTopic';
|
||||
|
||||
|
||||
export interface AuthorWork {
|
||||
/**
|
||||
* The ID of the work
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* The title of the work
|
||||
*/
|
||||
title: string;
|
||||
/**
|
||||
* The type of the work
|
||||
*/
|
||||
type: string;
|
||||
/**
|
||||
* The year the work was published
|
||||
*/
|
||||
publication_year: number;
|
||||
/**
|
||||
* The language code of the work
|
||||
*/
|
||||
language_code: string;
|
||||
/**
|
||||
* A list of institutions associated with the work
|
||||
*/
|
||||
institutions: Array<AuthorWorkInstitution>;
|
||||
/**
|
||||
* A list of topics associated with the work
|
||||
*/
|
||||
topics: Array<WorkTopic>;
|
||||
/**
|
||||
* The number of citations the work has received
|
||||
*/
|
||||
cited_by_count: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Innovation Search Engine API
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface AuthorWorkInstitution {
|
||||
/**
|
||||
* The ID of the institution associated with the work
|
||||
*/
|
||||
institution_id: string;
|
||||
/**
|
||||
* The name of the institution associated with the work
|
||||
*/
|
||||
institution_name: string;
|
||||
/**
|
||||
* The country code of the institution associated with the work
|
||||
*/
|
||||
institution_country_code: string;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* Innovation Search Engine API
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { AuthorWork } from './authorWork';
|
||||
|
||||
|
||||
export interface AuthorWorkPage {
|
||||
/**
|
||||
* The elements of the page.
|
||||
*/
|
||||
elements?: Array<AuthorWork>;
|
||||
/**
|
||||
* The page number. (0-based)
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* The page size in elements.
|
||||
*/
|
||||
size?: number;
|
||||
/**
|
||||
* The total number of elements.
|
||||
*/
|
||||
total?: number;
|
||||
}
|
||||
|
||||
@@ -11,6 +11,9 @@ export * from './authorNetworkNode';
|
||||
export * from './authorParsedLongestName';
|
||||
export * from './authorPositionCount';
|
||||
export * from './authorSummaryStats';
|
||||
export * from './authorWork';
|
||||
export * from './authorWorkInstitution';
|
||||
export * from './authorWorkPage';
|
||||
export * from './authorWorkPurposes';
|
||||
export * from './authorsFilterProperties';
|
||||
export * from './authorsListResponse';
|
||||
@@ -185,6 +188,7 @@ export * from './workMeshInner';
|
||||
export * from './workNetworkNode';
|
||||
export * from './workPage';
|
||||
export * from './workPurpose';
|
||||
export * from './workSortBy';
|
||||
export * from './workSustainableDevelopmentGoalsInner';
|
||||
export * from './workTopic';
|
||||
export * from './workTopicDomain';
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Innovation Search Engine API
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export const WorkSortBy = {
|
||||
Title: 'title',
|
||||
Type: 'type',
|
||||
PublicationYear: 'publication_year',
|
||||
Language: 'language',
|
||||
CitedByCount: 'cited_by_count'
|
||||
} as const;
|
||||
export type WorkSortBy = typeof WorkSortBy[keyof typeof WorkSortBy];
|
||||
|
||||
Reference in New Issue
Block a user