Skip to content

Commit

Permalink
update graphql schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed May 26, 2020
1 parent 1a6be9c commit acd411d
Showing 1 changed file with 8 additions and 152 deletions.
160 changes: 8 additions & 152 deletions app/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4383,42 +4383,14 @@ type Member {
citationCount: Int

"""
Country where the provmemberider is located
Country where the member is located
"""
country: Country

"""
Datasets by this provider.
"""
datasets(
affiliationId: String
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
first: Int = 25
funderId: String
hasCitations: Int
hasDownloads: Int
hasFunder: Boolean
hasOrganization: Boolean
hasParts: Int
hasPerson: Boolean
hasVersions: Int
hasViews: Int
ids: String

"""
Returns the last _n_ elements from the list.
"""
last: Int
query: String
repositoryId: String
resourceTypeId: String
userId: String
): DatasetConnectionWithTotal
datasets(affiliationId: String, after: 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

"""
Description of the member
Expand All @@ -4441,7 +4413,7 @@ type Member {
focusArea: String

"""
Unique identifier for each provider
Unique identifier for the member
"""
id: ID!

Expand All @@ -4468,56 +4440,12 @@ type Member {
"""
Prefixes managed by the member
"""
prefixes(
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
first: Int = 25

"""
Returns the last _n_ elements from the list.
"""
last: Int
query: String
state: String
year: String
): MemberPrefixConnectionWithTotal
prefixes(after: String, first: Int = 25, query: String, state: String, year: String): MemberPrefixConnectionWithTotal

"""
Publications by this provider.
"""
publications(
affiliationId: String
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
first: Int = 25
funderId: String
hasCitations: Int
hasDownloads: Int
hasFunder: Boolean
hasOrganization: Boolean
hasParts: Int
hasPerson: Boolean
hasVersions: Int
hasViews: Int
ids: String

"""
Returns the last _n_ elements from the list.
"""
last: Int
query: String
repositoryId: String
resourceTypeId: String
userId: String
): PublicationConnectionWithTotal
publications(affiliationId: String, after: 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

"""
Geographic region where the member is located
Expand All @@ -4527,23 +4455,7 @@ type Member {
"""
Repositories associated with the member
"""
repositories(
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
first: Int = 25

"""
Returns the last _n_ elements from the list.
"""
last: Int
query: String
software: String
year: String
): RepositoryConnectionWithTotal
repositories(after: String, first: Int = 25, query: String, software: String, year: String): RepositoryConnectionWithTotal

"""
Research Organization Registry (ROR) identifier
Expand All @@ -4553,35 +4465,7 @@ type Member {
"""
Software by this provider.
"""
softwares(
affiliationId: String
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
first: Int = 25
funderId: String
hasCitations: Int
hasDownloads: Int
hasFunder: Boolean
hasOrganization: Boolean
hasParts: Int
hasPerson: Boolean
hasVersions: Int
hasViews: Int
ids: [String!]

"""
Returns the last _n_ elements from the list.
"""
last: Int
query: String
repositoryId: String
resourceTypeId: String
userId: String
): SoftwareConnectionWithTotal
softwares(affiliationId: String, after: 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

"""
The type of the item.
Expand All @@ -4601,35 +4485,7 @@ type Member {
"""
Works by this provider.
"""
works(
affiliationId: String
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
first: Int = 25
funderId: String
hasCitations: Int
hasDownloads: Int
hasFunder: Boolean
hasOrganization: Boolean
hasParts: Int
hasPerson: Boolean
hasVersions: Int
hasViews: Int
ids: [String!]

"""
Returns the last _n_ elements from the list.
"""
last: Int
query: String
repositoryId: String
resourceTypeId: String
userId: String
): WorkConnectionWithTotal
works(affiliationId: String, after: 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
}

"""
Expand Down

0 comments on commit acd411d

Please sign in to comment.