Introducing is_reply property for comments
This commit is contained in:
parent
9eb7eb3ada
commit
cfb0da7e7c
@ -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': [{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user