|
|
@ -14,11 +14,11 @@ export class FeatureManagementStateService { |
|
|
return this.store.selectSnapshot(FeatureManagementState.getFeatures); |
|
|
return this.store.selectSnapshot(FeatureManagementState.getFeatures); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
dispatchGetFeatures(payload: FeatureManagement.Provider) { |
|
|
dispatchGetFeatures(...args: ConstructorParameters<typeof GetFeatures>) { |
|
|
return this.store.dispatch(new GetFeatures(payload)); |
|
|
return this.store.dispatch(new GetFeatures(...args)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
dispatchUpdateFeatures(payload: FeatureManagement.Provider & FeatureManagement.Features) { |
|
|
dispatchUpdateFeatures(...args: ConstructorParameters<typeof UpdateFeatures>) { |
|
|
return this.store.dispatch(new UpdateFeatures(payload)); |
|
|
return this.store.dispatch(new UpdateFeatures(...args)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|