diff --git a/package.json b/package.json index 612a6c4..9c61609 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "webpack-cli": "^3.1.0" }, "scripts": { + "start": "node index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Ben (plane000)", diff --git a/src/models/notes/groups.js b/src/models/notes/groups.js index cefe690..4369ccf 100644 --- a/src/models/notes/groups.js +++ b/src/models/notes/groups.js @@ -1,3 +1,3 @@ export class Groups { - + constructor() { } } diff --git a/src/models/notes/notes.js b/src/models/notes/notes.js index bb96204..5471d43 100644 --- a/src/models/notes/notes.js +++ b/src/models/notes/notes.js @@ -1,5 +1,32 @@ import {Groups} from './groups'; +import {Database} from '../database/database'; export class Notes extends Groups { + static async newNote(id, content, creatorid, order) { + Database.notes.newNote(id, null, ) + } + static async getNoteByEndpoint(endpoint) { + + } + + static async makeNotePerma(id, endpoint) { + + } + + static async newGroupedNote(id, content, creatorid, order, parentgroup) { + + } + + static async reorderNote(id, newPosition) { + + } + + static async regroupNote(id, groupid) { + + } + + static async deleteNote(id) { + + } }