db-json-cli 2.1.5 β†’ 2.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/app-path-routes-manifest.json +1 -1
  3. package/.next/standalone/.next/build-manifest.json +2 -2
  4. package/.next/standalone/.next/prerender-manifest.json +1 -1
  5. package/.next/standalone/.next/server/app/_not-found.html +1 -1
  6. package/.next/standalone/.next/server/app/_not-found.rsc +1 -1
  7. package/.next/standalone/.next/server/app/api/[resource]/[id]/route.js.nft.json +1 -1
  8. package/.next/standalone/.next/server/app/api/[resource]/route.js.nft.json +1 -1
  9. package/.next/standalone/.next/server/app/api/info/route.js.nft.json +1 -1
  10. package/.next/standalone/.next/server/app/api/login/route.js.nft.json +1 -1
  11. package/.next/standalone/.next/server/app/api/register/route.js.nft.json +1 -1
  12. package/.next/standalone/.next/server/app/index.html +1 -1
  13. package/.next/standalone/.next/server/app/index.rsc +1 -1
  14. package/.next/standalone/.next/server/app-paths-manifest.json +1 -1
  15. package/.next/standalone/.next/server/chunks/759.js +1 -1
  16. package/.next/standalone/.next/server/pages/404.html +1 -1
  17. package/.next/standalone/.next/server/pages/500.html +1 -1
  18. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  19. package/.next/standalone/db.json +50 -0
  20. package/.next/standalone/package.json +1 -1
  21. package/.next/standalone/server.js +9 -0
  22. package/bin/cli.js +29 -7
  23. package/package.json +1 -1
  24. package/.next/standalone/.next/static/8X1owD5Rl_inFPGRZKLYo/_buildManifest.js +0 -1
  25. package/.next/standalone/.next/static/8X1owD5Rl_inFPGRZKLYo/_ssgManifest.js +0 -1
  26. package/.next/standalone/.next/static/chunks/117-69b8841dc3821afe.js +0 -2
  27. package/.next/standalone/.next/static/chunks/463-043b417c5568631f.js +0 -1
  28. package/.next/standalone/.next/static/chunks/954-b2c56f3f904cc664.js +0 -1
  29. package/.next/standalone/.next/static/chunks/app/_not-found/page-633bb1b0381276e3.js +0 -1
  30. package/.next/standalone/.next/static/chunks/app/layout-fa3af872c59446d2.js +0 -1
  31. package/.next/standalone/.next/static/chunks/app/page-4c8ddca89b830386.js +0 -1
  32. package/.next/standalone/.next/static/chunks/fd9d1056-13294f02aa6fd7af.js +0 -1
  33. package/.next/standalone/.next/static/chunks/framework-f66176bb897dc684.js +0 -1
  34. package/.next/standalone/.next/static/chunks/main-a3aef5995f5a9328.js +0 -1
  35. package/.next/standalone/.next/static/chunks/main-app-9982ced3bf7037dc.js +0 -1
  36. package/.next/standalone/.next/static/chunks/pages/_app-72b849fbd24ac258.js +0 -1
  37. package/.next/standalone/.next/static/chunks/pages/_error-7ba65e1336b92748.js +0 -1
  38. package/.next/standalone/.next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
  39. package/.next/standalone/.next/static/chunks/webpack-020ce2426d70958e.js +0 -1
  40. package/.next/standalone/.next/static/css/9e7c0563f88bbaa4.css +0 -1
  41. package/.next/standalone/.next/static/css/d5eb02ddce896298.css +0 -1
  42. package/.next/standalone/.next/static/media/4aeaaf124a5054bc-s.p.woff2 +0 -0
@@ -1 +1 @@
1
- 8X1owD5Rl_inFPGRZKLYo
1
+ 3LfPaIQ3PtxFXvFaVqrC9
@@ -1 +1 @@
1
- {"/_not-found/page":"/_not-found","/page":"/","/api/login/route":"/api/login","/api/[resource]/route":"/api/[resource]","/api/[resource]/[id]/route":"/api/[resource]/[id]","/api/register/route":"/api/register","/api/info/route":"/api/info"}
1
+ {"/_not-found/page":"/_not-found","/page":"/","/api/login/route":"/api/login","/api/[resource]/route":"/api/[resource]","/api/register/route":"/api/register","/api/[resource]/[id]/route":"/api/[resource]/[id]","/api/info/route":"/api/info"}
@@ -5,8 +5,8 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/8X1owD5Rl_inFPGRZKLYo/_buildManifest.js",
9
- "static/8X1owD5Rl_inFPGRZKLYo/_ssgManifest.js"
8
+ "static/3LfPaIQ3PtxFXvFaVqrC9/_buildManifest.js",
9
+ "static/3LfPaIQ3PtxFXvFaVqrC9/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [
12
12
  "static/chunks/webpack-020ce2426d70958e.js",
