UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

20 lines 1.18 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GET_FREQUENCIES_DATA = 'GET_FREQUENCIES_DATA'; exports.SET_FREQUENCIES_DATA = 'SET_FREQUENCIES_DATA'; exports.SET_FREQUENCY_AUTO_IS_ON = 'SET_FREQUENCY_AUTO_IS_ON'; exports.SET_AUTO_ALLOCATION_GLOBAL = 'SET_AUTO_ALLOCATION_GLOBAL'; exports.SET_FREQUENCY_AUTO_ALLOCATION = 'SET_FREQUENCY_AUTO_ALLOCATION'; exports.setFrequenciesData = (regions, serviceCentres, frequencies, autoAllocationGlobal) => ({ type: exports.SET_FREQUENCIES_DATA, regions, serviceCentres, frequencies, autoAllocationGlobal, }); exports.setFrequencyAutoIsOn = (label, counterpartLabel, autoIsOn) => ({ type: exports.SET_FREQUENCY_AUTO_IS_ON, label, counterpartLabel, autoIsOn }); // THESE 2 ACTIONS SHOULD BE REPLACED BY THE SUBMIT FORM ACTION exports.setAutoAllocationGlobal = (autoAllocationGlobal) => ({ type: exports.SET_AUTO_ALLOCATION_GLOBAL, autoAllocationGlobal }); exports.setFrequencyAutoAllocation = (label, autoIsOn) => ({ type: exports.SET_FREQUENCY_AUTO_ALLOCATION, label, autoIsOn }); exports.getFrequenciesData = { type: exports.GET_FREQUENCIES_DATA }; //# sourceMappingURL=data.js.map