UNPKG

cabbie-sync

Version:
40 lines (33 loc) 1.25 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.TimeOutType = 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 TimeOutType = exports.TimeOutType = _flowRuntime2.default.type('TimeOutType', _flowRuntime2.default.union(_flowRuntime2.default.string('script'), _flowRuntime2.default.string('async'), _flowRuntime2.default.string('page load'), _flowRuntime2.default.string('implicit'))); var TimeOutTypeEnum = { /* * Synchronous script execution timeout */ SCRIPT: _flowRuntime2.default.string('script').assert('script'), /* * Asynchronous script execution timeout */ ASYNC_SCRIPT: _flowRuntime2.default.string('async').assert('async'), /* * Page load timeout */ PAGE_LOAD: _flowRuntime2.default.string('page load').assert('page load'), /* * Implicit wait timeout. * Implicit waits are applied for all requests. */ IMPLICIT: _flowRuntime2.default.string('implicit').assert('implicit') }; exports.default = TimeOutTypeEnum;