@@ -1 +1 @@
1
- {"version":4,"routes":{"/":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/","dataRoute":"/index.rsc"},"/api/info":{"initialHeaders":{"content-type":"application/json","x-next-cache-tags":"_N_T_/layout,_N_T_/api/layout,_N_T_/api/info/layout,_N_T_/api/info/route,_N_T_/api/info"},"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/api/info","dataRoute":null}},"dynamicRoutes":{},"notFoundRoutes":[],"preview":{"previewModeId":"bb378568d09f90b6b14f6d01b9816c41","previewModeSigningKey":"a9b888d532c2470a57f953f1c4986f8f829a64c85b611838d2b3a0f46054ba50","previewModeEncryptionKey":"8efc479145872b82332b013ab9dad4f6b13145829d9525be8d58f051f82590b8"}}
1
+ {"version":4,"routes":{"/":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/","dataRoute":"/index.rsc"},"/api/info":{"initialHeaders":{"content-type":"application/json","x-next-cache-tags":"_N_T_/layout,_N_T_/api/layout,_N_T_/api/info/layout,_N_T_/api/info/route,_N_T_/api/info"},"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/api/info","dataRoute":null}},"dynamicRoutes":{},"notFoundRoutes":[],"preview":{"previewModeId":"e77ffdf0fb02c52cae90e357a74357f1","previewModeSigningKey":"1f788fe2d0a9fc2b4a7523ba2b1e106a678dc0f2affaf26b226b0582393529d2","previewModeEncryptionKey":"abc9711736abe7f699cf178708bb1d682f0eebe2c8caed6e4fa13d3a375ad697"}}
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="ko"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/9e7c0563f88bbaa4.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-020ce2426d70958e.js"/><script src="/_next/static/chunks/fd9d1056-13294f02aa6fd7af.js" async=""></script><script src="/_next/static/chunks/117-69b8841dc3821afe.js" async=""></script><script src="/_next/static/chunks/main-app-9982ced3bf7037dc.js" async=""></script><script src="/_next/static/chunks/954-b2c56f3f904cc664.js" async=""></script><script src="/_next/static/chunks/app/layout-fa3af872c59446d2.js" async=""></script><meta name="robots" content="noindex"/><title>db-json-cli</title><title>404: This page could not be found.</title><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__variable_746a73"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-020ce2426d70958e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/9e7c0563f88bbaa4.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2846,[],\"\"]\n4:I[4707,[],\"\"]\n5:I[6423,[],\"\"]\n6:I[6984,[\"954\",\"static/chunks/954-b2c56f3f904cc664.js\",\"185\",\"static/chunks/app/layout-fa3af872c59446d2.js\"],\"default\",1]\nc:I[1060,[],\"\"]\n7:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"8X1owD5Rl_inFPGRZKLYo\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/9e7c0563f88bbaa4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":{}}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}]]\n3:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="ko"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/9e7c0563f88bbaa4.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-020ce2426d70958e.js"/><script src="/_next/static/chunks/fd9d1056-13294f02aa6fd7af.js" async=""></script><script src="/_next/static/chunks/117-69b8841dc3821afe.js" async=""></script><script src="/_next/static/chunks/main-app-9982ced3bf7037dc.js" async=""></script><script src="/_next/static/chunks/954-b2c56f3f904cc664.js" async=""></script><script src="/_next/static/chunks/app/layout-fa3af872c59446d2.js" async=""></script><meta name="robots" content="noindex"/><title>db-json-cli</title><title>404: This page could not be found.</title><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__variable_746a73"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-020ce2426d70958e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/9e7c0563f88bbaa4.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2846,[],\"\"]\n4:I[4707,[],\"\"]\n5:I[6423,[],\"\"]\n6:I[6984,[\"954\",\"static/chunks/954-b2c56f3f904cc664.js\",\"185\",\"static/chunks/app/layout-fa3af872c59446d2.js\"],\"default\",1]\nc:I[1060,[],\"\"]\n7:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"3LfPaIQ3PtxFXvFaVqrC9\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/9e7c0563f88bbaa4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":{}}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}]]\n3:null\n"])</script></body></html>
@@ -5,6 +5,6 @@
5
5
  6:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
6
6
  7:{"display":"inline-block"}
7
7
  8:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
8
- 0:["8X1owD5Rl_inFPGRZKLYo",[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["/_not-found",{"children":["__PAGE__",{},[["$L1",[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null],null],null]},[null,["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children","/_not-found","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/9e7c0563f88bbaa4.css","precedence":"next","crossOrigin":"$undefined"}]],["$","$L4",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$5","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$6","children":"404"}],["$","div",null,{"style":"$7","children":["$","h2",null,{"style":"$8","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}],"params":{}}]],null],null],["$L9",["$","meta",null,{"name":"robots","content":"noindex"}]]]]]
8
+ 0:["3LfPaIQ3PtxFXvFaVqrC9",[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["/_not-found",{"children":["__PAGE__",{},[["$L1",[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null],null],null]},[null,["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children","/_not-found","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/9e7c0563f88bbaa4.css","precedence":"next","crossOrigin":"$undefined"}]],["$","$L4",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$5","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$6","children":"404"}],["$","div",null,{"style":"$7","children":["$","h2",null,{"style":"$8","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}],"params":{}}]],null],null],["$L9",["$","meta",null,{"name":"robots","content":"noindex"}]]]]]
9
9
  9:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}]]
10
10
  1:null
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/276.js","../../../../chunks/610.js","../../../../chunks/759.js","../../../../chunks/944.js","../../../../webpack-runtime.js"]}
1
+ {"version":1,"files":["../../../../../../db.json","../../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/276.js","../../../../chunks/610.js","../../../../chunks/759.js","../../../../chunks/944.js","../../../../webpack-runtime.js"]}
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/276.js","../../../chunks/610.js","../../../chunks/759.js","../../../chunks/944.js","../../../webpack-runtime.js"]}
1
+ {"version":1,"files":["../../../../../db.json","../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/276.js","../../../chunks/610.js","../../../chunks/759.js","../../../chunks/944.js","../../../webpack-runtime.js"]}
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/276.js","../../../chunks/610.js","../../../chunks/759.js","../../../webpack-runtime.js"]}
1
+ {"version":1,"files":["../../../../../db.json","../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/276.js","../../../chunks/610.js","../../../chunks/759.js","../../../webpack-runtime.js"]}
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/276.js","../../../chunks/610.js","../../../chunks/759.js","../../../chunks/944.js","../../../webpack-runtime.js"]}
1
+ {"version":1,"files":["../../../../../db.json","../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/276.js","../../../chunks/610.js","../../../chunks/759.js","../../../chunks/944.js","../../../webpack-runtime.js"]}
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/276.js","../../../chunks/610.js","../../../chunks/759.js","../../../chunks/944.js","../../../webpack-runtime.js"]}
1
+ {"version":1,"files":["../../../../../db.json","../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/276.js","../../../chunks/610.js","../../../chunks/759.js","../../../chunks/944.js","../../../webpack-runtime.js"]}
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="ko"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/9e7c0563f88bbaa4.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/d5eb02ddce896298.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-020ce2426d70958e.js"/><script src="/_next/static/chunks/fd9d1056-13294f02aa6fd7af.js" async=""></script><script src="/_next/static/chunks/117-69b8841dc3821afe.js" async=""></script><script src="/_next/static/chunks/main-app-9982ced3bf7037dc.js" async=""></script><script src="/_next/static/chunks/954-b2c56f3f904cc664.js" async=""></script><script src="/_next/static/chunks/463-043b417c5568631f.js" async=""></script><script src="/_next/static/chunks/app/page-4c8ddca89b830386.js" async=""></script><script src="/_next/static/chunks/app/layout-fa3af872c59446d2.js" async=""></script><title>db-json-cli</title><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__variable_746a73"><div class="page_loading-container__j4AFh">λ‘œλ”© 쀑...</div><script src="/_next/static/chunks/webpack-020ce2426d70958e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/9e7c0563f88bbaa4.css\",\"style\"]\n2:HL[\"/_next/static/css/d5eb02ddce896298.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[2846,[],\"\"]\n5:I[9107,[],\"ClientPageRoot\"]\n6:I[1984,[\"954\",\"static/chunks/954-b2c56f3f904cc664.js\",\"463\",\"static/chunks/463-043b417c5568631f.js\",\"931\",\"static/chunks/app/page-4c8ddca89b830386.js\"],\"default\",1]\n7:I[6984,[\"954\",\"static/chunks/954-b2c56f3f904cc664.js\",\"185\",\"static/chunks/app/layout-fa3af872c59446d2.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[6423,[],\"\"]\nc:I[1060,[],\"\"]\na:{}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L3\",null,{\"buildId\":\"8X1owD5Rl_inFPGRZKLYo\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"\"],\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$6\"}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/d5eb02ddce896298.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/9e7c0563f88bbaa4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":\"$a\"}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}]]\n4:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="ko"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/9e7c0563f88bbaa4.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/d5eb02ddce896298.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-020ce2426d70958e.js"/><script src="/_next/static/chunks/fd9d1056-13294f02aa6fd7af.js" async=""></script><script src="/_next/static/chunks/117-69b8841dc3821afe.js" async=""></script><script src="/_next/static/chunks/main-app-9982ced3bf7037dc.js" async=""></script><script src="/_next/static/chunks/954-b2c56f3f904cc664.js" async=""></script><script src="/_next/static/chunks/463-043b417c5568631f.js" async=""></script><script src="/_next/static/chunks/app/page-4c8ddca89b830386.js" async=""></script><script src="/_next/static/chunks/app/layout-fa3af872c59446d2.js" async=""></script><title>db-json-cli</title><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__variable_746a73"><div class="page_loading-container__j4AFh">λ‘œλ”© 쀑...</div><script src="/_next/static/chunks/webpack-020ce2426d70958e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/9e7c0563f88bbaa4.css\",\"style\"]\n2:HL[\"/_next/static/css/d5eb02ddce896298.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[2846,[],\"\"]\n5:I[9107,[],\"ClientPageRoot\"]\n6:I[1984,[\"954\",\"static/chunks/954-b2c56f3f904cc664.js\",\"463\",\"static/chunks/463-043b417c5568631f.js\",\"931\",\"static/chunks/app/page-4c8ddca89b830386.js\"],\"default\",1]\n7:I[6984,[\"954\",\"static/chunks/954-b2c56f3f904cc664.js\",\"185\",\"static/chunks/app/layout-fa3af872c59446d2.js\"],\"default\",1]\n8:I[4707,[],\"\"]\n9:I[6423,[],\"\"]\nc:I[1060,[],\"\"]\na:{}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L3\",null,{\"buildId\":\"3LfPaIQ3PtxFXvFaVqrC9\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"\"],\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$6\"}],[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/d5eb02ddce896298.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/9e7c0563f88bbaa4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":\"$a\"}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}]]\n4:null\n"])</script></body></html>
@@ -4,6 +4,6 @@
4
4
  5:I[4707,[],""]
