{"size": 614, "ext": "js", "max_stars_repo_path": "src/state/ciphers/events/index.js", "max_stars_repo_name": "sgermain06/codebreaker", "max_stars_repo_stars_event_min_datetime": "2021-03-01T17:03:49.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-15T20:05:57.000Z", "max_issues_repo_path": "src/state/ciphers/events/index.js", "max_issues_repo_name": "sgermain06/codebreaker", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/state/ciphers/events/index.js", "max_forks_repo_name": "sgermain06/codebreaker", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.7, "max_line_length": 100, "alphanum_fraction": 0.7589576547}
import {buildEvents, singleParameter, namedParams, noParameters} from '../../_common/events/create';

const definition = {
    AddCipher: singleParameter,
    UpdateCipher: namedParams('cipher', 'update'),
    CompleteCipher: singleParameter,
    CancelCipher: singleParameter,
    SetCharacterGrid: singleParameter,
    SetGridClasses: singleParameter,
    AddBrokenGridCell: singleParameter,
    ResetGrid: noParameters,
    StartDownloadCipher: singleParameter,
    DownloadCipherComplete: singleParameter,
};

const {types, events} = buildEvents('ciphers', definition);

export {types};

export default events;