Current section
Files
Jump to
Current section
Files
lib/ex_shopify_schema/graphql/page.ex
defmodule ExShopifySchema.Graphql.Page do
@moduledoc "A page on the Online Store."
use ExShopifySchema.Generator.Graphql.Schema
@primary_key false
typed_embedded_schema do
loadable_field :body, ExShopifySchema.Graphql.HTML, []
loadable_field :body_summary, ExShopifySchema.Graphql.String, []
loadable_field :created_at, ExShopifySchema.Graphql.DateTime, []
loadable_field :default_cursor, ExShopifySchema.Graphql.String, []
embeds_one :events, ExShopifySchema.Graphql.EventConnection, []
loadable_field :handle, ExShopifySchema.Graphql.String, []
loadable_field :id, ExShopifySchema.Graphql.ID, []
loadable_field :is_published, ExShopifySchema.Graphql.Boolean, []
embeds_one :metafield, ExShopifySchema.Graphql.Metafield, []
embeds_one :metafield_definitions, ExShopifySchema.Graphql.MetafieldDefinitionConnection, []
embeds_one :metafields, ExShopifySchema.Graphql.MetafieldConnection, []
loadable_field :published_at, ExShopifySchema.Graphql.DateTime, []
loadable_field :template_suffix, ExShopifySchema.Graphql.String, []
loadable_field :title, ExShopifySchema.Graphql.String, []
embeds_many :translations, ExShopifySchema.Graphql.Translation, []
loadable_field :updated_at, ExShopifySchema.Graphql.DateTime, []
end
end