mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-31 13:47:02 +02:00
fix: import paths
This commit is contained in:
parent
664664200d
commit
bf778a6741
@ -85,7 +85,6 @@ export default class ProjectFeaturesController extends Controller {
|
||||
this.toggleEnvironmentOff,
|
||||
UPDATE_FEATURE_ENVIRONMENT,
|
||||
);
|
||||
|
||||
// activation strategies
|
||||
this.get(`${PATH_STRATEGIES}`, this.getStrategies);
|
||||
this.post(
|
||||
@ -93,11 +92,7 @@ export default class ProjectFeaturesController extends Controller {
|
||||
this.addStrategy,
|
||||
CREATE_FEATURE_STRATEGY,
|
||||
);
|
||||
this.post(
|
||||
`${PATH_STRATEGIES}/validate-constraint`,
|
||||
this.validateConstraint,
|
||||
NONE,
|
||||
);
|
||||
|
||||
this.get(`${PATH_STRATEGY}`, this.getStrategy);
|
||||
this.put(
|
||||
`${PATH_STRATEGY}`,
|
||||
@ -114,6 +109,11 @@ export default class ProjectFeaturesController extends Controller {
|
||||
this.deleteStrategy,
|
||||
DELETE_FEATURE_STRATEGY,
|
||||
);
|
||||
this.post(
|
||||
`${PATH_FEATURE}/validate-constraint`,
|
||||
this.validateConstraint,
|
||||
NONE,
|
||||
);
|
||||
|
||||
// feature toggles
|
||||
this.get(PATH, this.getFeatures);
|
||||
|
@ -67,7 +67,7 @@ import {
|
||||
validateNumber,
|
||||
validateSemver,
|
||||
validateString,
|
||||
} from 'lib/util/validators/constraint-types';
|
||||
} from '../util/validators/constraint-types';
|
||||
import { IContextFieldStore } from 'lib/types/stores/context-field-store';
|
||||
|
||||
interface IFeatureContext {
|
||||
|
Loading…
Reference in New Issue
Block a user