db-json-cli 2.1.3 → 2.1.4

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.
@@ -1 +1 @@
1
- ANGyQ0qQihM3hnAa-ot73
1
+ MrHJaJC5Pdtiu_DEnHAAI
@@ -1 +1 @@
1
- {"/_not-found/page":"/_not-found","/page":"/","/api/info/route":"/api/info","/api/login/route":"/api/login","/api/[resource]/route":"/api/[resource]","/api/register/route":"/api/register","/api/[resource]/[id]/route":"/api/[resource]/[id]"}
1
+ {"/_not-found/page":"/_not-found","/page":"/","/api/register/route":"/api/register","/api/login/route":"/api/login","/api/[resource]/route":"/api/[resource]","/api/info/route":"/api/info","/api/[resource]/[id]/route":"/api/[resource]/[id]"}
@@ -5,8 +5,8 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/ANGyQ0qQihM3hnAa-ot73/_buildManifest.js",
9
- "static/ANGyQ0qQihM3hnAa-ot73/_ssgManifest.js"
8
+ "static/MrHJaJC5Pdtiu_DEnHAAI/_buildManifest.js",
9
+ "static/MrHJaJC5Pdtiu_DEnHAAI/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [
12
12
  "static/chunks/webpack-020ce2426d70958e.js",