5
5
  6:I[6423,[],""]
6
6
  7:{}
7
- 0:["8X1owD5Rl_inFPGRZKLYo",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d5eb02ddce896298.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/9e7c0563f88bbaa4.css","precedence":"next","crossOrigin":"$undefined"}]],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}],"params":"$7"}]],null],null],["$L8",null]]]]
7
+ 0:["3LfPaIQ3PtxFXvFaVqrC9",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d5eb02ddce896298.css","precedence":"next","crossOrigin":"$undefined"}]]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/9e7c0563f88bbaa4.css","precedence":"next","crossOrigin":"$undefined"}]],["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}],"params":"$7"}]],null],null],["$L8",null]]]]
8
8
  8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}]]
9
9
  1:null
@@ -3,7 +3,7 @@
3
3
  "/page": "app/page.js",
4
4
  "/api/login/route": "app/api/login/route.js",
5
5
  "/api/[resource]/route": "app/api/[resource]/route.js",
6
- "/api/[resource]/[id]/route": "app/api/[resource]/[id]/route.js",
7
6
  "/api/register/route": "app/api/register/route.js",
7
+ "/api/[resource]/[id]/route": "app/api/[resource]/[id]/route.js",
8
8
  "/api/info/route": "app/api/info/route.js"
9
9
  }
