Add endpoint for setting database name (Noded/frontend#16)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-10-13 10:09:23 -05:00
parent 2a5e3419e8
commit a0b5003087
2 changed files with 31 additions and 0 deletions

View File

@@ -80,6 +80,9 @@ const index = {
// Set the column configs for a database ref
'/db/:PageId/:NodeId/set/:DatabaseId/columns': [ 'controller::api:v1:FormDatabase.set_columns' ],
// Set the database name
'/db/:PageId/:NodeId/set/:DatabaseId/Name': [ 'controller::api:v1:FormDatabase.set_name' ],
// Delete the specified database ref
'/db/:PageId/:NodeId/drop/:DatabaseId': [ 'controller::api:v1:FormDatabase.drop_database' ],