@superinterface/server 1.0.20 → 1.0.21
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/chunks/[root-of-the-server]__228bff78._.js +10 -10
- package/.next/server/chunks/[root-of-the-server]__228bff78._.js.map +1 -1
- package/.next/server/chunks/[root-of-the-server]__3307123c._.js +10 -10
- package/.next/server/chunks/[root-of-the-server]__3307123c._.js.map +1 -1
- package/.next/server/chunks/[root-of-the-server]__50c5f12c._.js +10 -10
- package/.next/server/chunks/[root-of-the-server]__50c5f12c._.js.map +1 -1
- package/.next/server/chunks/[root-of-the-server]__6b8ba839._.js +10 -10
- package/.next/server/chunks/[root-of-the-server]__6b8ba839._.js.map +1 -1
- package/.next/server/chunks/[root-of-the-server]__e7819e95._.js +10 -10
- package/.next/server/chunks/[root-of-the-server]__e7819e95._.js.map +1 -1
- package/.next/server/chunks/[root-of-the-server]__f0dfab03._.js +10 -10
- package/.next/server/chunks/[root-of-the-server]__f0dfab03._.js.map +1 -1
- package/.next/server/chunks/[root-of-the-server]__ff90af03._.js +10 -10
- package/.next/server/chunks/[root-of-the-server]__ff90af03._.js.map +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/trace +1 -1
- package/dist/lib/prisma/index.d.ts +1 -2
- package/dist/lib/prisma/index.d.ts.map +1 -1
- package/dist/lib/prisma/index.js +32 -6
- package/package.json +1 -1
- /package/.next/static/{Ggpv5PXa7pPyxP1NXVbh6 → F76hCvc-i5ZvQskAGNyuc}/_buildManifest.js +0 -0
- /package/.next/static/{Ggpv5PXa7pPyxP1NXVbh6 → F76hCvc-i5ZvQskAGNyuc}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{Ggpv5PXa7pPyxP1NXVbh6 → F76hCvc-i5ZvQskAGNyuc}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--F76hCvc_i5ZvQskAGNyuc--><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\":\"F76hCvc-i5ZvQskAGNyuc\",\"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/F76hCvc-i5ZvQskAGNyuc/_ssgManifest.js" defer=""></script><script src="/_next/static/F76hCvc-i5ZvQskAGNyuc/_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":"F76hCvc-i5ZvQskAGNyuc","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
package/.next/trace
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"generate-buildid","duration":137,"timestamp":71924826757,"id":4,"parentId":1,"tags":{},"startTime":1759963437383,"traceId":"e430b4373e3697f5"},{"name":"load-custom-routes","duration":158,"timestamp":71924826939,"id":5,"parentId":1,"tags":{},"startTime":1759963437383,"traceId":"e430b4373e3697f5"},{"name":"create-dist-dir","duration":779,"timestamp":71924881534,"id":6,"parentId":1,"tags":{},"startTime":1759963437438,"traceId":"e430b4373e3697f5"},{"name":"create-pages-mapping","duration":147,"timestamp":71924979587,"id":7,"parentId":1,"tags":{},"startTime":1759963437536,"traceId":"e430b4373e3697f5"},{"name":"collect-app-files","duration":20051,"timestamp":71924979762,"id":8,"parentId":1,"tags":{},"startTime":1759963437536,"traceId":"e430b4373e3697f5"},{"name":"create-app-mapping","duration":3134,"timestamp":71924999835,"id":9,"parentId":1,"tags":{},"startTime":1759963437556,"traceId":"e430b4373e3697f5"},{"name":"create-app-layouts","duration":214,"timestamp":71925002993,"id":10,"parentId":1,"tags":{},"startTime":1759963437559,"traceId":"e430b4373e3697f5"},{"name":"collect-default-files","duration":4831,"timestamp":71925004747,"id":12,"parentId":1,"tags":{},"startTime":1759963437561,"traceId":"e430b4373e3697f5"},{"name":"generate-route-types","duration":33678,"timestamp":71925003561,"id":11,"parentId":1,"tags":{},"startTime":1759963437560,"traceId":"e430b4373e3697f5"},{"name":"public-dir-conflict-check","duration":540,"timestamp":71925037356,"id":13,"parentId":1,"tags":{},"startTime":1759963437593,"traceId":"e430b4373e3697f5"},{"name":"generate-routes-manifest","duration":1599,"timestamp":71925038040,"id":14,"parentId":1,"tags":{},"startTime":1759963437594,"traceId":"e430b4373e3697f5"},{"name":"run-turbopack-compiler","duration":9830010,"timestamp":71925094332,"id":16,"parentId":1,"tags":{},"startTime":1759963437650,"traceId":"e430b4373e3697f5"},{"name":"verify-and-lint","duration":3913294,"timestamp":71935069412,"id":19,"parentId":1,"tags":{},"startTime":1759963447626,"traceId":"e430b4373e3697f5"},{"name":"verify-typescript-setup","duration":11743967,"timestamp":71935049269,"id":18,"parentId":1,"tags":{},"startTime":1759963447605,"traceId":"e430b4373e3697f5"},{"name":"check-static-error-page","duration":19725,"timestamp":71947360674,"id":22,"parentId":21,"tags":{},"startTime":1759963459917,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":4123,"timestamp":71947561875,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1759963460118,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":3489,"timestamp":71947562521,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":3562,"timestamp":71947562449,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":978796,"timestamp":71947602130,"id":54,"parentId":35,"tags":{},"startTime":1759963460158,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1018185,"timestamp":71947562793,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1243587,"timestamp":71947600305,"id":50,"parentId":31,"tags":{},"startTime":1759963460157,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1281271,"timestamp":71947562736,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1247505,"timestamp":71947602602,"id":55,"parentId":32,"tags":{},"startTime":1759963460159,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1287431,"timestamp":71947562751,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1249186,"timestamp":71947601294,"id":52,"parentId":30,"tags":{},"startTime":1759963460158,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1288749,"timestamp":71947562647,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1250316,"timestamp":71947601754,"id":53,"parentId":27,"tags":{},"startTime":1759963460158,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1289511,"timestamp":71947562603,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1251286,"timestamp":71947600955,"id":51,"parentId":29,"tags":{},"startTime":1759963460157,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1289629,"timestamp":71947562639,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1272196,"timestamp":71947604966,"id":62,"parentId":28,"tags":{},"startTime":1759963460161,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1314563,"timestamp":71947562629,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1288463,"timestamp":71947603673,"id":57,"parentId":34,"tags":{},"startTime":1759963460160,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1329418,"timestamp":71947562778,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1292318,"timestamp":71947604413,"id":60,"parentId":33,"tags":{},"startTime":1759963460161,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1334018,"timestamp":71947562769,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1293769,"timestamp":71947604660,"id":61,"parentId":42,"tags":{},"startTime":1759963460161,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1335597,"timestamp":71947562872,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1311655,"timestamp":71947612263,"id":66,"parentId":41,"tags":{},"startTime":1759963460169,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1361124,"timestamp":71947562863,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1343436,"timestamp":71947602889,"id":56,"parentId":36,"tags":{},"startTime":1759963460159,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1383583,"timestamp":71947562801,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1401584,"timestamp":71947610560,"id":65,"parentId":46,"tags":{},"startTime":1759963460167,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1449293,"timestamp":71947562901,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1406493,"timestamp":71947610388,"id":64,"parentId":43,"tags":{},"startTime":1759963460167,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1454042,"timestamp":71947562877,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1413911,"timestamp":71947613135,"id":68,"parentId":45,"tags":{},"startTime":1759963460169,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1464183,"timestamp":71947562893,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1457732,"timestamp":71947613518,"id":70,"parentId":47,"tags":{},"startTime":1759963460170,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1508392,"timestamp":71947562907,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1457656,"timestamp":71947613957,"id":71,"parentId":48,"tags":{},"startTime":1759963460170,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1508734,"timestamp":71947562913,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1510427,"timestamp":71947613169,"id":69,"parentId":26,"tags":{},"startTime":1759963460169,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1563870,"timestamp":71947562542,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1506924,"timestamp":71947623970,"id":73,"parentId":49,"tags":{},"startTime":1759963460180,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1567990,"timestamp":71947562932,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1615593,"timestamp":71947603863,"id":58,"parentId":39,"tags":{},"startTime":1759963460160,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1656782,"timestamp":71947562826,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1645338,"timestamp":71947604090,"id":59,"parentId":40,"tags":{},"startTime":1759963460160,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1686609,"timestamp":71947562855,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1663308,"timestamp":71947606513,"id":63,"parentId":38,"tags":{},"startTime":1759963460164,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1707073,"timestamp":71947562820,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1661809,"timestamp":71947616812,"id":72,"parentId":37,"tags":{},"startTime":1759963460173,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1715836,"timestamp":71947562813,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"is-page-static","duration":1703860,"timestamp":71947612852,"id":67,"parentId":44,"tags":{},"startTime":1759963460169,"traceId":"e430b4373e3697f5"},{"name":"check-page","duration":1753864,"timestamp":71947562887,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1759963460119,"traceId":"e430b4373e3697f5"},{"name":"static-check","duration":1971465,"timestamp":71947345384,"id":21,"parentId":1,"tags":{},"startTime":1759963459902,"traceId":"e430b4373e3697f5"},{"name":"generate-required-server-files","duration":1799,"timestamp":71949318288,"id":75,"parentId":1,"tags":{},"startTime":1759963461875,"traceId":"e430b4373e3697f5"},{"name":"write-routes-manifest","duration":3895,"timestamp":71949353541,"id":77,"parentId":1,"tags":{},"startTime":1759963461910,"traceId":"e430b4373e3697f5"},{"name":"load-dotenv","duration":171,"timestamp":71949420293,"id":80,"parentId":79,"tags":{},"startTime":1759963461977,"traceId":"e430b4373e3697f5"},{"name":"run-export-path-map","duration":869,"timestamp":71949757193,"id":81,"parentId":79,"tags":{},"startTime":1759963462314,"traceId":"e430b4373e3697f5"},{"name":"next-export","duration":1323933,"timestamp":71949419095,"id":79,"parentId":1,"tags":{},"startTime":1759963461975,"traceId":"e430b4373e3697f5"},{"name":"move-exported-app-not-found-","duration":125328,"timestamp":71950744195,"id":82,"parentId":78,"tags":{},"startTime":1759963463301,"traceId":"e430b4373e3697f5"},{"name":"move-exported-page","duration":346269,"timestamp":71950869688,"id":83,"parentId":78,"tags":{},"startTime":1759963463426,"traceId":"e430b4373e3697f5"},{"name":"static-generation","duration":2187973,"timestamp":71949404272,"id":78,"parentId":1,"tags":{},"startTime":1759963461961,"traceId":"e430b4373e3697f5"},{"name":"write-routes-manifest","duration":137948,"timestamp":71951592496,"id":84,"parentId":1,"tags":{},"startTime":1759963464149,"traceId":"e430b4373e3697f5"},{"name":"node-file-trace-build","duration":5851271,"timestamp":71949331850,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1759963461888,"traceId":"e430b4373e3697f5"},{"name":"apply-include-excludes","duration":3594,"timestamp":71955183555,"id":85,"parentId":1,"tags":{},"startTime":1759963467740,"traceId":"e430b4373e3697f5"},{"name":"print-tree-view","duration":9717,"timestamp":71955188021,"id":86,"parentId":1,"tags":{},"startTime":1759963467744,"traceId":"e430b4373e3697f5"},{"name":"telemetry-flush","duration":303,"timestamp":71955197755,"id":87,"parentId":1,"tags":{},"startTime":1759963467754,"traceId":"e430b4373e3697f5"},{"name":"next-build","duration":30775958,"timestamp":71924422107,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1759963436978,"traceId":"e430b4373e3697f5"}]
|
|
1
|
+
[{"name":"generate-buildid","duration":152,"timestamp":76620138257,"id":4,"parentId":1,"tags":{},"startTime":1759968132687,"traceId":"da082684545e6d5d"},{"name":"load-custom-routes","duration":179,"timestamp":76620138463,"id":5,"parentId":1,"tags":{},"startTime":1759968132687,"traceId":"da082684545e6d5d"},{"name":"create-dist-dir","duration":481,"timestamp":76620200645,"id":6,"parentId":1,"tags":{},"startTime":1759968132749,"traceId":"da082684545e6d5d"},{"name":"create-pages-mapping","duration":188,"timestamp":76620606536,"id":7,"parentId":1,"tags":{},"startTime":1759968133155,"traceId":"da082684545e6d5d"},{"name":"collect-app-files","duration":2663,"timestamp":76620606756,"id":8,"parentId":1,"tags":{},"startTime":1759968133155,"traceId":"da082684545e6d5d"},{"name":"create-app-mapping","duration":1014,"timestamp":76620609445,"id":9,"parentId":1,"tags":{},"startTime":1759968133158,"traceId":"da082684545e6d5d"},{"name":"create-app-layouts","duration":211,"timestamp":76620610481,"id":10,"parentId":1,"tags":{},"startTime":1759968133159,"traceId":"da082684545e6d5d"},{"name":"collect-default-files","duration":1348,"timestamp":76620611653,"id":12,"parentId":1,"tags":{},"startTime":1759968133160,"traceId":"da082684545e6d5d"},{"name":"generate-route-types","duration":26544,"timestamp":76620611055,"id":11,"parentId":1,"tags":{},"startTime":1759968133160,"traceId":"da082684545e6d5d"},{"name":"public-dir-conflict-check","duration":2712,"timestamp":76620637735,"id":13,"parentId":1,"tags":{},"startTime":1759968133186,"traceId":"da082684545e6d5d"},{"name":"generate-routes-manifest","duration":2016,"timestamp":76620642550,"id":14,"parentId":1,"tags":{},"startTime":1759968133191,"traceId":"da082684545e6d5d"},{"name":"run-turbopack-compiler","duration":5436099,"timestamp":76620657206,"id":16,"parentId":1,"tags":{},"startTime":1759968133206,"traceId":"da082684545e6d5d"},{"name":"verify-and-lint","duration":1502559,"timestamp":76626167882,"id":19,"parentId":1,"tags":{},"startTime":1759968138716,"traceId":"da082684545e6d5d"},{"name":"verify-typescript-setup","duration":4220031,"timestamp":76626164850,"id":18,"parentId":1,"tags":{},"startTime":1759968138713,"traceId":"da082684545e6d5d"},{"name":"check-static-error-page","duration":2076,"timestamp":76630395267,"id":22,"parentId":21,"tags":{},"startTime":1759968142944,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":7409,"timestamp":76630437251,"id":23,"parentId":21,"tags":{"page":"/_app"},"startTime":1759968142986,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":6804,"timestamp":76630437867,"id":25,"parentId":21,"tags":{"page":"/_document"},"startTime":1759968142986,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":6878,"timestamp":76630437800,"id":24,"parentId":21,"tags":{"page":"/_error"},"startTime":1759968142986,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":503806,"timestamp":76630463791,"id":51,"parentId":29,"tags":{},"startTime":1759968143012,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":531270,"timestamp":76630437978,"id":29,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions/[functionId]"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":500978,"timestamp":76630468446,"id":53,"parentId":31,"tags":{},"startTime":1759968143017,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":531431,"timestamp":76630437999,"id":31,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/initial-messages"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":506660,"timestamp":76630462946,"id":50,"parentId":30,"tags":{},"startTime":1759968143012,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":531625,"timestamp":76630437986,"id":30,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/functions"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":500088,"timestamp":76630469569,"id":55,"parentId":33,"tags":{},"startTime":1759968143018,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":531587,"timestamp":76630438080,"id":33,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":505718,"timestamp":76630469080,"id":54,"parentId":32,"tags":{},"startTime":1759968143018,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":536773,"timestamp":76630438062,"id":32,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]/mcp-servers/[mcpServerId]"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":512720,"timestamp":76630464841,"id":52,"parentId":27,"tags":{},"startTime":1759968143013,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":540088,"timestamp":76630437949,"id":27,"parentId":21,"tags":{"page":"/api/api-keys/[apiKeyId]"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":517364,"timestamp":76630470533,"id":57,"parentId":35,"tags":{},"startTime":1759968143019,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":549955,"timestamp":76630438094,"id":35,"parentId":21,"tags":{"page":"/api/assistants"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":521088,"timestamp":76630469947,"id":56,"parentId":36,"tags":{},"startTime":1759968143019,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":552952,"timestamp":76630438102,"id":36,"parentId":21,"tags":{"page":"/api/files/[fileId]/contents"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":522809,"timestamp":76630472020,"id":63,"parentId":42,"tags":{},"startTime":1759968143021,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":556779,"timestamp":76630438143,"id":42,"parentId":21,"tags":{"page":"/api/providers"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":527001,"timestamp":76630471754,"id":62,"parentId":41,"tags":{},"startTime":1759968143020,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":560686,"timestamp":76630438135,"id":41,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":527356,"timestamp":76630475408,"id":65,"parentId":28,"tags":{},"startTime":1759968143024,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":564821,"timestamp":76630437965,"id":28,"parentId":21,"tags":{"page":"/api/api-keys"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":558979,"timestamp":76630471278,"id":61,"parentId":26,"tags":{},"startTime":1759968143020,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":592419,"timestamp":76630437882,"id":26,"parentId":21,"tags":{"page":"/_not-found"},"startTime":1759968142986,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":562421,"timestamp":76630476222,"id":67,"parentId":45,"tags":{},"startTime":1759968143025,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":600509,"timestamp":76630438159,"id":45,"parentId":21,"tags":{"page":"/api/tasks"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":569407,"timestamp":76630475939,"id":66,"parentId":43,"tags":{},"startTime":1759968143025,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":607223,"timestamp":76630438148,"id":43,"parentId":21,"tags":{"page":"/api/tasks/[taskId]"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":585602,"timestamp":76630476373,"id":68,"parentId":46,"tags":{},"startTime":1759968143025,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":623842,"timestamp":76630438164,"id":46,"parentId":21,"tags":{"page":"/api/threads/runs/submit-client-tool-outputs"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":601682,"timestamp":76630477225,"id":70,"parentId":47,"tags":{},"startTime":1759968143026,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":640763,"timestamp":76630438173,"id":47,"parentId":21,"tags":{"page":"/api/workspaces/[workspaceId]"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":615177,"timestamp":76630477517,"id":71,"parentId":48,"tags":{},"startTime":1759968143026,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":654545,"timestamp":76630438178,"id":48,"parentId":21,"tags":{"page":"/api/workspaces"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":657708,"timestamp":76630482176,"id":73,"parentId":49,"tags":{},"startTime":1759968143031,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":701722,"timestamp":76630438185,"id":49,"parentId":21,"tags":{"page":"/"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":671835,"timestamp":76630474999,"id":64,"parentId":38,"tags":{},"startTime":1759968143024,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":708745,"timestamp":76630438115,"id":38,"parentId":21,"tags":{"page":"/api/messages"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":675331,"timestamp":76630478137,"id":72,"parentId":34,"tags":{},"startTime":1759968143027,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":715437,"timestamp":76630438088,"id":34,"parentId":21,"tags":{"page":"/api/assistants/[assistantId]"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":721292,"timestamp":76630470821,"id":58,"parentId":37,"tags":{},"startTime":1759968143019,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":754030,"timestamp":76630438107,"id":37,"parentId":21,"tags":{"page":"/api/files"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":739798,"timestamp":76630471067,"id":59,"parentId":39,"tags":{},"startTime":1759968143020,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":772787,"timestamp":76630438120,"id":39,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/assistants"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":740990,"timestamp":76630471239,"id":60,"parentId":40,"tags":{},"startTime":1759968143020,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":774121,"timestamp":76630438129,"id":40,"parentId":21,"tags":{"page":"/api/providers/[modelProviderId]/models"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"is-page-static","duration":779517,"timestamp":76630476875,"id":69,"parentId":44,"tags":{},"startTime":1759968143025,"traceId":"da082684545e6d5d"},{"name":"check-page","duration":818277,"timestamp":76630438153,"id":44,"parentId":21,"tags":{"page":"/api/tasks/callback"},"startTime":1759968142987,"traceId":"da082684545e6d5d"},{"name":"static-check","duration":861795,"timestamp":76630394659,"id":21,"parentId":1,"tags":{},"startTime":1759968142943,"traceId":"da082684545e6d5d"},{"name":"generate-required-server-files","duration":349,"timestamp":76631256675,"id":75,"parentId":1,"tags":{},"startTime":1759968143805,"traceId":"da082684545e6d5d"},{"name":"write-routes-manifest","duration":937,"timestamp":76631265589,"id":77,"parentId":1,"tags":{},"startTime":1759968143814,"traceId":"da082684545e6d5d"},{"name":"load-dotenv","duration":24,"timestamp":76631288061,"id":80,"parentId":79,"tags":{},"startTime":1759968143837,"traceId":"da082684545e6d5d"},{"name":"run-export-path-map","duration":268,"timestamp":76631289932,"id":81,"parentId":79,"tags":{},"startTime":1759968143839,"traceId":"da082684545e6d5d"},{"name":"next-export","duration":1184294,"timestamp":76631287520,"id":79,"parentId":1,"tags":{},"startTime":1759968143836,"traceId":"da082684545e6d5d"},{"name":"move-exported-app-not-found-","duration":21240,"timestamp":76632472885,"id":82,"parentId":78,"tags":{},"startTime":1759968145021,"traceId":"da082684545e6d5d"},{"name":"move-exported-page","duration":72728,"timestamp":76632494259,"id":83,"parentId":78,"tags":{},"startTime":1759968145043,"traceId":"da082684545e6d5d"},{"name":"static-generation","duration":1580763,"timestamp":76631275436,"id":78,"parentId":1,"tags":{},"startTime":1759968143824,"traceId":"da082684545e6d5d"},{"name":"write-routes-manifest","duration":15367,"timestamp":76632856390,"id":84,"parentId":1,"tags":{},"startTime":1759968145405,"traceId":"da082684545e6d5d"},{"name":"node-file-trace-build","duration":4198692,"timestamp":76631261345,"id":76,"parentId":1,"tags":{"isTurbotrace":"false"},"startTime":1759968143810,"traceId":"da082684545e6d5d"},{"name":"apply-include-excludes","duration":401,"timestamp":76635460058,"id":85,"parentId":1,"tags":{},"startTime":1759968148009,"traceId":"da082684545e6d5d"},{"name":"print-tree-view","duration":7498,"timestamp":76635461085,"id":86,"parentId":1,"tags":{},"startTime":1759968148010,"traceId":"da082684545e6d5d"},{"name":"telemetry-flush","duration":58,"timestamp":76635468709,"id":87,"parentId":1,"tags":{},"startTime":1759968148017,"traceId":"da082684545e6d5d"},{"name":"next-build","duration":16330997,"timestamp":76619137777,"id":1,"tags":{"buildMode":"default","isTurboBuild":"true","version":"15.5.4","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1759968131686,"traceId":"da082684545e6d5d"}]
|
|
@@ -2,9 +2,8 @@ import { PrismaClient } from '@prisma/client';
|
|
|
2
2
|
declare const prismaClientSingleton: () => PrismaClient<import("@prisma/client").Prisma.PrismaClientOptions, never, import("@prisma/client/runtime/library").DefaultArgs>;
|
|
3
3
|
declare global {
|
|
4
4
|
var prisma: undefined | ReturnType<typeof prismaClientSingleton>;
|
|
5
|
-
var __superinterfaceServerPrisma: undefined | PrismaClient;
|
|
6
5
|
}
|
|
7
6
|
export declare const getPrisma: () => PrismaClient;
|
|
8
|
-
export declare const prisma: PrismaClient
|
|
7
|
+
export declare const prisma: PrismaClient;
|
|
9
8
|
export {};
|
|
10
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/prisma/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/prisma/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAS7C,QAAA,MAAM,qBAAqB,sIAiB1B,CAAA;AAED,OAAO,CAAC,MAAM,CAAC;IACb,IAAI,MAAM,EAAE,SAAS,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAA;CACjE;AAED,eAAO,MAAM,SAAS,QAAO,YAc5B,CAAA;AAQD,eAAO,MAAM,MAAM,EAsBb,YAAY,CAAA"}
|
package/dist/lib/prisma/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PrismaNeon } from '@prisma/adapter-neon';
|
|
2
2
|
import { PrismaClient } from '@prisma/client';
|
|
3
|
+
const prismaGlobalKey = Symbol.for('superinterface.server.prisma');
|
|
3
4
|
const prismaClientSingleton = () => {
|
|
4
5
|
const connectionString = `${process.env.DATABASE_URL}`;
|
|
5
6
|
if (process.env.NODE_ENV === 'test') {
|
|
@@ -15,19 +16,44 @@ const prismaClientSingleton = () => {
|
|
|
15
16
|
},
|
|
16
17
|
});
|
|
17
18
|
};
|
|
18
|
-
const globalKey = '__superinterfaceServerPrisma';
|
|
19
19
|
export const getPrisma = () => {
|
|
20
20
|
const globalForPrisma = globalThis;
|
|
21
|
-
if (globalForPrisma[
|
|
22
|
-
return globalForPrisma[
|
|
21
|
+
if (globalForPrisma[prismaGlobalKey])
|
|
22
|
+
return globalForPrisma[prismaGlobalKey];
|
|
23
23
|
if (globalForPrisma.prisma) {
|
|
24
|
-
globalForPrisma[
|
|
24
|
+
globalForPrisma[prismaGlobalKey] = globalForPrisma.prisma;
|
|
25
25
|
return globalForPrisma.prisma;
|
|
26
26
|
}
|
|
27
27
|
const client = prismaClientSingleton();
|
|
28
|
-
globalForPrisma[
|
|
28
|
+
globalForPrisma[prismaGlobalKey] = client;
|
|
29
29
|
if (!globalForPrisma.prisma)
|
|
30
30
|
globalForPrisma.prisma = client;
|
|
31
31
|
return client;
|
|
32
32
|
};
|
|
33
|
-
|
|
33
|
+
const getClient = () => {
|
|
34
|
+
return getPrisma();
|
|
35
|
+
};
|
|
36
|
+
let prismaInstance;
|
|
37
|
+
export const prisma = new Proxy({}, {
|
|
38
|
+
get(_target, prop, receiver) {
|
|
39
|
+
const client = prismaInstance !== null && prismaInstance !== void 0 ? prismaInstance : (prismaInstance = getClient());
|
|
40
|
+
const value = Reflect.get(client, prop, receiver);
|
|
41
|
+
return typeof value === 'function' ? value.bind(client) : value;
|
|
42
|
+
},
|
|
43
|
+
set(_target, prop, value, receiver) {
|
|
44
|
+
const client = prismaInstance !== null && prismaInstance !== void 0 ? prismaInstance : (prismaInstance = getClient());
|
|
45
|
+
return Reflect.set(client, prop, value, receiver);
|
|
46
|
+
},
|
|
47
|
+
has(_target, prop) {
|
|
48
|
+
const client = prismaInstance !== null && prismaInstance !== void 0 ? prismaInstance : (prismaInstance = getClient());
|
|
49
|
+
return Reflect.has(client, prop);
|
|
50
|
+
},
|
|
51
|
+
ownKeys() {
|
|
52
|
+
const client = prismaInstance !== null && prismaInstance !== void 0 ? prismaInstance : (prismaInstance = getClient());
|
|
53
|
+
return Reflect.ownKeys(client);
|
|
54
|
+
},
|
|
55
|
+
getOwnPropertyDescriptor(_target, prop) {
|
|
56
|
+
const client = prismaInstance !== null && prismaInstance !== void 0 ? prismaInstance : (prismaInstance = getClient());
|
|
57
|
+
return Reflect.getOwnPropertyDescriptor(client, prop);
|
|
58
|
+
},
|
|
59
|
+
});
|
package/package.json
CHANGED
|
File without changes
|
/package/.next/static/{Ggpv5PXa7pPyxP1NXVbh6 → F76hCvc-i5ZvQskAGNyuc}/_clientMiddlewareManifest.json
RENAMED
|
File without changes
|
|
File without changes
|