Home > @infiniteobjects/shopify-data-manager > AdminTypes > Publishable
Represents a resource that can be published to a channel. A publishable resource can be either a Product or Collection.
Signature:
export interface Publishable
| Property | Modifiers | Type | Description |
|---|---|---|---|
| availablePublicationCount | Scalars[‘Int’][‘output’] | The number of publications a resource is published to without feedback errors. | |
| publicationCount | Scalars[‘Int’][‘output’] | The number of publications a resource is published on. | |
| publishedOnChannel | Scalars[‘Boolean’][‘output’] | Check to see whether the resource is published to a given channel. | |
| publishedOnCurrentChannel | Scalars[‘Boolean’][‘output’] | Check to see whether the resource is published to the calling app’s channel. | |
| publishedOnCurrentPublication | Scalars[‘Boolean’][‘output’] | Check to see whether the resource is published to the calling app’s publication. | |
| publishedOnPublication | Scalars[‘Boolean’][‘output’] | Check to see whether the resource is published to a given publication. | |
| resourcePublications | ResourcePublicationConnection | The list of resources that are published to a publication. | |
| resourcePublicationsV2 | ResourcePublicationV2Connection | The list of resources that are either published or staged to be published to a publication. | |
| unpublishedChannels | ChannelConnection | The list of channels that the resource is not published to. | |
| unpublishedPublications | PublicationConnection | The list of publications that the resource is not published to. |