chore: removes ability to retain deleted versions
This commit is contained in:
@@ -13,7 +13,6 @@ const AutosavePosts: CollectionConfig = {
|
||||
},
|
||||
versions: {
|
||||
maxPerDoc: 35,
|
||||
retainDeleted: false,
|
||||
drafts: {
|
||||
autosave: {
|
||||
interval: 2000,
|
||||
|
||||
@@ -9,7 +9,6 @@ const DraftPosts: CollectionConfig = {
|
||||
},
|
||||
versions: {
|
||||
maxPerDoc: 35,
|
||||
retainDeleted: false,
|
||||
drafts: true,
|
||||
},
|
||||
access: {
|
||||
|
||||
@@ -10,7 +10,6 @@ const VersionPosts: CollectionConfig = {
|
||||
versions: {
|
||||
drafts: false,
|
||||
maxPerDoc: 35,
|
||||
retainDeleted: false,
|
||||
},
|
||||
access: {
|
||||
read: ({ req: { user } }) => {
|
||||
|
||||
Reference in New Issue
Block a user