Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import keyMirror from 'babel/utils/helper/objects/KeyMirror';
const appState = keyMirror({
LAYOUT_STATE: null,
LOAD_STATE: null,
VIEW_STATE: null,
CONTRIBUTE: null
},'lower-dashed');
const common = keyMirror({
CHANGE: null
},'lower-dashed');
const forms = keyMirror({
VALIDATION_EVENT: null
},'lower-dashed');
export const Events = {
appState,
SCRIPTS_LOADED: null,
SET_LAYOUT: null,
SET_VIEW: null
},'lower-dashed');
const arcgis = keyMirror({
RECEIVE_APP_ITEM: null
},'lower-dashed');
const contribute = keyMirror({
SAVE: null,
START: null,
UPDATE_CONTRIBUTION: null
},'lower-dashed');
const forms = keyMirror({
FORM_CREATED: null,
FORM_COMPLETED: null,
VALIDATION_FINISHED: null,
VALIDATION_STARTED: null
},'lower-dashed');
const map = keyMirror({
RECEIVE_FEATURES: null,
STORE_MAP_OBJECTS: null
},'lower-dashed');
export const ActionTypes = {
app,
arcgis,
contribute,
forms,
import keyMirror from 'babel/utils/helper/objects/KeyMirror';
const names = keyMirror({
GALLERY: null,
INTRO: null,
MAP: null
},'lower-dashed');
export const Components = {
names
};
export default Components;
import keyMirror from 'babel/utils/helper/objects/KeyMirror';
const app = keyMirror({
SETTINGS_NEXT: null,
UPDATE_APP_DATA: null
},'lower-dashed');
export const ActionTypes = {
app
};
export default ActionTypes;
import keyMirror from 'babel/utils/helper/objects/KeyMirror';
const app = keyMirror({
AUTHORIZATION: null,
COMPONENT_LOADED: null,
LOADING_ERROR: null,
SCRIPTS_LOADED: null,
SET_LAYOUT: null,
SET_VIEW: null
},'lower-dashed');
const arcgis = keyMirror({
RECEIVE_APP_ITEM: null
},'lower-dashed');
const contribute = keyMirror({
SAVE: null,
START: null,
UPDATE_CONTRIBUTION: null
},'lower-dashed');
const forms = keyMirror({
FORM_CREATED: null,
FORM_COMPLETED: null,
VALIDATION_FINISHED: null,
VALIDATION_STARTED: null
},'lower-dashed');
import keyMirror from 'babel/utils/helper/objects/KeyMirror';
const app = keyMirror({
AUTHORIZATION: null,
COMPONENT_LOADED: null,
LOADING_ERROR: null,
SCRIPTS_LOADED: null,
SET_LAYOUT: null,
SET_VIEW: null
},'lower-dashed');
const arcgis = keyMirror({
RECEIVE_APP_ITEM: null
},'lower-dashed');
const contribute = keyMirror({
SAVE: null,
START: null,
UPDATE_CONTRIBUTION: null
},'lower-dashed');
const forms = keyMirror({
FORM_CREATED: null,
FORM_COMPLETED: null,
VALIDATION_FINISHED: null,
VALIDATION_STARTED: null
},'lower-dashed');
const map = keyMirror({
RECEIVE_FEATURES: null,
STORE_MAP_OBJECTS: null
},'lower-dashed');
import keyMirror from 'babel/utils/helper/objects/KeyMirror';
const appState = keyMirror({
SETTINGS_VIEW: null
},'lower-dashed');
export const Events = {
appState
};
export default Events;
},'lower-dashed');
const contribute = keyMirror({
SAVE: null,
START: null,
UPDATE_CONTRIBUTION: null
},'lower-dashed');
const forms = keyMirror({
FORM_CREATED: null,
FORM_COMPLETED: null,
VALIDATION_FINISHED: null,
VALIDATION_STARTED: null
},'lower-dashed');
const map = keyMirror({
RECEIVE_FEATURES: null,
STORE_MAP_OBJECTS: null
},'lower-dashed');
export const ActionTypes = {
app,
arcgis,
contribute,
forms,
map
};
export default ActionTypes;
import keyMirror from 'babel/utils/helper/objects/KeyMirror';
const app = keyMirror({
AUTHORIZATION: null,
COMPONENT_LOADED: null,
LOADING_ERROR: null,
SCRIPTS_LOADED: null,
SET_LAYOUT: null,
SET_VIEW: null
},'lower-dashed');
const arcgis = keyMirror({
RECEIVE_APP_ITEM: null
},'lower-dashed');
const contribute = keyMirror({
SAVE: null,
START: null,
UPDATE_CONTRIBUTION: null
import keyMirror from 'babel/utils/helper/objects/KeyMirror';
const appState = keyMirror({
LAYOUT_STATE: null,
LOAD_STATE: null,
VIEW_STATE: null,
CONTRIBUTE: null
},'lower-dashed');
const common = keyMirror({
CHANGE: null
},'lower-dashed');
const forms = keyMirror({
VALIDATION_EVENT: null
},'lower-dashed');
export const Events = {
appState,
common,
forms
};
export default Events;