Skip to content

Ft add access level to document 147989671#12

Open
vonvick wants to merge 1 commit intodevelopmentfrom
ft-add-access-level-to-document-147989671
Open

Ft add access level to document 147989671#12
vonvick wants to merge 1 commit intodevelopmentfrom
ft-add-access-level-to-document-147989671

Conversation

@vonvick
Copy link
Copy Markdown
Owner

@vonvick vonvick commented Aug 8, 2017

What does this PR do?

This PR adds access level to the API

/* eslint import/no-unresolved: 0 */
import db from '../../models/';
import ErrorHandler from '../helpers/ErrorHandler';
import DocumentHelper from '../helpers/DocumentHelper';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../helpers/DocumentHelper" import/extensions

@@ -0,0 +1,54 @@
/* eslint import/no-unresolved: 0 */
import db from '../../models/';
import ErrorHandler from '../helpers/ErrorHandler';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../helpers/ErrorHandler" import/extensions

@@ -0,0 +1,54 @@
/* eslint import/no-unresolved: 0 */
import db from '../../models/';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../models/" import/extensions

import 'babel-polyfill';
import chai from 'chai';
import factory from '../helpers/factory.helpers';
import db from '../../models/';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../models/" import/extensions

/* eslint no-unused-expressions: 0 */
/* eslint import/no-unresolved: 0 */
import 'babel-polyfill';
import chai from 'chai';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "chai" import/extensions

@@ -0,0 +1,89 @@
/* eslint no-unused-expressions: 0 */
/* eslint import/no-unresolved: 0 */
import 'babel-polyfill';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "babel-polyfill" import/extensions

import factory from '../helpers/factory.helpers';
import sampleDoc from '../helpers/documents.helper';
import db from '../../models/';
import authenticate from '../../middlewares/authenticate';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../middlewares/authenticate" import/extensions

import app from '../../app';
import factory from '../helpers/factory.helpers';
import sampleDoc from '../helpers/documents.helper';
import db from '../../models/';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../models/" import/extensions

import sinon from 'sinon';
import events from 'events';
import supertest from 'supertest';
import app from '../../app';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../app" import/extensions

import chai from 'chai';
import sinon from 'sinon';
import events from 'events';
import supertest from 'supertest';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "supertest" import/extensions

/* eslint import/no-unresolved: 0 */
import db from '../../models/';
import ErrorHandler from '../helpers/ErrorHandler';
import DocumentHelper from '../helpers/DocumentHelper';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../helpers/DocumentHelper" import/extensions

@@ -0,0 +1,54 @@
/* eslint import/no-unresolved: 0 */
import db from '../../models/';
import ErrorHandler from '../helpers/ErrorHandler';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../helpers/ErrorHandler" import/extensions

@@ -0,0 +1,54 @@
/* eslint import/no-unresolved: 0 */
import db from '../../models/';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../models/" import/extensions

import 'babel-polyfill';
import chai from 'chai';
import factory from '../helpers/factory.helpers';
import db from '../../models/';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../models/" import/extensions

/* eslint no-unused-expressions: 0 */
/* eslint import/no-unresolved: 0 */
import 'babel-polyfill';
import chai from 'chai';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "chai" import/extensions

@@ -0,0 +1,89 @@
/* eslint no-unused-expressions: 0 */
/* eslint import/no-unresolved: 0 */
import 'babel-polyfill';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "babel-polyfill" import/extensions

import factory from '../helpers/factory.helpers';
import sampleDoc from '../helpers/documents.helper';
import db from '../../models/';
import authenticate from '../../middlewares/authenticate';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../middlewares/authenticate" import/extensions

import app from '../../app';
import factory from '../helpers/factory.helpers';
import sampleDoc from '../helpers/documents.helper';
import db from '../../models/';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../models/" import/extensions

import sinon from 'sinon';
import events from 'events';
import supertest from 'supertest';
import app from '../../app';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../app" import/extensions

import chai from 'chai';
import sinon from 'sinon';
import events from 'events';
import supertest from 'supertest';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "supertest" import/extensions

