{"size": 1299, "ext": "js", "max_stars_repo_path": "src/events/Events.js", "max_stars_repo_name": "rendfall/TubTub", "max_stars_repo_stars_event_min_datetime": "2016-02-01T21:22:26.000Z", "max_stars_repo_stars_event_max_datetime": "2016-02-01T21:22:26.000Z", "max_issues_repo_path": "src/events/Events.js", "max_issues_repo_name": "rendfall/TubTub", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/events/Events.js", "max_forks_repo_name": "rendfall/TubTub", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.9846153846, "max_line_length": 67, "alphanum_fraction": 0.597382602}
/**
 * Order structure:
 *  - source
 *  - destination
 *  - element or context
 *  - action
 * 
 * For example event triggered from GUI to Core 
 * when volume has changed should looks like this:
 * EVENT.GUI.CORE.VOLUMERANGE.CHANGE as GUI:CORE:VolumeRange:change
 */

const EVENTS = {}

EVENTS.CORE = {};
EVENTS.GUI = {};

EVENTS.CORE.GUI = {
    PLAYBUTTON: {
        CLICK: 'CORE:GUI:PlayButton:click'
    },

    VOLUMERANGE: {
        CHANGE: 'CORE:GUI:VolumeRange:change',
        DRAG: 'CORE:GUI:VolumeRange:drag',
        CLICK: 'CORE:GUI:VolumeRange:click'
    },

    LOADBUTTON: {
        CLICK: 'CORE:GUI:LoadButton:click'
    },

    PROGRESSBAR: {
        CHANGE: 'CORE:GUI:ProgressBar:change',
        DRAG: 'CORE:GUI:ProgressBar:drag'
    },

    LOADINPUT: {
        KEYPRESSED: 'CORE:GUI:LoadInput:keypressed'
    }
};

EVENTS.GUI.CORE = {
    PLAYBUTTON: {
        CLICK: 'GUI:CORE:playbutton:click'
    },

    VOLUMERANGE: {
        CHANGE: 'GUI:CORE:VolumeRange:change',
        DRAG: 'GUI:CORE:VolumeRange:drag',
        CLICK: 'GUI:CORE:VolumeRange:click'
    },

    LOADBUTTON: {
        CLICK: 'GUI:CORE:LoadButton:click'
    },

    PROGRESSBAR: {
        CHANGE: 'GUI:CORE:ProgressBar:change',
        DRAG: 'GUI:CORE:ProgressBar:drag'
    }
};

export default EVENTS;
