Skip to main content

CollectionTypeContent

This holds content specific to a collectionType. This is generally used on a page that lists all collections for a collectionType.

type CollectionTypeContent {
collectionType: String!
collectionTypeContentId: ID!
contentAsHtml: String
contentAsString: String
createdAt: Date!
demandHqId: ID!
description: String
descriptionOrExcerpt(
numberOfCharacters: Int
): String
excerpt(
numberOfCharacters: Int
): String
secondaryContentAsHtml: String
secondaryContentAsString: String
seoDescription: String
seoTitle: String
storefrontId: ID!
subtitle: String
tags: CollectionTypeContentTags
title: String
updatedAt: Date!
updatedBy: ID!
}

Fields

CollectionTypeContent.collectionType ● String! non-null scalar

CollectionTypeContent.collectionTypeContentId ● ID! non-null scalar

CollectionTypeContent.contentAsHtml ● String scalar

Get the markdown content of the collectionTypeContent as parsed HTML. Do not use this field without purifying or sanitizing the HTML in your webapp.

CollectionTypeContent.contentAsString ● String scalar

CollectionTypeContent.createdAt ● Date! non-null scalar

CollectionTypeContent.demandHqId ● ID! non-null scalar

CollectionTypeContent.description ● String scalar

A short description of the collectionTypeContent, limit 1000 characters. This is typically used off of the collectionTypeContent page itself.

CollectionTypeContent.descriptionOrExcerpt ● String scalar

Get the description if it exists, or fallback to the excerpt of content for the CollectionTypeContent.

CollectionTypeContent.descriptionOrExcerpt.numberOfCharacters ● Int scalar

The number of characters to return, defaults to 200.

CollectionTypeContent.excerpt ● String scalar

Get an excerpt of the CollectionTypeContent.

CollectionTypeContent.excerpt.numberOfCharacters ● Int scalar

The number of characters to return, defaults to 200.

CollectionTypeContent.secondaryContentAsHtml ● String scalar

Get the secondary markdown content of the collectionTypeContent as parsed HTML. Do not use this field without purifying or sanitizing the HTML in your webapp.

CollectionTypeContent.secondaryContentAsString ● String scalar

CollectionTypeContent.seoDescription ● String scalar

Description specific for SEO purposes, limit 170 characters.

CollectionTypeContent.seoTitle ● String scalar

Title specific for SEO purposes, limit 256 characters.

CollectionTypeContent.storefrontId ● ID! non-null scalar

CollectionTypeContent.subtitle ● String scalar

The subtitle of the collectionTypeContent, limit 256 characters.

CollectionTypeContent.tags ● CollectionTypeContentTags object

These tags function in the opposite direction of other tags, allowing you to choose several to focus on while displaying the content. Commonly, these are used to filter or categorize content by providing options that match tags on the content itself.

CollectionTypeContent.title ● String scalar

The title of the collectionTypeContent, limit 256 characters.

CollectionTypeContent.updatedAt ● Date! non-null scalar

CollectionTypeContent.updatedBy ● ID! non-null scalar

Returned by

collectionTypeContent query ● createCollectionTypeContent mutation ● updateCollectionTypeContent mutation

Member of

CollectionTypeContentConnection object ● CollectionTypeContentEdge object