@@ -1 +1 @@
1
- {"version":4,"routes":{"/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},"/":{"experimentalBypassFor":[{"type":"header","key":"Next-Action"},{"type":"header","key":"content-type","value":"multipart/form-data;.*"}],"initialRevalidateSeconds":false,"srcRoute":"/","dataRoute":"/index.rsc"}},"dynamicRoutes":{},"notFoundRoutes":[],"preview":{"previewModeId":"88b7deb392c7f68e19556feeb230f01b","previewModeSigningKey":"923352fd8e683098cd66a08a7a08274455e8db9c0944a261d1f1c06396a4a5df","previewModeEncryptionKey":"e82c0844d8d840101138048e37eabd0daf6331a2c45042316466bc45390902b4"}}
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":"2b2ce1e7a334eef745466d10f06d0ffe","previewModeSigningKey":"b75a77104d090ee7f15bcdd37fad74f566edd0b37eb91358e3f7d9dc47010045","previewModeEncryptionKey":"372350942472429ba5a9741ef356023e2d5a8bde300b60981b52c6db8a9d0317"}}
@@ -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\":\"ANGyQ0qQihM3hnAa-ot73\",\"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\":\"MrHJaJC5Pdtiu_DEnHAAI\",\"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:["ANGyQ0qQihM3hnAa-ot73",[[["",{"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:["MrHJaJC5Pdtiu_DEnHAAI",[[["",{"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
- <!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\":\"ANGyQ0qQihM3hnAa-ot73\",\"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\":\"MrHJaJC5Pdtiu_DEnHAAI\",\"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:["ANGyQ0qQihM3hnAa-ot73",[[["",{"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:["MrHJaJC5Pdtiu_DEnHAAI",[[["",{"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
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "/_not-found/page": "app/_not-found/page.js",
3
3
  "/page": "app/page.js",
4
- "/api/info/route": "app/api/info/route.js",
4
+ "/api/register/route": "app/api/register/route.js",
5
5
  "/api/login/route": "app/api/login/route.js",
6
6
  "/api/[resource]/route": "app/api/[resource]/route.js",
7
- "/api/register/route": "app/api/register/route.js",
7
+ "/api/info/route": "app/api/info/route.js",
8
8
  "/api/[resource]/[id]/route": "app/api/[resource]/[id]/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:()=>p,Qj:()=>a,R9:()=>r});let a={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:"요청한 리소스가 더 이상 존재하지 않습니다"},p={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:a.EMAIL_PASSWORD_REQUIRED}},409:{description:"이미 존재하는 사용자",example:{message:a.USER_ALREADY_EXISTS}},422:{description:"유효성 검증 실패",example:{message:a.INVALID_EMAIL_FORMAT}},500:{description:"서버 오류",example:{message:a.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:a.EMAIL_PASSWORD_REQUIRED}},401:{description:"잘못된 인증 정보",example:{message:a.INVALID_CREDENTIALS}},429:{description:"너무 많은 로그인 시도",example:{message:a.TOO_MANY_REQUESTS}},500:{description:"서버 오류",example:{message:a.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:a.INVALID_QUERY_PARAMS}},401:{description:"인증 필요",example:{message:a.NO_TOKEN}},403:{description:"접근 금지",example:{message:a.FORBIDDEN}},404:{description:"리소스를 찾을 수 없음",example:{message:a.RESOURCE_NOT_FOUND}},500:{description:"서버 오류",example:{message:a.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:a.INVALID_ID_FORMAT}},401:{description:"인증 필요",example:{message:a.NO_TOKEN}},403:{description:"접근 금지",example:{message:a.FORBIDDEN}},404:{description:"항목을 찾을 수 없음",example:{message:a.ITEM_NOT_FOUND}},500:{description:"서버 오류",example:{message:a.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:a.INVALID_BODY}},401:{description:"인증 필요",example:{message:a.NO_TOKEN}},403:{description:"접근 금지",example:{message:a.FORBIDDEN}},404:{description:"리소스를 찾을 수 없음",example:{message:a.RESOURCE_NOT_FOUND}},409:{description:"중복된 항목",example:{message:a.DUPLICATE_ENTRY}},413:{description:"요청 데이터 크기 초과",example:{message:a.PAYLOAD_TOO_LARGE}},422:{description:"유효성 검증 실패",example:{message:a.MISSING_REQUIRED_FIELDS}},500:{description:"서버 오류",example:{message:a.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:a.INVALID_BODY}},401:{description:"인증 필요",example:{message:a.NO_TOKEN}},403:{description:"접근 금지",example:{message:a.FORBIDDEN}},404:{description:"항목을 찾을 수 없음",example:{message:a.ITEM_NOT_FOUND}},409:{description:"충돌",example:{message:a.CONFLICT}},422:{description:"유효성 검증 실패",example:{message:a.MISSING_REQUIRED_FIELDS}},500:{description:"서버 오류",example:{message:a.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:a.INVALID_ID_FORMAT}},401:{description:"인증 필요",example:{message:a.NO_TOKEN}},403:{description:"접근 금지",example:{message:a.FORBIDDEN}},404:{description:"항목을 찾을 수 없음",example:{message:a.ITEM_NOT_FOUND}},500:{description:"서버 오류",example:{message:a.DELETE_FAILED}}}})}),s}},53:(e,s,i)=>{i.d(s,{VK:()=>t,bY:()=>n});var a=i(788),p=i(5315);let r=null,m=null,o=()=>{if(process.env.DB_PATH)return p.resolve(process.env.DB_PATH);let e=process.cwd(),s=p.parse(e).root;for(;e!==s;){let s=p.join(e,"db.json");if(a.existsSync(s))return console.log(`✅ Found db.json at: ${s}`),s;e=p.dirname(e)}let i=p.join(process.cwd(),"db.json");return console.log(`📝 Creating new db.json at: ${i}`),i},t=async()=>{if(r)return r;m||(m=o());let e={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"}]};return a.existsSync(m)?(console.log(`📖 Reading existing db.json from: ${m}`),r=await a.readJson(m)):(console.log(`🆕 Creating default db.json at: ${m}`),r=e,await a.writeJson(m,e,{spaces:2})),r},n=async e=>{m||(m=o()),r=e,await a.writeJson(m,e,{spaces:2})}}};
1
+ "use strict";exports.id=759,exports.ids=[759],exports.modules={7431:(e,s,i)=>{i.d(s,{MP:()=>o,Qj:()=>a,R9:()=>p});let a={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:"요청한 리소스가 더 이상 존재하지 않습니다"},o={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:a.EMAIL_PASSWORD_REQUIRED}},409:{description:"이미 존재하는 사용자",example:{message:a.USER_ALREADY_EXISTS}},422:{description:"유효성 검증 실패",example:{message:a.INVALID_EMAIL_FORMAT}},500:{description:"서버 오류",example:{message:a.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:a.EMAIL_PASSWORD_REQUIRED}},401:{description:"잘못된 인증 정보",example:{message:a.INVALID_CREDENTIALS}},429:{description:"너무 많은 로그인 시도",example:{message:a.TOO_MANY_REQUESTS}},500:{description:"서버 오류",example:{message:a.LOGIN_FAILED}}}}},p=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:a.INVALID_QUERY_PARAMS}},401:{description:"인증 필요",example:{message:a.NO_TOKEN}},403:{description:"접근 금지",example:{message:a.FORBIDDEN}},404:{description:"리소스를 찾을 수 없음",example:{message:a.RESOURCE_NOT_FOUND}},500:{description:"서버 오류",example:{message:a.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:a.INVALID_ID_FORMAT}},401:{description:"인증 필요",example:{message:a.NO_TOKEN}},403:{description:"접근 금지",example:{message:a.FORBIDDEN}},404:{description:"항목을 찾을 수 없음",example:{message:a.ITEM_NOT_FOUND}},500:{description:"서버 오류",example:{message:a.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:a.INVALID_BODY}},401:{description:"인증 필요",example:{message:a.NO_TOKEN}},403:{description:"접근 금지",example:{message:a.FORBIDDEN}},404:{description:"리소스를 찾을 수 없음",example:{message:a.RESOURCE_NOT_FOUND}},409:{description:"중복된 항목",example:{message:a.DUPLICATE_ENTRY}},413:{description:"요청 데이터 크기 초과",example:{message:a.PAYLOAD_TOO_LARGE}},422:{description:"유효성 검증 실패",example:{message:a.MISSING_REQUIRED_FIELDS}},500:{description:"서버 오류",example:{message:a.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:a.INVALID_BODY}},401:{description:"인증 필요",example:{message:a.NO_TOKEN}},403:{description:"접근 금지",example:{message:a.FORBIDDEN}},404:{description:"항목을 찾을 수 없음",example:{message:a.ITEM_NOT_FOUND}},409:{description:"충돌",example:{message:a.CONFLICT}},422:{description:"유효성 검증 실패",example:{message:a.MISSING_REQUIRED_FIELDS}},500:{description:"서버 오류",example:{message:a.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:a.INVALID_ID_FORMAT}},401:{description:"인증 필요",example:{message:a.NO_TOKEN}},403:{description:"접근 금지",example:{message:a.FORBIDDEN}},404:{description:"항목을 찾을 수 없음",example:{message:a.ITEM_NOT_FOUND}},500:{description:"서버 오류",example:{message:a.DELETE_FAILED}}}})}),s}},53:(e,s,i)=>{i.d(s,{VK:()=>t,bY:()=>n});var a=i(788),o=i(5315);let p=null,r=null,m=()=>{if(process.env.DB_PATH){let e=o.resolve(process.env.DB_PATH);return console.log(`🔍 Using DB_PATH from env: ${e}`),e}let e=process.cwd(),s=o.parse(e).root;for(;e!==s;){let s=o.join(e,"db.json");if(a.existsSync(s))return console.log(`✅ Found db.json at: ${s}`),s;e=o.dirname(e)}let i=o.join(process.cwd(),"db.json");return console.log(`📝 Creating new db.json at: ${i}`),i},t=async()=>{if(p)return p;r||(r=m());let e={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(a.existsSync(r)){console.log(`📖 Reading db.json from: ${r}`);let e=await a.readJson(r);console.log(`📊 DB Keys: ${Object.keys(e).join(", ")}`),p=e}else console.log(`🆕 Creating default db.json at: ${r}`),p=e,await a.writeJson(r,e,{spaces:2});return p},n=async e=>{r||(r=m()),p=e,await a.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\":\"ANGyQ0qQihM3hnAa-ot73\",\"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\":\"MrHJaJC5Pdtiu_DEnHAAI\",\"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/ANGyQ0qQihM3hnAa-ot73/_buildManifest.js" defer=""></script><script src="/_next/static/ANGyQ0qQihM3hnAa-ot73/_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":"ANGyQ0qQihM3hnAa-ot73","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/MrHJaJC5Pdtiu_DEnHAAI/_buildManifest.js" defer=""></script><script src="/_next/static/MrHJaJC5Pdtiu_DEnHAAI/_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":"MrHJaJC5Pdtiu_DEnHAAI","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- {"node":{},"edge":{},"encryptionKey":"4+hI0r0+LBPEo/KppZM1Avye8esPrzazLt8kw3wB1ck="}
1
+ {"node":{},"edge":{},"encryptionKey":"irZ+QQ0WLUt/+wRXTCHSxHmOehyspa1MvnW9n05ftUo="}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "db-json-cli",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "license": "MIT",
5
5
  "description": "JSON-based backend server with JWT authentication and CLI support",
6
6
  "repository": {
package/bin/cli.js CHANGED
@@ -5,12 +5,11 @@ import { hideBin } from "yargs/helpers";
5
5
  import path from "path";
6
6
  import { fileURLToPath } from "url";
7
7
  import { spawn } from "child_process";
8
- import fs from "fs"; // ← 이거 추가!
8
+ import fs from "fs";
9
9
 
10
10
  const __filename = fileURLToPath(import.meta.url);
11
11
  const __dirname = path.dirname(__filename);
12
12
 
13
- // package.json에서 버전 읽기
14
13
  const packageJsonPath = path.join(__dirname, "..", "package.json");
15
14
  const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8"));
16
15
  const version = packageJson.version;
@@ -24,14 +23,19 @@ const argv = yargs(hideBin(process.argv))
24
23
 
25
24
  const standalonePath = path.join(__dirname, "..", ".next", "standalone");
26
25
 
27
- process.env.DB_PATH = path.resolve(argv.db);
26
+ // 절대 경로로 변환
27
+ const dbFullPath = path.resolve(argv.db);
28
+
29
+ // ✅ 환경변수 설정
30
+ process.env.DB_PATH = dbFullPath;
28
31
  process.env.PORT = argv.port.toString();
29
32
  process.env.HOSTNAME = "0.0.0.0";
30
33
 
31
- console.log(`✅ db-json-cli v${version} running on http://localhost:${argv.port}\n`);
34
+ console.log(`✅ db-json-cli v${version} running on http://localhost:${argv.port}`);
35
+ console.log(`📁 DB Path: ${dbFullPath}\n`);
32
36
 
33
37
  spawn("node", [path.join(standalonePath, "server.js")], {
34
38
  cwd: standalonePath,
35
39
  stdio: "inherit",
36
- env: process.env,
40
+ env: process.env, // ✅ 환경변수 전달
37
41
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "db-json-cli",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "license": "MIT",
5
5
  "description": "JSON-based backend server with JWT authentication and CLI support",
6
6
  "repository": {