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 // auth
// external modules // external modules
var passport = require('passport') var passport = require('passport')

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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