diff --git a/app/graphql/schema.graphql b/app/graphql/schema.graphql index c1473c852..e6baa0244 100644 --- a/app/graphql/schema.graphql +++ b/app/graphql/schema.graphql @@ -341,10 +341,10 @@ type AudiovisualConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -806,10 +806,10 @@ type BookChapterConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -847,10 +847,10 @@ type BookConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -1100,9 +1100,9 @@ type CollectionConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -1353,10 +1353,10 @@ type ConferencePaperConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -1461,7 +1461,7 @@ type DataCatalog { """ Funded datasets """ - datasets(after: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasParts: Int, hasVersions: Int, hasViews: Int, memberId: String, query: String, repositoryId: String, userId: String): DatasetConnectionWithTotal + datasets(after: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasParts: Int, hasVersions: Int, hasViews: Int, memberId: String, published: String, query: String, repositoryId: String, userId: String): DatasetConnectionWithTotal """ A description of the data catalog. @@ -1805,10 +1805,10 @@ type DataPaperConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -2085,11 +2085,11 @@ type DatasetConnectionWithTotal { pageInfo: PageInfo! personConnectionCount: Int! publicationConnectionCount: Int! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] softwareConnectionCount: Int! totalCount: Int! - years: [Facet!] } """ @@ -2423,10 +2423,10 @@ type DissertationConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -2891,10 +2891,10 @@ type EventConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } type EventData implements DoiItem { @@ -3206,7 +3206,7 @@ type Funder implements ActorItem { """ Funded datasets """ - datasets(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): DatasetConnectionWithTotal + datasets(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): DatasetConnectionWithTotal """ The number of downloads according to the Counter Code of Practice. @@ -3226,12 +3226,12 @@ type Funder implements ActorItem { """ Funded publications """ - publications(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): PublicationConnectionWithTotal + publications(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): PublicationConnectionWithTotal """ Funded software """ - softwares(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): SoftwareConnectionWithTotal + softwares(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): SoftwareConnectionWithTotal """ The type of the actor. @@ -3246,7 +3246,7 @@ type Funder implements ActorItem { """ Funded works """ - works(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, resourceTypeId: String, userId: String): WorkConnectionWithTotal + works(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, resourceTypeId: String, userId: String): WorkConnectionWithTotal } """ @@ -3576,10 +3576,10 @@ type ImageConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -3829,10 +3829,10 @@ type InstrumentConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -4082,10 +4082,10 @@ type InteractiveResourceConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -4356,10 +4356,10 @@ type JournalArticleConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -4394,7 +4394,7 @@ type Member { """ Datasets by this provider. """ - datasets(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, query: String, repositoryId: String, resourceTypeId: String, userId: String): DatasetConnectionWithTotal + datasets(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, published: String, query: String, repositoryId: String, resourceTypeId: String, userId: String): DatasetConnectionWithTotal """ Description of the member @@ -4449,7 +4449,7 @@ type Member { """ Publications by this provider. """ - publications(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, query: String, repositoryId: String, resourceTypeId: String, userId: String): PublicationConnectionWithTotal + publications(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, published: String, query: String, repositoryId: String, resourceTypeId: String, userId: String): PublicationConnectionWithTotal """ Geographic region where the member is located @@ -4469,7 +4469,7 @@ type Member { """ Software by this provider. """ - softwares(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], query: String, repositoryId: String, resourceTypeId: String, userId: String): SoftwareConnectionWithTotal + softwares(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], published: String, query: String, repositoryId: String, resourceTypeId: String, userId: String): SoftwareConnectionWithTotal """ The type of the item. @@ -4489,7 +4489,7 @@ type Member { """ Works by this provider. """ - works(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], query: String, repositoryId: String, resourceTypeId: String, userId: String): WorkConnectionWithTotal + works(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], published: String, query: String, repositoryId: String, resourceTypeId: String, userId: String): WorkConnectionWithTotal } """ @@ -4824,10 +4824,10 @@ type ModelConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -4867,7 +4867,7 @@ type Organization implements ActorItem { """ Datasets from this organization """ - datasets(after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): DatasetConnectionWithTotal + datasets(after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): DatasetConnectionWithTotal """ The number of downloads according to the Counter Code of Practice. @@ -4892,12 +4892,12 @@ type Organization implements ActorItem { """ Publications from this organization """ - publications(after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): PublicationConnectionWithTotal + publications(after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): PublicationConnectionWithTotal """ Software from this organization """ - softwares(after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): SoftwareConnectionWithTotal + softwares(after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): SoftwareConnectionWithTotal """ The type of the actor. @@ -4917,7 +4917,7 @@ type Organization implements ActorItem { """ Works from this organization """ - works(after: String, fieldOfScience: String, first: Int = 2, funderId: String, hasCitations: Int, hasDownloads: Int, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): WorkConnectionWithTotal + works(after: String, fieldOfScience: String, first: Int = 2, funderId: String, hasCitations: Int, hasDownloads: Int, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): WorkConnectionWithTotal } """ @@ -5470,10 +5470,10 @@ type PeerReviewConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -5513,7 +5513,7 @@ type Person implements ActorItem { """ Authored datasets """ - datasets(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String): DatasetConnectionWithTotal + datasets(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String): DatasetConnectionWithTotal """ The number of downloads according to the Counter Code of Practice. @@ -5543,12 +5543,12 @@ type Person implements ActorItem { """ Authored publications """ - publications(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String): PublicationConnectionWithTotal + publications(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String): PublicationConnectionWithTotal """ Authored software """ - softwares(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String): SoftwareConnectionWithTotal + softwares(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String): SoftwareConnectionWithTotal """ The type of the actor. @@ -5563,7 +5563,7 @@ type Person implements ActorItem { """ Authored works """ - works(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String): WorkConnectionWithTotal + works(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String): WorkConnectionWithTotal } """ @@ -5839,10 +5839,10 @@ type PhysicalObjectConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -6146,10 +6146,10 @@ type PreprintConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -6405,11 +6405,11 @@ type PublicationConnectionWithTotal { pageInfo: PageInfo! personConnectionCount: Int! publicationConnectionCount: Int! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] softwareConnectionCount: Int! totalCount: Int! - years: [Facet!] } """ @@ -6432,63 +6432,63 @@ type Query { actor(id: ID!): ActorItem! actors(after: String, first: Int = 25, query: String): ActorConnection! audiovisual(id: ID!): Audiovisual! - audiovisuals(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): AudiovisualConnectionWithTotal! + audiovisuals(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): AudiovisualConnectionWithTotal! book(id: ID!): Book! bookChapter(id: ID!): BookChapter! - bookChapters(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): BookChapterConnectionWithTotal! - books(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): BookConnectionWithTotal! + bookChapters(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): BookChapterConnectionWithTotal! + books(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): BookConnectionWithTotal! collection(id: ID!): Collection! - collections(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): CollectionConnectionWithTotal! + collections(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): CollectionConnectionWithTotal! conferencePaper(id: ID!): ConferencePaper! - conferencePapers(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): ConferencePaperConnectionWithTotal! + conferencePapers(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): ConferencePaperConnectionWithTotal! dataCatalog(id: ID!): DataCatalog! dataCatalogs(after: String, first: Int = 25, query: String): DataCatalogConnectionWithTotal! dataPaper(id: ID!): DataPaper! - dataPapers(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): DataPaperConnectionWithTotal! + dataPapers(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): DataPaperConnectionWithTotal! dataset(id: ID!): Dataset! - datasets(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): DatasetConnectionWithTotal! + datasets(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): DatasetConnectionWithTotal! dissertation(id: ID!): Dissertation! - dissertations(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): DissertationConnectionWithTotal! + dissertations(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): DissertationConnectionWithTotal! event(id: ID!): Event! - events(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): EventConnectionWithTotal! + events(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): EventConnectionWithTotal! funder(id: ID!): Funder! funders(after: String, first: Int = 25, query: String): FunderConnectionWithTotal! image(id: ID!): Image! - images(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): ImageConnectionWithTotal! + images(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): ImageConnectionWithTotal! instrument(id: ID!): Instrument! - instruments(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): InstrumentConnectionWithTotal! + instruments(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): InstrumentConnectionWithTotal! interactiveResource(id: ID!): InteractiveResource! - interactiveResources(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): InteractiveResourceConnectionWithTotal! + interactiveResources(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): InteractiveResourceConnectionWithTotal! journalArticle(id: ID!): JournalArticle! - journalArticles(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): JournalArticleConnectionWithTotal! + journalArticles(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): JournalArticleConnectionWithTotal! member(id: ID!): Member! members(after: String, first: Int = 25, query: String, year: String): MemberConnectionWithTotal! model(id: ID!): Model! - models(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): ModelConnectionWithTotal! + models(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): ModelConnectionWithTotal! organization(id: ID!): Organization! organizations(after: String, query: String): OrganizationConnectionWithTotal! other(id: ID!): Other! others(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): OtherConnectionWithTotal! peerReview(id: ID!): PeerReview! - peerReviews(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): PeerReviewConnectionWithTotal! + peerReviews(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): PeerReviewConnectionWithTotal! people(after: String, first: Int = 25, query: String): PersonConnectionWithTotal! person(id: ID!): Person! physicalObject(id: ID!): PhysicalObject! - physicalObjects(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): PhysicalObjectConnectionWithTotal! + physicalObjects(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): PhysicalObjectConnectionWithTotal! prefix(id: ID!): Prefix! prefixes(after: String, first: Int = 25, query: String): PrefixConnectionWithTotal! preprint(id: ID!): Preprint! - preprints(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): PreprintConnectionWithTotal! + preprints(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): PreprintConnectionWithTotal! publication(id: ID!): Publication! - publications(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): PublicationConnectionWithTotal! + publications(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): PublicationConnectionWithTotal! repositories(after: String, first: Int = 25, query: String, software: String, year: String): RepositoryConnectionWithTotal! repository(id: ID!): Repository! service(id: ID!): Service! - services(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, pidEntity: String, query: String, repositoryId: String, userId: String): ServiceConnectionWithTotal! + services(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, pidEntity: String, published: String, query: String, repositoryId: String, userId: String): ServiceConnectionWithTotal! software(id: ID!): Software! - softwares(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): SoftwareConnectionWithTotal! + softwares(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): SoftwareConnectionWithTotal! sound(id: ID!): Sound! - sounds(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): SoundConnectionWithTotal! + sounds(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): SoundConnectionWithTotal! usageReport(id: ID!): UsageReport! usageReports( """ @@ -6509,8 +6509,8 @@ type Query { ): UsageReportConnectionWithTotal! work(id: ID!): Work! workflow(id: ID!): Workflow! - workflows(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, userId: String): WorkflowConnectionWithTotal! - works(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, query: String, repositoryId: String, resourceTypeId: String, userId: String): WorkConnectionWithTotal! + workflows(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, userId: String): WorkflowConnectionWithTotal! + works(after: String, fieldOfScience: String, first: Int = 25, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: [String!], memberId: String, published: String, query: String, repositoryId: String, resourceTypeId: String, userId: String): WorkConnectionWithTotal! } """ @@ -6595,7 +6595,7 @@ type Repository { """ Datasets managed by the repository """ - datasets(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, memberId: String, query: String, resourceTypeId: String, userId: String): DatasetConnectionWithTotal + datasets(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, memberId: String, published: String, query: String, resourceTypeId: String, userId: String): DatasetConnectionWithTotal """ Description of the repository @@ -6635,7 +6635,7 @@ type Repository { """ Publications managed by the repository """ - publications(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, memberId: String, query: String, resourceTypeId: String, userId: String): PublicationConnectionWithTotal + publications(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, memberId: String, published: String, query: String, resourceTypeId: String, userId: String): PublicationConnectionWithTotal """ The re3data identifier for the repository @@ -6655,7 +6655,7 @@ type Repository { """ Software managed by the repository """ - softwares(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, memberId: String, query: String, resourceTypeId: String, userId: String): SoftwareConnectionWithTotal + softwares(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, memberId: String, published: String, query: String, resourceTypeId: String, userId: String): SoftwareConnectionWithTotal """ The type of the item. @@ -6675,7 +6675,7 @@ type Repository { """ Works managed by the repository """ - works(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, memberId: String, query: String, resourceTypeId: String, userId: String): WorkConnectionWithTotal + works(affiliationId: String, after: String, fieldOfScience: String, first: Int = 25, funderId: String, hasCitations: Int, hasDownloads: Int, hasFunder: Boolean, hasOrganization: Boolean, hasParts: Int, hasPerson: Boolean, hasVersions: Int, hasViews: Int, ids: String, memberId: String, published: String, query: String, resourceTypeId: String, userId: String): WorkConnectionWithTotal } """ @@ -7067,10 +7067,10 @@ type ServiceConnectionWithTotal { """ pageInfo: PageInfo! pidEntities: [Facet!] + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -7351,11 +7351,11 @@ type SoftwareConnectionWithTotal { pageInfo: PageInfo! personConnectionCount: Int! publicationConnectionCount: Int! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] softwareConnectionCount: Int! totalCount: Int! - years: [Facet!] } """ @@ -7605,10 +7605,10 @@ type SoundConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -8042,11 +8042,11 @@ type WorkConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] resourceTypes: [Facet!] totalCount: Int! - years: [Facet!] } """ @@ -8296,10 +8296,10 @@ type WorkflowConnectionWithTotal { Information to aid in pagination. """ pageInfo: PageInfo! + published: [Facet!] registrationAgencies: [Facet!] repositories: [Facet!] totalCount: Int! - years: [Facet!] } """ diff --git a/spec/graphql/types/service_type_spec.rb b/spec/graphql/types/service_type_spec.rb index 18702611e..a7d41655d 100644 --- a/spec/graphql/types/service_type_spec.rb +++ b/spec/graphql/types/service_type_spec.rb @@ -86,7 +86,7 @@ "title"=>"Computer and information sciences"}]) expect(Base64.urlsafe_decode64(response.dig("data", "services", "pageInfo", "endCursor")).split(",", 2).last).to eq(services.last.uid) expect(response.dig("data", "services", "pageInfo", "hasNextPage")).to be false - expect(response.dig("data", "services", "published")).to eq([{"count"=>3, "id"=>"2011"}]) + expect(response.dig("data", "services", "published")).to eq([{"count"=>3, "id"=>"2011", "title"=>"2011"}]) expect(response.dig("data", "services", "nodes").length).to eq(3) service = response.dig("data", "services", "nodes", 0)