added "type" to attribute dialog, name autocomplete servers according to the choice

This commit is contained in:
azivner
2018-08-03 11:11:57 +02:00
parent 097114c0f2
commit 509093b755
8 changed files with 623 additions and 233 deletions

View File

@@ -136,7 +136,7 @@ function register(app) {
apiRoute(GET, '/api/notes/:noteId/attributes', attributesRoute.getNoteAttributes);
apiRoute(PUT, '/api/notes/:noteId/attributes', attributesRoute.updateNoteAttributes);
apiRoute(GET, '/api/attributes/names', attributesRoute.getAllAttributeNames);
apiRoute(GET, '/api/attributes/names', attributesRoute.getAttributeNames);
apiRoute(GET, '/api/attributes/values/:attributeName', attributesRoute.getValuesForAttribute);
apiRoute(GET, '/api/notes/:noteId/labels', labelsRoute.getNoteLabels);