This commit is contained in:
Wu Cheng-Han 2017-03-14 16:28:30 +08:00
commit 0fc8e7c30e
19 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,4 @@
'use strict'
// auth
// external modules
var passport = require('passport')

View File

@ -1,3 +1,4 @@
'use strict'
// external modules
var fs = require('fs')
var path = require('path')

View File

@ -1,3 +1,4 @@
'use strict'
// history
// external modules

View File

@ -1,3 +1,4 @@
'use strict'
// external modules
var randomcolor = require('randomcolor')

View File

@ -1,3 +1,4 @@
'use strict'
var winston = require('winston')
winston.emitErrs = true

View File

@ -1,3 +1,4 @@
'use strict'
module.exports = {
up: function (queryInterface, Sequelize) {
queryInterface.addColumn('Users', 'accessToken', Sequelize.STRING)

View File

@ -1,3 +1,4 @@
'use strict'
module.exports = {
up: function (queryInterface, Sequelize) {
queryInterface.addColumn('Notes', 'savedAt', Sequelize.DATE)

View File

@ -1,3 +1,4 @@
'use strict'
module.exports = {
up: function (queryInterface, Sequelize) {
queryInterface.addColumn('Notes', 'authorship', Sequelize.TEXT)

View File

@ -1,3 +1,4 @@
'use strict'
module.exports = {
up: function (queryInterface, Sequelize) {
queryInterface.addColumn('Notes', 'deletedAt', Sequelize.DATE)

View File

@ -1,3 +1,4 @@
'use strict'
module.exports = {
up: function (queryInterface, Sequelize) {
queryInterface.addColumn('Users', 'email', Sequelize.TEXT)

View File

@ -1,3 +1,4 @@
'use strict'
// external modules
var Sequelize = require('sequelize')

View File

@ -1,3 +1,4 @@
'use strict'
// external modules
var fs = require('fs')
var path = require('path')

View File

@ -1,3 +1,4 @@
'use strict'
// external modules
var fs = require('fs')
var path = require('path')

View File

@ -1,3 +1,4 @@
'use strict'
// external modules
var Sequelize = require('sequelize')
var async = require('async')

View File

@ -1,3 +1,4 @@
'use strict'
// external modules
var shortId = require('shortid')

View File

@ -1,3 +1,4 @@
'use strict'
// external modules
var md5 = require('blueimp-md5')
var Sequelize = require('sequelize')

View File

@ -1,3 +1,4 @@
'use strict'
// realtime
// external modules
var cookie = require('cookie')

View File

@ -1,3 +1,4 @@
'use strict'
// response
// external modules
var fs = require('fs')

View File

@ -1,3 +1,4 @@
'use strict'
// external modules
var DiffMatchPatch = require('diff-match-patch')
var dmp = new DiffMatchPatch()