GitHub

ShopifyComment

interface

import { ShopifyComment } from '@daffodil/driver/shopify'

A comment on an article.

interface ShopifyComment {
  __typename: "Comment"
  author: ShopifyCommentAuthor
  content: string
  contentHtml: Scalars['HTML']['output']
  id: string
}

Properties

__typename
"Comment"
author
ShopifyCommentAuthor

The comment’s author.

content
string

Stripped content of the comment, single line with HTML tags removed.

contentHtml
Scalars['HTML']['output']

The content of the comment, complete with HTML formatting.

id
string

A globally-unique ID.