Review types

This list contains all query and inputs types for the review endpoints.


Review

Fields

  • Name
    id
    Type
    String!
    Description

    Unique identifier for the review.

  • Name
    _id
    Type
    Int!
    Description

    Unique number identifier for the review.

  • Name
    updated_at
    Type
    TimeStamp!
    Description

    Timestamp of when the review was updated.

    Arguments

  • Name
    format
    Type
    String
    Description

    The supported format parameters: fromNow YYYY-MM-DD HH:mm:ss

  • Name
    suffix
    Type
    Boolean
    Description

    TimeStamp suffix

  • Fields

    scalar TimeStamp

  • Name
    created_at
    Type
    TimeStamp!
    Description

    Timestamp of when the review was created.

  • Name
    content
    Type
    String!
    Description

    The review content.

  • Name
    rate
    Type
    Int!
    Description

    The review rate.

  • Name
    name
    Type
    String!
    Description

    The review name.

  • Name
    email
    Type
    String!
    Description

    The review email.

  • Name
    published
    Type
    Boolean!
    Description

    The review published.

  • Name
    product_id
    Type
    Int!
    Description

    The review product id.

  • Name
    avatar
    Type
    String!
    Description

    The review avatar.

  • Name
    images
    Label
    [Image!]!
    Description

    The review images.

  • Name
    images_ids
    Type
    [Int!]!
    Description

    The review image ids.

  • Name
    product
    Label
    Product!
    Description

    The review product.

  • Name
    date
    Type
    TimeStamp!
    Description

    The review date.


InputReview

Fields

  • Name
    content
    Type
    String
    Description

    The review content.

  • Name
    rate
    Type
    Int
    Description

    The review rate.

  • Name
    name
    Type
    String
    Description

    The review name.

  • Name
    email
    Type
    String
    Description

    The review email.

  • Name
    date
    Type
    TimeStamp
    Description

    The review date.

  • Name
    published
    Type
    Boolean
    Description

    The review published.

  • Name
    images
    Type
    [int!]
    Description

    The review images.


InputUpdateReview

Fields

  • Name
    content
    Type
    String
    Description

    The review content.

  • Name
    rate
    Type
    Int
    Description

    The review rate.

  • Name
    name
    Type
    String
    Description

    The review name.

  • Name
    email
    Type
    String
    Description

    The review email.

  • Name
    date
    Type
    TimeStamp
    Description

    The review date.

  • Name
    published
    Type
    Boolean
    Description

    The review published.

  • Name
    images
    Type
    [int!]
    Description

    The review images.


ReviewConnection

Fields

  • Name
    pageInfo
    Type
    PageInfo!
    Description

    Review connection page info.

    type PageInfo {
    	hasNextPage: Boolean!
    	hasPreviousPage: Boolean!
    	startCursor: String
    	endCursor: String
    }
    
  • Name
    edges
    Type
    [ReviewEdge]
    Description

    The Review connection edges.

    type ReviewEdge {
    	node: Review
    	cursor: String!
    }