Introducing is_reply property for comments

This commit is contained in:
2015-11-18 13:02:43 +01:00
parent 9eb7eb3ada
commit cfb0da7e7c

View File

@@ -1,6 +1,6 @@
node_type_comment = { node_type_comment = {
'name': 'comment', 'name': 'comment',
'description': 'Comments for asset asset nodes, pages, etc.', 'description': 'Comments for asset nodes, pages, etc.',
'dyn_schema': { 'dyn_schema': {
# The actual comment content (initially Markdown format) # The actual comment content (initially Markdown format)
'content': { 'content': {
@@ -48,10 +48,8 @@ node_type_comment = {
} }
} }
}, },
'confidence': { 'confidence': {'type': 'float'},
'type': 'float' 'is_reply': {'type': 'boolean'}
}
}, },
'form_schema': { 'form_schema': {
'content': {}, 'content': {},
@@ -59,10 +57,11 @@ node_type_comment = {
'rating_positive': {}, 'rating_positive': {},
'rating_negative': {}, 'rating_negative': {},
'ratings': {}, 'ratings': {},
'confidence': {} 'confidence': {},
'is_reply': {}
}, },
'parent': { 'parent': {
'node_types': ['asset',] 'node_types': ['asset', 'comment']
}, },
'permissions': { 'permissions': {
# 'groups': [{ # 'groups': [{