@superinterface/server 1.0.10 → 1.0.11
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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +2 -2
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/fallback-build-manifest.json +2 -2
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/trace +1 -1
- package/package.json +1 -1
- package/scripts/utils/loadPrisma.ts +27 -180
- /package/.next/static/{qr8f1wVdPS1ZZ5H4Fjd2C → UJo4dd-k4AW1zNl7VRHve}/_buildManifest.js +0 -0
- /package/.next/static/{qr8f1wVdPS1ZZ5H4Fjd2C → UJo4dd-k4AW1zNl7VRHve}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{qr8f1wVdPS1ZZ5H4Fjd2C → UJo4dd-k4AW1zNl7VRHve}/_ssgManifest.js +0 -0
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"ampDevFiles": [],
|
|
16
16
|
"polyfillFiles": [],
|
|
17
17
|
"lowPriorityFiles": [
|
|
18
|
-
"static/
|
|
19
|
-
"static/
|
|
18
|
+
"static/UJo4dd-k4AW1zNl7VRHve/_ssgManifest.js",
|
|
19
|
+
"static/UJo4dd-k4AW1zNl7VRHve/_buildManifest.js"
|
|
20
20
|
],
|
|
21
21
|
"rootMainFiles": [],
|
|
22
22
|
"ampFirstPages": []
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--UJo4dd_k4AW1zNl7VRHve--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/76a8a50dbf44f000.js"/><script src="/_next/static/chunks/079ce3572ffa07f6.js" async=""></script><script src="/_next/static/chunks/4649e58e35bcde4b.js" async=""></script><script src="/_next/static/chunks/turbopack-11882cf18a9eb231.js" async=""></script><script src="/_next/static/chunks/03d938d038bc30e3.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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/76a8a50dbf44f000.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[96352,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n3:I[17753,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n4:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"OutletBoundary\"]\n6:I[33159,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"AsyncMetadataOutlet\"]\n8:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"ViewportBoundary\"]\na:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"MetadataBoundary\"]\nb:\"$Sreact.suspense\"\nd:I[25098,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"UJo4dd-k4AW1zNl7VRHve\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/03d938d038bc30e3.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"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\":{\"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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$L5\",[\"$\",\"$L6\",null,{\"promise\":\"$@7\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],null],[\"$\",\"$La\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$b\",null,{\"fallback\":null,\"children\":\"$Lc\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,"7:{\"metadata\":[],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"c:\"$7:metadata\"\n"])</script></body></html>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
a:I[51035,["/_next/static/chunks/03d938d038bc30e3.js"],"MetadataBoundary"]
|
|
8
8
|
b:"$Sreact.suspense"
|
|
9
9
|
d:I[25098,["/_next/static/chunks/03d938d038bc30e3.js"],"default"]
|
|
10
|
-
0:{"P":null,"b":"
|
|
10
|
+
0:{"P":null,"b":"UJo4dd-k4AW1zNl7VRHve","p":"","c":["","_not-found"],"i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/03d938d038bc30e3.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"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":{"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."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":["/_not-found",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style","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":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$L5",["$","$L6",null,{"promise":"$@7"}]]}]]}],{},null,false]},null,false]},null,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],[["$","$L8",null,{"children":"$L9"}],null],["$","$La",null,{"children":["$","div",null,{"hidden":true,"children":["$","$b",null,{"fallback":null,"children":"$Lc"}]}]}]]}],false]],"m":"$undefined","G":["$d","$undefined"],"s":false,"S":true}
|
|
11
11
|
9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
12
12
|
5:null
|
|
13
13
|
7:{"metadata":[],"error":null,"digest":"$undefined"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--UJo4dd_k4AW1zNl7VRHve--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/76a8a50dbf44f000.js"/><script src="/_next/static/chunks/079ce3572ffa07f6.js" async=""></script><script src="/_next/static/chunks/4649e58e35bcde4b.js" async=""></script><script src="/_next/static/chunks/turbopack-11882cf18a9eb231.js" async=""></script><script src="/_next/static/chunks/03d938d038bc30e3.js" async=""></script><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div>@superinterface/server is running.</div><!--$--><!--/$--><script src="/_next/static/chunks/76a8a50dbf44f000.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[96352,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n3:I[17753,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n4:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"OutletBoundary\"]\n6:I[33159,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"AsyncMetadataOutlet\"]\n8:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"ViewportBoundary\"]\na:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"MetadataBoundary\"]\nb:\"$Sreact.suspense\"\nd:I[25098,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"UJo4dd-k4AW1zNl7VRHve\",\"p\":\"\",\"c\":[\"\",\"\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/03d938d038bc30e3.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"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\":{\"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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"div\",null,{\"children\":\"@superinterface/server is running.\"}],null,[\"$\",\"$L4\",null,{\"children\":[\"$L5\",[\"$\",\"$L6\",null,{\"promise\":\"$@7\"}]]}]]}],{},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],null],[\"$\",\"$La\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$b\",null,{\"fallback\":null,\"children\":\"$Lc\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,"7:{\"metadata\":[],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"c:\"$7:metadata\"\n"])</script></body></html>
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
a:I[51035,["/_next/static/chunks/03d938d038bc30e3.js"],"MetadataBoundary"]
|
|
8
8
|
b:"$Sreact.suspense"
|
|
9
9
|
d:I[25098,["/_next/static/chunks/03d938d038bc30e3.js"],"default"]
|
|
10
|
-
0:{"P":null,"b":"
|
|
10
|
+
0:{"P":null,"b":"UJo4dd-k4AW1zNl7VRHve","p":"","c":["",""],"i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","script","script-0",{"src":"/_next/static/chunks/03d938d038bc30e3.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"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":{"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."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","div",null,{"children":"@superinterface/server is running."}],null,["$","$L4",null,{"children":["$L5",["$","$L6",null,{"promise":"$@7"}]]}]]}],{},null,false]},null,false],["$","$1","h",{"children":[null,[["$","$L8",null,{"children":"$L9"}],null],["$","$La",null,{"children":["$","div",null,{"hidden":true,"children":["$","$b",null,{"fallback":null,"children":"$Lc"}]}]}]]}],false]],"m":"$undefined","G":["$d",[]],"s":false,"S":true}
|
|
11
11
|
9:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
12
12
|
5:null
|
|
13
13
|
7:{"metadata":[],"error":null,"digest":"$undefined"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--UJo4dd_k4AW1zNl7VRHve--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/76a8a50dbf44f000.js"/><script src="/_next/static/chunks/079ce3572ffa07f6.js" async=""></script><script src="/_next/static/chunks/4649e58e35bcde4b.js" async=""></script><script src="/_next/static/chunks/turbopack-11882cf18a9eb231.js" async=""></script><script src="/_next/static/chunks/03d938d038bc30e3.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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/76a8a50dbf44f000.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[96352,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n3:I[17753,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n4:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"OutletBoundary\"]\n6:I[33159,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"AsyncMetadataOutlet\"]\n8:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"ViewportBoundary\"]\na:I[51035,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"MetadataBoundary\"]\nb:\"$Sreact.suspense\"\nd:I[25098,[\"/_next/static/chunks/03d938d038bc30e3.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"UJo4dd-k4AW1zNl7VRHve\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/03d938d038bc30e3.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"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\":{\"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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:1:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$L5\",[\"$\",\"$L6\",null,{\"promise\":\"$@7\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],null],[\"$\",\"$La\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$b\",null,{\"fallback\":null,\"children\":\"$Lc\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",\"$undefined\"],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,"7:{\"metadata\":[],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"c:\"$7:metadata\"\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/a6dad97d9634a72d.js"></script><script src="/_next/static/chunks/22bca0be24d1dbb3.js" defer=""></script><script src="/_next/static/chunks/bd1a5816a611d718.js" defer=""></script><script src="/_next/static/chunks/turbopack-3bdbb570d8566903.js" defer=""></script><script src="/_next/static/chunks/e57ec661e9850a31.js" defer=""></script><script src="/_next/static/chunks/turbopack-67ff8c1c5b1ad9a8.js" defer=""></script><script src="/_next/static/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/a6dad97d9634a72d.js"></script><script src="/_next/static/chunks/22bca0be24d1dbb3.js" defer=""></script><script src="/_next/static/chunks/bd1a5816a611d718.js" defer=""></script><script src="/_next/static/chunks/turbopack-3bdbb570d8566903.js" defer=""></script><script src="/_next/static/chunks/e57ec661e9850a31.js" defer=""></script><script src="/_next/static/chunks/turbopack-67ff8c1c5b1ad9a8.js" defer=""></script><script src="/_next/static/UJo4dd-k4AW1zNl7VRHve/_ssgManifest.js" defer=""></script><script src="/_next/static/UJo4dd-k4AW1zNl7VRHve/_buildManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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":"UJo4dd-k4AW1zNl7VRHve","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
package/.next/trace
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"generate-buildid","duration":127,"timestamp":10005510361,"id":4,"parentId":1,"tags":{},"startTime":1759901517815,"traceId":"9b1527397253cb88"},{"name":"load-custom-routes","duration":167,"timestamp":10005510535,"id":5,"parentId":1,"tags":{},"startTime":1759901517815,"traceId":"9b1527397253cb88"},{"name":"create-dist-dir","duration":3065,"timestamp":10005548085,"id":6,"parentId":1,"tags":{},"startTime":1759901517853,"traceId":"9b1527397253cb88"},{"name":"create-pages-mapping","duration":420,"timestamp":10005592959,"id":7,"parentId":1,"tags":{},"startTime":1759901517898,"traceId":"9b1527397253cb88"},{"name":"collect-app-files","duration":2814,"timestamp":10005593455,"id":8,"parentId":1,"tags":{},"startTime":1759901517898,"traceId":"9b1527397253cb88"},{"name":"create-app-mapping","duration":1074,"timestamp":10005596286,"id":9,"parentId":1,"tags":{},"startTime":1759901517901,"traceId":"9b1527397253cb88"},{"name":"create-app-layouts","duration":222,"timestamp":10005597379,"id":10,"parentId":1,"tags":{},"startTime":1759901517902,"traceId":"9b1527397253cb88"},{"name":"collect-default-files","duration":2141,"timestamp":10005598589,"id":12,"parentId":1,"tags":{},"startTime":1759901517904,"traceId":"9b1527397253cb88"},{"name":"generate-route-types","duration":16372,"timestamp":10005597925,"id":11,"parentId":1,"tags":{},"startTime":1759901517903,"traceId":"9b1527397253cb88"},{"name":"public-dir-conflict-check","duration":1987,"timestamp":10005614358,"id":13,"parentId":1,"tags":{},"startTime":1759901517919,"traceId":"9b1527397253cb88"},{"name":"generate-routes-manifest","duration":1564,"timestamp":10005616861,"id":14,"parentId":1,"tags":{},"startTime":1759901517922,"traceId":"9b1527397253cb88"},{"name":"run-turbopack-compiler","duration":7413341,"timestamp":10005623415,"id":16,"parentId":1,"tags":{},"startTime":1759901517928,"traceId":"9b1527397253cb88"},{"name":"verify-and-lint","duration":1712447,"timestamp":10013068665,"id":19,"parentId":1,"tags":{},"startTime":1759901525374,"traceId":"9b1527397253cb88"},{"name":"verify-typescript-setup","duration":5258891,"timestamp":10013066123,"id":18,"parentId":1,"tags":{},"startTime":1759901525371,"traceId":"9b1527397253cb88"},{"name":"check-static-error-page","duration":2319,"timestamp":10018338903,"id":22,"parentId":21,"tags":{},"startTime":1759901530644,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":2890,"timestamp":10018453431,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1759901530758,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":1486,"timestamp":10018454845,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":1591,"timestamp":10018454742,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":530443,"timestamp":10018479002,"id":54,"parentId":35,"tags":{},"startTime":1759901530784,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":554396,"timestamp":10018455100,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":560943,"timestamp":10018464020,"id":50,"parentId":46,"tags":{},"startTime":1759901530769,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":569839,"timestamp":10018455155,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":550804,"timestamp":10018478183,"id":52,"parentId":30,"tags":{},"startTime":1759901530783,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":574086,"timestamp":10018454971,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":551514,"timestamp":10018478565,"id":53,"parentId":33,"tags":{},"startTime":1759901530783,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":575013,"timestamp":10018455086,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":590494,"timestamp":10018480697,"id":58,"parentId":34,"tags":{},"startTime":1759901530786,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":616128,"timestamp":10018455094,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":609947,"timestamp":10018481301,"id":61,"parentId":31,"tags":{},"startTime":1759901530786,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":636334,"timestamp":10018455054,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":626308,"timestamp":10018479731,"id":56,"parentId":29,"tags":{},"startTime":1759901530785,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":651106,"timestamp":10018454964,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":631089,"timestamp":10018482991,"id":63,"parentId":42,"tags":{},"startTime":1759901530788,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":658993,"timestamp":10018455135,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":643124,"timestamp":10018477761,"id":51,"parentId":32,"tags":{},"startTime":1759901530783,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":665889,"timestamp":10018455068,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":644265,"timestamp":10018483769,"id":65,"parentId":41,"tags":{},"startTime":1759901530789,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":672935,"timestamp":10018455131,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":645062,"timestamp":10018483278,"id":64,"parentId":28,"tags":{},"startTime":1759901530788,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":673392,"timestamp":10018454956,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":678951,"timestamp":10018484397,"id":67,"parentId":26,"tags":{},"startTime":1759901530789,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":708532,"timestamp":10018454862,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":688925,"timestamp":10018484677,"id":68,"parentId":48,"tags":{},"startTime":1759901530790,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":718504,"timestamp":10018455165,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":702104,"timestamp":10018485026,"id":69,"parentId":27,"tags":{},"startTime":1759901530790,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":732225,"timestamp":10018454939,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":718097,"timestamp":10018485259,"id":70,"parentId":45,"tags":{},"startTime":1759901530790,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":748254,"timestamp":10018455150,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":732973,"timestamp":10018484285,"id":66,"parentId":43,"tags":{},"startTime":1759901530789,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":762155,"timestamp":10018455140,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":729129,"timestamp":10018501665,"id":72,"parentId":47,"tags":{},"startTime":1759901530807,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":775660,"timestamp":10018455160,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":753738,"timestamp":10018500286,"id":71,"parentId":49,"tags":{},"startTime":1759901530805,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":798901,"timestamp":10018455170,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":800832,"timestamp":10018481068,"id":60,"parentId":40,"tags":{},"startTime":1759901530786,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":826864,"timestamp":10018455126,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":886474,"timestamp":10018480923,"id":59,"parentId":39,"tags":{},"startTime":1759901530786,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":912493,"timestamp":10018455121,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":903610,"timestamp":10018480062,"id":57,"parentId":37,"tags":{},"startTime":1759901530785,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":928639,"timestamp":10018455111,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":982531,"timestamp":10018479313,"id":55,"parentId":36,"tags":{},"startTime":1759901530784,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":1007489,"timestamp":10018455106,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":1004039,"timestamp":10018482706,"id":62,"parentId":38,"tags":{},"startTime":1759901530788,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":1031666,"timestamp":10018455116,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"is-page-static","duration":1052511,"timestamp":10018504028,"id":73,"parentId":44,"tags":{},"startTime":1759901530809,"traceId":"9b1527397253cb88"},{"name":"check-page","duration":1101419,"timestamp":10018455145,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1759901530760,"traceId":"9b1527397253cb88"},{"name":"static-check","duration":1218197,"timestamp":10018338384,"id":21,"parentId":1,"tags":{},"startTime":1759901530643,"traceId":"9b1527397253cb88"},{"name":"generate-required-server-files","duration":218,"timestamp":10019556998,"id":75,"parentId":1,"tags":{},"startTime":1759901531862,"traceId":"9b1527397253cb88"},{"name":"write-routes-manifest","duration":833,"timestamp":10019573627,"id":77,"parentId":1,"tags":{},"startTime":1759901531879,"traceId":"9b1527397253cb88"},{"name":"load-dotenv","duration":16,"timestamp":10019589998,"id":80,"parentId":79,"tags":{},"startTime":1759901531895,"traceId":"9b1527397253cb88"},{"name":"run-export-path-map","duration":331,"timestamp":10019718029,"id":81,"parentId":79,"tags":{},"startTime":1759901532023,"traceId":"9b1527397253cb88"},{"name":"next-export","duration":1376367,"timestamp":10019589429,"id":79,"parentId":1,"tags":{},"startTime":1759901531894,"traceId":"9b1527397253cb88"},{"name":"move-exported-app-not-found-","duration":2853,"timestamp":10020966958,"id":82,"parentId":78,"tags":{},"startTime":1759901533272,"traceId":"9b1527397253cb88"},{"name":"move-exported-page","duration":55813,"timestamp":10020969908,"id":83,"parentId":78,"tags":{},"startTime":1759901533275,"traceId":"9b1527397253cb88"},{"name":"static-generation","duration":1815442,"timestamp":10019585024,"id":78,"parentId":1,"tags":{},"startTime":1759901531890,"traceId":"9b1527397253cb88"},{"name":"write-routes-manifest","duration":8498,"timestamp":10021400684,"id":84,"parentId":1,"tags":{},"startTime":1759901533706,"traceId":"9b1527397253cb88"},{"name":"node-file-trace-build","duration":4232367,"timestamp":10019562205,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1759901531867,"traceId":"9b1527397253cb88"},{"name":"apply-include-excludes","duration":274,"timestamp":10023794589,"id":85,"parentId":1,"tags":{},"startTime":1759901536099,"traceId":"9b1527397253cb88"},{"name":"print-tree-view","duration":2369,"timestamp":10023795145,"id":86,"parentId":1,"tags":{},"startTime":1759901536100,"traceId":"9b1527397253cb88"},{"name":"telemetry-flush","duration":38,"timestamp":10023797527,"id":87,"parentId":1,"tags":{},"startTime":1759901536102,"traceId":"9b1527397253cb88"},{"name":"next-build","duration":18687904,"timestamp":10005109664,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1759901517415,"traceId":"9b1527397253cb88"}]
|
|
1
|
+
[{"name":"generate-buildid","duration":118,"timestamp":11177344324,"id":4,"parentId":1,"tags":{},"startTime":1759902689646,"traceId":"ed50997974d24e75"},{"name":"load-custom-routes","duration":166,"timestamp":11177344488,"id":5,"parentId":1,"tags":{},"startTime":1759902689646,"traceId":"ed50997974d24e75"},{"name":"create-dist-dir","duration":612,"timestamp":11177385949,"id":6,"parentId":1,"tags":{},"startTime":1759902689688,"traceId":"ed50997974d24e75"},{"name":"create-pages-mapping","duration":112,"timestamp":11177435159,"id":7,"parentId":1,"tags":{},"startTime":1759902689737,"traceId":"ed50997974d24e75"},{"name":"collect-app-files","duration":2449,"timestamp":11177435294,"id":8,"parentId":1,"tags":{},"startTime":1759902689737,"traceId":"ed50997974d24e75"},{"name":"create-app-mapping","duration":997,"timestamp":11177437766,"id":9,"parentId":1,"tags":{},"startTime":1759902689739,"traceId":"ed50997974d24e75"},{"name":"create-app-layouts","duration":251,"timestamp":11177438793,"id":10,"parentId":1,"tags":{},"startTime":1759902689740,"traceId":"ed50997974d24e75"},{"name":"collect-default-files","duration":831,"timestamp":11177440142,"id":12,"parentId":1,"tags":{},"startTime":1759902689742,"traceId":"ed50997974d24e75"},{"name":"generate-route-types","duration":18796,"timestamp":11177439430,"id":11,"parentId":1,"tags":{},"startTime":1759902689741,"traceId":"ed50997974d24e75"},{"name":"public-dir-conflict-check","duration":514,"timestamp":11177458284,"id":13,"parentId":1,"tags":{},"startTime":1759902689760,"traceId":"ed50997974d24e75"},{"name":"generate-routes-manifest","duration":1241,"timestamp":11177458888,"id":14,"parentId":1,"tags":{},"startTime":1759902689760,"traceId":"ed50997974d24e75"},{"name":"run-turbopack-compiler","duration":5566181,"timestamp":11177471705,"id":16,"parentId":1,"tags":{},"startTime":1759902689773,"traceId":"ed50997974d24e75"},{"name":"verify-and-lint","duration":1913291,"timestamp":11183061300,"id":19,"parentId":1,"tags":{},"startTime":1759902695363,"traceId":"ed50997974d24e75"},{"name":"verify-typescript-setup","duration":6070808,"timestamp":11183059363,"id":18,"parentId":1,"tags":{},"startTime":1759902695361,"traceId":"ed50997974d24e75"},{"name":"check-static-error-page","duration":5794,"timestamp":11189171024,"id":22,"parentId":21,"tags":{},"startTime":1759902701473,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":10051,"timestamp":11189242438,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1759902701544,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":7869,"timestamp":11189244631,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":7945,"timestamp":11189244557,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":868697,"timestamp":11189281666,"id":52,"parentId":28,"tags":{},"startTime":1759902701583,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":905684,"timestamp":11189244723,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":900067,"timestamp":11189255934,"id":50,"parentId":46,"tags":{},"startTime":1759902701557,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":911093,"timestamp":11189244928,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1201161,"timestamp":11189282582,"id":54,"parentId":29,"tags":{},"startTime":1759902701584,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1239043,"timestamp":11189244731,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1202556,"timestamp":11189281288,"id":51,"parentId":27,"tags":{},"startTime":1759902701583,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1239144,"timestamp":11189244707,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1201863,"timestamp":11189282014,"id":53,"parentId":30,"tags":{},"startTime":1759902701584,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1239136,"timestamp":11189244746,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1200967,"timestamp":11189282944,"id":55,"parentId":31,"tags":{},"startTime":1759902701584,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1239092,"timestamp":11189244823,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1200703,"timestamp":11189283230,"id":56,"parentId":33,"tags":{},"startTime":1759902701585,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1239087,"timestamp":11189244850,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1215018,"timestamp":11189283645,"id":57,"parentId":35,"tags":{},"startTime":1759902701585,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1253827,"timestamp":11189244868,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1229270,"timestamp":11189285874,"id":64,"parentId":34,"tags":{},"startTime":1759902701587,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1270341,"timestamp":11189244858,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1229887,"timestamp":11189285385,"id":63,"parentId":41,"tags":{},"startTime":1759902701587,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1270381,"timestamp":11189244904,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1252737,"timestamp":11189284212,"id":58,"parentId":32,"tags":{},"startTime":1759902701586,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1292216,"timestamp":11189244836,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1249625,"timestamp":11189287525,"id":66,"parentId":42,"tags":{},"startTime":1759902701589,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1292250,"timestamp":11189244909,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1300617,"timestamp":11189288174,"id":68,"parentId":45,"tags":{},"startTime":1759902701590,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1343897,"timestamp":11189244924,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1316184,"timestamp":11189288446,"id":69,"parentId":48,"tags":{},"startTime":1759902701590,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1359729,"timestamp":11189244938,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1316813,"timestamp":11189287951,"id":67,"parentId":43,"tags":{},"startTime":1759902701589,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1359858,"timestamp":11189244914,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1361074,"timestamp":11189288472,"id":70,"parentId":26,"tags":{},"startTime":1759902701590,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1404923,"timestamp":11189244647,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1365744,"timestamp":11189289169,"id":72,"parentId":47,"tags":{},"startTime":1759902701591,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1410042,"timestamp":11189244933,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1374154,"timestamp":11189289599,"id":73,"parentId":49,"tags":{},"startTime":1759902701591,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1418855,"timestamp":11189244943,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1445352,"timestamp":11189284637,"id":60,"parentId":39,"tags":{},"startTime":1759902701586,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1485151,"timestamp":11189244892,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1467181,"timestamp":11189284763,"id":61,"parentId":40,"tags":{},"startTime":1759902701586,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1507081,"timestamp":11189244897,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1499734,"timestamp":11189284493,"id":59,"parentId":37,"tags":{},"startTime":1759902701586,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1539380,"timestamp":11189244881,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1517484,"timestamp":11189285003,"id":62,"parentId":36,"tags":{},"startTime":1759902701587,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1557671,"timestamp":11189244874,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1597293,"timestamp":11189287280,"id":65,"parentId":38,"tags":{},"startTime":1759902701589,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1639723,"timestamp":11189244886,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"is-page-static","duration":1606448,"timestamp":11189288917,"id":71,"parentId":44,"tags":{},"startTime":1759902701590,"traceId":"ed50997974d24e75"},{"name":"check-page","duration":1650472,"timestamp":11189244919,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1759902701546,"traceId":"ed50997974d24e75"},{"name":"static-check","duration":1724896,"timestamp":11189170517,"id":21,"parentId":1,"tags":{},"startTime":1759902701472,"traceId":"ed50997974d24e75"},{"name":"generate-required-server-files","duration":215,"timestamp":11190895694,"id":75,"parentId":1,"tags":{},"startTime":1759902703197,"traceId":"ed50997974d24e75"},{"name":"write-routes-manifest","duration":810,"timestamp":11190903133,"id":77,"parentId":1,"tags":{},"startTime":1759902703205,"traceId":"ed50997974d24e75"},{"name":"load-dotenv","duration":23,"timestamp":11190923084,"id":80,"parentId":79,"tags":{},"startTime":1759902703225,"traceId":"ed50997974d24e75"},{"name":"run-export-path-map","duration":295,"timestamp":11191128832,"id":81,"parentId":79,"tags":{},"startTime":1759902703430,"traceId":"ed50997974d24e75"},{"name":"next-export","duration":1192526,"timestamp":11190922485,"id":79,"parentId":1,"tags":{},"startTime":1759902703224,"traceId":"ed50997974d24e75"},{"name":"move-exported-app-not-found-","duration":3437,"timestamp":11192116461,"id":82,"parentId":78,"tags":{},"startTime":1759902704418,"traceId":"ed50997974d24e75"},{"name":"move-exported-page","duration":18382,"timestamp":11192120003,"id":83,"parentId":78,"tags":{},"startTime":1759902704422,"traceId":"ed50997974d24e75"},{"name":"static-generation","duration":1279791,"timestamp":11190918884,"id":78,"parentId":1,"tags":{},"startTime":1759902703220,"traceId":"ed50997974d24e75"},{"name":"write-routes-manifest","duration":9906,"timestamp":11192198894,"id":84,"parentId":1,"tags":{},"startTime":1759902704500,"traceId":"ed50997974d24e75"},{"name":"node-file-trace-build","duration":4494913,"timestamp":11190898870,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1759902703200,"traceId":"ed50997974d24e75"},{"name":"apply-include-excludes","duration":249,"timestamp":11195393809,"id":85,"parentId":1,"tags":{},"startTime":1759902707695,"traceId":"ed50997974d24e75"},{"name":"print-tree-view","duration":2232,"timestamp":11195394279,"id":86,"parentId":1,"tags":{},"startTime":1759902707696,"traceId":"ed50997974d24e75"},{"name":"telemetry-flush","duration":30,"timestamp":11195396521,"id":87,"parentId":1,"tags":{},"startTime":1759902707698,"traceId":"ed50997974d24e75"},{"name":"next-build","duration":18518067,"timestamp":11176878486,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1759902689180,"traceId":"ed50997974d24e75"}]
|
package/package.json
CHANGED
|
@@ -2,73 +2,12 @@ import { spawn } from 'node:child_process'
|
|
|
2
2
|
import { createRequire } from 'node:module'
|
|
3
3
|
import process from 'node:process'
|
|
4
4
|
import { fileURLToPath } from 'node:url'
|
|
5
|
-
import
|
|
5
|
+
import { PrismaNeon } from '@prisma/adapter-neon'
|
|
6
|
+
import { PrismaClient } from '@prisma/client'
|
|
6
7
|
import { CliError } from './errors'
|
|
7
8
|
|
|
8
|
-
const prismaModuleCandidates = [
|
|
9
|
-
'@superinterface/server/dist/lib/prisma/index.js',
|
|
10
|
-
'./dist/lib/prisma/index.js',
|
|
11
|
-
'./src/lib/prisma/index.ts',
|
|
12
|
-
] as const
|
|
13
|
-
|
|
14
|
-
const prismaClientCacheKeys = [
|
|
15
|
-
'@prisma/client',
|
|
16
|
-
'@prisma/client/index.js',
|
|
17
|
-
'.prisma/client/index.js',
|
|
18
|
-
'.prisma/client/default.js',
|
|
19
|
-
] as const
|
|
20
|
-
|
|
21
9
|
const nodeRequire = createRequire(import.meta.url)
|
|
22
10
|
const packageRoot = fileURLToPath(new URL('../..', import.meta.url))
|
|
23
|
-
const prismaSchemaPath = fileURLToPath(new URL('../../prisma/schema.prisma', import.meta.url))
|
|
24
|
-
|
|
25
|
-
class PrismaClientNeedsGenerateError extends Error {
|
|
26
|
-
constructor(cause?: unknown) {
|
|
27
|
-
super('Prisma client needs to be generated.')
|
|
28
|
-
this.name = 'PrismaClientNeedsGenerateError'
|
|
29
|
-
if (cause) {
|
|
30
|
-
this.cause = cause
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
const isModuleNotFoundError = (error: unknown) => {
|
|
36
|
-
if (!(error instanceof Error)) return false
|
|
37
|
-
const err = error as NodeJS.ErrnoException & { code?: string }
|
|
38
|
-
return err.code === 'MODULE_NOT_FOUND' || err.code === 'ERR_MODULE_NOT_FOUND'
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
const isModuleNotFoundForCandidate = (error: unknown, candidate: string) => {
|
|
42
|
-
if (!isModuleNotFoundError(error)) return false
|
|
43
|
-
const message = (error as Error).message ?? ''
|
|
44
|
-
|
|
45
|
-
// Check if the error message contains the candidate path
|
|
46
|
-
if (message.includes(candidate)) return true
|
|
47
|
-
|
|
48
|
-
// Try to resolve and check absolute paths
|
|
49
|
-
try {
|
|
50
|
-
const absolutePath = nodeRequire.resolve(candidate, { paths: [packageRoot] })
|
|
51
|
-
if (message.includes(absolutePath)) return true
|
|
52
|
-
} catch {
|
|
53
|
-
// ignore
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
try {
|
|
57
|
-
const absolutePath = fileURLToPath(new URL(candidate, import.meta.url))
|
|
58
|
-
if (message.includes(absolutePath)) return true
|
|
59
|
-
} catch {
|
|
60
|
-
// ignore
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return false
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
const isPrismaClientNotGeneratedError = (error: unknown) => {
|
|
67
|
-
if (!(error instanceof Error)) return false
|
|
68
|
-
return /prisma\s+client\s+did\s+not\s+initialize|Please\s+run\s+"prisma\s+generate"/i.test(
|
|
69
|
-
error.message,
|
|
70
|
-
)
|
|
71
|
-
}
|
|
72
11
|
|
|
73
12
|
const generatePrismaClient = async () => {
|
|
74
13
|
let prismaCliPath: string
|
|
@@ -86,7 +25,7 @@ const generatePrismaClient = async () => {
|
|
|
86
25
|
await new Promise<void>((resolve, reject) => {
|
|
87
26
|
const child = spawn(
|
|
88
27
|
process.execPath,
|
|
89
|
-
[prismaCliPath, 'generate'
|
|
28
|
+
[prismaCliPath, 'generate'],
|
|
90
29
|
{
|
|
91
30
|
cwd: packageRoot,
|
|
92
31
|
stdio: 'inherit',
|
|
@@ -109,130 +48,38 @@ const generatePrismaClient = async () => {
|
|
|
109
48
|
})
|
|
110
49
|
}
|
|
111
50
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
delete nodeRequire.cache[resolved]
|
|
117
|
-
} catch {
|
|
118
|
-
// ignore
|
|
119
|
-
}
|
|
120
|
-
}
|
|
51
|
+
// This function replicates the logic from src/lib/prisma/index.ts
|
|
52
|
+
// Keep this in sync with that file's prismaClientSingleton function
|
|
53
|
+
const createPrismaClient = () => {
|
|
54
|
+
const connectionString = `${process.env.DATABASE_URL}`
|
|
121
55
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
try {
|
|
125
|
-
const absolute = fileURLToPath(new URL(candidate, import.meta.url))
|
|
126
|
-
clearModuleCache(absolute)
|
|
127
|
-
} catch {
|
|
128
|
-
// ignore resolution failures
|
|
129
|
-
}
|
|
56
|
+
if (process.env.NODE_ENV === 'test') {
|
|
57
|
+
return new PrismaClient()
|
|
130
58
|
}
|
|
131
|
-
}
|
|
132
59
|
|
|
133
|
-
const
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
const resolved = nodeRequire.resolve(request, { paths: [packageRoot] })
|
|
137
|
-
delete nodeRequire.cache[resolved]
|
|
138
|
-
} catch {
|
|
139
|
-
// ignore cache misses
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
60
|
+
const adapter = new PrismaNeon({
|
|
61
|
+
connectionString,
|
|
62
|
+
})
|
|
143
63
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
64
|
+
return new PrismaClient({
|
|
65
|
+
adapter,
|
|
66
|
+
transactionOptions: {
|
|
67
|
+
timeout: 15000,
|
|
68
|
+
},
|
|
69
|
+
})
|
|
149
70
|
}
|
|
150
71
|
|
|
151
|
-
const
|
|
152
|
-
candidate: string,
|
|
153
|
-
forceReload: boolean,
|
|
154
|
-
): Promise<Record<string, unknown>> => {
|
|
155
|
-
let modulePath: string
|
|
156
|
-
|
|
72
|
+
export const loadPrismaClient = async (): Promise<PrismaClient> => {
|
|
157
73
|
try {
|
|
158
|
-
// Try to
|
|
159
|
-
|
|
160
|
-
} catch {
|
|
161
|
-
// If
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
let importPath = modulePath
|
|
166
|
-
if (forceReload) {
|
|
167
|
-
importPath = `${modulePath}?ts=${Date.now()}`
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
return import(importPath)
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
const loadFromCandidates = async (forceReload: boolean): Promise<PrismaClient> => {
|
|
174
|
-
let lastNotFoundError: unknown
|
|
175
|
-
|
|
176
|
-
for (const candidate of prismaModuleCandidates) {
|
|
177
|
-
try {
|
|
178
|
-
const module = await importPrismaModule(candidate, forceReload)
|
|
179
|
-
const prisma = module?.prisma as PrismaClient | undefined
|
|
180
|
-
|
|
181
|
-
if (!prisma) {
|
|
182
|
-
throw new CliError(`Module "${candidate}" does not export a Prisma client.`)
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
return prisma
|
|
186
|
-
} catch (error) {
|
|
187
|
-
if (isPrismaClientNotGeneratedError(error)) {
|
|
188
|
-
throw new PrismaClientNeedsGenerateError(error)
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
if (isModuleNotFoundForCandidate(error, candidate)) {
|
|
192
|
-
lastNotFoundError = error
|
|
193
|
-
continue
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
if (error instanceof CliError) {
|
|
197
|
-
throw error
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
throw new CliError('Failed to load Prisma client.', { cause: error })
|
|
74
|
+
// Try to create a Prisma client with the same config as lib/prisma
|
|
75
|
+
return createPrismaClient()
|
|
76
|
+
} catch (error) {
|
|
77
|
+
// If it fails (likely because Prisma client isn't generated), generate it and try again
|
|
78
|
+
if (error instanceof Error && /Prisma Client|prisma generate/i.test(error.message)) {
|
|
79
|
+
await generatePrismaClient()
|
|
80
|
+
return createPrismaClient()
|
|
201
81
|
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
throw new CliError(
|
|
205
|
-
'Prisma client module not found. Run `npm run build:lib` before using this command.',
|
|
206
|
-
{ cause: lastNotFoundError },
|
|
207
|
-
)
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
const regeneratePrismaClient = async () => {
|
|
211
|
-
await generatePrismaClient()
|
|
212
|
-
clearPrismaClientCache()
|
|
213
|
-
clearPrismaModuleCache()
|
|
214
|
-
resetGlobalPrismaSingleton()
|
|
215
|
-
}
|
|
216
82
|
|
|
217
|
-
|
|
218
|
-
for (let attempt = 0; attempt < 2; attempt += 1) {
|
|
219
|
-
try {
|
|
220
|
-
return await loadFromCandidates(attempt > 0)
|
|
221
|
-
} catch (error) {
|
|
222
|
-
if (error instanceof PrismaClientNeedsGenerateError) {
|
|
223
|
-
await regeneratePrismaClient()
|
|
224
|
-
continue
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
if (error instanceof CliError) {
|
|
228
|
-
throw error
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
throw new CliError('Failed to load Prisma client.', { cause: error })
|
|
232
|
-
}
|
|
83
|
+
throw new CliError('Failed to initialize Prisma client.', { cause: error })
|
|
233
84
|
}
|
|
234
|
-
|
|
235
|
-
throw new CliError('Prisma client failed to initialize.', {
|
|
236
|
-
cause: new Error('Exceeded regeneration attempts.'),
|
|
237
|
-
})
|
|
238
85
|
}
|
|
File without changes
|
/package/.next/static/{qr8f1wVdPS1ZZ5H4Fjd2C → UJo4dd-k4AW1zNl7VRHve}/_clientMiddlewareManifest.json
RENAMED
|
File without changes
|
|
File without changes
|