return queryInterface.dropTable('Documents');
}
};
}; No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline required at end of file but not found eol-last

});
},
down: function (queryInterface, Sequelize) {
down: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars

'use strict';
module.exports = {
up: function (queryInterface, Sequelize) {
up: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren

}
});
},
down: function (queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
'Sequelize' is defined but never used no-unused-vars

@@ -0,0 +1,32 @@
'use strict';
module.exports = {
up: function (queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names

down: function(queryInterface, Sequelize) {
return queryInterface.dropTable('Permissions');
}
}; No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline required at end of file but not found eol-last

}
});
},
down: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars

@@ -0,0 +1,32 @@
'use strict';
module.exports = {
up: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren

@@ -0,0 +1,32 @@
'use strict';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected newline after "use strict" directive lines-around-directive
'use strict' is unnecessary inside of modules strict

import chai from 'chai';
import factory from '../helpers/factory.helpers';
import rolePermissions from '../helpers/rolePermissions.helper';
import db from '../../models/';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../models/" import/extensions

return queryInterface.dropTable('Documents');
}
};
}; No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline required at end of file but not found eol-last

});
},
down: function (queryInterface, Sequelize) {
down: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars

'use strict';
module.exports = {
up: function (queryInterface, Sequelize) {
up: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren

}
});
},
down: function (queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
'Sequelize' is defined but never used no-unused-vars

@@ -0,0 +1,32 @@
'use strict';
module.exports = {
up: function (queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names

'use strict';
module.exports = {
up: function (queryInterface, Sequelize) {
up: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren

down: function(queryInterface, Sequelize) {
return queryInterface.dropTable('Permissions');
}
}; No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline required at end of file but not found eol-last

}
});
},
down: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars

@@ -0,0 +1,32 @@
'use strict';
module.exports = {
up: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren

@@ -0,0 +1,32 @@
'use strict';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected newline after "use strict" directive lines-around-directive
'use strict' is unnecessary inside of modules strict

Repository owner deleted a comment from houndci-bot Aug 16, 2017
import chai from 'chai';
import supertest from 'supertest';
import app from '../app';
import app from '../../app';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../app" import/extensions

}]);
},

down: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'down' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars

'use strict';

module.exports = {
up: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars

@@ -0,0 +1,63 @@
'use strict';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'use strict' is unnecessary inside of modules strict


module.exports = {
up: function (queryInterface, Sequelize) {
up: function(queryInterface, Sequelize) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected method shorthand object-shorthand
Unexpected unnamed method 'up' func-names
Missing space before function parentheses space-before-function-paren
'Sequelize' is defined but never used no-unused-vars

@vonvick vonvick force-pushed the ft-add-access-level-to-document-147989671 branch from 0ab0936 to a461927 Compare August 16, 2017 18:42
import chai from 'chai';
import factory from '../helpers/factory.helpers';
import rolePermissions from '../helpers/rolePermissions.helper';
import db from '../../models/';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../models/" import/extensions

import factory from '../helpers/factory.helpers';
import rolePermissions from '../helpers/rolePermissions.helper';
import documents from '../helpers/documents.helper';
import db from '../../models/';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "../../models/" import/extensions

import 'babel-polyfill';
import httpMocks from 'node-mocks-http';
import chai from 'chai';
import sinon from 'sinon';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "sinon" import/extensions

/* eslint no-unused-expressions: 0 */
import 'babel-polyfill';
import httpMocks from 'node-mocks-http';
import chai from 'chai';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "chai" import/extensions

/* eslint no-underscore-dangle: 0 */
/* eslint no-unused-expressions: 0 */
import 'babel-polyfill';
import httpMocks from 'node-mocks-http';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing file extension for "node-mocks-http" import/extensions

Repository owner deleted a comment from houndci-bot Aug 16, 2017
Repository owner deleted a comment from houndci-bot Aug 16, 2017
Repository owner deleted a comment from houndci-bot Aug 16, 2017
Repository owner deleted a comment from houndci-bot Aug 16, 2017
@vonvick vonvick force-pushed the ft-add-access-level-to-document-147989671 branch from a461927 to e04873d Compare August 16, 2017 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants