PublisherDocumentListItemV2
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
One document of the document list: a readable document, or the summary of one that is not.
export type PublisherDocumentListItemV2 = {
supported: true;
document: IPublisherDocumentV2;
} | {
supported: false;
summary: IPublisherDocumentSummaryV2;
error: PublisherContentNotSupportedError;
};
References: IPublisherDocumentV2, IPublisherDocumentSummaryV2, PublisherContentNotSupportedError