mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
Moved settings mappers from shared frame to endpoints
- I'm still not sure where these are meant to be but they don't really belong in shared and I'm about to pull that folder out into a separate package
This commit is contained in:
parent
8daa4afc34
commit
dc0cec56ea
@ -5,8 +5,8 @@ const _ = require('lodash');
|
||||
const BaseImporter = require('./base');
|
||||
const models = require('../../../../models');
|
||||
const defaultSettings = require('../../../schema').defaultSettings;
|
||||
const keyGroupMapper = require('../../../../api/shared/serializers/input/utils/settings-key-group-mapper');
|
||||
const keyTypeMapper = require('../../../../api/shared/serializers/input/utils/settings-key-type-mapper');
|
||||
const keyGroupMapper = require('../../../../api/endpoints/utils/serializers/input/utils/settings-key-group-mapper');
|
||||
const keyTypeMapper = require('../../../../api/endpoints/utils/serializers/input/utils/settings-key-type-mapper');
|
||||
const {WRITABLE_KEYS_ALLOWLIST} = require('../../../../../shared/labs');
|
||||
|
||||
const labsDefaults = JSON.parse(defaultSettings.labs.labs.defaultValue);
|
||||
|
@ -1,5 +1,5 @@
|
||||
const should = require('should');
|
||||
const mapper = require('../../../../../../../../core/server/api/shared/serializers/input/utils/settings-filter-type-group-mapper');
|
||||
const mapper = require('../../../../../../../../core/server/api/endpoints/utils/serializers/input/utils/settings-filter-type-group-mapper');
|
||||
|
||||
describe('Unit: endpoints/utils/serializers/input/utils/settings-type-group-mapper', function () {
|
||||
describe('browse', function () {
|
||||
|
Loading…
Reference in New Issue
Block a user