@superinterface/server 1.0.9 → 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/functions-config-manifest.json +2 -2
- 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 +28 -153
- /package/.next/static/{6nU4ZyARYIbl0qLhSHGBW → UJo4dd-k4AW1zNl7VRHve}/_buildManifest.js +0 -0
- /package/.next/static/{6nU4ZyARYIbl0qLhSHGBW → UJo4dd-k4AW1zNl7VRHve}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{6nU4ZyARYIbl0qLhSHGBW → 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":128,"timestamp":9167880685,"id":4,"parentId":1,"tags":{},"startTime":1759900680213,"traceId":"58fd116758f0d93b"},{"name":"load-custom-routes","duration":155,"timestamp":9167880862,"id":5,"parentId":1,"tags":{},"startTime":1759900680213,"traceId":"58fd116758f0d93b"},{"name":"create-dist-dir","duration":4354,"timestamp":9167915389,"id":6,"parentId":1,"tags":{},"startTime":1759900680248,"traceId":"58fd116758f0d93b"},{"name":"create-pages-mapping","duration":113,"timestamp":9167986811,"id":7,"parentId":1,"tags":{},"startTime":1759900680319,"traceId":"58fd116758f0d93b"},{"name":"collect-app-files","duration":2675,"timestamp":9167986947,"id":8,"parentId":1,"tags":{},"startTime":1759900680319,"traceId":"58fd116758f0d93b"},{"name":"create-app-mapping","duration":1591,"timestamp":9167989645,"id":9,"parentId":1,"tags":{},"startTime":1759900680322,"traceId":"58fd116758f0d93b"},{"name":"create-app-layouts","duration":866,"timestamp":9167991306,"id":10,"parentId":1,"tags":{},"startTime":1759900680324,"traceId":"58fd116758f0d93b"},{"name":"collect-default-files","duration":2271,"timestamp":9167994152,"id":12,"parentId":1,"tags":{},"startTime":1759900680326,"traceId":"58fd116758f0d93b"},{"name":"generate-route-types","duration":18659,"timestamp":9167992547,"id":11,"parentId":1,"tags":{},"startTime":1759900680325,"traceId":"58fd116758f0d93b"},{"name":"public-dir-conflict-check","duration":914,"timestamp":9168011353,"id":13,"parentId":1,"tags":{},"startTime":1759900680344,"traceId":"58fd116758f0d93b"},{"name":"generate-routes-manifest","duration":3576,"timestamp":9168012539,"id":14,"parentId":1,"tags":{},"startTime":1759900680345,"traceId":"58fd116758f0d93b"},{"name":"run-turbopack-compiler","duration":9294826,"timestamp":9168074904,"id":16,"parentId":1,"tags":{},"startTime":1759900680407,"traceId":"58fd116758f0d93b"},{"name":"verify-and-lint","duration":1447879,"timestamp":9177380519,"id":19,"parentId":1,"tags":{},"startTime":1759900689713,"traceId":"58fd116758f0d93b"},{"name":"verify-typescript-setup","duration":4053258,"timestamp":9177378919,"id":18,"parentId":1,"tags":{},"startTime":1759900689711,"traceId":"58fd116758f0d93b"},{"name":"check-static-error-page","duration":2046,"timestamp":9181442183,"id":22,"parentId":21,"tags":{},"startTime":1759900693774,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":5296,"timestamp":9181464452,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1759900693797,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":2082,"timestamp":9181467676,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1759900693800,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":2306,"timestamp":9181467453,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1759900693800,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":806587,"timestamp":9181472682,"id":50,"parentId":46,"tags":{},"startTime":1759900693805,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":810904,"timestamp":9181468419,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":820501,"timestamp":9181492416,"id":56,"parentId":35,"tags":{},"startTime":1759900693825,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":844587,"timestamp":9181468355,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1132827,"timestamp":9181490246,"id":51,"parentId":29,"tags":{},"startTime":1759900693823,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1155244,"timestamp":9181467902,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1759900693800,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1131256,"timestamp":9181492061,"id":55,"parentId":34,"tags":{},"startTime":1759900693824,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1155024,"timestamp":9181468349,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1132501,"timestamp":9181491082,"id":53,"parentId":31,"tags":{},"startTime":1759900693823,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1155690,"timestamp":9181467924,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1759900693800,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1132219,"timestamp":9181491462,"id":54,"parentId":33,"tags":{},"startTime":1759900693824,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1155356,"timestamp":9181468341,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1133032,"timestamp":9181490733,"id":52,"parentId":27,"tags":{},"startTime":1759900693823,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1155904,"timestamp":9181467873,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1759900693800,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1149278,"timestamp":9181501079,"id":63,"parentId":41,"tags":{},"startTime":1759900693833,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1181990,"timestamp":9181468391,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1151960,"timestamp":9181499945,"id":58,"parentId":30,"tags":{},"startTime":1759900693832,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1184016,"timestamp":9181467910,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1759900693800,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1156525,"timestamp":9181501314,"id":64,"parentId":42,"tags":{},"startTime":1759900693834,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1189461,"timestamp":9181468397,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1156227,"timestamp":9181501665,"id":65,"parentId":28,"tags":{},"startTime":1759900693834,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1190005,"timestamp":9181467892,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1759900693800,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1163637,"timestamp":9181502126,"id":66,"parentId":32,"tags":{},"startTime":1759900693834,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1197464,"timestamp":9181468323,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1176473,"timestamp":9181500327,"id":60,"parentId":26,"tags":{},"startTime":1759900693833,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1209078,"timestamp":9181467745,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1759900693800,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1186661,"timestamp":9181502888,"id":68,"parentId":47,"tags":{},"startTime":1759900693835,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1221147,"timestamp":9181468425,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1188505,"timestamp":9181503453,"id":70,"parentId":48,"tags":{},"startTime":1759900693836,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1223542,"timestamp":9181468430,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1194815,"timestamp":9181502620,"id":67,"parentId":43,"tags":{},"startTime":1759900693835,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1229057,"timestamp":9181468402,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1200912,"timestamp":9181503148,"id":69,"parentId":45,"tags":{},"startTime":1759900693835,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1235671,"timestamp":9181468414,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1198153,"timestamp":9181512200,"id":73,"parentId":49,"tags":{},"startTime":1759900693844,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1241966,"timestamp":9181468437,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1398008,"timestamp":9181500632,"id":62,"parentId":40,"tags":{},"startTime":1759900693833,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1430312,"timestamp":9181468386,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1411953,"timestamp":9181500490,"id":61,"parentId":39,"tags":{},"startTime":1759900693833,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1444126,"timestamp":9181468379,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1430628,"timestamp":9181492793,"id":57,"parentId":36,"tags":{},"startTime":1759900693825,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1455089,"timestamp":9181468362,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1429718,"timestamp":9181500287,"id":59,"parentId":37,"tags":{},"startTime":1759900693833,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1461705,"timestamp":9181468368,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1430852,"timestamp":9181504259,"id":71,"parentId":44,"tags":{},"startTime":1759900693837,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1466732,"timestamp":9181468409,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"is-page-static","duration":1453443,"timestamp":9181506334,"id":72,"parentId":38,"tags":{},"startTime":1759900693839,"traceId":"58fd116758f0d93b"},{"name":"check-page","duration":1491424,"timestamp":9181468374,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1759900693801,"traceId":"58fd116758f0d93b"},{"name":"static-check","duration":1518739,"timestamp":9181441073,"id":21,"parentId":1,"tags":{},"startTime":1759900693773,"traceId":"58fd116758f0d93b"},{"name":"generate-required-server-files","duration":215,"timestamp":9182960074,"id":75,"parentId":1,"tags":{},"startTime":1759900695292,"traceId":"58fd116758f0d93b"},{"name":"write-routes-manifest","duration":568,"timestamp":9182964967,"id":77,"parentId":1,"tags":{},"startTime":1759900695297,"traceId":"58fd116758f0d93b"},{"name":"load-dotenv","duration":23,"timestamp":9182978268,"id":80,"parentId":79,"tags":{},"startTime":1759900695311,"traceId":"58fd116758f0d93b"},{"name":"run-export-path-map","duration":262,"timestamp":9183099196,"id":81,"parentId":79,"tags":{},"startTime":1759900695431,"traceId":"58fd116758f0d93b"},{"name":"next-export","duration":1161548,"timestamp":9182977679,"id":79,"parentId":1,"tags":{},"startTime":1759900695310,"traceId":"58fd116758f0d93b"},{"name":"move-exported-app-not-found-","duration":8894,"timestamp":9184140250,"id":82,"parentId":78,"tags":{},"startTime":1759900696473,"traceId":"58fd116758f0d93b"},{"name":"move-exported-page","duration":41021,"timestamp":9184149316,"id":83,"parentId":78,"tags":{},"startTime":1759900696482,"traceId":"58fd116758f0d93b"},{"name":"static-generation","duration":1554403,"timestamp":9182973891,"id":78,"parentId":1,"tags":{},"startTime":1759900695306,"traceId":"58fd116758f0d93b"},{"name":"write-routes-manifest","duration":21884,"timestamp":9184528623,"id":84,"parentId":1,"tags":{},"startTime":1759900696861,"traceId":"58fd116758f0d93b"},{"name":"node-file-trace-build","duration":3984556,"timestamp":9182961453,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1759900695294,"traceId":"58fd116758f0d93b"},{"name":"apply-include-excludes","duration":259,"timestamp":9186946022,"id":85,"parentId":1,"tags":{},"startTime":1759900699278,"traceId":"58fd116758f0d93b"},{"name":"print-tree-view","duration":2418,"timestamp":9186946517,"id":86,"parentId":1,"tags":{},"startTime":1759900699279,"traceId":"58fd116758f0d93b"},{"name":"telemetry-flush","duration":28,"timestamp":9186948947,"id":87,"parentId":1,"tags":{},"startTime":1759900699281,"traceId":"58fd116758f0d93b"},{"name":"next-build","duration":19316481,"timestamp":9167632497,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1759900679965,"traceId":"58fd116758f0d93b"}]
|
|
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,54 +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
|
-
'../../dist/lib/prisma/index.js',
|
|
10
|
-
'../../src/lib/prisma/index.ts',
|
|
11
|
-
] as const
|
|
12
|
-
|
|
13
|
-
const prismaClientCacheKeys = [
|
|
14
|
-
'@prisma/client',
|
|
15
|
-
'@prisma/client/index.js',
|
|
16
|
-
'.prisma/client/index.js',
|
|
17
|
-
'.prisma/client/default.js',
|
|
18
|
-
] as const
|
|
19
|
-
|
|
20
9
|
const nodeRequire = createRequire(import.meta.url)
|
|
21
10
|
const packageRoot = fileURLToPath(new URL('../..', import.meta.url))
|
|
22
|
-
const prismaSchemaPath = fileURLToPath(new URL('../../prisma/schema.prisma', import.meta.url))
|
|
23
|
-
|
|
24
|
-
class PrismaClientNeedsGenerateError extends Error {
|
|
25
|
-
constructor(cause?: unknown) {
|
|
26
|
-
super('Prisma client needs to be generated.')
|
|
27
|
-
this.name = 'PrismaClientNeedsGenerateError'
|
|
28
|
-
if (cause) {
|
|
29
|
-
this.cause = cause
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const isModuleNotFoundError = (error: unknown) => {
|
|
35
|
-
if (!(error instanceof Error)) return false
|
|
36
|
-
const err = error as NodeJS.ErrnoException & { code?: string }
|
|
37
|
-
return err.code === 'MODULE_NOT_FOUND' || err.code === 'ERR_MODULE_NOT_FOUND'
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
const isModuleNotFoundForCandidate = (error: unknown, candidate: string) => {
|
|
41
|
-
if (!isModuleNotFoundError(error)) return false
|
|
42
|
-
const absolutePath = fileURLToPath(new URL(candidate, import.meta.url))
|
|
43
|
-
const message = (error as Error).message ?? ''
|
|
44
|
-
return message.includes(candidate) || message.includes(absolutePath)
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
const isPrismaClientNotGeneratedError = (error: unknown) => {
|
|
48
|
-
if (!(error instanceof Error)) return false
|
|
49
|
-
return /prisma\s+client\s+did\s+not\s+initialize|Please\s+run\s+"prisma\s+generate"/i.test(
|
|
50
|
-
error.message,
|
|
51
|
-
)
|
|
52
|
-
}
|
|
53
11
|
|
|
54
12
|
const generatePrismaClient = async () => {
|
|
55
13
|
let prismaCliPath: string
|
|
@@ -67,7 +25,7 @@ const generatePrismaClient = async () => {
|
|
|
67
25
|
await new Promise<void>((resolve, reject) => {
|
|
68
26
|
const child = spawn(
|
|
69
27
|
process.execPath,
|
|
70
|
-
[prismaCliPath, 'generate'
|
|
28
|
+
[prismaCliPath, 'generate'],
|
|
71
29
|
{
|
|
72
30
|
cwd: packageRoot,
|
|
73
31
|
stdio: 'inherit',
|
|
@@ -90,121 +48,38 @@ const generatePrismaClient = async () => {
|
|
|
90
48
|
})
|
|
91
49
|
}
|
|
92
50
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
delete nodeRequire.cache[resolved]
|
|
98
|
-
} catch {
|
|
99
|
-
// ignore
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
const clearPrismaModuleCache = () => {
|
|
104
|
-
for (const candidate of prismaModuleCandidates) {
|
|
105
|
-
try {
|
|
106
|
-
const absolute = fileURLToPath(new URL(candidate, import.meta.url))
|
|
107
|
-
clearModuleCache(absolute)
|
|
108
|
-
} catch {
|
|
109
|
-
// ignore resolution failures
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
const clearPrismaClientCache = () => {
|
|
115
|
-
for (const request of prismaClientCacheKeys) {
|
|
116
|
-
try {
|
|
117
|
-
const resolved = nodeRequire.resolve(request, { paths: [packageRoot] })
|
|
118
|
-
delete nodeRequire.cache[resolved]
|
|
119
|
-
} catch {
|
|
120
|
-
// ignore cache misses
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
const resetGlobalPrismaSingleton = () => {
|
|
126
|
-
if ('prisma' in globalThis) {
|
|
127
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
128
|
-
delete (globalThis as any).prisma
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
const importPrismaModule = async (
|
|
133
|
-
candidate: string,
|
|
134
|
-
forceReload: boolean,
|
|
135
|
-
): Promise<Record<string, unknown>> => {
|
|
136
|
-
const url = new URL(candidate, import.meta.url)
|
|
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}`
|
|
137
55
|
|
|
138
|
-
if (
|
|
139
|
-
|
|
56
|
+
if (process.env.NODE_ENV === 'test') {
|
|
57
|
+
return new PrismaClient()
|
|
140
58
|
}
|
|
141
59
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
const loadFromCandidates = async (forceReload: boolean): Promise<PrismaClient> => {
|
|
146
|
-
let lastNotFoundError: unknown
|
|
147
|
-
|
|
148
|
-
for (const candidate of prismaModuleCandidates) {
|
|
149
|
-
try {
|
|
150
|
-
const module = await importPrismaModule(candidate, forceReload)
|
|
151
|
-
const prisma = module?.prisma as PrismaClient | undefined
|
|
152
|
-
|
|
153
|
-
if (!prisma) {
|
|
154
|
-
throw new CliError(`Module "${candidate}" does not export a Prisma client.`)
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
return prisma
|
|
158
|
-
} catch (error) {
|
|
159
|
-
if (isPrismaClientNotGeneratedError(error)) {
|
|
160
|
-
throw new PrismaClientNeedsGenerateError(error)
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
if (isModuleNotFoundForCandidate(error, candidate)) {
|
|
164
|
-
lastNotFoundError = error
|
|
165
|
-
continue
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
if (error instanceof CliError) {
|
|
169
|
-
throw error
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
throw new CliError('Failed to load Prisma client.', { cause: error })
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
throw new CliError(
|
|
177
|
-
'Prisma client module not found. Run `npm run build:lib` before using this command.',
|
|
178
|
-
{ cause: lastNotFoundError },
|
|
179
|
-
)
|
|
180
|
-
}
|
|
60
|
+
const adapter = new PrismaNeon({
|
|
61
|
+
connectionString,
|
|
62
|
+
})
|
|
181
63
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
64
|
+
return new PrismaClient({
|
|
65
|
+
adapter,
|
|
66
|
+
transactionOptions: {
|
|
67
|
+
timeout: 15000,
|
|
68
|
+
},
|
|
69
|
+
})
|
|
187
70
|
}
|
|
188
71
|
|
|
189
72
|
export const loadPrismaClient = async (): Promise<PrismaClient> => {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
if (error instanceof CliError) {
|
|
200
|
-
throw error
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
throw new CliError('Failed to load Prisma client.', { cause: error })
|
|
73
|
+
try {
|
|
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()
|
|
204
81
|
}
|
|
205
|
-
}
|
|
206
82
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
})
|
|
83
|
+
throw new CliError('Failed to initialize Prisma client.', { cause: error })
|
|
84
|
+
}
|
|
210
85
|
}
|
|
File without changes
|
/package/.next/static/{6nU4ZyARYIbl0qLhSHGBW → UJo4dd-k4AW1zNl7VRHve}/_clientMiddlewareManifest.json
RENAMED
|
File without changes
|
|
File without changes
|