@theobourgeois/ytdb 0.1.4 → 0.1.5

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.
Files changed (122) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +4 -3
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/routes-manifest.json +6 -0
  6. package/.next/server/app/[connectionId]/[schema]/[table]/page.js +1 -1
  7. package/.next/server/app/[connectionId]/[schema]/[table]/page.js.nft.json +1 -1
  8. package/.next/server/app/[connectionId]/[schema]/[table]/page_client-reference-manifest.js +1 -1
  9. package/.next/server/app/[connectionId]/page.js +1 -1
  10. package/.next/server/app/[connectionId]/page_client-reference-manifest.js +1 -1
  11. package/.next/server/app/[connectionId]/query/page.js +1 -1
  12. package/.next/server/app/[connectionId]/query/page.js.nft.json +1 -1
  13. package/.next/server/app/[connectionId]/query/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/_global-error/page.js +2 -2
  15. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  16. package/.next/server/app/_global-error.html +1 -1
  17. package/.next/server/app/_global-error.rsc +1 -1
  18. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  19. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  20. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  21. package/.next/server/app/_not-found/page.js +1 -1
  22. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  23. package/.next/server/app/_not-found.html +1 -1
  24. package/.next/server/app/_not-found.rsc +2 -2
  25. package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  26. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  27. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  28. package/.next/server/app/api/activity/route.js +2 -2
  29. package/.next/server/app/api/activity/route.js.nft.json +1 -1
  30. package/.next/server/app/api/cell/route.js +1 -1
  31. package/.next/server/app/api/cell/route.js.nft.json +1 -1
  32. package/.next/server/app/api/definition/route.js +3 -3
  33. package/.next/server/app/api/definition/route.js.nft.json +1 -1
  34. package/.next/server/app/api/delete-rows/route.js +2 -2
  35. package/.next/server/app/api/delete-rows/route.js.nft.json +1 -1
  36. package/.next/server/app/api/health/route.js +1 -1
  37. package/.next/server/app/api/insert-row/route.js +2 -2
  38. package/.next/server/app/api/insert-row/route.js.nft.json +1 -1
  39. package/.next/server/app/api/lookup/route.js +1 -1
  40. package/.next/server/app/api/lookup/route.js.nft.json +1 -1
  41. package/.next/server/app/api/query/route.js +2 -2
  42. package/.next/server/app/api/query/route.js.nft.json +1 -1
  43. package/.next/server/app/api/related/route.js +2 -2
  44. package/.next/server/app/api/related/route.js.nft.json +1 -1
  45. package/.next/server/app/api/rows/route.js +1 -1
  46. package/.next/server/app/api/rows/route.js.nft.json +1 -1
  47. package/.next/server/app/api/tables/route.js +2 -2
  48. package/.next/server/app/api/tables/route.js.nft.json +1 -1
  49. package/.next/server/app/api/update-row/route.js +26 -0
  50. package/.next/server/app/api/update-row/route.js.nft.json +1 -0
  51. package/.next/server/app/api/update-row/route_client-reference-manifest.js +1 -0
  52. package/.next/server/app/favicon.ico/route.js +1 -1
  53. package/.next/server/app/icon.svg/route.js +1 -1
  54. package/.next/server/app/index.html +1 -1
  55. package/.next/server/app/index.rsc +2 -2
  56. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  57. package/.next/server/app/index.segments/_full.segment.rsc +2 -2
  58. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  59. package/.next/server/app/page.js +2 -2
  60. package/.next/server/app/page_client-reference-manifest.js +1 -1
  61. package/.next/server/app-paths-manifest.json +4 -3
  62. package/.next/server/chunks/25.js +1 -0
  63. package/.next/server/chunks/729.js +1 -1
  64. package/.next/server/chunks/97.js +1 -1
  65. package/.next/server/middleware-build-manifest.js +1 -1
  66. package/.next/server/pages/404.html +1 -1
  67. package/.next/server/pages/500.html +1 -1
  68. package/.next/server/server-reference-manifest.json +1 -1
  69. package/.next/static/2TlHWKLrxFV59N4Moie3r/_buildManifest.js +1 -0
  70. package/.next/static/chunks/444-bf95622a3be090a4.js +1 -0
  71. package/.next/static/chunks/541-7100f33afc3f8243.js +1 -0
  72. package/.next/static/chunks/680-15c080c77c182ea3.js +1 -0
  73. package/.next/static/chunks/app/[connectionId]/[schema]/[table]/page-bfacbc4a4d34c939.js +1 -0
  74. package/.next/static/chunks/app/[connectionId]/layout-df25b506d0665861.js +1 -0
  75. package/.next/static/chunks/app/[connectionId]/page-82bedb3eb554b308.js +1 -0
  76. package/.next/static/chunks/app/[connectionId]/query/page-fe42ed89c982309e.js +1 -0
  77. package/.next/static/chunks/app/_global-error/page-82bedb3eb554b308.js +1 -0
  78. package/.next/static/chunks/app/api/activity/route-82bedb3eb554b308.js +1 -0
  79. package/.next/static/chunks/app/api/cell/route-82bedb3eb554b308.js +1 -0
  80. package/.next/static/chunks/app/api/definition/route-82bedb3eb554b308.js +1 -0
  81. package/.next/static/chunks/app/api/delete-rows/route-82bedb3eb554b308.js +1 -0
  82. package/.next/static/chunks/app/api/health/route-82bedb3eb554b308.js +1 -0
  83. package/.next/static/chunks/app/api/insert-row/route-82bedb3eb554b308.js +1 -0
  84. package/.next/static/chunks/app/api/lookup/route-82bedb3eb554b308.js +1 -0
  85. package/.next/static/chunks/app/api/query/route-82bedb3eb554b308.js +1 -0
  86. package/.next/static/chunks/app/api/related/route-82bedb3eb554b308.js +1 -0
  87. package/.next/static/chunks/app/api/rows/route-82bedb3eb554b308.js +1 -0
  88. package/.next/static/chunks/app/api/tables/route-82bedb3eb554b308.js +1 -0
  89. package/.next/static/chunks/app/api/update-row/route-82bedb3eb554b308.js +1 -0
  90. package/.next/static/chunks/next/dist/client/components/builtin/app-error-82bedb3eb554b308.js +1 -0
  91. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-82bedb3eb554b308.js +1 -0
  92. package/.next/static/chunks/next/dist/client/components/builtin/not-found-82bedb3eb554b308.js +1 -0
  93. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-82bedb3eb554b308.js +1 -0
  94. package/.next/static/css/1915e6393ee4941a.css +1 -0
  95. package/package.json +2 -1
  96. package/.next/server/chunks/931.js +0 -1
  97. package/.next/static/chunks/322-820984c566985a36.js +0 -1
  98. package/.next/static/chunks/601-799a65f8b7bf9b55.js +0 -1
  99. package/.next/static/chunks/657-d99f60f84594816d.js +0 -1
  100. package/.next/static/chunks/app/[connectionId]/[schema]/[table]/page-2074e41ca84763c8.js +0 -1
  101. package/.next/static/chunks/app/[connectionId]/layout-1ca201b7c77f1f4e.js +0 -1
  102. package/.next/static/chunks/app/[connectionId]/page-7dba3ffe5102bbbe.js +0 -1
  103. package/.next/static/chunks/app/[connectionId]/query/page-1369fbf6f5f787c7.js +0 -1
  104. package/.next/static/chunks/app/_global-error/page-7dba3ffe5102bbbe.js +0 -1
  105. package/.next/static/chunks/app/api/activity/route-7dba3ffe5102bbbe.js +0 -1
  106. package/.next/static/chunks/app/api/cell/route-7dba3ffe5102bbbe.js +0 -1
  107. package/.next/static/chunks/app/api/definition/route-7dba3ffe5102bbbe.js +0 -1
  108. package/.next/static/chunks/app/api/delete-rows/route-7dba3ffe5102bbbe.js +0 -1
  109. package/.next/static/chunks/app/api/health/route-7dba3ffe5102bbbe.js +0 -1
  110. package/.next/static/chunks/app/api/insert-row/route-7dba3ffe5102bbbe.js +0 -1
  111. package/.next/static/chunks/app/api/lookup/route-7dba3ffe5102bbbe.js +0 -1
  112. package/.next/static/chunks/app/api/query/route-7dba3ffe5102bbbe.js +0 -1
  113. package/.next/static/chunks/app/api/related/route-7dba3ffe5102bbbe.js +0 -1
  114. package/.next/static/chunks/app/api/rows/route-7dba3ffe5102bbbe.js +0 -1
  115. package/.next/static/chunks/app/api/tables/route-7dba3ffe5102bbbe.js +0 -1
  116. package/.next/static/chunks/next/dist/client/components/builtin/app-error-7dba3ffe5102bbbe.js +0 -1
  117. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-7dba3ffe5102bbbe.js +0 -1
  118. package/.next/static/chunks/next/dist/client/components/builtin/not-found-7dba3ffe5102bbbe.js +0 -1
  119. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-7dba3ffe5102bbbe.js +0 -1
  120. package/.next/static/css/8b5d2aa22bcd334e.css +0 -1
  121. package/.next/static/rFvQ-riu3yHXAFfz6tH5K/_buildManifest.js +0 -1
  122. /package/.next/static/{rFvQ-riu3yHXAFfz6tH5K → 2TlHWKLrxFV59N4Moie3r}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=822,a.ids=[822],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},37143:(a,b,c)=>{c.r(b),c.d(b,{GET:()=>f,dynamic:()=>g});var d=c(23211);let e=Buffer.from("PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgcm9sZT0iaW1nIiBhcmlhLWxhYmVsPSJZVERCIj4KICA8cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHJ4PSI4IiBmaWxsPSIjMEEwQTBBIi8+CiAgPGcgc3Ryb2tlPSIjRkFGQUZBIiBzdHJva2Utd2lkdGg9IjIuMjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+CiAgICA8cGF0aCBkPSJNOC41IDggMTYgMTUuNSAyMy41IDgiLz4KICAgIDxwYXRoIGQ9Ik0xNiAxNS41VjI2Ii8+CiAgICA8cGF0aCBkPSJNOS41IDIwLjVoMTMiLz4KICAgIDxwYXRoIGQ9Ik05LjUgMjQuNWgxMyIvPgogIDwvZz4KPC9zdmc+Cg==","base64");function f(){return new d.NextResponse(e,{headers:{"Content-Type":"image/svg+xml","Cache-Control":"public, max-age=0, must-revalidate"}})}let g="force-static"},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},97169:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/icon.svg/route",pathname:"/icon.svg",filename:"icon",bundlePath:"app/icon.svg/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"next-metadata-route-loader?filePath=%2FUsers%2Ftheobourgeois%2Fcode%2Fdb-studio%2Fsrc%2Fapp%2Ficon.svg&isDynamicRouteExtension=0!?__next_metadata_route__",nextConfigOutput:"",userland:()=>c(37143),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/icon.svg/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[741,813],()=>b(b.s=97169));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=822,a.ids=[822],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:a=>{a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},37143:(a,b,c)=>{c.r(b),c.d(b,{GET:()=>f,dynamic:()=>g});var d=c(23211);let e=Buffer.from("PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgcm9sZT0iaW1nIiBhcmlhLWxhYmVsPSJZVERCIj4KICA8cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHJ4PSI4IiBmaWxsPSIjMEEwQTBBIi8+CiAgPGcgc3Ryb2tlPSIjRkFGQUZBIiBzdHJva2Utd2lkdGg9IjIuMjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+CiAgICA8cGF0aCBkPSJNOC41IDggMTYgMTUuNSAyMy41IDgiLz4KICAgIDxwYXRoIGQ9Ik0xNiAxNS41VjI2Ii8+CiAgICA8cGF0aCBkPSJNOS41IDIwLjVoMTMiLz4KICAgIDxwYXRoIGQ9Ik05LjUgMjQuNWgxMyIvPgogIDwvZz4KPC9zdmc+Cg==","base64");function f(){return new d.NextResponse(e,{headers:{"Content-Type":"image/svg+xml","Cache-Control":"public, max-age=0, must-revalidate"}})}let g="force-static"},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},47053:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/icon.svg/route",pathname:"/icon.svg",filename:"icon",bundlePath:"app/icon.svg/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"next-metadata-route-loader?filePath=%2FUsers%2Ftheobourgeois%2Fcode%2Fdb-studio%2Fsrc%2Fapp%2Ficon.svg&isDynamicRouteExtension=0!?__next_metadata_route__",nextConfigOutput:"",userland:()=>c(37143),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/icon.svg/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[741,813],()=>b(b.s=47053));module.exports=c})();
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" class="__variable_246ccd __variable_c29908 dark h-full" data-theme="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/22a5144ee8d83bca-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/7d4881bb7e1bf84d-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/e02ab5db9ff2dca2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/8b5d2aa22bcd334e.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-51196f53e7d6229d.js"/><script src="/_next/static/chunks/4bd1b696-c9cc1fe3b38e59bb.js" async=""></script><script src="/_next/static/chunks/794-5400405c4012cb77.js" async=""></script><script src="/_next/static/chunks/main-app-f0a2b35cb4db2c5e.js" async=""></script><script src="/_next/static/chunks/39-3411368bf75bda4b.js" async=""></script><script src="/_next/static/chunks/app/layout-6c0fa591484fc6df.js" async=""></script><script src="/_next/static/chunks/572-e6967e3b9e100c25.js" async=""></script><script src="/_next/static/chunks/221-60f4f4831760a303.js" async=""></script><script src="/_next/static/chunks/267-21d11b0b07b6fd76.js" async=""></script><script src="/_next/static/chunks/893-0e33027ec1d44618.js" async=""></script><script src="/_next/static/chunks/app/page-be25a80ac90e6e21.js" async=""></script><meta name="next-size-adjust" content=""/><title>YTDB</title><meta name="description" content="A database management UI"/><link rel="icon" href="/favicon.ico?603d046c9a6fdfbb" type="image/x-icon" sizes="16x16"/><link rel="icon" href="/icon.svg?38bdd49dcdf01715" type="image/svg+xml" sizes="any"/><script>(function(){try{var allowed=["dark","light","one-dark-pro","nord","dracula","tokyo-night"];var light=["light"];var id="dark";var raw=localStorage.getItem("ytdb:theme")||localStorage.getItem("db-studio:theme");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value==="string"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute("data-theme",id);root.classList.toggle("dark",light.indexOf(id)===-1);}catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="flex min-h-full flex-col"><div hidden=""><!--$--><!--/$--></div><main class="grid min-h-dvh place-items-center bg-background px-6 text-foreground"><div class="max-w-lg space-y-4"><p class="font-mono text-xs tracking-[0.22em] text-muted-foreground">YTDB</p><h1 class="text-2xl font-semibold tracking-tight">Connecting to YTDB…</h1></div></main><script src="/_next/static/chunks/webpack-51196f53e7d6229d.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[72737,[\"39\",\"static/chunks/39-3411368bf75bda4b.js\",\"177\",\"static/chunks/app/layout-6c0fa591484fc6df.js\"],\"ThemeProvider\"]\n3:I[94821,[\"39\",\"static/chunks/39-3411368bf75bda4b.js\",\"177\",\"static/chunks/app/layout-6c0fa591484fc6df.js\"],\"ConvexClientProvider\"]\n4:I[87758,[\"39\",\"static/chunks/39-3411368bf75bda4b.js\",\"177\",\"static/chunks/app/layout-6c0fa591484fc6df.js\"],\"LocalBridgeGate\"]\n5:I[57121,[],\"\"]\n6:I[74581,[],\"\"]\n7:I[61304,[],\"ClientPageRoot\"]\n8:I[20400,[\"572\",\"static/chunks/572-e6967e3b9e100c25.js\",\"221\",\"static/chunks/221-60f4f4831760a303.js\",\"267\",\"static/chunks/267-21d11b0b07b6fd76.js\",\"893\",\"static/chunks/893-0e33027ec1d44618.js\",\"974\",\"static/chunks/app/page-be25a80ac90e6e21.js\"],\"default\"]\nb:I[90484,[],\"OutletBoundary\"]\nc:\"$Sreact.suspense\"\ne:I[90484,[],\"ViewportBoundary\"]\n10:I[90484,[],\"MetadataBoundary\"]\n12:I[27123,[],\"default\",1]\n:HL[\"/_next/static/media/22a5144ee8d83bca-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/7d4881bb7e1bf84d-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/e02ab5db9ff2dca2.css\",\"style\"]\n:HL[\"/_next/static/css/8b5d2aa22bcd334e.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/e02ab5db9ff2dca2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/8b5d2aa22bcd334e.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_246ccd __variable_c29908 dark h-full\",\"data-theme\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var allowed=[\\\"dark\\\",\\\"light\\\",\\\"one-dark-pro\\\",\\\"nord\\\",\\\"dracula\\\",\\\"tokyo-night\\\"];var light=[\\\"light\\\"];var id=\\\"dark\\\";var raw=localStorage.getItem(\\\"ytdb:theme\\\")||localStorage.getItem(\\\"db-studio:theme\\\");if(raw){var parsed=JSON.parse(raw);var value=parsed\u0026\u0026parsed.state\u0026\u0026parsed.state.theme;if(typeof value===\\\"string\\\"\u0026\u0026allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\\\"data-theme\\\",id);root.classList.toggle(\\\"dark\\\",light.indexOf(id)===-1);}catch(e){}})();\"}}]}],[\"$\",\"body\",null,{\"className\":\"flex min-h-full flex-col\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L7\",null,{\"Component\":\"$8\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@9\",\"$@a\"]}}],null,[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$c\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@d\"}]}]]}],{},null,false,null]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$c\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L11\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$12\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"rFvQ-riu3yHXAFfz6tH5K\"}\n"])</script><script>self.__next_f.push([1,"9:{}\na:\"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"13:I[86869,[],\"IconMark\"]\nd:null\n11:[[\"$\",\"title\",\"0\",{\"children\":\"YTDB\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"A database management UI\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?603d046c9a6fdfbb\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/icon.svg?38bdd49dcdf01715\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}],[\"$\",\"$L13\",\"4\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en" class="__variable_246ccd __variable_c29908 dark h-full" data-theme="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/22a5144ee8d83bca-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/7d4881bb7e1bf84d-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/e02ab5db9ff2dca2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/1915e6393ee4941a.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-51196f53e7d6229d.js"/><script src="/_next/static/chunks/4bd1b696-c9cc1fe3b38e59bb.js" async=""></script><script src="/_next/static/chunks/794-5400405c4012cb77.js" async=""></script><script src="/_next/static/chunks/main-app-f0a2b35cb4db2c5e.js" async=""></script><script src="/_next/static/chunks/39-3411368bf75bda4b.js" async=""></script><script src="/_next/static/chunks/app/layout-6c0fa591484fc6df.js" async=""></script><script src="/_next/static/chunks/572-e6967e3b9e100c25.js" async=""></script><script src="/_next/static/chunks/221-60f4f4831760a303.js" async=""></script><script src="/_next/static/chunks/267-21d11b0b07b6fd76.js" async=""></script><script src="/_next/static/chunks/893-0e33027ec1d44618.js" async=""></script><script src="/_next/static/chunks/app/page-be25a80ac90e6e21.js" async=""></script><meta name="next-size-adjust" content=""/><title>YTDB</title><meta name="description" content="A database management UI"/><link rel="icon" href="/favicon.ico?603d046c9a6fdfbb" type="image/x-icon" sizes="16x16"/><link rel="icon" href="/icon.svg?38bdd49dcdf01715" type="image/svg+xml" sizes="any"/><script>(function(){try{var allowed=["dark","light","one-dark-pro","nord","dracula","tokyo-night"];var light=["light"];var id="dark";var raw=localStorage.getItem("ytdb:theme")||localStorage.getItem("db-studio:theme");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value==="string"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute("data-theme",id);root.classList.toggle("dark",light.indexOf(id)===-1);}catch(e){}})();</script><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="flex min-h-full flex-col"><div hidden=""><!--$--><!--/$--></div><main class="grid min-h-dvh place-items-center bg-background px-6 text-foreground"><div class="max-w-lg space-y-4"><p class="font-mono text-xs tracking-[0.22em] text-muted-foreground">YTDB</p><h1 class="text-2xl font-semibold tracking-tight">Connecting to YTDB…</h1></div></main><script src="/_next/static/chunks/webpack-51196f53e7d6229d.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[72737,[\"39\",\"static/chunks/39-3411368bf75bda4b.js\",\"177\",\"static/chunks/app/layout-6c0fa591484fc6df.js\"],\"ThemeProvider\"]\n3:I[94821,[\"39\",\"static/chunks/39-3411368bf75bda4b.js\",\"177\",\"static/chunks/app/layout-6c0fa591484fc6df.js\"],\"ConvexClientProvider\"]\n4:I[87758,[\"39\",\"static/chunks/39-3411368bf75bda4b.js\",\"177\",\"static/chunks/app/layout-6c0fa591484fc6df.js\"],\"LocalBridgeGate\"]\n5:I[57121,[],\"\"]\n6:I[74581,[],\"\"]\n7:I[61304,[],\"ClientPageRoot\"]\n8:I[20400,[\"572\",\"static/chunks/572-e6967e3b9e100c25.js\",\"221\",\"static/chunks/221-60f4f4831760a303.js\",\"267\",\"static/chunks/267-21d11b0b07b6fd76.js\",\"893\",\"static/chunks/893-0e33027ec1d44618.js\",\"974\",\"static/chunks/app/page-be25a80ac90e6e21.js\"],\"default\"]\nb:I[90484,[],\"OutletBoundary\"]\nc:\"$Sreact.suspense\"\ne:I[90484,[],\"ViewportBoundary\"]\n10:I[90484,[],\"MetadataBoundary\"]\n12:I[27123,[],\"default\",1]\n:HL[\"/_next/static/media/22a5144ee8d83bca-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/7d4881bb7e1bf84d-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/e02ab5db9ff2dca2.css\",\"style\"]\n:HL[\"/_next/static/css/1915e6393ee4941a.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"c\":[\"\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{},\"$undefined\",\"$undefined\",4608]},\"$undefined\",\"$undefined\",4624],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/e02ab5db9ff2dca2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/1915e6393ee4941a.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__variable_246ccd __variable_c29908 dark h-full\",\"data-theme\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"(function(){try{var allowed=[\\\"dark\\\",\\\"light\\\",\\\"one-dark-pro\\\",\\\"nord\\\",\\\"dracula\\\",\\\"tokyo-night\\\"];var light=[\\\"light\\\"];var id=\\\"dark\\\";var raw=localStorage.getItem(\\\"ytdb:theme\\\")||localStorage.getItem(\\\"db-studio:theme\\\");if(raw){var parsed=JSON.parse(raw);var value=parsed\u0026\u0026parsed.state\u0026\u0026parsed.state.theme;if(typeof value===\\\"string\\\"\u0026\u0026allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\\\"data-theme\\\",id);root.classList.toggle(\\\"dark\\\",light.indexOf(id)===-1);}catch(e){}})();\"}}]}],[\"$\",\"body\",null,{\"className\":\"flex min-h-full flex-col\",\"children\":[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L7\",null,{\"Component\":\"$8\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@9\",\"$@a\"]}}],null,[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$c\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@d\"}]}]]}],{},null,false,null]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$c\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L11\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$12\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"2TlHWKLrxFV59N4Moie3r\"}\n"])</script><script>self.__next_f.push([1,"9:{}\na:\"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"13:I[86869,[],\"IconMark\"]\nd:null\n11:[[\"$\",\"title\",\"0\",{\"children\":\"YTDB\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"A database management UI\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?603d046c9a6fdfbb\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"link\",\"3\",{\"rel\":\"icon\",\"href\":\"/icon.svg?38bdd49dcdf01715\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}],[\"$\",\"$L13\",\"4\",{}]]\n"])</script></body></html>
@@ -14,8 +14,8 @@ e:I[90484,[],"ViewportBoundary"]
14
14
  :HL["/_next/static/media/22a5144ee8d83bca-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
15
15
  :HL["/_next/static/media/7d4881bb7e1bf84d-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
16
16
  :HL["/_next/static/css/e02ab5db9ff2dca2.css","style"]
17
- :HL["/_next/static/css/8b5d2aa22bcd334e.css","style"]
18
- 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e02ab5db9ff2dca2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8b5d2aa22bcd334e.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_246ccd __variable_c29908 dark h-full","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var allowed=[\"dark\",\"light\",\"one-dark-pro\",\"nord\",\"dracula\",\"tokyo-night\"];var light=[\"light\"];var id=\"dark\";var raw=localStorage.getItem(\"ytdb:theme\")||localStorage.getItem(\"db-studio:theme\");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value===\"string\"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\"data-theme\",id);root.classList.toggle(\"dark\",light.indexOf(id)===-1);}catch(e){}})();"}}]}],["$","body",null,{"className":"flex min-h-full flex-col","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],null,["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"rFvQ-riu3yHXAFfz6tH5K"}
17
+ :HL["/_next/static/css/1915e6393ee4941a.css","style"]
18
+ 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e02ab5db9ff2dca2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/1915e6393ee4941a.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_246ccd __variable_c29908 dark h-full","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var allowed=[\"dark\",\"light\",\"one-dark-pro\",\"nord\",\"dracula\",\"tokyo-night\"];var light=[\"light\"];var id=\"dark\";var raw=localStorage.getItem(\"ytdb:theme\")||localStorage.getItem(\"db-studio:theme\");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value===\"string\"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\"data-theme\",id);root.classList.toggle(\"dark\",light.indexOf(id)===-1);}catch(e){}})();"}}]}],["$","body",null,{"className":"flex min-h-full flex-col","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],null,["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"2TlHWKLrxFV59N4Moie3r"}
19
19
  9:{}
20
20
  a:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
21
21
  f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -12,9 +12,9 @@ f:I[72737,["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/
12
12
  12:I[57121,[],""]
13
13
  13:I[74581,[],""]
14
14
  :HL["/_next/static/css/e02ab5db9ff2dca2.css","style"]
15
- :HL["/_next/static/css/8b5d2aa22bcd334e.css","style"]
15
+ :HL["/_next/static/css/1915e6393ee4941a.css","style"]
16
16
  a:X
17
- 0:{"buildId":"rFvQ-riu3yHXAFfz6tH5K","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":"$@9","staleTime":"$a","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$Lb",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"YTDB"}],["$","meta","1",{"name":"description","content":"A database management UI"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?603d046c9a6fdfbb","type":"image/x-icon","sizes":"16x16"}],["$","link","3",{"rel":"icon","href":"/icon.svg?38bdd49dcdf01715","type":"image/svg+xml","sizes":"any"}],["$","$Ld","4",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":"$@e","staleTime":"$a","varyParams":null},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e02ab5db9ff2dca2.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8b5d2aa22bcd334e.css","precedence":"next"}]],["$","html",null,{"lang":"en","className":"__variable_246ccd __variable_c29908 dark h-full","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var allowed=[\"dark\",\"light\",\"one-dark-pro\",\"nord\",\"dracula\",\"tokyo-night\"];var light=[\"light\"];var id=\"dark\";var raw=localStorage.getItem(\"ytdb:theme\")||localStorage.getItem(\"db-studio:theme\");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value===\"string\"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\"data-theme\",id);root.classList.toggle(\"dark\",light.indexOf(id)===-1);}catch(e){}})();"}}]}],["$","body",null,{"className":"flex min-h-full flex-col","children":["$","$Lf",null,{"children":["$","$L10",null,{"children":["$","$L11",null,{"children":["$","$L12",null,{"parallelRouterKey":"children","template":["$","$L13",null,{}],"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."}]}]]}]}]],[]]}]}]}]}]}]]}]]}],"isPartial":"$@14","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@15","rootVaryParams":null,"needsRuntimeRequest":"$@16"}
17
+ 0:{"buildId":"2TlHWKLrxFV59N4Moie3r","data":[{"rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],null,["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"isPartial":"$@9","staleTime":"$a","varyParams":null},{"rsc":["$","$1","h",{"children":[null,["$","$Lb",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$Lc",null,{"children":["$","$7",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"YTDB"}],["$","meta","1",{"name":"description","content":"A database management UI"}],["$","link","2",{"rel":"icon","href":"/favicon.ico?603d046c9a6fdfbb","type":"image/x-icon","sizes":"16x16"}],["$","link","3",{"rel":"icon","href":"/icon.svg?38bdd49dcdf01715","type":"image/svg+xml","sizes":"any"}],["$","$Ld","4",{}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"isPartial":"$@e","staleTime":"$a","varyParams":null},{"rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e02ab5db9ff2dca2.css","precedence":"next"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/1915e6393ee4941a.css","precedence":"next"}]],["$","html",null,{"lang":"en","className":"__variable_246ccd __variable_c29908 dark h-full","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var allowed=[\"dark\",\"light\",\"one-dark-pro\",\"nord\",\"dracula\",\"tokyo-night\"];var light=[\"light\"];var id=\"dark\";var raw=localStorage.getItem(\"ytdb:theme\")||localStorage.getItem(\"db-studio:theme\");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value===\"string\"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\"data-theme\",id);root.classList.toggle(\"dark\",light.indexOf(id)===-1);}catch(e){}})();"}}]}],["$","body",null,{"className":"flex min-h-full flex-col","children":["$","$Lf",null,{"children":["$","$L10",null,{"children":["$","$L11",null,{"children":["$","$L12",null,{"parallelRouterKey":"children","template":["$","$L13",null,{}],"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."}]}]]}]}]],[]]}]}]}]}]}]]}]]}],"isPartial":"$@14","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@15","rootVaryParams":null,"needsRuntimeRequest":"$@16"}
18
18
  4:{}
