Module

Note

Members

Object.<Sequelize.models>

# inner constant models

Sequelize models

View Source api/interfaces/Note.js, line 11

Methods

# async inner add(newNote) → {Promise.<APIResp>}

Add a new note

Parameters:
Name Type Description
newNote NewNote

View Source api/interfaces/Note.js, line 45

APIError
Promise.<APIResp>

# async inner getByID(noteID) → {Promise.<APIResp>}

Get one note by its id

Parameters:
Name Type Description
noteID number

View Source api/interfaces/Note.js, line 60

APIError
Promise.<APIResp>

Type Definitions

Object

# NewNote

Properties:
Name Type Description
user_id number
module_id number
note number

View Source api/interfaces/Note.js, line 19