1 line
4.7 KiB
JSON
1 line
4.7 KiB
JSON
|
{"ast":null,"code":"var _jsxFileName = \"/Users/shoofle/Projects/the-forest/src/App.js\";\nimport client from 'libsql';\nimport logo from './logo.svg';\nimport './App.css';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nasync function initDb() {\n const config = {\n url: \"http://127.0.0.1:8000\"\n };\n const db = libsql.createClient(config);\n const cRet = await db.execute(create);\n return cRet;\n}\nfunction App() {\n coonsole.log(initDb());\n return /*#__PURE__*/_jsxDEV(\"div\", {\n className: \"App\",\n children: /*#__PURE__*/_jsxDEV(\"header\", {\n className: \"App-header\",\n children: [/*#__PURE__*/_jsxDEV(\"img\", {\n src: logo,\n className: \"App-logo\",\n alt: \"logo\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 21,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"p\", {\n children: [\"Edit \", /*#__PURE__*/_jsxDEV(\"code\", {\n children: \"src/App.js\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 16\n }, this), \" and save to reload.\"]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"a\", {\n className: \"App-link\",\n href: \"/\",\n children: \"Go to here!\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n children: /*#__PURE__*/_jsxDEV(\"h3\", {\n children: \"Welcome to the forest!\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 11\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 20,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 5\n }, this);\n}\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["client","logo","jsxDEV","_jsxDEV","initDb","config","url","db","libsql","createClient","cRet","execute","create","App","coonsole","log","className","children","src","alt","fileName","_jsxFileName","lineNumber","columnNumber","href","_c","$RefreshReg$"],"sources":["/Users/shoofle/Projects/the-forest/src/App.js"],"sourcesContent":["\nimport client from 'libsql'\nimport logo from './logo.svg';\nimport './App.css';\n\nasync function initDb() {\n const config = {\n url: \"http://127.0.0.1:8000\"\n };\n const db = libsql.createClient(config);\n\n const cRet = await db.execute(create);\n return cRet;\n}\n\nfunction App() {\n coonsole.log(initDb());\n return (\n <div className=\"App\">\n <header className=\"App-header\">\n <img src={logo} className=\"App-logo\" alt=\"logo\" />\n <p>\n Edit <code>src/App.js</code> and save to reload.\n </p>\n <a\n className=\"App-link\"\n href=\"/\">\n Go to here!\n </a>\n <div>\n <h3>Welcome to the forest!</h3>\n </div>\n </header>\n </div>\n );\n}\n\nexport default App;\n"],"mappings":";AACA,OAAOA,MAAM,MAAM,QAAQ;AAC3B,OAAOC,IAAI,MAAM,YAAY;AAC7B,OAAO,WAAW;AAAC,SAAAC,MAAA,IAAAC,OAAA;AAEnB,eAAeC,MAAMA,CAAA,EAAG;EACtB,MAAMC,MAAM,GAAG;IACPC,GAAG,EAAE;EACb,CAAC;EACD,MAAMC,EAAE,GAAGC,MAAM,CAACC,YAAY,CAACJ,MAAM,CAAC;EAEtC,MAAMK,IAAI,GAAG,MAAMH,EAAE,CAACI,OAAO,CAACC,MAAM,CAAC;EACrC,OAAOF,IAAI;AACb;AAEA,SAASG,GAAGA,CAAA,EAAG;EACbC,QAAQ,CAACC,GAAG,CAACX,MAAM,CAAC,CAAC,CAAC;EACtB,oBACED,OAAA;IAAKa,SAAS,EAAC,KAAK;IAAAC,QAAA,eAClBd,OAAA;MAAQa,SAAS,EAAC,YAAY;MAAAC,QAAA,gBAC5Bd,OAAA;QAAKe,GAAG,EAAEjB,IAAK;QAACe,SAAS,EAAC,UAAU;QAACG,GAAG,EAAC;MAAM;QAAAC,QAAA,EAAAC,YAAA;QAAAC,UAAA;QAAAC,YAAA;MAAA,OAAE,CAAC,eAClDpB,OAAA;QAAAc,QAAA,GAAG,OACI,eAAAd,OAAA;UAAAc,QAAA,EAAM;
|