# A page key's background; null for an adminOnly page unless admin. type Background { id: ID! updatedAt: Time! page: String! # A CSS colour, or "" for the theme's page colour. color: String! # An image URL, or "" for none. image: String! # "cover", "contain" or "tile". fit: String! } input BackgroundInput { color: String! image: String! fit: String! } extend type Query { # Null when the page has none, i.e. shows the theme's default. background(page: String!): Background } extend type Mutation { # Creates or replaces the page's background. setBackground(page: String!, input: BackgroundInput!): Background! @admin # Back to the theme's default. True if there was one to remove. clearBackground(page: String!): Boolean! @admin }