Skip to content

feat(api): Add Image type for built-in cover property #33

@cvauclair

Description

@cvauclair

Description

Add a dedicated Image GraphQL type with additional dimension information for the built-in cover property.

Implementation

type Image {
  url: String!
  width: Int
  height: Int
  fileType: String
}

type Entity {
  # (Change) cover from `String` to `Image` 
  cover: Image

  # ...other attribute
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions