Class: Post
backend.Post
#
Hierarchy↳
Post
#
ImplementsTPost
#
Table of contents#
Constructors#
Properties- _meta
- author
- authorId
- comments
- content
- createDate
- delta
- excerpt
- featured
- id
- isEnabled
- mainImage
- metaRecords
- pageDescription
- pageTitle
- publishDate
- published
- readTime
- slug
- tags
- title
- updateDate
#
Accessors#
Constructors#
constructor• new Post()
#
Inherited from#
Properties#
_meta• Optional
_meta: null
| string
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:37
#
author• Optional
author: null
| User
#
Implementation ofTPost.author
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:24
#
authorId• Optional
authorId: null
| number
#
Implementation ofTPost.authorId
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:29
#
comments• Optional
comments: TPostComment
[]
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:68
#
content• Optional
content: null
| string
#
Implementation ofTPost.content
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:33
#
createDate• Optional
createDate: null
| Date
#
Implementation ofTPost.createDate
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:51
#
delta• Optional
delta: null
| string
#
Implementation ofTPost.delta
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:37
#
excerpt• Optional
excerpt: null
| string
#
Implementation ofTPost.excerpt
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:41
#
featured• Optional
featured: null
| boolean
#
Implementation ofTPost.featured
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:73
#
id• id: number
#
Implementation ofTPost.id
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:22
#
isEnabled• Optional
isEnabled: null
| boolean
#
Implementation ofTPost.isEnabled
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:60
#
mainImage• Optional
mainImage: null
| string
#
Implementation ofTPost.mainImage
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:45
#
metaRecords• Optional
metaRecords: PostMeta
[]
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:78
#
pageDescription• Optional
pageDescription: null
| string
#
Implementation ofTPost.pageDescription
#
Inherited fromBasePageEntity.pageDescription
#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:34
#
pageTitle• Optional
pageTitle: null
| string
#
Implementation ofTPost.pageTitle
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:30
#
publishDate• Optional
publishDate: null
| Date
#
Implementation ofTPost.publishDate
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:63
#
published• Optional
published: null
| boolean
#
Implementation ofTPost.published
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:59
#
readTime• Optional
readTime: null
| string
#
Implementation ofTPost.readTime
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:49
#
slug• Optional
slug: null
| string
#
Implementation ofTPost.slug
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:26
#
tags• Optional
tags: null
| Tag
[]
#
Implementation ofTPost.tags
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:54
#
title• Optional
title: null
| string
#
Implementation ofTPost.title
#
Defined insystem/core/backend/src/models/entities/post.entity.ts:20
#
updateDate• Optional
updateDate: null
| Date
#
Implementation ofTPost.updateDate
#
Inherited from#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:56
#
Accessors#
meta• get
meta(): undefined
| null
| TBasePageMeta
#
Returnsundefined
| null
| TBasePageMeta
#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:40
• set
meta(data
): void
#
ParametersName | Type |
---|---|
data | undefined | null | TBasePageMeta |
#
Returnsvoid
#
Defined insystem/core/backend/src/models/entities/base-page.entity.ts:44