cc463c6d7914bd3e1e66961e6779a952.json
1.05 KB
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.jumpTo=exports.JUMP_TO=void 0;var _objectSpread2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectSpread\"));var JUMP_TO='Navigation/JUMP_TO';exports.JUMP_TO=JUMP_TO;var jumpTo=function jumpTo(payload){return(0,_objectSpread2.default)({type:JUMP_TO,preserveFocus:true},payload);};exports.jumpTo=jumpTo;","map":{"version":3,"sources":["SwitchActions.ts"],"names":["JUMP_TO","jumpTo","type","preserveFocus"],"mappings":"kLAAA,0FAAO,GAAMA,CAAAA,OAAO,CAAb,oBAAA,C,wBAEA,GAAMC,CAAAA,MAAM,CAANA,QAAAA,CAAAA,MAAAA,CAAS,OAATA,CAAS,CAAA,MAAA,2BAAA,CAKpBC,IAAI,CALgB,OAAA,CAMpBC,aAAa,CANO,IAAA,CAAA,CAAA,OAAA,CAAA,CAAf,CAAA,C","sourcesContent":["export const JUMP_TO = 'Navigation/JUMP_TO';\n\nexport const jumpTo = (payload: {\n routeName: string;\n key: string;\n params?: object;\n}) => ({\n type: JUMP_TO,\n preserveFocus: true,\n ...payload,\n});\n"]},"metadata":{},"sourceType":"script"}