19
19
  5:"$0:data:0:rsc:props:children:0:props:serverProvidedParams:params"
20
20
  8:null
@@ -14,8 +14,8 @@ e:I[90484,[],"ViewportBoundary"]
14
14
  :HL["/_next/static/media/22a5144ee8d83bca-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
15
15
  :HL["/_next/static/media/7d4881bb7e1bf84d-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
16
16
  :HL["/_next/static/css/e02ab5db9ff2dca2.css","style"]
17
- :HL["/_next/static/css/8b5d2aa22bcd334e.css","style"]
18
- 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e02ab5db9ff2dca2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/8b5d2aa22bcd334e.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_246ccd __variable_c29908 dark h-full","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var allowed=[\"dark\",\"light\",\"one-dark-pro\",\"nord\",\"dracula\",\"tokyo-night\"];var light=[\"light\"];var id=\"dark\";var raw=localStorage.getItem(\"ytdb:theme\")||localStorage.getItem(\"db-studio:theme\");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value===\"string\"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\"data-theme\",id);root.classList.toggle(\"dark\",light.indexOf(id)===-1);}catch(e){}})();"}}]}],["$","body",null,{"className":"flex min-h-full flex-col","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],null,["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"rFvQ-riu3yHXAFfz6tH5K"}
17
+ :HL["/_next/static/css/1915e6393ee4941a.css","style"]
18
+ 0:{"P":null,"c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{},"$undefined","$undefined",4608]},"$undefined","$undefined",4624],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/e02ab5db9ff2dca2.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/1915e6393ee4941a.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"__variable_246ccd __variable_c29908 dark h-full","data-theme":"dark","suppressHydrationWarning":true,"children":[["$","head",null,{"children":["$","script",null,{"dangerouslySetInnerHTML":{"__html":"(function(){try{var allowed=[\"dark\",\"light\",\"one-dark-pro\",\"nord\",\"dracula\",\"tokyo-night\"];var light=[\"light\"];var id=\"dark\";var raw=localStorage.getItem(\"ytdb:theme\")||localStorage.getItem(\"db-studio:theme\");if(raw){var parsed=JSON.parse(raw);var value=parsed&&parsed.state&&parsed.state.theme;if(typeof value===\"string\"&&allowed.indexOf(value)!==-1)id=value;}var root=document.documentElement;root.setAttribute(\"data-theme\",id);root.classList.toggle(\"dark\",light.indexOf(id)===-1);}catch(e){}})();"}}]}],["$","body",null,{"className":"flex min-h-full flex-col","children":["$","$L2",null,{"children":["$","$L3",null,{"children":["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]}]}]]}]]}],{"children":[["$","$1","c",{"children":[["$","$L7",null,{"Component":"$8","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@9","$@a"]}}],null,["$","$Lb",null,{"children":["$","$c",null,{"name":"Next.MetadataOutlet","children":"$@d"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Le",null,{"children":"$Lf"}],["$","div",null,{"hidden":true,"children":["$","$L10",null,{"children":["$","$c",null,{"name":"Next.Metadata","children":"$L11"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$12",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"2TlHWKLrxFV59N4Moie3r"}
19
19
  9:{}
20
20
  a:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
21
21
  f:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
@@ -1,5 +1,5 @@
1
1
  :HL["/_next/static/media/22a5144ee8d83bca-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
2
2
  :HL["/_next/static/media/7d4881bb7e1bf84d-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
3
3
  :HL["/_next/static/css/e02ab5db9ff2dca2.css","style"]
4
- :HL["/_next/static/css/8b5d2aa22bcd334e.css","style"]
5
- 0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"rFvQ-riu3yHXAFfz6tH5K"}
4
+ :HL["/_next/static/css/1915e6393ee4941a.css","style"]
5
+ 0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"2TlHWKLrxFV59N4Moie3r"}
@@ -1,2 +1,2 @@
1
- (()=>{var a={};a.id=974,a.ids=[974],a.modules={3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4494:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/theobourgeois/code/db-studio/src/app/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/theobourgeois/code/db-studio/src/app/page.tsx","default")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13595:(a,b,c)=>{Promise.resolve().then(c.bind(c,4494))},15990:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>p,handler:()=>r,routeModule:()=>q});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,35780))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n={children:["",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,4494))),"/Users/theobourgeois/code/db-studio/src/app/page.tsx"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a),async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,59645)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[i,"/Users/theobourgeois/code/db-studio/src/app/layout.tsx"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a),async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,59645)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]}.children,o=(0,e.H)({tree:n,page:"/page",pathname:"/",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),p=o.__next_app__,q=o.routeModule,r=o.handler},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},22053:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>C});var d=c(48249),e=c(2116),f=c.n(e),g=c(67484),h=c(89216),i=c(60136),j=c(69473),k=c(25297),l=c(82244),m=c(91732),n=c(99598),o=c(78260),p=c(89267),q=c(30770),r=c(40245);let s=(0,c(41926).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);var t=c(38393),u=c(4106),v=c(61561),w=c(16280);function x(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function y(){let a=(0,g.useRef)(null),[b,c]=(0,g.useState)(null),[e,f]=(0,g.useState)(null);function h(a){(0,u.L)("config.import",{connections:a.connections.length,exportedAt:a.exportedAt}),m.Z.setState({connections:a.connections}),n.lz.setState({browse:a.explorer.browse,tables:a.explorer.tables}),w.C.getState().setTheme(a.theme),f(null),c(null)}async function i(a){let b=a.target.files?.[0];if(a.target.value="",b)try{let a=function(a){let b;try{b=JSON.parse(a)}catch{throw Error("That file isn’t valid JSON.")}if(!x(b))throw Error("That file isn’t a YTDB config.");if(1!==b.version)throw Error("That config file isn’t supported.");if(!Array.isArray(b.connections))throw Error("That config file has no connections list.");let c=b.connections.map((a,b)=>(function(a,b){if(!x(a))throw Error(`Connection ${b+1} is invalid.`);if("string"!=typeof a.id||0===a.id.length)throw Error(`Connection ${b+1} is missing an id.`);if("string"!=typeof a.name||0===a.name.length)throw Error(`Connection ${b+1} is missing a name.`);if("string"!=typeof a.url||0===a.url.length)throw Error(`Connection ${b+1} is missing a URL.`);let c={id:a.id,name:a.name,url:a.url};return"string"==typeof a.color&&(c.color=a.color),"string"==typeof a.layoutGroup&&(c.layoutGroup=a.layoutGroup),c})(a,b)),d=x(b.explorer)?b.explorer:{},e=x(d.browse)?d.browse:{},f=x(d.tables)?d.tables:{},g=(0,v.Ff)(b.theme)?b.theme:w.C.getState().theme;return{version:1,exportedAt:"string"==typeof b.exportedAt?b.exportedAt:new Date().toISOString(),connections:c,explorer:{browse:e,tables:f},theme:g}}(await b.text());if(function(){let{connections:a}=m.Z.getState(),{browse:b,tables:c}=n.lz.getState();return a.length>0||Object.keys(b).length>0||Object.keys(c).length>0}()){c(null),f(a);return}h(a)}catch(a){f(null),c(a instanceof Error?a.message:"Couldn’t import that file.")}}return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(k.$,{size:"sm",variant:"ghost",onClick:()=>{let a,b,c,d;return a=function(){let{connections:a}=m.Z.getState(),{browse:b,tables:c}=n.lz.getState(),{theme:d}=w.C.getState();return{version:1,exportedAt:new Date().toISOString(),connections:a,explorer:{browse:b,tables:c},theme:d}}(),(0,u.L)("config.export",{connections:a.connections.length}),b=new Blob([`${JSON.stringify(a,null,2)}
2
- `],{type:"application/json"}),c=URL.createObjectURL(b),void((d=document.createElement("a")).href=c,d.download="ytdb.json",document.body.append(d),d.click(),d.remove(),URL.revokeObjectURL(c))},children:[(0,d.jsx)(r.A,{"data-icon":"inline-start"}),"Export"]}),(0,d.jsxs)(k.$,{size:"sm",variant:"ghost",onClick:()=>a.current?.click(),children:[(0,d.jsx)(s,{"data-icon":"inline-start"}),"Import"]}),(0,d.jsx)("input",{ref:a,type:"file",accept:"application/json,.json",className:"sr-only",onChange:i}),(0,d.jsx)(t.lG,{open:null!==e,onOpenChange:a=>!a&&f(null),children:(0,d.jsxs)(t.Cf,{children:[(0,d.jsxs)(t.c7,{children:[(0,d.jsx)(t.L3,{children:"Replace current config?"}),(0,d.jsx)(t.rr,{children:"This replaces connections, table layout, and theme. The file includes connection URLs, so treat it like a secret."})]}),(0,d.jsxs)(t.Es,{children:[(0,d.jsx)(k.$,{variant:"outline",onClick:()=>f(null),children:"Cancel"}),(0,d.jsx)(k.$,{onClick:()=>e&&h(e),children:"Replace"})]})]})}),(0,d.jsx)(t.lG,{open:null!==b,onOpenChange:a=>!a&&c(null),children:(0,d.jsxs)(t.Cf,{children:[(0,d.jsxs)(t.c7,{children:[(0,d.jsx)(t.L3,{children:"Couldn’t import"}),(0,d.jsx)(t.rr,{children:b})]}),(0,d.jsx)(t.Es,{children:(0,d.jsx)(k.$,{variant:"outline",onClick:()=>c(null),children:"Close"})})]})})]})}function z({connection:a,onEdit:b,onRemove:c}){let e=(0,n.gz)(a.id);return(0,d.jsxs)("li",{className:"group flex items-center gap-2 pr-1.5",children:[(0,d.jsxs)(f(),{href:`/${a.id}`,className:"flex flex-1 items-center gap-2.5 px-3 py-2.5 outline-none focus-visible:bg-muted/40",children:[(0,d.jsx)(q.F,{connection:a,className:"size-2.5"}),(0,d.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[(0,d.jsx)("span",{className:"font-medium",children:a.name}),(0,d.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 font-mono text-xs text-muted-foreground",children:[(0,d.jsx)("span",{className:"truncate",children:function(a){try{return new URL(a).host}catch{return a}}(a.url)}),e.length>0&&(0,d.jsxs)("span",{className:"inline-flex min-w-0 items-center gap-1 font-sans",children:[(0,d.jsx)(h.A,{className:"size-3 shrink-0"}),(0,d.jsx)("span",{className:"truncate",children:e.map(a=>a.name).join(", ")})]})]})]})]}),(0,d.jsxs)(l.rI,{children:[(0,d.jsx)(l.ty,{render:(0,d.jsx)(k.$,{variant:"ghost",size:"icon-sm","aria-label":"More"}),className:"opacity-0 group-hover:opacity-100 data-open:opacity-100",children:(0,d.jsx)(i.A,{})}),(0,d.jsxs)(l.SQ,{align:"end",children:[(0,d.jsx)(l._2,{onClick:()=>b(a),children:"Edit"}),(0,d.jsx)(l._2,{variant:"destructive",onClick:()=>c(a.id),children:"Delete"})]})]})]})}function A(){let{connections:a,add:b,update:c,remove:e}=(0,m.Z)(),[f,h]=(0,g.useState)(null),[i,l]=(0,g.useState)(!1),q=(0,n.gz)(f?.id??"");function r(){h(null),l(!0)}function s(a){h(a),l(!0)}return(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsx)("h1",{className:"text-sm font-medium",children:"Connections"}),(0,d.jsxs)("div",{className:"flex items-center",children:[(0,d.jsx)(y,{}),(0,d.jsxs)(k.$,{size:"sm",variant:"ghost",onClick:r,children:[(0,d.jsx)(j.A,{"data-icon":"inline-start"}),"New"]})]})]}),0===a.length?(0,d.jsx)("button",{onClick:r,className:"rounded-lg border border-dashed py-10 text-center text-muted-foreground hover:bg-muted/40",children:"Add a connection"}):(0,d.jsx)("ul",{className:"divide-y rounded-lg border",children:a.map(a=>(0,d.jsx)(z,{connection:a,onEdit:s,onRemove:e},a.id))}),(0,d.jsx)(p.f,{open:i,onOpenChange:l,connectionId:f?.id,initial:f?{name:f.name,url:f.url,color:(0,o.Mq)(f),shareWith:q.map(a=>a.id)}:void 0,onSubmit:function(a){let{shareWith:d,...e}=a;if(f){c(f.id,e),(0,n.mQ)(f.id,d);return}let g=b(e);(0,n.mQ)(g.id,d)}})]})}var B=c(98609);function C(){let a=(0,B.p)();return(0,d.jsx)("main",{className:"mx-auto w-full max-w-lg px-6 py-24",children:a&&(0,d.jsx)(A,{})})}},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},38522:a=>{"use strict";a.exports=require("node:zlib")},40245:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(41926).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},50387:(a,b,c)=>{Promise.resolve().then(c.bind(c,22053))},60136:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(41926).A)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69473:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(41926).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])}};var b=require("../webpack-runtime.js");b.C(a);var c=b.X(0,[741,430,458,470,391,593],()=>b(b.s=15990));module.exports=c})();
1
+ (()=>{var a={};a.id=974,a.ids=[974],a.modules={3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4494:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/theobourgeois/code/db-studio/src/app/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/theobourgeois/code/db-studio/src/app/page.tsx","default")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},13595:(a,b,c)=>{Promise.resolve().then(c.bind(c,4494))},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},22053:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>C});var d=c(48249),e=c(2116),f=c.n(e),g=c(67484),h=c(89216),i=c(60136),j=c(69473),k=c(25297),l=c(82244),m=c(91732),n=c(99598),o=c(78260),p=c(89267),q=c(30770),r=c(40245);let s=(0,c(41926).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);var t=c(38393),u=c(4106),v=c(61561),w=c(16280);function x(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function y(){let a=(0,g.useRef)(null),[b,c]=(0,g.useState)(null),[e,f]=(0,g.useState)(null);function h(a){(0,u.L)("config.import",{connections:a.connections.length,exportedAt:a.exportedAt}),m.Z.setState({connections:a.connections}),n.lz.setState({browse:a.explorer.browse,tables:a.explorer.tables}),w.C.getState().setTheme(a.theme),f(null),c(null)}async function i(a){let b=a.target.files?.[0];if(a.target.value="",b)try{let a=function(a){let b;try{b=JSON.parse(a)}catch{throw Error("That file isn’t valid JSON.")}if(!x(b))throw Error("That file isn’t a YTDB config.");if(1!==b.version)throw Error("That config file isn’t supported.");if(!Array.isArray(b.connections))throw Error("That config file has no connections list.");let c=b.connections.map((a,b)=>(function(a,b){if(!x(a))throw Error(`Connection ${b+1} is invalid.`);if("string"!=typeof a.id||0===a.id.length)throw Error(`Connection ${b+1} is missing an id.`);if("string"!=typeof a.name||0===a.name.length)throw Error(`Connection ${b+1} is missing a name.`);if("string"!=typeof a.url||0===a.url.length)throw Error(`Connection ${b+1} is missing a URL.`);let c={id:a.id,name:a.name,url:a.url};return"string"==typeof a.color&&(c.color=a.color),"string"==typeof a.layoutGroup&&(c.layoutGroup=a.layoutGroup),c})(a,b)),d=x(b.explorer)?b.explorer:{},e=x(d.browse)?d.browse:{},f=x(d.tables)?d.tables:{},g=(0,v.Ff)(b.theme)?b.theme:w.C.getState().theme;return{version:1,exportedAt:"string"==typeof b.exportedAt?b.exportedAt:new Date().toISOString(),connections:c,explorer:{browse:e,tables:f},theme:g}}(await b.text());if(function(){let{connections:a}=m.Z.getState(),{browse:b,tables:c}=n.lz.getState();return a.length>0||Object.keys(b).length>0||Object.keys(c).length>0}()){c(null),f(a);return}h(a)}catch(a){f(null),c(a instanceof Error?a.message:"Couldn’t import that file.")}}return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(k.$,{size:"sm",variant:"ghost",onClick:()=>{let a,b,c,d;return a=function(){let{connections:a}=m.Z.getState(),{browse:b,tables:c}=n.lz.getState(),{theme:d}=w.C.getState();return{version:1,exportedAt:new Date().toISOString(),connections:a,explorer:{browse:b,tables:c},theme:d}}(),(0,u.L)("config.export",{connections:a.connections.length}),b=new Blob([`${JSON.stringify(a,null,2)}
2
+ `],{type:"application/json"}),c=URL.createObjectURL(b),void((d=document.createElement("a")).href=c,d.download="ytdb.json",document.body.append(d),d.click(),d.remove(),URL.revokeObjectURL(c))},children:[(0,d.jsx)(r.A,{"data-icon":"inline-start"}),"Export"]}),(0,d.jsxs)(k.$,{size:"sm",variant:"ghost",onClick:()=>a.current?.click(),children:[(0,d.jsx)(s,{"data-icon":"inline-start"}),"Import"]}),(0,d.jsx)("input",{ref:a,type:"file",accept:"application/json,.json",className:"sr-only",onChange:i}),(0,d.jsx)(t.lG,{open:null!==e,onOpenChange:a=>!a&&f(null),children:(0,d.jsxs)(t.Cf,{children:[(0,d.jsxs)(t.c7,{children:[(0,d.jsx)(t.L3,{children:"Replace current config?"}),(0,d.jsx)(t.rr,{children:"This replaces connections, table layout, and theme. The file includes connection URLs, so treat it like a secret."})]}),(0,d.jsxs)(t.Es,{children:[(0,d.jsx)(k.$,{variant:"outline",onClick:()=>f(null),children:"Cancel"}),(0,d.jsx)(k.$,{onClick:()=>e&&h(e),children:"Replace"})]})]})}),(0,d.jsx)(t.lG,{open:null!==b,onOpenChange:a=>!a&&c(null),children:(0,d.jsxs)(t.Cf,{children:[(0,d.jsxs)(t.c7,{children:[(0,d.jsx)(t.L3,{children:"Couldn’t import"}),(0,d.jsx)(t.rr,{children:b})]}),(0,d.jsx)(t.Es,{children:(0,d.jsx)(k.$,{variant:"outline",onClick:()=>c(null),children:"Close"})})]})})]})}function z({connection:a,onEdit:b,onRemove:c}){let e=(0,n.gz)(a.id);return(0,d.jsxs)("li",{className:"group flex items-center gap-2 pr-1.5",children:[(0,d.jsxs)(f(),{href:`/${a.id}`,className:"flex flex-1 items-center gap-2.5 px-3 py-2.5 outline-none focus-visible:bg-muted/40",children:[(0,d.jsx)(q.F,{connection:a,className:"size-2.5"}),(0,d.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[(0,d.jsx)("span",{className:"font-medium",children:a.name}),(0,d.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 font-mono text-xs text-muted-foreground",children:[(0,d.jsx)("span",{className:"truncate",children:function(a){try{return new URL(a).host}catch{return a}}(a.url)}),e.length>0&&(0,d.jsxs)("span",{className:"inline-flex min-w-0 items-center gap-1 font-sans",children:[(0,d.jsx)(h.A,{className:"size-3 shrink-0"}),(0,d.jsx)("span",{className:"truncate",children:e.map(a=>a.name).join(", ")})]})]})]})]}),(0,d.jsxs)(l.rI,{children:[(0,d.jsx)(l.ty,{render:(0,d.jsx)(k.$,{variant:"ghost",size:"icon-sm","aria-label":"More"}),className:"opacity-0 group-hover:opacity-100 data-open:opacity-100",children:(0,d.jsx)(i.A,{})}),(0,d.jsxs)(l.SQ,{align:"end",children:[(0,d.jsx)(l._2,{onClick:()=>b(a),children:"Edit"}),(0,d.jsx)(l._2,{variant:"destructive",onClick:()=>c(a.id),children:"Delete"})]})]})]})}function A(){let{connections:a,add:b,update:c,remove:e}=(0,m.Z)(),[f,h]=(0,g.useState)(null),[i,l]=(0,g.useState)(!1),q=(0,n.gz)(f?.id??"");function r(){h(null),l(!0)}function s(a){h(a),l(!0)}return(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,d.jsx)("h1",{className:"text-sm font-medium",children:"Connections"}),(0,d.jsxs)("div",{className:"flex items-center",children:[(0,d.jsx)(y,{}),(0,d.jsxs)(k.$,{size:"sm",variant:"ghost",onClick:r,children:[(0,d.jsx)(j.A,{"data-icon":"inline-start"}),"New"]})]})]}),0===a.length?(0,d.jsx)("button",{onClick:r,className:"rounded-lg border border-dashed py-10 text-center text-muted-foreground hover:bg-muted/40",children:"Add a connection"}):(0,d.jsx)("ul",{className:"divide-y rounded-lg border",children:a.map(a=>(0,d.jsx)(z,{connection:a,onEdit:s,onRemove:e},a.id))}),(0,d.jsx)(p.f,{open:i,onOpenChange:l,connectionId:f?.id,initial:f?{name:f.name,url:f.url,color:(0,o.Mq)(f),shareWith:q.map(a=>a.id)}:void 0,onSubmit:function(a){let{shareWith:d,...e}=a;if(f){c(f.id,e),(0,n.mQ)(f.id,d);return}let g=b(e);(0,n.mQ)(g.id,d)}})]})}var B=c(98609);function C(){let a=(0,B.p)();return(0,d.jsx)("main",{className:"mx-auto w-full max-w-lg px-6 py-24",children:a&&(0,d.jsx)(A,{})})}},28354:a=>{"use strict";a.exports=require("util")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},38522:a=>{"use strict";a.exports=require("node:zlib")},40245:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(41926).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},50387:(a,b,c)=>{Promise.resolve().then(c.bind(c,22053))},60136:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(41926).A)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69473:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(41926).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},69782:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>p,handler:()=>r,routeModule:()=>q});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,35780))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n={children:["",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,4494))),"/Users/theobourgeois/code/db-studio/src/app/page.tsx"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a),async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,59645)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[i,"/Users/theobourgeois/code/db-studio/src/app/layout.tsx"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a),async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,59645)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:void 0}},[]]}.children,o=(0,e.H)({tree:n,page:"/page",pathname:"/",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),p=o.__next_app__,q=o.routeModule,r=o.handler}};var b=require("../webpack-runtime.js");b.C(a);var c=b.X(0,[741,430,458,470,391,593],()=>b(b.s=69782));module.exports=c})();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"11073":{"*":{"id":"96779","name":"*","chunks":[],"async":false}},"20400":{"*":{"id":"22053","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"48552":{"*":{"id":"61286","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61030":{"*":{"id":"9769","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"4833","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87758":{"*":{"id":"19047","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"80189","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"sans\"}":{"id":34244,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"mono\"}":{"id":64939,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":87758,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":20400,"name":"*","chunks":["572","static/chunks/572-e6967e3b9e100c25.js","221","static/chunks/221-60f4f4831760a303.js","267","static/chunks/267-21d11b0b07b6fd76.js","893","static/chunks/893-0e33027ec1d44618.js","974","static/chunks/app/page-be25a80ac90e6e21.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":61030,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":11073,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":48552,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/theobourgeois/code/db-studio/src/":[],"/Users/theobourgeois/code/db-studio/src/app/layout":[{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"},{"inlined":false,"path":"static/css/8b5d2aa22bcd334e.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[]},"rscModuleMapping":{"11073":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"20400":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"48552":{"*":{"id":"2781","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61030":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"65223","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87758":{"*":{"id":"17569","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"88331","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"20400":{"*":{"id":"22053","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"46487":{"*":{"id":"45870","name":"*","chunks":[],"async":false}},"48552":{"*":{"id":"95353","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61030":{"*":{"id":"9769","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"4833","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87758":{"*":{"id":"19047","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"80189","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist\",\"arguments\":[{\"variable\":\"--font-sans\",\"subsets\":[\"latin\"]}],\"variableName\":\"sans\"}":{"id":34244,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Geist_Mono\",\"arguments\":[{\"variable\":\"--font-geist-mono\",\"subsets\":[\"latin\"]}],\"variableName\":\"mono\"}":{"id":64939,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":87758,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["39","static/chunks/39-3411368bf75bda4b.js","177","static/chunks/app/layout-6c0fa591484fc6df.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":20400,"name":"*","chunks":["572","static/chunks/572-e6967e3b9e100c25.js","221","static/chunks/221-60f4f4831760a303.js","267","static/chunks/267-21d11b0b07b6fd76.js","893","static/chunks/893-0e33027ec1d44618.js","974","static/chunks/app/page-be25a80ac90e6e21.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":61030,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":46487,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":48552,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/theobourgeois/code/db-studio/src/":[],"/Users/theobourgeois/code/db-studio/src/app/layout":[{"inlined":false,"path":"static/css/e02ab5db9ff2dca2.css"},{"inlined":false,"path":"static/css/1915e6393ee4941a.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[]},"rscModuleMapping":{"20400":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"46487":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"48552":{"*":{"id":"2781","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61030":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"72737":{"*":{"id":"65223","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87758":{"*":{"id":"17569","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"88331","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
@@ -5,15 +5,16 @@
5
5
  "/api/health/route": "app/api/health/route.js",
6
6
  "/favicon.ico/route": "app/favicon.ico/route.js",
7
7
  "/icon.svg/route": "app/icon.svg/route.js",
8
+ "/api/cell/route": "app/api/cell/route.js",
8
9
  "/api/definition/route": "app/api/definition/route.js",
9
10
  "/api/delete-rows/route": "app/api/delete-rows/route.js",
10
- "/api/cell/route": "app/api/cell/route.js",
11
11
  "/api/insert-row/route": "app/api/insert-row/route.js",
12
12
  "/api/query/route": "app/api/query/route.js",
13
- "/api/rows/route": "app/api/rows/route.js",
14
- "/api/tables/route": "app/api/tables/route.js",
15
13
  "/api/lookup/route": "app/api/lookup/route.js",
14
+ "/api/rows/route": "app/api/rows/route.js",
16
15
  "/api/related/route": "app/api/related/route.js",
16
+ "/api/tables/route": "app/api/tables/route.js",
17
+ "/api/update-row/route": "app/api/update-row/route.js",
17
18
  "/page": "app/page.js",
18
19
  "/[connectionId]/[schema]/[table]/page": "app/[connectionId]/[schema]/[table]/page.js",
19
20
  "/[connectionId]/page": "app/[connectionId]/page.js",