{"size": 2097, "ext": "js", "max_stars_repo_path": "src/monitor/events/monitor-event.js", "max_stars_repo_name": "tuantle/virida-air-quality-monitor-app", "max_stars_repo_stars_event_min_datetime": "2019-05-13T17:39:48.000Z", "max_stars_repo_stars_event_max_datetime": "2021-07-30T13:56:25.000Z", "max_issues_repo_path": "src/monitor/events/monitor-event.js", "max_issues_repo_name": "tuantle/virida-air-quality-monitor-app", "max_issues_repo_issues_event_min_datetime": "2020-09-06T11:39:05.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-10T01:08:39.000Z", "max_forks_repo_path": "src/monitor/events/monitor-event.js", "max_forks_repo_name": "tuantle/virida-air-quality-monitor-app", "max_forks_repo_forks_event_min_datetime": "2019-07-17T17:07:16.000Z", "max_forks_repo_forks_event_max_datetime": "2020-11-08T09:45:05.000Z"}
{"max_stars_count": 6, "max_issues_count": 3, "max_forks_count": 3, "avg_line_length": 29.9571428571, "max_line_length": 81, "alphanum_fraction": 0.5798760134}
/**
 * Copyright (c) 2017-present, Viria, Inc. All rights reserved.
 *
 * Licensed under the MIT License.
 * You may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://opensource.org/licenses/mit-license.html
 *
 * Unless = required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 *------------------------------------------------------------------------
 *
 * @description - Viria client native app air quality regional monitor event ids.
 *
 * @author Tuan Le (tuan.t.lei@gmail.com)
 *
 *------------------------------------------------------------------------
 * @format
 * @flow
 */
'use strict'; // eslint-disable-line

import { Hf } from 'hyperflow';

export default Hf.Event.create({
    onEvents: [
        `refresh-aqr-feed-data`,
        `refresh-aqr-forecast-data`,
        `show-aq-actionable-tip-modal`,
        `close-aq-actionable-tip-modal`,
        `show-aq-whatis-modal`,
        `close-aq-whatis-modal`,
        `show-aq-forecast-discussion-modal`,
        `close-aq-forecast-discussion-modal`
    ],
    doEvents: [
        `monitor-reset`,
        `monitor-activation`,
        `device-coordinate-refresh`,
        `mutate-monitor-status`,
        `mutate-aqr-info`,
        `mutate-aqr-feeds`,
        `mutate-aqr-forecasts`,
        `mutate-aq-actionable-tip`,
        `mutate-aq-whatis`,
        `mutate-aq-forecast-discussion`,
        `mutate-notification-setting`
    ],
    broadcastEvents: [
        `run-mode`,
        `setting-written`,
        `device-online`,
        `device-geolocation-online`,
        `device-coordinate`,
        `monitor-alert`,
        `daily-aq-alert`,
        `unhealthy-aq-alert`
    ],
    requestEvents: [
        `aqicn-aqr-feed-data`,
        `air-now-aqr-feed-data`,
        `air-now-aqr-forecast-data`
    ]
});
