declarativePublisherDocumentToYamlV2()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Converts a stored v2 document to its as-code YAML.
export declare function declarativePublisherDocumentToYamlV2(document: DeclarativePublisherDocumentV2, errorContext?: IErrorContext): {
content: string;
json: AacPublisherDocumentV2;
};
Parameters
Parameter | Type | Description |
|---|---|---|
document | ||
errorContext | (Optional) |
Returns
{ content: string; json: AacPublisherDocumentV2; }