This commit is contained in:
Gregory Schier 2016-09-21 18:26:40 -07:00
parent cb3384a2f5
commit 797a73c88f
9 changed files with 19 additions and 19 deletions

View File

@ -16,14 +16,14 @@ module.exports.CHANGE_REMOVE = 'remove';
// MODELS //
// ~~~~~~ //
module.exports.stats = require('./stats');
module.exports.settings = require('./settings');
module.exports.workspace = require('./workspace');
module.exports.environment = require('./environment');
module.exports.cookieJar = require('./cookieJar');
module.exports.requestGroup = require('./requestGroup');
module.exports.request = require('./request');
module.exports.response = require('./response');
module.exports.stats = require('./models/stats');
module.exports.settings = require('./models/settings');
module.exports.workspace = require('./models/workspace');
module.exports.environment = require('./models/environment');
module.exports.cookieJar = require('./models/cookieJar');
module.exports.requestGroup = require('./models/requestGroup');
module.exports.request = require('./models/request');
module.exports.response = require('./models/response');
const MODELS = [
module.exports.stats,

View File

@ -1,6 +1,6 @@
'use strict';
const db = require('./');
const db = require('../index');
module.exports.type = 'CookieJar';
module.exports.prefix = 'jar';

View File

@ -1,6 +1,6 @@
'use strict';
const db = require('./');
const db = require('../index');
module.exports.type = 'Environment';
module.exports.prefix = 'env';

View File

@ -1,8 +1,8 @@
'use strict';
const {PREVIEW_MODE_SOURCE} = require('../previewModes');
const {METHOD_GET} = require('../constants');
const db = require('./');
const {PREVIEW_MODE_SOURCE} = require('../../previewModes');
const {METHOD_GET} = require('../../constants');
const db = require('../index');
module.exports.type = 'Request';
module.exports.prefix = 'req';

View File

@ -1,6 +1,6 @@
'use strict';
const db = require('./');
const db = require('../index');
module.exports.type = 'RequestGroup';
module.exports.prefix = 'fld';

View File

@ -1,6 +1,6 @@
'use strict';
const db = require('./');
const db = require('../index');
module.exports.type = 'Response';
module.exports.prefix = 'res';

View File

@ -1,6 +1,6 @@
'use strict';
const db = require('./');
const db = require('../index');
module.exports.type = 'Settings';
module.exports.prefix = 'set';

View File

@ -1,6 +1,6 @@
'use strict';
const db = require('./');
const db = require('../index');
module.exports.type = 'Stats';
module.exports.prefix = 'sta';

View File

@ -1,7 +1,7 @@
'use strict';
const db = require('./');
const {DEFAULT_SIDEBAR_WIDTH} = require('../constants');
const db = require('../index');
const {DEFAULT_SIDEBAR_WIDTH} = require('../../constants');
module.exports.type = 'Workspace';
module.exports.prefix = 'wrk';