Remove unnecessary form_schema fields.
This commit is contained in:
parent
3afeeaccd0
commit
8d3c4745aa
@ -61,9 +61,7 @@ node_type_asset = {
|
||||
}
|
||||
},
|
||||
'form_schema': {
|
||||
'status': {},
|
||||
'content_type': {'visible': False},
|
||||
'file': {},
|
||||
'attachments': {'visible': False},
|
||||
'order': {'visible': False},
|
||||
'tags': {'visible': False},
|
||||
|
@ -55,14 +55,6 @@ node_type_comment = {
|
||||
'confidence': {'type': 'float'},
|
||||
'is_reply': {'type': 'boolean'}
|
||||
},
|
||||
'form_schema': {
|
||||
'content': {},
|
||||
'status': {},
|
||||
'rating_positive': {},
|
||||
'rating_negative': {},
|
||||
'ratings': {},
|
||||
'confidence': {},
|
||||
'is_reply': {}
|
||||
},
|
||||
'form_schema': {},
|
||||
'parent': ['asset', 'comment'],
|
||||
}
|
||||
|
@ -24,7 +24,6 @@ node_type_group = {
|
||||
},
|
||||
'form_schema': {
|
||||
'url': {'visible': False},
|
||||
'status': {},
|
||||
'notes': {'visible': False},
|
||||
'order': {'visible': False}
|
||||
},
|
||||
|
@ -15,8 +15,5 @@ node_type_group_hdri = {
|
||||
],
|
||||
}
|
||||
},
|
||||
'form_schema': {
|
||||
'status': {},
|
||||
'order': {}
|
||||
}
|
||||
'form_schema': {},
|
||||
}
|
||||
|
@ -15,8 +15,5 @@ node_type_group_texture = {
|
||||
],
|
||||
}
|
||||
},
|
||||
'form_schema': {
|
||||
'status': {},
|
||||
'order': {}
|
||||
}
|
||||
'form_schema': {},
|
||||
}
|
||||
|
@ -62,5 +62,5 @@ node_type_hdri = {
|
||||
'content_type': {'visible': False},
|
||||
'tags': {'visible': False},
|
||||
'categories': {'visible': False},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
@ -44,9 +44,6 @@ node_type_page = {
|
||||
}
|
||||
},
|
||||
'form_schema': {
|
||||
'content': {},
|
||||
'status': {},
|
||||
'url': {},
|
||||
'attachments': {'visible': False},
|
||||
},
|
||||
'parent': ['project', ],
|
||||
|
@ -48,10 +48,6 @@ node_type_post = {
|
||||
}
|
||||
},
|
||||
'form_schema': {
|
||||
'content': {},
|
||||
'status': {},
|
||||
'category': {},
|
||||
'url': {},
|
||||
'attachments': {'visible': False},
|
||||
},
|
||||
'parent': ['blog', ],
|
||||
|
@ -21,10 +21,6 @@ node_type_storage = {
|
||||
'type': 'string',
|
||||
},
|
||||
},
|
||||
'form_schema': {
|
||||
'subdir': {},
|
||||
'project': {},
|
||||
'backend': {}
|
||||
},
|
||||
'form_schema': {},
|
||||
'parent': ['group', 'project'],
|
||||
}
|
||||
|
@ -24,5 +24,5 @@ node_type_text = {
|
||||
},
|
||||
'form_schema': {
|
||||
'shared_slug': {'visible': False},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
@ -58,15 +58,8 @@ node_type_texture = {
|
||||
}
|
||||
},
|
||||
'form_schema': {
|
||||
'status': {},
|
||||
'content_type': {'visible': False},
|
||||
'files': {},
|
||||
'is_tileable': {},
|
||||
'is_landscape': {},
|
||||
'resolution': {},
|
||||
'aspect_ratio': {},
|
||||
'order': {},
|
||||
'tags': {'visible': False},
|
||||
'categories': {'visible': False},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ EXAMPLE_PROJECT = {
|
||||
u'status': {u'allowed': [u'published', u'pending'],
|
||||
u'type': u'string'},
|
||||
u'url': {u'type': u'string'}},
|
||||
u'form_schema': {u'order': {}, u'status': {}, u'url': {}},
|
||||
u'form_schema': {},
|
||||
u'name': u'group_texture',
|
||||
u'parent': [u'group_texture', u'project']},
|
||||
{u'description': u'Generic group node type edited',
|
||||
@ -63,7 +63,7 @@ EXAMPLE_PROJECT = {
|
||||
u'status': {u'allowed': [u'published', u'pending'],
|
||||
u'type': u'string'},
|
||||
u'url': {u'type': u'string'}},
|
||||
u'form_schema': {u'notes': {}, u'order': {}, u'status': {}, u'url': {}},
|
||||
u'form_schema': {},
|
||||
u'name': u'group',
|
||||
u'parent': [u'group', u'project']},
|
||||
{u'description': u'Basic Asset Type',
|
||||
@ -98,12 +98,8 @@ EXAMPLE_PROJECT = {
|
||||
u'type': u'string'},
|
||||
u'tags': {u'schema': {u'type': u'string'}, u'type': u'list'}},
|
||||
u'form_schema': {u'attachments': {u'visible': False},
|
||||
u'categories': {},
|
||||
u'content_type': {u'visible': False},
|
||||
u'file': {u'visible': False},
|
||||
u'order': {},
|
||||
u'status': {},
|
||||
u'tags': {}},
|
||||
u'file': {u'visible': False}},
|
||||
u'name': u'asset',
|
||||
u'parent': [u'group']},
|
||||
{u'description': u'Entrypoint to a remote or local storage solution',
|
||||
@ -134,20 +130,14 @@ EXAMPLE_PROJECT = {
|
||||
u'type': u'list'},
|
||||
u'status': {u'allowed': [u'published', u'flagged', u'edited'],
|
||||
u'type': u'string'}},
|
||||
u'form_schema': {u'confidence': {},
|
||||
u'content': {},
|
||||
u'is_reply': {},
|
||||
u'rating_negative': {},
|
||||
u'rating_positive': {},
|
||||
u'ratings': {},
|
||||
u'status': {}},
|
||||
u'form_schema': {},
|
||||
u'name': u'comment',
|
||||
u'parent': [u'asset', u'comment']},
|
||||
{u'description': u'Container for node_type post.',
|
||||
u'dyn_schema': {u'categories': {u'schema': {u'type': u'string'},
|
||||
u'type': u'list'},
|
||||
u'template': {u'type': u'string'}},
|
||||
u'form_schema': {u'categories': {}, u'template': {}},
|
||||
u'form_schema': {},
|
||||
u'name': u'blog',
|
||||
u'parent': [u'project']},
|
||||
{u'description': u'A blog post, for any project',
|
||||
@ -178,11 +168,7 @@ EXAMPLE_PROJECT = {
|
||||
u'default': u'pending',
|
||||
u'type': u'string'},
|
||||
u'url': {u'type': u'string'}},
|
||||
u'form_schema': {u'attachments': {u'visible': False},
|
||||
u'category': {},
|
||||
u'content': {},
|
||||
u'status': {},
|
||||
u'url': {}},
|
||||
u'form_schema': {u'attachments': {u'visible': False}},
|
||||
u'name': u'post',
|
||||
u'parent': [u'blog']},
|
||||
{u'description': u'Image Texture',
|
||||
@ -213,16 +199,8 @@ EXAMPLE_PROJECT = {
|
||||
u'processing'],
|
||||
u'type': u'string'},
|
||||
u'tags': {u'schema': {u'type': u'string'}, u'type': u'list'}},
|
||||
u'form_schema': {u'aspect_ratio': {},
|
||||
u'categories': {},
|
||||
u'content_type': {u'visible': False},
|
||||
u'files': {u'visible': False},
|
||||
u'is_landscape': {},
|
||||
u'is_tileable': {},
|
||||
u'order': {},
|
||||
u'resolution': {},
|
||||
u'status': {},
|
||||
u'tags': {}},
|
||||
u'form_schema': {u'content_type': {u'visible': False},
|
||||
u'files': {u'visible': False}},
|
||||
u'name': u'texture',
|
||||
u'parent': [u'group']}],
|
||||
u'nodes_blog': [],
|
||||
|
Loading…
x
Reference in New Issue
Block a user