WIP fs.siles support
This commit is contained in:
parent
4e36650221
commit
d1b552c1b3
@ -154,6 +154,10 @@ files_schema = {
|
|||||||
'type': 'string',
|
'type': 'string',
|
||||||
'required': True,
|
'required': True,
|
||||||
},
|
},
|
||||||
|
'backend': {
|
||||||
|
'type': 'string',
|
||||||
|
'required': True,
|
||||||
|
},
|
||||||
#'thumbnail': {
|
#'thumbnail': {
|
||||||
# 'type': 'string',
|
# 'type': 'string',
|
||||||
#},
|
#},
|
||||||
@ -169,6 +173,13 @@ files_schema = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
binary_files_schema = {
|
||||||
|
'data': {
|
||||||
|
'type': 'media',
|
||||||
|
'required': True,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
'schema': nodes_schema
|
'schema': nodes_schema
|
||||||
}
|
}
|
||||||
@ -208,12 +219,18 @@ files = {
|
|||||||
'schema': files_schema,
|
'schema': files_schema,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
binary_files = {
|
||||||
|
'resource_methods': ['GET', 'POST'],
|
||||||
|
'schema': binary_files_schema,
|
||||||
|
}
|
||||||
|
|
||||||
DOMAIN = {
|
DOMAIN = {
|
||||||
'users': users,
|
'users': users,
|
||||||
'nodes': nodes,
|
'nodes': nodes,
|
||||||
'node_types': node_types,
|
'node_types': node_types,
|
||||||
'tokens': tokens,
|
'tokens': tokens,
|
||||||
'files': files,
|
'files': files,
|
||||||
|
'binary_files': binary_files,
|
||||||
}
|
}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user