UNPKG

cabbie-sync

Version:
37 lines (28 loc) 1.11 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.BrowserOrientation = undefined; var _flowRuntime = require('flow-runtime'); var _flowRuntime2 = _interopRequireDefault(_flowRuntime); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * * This file is generated automatically, run npm run build to re-generate. **/ var BrowserOrientation = exports.BrowserOrientation = _flowRuntime2.default.type('BrowserOrientation', _flowRuntime2.default.union(_flowRuntime2.default.string('landscape'), _flowRuntime2.default.string('portrait'))); /* * Browser orientaton is typically used for mobile devices to track whether the device * is in landscape or portrait mode. */ var BrowserOrientationEnum = { /* * Landscape orientation of the device */ ORIENTATION_LANDSCAPE: _flowRuntime2.default.string('landscape').assert('landscape'), /* * Portrait orientation of the device */ ORIENTATION_PORTRAIT: _flowRuntime2.default.string('portrait').assert('portrait') }; exports.default = BrowserOrientationEnum;