-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for new publisher object in graphql
- Loading branch information
Showing
4 changed files
with
59 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# frozen_string_literal: true | ||
|
||
class PublisherType < BaseObject | ||
description "Publisher information" | ||
|
||
field :name, | ||
String, | ||
null: true, | ||
description: "The name of the publisher" | ||
field :publisher_identifier, | ||
String, | ||
null: true, | ||
hash_key: "publisherIdentifier", | ||
description: "Uniquely identifies the publisher, according to various schemes" | ||
field :publisher_identifier_scheme, | ||
String, | ||
null: true, | ||
hash_key: "publisherIdentifierScheme", | ||
description: "The name of the publisher identifier scheme" | ||
field :scheme_uri, | ||
String, | ||
null: true, | ||
hash_key: "schemeUri", | ||
description: "The URI of the publisher identifier scheme" | ||
field :lang, String, null: true, description: "Language" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters