@superinterface/server 1.0.7 → 1.0.9
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/cache/eslint/.cache_btwyo7 +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 +111 -67
- /package/.next/static/{ro8zTpWa9gNP9pVyKlucL → 6nU4ZyARYIbl0qLhSHGBW}/_buildManifest.js +0 -0
- /package/.next/static/{ro8zTpWa9gNP9pVyKlucL → 6nU4ZyARYIbl0qLhSHGBW}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{ro8zTpWa9gNP9pVyKlucL → 6nU4ZyARYIbl0qLhSHGBW}/_ssgManifest.js +0 -0
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"ampDevFiles": [],
|
|
16
16
|
"polyfillFiles": [],
|
|
17
17
|
"lowPriorityFiles": [
|
|
18
|
-
"static/
|
|
19
|
-
"static/
|
|
18
|
+
"static/6nU4ZyARYIbl0qLhSHGBW/_ssgManifest.js",
|
|
19
|
+
"static/6nU4ZyARYIbl0qLhSHGBW/_buildManifest.js"
|
|
20
20
|
],
|
|
21
21
|
"rootMainFiles": [],
|
|
22
22
|
"ampFirstPages": []
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--6nU4ZyARYIbl0qLhSHGBW--><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\":\"6nU4ZyARYIbl0qLhSHGBW\",\"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":"6nU4ZyARYIbl0qLhSHGBW","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><!--6nU4ZyARYIbl0qLhSHGBW--><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\":\"6nU4ZyARYIbl0qLhSHGBW\",\"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":"6nU4ZyARYIbl0qLhSHGBW","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><!--6nU4ZyARYIbl0qLhSHGBW--><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\":\"6nU4ZyARYIbl0qLhSHGBW\",\"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/6nU4ZyARYIbl0qLhSHGBW/_ssgManifest.js" defer=""></script><script src="/_next/static/6nU4ZyARYIbl0qLhSHGBW/_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":"6nU4ZyARYIbl0qLhSHGBW","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
package/.next/trace
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"generate-buildid","duration":116,"timestamp":6386248660,"id":4,"parentId":1,"tags":{},"startTime":1759897898566,"traceId":"e89bafd0800fa0ea"},{"name":"load-custom-routes","duration":166,"timestamp":6386248823,"id":5,"parentId":1,"tags":{},"startTime":1759897898566,"traceId":"e89bafd0800fa0ea"},{"name":"create-dist-dir","duration":1759,"timestamp":6386282771,"id":6,"parentId":1,"tags":{},"startTime":1759897898600,"traceId":"e89bafd0800fa0ea"},{"name":"create-pages-mapping","duration":183,"timestamp":6386358802,"id":7,"parentId":1,"tags":{},"startTime":1759897898676,"traceId":"e89bafd0800fa0ea"},{"name":"collect-app-files","duration":3467,"timestamp":6386359015,"id":8,"parentId":1,"tags":{},"startTime":1759897898676,"traceId":"e89bafd0800fa0ea"},{"name":"create-app-mapping","duration":2289,"timestamp":6386362522,"id":9,"parentId":1,"tags":{},"startTime":1759897898680,"traceId":"e89bafd0800fa0ea"},{"name":"create-app-layouts","duration":233,"timestamp":6386364834,"id":10,"parentId":1,"tags":{},"startTime":1759897898682,"traceId":"e89bafd0800fa0ea"},{"name":"collect-default-files","duration":2181,"timestamp":6386365946,"id":12,"parentId":1,"tags":{},"startTime":1759897898683,"traceId":"e89bafd0800fa0ea"},{"name":"generate-route-types","duration":14781,"timestamp":6386365398,"id":11,"parentId":1,"tags":{},"startTime":1759897898683,"traceId":"e89bafd0800fa0ea"},{"name":"public-dir-conflict-check","duration":808,"timestamp":6386380330,"id":13,"parentId":1,"tags":{},"startTime":1759897898698,"traceId":"e89bafd0800fa0ea"},{"name":"generate-routes-manifest","duration":2282,"timestamp":6386381380,"id":14,"parentId":1,"tags":{},"startTime":1759897898699,"traceId":"e89bafd0800fa0ea"},{"name":"run-turbopack-compiler","duration":6696918,"timestamp":6386389103,"id":16,"parentId":1,"tags":{},"startTime":1759897898706,"traceId":"e89bafd0800fa0ea"},{"name":"verify-and-lint","duration":2890711,"timestamp":6393146626,"id":19,"parentId":1,"tags":{},"startTime":1759897905464,"traceId":"e89bafd0800fa0ea"},{"name":"verify-typescript-setup","duration":5164961,"timestamp":6393142288,"id":18,"parentId":1,"tags":{},"startTime":1759897905460,"traceId":"e89bafd0800fa0ea"},{"name":"check-static-error-page","duration":2290,"timestamp":6398315805,"id":22,"parentId":21,"tags":{},"startTime":1759897910633,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":2173,"timestamp":6398378186,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":1656,"timestamp":6398378713,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":1713,"timestamp":6398378657,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":270471,"timestamp":6398394879,"id":54,"parentId":26,"tags":{},"startTime":1759897910712,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":286662,"timestamp":6398378728,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":315285,"timestamp":6398388720,"id":50,"parentId":46,"tags":{},"startTime":1759897910706,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":325061,"timestamp":6398378985,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":329060,"timestamp":6398396218,"id":57,"parentId":35,"tags":{},"startTime":1759897910714,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":346375,"timestamp":6398378932,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":359128,"timestamp":6398393101,"id":51,"parentId":31,"tags":{},"startTime":1759897910711,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":373467,"timestamp":6398378829,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":357616,"timestamp":6398394762,"id":53,"parentId":30,"tags":{},"startTime":1759897910712,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":373579,"timestamp":6398378816,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":358089,"timestamp":6398394374,"id":52,"parentId":27,"tags":{},"startTime":1759897910712,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":373692,"timestamp":6398378786,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":368789,"timestamp":6398395317,"id":55,"parentId":32,"tags":{},"startTime":1759897910713,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":385231,"timestamp":6398378903,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":368349,"timestamp":6398395829,"id":56,"parentId":34,"tags":{},"startTime":1759897910713,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":385259,"timestamp":6398378925,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":370074,"timestamp":6398397473,"id":62,"parentId":42,"tags":{},"startTime":1759897910715,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":388610,"timestamp":6398378965,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":379843,"timestamp":6398396831,"id":59,"parentId":33,"tags":{},"startTime":1759897910714,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":397786,"timestamp":6398378918,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":385995,"timestamp":6398399654,"id":66,"parentId":28,"tags":{},"startTime":1759897910717,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":406903,"timestamp":6398378801,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":411763,"timestamp":6398399906,"id":67,"parentId":47,"tags":{},"startTime":1759897910717,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":432706,"timestamp":6398378990,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":419293,"timestamp":6398399367,"id":65,"parentId":43,"tags":{},"startTime":1759897910717,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":439739,"timestamp":6398378970,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":460800,"timestamp":6398400629,"id":69,"parentId":48,"tags":{},"startTime":1759897910718,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":488664,"timestamp":6398378994,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":482254,"timestamp":6398400849,"id":70,"parentId":45,"tags":{},"startTime":1759897910718,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":504174,"timestamp":6398378981,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":495267,"timestamp":6398401239,"id":71,"parentId":29,"tags":{},"startTime":1759897910719,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":517774,"timestamp":6398378809,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":498169,"timestamp":6398401639,"id":72,"parentId":41,"tags":{},"startTime":1759897910719,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":521093,"timestamp":6398378961,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":503108,"timestamp":6398421562,"id":73,"parentId":49,"tags":{},"startTime":1759897910739,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":545792,"timestamp":6398378999,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":548638,"timestamp":6398397255,"id":61,"parentId":40,"tags":{},"startTime":1759897910715,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":566991,"timestamp":6398378956,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":569177,"timestamp":6398397119,"id":60,"parentId":36,"tags":{},"startTime":1759897910715,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":587391,"timestamp":6398378937,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":585277,"timestamp":6398396442,"id":58,"parentId":37,"tags":{},"startTime":1759897910714,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":602839,"timestamp":6398378942,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":603576,"timestamp":6398398859,"id":64,"parentId":39,"tags":{},"startTime":1759897910716,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":623518,"timestamp":6398378951,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":629498,"timestamp":6398398721,"id":63,"parentId":38,"tags":{},"startTime":1759897910716,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":649311,"timestamp":6398378946,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"is-page-static","duration":636330,"timestamp":6398400401,"id":68,"parentId":44,"tags":{},"startTime":1759897910718,"traceId":"e89bafd0800fa0ea"},{"name":"check-page","duration":657772,"timestamp":6398378975,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1759897910696,"traceId":"e89bafd0800fa0ea"},{"name":"static-check","duration":721435,"timestamp":6398315372,"id":21,"parentId":1,"tags":{},"startTime":1759897910633,"traceId":"e89bafd0800fa0ea"},{"name":"generate-required-server-files","duration":244,"timestamp":6399037323,"id":75,"parentId":1,"tags":{},"startTime":1759897911355,"traceId":"e89bafd0800fa0ea"},{"name":"write-routes-manifest","duration":530,"timestamp":6399042535,"id":77,"parentId":1,"tags":{},"startTime":1759897911360,"traceId":"e89bafd0800fa0ea"},{"name":"load-dotenv","duration":14,"timestamp":6399055690,"id":80,"parentId":79,"tags":{},"startTime":1759897911373,"traceId":"e89bafd0800fa0ea"},{"name":"run-export-path-map","duration":291,"timestamp":6399156768,"id":81,"parentId":79,"tags":{},"startTime":1759897911474,"traceId":"e89bafd0800fa0ea"},{"name":"next-export","duration":1114515,"timestamp":6399055140,"id":79,"parentId":1,"tags":{},"startTime":1759897911373,"traceId":"e89bafd0800fa0ea"},{"name":"move-exported-app-not-found-","duration":12488,"timestamp":6400170784,"id":82,"parentId":78,"tags":{},"startTime":1759897912488,"traceId":"e89bafd0800fa0ea"},{"name":"move-exported-page","duration":108948,"timestamp":6400183399,"id":83,"parentId":78,"tags":{},"startTime":1759897912501,"traceId":"e89bafd0800fa0ea"},{"name":"static-generation","duration":1551566,"timestamp":6399051487,"id":78,"parentId":1,"tags":{},"startTime":1759897911369,"traceId":"e89bafd0800fa0ea"},{"name":"write-routes-manifest","duration":22621,"timestamp":6400603262,"id":84,"parentId":1,"tags":{},"startTime":1759897912921,"traceId":"e89bafd0800fa0ea"},{"name":"node-file-trace-build","duration":3864968,"timestamp":6399038946,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1759897911356,"traceId":"e89bafd0800fa0ea"},{"name":"apply-include-excludes","duration":293,"timestamp":6402903931,"id":85,"parentId":1,"tags":{},"startTime":1759897915221,"traceId":"e89bafd0800fa0ea"},{"name":"print-tree-view","duration":2403,"timestamp":6402904741,"id":86,"parentId":1,"tags":{},"startTime":1759897915222,"traceId":"e89bafd0800fa0ea"},{"name":"telemetry-flush","duration":27,"timestamp":6402907156,"id":87,"parentId":1,"tags":{},"startTime":1759897915225,"traceId":"e89bafd0800fa0ea"},{"name":"next-build","duration":16974586,"timestamp":6385932600,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1759897898250,"traceId":"e89bafd0800fa0ea"}]
|
|
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"}]
|
package/package.json
CHANGED
|
@@ -7,37 +7,41 @@ import { CliError } from './errors'
|
|
|
7
7
|
|
|
8
8
|
const prismaModuleCandidates = [
|
|
9
9
|
'../../dist/lib/prisma/index.js',
|
|
10
|
-
'../../src/lib/prisma',
|
|
10
|
+
'../../src/lib/prisma/index.ts',
|
|
11
11
|
] as const
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
prisma
|
|
15
|
-
|
|
13
|
+
const prismaClientCacheKeys = [
|
|
14
|
+
'@prisma/client',
|
|
15
|
+
'@prisma/client/index.js',
|
|
16
|
+
'.prisma/client/index.js',
|
|
17
|
+
'.prisma/client/default.js',
|
|
18
|
+
] as const
|
|
16
19
|
|
|
17
|
-
const packageRoot = fileURLToPath(new URL('../..', import.meta.url))
|
|
18
|
-
const schemaPath = fileURLToPath(
|
|
19
|
-
new URL('../../prisma/schema.prisma', import.meta.url),
|
|
20
|
-
)
|
|
21
20
|
const nodeRequire = createRequire(import.meta.url)
|
|
21
|
+
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
|
+
}
|
|
22
33
|
|
|
23
|
-
const isModuleNotFoundError = (error: unknown
|
|
34
|
+
const isModuleNotFoundError = (error: unknown) => {
|
|
24
35
|
if (!(error instanceof Error)) return false
|
|
25
|
-
|
|
26
36
|
const err = error as NodeJS.ErrnoException & { code?: string }
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
err.code !== 'MODULE_NOT_FOUND' &&
|
|
30
|
-
err.code !== 'ERR_MODULE_NOT_FOUND'
|
|
31
|
-
) {
|
|
32
|
-
return false
|
|
33
|
-
}
|
|
37
|
+
return err.code === 'MODULE_NOT_FOUND' || err.code === 'ERR_MODULE_NOT_FOUND'
|
|
38
|
+
}
|
|
34
39
|
|
|
35
|
-
|
|
36
|
-
return
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
)
|
|
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)
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
const isPrismaClientNotGeneratedError = (error: unknown) => {
|
|
@@ -55,18 +59,15 @@ const generatePrismaClient = async () => {
|
|
|
55
59
|
paths: [packageRoot],
|
|
56
60
|
})
|
|
57
61
|
} catch (error) {
|
|
58
|
-
throw new CliError(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
cause: error,
|
|
62
|
-
},
|
|
63
|
-
)
|
|
62
|
+
throw new CliError('Unable to resolve Prisma CLI. Install `prisma` dependency.', {
|
|
63
|
+
cause: error,
|
|
64
|
+
})
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
await new Promise<void>((resolve, reject) => {
|
|
67
68
|
const child = spawn(
|
|
68
69
|
process.execPath,
|
|
69
|
-
[prismaCliPath, 'generate', '--schema',
|
|
70
|
+
[prismaCliPath, 'generate', '--schema', prismaSchemaPath],
|
|
70
71
|
{
|
|
71
72
|
cwd: packageRoot,
|
|
72
73
|
stdio: 'inherit',
|
|
@@ -89,78 +90,121 @@ const generatePrismaClient = async () => {
|
|
|
89
90
|
})
|
|
90
91
|
}
|
|
91
92
|
|
|
93
|
+
const clearModuleCache = (absolutePath: string) => {
|
|
94
|
+
delete nodeRequire.cache[absolutePath]
|
|
95
|
+
try {
|
|
96
|
+
const resolved = nodeRequire.resolve(absolutePath)
|
|
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
|
+
|
|
92
114
|
const clearPrismaClientCache = () => {
|
|
93
|
-
const
|
|
94
|
-
'@prisma/client',
|
|
95
|
-
'@prisma/client/index.js',
|
|
96
|
-
'.prisma/client/index.js',
|
|
97
|
-
'.prisma/client/default.js',
|
|
98
|
-
] as const
|
|
99
|
-
|
|
100
|
-
for (const request of requests) {
|
|
115
|
+
for (const request of prismaClientCacheKeys) {
|
|
101
116
|
try {
|
|
102
117
|
const resolved = nodeRequire.resolve(request, { paths: [packageRoot] })
|
|
103
118
|
delete nodeRequire.cache[resolved]
|
|
104
|
-
} catch
|
|
119
|
+
} catch {
|
|
105
120
|
// ignore cache misses
|
|
106
121
|
}
|
|
107
122
|
}
|
|
108
123
|
}
|
|
109
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
|
+
|
|
110
132
|
const importPrismaModule = async (
|
|
111
133
|
candidate: string,
|
|
112
134
|
forceReload: boolean,
|
|
113
|
-
): Promise<
|
|
135
|
+
): Promise<Record<string, unknown>> => {
|
|
114
136
|
const url = new URL(candidate, import.meta.url)
|
|
115
137
|
|
|
116
138
|
if (forceReload) {
|
|
117
139
|
url.searchParams.set('ts', Date.now().toString())
|
|
118
140
|
}
|
|
119
141
|
|
|
120
|
-
return
|
|
142
|
+
return import(url.href)
|
|
121
143
|
}
|
|
122
144
|
|
|
123
|
-
|
|
124
|
-
let
|
|
125
|
-
let attemptedGenerate = false
|
|
145
|
+
const loadFromCandidates = async (forceReload: boolean): Promise<PrismaClient> => {
|
|
146
|
+
let lastNotFoundError: unknown
|
|
126
147
|
|
|
127
|
-
for (
|
|
128
|
-
const candidate = prismaModuleCandidates[index]
|
|
148
|
+
for (const candidate of prismaModuleCandidates) {
|
|
129
149
|
try {
|
|
130
|
-
const module = await importPrismaModule(candidate,
|
|
131
|
-
|
|
132
|
-
|
|
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.`)
|
|
133
155
|
}
|
|
134
156
|
|
|
135
|
-
|
|
136
|
-
`Module "${candidate}" does not export a prisma client.`,
|
|
137
|
-
)
|
|
157
|
+
return prisma
|
|
138
158
|
} catch (error) {
|
|
139
159
|
if (isPrismaClientNotGeneratedError(error)) {
|
|
140
|
-
|
|
141
|
-
throw new CliError('Prisma client failed to initialize.', {
|
|
142
|
-
cause: error,
|
|
143
|
-
})
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
await generatePrismaClient()
|
|
147
|
-
clearPrismaClientCache()
|
|
148
|
-
attemptedGenerate = true
|
|
149
|
-
index -= 1
|
|
150
|
-
continue
|
|
160
|
+
throw new PrismaClientNeedsGenerateError(error)
|
|
151
161
|
}
|
|
152
162
|
|
|
153
|
-
if (
|
|
154
|
-
|
|
163
|
+
if (isModuleNotFoundForCandidate(error, candidate)) {
|
|
164
|
+
lastNotFoundError = error
|
|
155
165
|
continue
|
|
156
166
|
}
|
|
157
167
|
|
|
168
|
+
if (error instanceof CliError) {
|
|
169
|
+
throw error
|
|
170
|
+
}
|
|
171
|
+
|
|
158
172
|
throw new CliError('Failed to load Prisma client.', { cause: error })
|
|
159
173
|
}
|
|
160
174
|
}
|
|
161
175
|
|
|
162
176
|
throw new CliError(
|
|
163
|
-
'Prisma client module not found. Run `
|
|
164
|
-
{ cause:
|
|
177
|
+
'Prisma client module not found. Run `npm run build:lib` before using this command.',
|
|
178
|
+
{ cause: lastNotFoundError },
|
|
165
179
|
)
|
|
166
180
|
}
|
|
181
|
+
|
|
182
|
+
const regeneratePrismaClient = async () => {
|
|
183
|
+
await generatePrismaClient()
|
|
184
|
+
clearPrismaClientCache()
|
|
185
|
+
clearPrismaModuleCache()
|
|
186
|
+
resetGlobalPrismaSingleton()
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export const loadPrismaClient = async (): Promise<PrismaClient> => {
|
|
190
|
+
for (let attempt = 0; attempt < 2; attempt += 1) {
|
|
191
|
+
try {
|
|
192
|
+
return await loadFromCandidates(attempt > 0)
|
|
193
|
+
} catch (error) {
|
|
194
|
+
if (error instanceof PrismaClientNeedsGenerateError) {
|
|
195
|
+
await regeneratePrismaClient()
|
|
196
|
+
continue
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
if (error instanceof CliError) {
|
|
200
|
+
throw error
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
throw new CliError('Failed to load Prisma client.', { cause: error })
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
throw new CliError('Prisma client failed to initialize.', {
|
|
208
|
+
cause: new Error('Exceeded regeneration attempts.'),
|
|
209
|
+
})
|
|
210
|
+
}
|
|
File without changes
|
/package/.next/static/{ro8zTpWa9gNP9pVyKlucL → 6nU4ZyARYIbl0qLhSHGBW}/_clientMiddlewareManifest.json
RENAMED
|
File without changes
|
|
File without changes
|