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:
Daniel Lockyer 2022-08-11 16:23:06 +02:00
parent 8daa4afc34
commit dc0cec56ea
5 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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 () {