stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > ResourcePublication

AdminTypes.ResourcePublication interface

A resource publication represents information about the publication of a resource. An instance of ResourcePublication, unlike ResourcePublicationV2, can be neither published or scheduled to be published.

See [ResourcePublicationV2](/api/admin-graphql/latest/objects/ResourcePublicationV2) for more context.

Signature:

export interface ResourcePublication 

Properties

Property Modifiers Type Description
channel   Channel The channel the resource publication is published to.
isPublished   Scalars[‘Boolean’][‘output’] Whether the resource publication is published. Also returns true if the resource publication is scheduled to be published. If false, then the resource publication is neither published nor scheduled to be published.
publication   Publication The publication the resource publication is published to.
publishable   Publishable The resource published to the publication.
publishDate   Scalars[‘DateTime’][‘output’] The date that the resource publication was or is going to be published to the publication. If the product isn’t published, then this field returns an epoch timestamp.