Use soft-delete for nodes
This commit is contained in:
@@ -11,7 +11,6 @@ node_type_comment = {
|
||||
'type': 'string',
|
||||
'allowed': [
|
||||
'published',
|
||||
'deleted',
|
||||
'flagged',
|
||||
'edited'
|
||||
],
|
||||
|
@@ -15,7 +15,6 @@ node_type_group = {
|
||||
'allowed': [
|
||||
'published',
|
||||
'pending',
|
||||
'deleted'
|
||||
],
|
||||
},
|
||||
'notes': {
|
||||
|
@@ -15,7 +15,6 @@ node_type_group_texture = {
|
||||
'allowed': [
|
||||
'published',
|
||||
'pending',
|
||||
'deleted'
|
||||
],
|
||||
}
|
||||
},
|
||||
|
@@ -15,7 +15,6 @@ node_type_page = {
|
||||
'type': 'string',
|
||||
'allowed': [
|
||||
'published',
|
||||
'deleted',
|
||||
'pending'
|
||||
],
|
||||
'default': 'pending'
|
||||
|
@@ -15,7 +15,6 @@ node_type_post = {
|
||||
'type': 'string',
|
||||
'allowed': [
|
||||
'published',
|
||||
'deleted',
|
||||
'pending'
|
||||
],
|
||||
'default': 'pending'
|
||||
|
@@ -58,7 +58,6 @@ node_type_project = {
|
||||
'allowed': [
|
||||
'published',
|
||||
'pending',
|
||||
'deleted'
|
||||
],
|
||||
},
|
||||
# Logo
|
||||
|
@@ -13,7 +13,6 @@ node_type_texture = {
|
||||
'published',
|
||||
'pending',
|
||||
'processing',
|
||||
'deleted'
|
||||
],
|
||||
},
|
||||
# Used for sorting within the context of a group
|
||||
|
@@ -579,7 +579,6 @@ projects_schema = {
|
||||
'allowed': [
|
||||
'published',
|
||||
'pending',
|
||||
'deleted'
|
||||
],
|
||||
},
|
||||
# Latest nodes being edited
|
||||
@@ -701,6 +700,7 @@ nodes = {
|
||||
'schema': nodes_schema,
|
||||
'public_methods': ['GET'],
|
||||
'public_item_methods': ['GET'],
|
||||
'soft_delete': True,
|
||||
}
|
||||
|
||||
users = {
|
||||
|
Reference in New Issue
Block a user