> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# DeclarativePublisherDocumentTemplateV2

- Package: [@gooddata/sdk-code-convertors](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-code-convertors/index.md)
- Kind: type-alias
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-code-convertors/src/declarativePublisherTypesV2.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

A v2 document template as the declarative API stores it, with typed version and content.

**Signature:**

```typescript
export type DeclarativePublisherDocumentTemplateV2 = Omit<DeclarativePublisherDocumentTemplate, "content" | "version"> & {
    version: PublisherContentVersionV2;
    content: PublisherDocumentContentV2;
};
```
**References:** [PublisherContentVersionV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publishercontentversionv2/index.md), [PublisherDocumentContentV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherdocumentcontentv2/index.md)
