GT2/GT2-iOS/node_modules/xdl/build/__sourcemaps__/Config.js.map

1 line
2.2 KiB
Plaintext

{"version":3,"sources":["Config.js"],"names":["let","scheme","process","env","XDL_SCHEME","host","XDL_HOST","port","parseInt","XDL_PORT","Env","isStaging","isLocal","config","api","ngrok","authToken","authTokenPublicId","domain","developerTool","validation","reactNativeVersionWarnings","helpUrl","offline","useReduxNotifications"],"mappings":";;;;;;;;AAIA;AAAA;AAAA;;;;AAEAA,IAAIC,SAASC,QAAQC,GAARD,CAAYE,UAAZF,IAA0B,OAAvCF;;AACAA,IAAIK,OAAOH,QAAQC,GAARD,CAAYI,QAAZJ,IAAwB,UAAnCF;AACAA,IAAIO,OAAgBC,SAASN,QAAQC,GAARD,CAAYO,QAArBD,EAA+B,EAA/BA,KAAsC,IAA1DR;;AAEA,IAAIU,sBAAIC,SAAJD,EAAJ,EAAqB;AACnBL,SAAO,kBAAPA;AACF,CAFA,MAEO,IAAIK,sBAAIE,OAAJF,EAAJ,EAAmB;AACxBT,WAAS,MAATA;AACAI,SAAO,WAAPA;AACAE,SAAO,IAAPA;AACF;;AAsBA,MAAMM,SAAoB;AACxBC,OAAK;AACHb,UADG;AAEHI,QAFG;AAGHE;AAHG,GADmB;AAMxBQ,SAAO;AACLC,eAAW,6CADN;AAELC,uBAAmB,uBAFd;AAGLC,YAAQ;AAHH,GANiB;AAWxBC,iBAAgB,IAXQ;AAYxBC,cAAY;AACVC,gCAA4B;AADlB,GAZY;AAexBC,WAAS,uBAfe;AAgBxBC,WAAS,KAhBe;AAiBxBC,yBAAuB;AAjBC,CAA1B;;kBAoBeX,M","file":"../Config.js","sourcesContent":["/**\n * @flow\n */\n\nimport * as Env from './Env';\n\nlet scheme = process.env.XDL_SCHEME || 'https';\nlet host = process.env.XDL_HOST || 'exp.host';\nlet port: ?number = parseInt(process.env.XDL_PORT, 10) || null;\n\nif (Env.isStaging()) {\n host = 'staging.exp.host';\n} else if (Env.isLocal()) {\n scheme = 'http';\n host = 'localhost';\n port = 3000;\n}\n\ndeclare interface XDLConfig {\n api: {\n scheme: string,\n host: string,\n port: ?number,\n };\n ngrok: {\n authToken: string,\n authTokenPublicId: string,\n domain: string,\n };\n developerTool: ?string;\n validation: {\n reactNativeVersionWarnings: boolean,\n };\n helpUrl: string;\n offline: boolean;\n useReduxNotifications: boolean;\n}\n\nconst config: XDLConfig = {\n api: {\n scheme,\n host,\n port,\n },\n ngrok: {\n authToken: '5W1bR67GNbWcXqmxZzBG1_56GezNeaX6sSRvn8npeQ8',\n authTokenPublicId: '5W1bR67GNbWcXqmxZzBG1',\n domain: 'exp.direct',\n },\n developerTool: (null: ?string),\n validation: {\n reactNativeVersionWarnings: true,\n },\n helpUrl: 'https://docs.expo.io/',\n offline: false,\n useReduxNotifications: false,\n};\n\nexport default config;\n"],"sourceRoot":"/xdl/src"}