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