@@ -1 +1 @@
1
- "use strict";exports.id=759,exports.ids=[759],exports.modules={7431:(e,s,i)=>{i.d(s,{MP:()=>a,Qj:()=>o,R9:()=>r});let o={EMAIL_PASSWORD_REQUIRED:"이메일/λΉ„λ°€λ²ˆν˜Έκ°€ ν•„μš”ν•©λ‹ˆλ‹€",INVALID_CREDENTIALS:"인증 정보가 μ˜¬λ°”λ₯΄μ§€ μ•ŠμŠ΅λ‹ˆλ‹€",USER_ALREADY_EXISTS:"μ‚¬μš©μžκ°€ 이미 μ‘΄μž¬ν•©λ‹ˆλ‹€",NO_TOKEN:"토큰이 μ—†μŠ΅λ‹ˆλ‹€",INVALID_TOKEN:"μœ νš¨ν•˜μ§€ μ•Šμ€ ν† ν°μž…λ‹ˆλ‹€",TOKEN_EXPIRED:"토큰이 λ§Œλ£Œλ˜μ—ˆμŠ΅λ‹ˆλ‹€",UNAUTHORIZED:"κΆŒν•œμ΄ μ—†μŠ΅λ‹ˆλ‹€",INVALID_EMAIL_FORMAT:"μ˜¬λ°”λ₯Έ 이메일 ν˜•μ‹μ΄ μ•„λ‹™λ‹ˆλ‹€",PASSWORD_TOO_SHORT:"λΉ„λ°€λ²ˆν˜ΈλŠ” μ΅œμ†Œ 8자 이상이어야 ν•©λ‹ˆλ‹€",INVALID_ID_FORMAT:"μ˜¬λ°”λ₯Έ ID ν˜•μ‹μ΄ μ•„λ‹™λ‹ˆλ‹€",INVALID_QUERY_PARAMS:"μ˜¬λ°”λ₯΄μ§€ μ•Šμ€ 쿼리 νŒŒλΌλ―Έν„°μž…λ‹ˆλ‹€",MISSING_REQUIRED_FIELDS:"ν•„μˆ˜ ν•„λ“œκ°€ λˆ„λ½λ˜μ—ˆμŠ΅λ‹ˆλ‹€",RESOURCE_NOT_FOUND:"λ¦¬μ†ŒμŠ€λ₯Ό 찾을 수 μ—†μŠ΅λ‹ˆλ‹€",ITEM_NOT_FOUND:"찾을 수 μ—†μŠ΅λ‹ˆλ‹€",INVALID_BODY:"잘λͺ»λœ λ³Έλ¬Έμž…λ‹ˆλ‹€",DUPLICATE_ENTRY:"μ€‘λ³΅λœ ν•­λͺ©μž…λ‹ˆλ‹€",RESOURCE_ALREADY_EXISTS:"이미 μ‘΄μž¬ν•˜λŠ” λ¦¬μ†ŒμŠ€μž…λ‹ˆλ‹€",LOGIN_FAILED:"λ‘œκ·ΈμΈμ— μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",REGISTER_FAILED:"등둝에 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",FETCH_FAILED:"μ‘°νšŒμ— μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",CREATE_FAILED:"생성에 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",UPDATE_FAILED:"μˆ˜μ •μ— μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",DELETE_FAILED:"μ‚­μ œμ— μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",DATABASE_ERROR:"λ°μ΄ν„°λ² μ΄μŠ€ 였λ₯˜κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€",SERVER_ERROR:"μ„œλ²„ 였λ₯˜κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€",DATABASE_CONNECTION_FAILED:"λ°μ΄ν„°λ² μ΄μŠ€ 연결에 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",TOO_MANY_REQUESTS:"λ„ˆλ¬΄ λ§Žμ€ μš”μ²­μ΄ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€. μž μ‹œ ν›„ λ‹€μ‹œ μ‹œλ„ν•΄μ£Όμ„Έμš”",RATE_LIMIT_EXCEEDED:"μš”μ²­ μ œν•œμ„ μ΄ˆκ³Όν–ˆμŠ΅λ‹ˆλ‹€",PAYLOAD_TOO_LARGE:"μš”μ²­ 데이터가 λ„ˆλ¬΄ ν½λ‹ˆλ‹€",FILE_TOO_LARGE:"파일 크기가 λ„ˆλ¬΄ ν½λ‹ˆλ‹€",METHOD_NOT_ALLOWED:"ν—ˆμš©λ˜μ§€ μ•Šμ€ λ©”μ„œλ“œμž…λ‹ˆλ‹€",FORBIDDEN:"접근이 κΈˆμ§€λ˜μ—ˆμŠ΅λ‹ˆλ‹€",SERVICE_UNAVAILABLE:"μ„œλΉ„μŠ€λ₯Ό μΌμ‹œμ μœΌλ‘œ μ‚¬μš©ν•  수 μ—†μŠ΅λ‹ˆλ‹€",CONFLICT:"μš”μ²­μ΄ ν˜„μž¬ μ„œλ²„ μƒνƒœμ™€ μΆ©λŒν•©λ‹ˆλ‹€",GONE:"μš”μ²­ν•œ λ¦¬μ†ŒμŠ€κ°€ 더 이상 μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€"},a={register:{id:"register",method:"POST",path:"/register",summary:"μƒˆ μ‚¬μš©μž 계정 등둝",description:"이메일과 λΉ„λ°€λ²ˆν˜Έλ‘œ μƒˆλ‘œμš΄ μ‚¬μš©μžλ₯Ό λ“±λ‘ν•©λ‹ˆλ‹€.",auth:!1,requestBody:{email:"user@example.com",password:"securepassword123",name:"홍길동"},responses:{200:{description:"μ„±κ³΅μ μœΌλ‘œ 등둝됨",example:{accessToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",refreshToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",userInfo:{id:1,email:"user@example.com",name:"홍길동"}}},400:{description:"ν•„μˆ˜ ν•„λ“œ λˆ„λ½ λ˜λŠ” μœ νš¨ν•˜μ§€ μ•Šμ€ μž…λ ₯",example:{message:o.EMAIL_PASSWORD_REQUIRED}},409:{description:"이미 μ‘΄μž¬ν•˜λŠ” μ‚¬μš©μž",example:{message:o.USER_ALREADY_EXISTS}},422:{description:"μœ νš¨μ„± 검증 μ‹€νŒ¨",example:{message:o.INVALID_EMAIL_FORMAT}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.REGISTER_FAILED}}}},login:{id:"login",method:"POST",path:"/login",summary:"둜그인 및 μ•‘μ„ΈμŠ€ 토큰 λ°›κΈ°",description:"이메일과 λΉ„λ°€λ²ˆν˜Έλ‘œ λ‘œκ·ΈμΈν•˜μ—¬ JWT 토큰을 λ°›μŠ΅λ‹ˆλ‹€.",auth:!1,requestBody:{email:"user@example.com",password:"securepassword123"},responses:{200:{description:"둜그인 성곡",example:{accessToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",refreshToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",userInfo:{id:1,email:"user@example.com",name:"홍길동"}}},400:{description:"ν•„μˆ˜ ν•„λ“œ λˆ„λ½",example:{message:o.EMAIL_PASSWORD_REQUIRED}},401:{description:"잘λͺ»λœ 인증 정보",example:{message:o.INVALID_CREDENTIALS}},429:{description:"λ„ˆλ¬΄ λ§Žμ€ 둜그인 μ‹œλ„",example:{message:o.TOO_MANY_REQUESTS}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.LOGIN_FAILED}}}}},r=e=>{let s=[];return e.forEach(e=>{let i="private"===e.permission;s.push({id:`get-${e.key}`,method:"GET",path:`/${e.key}`,summary:`λͺ¨λ“  ${e.key} 쑰회`,description:`λͺ¨λ“  ${e.key} ν•­λͺ©μ„ μ‘°νšŒν•˜κ±°λ‚˜ ID λ²”μœ„λ‘œ ν•„ν„°λ§ν•©λ‹ˆλ‹€.`,auth:i,permission:e.permission,count:e.count,parameters:[{name:"from",in:"query",type:"number",description:"μ‹œμž‘ ID",required:!1},{name:"to",in:"query",type:"number",description:"μ’…λ£Œ ID",required:!1}],responses:{200:{description:"성곡",example:[{id:1,message:"μ˜ˆμ‹œ 데이터"},{id:2,message:"μ˜ˆμ‹œ 데이터"}]},400:{description:"잘λͺ»λœ 쿼리 νŒŒλΌλ―Έν„°",example:{message:o.INVALID_QUERY_PARAMS}},401:{description:"인증 ν•„μš”",example:{message:o.NO_TOKEN}},403:{description:"μ ‘κ·Ό κΈˆμ§€",example:{message:o.FORBIDDEN}},404:{description:"λ¦¬μ†ŒμŠ€λ₯Ό 찾을 수 μ—†μŒ",example:{message:o.RESOURCE_NOT_FOUND}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.FETCH_FAILED}}}}),s.push({id:`get-${e.key}-id`,method:"GET",path:`/${e.key}/:id`,summary:`νŠΉμ • ${e.key} 쑰회`,description:`ID둜 νŠΉμ • ${e.key} ν•­λͺ©μ„ μ‘°νšŒν•©λ‹ˆλ‹€.`,auth:i,permission:e.permission,parameters:[{name:"id",in:"path",type:"number",description:"ν•­λͺ© ID",required:!0}],responses:{200:{description:"성곡",example:{id:1,message:"μ˜ˆμ‹œ 데이터"}},400:{description:"잘λͺ»λœ ID ν˜•μ‹",example:{message:o.INVALID_ID_FORMAT}},401:{description:"인증 ν•„μš”",example:{message:o.NO_TOKEN}},403:{description:"μ ‘κ·Ό κΈˆμ§€",example:{message:o.FORBIDDEN}},404:{description:"ν•­λͺ©μ„ 찾을 수 μ—†μŒ",example:{message:o.ITEM_NOT_FOUND}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.FETCH_FAILED}}}}),s.push({id:`post-${e.key}`,method:"POST",path:`/${e.key}`,summary:`μƒˆ ${e.key} 생성`,description:`μƒˆλ‘œμš΄ ${e.key} ν•­λͺ©μ„ μƒμ„±ν•©λ‹ˆλ‹€. IDλŠ” μžλ™μœΌλ‘œ μƒμ„±λ©λ‹ˆλ‹€.`,auth:i,permission:e.permission,requestBody:{message:"여기에 λ©”μ‹œμ§€λ₯Ό μž…λ ₯ν•˜μ„Έμš”"},responses:{200:{description:"생성 성곡",example:{id:4,message:"여기에 λ©”μ‹œμ§€λ₯Ό μž…λ ₯ν•˜μ„Έμš”"}},400:{description:"잘λͺ»λœ μš”μ²­ λ³Έλ¬Έ",example:{message:o.INVALID_BODY}},401:{description:"인증 ν•„μš”",example:{message:o.NO_TOKEN}},403:{description:"μ ‘κ·Ό κΈˆμ§€",example:{message:o.FORBIDDEN}},404:{description:"λ¦¬μ†ŒμŠ€λ₯Ό 찾을 수 μ—†μŒ",example:{message:o.RESOURCE_NOT_FOUND}},409:{description:"μ€‘λ³΅λœ ν•­λͺ©",example:{message:o.DUPLICATE_ENTRY}},413:{description:"μš”μ²­ 데이터 크기 초과",example:{message:o.PAYLOAD_TOO_LARGE}},422:{description:"μœ νš¨μ„± 검증 μ‹€νŒ¨",example:{message:o.MISSING_REQUIRED_FIELDS}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.CREATE_FAILED}}}}),s.push({id:`put-${e.key}-id`,method:"PUT",path:`/${e.key}/:id`,summary:`${e.key} μˆ˜μ •`,description:`ID둜 νŠΉμ • ${e.key} ν•­λͺ©μ„ μˆ˜μ •ν•©λ‹ˆλ‹€.`,auth:i,permission:e.permission,parameters:[{name:"id",in:"path",type:"number",description:"ν•­λͺ© ID",required:!0}],requestBody:{message:"μˆ˜μ •λœ λ©”μ‹œμ§€"},responses:{200:{description:"μˆ˜μ • 성곡",example:{id:1,message:"μˆ˜μ •λœ λ©”μ‹œμ§€"}},400:{description:"잘λͺ»λœ μš”μ²­ λ³Έλ¬Έ",example:{message:o.INVALID_BODY}},401:{description:"인증 ν•„μš”",example:{message:o.NO_TOKEN}},403:{description:"μ ‘κ·Ό κΈˆμ§€",example:{message:o.FORBIDDEN}},404:{description:"ν•­λͺ©μ„ 찾을 수 μ—†μŒ",example:{message:o.ITEM_NOT_FOUND}},409:{description:"좩돌",example:{message:o.CONFLICT}},422:{description:"μœ νš¨μ„± 검증 μ‹€νŒ¨",example:{message:o.MISSING_REQUIRED_FIELDS}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.UPDATE_FAILED}}}}),s.push({id:`delete-${e.key}-id`,method:"DELETE",path:`/${e.key}/:id`,summary:`${e.key} μ‚­μ œ`,description:`ID둜 νŠΉμ • ${e.key} ν•­λͺ©μ„ μ‚­μ œν•©λ‹ˆλ‹€.`,auth:i,permission:e.permission,parameters:[{name:"id",in:"path",type:"number",description:"ν•­λͺ© ID",required:!0}],responses:{200:{description:"μ‚­μ œ 성곡",example:{id:1,message:"μ‚­μ œλœ λ©”μ‹œμ§€"}},400:{description:"잘λͺ»λœ ID ν˜•μ‹",example:{message:o.INVALID_ID_FORMAT}},401:{description:"인증 ν•„μš”",example:{message:o.NO_TOKEN}},403:{description:"μ ‘κ·Ό κΈˆμ§€",example:{message:o.FORBIDDEN}},404:{description:"ν•­λͺ©μ„ 찾을 수 μ—†μŒ",example:{message:o.ITEM_NOT_FOUND}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.DELETE_FAILED}}}})}),s}},53:(e,s,i)=>{i.d(s,{VK:()=>p,bY:()=>m});var o=i(788),a=i(5315);let r=null,t=null,n=()=>{if(process.env.DB_PATH){let e=a.resolve(process.env.DB_PATH);return console.log(`πŸ” [findDBPath] Using DB_PATH from env: ${e}`),e}console.log(`⚠️ [findDBPath] DB_PATH not set, searching...`);let e=process.cwd(),s=a.parse(e).root;for(;e!==s;){let s=a.join(e,"db.json");if(o.existsSync(s))return console.log(`βœ… [findDBPath] Found db.json at: ${s}`),s;e=a.dirname(e)}let i=a.join(process.cwd(),"db.json");return console.log(`πŸ“ [findDBPath] Creating new db.json at: ${i}`),i},p=async()=>{let e=process.env.DB_PATH;if(e&&t&&t!==a.resolve(e)&&(console.log(`πŸ”„ [getDB] DB_PATH changed, clearing cache`),r=null,t=null),r)return console.log(`πŸ’Ύ [getDB] Returning cached DB from: ${t}`),r;t||(t=n()),console.log(`πŸ“‚ [getDB] Final dbPath: ${t}`),console.log(`πŸ” [getDB] Checking if file exists...`);let s={users:[],rules:{test1:"public",test2:"private",test3:"public"},test1:[{id:1,message:"good"},{id:2,message:"good"},{id:3,message:"good"}],test2:[{id:1,message:"good"},{id:2,message:"good"},{id:3,message:"good"}],test3:[{id:1,message:"good"},{id:2,message:"good"},{id:3,message:"good"}]};if(o.existsSync(t)){console.log(`πŸ“– [getDB] File exists! Reading from: ${t}`);try{let e=await o.readJson(t);console.log(`πŸ“Š [getDB] Successfully read DB. Keys: ${Object.keys(e).join(", ")}`),console.log(`πŸ“Š [getDB] Users count: ${e.users?.length||0}`),console.log(`πŸ“Š [getDB] List count: ${e.list?.length||0}`),r=e}catch(e){throw console.error(`❌ [getDB] Error reading db.json:`,e),e}}else console.log(`πŸ†• [getDB] File doesn't exist. Creating default db.json at: ${t}`),r=s,await o.writeJson(t,s,{spaces:2});return r},m=async e=>{t||(t=n()),console.log(`πŸ’Ύ [saveDB] Saving to: ${t}`),r=e,await o.writeJson(t,e,{spaces:2})}}};
1
+ "use strict";exports.id=759,exports.ids=[759],exports.modules={7431:(e,s,i)=>{i.d(s,{MP:()=>a,Qj:()=>o,R9:()=>t});let o={EMAIL_PASSWORD_REQUIRED:"이메일/λΉ„λ°€λ²ˆν˜Έκ°€ ν•„μš”ν•©λ‹ˆλ‹€",INVALID_CREDENTIALS:"인증 정보가 μ˜¬λ°”λ₯΄μ§€ μ•ŠμŠ΅λ‹ˆλ‹€",USER_ALREADY_EXISTS:"μ‚¬μš©μžκ°€ 이미 μ‘΄μž¬ν•©λ‹ˆλ‹€",NO_TOKEN:"토큰이 μ—†μŠ΅λ‹ˆλ‹€",INVALID_TOKEN:"μœ νš¨ν•˜μ§€ μ•Šμ€ ν† ν°μž…λ‹ˆλ‹€",TOKEN_EXPIRED:"토큰이 λ§Œλ£Œλ˜μ—ˆμŠ΅λ‹ˆλ‹€",UNAUTHORIZED:"κΆŒν•œμ΄ μ—†μŠ΅λ‹ˆλ‹€",INVALID_EMAIL_FORMAT:"μ˜¬λ°”λ₯Έ 이메일 ν˜•μ‹μ΄ μ•„λ‹™λ‹ˆλ‹€",PASSWORD_TOO_SHORT:"λΉ„λ°€λ²ˆν˜ΈλŠ” μ΅œμ†Œ 8자 이상이어야 ν•©λ‹ˆλ‹€",INVALID_ID_FORMAT:"μ˜¬λ°”λ₯Έ ID ν˜•μ‹μ΄ μ•„λ‹™λ‹ˆλ‹€",INVALID_QUERY_PARAMS:"μ˜¬λ°”λ₯΄μ§€ μ•Šμ€ 쿼리 νŒŒλΌλ―Έν„°μž…λ‹ˆλ‹€",MISSING_REQUIRED_FIELDS:"ν•„μˆ˜ ν•„λ“œκ°€ λˆ„λ½λ˜μ—ˆμŠ΅λ‹ˆλ‹€",RESOURCE_NOT_FOUND:"λ¦¬μ†ŒμŠ€λ₯Ό 찾을 수 μ—†μŠ΅λ‹ˆλ‹€",ITEM_NOT_FOUND:"찾을 수 μ—†μŠ΅λ‹ˆλ‹€",INVALID_BODY:"잘λͺ»λœ λ³Έλ¬Έμž…λ‹ˆλ‹€",DUPLICATE_ENTRY:"μ€‘λ³΅λœ ν•­λͺ©μž…λ‹ˆλ‹€",RESOURCE_ALREADY_EXISTS:"이미 μ‘΄μž¬ν•˜λŠ” λ¦¬μ†ŒμŠ€μž…λ‹ˆλ‹€",LOGIN_FAILED:"λ‘œκ·ΈμΈμ— μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",REGISTER_FAILED:"등둝에 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",FETCH_FAILED:"μ‘°νšŒμ— μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",CREATE_FAILED:"생성에 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",UPDATE_FAILED:"μˆ˜μ •μ— μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",DELETE_FAILED:"μ‚­μ œμ— μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",DATABASE_ERROR:"λ°μ΄ν„°λ² μ΄μŠ€ 였λ₯˜κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€",SERVER_ERROR:"μ„œλ²„ 였λ₯˜κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€",DATABASE_CONNECTION_FAILED:"λ°μ΄ν„°λ² μ΄μŠ€ 연결에 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€",TOO_MANY_REQUESTS:"λ„ˆλ¬΄ λ§Žμ€ μš”μ²­μ΄ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€. μž μ‹œ ν›„ λ‹€μ‹œ μ‹œλ„ν•΄μ£Όμ„Έμš”",RATE_LIMIT_EXCEEDED:"μš”μ²­ μ œν•œμ„ μ΄ˆκ³Όν–ˆμŠ΅λ‹ˆλ‹€",PAYLOAD_TOO_LARGE:"μš”μ²­ 데이터가 λ„ˆλ¬΄ ν½λ‹ˆλ‹€",FILE_TOO_LARGE:"파일 크기가 λ„ˆλ¬΄ ν½λ‹ˆλ‹€",METHOD_NOT_ALLOWED:"ν—ˆμš©λ˜μ§€ μ•Šμ€ λ©”μ„œλ“œμž…λ‹ˆλ‹€",FORBIDDEN:"접근이 κΈˆμ§€λ˜μ—ˆμŠ΅λ‹ˆλ‹€",SERVICE_UNAVAILABLE:"μ„œλΉ„μŠ€λ₯Ό μΌμ‹œμ μœΌλ‘œ μ‚¬μš©ν•  수 μ—†μŠ΅λ‹ˆλ‹€",CONFLICT:"μš”μ²­μ΄ ν˜„μž¬ μ„œλ²„ μƒνƒœμ™€ μΆ©λŒν•©λ‹ˆλ‹€",GONE:"μš”μ²­ν•œ λ¦¬μ†ŒμŠ€κ°€ 더 이상 μ‘΄μž¬ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€"},a={register:{id:"register",method:"POST",path:"/register",summary:"μƒˆ μ‚¬μš©μž 계정 등둝",description:"이메일과 λΉ„λ°€λ²ˆν˜Έλ‘œ μƒˆλ‘œμš΄ μ‚¬μš©μžλ₯Ό λ“±λ‘ν•©λ‹ˆλ‹€.",auth:!1,requestBody:{email:"user@example.com",password:"securepassword123",name:"홍길동"},responses:{200:{description:"μ„±κ³΅μ μœΌλ‘œ 등둝됨",example:{accessToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",refreshToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",userInfo:{id:1,email:"user@example.com",name:"홍길동"}}},400:{description:"ν•„μˆ˜ ν•„λ“œ λˆ„λ½ λ˜λŠ” μœ νš¨ν•˜μ§€ μ•Šμ€ μž…λ ₯",example:{message:o.EMAIL_PASSWORD_REQUIRED}},409:{description:"이미 μ‘΄μž¬ν•˜λŠ” μ‚¬μš©μž",example:{message:o.USER_ALREADY_EXISTS}},422:{description:"μœ νš¨μ„± 검증 μ‹€νŒ¨",example:{message:o.INVALID_EMAIL_FORMAT}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.REGISTER_FAILED}}}},login:{id:"login",method:"POST",path:"/login",summary:"둜그인 및 μ•‘μ„ΈμŠ€ 토큰 λ°›κΈ°",description:"이메일과 λΉ„λ°€λ²ˆν˜Έλ‘œ λ‘œκ·ΈμΈν•˜μ—¬ JWT 토큰을 λ°›μŠ΅λ‹ˆλ‹€.",auth:!1,requestBody:{email:"user@example.com",password:"securepassword123"},responses:{200:{description:"둜그인 성곡",example:{accessToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",refreshToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",userInfo:{id:1,email:"user@example.com",name:"홍길동"}}},400:{description:"ν•„μˆ˜ ν•„λ“œ λˆ„λ½",example:{message:o.EMAIL_PASSWORD_REQUIRED}},401:{description:"잘λͺ»λœ 인증 정보",example:{message:o.INVALID_CREDENTIALS}},429:{description:"λ„ˆλ¬΄ λ§Žμ€ 둜그인 μ‹œλ„",example:{message:o.TOO_MANY_REQUESTS}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.LOGIN_FAILED}}}}},t=e=>{let s=[];return e.forEach(e=>{let i="private"===e.permission;s.push({id:`get-${e.key}`,method:"GET",path:`/${e.key}`,summary:`λͺ¨λ“  ${e.key} 쑰회`,description:`λͺ¨λ“  ${e.key} ν•­λͺ©μ„ μ‘°νšŒν•˜κ±°λ‚˜ ID λ²”μœ„λ‘œ ν•„ν„°λ§ν•©λ‹ˆλ‹€.`,auth:i,permission:e.permission,count:e.count,parameters:[{name:"from",in:"query",type:"number",description:"μ‹œμž‘ ID",required:!1},{name:"to",in:"query",type:"number",description:"μ’…λ£Œ ID",required:!1}],responses:{200:{description:"성곡",example:[{id:1,message:"μ˜ˆμ‹œ 데이터"},{id:2,message:"μ˜ˆμ‹œ 데이터"}]},400:{description:"잘λͺ»λœ 쿼리 νŒŒλΌλ―Έν„°",example:{message:o.INVALID_QUERY_PARAMS}},401:{description:"인증 ν•„μš”",example:{message:o.NO_TOKEN}},403:{description:"μ ‘κ·Ό κΈˆμ§€",example:{message:o.FORBIDDEN}},404:{description:"λ¦¬μ†ŒμŠ€λ₯Ό 찾을 수 μ—†μŒ",example:{message:o.RESOURCE_NOT_FOUND}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.FETCH_FAILED}}}}),s.push({id:`get-${e.key}-id`,method:"GET",path:`/${e.key}/:id`,summary:`νŠΉμ • ${e.key} 쑰회`,description:`ID둜 νŠΉμ • ${e.key} ν•­λͺ©μ„ μ‘°νšŒν•©λ‹ˆλ‹€.`,auth:i,permission:e.permission,parameters:[{name:"id",in:"path",type:"number",description:"ν•­λͺ© ID",required:!0}],responses:{200:{description:"성곡",example:{id:1,message:"μ˜ˆμ‹œ 데이터"}},400:{description:"잘λͺ»λœ ID ν˜•μ‹",example:{message:o.INVALID_ID_FORMAT}},401:{description:"인증 ν•„μš”",example:{message:o.NO_TOKEN}},403:{description:"μ ‘κ·Ό κΈˆμ§€",example:{message:o.FORBIDDEN}},404:{description:"ν•­λͺ©μ„ 찾을 수 μ—†μŒ",example:{message:o.ITEM_NOT_FOUND}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.FETCH_FAILED}}}}),s.push({id:`post-${e.key}`,method:"POST",path:`/${e.key}`,summary:`μƒˆ ${e.key} 생성`,description:`μƒˆλ‘œμš΄ ${e.key} ν•­λͺ©μ„ μƒμ„±ν•©λ‹ˆλ‹€. IDλŠ” μžλ™μœΌλ‘œ μƒμ„±λ©λ‹ˆλ‹€.`,auth:i,permission:e.permission,requestBody:{message:"여기에 λ©”μ‹œμ§€λ₯Ό μž…λ ₯ν•˜μ„Έμš”"},responses:{200:{description:"생성 성곡",example:{id:4,message:"여기에 λ©”μ‹œμ§€λ₯Ό μž…λ ₯ν•˜μ„Έμš”"}},400:{description:"잘λͺ»λœ μš”μ²­ λ³Έλ¬Έ",example:{message:o.INVALID_BODY}},401:{description:"인증 ν•„μš”",example:{message:o.NO_TOKEN}},403:{description:"μ ‘κ·Ό κΈˆμ§€",example:{message:o.FORBIDDEN}},404:{description:"λ¦¬μ†ŒμŠ€λ₯Ό 찾을 수 μ—†μŒ",example:{message:o.RESOURCE_NOT_FOUND}},409:{description:"μ€‘λ³΅λœ ν•­λͺ©",example:{message:o.DUPLICATE_ENTRY}},413:{description:"μš”μ²­ 데이터 크기 초과",example:{message:o.PAYLOAD_TOO_LARGE}},422:{description:"μœ νš¨μ„± 검증 μ‹€νŒ¨",example:{message:o.MISSING_REQUIRED_FIELDS}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.CREATE_FAILED}}}}),s.push({id:`put-${e.key}-id`,method:"PUT",path:`/${e.key}/:id`,summary:`${e.key} μˆ˜μ •`,description:`ID둜 νŠΉμ • ${e.key} ν•­λͺ©μ„ μˆ˜μ •ν•©λ‹ˆλ‹€.`,auth:i,permission:e.permission,parameters:[{name:"id",in:"path",type:"number",description:"ν•­λͺ© ID",required:!0}],requestBody:{message:"μˆ˜μ •λœ λ©”μ‹œμ§€"},responses:{200:{description:"μˆ˜μ • 성곡",example:{id:1,message:"μˆ˜μ •λœ λ©”μ‹œμ§€"}},400:{description:"잘λͺ»λœ μš”μ²­ λ³Έλ¬Έ",example:{message:o.INVALID_BODY}},401:{description:"인증 ν•„μš”",example:{message:o.NO_TOKEN}},403:{description:"μ ‘κ·Ό κΈˆμ§€",example:{message:o.FORBIDDEN}},404:{description:"ν•­λͺ©μ„ 찾을 수 μ—†μŒ",example:{message:o.ITEM_NOT_FOUND}},409:{description:"좩돌",example:{message:o.CONFLICT}},422:{description:"μœ νš¨μ„± 검증 μ‹€νŒ¨",example:{message:o.MISSING_REQUIRED_FIELDS}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.UPDATE_FAILED}}}}),s.push({id:`delete-${e.key}-id`,method:"DELETE",path:`/${e.key}/:id`,summary:`${e.key} μ‚­μ œ`,description:`ID둜 νŠΉμ • ${e.key} ν•­λͺ©μ„ μ‚­μ œν•©λ‹ˆλ‹€.`,auth:i,permission:e.permission,parameters:[{name:"id",in:"path",type:"number",description:"ν•­λͺ© ID",required:!0}],responses:{200:{description:"μ‚­μ œ 성곡",example:{id:1,message:"μ‚­μ œλœ λ©”μ‹œμ§€"}},400:{description:"잘λͺ»λœ ID ν˜•μ‹",example:{message:o.INVALID_ID_FORMAT}},401:{description:"인증 ν•„μš”",example:{message:o.NO_TOKEN}},403:{description:"μ ‘κ·Ό κΈˆμ§€",example:{message:o.FORBIDDEN}},404:{description:"ν•­λͺ©μ„ 찾을 수 μ—†μŒ",example:{message:o.ITEM_NOT_FOUND}},500:{description:"μ„œλ²„ 였λ₯˜",example:{message:o.DELETE_FAILED}}}})}),s}},53:(e,s,i)=>{i.d(s,{VK:()=>m,bY:()=>n});var o=i(788),a=i(5315);let t=null,r=null,p=()=>{if(process.env.DB_PATH){let e=a.resolve(process.env.DB_PATH);return console.log(`πŸ” [findDBPath] Using DB_PATH from env: ${e}`),e}console.warn(`⚠️ [findDBPath] DB_PATH not set! Using default: ./db.json`);let e=a.join(process.cwd(),"db.json");return console.log(`πŸ“ [findDBPath] Default path: ${e}`),e},m=async()=>{let e=process.env.DB_PATH;if(e&&r&&r!==a.resolve(e)&&(console.log(`πŸ”„ [getDB] DB_PATH changed, clearing cache`),t=null,r=null),t)return console.log(`πŸ’Ύ [getDB] Returning cached DB`),t;r||(r=p()),console.log(`πŸ“‚ [getDB] Using dbPath: ${r}`),console.log(`πŸ” [getDB] File exists: ${o.existsSync(r)}`);let s={users:[],rules:{test1:"public",test2:"private",test3:"public"},test1:[{id:1,message:"good"},{id:2,message:"good"},{id:3,message:"good"}],test2:[{id:1,message:"good"},{id:2,message:"good"},{id:3,message:"good"}],test3:[{id:1,message:"good"},{id:2,message:"good"},{id:3,message:"good"}]};try{if(o.existsSync(r)){console.log(`πŸ“– [getDB] Reading file...`);let e=await o.readJson(r);console.log(`βœ… [getDB] Successfully loaded! Keys: ${Object.keys(e).join(", ")}`),console.log(`πŸ“Š [getDB] - users: ${e.users?.length||0} items`),console.log(`πŸ“Š [getDB] - list: ${e.list?.length||0} items`),console.log(`πŸ“Š [getDB] - rules:`,e.rules),t=e}else console.log(`πŸ†• [getDB] File doesn't exist, creating default db.json`),t=s,await o.writeJson(r,s,{spaces:2})}catch(e){throw console.error(`❌ [getDB] Error:`,e),e}return t},n=async e=>{r||(r=p()),console.log(`πŸ’Ύ [saveDB] Saving to: ${r}`),t=e,await o.writeJson(r,e,{spaces:2})}}};
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="ko"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/9e7c0563f88bbaa4.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-020ce2426d70958e.js"/><script src="/_next/static/chunks/fd9d1056-13294f02aa6fd7af.js" async=""></script><script src="/_next/static/chunks/117-69b8841dc3821afe.js" async=""></script><script src="/_next/static/chunks/main-app-9982ced3bf7037dc.js" async=""></script><script src="/_next/static/chunks/954-b2c56f3f904cc664.js" async=""></script><script src="/_next/static/chunks/app/layout-fa3af872c59446d2.js" async=""></script><meta name="robots" content="noindex"/><title>db-json-cli</title><title>404: This page could not be found.</title><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__variable_746a73"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-020ce2426d70958e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/9e7c0563f88bbaa4.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2846,[],\"\"]\n4:I[4707,[],\"\"]\n5:I[6423,[],\"\"]\n6:I[6984,[\"954\",\"static/chunks/954-b2c56f3f904cc664.js\",\"185\",\"static/chunks/app/layout-fa3af872c59446d2.js\"],\"default\",1]\nc:I[1060,[],\"\"]\n7:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"8X1owD5Rl_inFPGRZKLYo\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/9e7c0563f88bbaa4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":{}}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}]]\n3:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="ko"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/9e7c0563f88bbaa4.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-020ce2426d70958e.js"/><script src="/_next/static/chunks/fd9d1056-13294f02aa6fd7af.js" async=""></script><script src="/_next/static/chunks/117-69b8841dc3821afe.js" async=""></script><script src="/_next/static/chunks/main-app-9982ced3bf7037dc.js" async=""></script><script src="/_next/static/chunks/954-b2c56f3f904cc664.js" async=""></script><script src="/_next/static/chunks/app/layout-fa3af872c59446d2.js" async=""></script><meta name="robots" content="noindex"/><title>db-json-cli</title><title>404: This page could not be found.</title><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__variable_746a73"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-020ce2426d70958e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/9e7c0563f88bbaa4.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[2846,[],\"\"]\n4:I[4707,[],\"\"]\n5:I[6423,[],\"\"]\n6:I[6984,[\"954\",\"static/chunks/954-b2c56f3f904cc664.js\",\"185\",\"static/chunks/app/layout-fa3af872c59446d2.js\"],\"default\",1]\nc:I[1060,[],\"\"]\n7:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"3LfPaIQ3PtxFXvFaVqrC9\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"_not-found\"],\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null],null],null]},[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/9e7c0563f88bbaa4.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":{}}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}]]\n3:null\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>500: Internal Server Error</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-020ce2426d70958e.js" defer=""></script><script src="/_next/static/chunks/framework-f66176bb897dc684.js" defer=""></script><script src="/_next/static/chunks/main-a3aef5995f5a9328.js" defer=""></script><script src="/_next/static/chunks/pages/_app-72b849fbd24ac258.js" defer=""></script><script src="/_next/static/chunks/pages/_error-7ba65e1336b92748.js" defer=""></script><script src="/_next/static/8X1owD5Rl_inFPGRZKLYo/_buildManifest.js" defer=""></script><script src="/_next/static/8X1owD5Rl_inFPGRZKLYo/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"8X1owD5Rl_inFPGRZKLYo","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>500: Internal Server Error</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-020ce2426d70958e.js" defer=""></script><script src="/_next/static/chunks/framework-f66176bb897dc684.js" defer=""></script><script src="/_next/static/chunks/main-a3aef5995f5a9328.js" defer=""></script><script src="/_next/static/chunks/pages/_app-72b849fbd24ac258.js" defer=""></script><script src="/_next/static/chunks/pages/_error-7ba65e1336b92748.js" defer=""></script><script src="/_next/static/3LfPaIQ3PtxFXvFaVqrC9/_buildManifest.js" defer=""></script><script src="/_next/static/3LfPaIQ3PtxFXvFaVqrC9/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"3LfPaIQ3PtxFXvFaVqrC9","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- {"node":{},"edge":{},"encryptionKey":"8fAUS+kECCbXcc3kGVgMrJazjwF+MhUE9Ev2pgkFOd8="}
1
+ {"node":{},"edge":{},"encryptionKey":"nXuciJuKCdh5J36oNkEul4klKiYraRYoJijFOCTCcZs="}
@@ -0,0 +1,50 @@
1
+ {
2
+ "users": [],
3
+ "rules": {
4
+ "test1": "public",
5
+ "test2": "private",
6
+ "test3": "public"
7
+ },
8
+ "test1": [
9
+ {
10
+ "id": 1,
11
+ "message": "good"
12
+ },
13
+ {
14
+ "id": 2,
15
+ "message": "good"
16
+ },
17
+ {
18
+ "id": 3,
19
+ "message": "good"
20
+ }
21
+ ],
22
+ "test2": [
23
+ {
24
+ "id": 1,
25
+ "message": "good"
26
+ },
27
+ {
28
+ "id": 2,
29
+ "message": "good"
30
+ },
31
+ {
32
+ "id": 3,
33
+ "message": "good"
34
+ }
35
+ ],
36
+ "test3": [
37
+ {
38
+ "id": 1,
39
+ "message": "good"
40
+ },
41
+ {
42
+ "id": 2,
43
+ "message": "good"
44
+ },
45
+ {
46
+ "id": 3,
47
+ "message": "good"
48
+ }
49
+ ]
50
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "db-json-cli",
3
- "version": "2.1.5",
3
+ "version": "2.1.7",
4
4
  "license": "MIT",
5
5
  "description": "JSON-based backend server with JWT authentication and CLI support",
6
6
  "repository": {
@@ -1,3 +1,12 @@
1
+
2
+ console.log("\nπŸš€ [Server] Starting standalone server...");
3
+ console.log("πŸ” [Server] Environment variables:");
4
+ console.log(" - DB_PATH:", process.env.DB_PATH);
5
+ console.log(" - PORT:", process.env.PORT);
6
+ console.log(" - HOSTNAME:", process.env.HOSTNAME);
7
+ console.log(" - NODE_ENV:", process.env.NODE_ENV);
8
+ console.log(" - cwd:", process.cwd());
9
+ console.log("");
1
10
  performance.mark('next-start');
2
11
  import path from 'path'
3
12
  import { fileURLToPath } from 'url'
package/bin/cli.js CHANGED
@@ -26,16 +26,38 @@ const standalonePath = path.join(__dirname, "..", ".next", "standalone");
26
26
  // βœ… μ ˆλŒ€ 경둜둜 λ³€ν™˜
27
27
  const dbFullPath = path.resolve(argv.db);
28
28
 
29
- // βœ… ν™˜κ²½λ³€μˆ˜ μ„€μ •
30
- process.env.DB_PATH = dbFullPath;
31
- process.env.PORT = argv.port.toString();
32
- process.env.HOSTNAME = "0.0.0.0";
33
-
34
29
  console.log(`βœ… db-json-cli v${version} running on http://localhost:${argv.port}`);
35
30
  console.log(`πŸ“ DB Path: ${dbFullPath}\n`);
36
31
 
37
- spawn("node", [path.join(standalonePath, "server.js")], {
32
+ // βœ… ν™˜κ²½λ³€μˆ˜λ₯Ό λͺ…μ‹œμ μœΌλ‘œ 객체둜 λ§Œλ“€μ–΄μ„œ 전달
33
+ const childEnv = {
34
+ ...process.env, // κΈ°μ‘΄ ν™˜κ²½λ³€μˆ˜ 볡사
35
+ DB_PATH: dbFullPath,
36
+ PORT: argv.port.toString(),
37
+ HOSTNAME: "0.0.0.0",
38
+ NODE_ENV: "production",
39
+ };
40
+
41
+ console.log(`πŸ” [CLI] Setting environment variables:`);
42
+ console.log(` - DB_PATH: ${childEnv.DB_PATH}`);
43
+ console.log(` - PORT: ${childEnv.PORT}`);
44
+ console.log(` - HOSTNAME: ${childEnv.HOSTNAME}\n`);
45
+
46
+ const child = spawn("node", [path.join(standalonePath, "server.js")], {
38
47
  cwd: standalonePath,
39
48
  stdio: "inherit",
40
- env: process.env, // βœ… ν™˜κ²½λ³€μˆ˜ 전달
49
+ env: childEnv, // βœ… λͺ…μ‹œμ μœΌλ‘œ ν™˜κ²½λ³€μˆ˜ 전달
50
+ shell: process.platform === "win32", // βœ… Windows ν˜Έν™˜μ„±
51
+ });
52
+
53
+ child.on("error", (error) => {
54
+ console.error(`❌ Failed to start server:`, error);
55
+ process.exit(1);
56
+ });
57
+
58
+ child.on("exit", (code) => {
59
+ if (code !== 0) {
60
+ console.error(`❌ Server exited with code ${code}`);
61
+ }
62
+ process.exit(code);
41
63
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "db-json-cli",
3
- "version": "2.1.5",
3
+ "version": "2.1.7",
4
4
  "license": "MIT",
5
5
  "description": "JSON-based backend server with JWT authentication and CLI support",
6
6
  "repository": {
@@ -1 +0,0 @@
1
- self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-7ba65e1336b92748.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -1 +0,0 @@
1
- self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()