Skip to content

Commit

Permalink
Merge pull request #135 from nickhsine/to-auto-push
Browse files Browse the repository at this point in the history
feat: add `toAutoNotify` field in models/Post.js
  • Loading branch information
nickhsine authored Apr 20, 2020
2 parents 779000d + d3129a1 commit 38a69e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### 3.1.0 (2020-04-20)
#### Commits
* [[`49c1310f58`](https://github.com/twreporter/keystone-plate/commit/49c1310f58)] - **feat**: add `toAutoNotify` field in models/Post.js (nickhsine)

### 3.0.2 (2020-03-30)

### Commits
Expand Down
1 change: 1 addition & 0 deletions models/Post.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Post.add({
og_title: { label: '分享標題', type: String, require: false},
og_description: { label: '分享說明', type: String, require: false},
og_image: { label: '分享縮圖', type: Types.ImageRelationship, ref: 'Image' },
toAutoNotify: { label: '自動推播', type: Boolean, default: true},
is_external: { label: '另開新頁', type: Boolean, index: true },
isFeatured: { label: '置頂', type: Boolean, index: true },
preview: { type: Types.Preview },
Expand Down

0 comments on commit 38a69e3

Please sign in to comment.