@theobourgeois/ytdb 0.2.18 → 0.2.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +9 -6
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +26 -0
- package/.next/server/app/[connectionId]/[schema]/[table]/page.js +1 -1
- package/.next/server/app/[connectionId]/[schema]/[table]/page.js.nft.json +1 -1
- package/.next/server/app/[connectionId]/[schema]/[table]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[connectionId]/diff/page.js +2 -2
- package/.next/server/app/[connectionId]/diff/page.js.nft.json +1 -1
- package/.next/server/app/[connectionId]/diff/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[connectionId]/migrations/(index)/page.js +1 -0
- package/.next/server/app/[connectionId]/migrations/(index)/page.js.nft.json +1 -0
- package/.next/server/app/[connectionId]/migrations/(index)/page_client-reference-manifest.js +1 -0
- package/.next/server/app/[connectionId]/migrations/(index)/timeline/page.js +1 -0
- package/.next/server/app/[connectionId]/migrations/(index)/timeline/page.js.nft.json +1 -0
- package/.next/server/app/[connectionId]/migrations/(index)/timeline/page_client-reference-manifest.js +1 -0
- package/.next/server/app/[connectionId]/migrations/[setId]/page.js +1 -1
- package/.next/server/app/[connectionId]/migrations/[setId]/page.js.nft.json +1 -1
- package/.next/server/app/[connectionId]/migrations/[setId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[connectionId]/migrations/[setId]/schema/page.js +1 -0
- package/.next/server/app/[connectionId]/migrations/[setId]/schema/page.js.nft.json +1 -0
- package/.next/server/app/[connectionId]/migrations/[setId]/schema/page_client-reference-manifest.js +1 -0
- package/.next/server/app/[connectionId]/migrations/[setId]/timeline/page.js +1 -0
- package/.next/server/app/[connectionId]/migrations/[setId]/timeline/page.js.nft.json +1 -0
- package/.next/server/app/[connectionId]/migrations/[setId]/timeline/page_client-reference-manifest.js +1 -0
- package/.next/server/app/[connectionId]/page.js +1 -1
- package/.next/server/app/[connectionId]/page.js.nft.json +1 -1
- package/.next/server/app/[connectionId]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[connectionId]/query/page.js +1 -1
- package/.next/server/app/[connectionId]/query/page.js.nft.json +1 -1
- package/.next/server/app/[connectionId]/query/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error/page.js +2 -2
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/activity/route.js +2 -2
- package/.next/server/app/api/adopt/route.js +1 -1
- package/.next/server/app/api/cell/route.js +3 -3
- package/.next/server/app/api/definition/route.js +2 -2
- package/.next/server/app/api/delete-rows/route.js +2 -2
- package/.next/server/app/api/detect/route.js +1 -1
- package/.next/server/app/api/health/route.js +1 -1
- package/.next/server/app/api/insert-row/route.js +3 -3
- package/.next/server/app/api/ledger/route.js +1 -1
- package/.next/server/app/api/lookup/route.js +2 -2
- package/.next/server/app/api/migrate/route.js +1 -1
- package/.next/server/app/api/note/route.js +1 -1
- package/.next/server/app/api/query/route.js +3 -3
- package/.next/server/app/api/reconcile/route.js +2 -2
- package/.next/server/app/api/rehearse/route.js +1 -1
- package/.next/server/app/api/related/route.js +2 -2
- package/.next/server/app/api/repo/route.js +1 -1
- package/.next/server/app/api/rows/route.js +1 -1
- package/.next/server/app/api/schema/route.js +1 -1
- package/.next/server/app/api/tables/route.js +2 -2
- package/.next/server/app/api/timeline/route.js +1 -1
- package/.next/server/app/api/update-row/route.js +1 -1
- package/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/server/app/icon.svg/route.js +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +3 -3
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
- package/.next/server/app/index.segments/_full.segment.rsc +3 -3
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +9 -6
- package/.next/server/chunks/4809.js +1 -0
- package/.next/server/chunks/535.js +1 -0
- package/.next/server/chunks/5529.js +1 -0
- package/.next/server/chunks/5816.js +1 -1
- package/.next/server/chunks/6729.js +1 -1
- package/.next/server/chunks/8842.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/static/{bmRCG7iMkzXVlg-XFxDlO → XOKG1sVlYC-O8M7Qf5aWE}/_buildManifest.js +1 -1
- package/.next/static/chunks/1413-1888e486022200cf.js +1 -0
- package/.next/static/chunks/228-e9e3a928efbebb89.js +1 -0
- package/.next/static/chunks/544-9e1c454c8313699f.js +1 -0
- package/.next/static/chunks/577-d6d889d30c9375d9.js +1 -0
- package/.next/static/chunks/6090-6764126dba5d4d96.js +1 -0
- package/.next/static/chunks/app/[connectionId]/[schema]/[table]/page-37b33d781877f0a5.js +1 -0
- package/.next/static/chunks/app/[connectionId]/diff/page-215e1f750956eecb.js +10 -0
- package/.next/static/chunks/app/[connectionId]/{layout-06d736d4773bd4a8.js → layout-b8ad40b3da6824ed.js} +1 -1
- package/.next/static/chunks/app/[connectionId]/migrations/(index)/layout-2635a5499e0b928c.js +1 -0
- package/.next/static/chunks/app/[connectionId]/migrations/(index)/page-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/[connectionId]/migrations/(index)/timeline/page-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/[connectionId]/migrations/[setId]/layout-cdb8e5d125828828.js +1 -0
- package/.next/static/chunks/app/[connectionId]/migrations/[setId]/page-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/[connectionId]/migrations/[setId]/schema/page-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/[connectionId]/migrations/[setId]/timeline/page-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/[connectionId]/page-188bdfaba4f04923.js +1 -0
- package/.next/static/chunks/app/[connectionId]/query/page-ef40d6213057d671.js +1 -0
- package/.next/static/chunks/app/_global-error/page-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/activity/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/adopt/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/cell/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/definition/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/delete-rows/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/detect/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/health/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/insert-row/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/ledger/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/lookup/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/migrate/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/note/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/query/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/reconcile/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/rehearse/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/related/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/repo/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/rows/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/schema/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/tables/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/timeline/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/api/update-row/route-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/app/page-52545dcc822c61da.js +2 -0
- package/.next/static/chunks/f97e080b-58fc9570cf11a0c7.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-34cb852b3259a90b.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-34cb852b3259a90b.js +1 -0
- package/.next/static/css/ab9c0ea2c2569929.css +1 -0
- package/package.json +1 -1
- package/.next/server/app/[connectionId]/migrations/page.js +0 -1
- package/.next/server/app/[connectionId]/migrations/page.js.nft.json +0 -1
- package/.next/server/app/[connectionId]/migrations/page_client-reference-manifest.js +0 -1
- package/.next/server/chunks/7593.js +0 -1
- package/.next/static/chunks/1520-1d9fc8b9ea29f3aa.js +0 -1
- package/.next/static/chunks/1981-806ce42b1641772f.js +0 -1
- package/.next/static/chunks/6782-c8b44f7f0d19d8e4.js +0 -1
- package/.next/static/chunks/7709-b2eee040599bab79.js +0 -1
- package/.next/static/chunks/9243-9f0f2534090c6124.js +0 -1
- package/.next/static/chunks/9532-d620e60587f422d7.js +0 -1
- package/.next/static/chunks/app/[connectionId]/[schema]/[table]/page-7bed5765c93ce736.js +0 -1
- package/.next/static/chunks/app/[connectionId]/diff/page-e3e50546820ed5d5.js +0 -10
- package/.next/static/chunks/app/[connectionId]/migrations/[setId]/page-e5120de390d302f1.js +0 -1
- package/.next/static/chunks/app/[connectionId]/migrations/page-b7e1a0568b6704d5.js +0 -1
- package/.next/static/chunks/app/[connectionId]/page-8f68a2646e2f3eaa.js +0 -1
- package/.next/static/chunks/app/[connectionId]/query/page-55618bbb32f70fee.js +0 -1
- package/.next/static/chunks/app/_global-error/page-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/activity/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/adopt/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/cell/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/definition/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/delete-rows/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/detect/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/health/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/insert-row/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/ledger/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/lookup/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/migrate/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/note/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/query/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/reconcile/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/rehearse/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/related/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/repo/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/rows/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/schema/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/tables/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/timeline/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/api/update-row/route-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/app/page-957b7639b047ba08.js +0 -2
- package/.next/static/chunks/f97e080b-0509045eeda7ac08.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-ad3ae203c81de67b.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-ad3ae203c81de67b.js +0 -1
- package/.next/static/css/54a62baacc492c6d.css +0 -1
- /package/.next/static/{bmRCG7iMkzXVlg-XFxDlO → XOKG1sVlYC-O8M7Qf5aWE}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(()=>{var a={};a.id=3822,a.ids=[3822],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")},
|
|
1
|
+
"use strict";(()=>{var a={};a.id=3822,a.ids=[3822],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")},21967:(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)}}},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")}};var b=require("../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813],()=>b(b.s=21967));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/
|
|
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/ab9c0ea2c2569929.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-34eb118f56295776.js"/><script src="/_next/static/chunks/4bd1b696-8a4ab4fdf0ae305a.js" async=""></script><script src="/_next/static/chunks/3794-d7cddff008311ab3.js" async=""></script><script src="/_next/static/chunks/main-app-f73ec34e89cb8fdd.js" async=""></script><script src="/_next/static/chunks/223-a4fca67d979d899d.js" async=""></script><script src="/_next/static/chunks/app/layout-e3fdecae5544dc60.js" async=""></script><script src="/_next/static/chunks/f97e080b-58fc9570cf11a0c7.js" async=""></script><script src="/_next/static/chunks/1731-6dec4b981289174f.js" async=""></script><script src="/_next/static/chunks/8026-d0db1e7b45d32046.js" async=""></script><script src="/_next/static/chunks/2435-240bc4349cace375.js" async=""></script><script src="/_next/static/chunks/8361-d0f8ce41b74637bf.js" async=""></script><script src="/_next/static/chunks/544-9e1c454c8313699f.js" async=""></script><script src="/_next/static/chunks/577-d6d889d30c9375d9.js" async=""></script><script src="/_next/static/chunks/app/page-52545dcc822c61da.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-34eb118f56295776.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,[\"223\",\"static/chunks/223-a4fca67d979d899d.js\",\"7177\",\"static/chunks/app/layout-e3fdecae5544dc60.js\"],\"ThemeProvider\"]\n3:I[94821,[\"223\",\"static/chunks/223-a4fca67d979d899d.js\",\"7177\",\"static/chunks/app/layout-e3fdecae5544dc60.js\"],\"ConvexClientProvider\"]\n4:I[48491,[\"223\",\"static/chunks/223-a4fca67d979d899d.js\",\"7177\",\"static/chunks/app/layout-e3fdecae5544dc60.js\"],\"NavigationTracker\"]\n5:I[65377,[\"223\",\"static/chunks/223-a4fca67d979d899d.js\",\"7177\",\"static/chunks/app/layout-e3fdecae5544dc60.js\"],\"LocalBridgeGate\"]\n6:I[57121,[],\"\"]\n7:I[74581,[],\"\"]\n8:I[61304,[],\"ClientPageRoot\"]\n9:I[23042,[\"4506\",\"static/chunks/f97e080b-58fc9570cf11a0c7.js\",\"1731\",\"static/chunks/1731-6dec4b981289174f.js\",\"8026\",\"static/chunks/8026-d0db1e7b45d32046.js\",\"2435\",\"static/chunks/2435-240bc4349cace375.js\",\"8361\",\"static/chunks/8361-d0f8ce41b74637bf.js\",\"544\",\"static/chunks/544-9e1c454c8313699f.js\",\"577\",\"static/chunks/577-d6d889d30c9375d9.js\",\"8974\",\"static/chunks/app/page-52545dcc822c61da.js\"],\"default\"]\nc:I[90484,[],\"OutletBoundary\"]\nd:\"$Sreact.suspense\"\nf:I[90484,[],\"ViewportBoundary\"]\n11:I[90484,[],\"MetadataBoundary\"]\n13: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/ab9c0ea2c2569929.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/ab9c0ea2c2569929.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,{}],[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",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\":[[\"$\",\"$L8\",null,{\"Component\":\"$9\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@a\",\"$@b\"]}}],null,[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$d\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@e\"}]}]]}],{},null,false,null]},null,false,null],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lf\",null,{\"children\":\"$L10\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L11\",null,{\"children\":[\"$\",\"$d\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L12\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$13\",[]],\"S\":true,\"h\":null,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"XOKG1sVlYC-O8M7Qf5aWE\"}\n"])</script><script>self.__next_f.push([1,"a:{}\nb:\"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"10:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"14:I[86869,[],\"IconMark\"]\ne:null\n12:[[\"$\",\"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\"}],[\"$\",\"$L14\",\"4\",{}]]\n"])</script></body></html>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
6:I[57121,[],""]
|
|
7
7
|
7:I[74581,[],""]
|
|
8
8
|
8:I[61304,[],"ClientPageRoot"]
|
|
9
|
-
9:I[23042,["4506","static/chunks/f97e080b-
|
|
9
|
+
9:I[23042,["4506","static/chunks/f97e080b-58fc9570cf11a0c7.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","2435","static/chunks/2435-240bc4349cace375.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","544","static/chunks/544-9e1c454c8313699f.js","577","static/chunks/577-d6d889d30c9375d9.js","8974","static/chunks/app/page-52545dcc822c61da.js"],"default"]
|
|
10
10
|
c:I[90484,[],"OutletBoundary"]
|
|
11
11
|
d:"$Sreact.suspense"
|
|
12
12
|
f:I[90484,[],"ViewportBoundary"]
|
|
@@ -15,8 +15,8 @@ f:I[90484,[],"ViewportBoundary"]
|
|
|
15
15
|
:HL["/_next/static/media/22a5144ee8d83bca-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
16
16
|
:HL["/_next/static/media/7d4881bb7e1bf84d-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
17
17
|
:HL["/_next/static/css/e02ab5db9ff2dca2.css","style"]
|
|
18
|
-
:HL["/_next/static/css/
|
|
19
|
-
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/
|
|
18
|
+
:HL["/_next/static/css/ab9c0ea2c2569929.css","style"]
|
|
19
|
+
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/ab9c0ea2c2569929.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,{}],["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",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":[["$","$L8",null,{"Component":"$9","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@a","$@b"]}}],null,["$","$Lc",null,{"children":["$","$d",null,{"name":"Next.MetadataOutlet","children":"$@e"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lf",null,{"children":"$L10"}],["$","div",null,{"hidden":true,"children":["$","$L11",null,{"children":["$","$d",null,{"name":"Next.Metadata","children":"$L12"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$13",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"XOKG1sVlYC-O8M7Qf5aWE"}
|
|
20
20
|
a:{}
|
|
21
21
|
b:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
22
22
|
10:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
1:"$Sreact.fragment"
|
|
2
2
|
2:I[61304,[],"ClientPageRoot"]
|
|
3
|
-
3:I[23042,["4506","static/chunks/f97e080b-
|
|
3
|
+
3:I[23042,["4506","static/chunks/f97e080b-58fc9570cf11a0c7.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","2435","static/chunks/2435-240bc4349cace375.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","544","static/chunks/544-9e1c454c8313699f.js","577","static/chunks/577-d6d889d30c9375d9.js","8974","static/chunks/app/page-52545dcc822c61da.js"],"default"]
|
|
4
4
|
6:I[90484,[],"OutletBoundary"]
|
|
5
5
|
7:"$Sreact.suspense"
|
|
6
6
|
b:I[90484,[],"ViewportBoundary"]
|
|
@@ -13,9 +13,9 @@ f:I[72737,["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/a
|
|
|
13
13
|
13:I[57121,[],""]
|
|
14
14
|
14:I[74581,[],""]
|
|
15
15
|
:HL["/_next/static/css/e02ab5db9ff2dca2.css","style"]
|
|
16
|
-
:HL["/_next/static/css/
|
|
16
|
+
:HL["/_next/static/css/ab9c0ea2c2569929.css","style"]
|
|
17
17
|
a:X
|
|
18
|
-
0:{"buildId":"
|
|
18
|
+
0:{"buildId":"XOKG1sVlYC-O8M7Qf5aWE","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/ab9c0ea2c2569929.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,{}],["$","$L12",null,{"children":["$","$L13",null,{"parallelRouterKey":"children","template":["$","$L14",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":"$@15","staleTime":"$a","varyParams":null}],"isUpgradeableISRFallback":false,"a":"$@16","rootVaryParams":null,"needsRuntimeRequest":"$@17"}
|
|
19
19
|
4:{}
|
|
20
20
|
5:"$0:data:0:rsc:props:children:0:props:serverProvidedParams:params"
|
|
21
21
|
8:null
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
6:I[57121,[],""]
|
|
7
7
|
7:I[74581,[],""]
|
|
8
8
|
8:I[61304,[],"ClientPageRoot"]
|
|
9
|
-
9:I[23042,["4506","static/chunks/f97e080b-
|
|
9
|
+
9:I[23042,["4506","static/chunks/f97e080b-58fc9570cf11a0c7.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","2435","static/chunks/2435-240bc4349cace375.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","544","static/chunks/544-9e1c454c8313699f.js","577","static/chunks/577-d6d889d30c9375d9.js","8974","static/chunks/app/page-52545dcc822c61da.js"],"default"]
|
|
10
10
|
c:I[90484,[],"OutletBoundary"]
|
|
11
11
|
d:"$Sreact.suspense"
|
|
12
12
|
f:I[90484,[],"ViewportBoundary"]
|
|
@@ -15,8 +15,8 @@ f:I[90484,[],"ViewportBoundary"]
|
|
|
15
15
|
:HL["/_next/static/media/22a5144ee8d83bca-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
16
16
|
:HL["/_next/static/media/7d4881bb7e1bf84d-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
|
|
17
17
|
:HL["/_next/static/css/e02ab5db9ff2dca2.css","style"]
|
|
18
|
-
:HL["/_next/static/css/
|
|
19
|
-
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/
|
|
18
|
+
:HL["/_next/static/css/ab9c0ea2c2569929.css","style"]
|
|
19
|
+
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/ab9c0ea2c2569929.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,{}],["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",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":[["$","$L8",null,{"Component":"$9","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@a","$@b"]}}],null,["$","$Lc",null,{"children":["$","$d",null,{"name":"Next.MetadataOutlet","children":"$@e"}]}]]}],{},null,false,null]},null,false,null],["$","$1","h",{"children":[null,["$","$Lf",null,{"children":"$L10"}],["$","div",null,{"hidden":true,"children":["$","$L11",null,{"children":["$","$d",null,{"name":"Next.Metadata","children":"$L12"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$13",[]],"S":true,"h":null,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"XOKG1sVlYC-O8M7Qf5aWE"}
|
|
20
20
|
a:{}
|
|
21
21
|
b:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
|
|
22
22
|
10:[["$","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/
|
|
5
|
-
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"
|
|
4
|
+
:HL["/_next/static/css/ab9c0ea2c2569929.css","style"]
|
|
5
|
+
0:{"tree":{"name":"","param":null,"prefetchHints":4176,"slots":{"children":{"name":"__PAGE__","param":null,"prefetchHints":4256,"slots":null}}},"staleTime":300,"buildId":"XOKG1sVlYC-O8M7Qf5aWE"}
|
package/.next/server/app/page.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{var a={};a.id=8974,a.ids=[8974],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")},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")},
|
|
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)(h.Inw,{"data-icon":"inline-start"}),"Export"]}),(0,d.jsxs)(i.$,{size:"sm",variant:"ghost",onClick:()=>a.current?.click(),children:[(0,d.jsx)(h.FeY,{"data-icon":"inline-start"}),"Import"]}),(0,d.jsx)("input",{ref:a,type:"file",accept:"application/json,.json",className:"sr-only",onChange:m}),(0,d.jsx)(p.lG,{open:null!==e,onOpenChange:a=>!a&&f(null),children:(0,d.jsxs)(p.Cf,{children:[(0,d.jsxs)(p.c7,{children:[(0,d.jsx)(p.L3,{children:"Replace current config?"}),(0,d.jsx)(p.rr,{children:"This replaces connections, table layout, and theme. The file includes connection URLs, so treat it like a secret."})]}),(0,d.jsxs)(p.Es,{children:[(0,d.jsx)(i.$,{variant:"outline",onClick:()=>f(null),children:"Cancel"}),(0,d.jsx)(i.$,{onClick:()=>e&&j(e),children:"Replace"})]})]})}),(0,d.jsx)(p.lG,{open:null!==b,onOpenChange:a=>!a&&c(null),children:(0,d.jsxs)(p.Cf,{children:[(0,d.jsxs)(p.c7,{children:[(0,d.jsx)(p.L3,{children:"Couldn’t import"}),(0,d.jsx)(p.rr,{children:b})]}),(0,d.jsx)(p.Es,{children:(0,d.jsx)(i.$,{variant:"outline",onClick:()=>c(null),children:"Close"})})]})})]})}function v({connection:a,comparable:b,onEdit:c,onRemove:e}){let g=(0,l.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)(o.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)}),g.length>0&&(0,d.jsxs)("span",{className:"inline-flex min-w-0 items-center gap-1 font-sans",children:[(0,d.jsx)(h.WnQ,{className:"size-3 shrink-0"}),(0,d.jsx)("span",{className:"truncate",children:g.map(a=>a.name).join(", ")})]})]})]})]}),(0,d.jsxs)(j.rI,{children:[(0,d.jsx)(j.ty,{render:(0,d.jsx)(i.$,{variant:"ghost",size:"icon-sm","aria-label":"More"}),className:"opacity-0 group-hover:opacity-100 data-open:opacity-100",children:(0,d.jsx)(h.YKd,{})}),(0,d.jsxs)(j.SQ,{align:"end",children:[(0,d.jsx)(j._2,{onClick:()=>c(a),children:"Edit"}),b&&(0,d.jsxs)(j._2,{render:(0,d.jsx)(f(),{href:`/${a.id}/diff`}),children:[(0,d.jsx)(h.R4X,{}),"Compare schema"]}),(0,d.jsx)(j._2,{variant:"destructive",onClick:()=>e(a.id),children:"Delete"})]})]})]})}function w(){let{connections:a,add:b,update:c,remove:e}=(0,k.Z)(),[f,j]=(0,g.useState)(null),[o,p]=(0,g.useState)(!1),q=(0,l.gz)(f?.id??"");function r(){j(null),p(!0)}function s(a){j(a),p(!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)(u,{}),(0,d.jsxs)(i.$,{size:"sm",variant:"ghost",onClick:r,children:[(0,d.jsx)(h.enO,{"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(b=>(0,d.jsx)(v,{connection:b,comparable:a.length>1,onEdit:s,onRemove:e},b.id))}),(0,d.jsx)(n.f,{open:o,onOpenChange:p,connectionId:f?.id,initial:f?{name:f.name,url:f.url,color:(0,m.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,l.mQ)(f.id,d);return}let g=b(e);(0,l.mQ)(g.id,d)}})]})}var x=c(98609);function y(){let a=(0,x.p)();return(0,d.jsx)("main",{className:"mx-auto w-full max-w-lg px-6 py-24",children:a&&(0,d.jsx)(w,{})})}}};var b=require("../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,2430,7928,8842,1421,
|
|
1
|
+
(()=>{var a={};a.id=8974,a.ids=[8974],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")},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")},29348:(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},33873:a=>{"use strict";a.exports=require("path")},38522:a=>{"use strict";a.exports=require("node:zlib")},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,86104))},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},86104:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>y});var d=c(48249),e=c(2116),f=c.n(e),g=c(67484),h=c(23171),i=c(25297),j=c(82244),k=c(91732),l=c(86408),m=c(78260),n=c(89267),o=c(30770),p=c(38393),q=c(4106),r=c(61561),s=c(16280);function t(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function u(){let a=(0,g.useRef)(null),[b,c]=(0,g.useState)(null),[e,f]=(0,g.useState)(null);function j(a){(0,q.L)("config.import",{connections:a.connections.length,exportedAt:a.exportedAt}),k.Z.setState({connections:a.connections}),l.lz.setState({browse:a.explorer.browse,tables:a.explorer.tables}),s.C.getState().setTheme(a.theme),f(null),c(null)}async function m(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(!t(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(!t(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=t(b.explorer)?b.explorer:{},e=t(d.browse)?d.browse:{},f=t(d.tables)?d.tables:{},g=(0,r.Ff)(b.theme)?b.theme:s.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}=k.Z.getState(),{browse:b,tables:c}=l.lz.getState();return a.length>0||Object.keys(b).length>0||Object.keys(c).length>0}()){c(null),f(a);return}j(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)(i.$,{size:"sm",variant:"ghost",onClick:()=>{let a,b,c,d;return a=function(){let{connections:a}=k.Z.getState(),{browse:b,tables:c}=l.lz.getState(),{theme:d}=s.C.getState();return{version:1,exportedAt:new Date().toISOString(),connections:a,explorer:{browse:b,tables:c},theme:d}}(),(0,q.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)(h.Inw,{"data-icon":"inline-start"}),"Export"]}),(0,d.jsxs)(i.$,{size:"sm",variant:"ghost",onClick:()=>a.current?.click(),children:[(0,d.jsx)(h.FeY,{"data-icon":"inline-start"}),"Import"]}),(0,d.jsx)("input",{ref:a,type:"file",accept:"application/json,.json",className:"sr-only",onChange:m}),(0,d.jsx)(p.lG,{open:null!==e,onOpenChange:a=>!a&&f(null),children:(0,d.jsxs)(p.Cf,{children:[(0,d.jsxs)(p.c7,{children:[(0,d.jsx)(p.L3,{children:"Replace current config?"}),(0,d.jsx)(p.rr,{children:"This replaces connections, table layout, and theme. The file includes connection URLs, so treat it like a secret."})]}),(0,d.jsxs)(p.Es,{children:[(0,d.jsx)(i.$,{variant:"outline",onClick:()=>f(null),children:"Cancel"}),(0,d.jsx)(i.$,{onClick:()=>e&&j(e),children:"Replace"})]})]})}),(0,d.jsx)(p.lG,{open:null!==b,onOpenChange:a=>!a&&c(null),children:(0,d.jsxs)(p.Cf,{children:[(0,d.jsxs)(p.c7,{children:[(0,d.jsx)(p.L3,{children:"Couldn’t import"}),(0,d.jsx)(p.rr,{children:b})]}),(0,d.jsx)(p.Es,{children:(0,d.jsx)(i.$,{variant:"outline",onClick:()=>c(null),children:"Close"})})]})})]})}function v({connection:a,comparable:b,onEdit:c,onRemove:e}){let g=(0,l.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)(o.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)}),g.length>0&&(0,d.jsxs)("span",{className:"inline-flex min-w-0 items-center gap-1 font-sans",children:[(0,d.jsx)(h.WnQ,{className:"size-3 shrink-0"}),(0,d.jsx)("span",{className:"truncate",children:g.map(a=>a.name).join(", ")})]})]})]})]}),(0,d.jsxs)(j.rI,{children:[(0,d.jsx)(j.ty,{render:(0,d.jsx)(i.$,{variant:"ghost",size:"icon-sm","aria-label":"More"}),className:"opacity-0 group-hover:opacity-100 data-open:opacity-100",children:(0,d.jsx)(h.YKd,{})}),(0,d.jsxs)(j.SQ,{align:"end",children:[(0,d.jsx)(j._2,{onClick:()=>c(a),children:"Edit"}),b&&(0,d.jsxs)(j._2,{render:(0,d.jsx)(f(),{href:`/${a.id}/diff`}),children:[(0,d.jsx)(h.R4X,{}),"Compare schema"]}),(0,d.jsx)(j._2,{variant:"destructive",onClick:()=>e(a.id),children:"Delete"})]})]})]})}function w(){let{connections:a,add:b,update:c,remove:e}=(0,k.Z)(),[f,j]=(0,g.useState)(null),[o,p]=(0,g.useState)(!1),q=(0,l.gz)(f?.id??"");function r(){j(null),p(!0)}function s(a){j(a),p(!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)(u,{}),(0,d.jsxs)(i.$,{size:"sm",variant:"ghost",onClick:r,children:[(0,d.jsx)(h.enO,{"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(b=>(0,d.jsx)(v,{connection:b,comparable:a.length>1,onEdit:s,onRemove:e},b.id))}),(0,d.jsx)(n.f,{open:o,onOpenChange:p,connectionId:f?.id,initial:f?{name:f.name,url:f.url,color:(0,m.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,l.mQ)(f.id,d);return}let g=b(e);(0,l.mQ)(g.id,d)}})]})}var x=c(98609);function y(){let a=(0,x.p)();return(0,d.jsx)("main",{className:"mx-auto w-full max-w-lg px-6 py-24",children:a&&(0,d.jsx)(w,{})})}}};var b=require("../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,2430,7928,8842,1421,5529],()=>b(b.s=29348));module.exports=c})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../node_modules/@swc/helpers/package.json","../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../node_modules/next/dist/client/lib/console.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../node_modules/next/dist/compiled/source-map/package.json","../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../node_modules/next/dist/compiled/ws/index.js","../../../node_modules/next/dist/compiled/ws/package.json","../../../node_modules/next/dist/lib/client-and-server-references.js","../../../node_modules/next/dist/lib/constants.js","../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../node_modules/next/dist/lib/interop-default.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/lib/picocolors.js","../../../node_modules/next/dist/lib/scheduler.js","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../node_modules/next/dist/server/lib/lru-cache.js","../../../node_modules/next/dist/server/lib/parse-stack.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../node_modules/next/dist/server/lib/source-maps.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/server/load-manifest.external.js","../../../node_modules/next/dist/server/node-environment-baseline.js","../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../node_modules/next/dist/server/node-environment.js","../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../node_modules/next/dist/server/patch-error-inspect.js","../../../node_modules/next/dist/server/require-hook.js","../../../node_modules/next/dist/server/response-cache/types.js","../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../node_modules/next/package.json","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.js","../../../node_modules/react/index.js","../../../node_modules/react/package.json","../../package.json","../chunks/1421.js","../chunks/2430.js","../chunks/4741.js","../chunks/
|
|
1
|
+
{"version":1,"files":["../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../node_modules/@swc/helpers/package.json","../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../node_modules/next/dist/client/lib/console.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../node_modules/next/dist/compiled/source-map/package.json","../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../node_modules/next/dist/compiled/ws/index.js","../../../node_modules/next/dist/compiled/ws/package.json","../../../node_modules/next/dist/lib/client-and-server-references.js","../../../node_modules/next/dist/lib/constants.js","../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../node_modules/next/dist/lib/interop-default.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/lib/picocolors.js","../../../node_modules/next/dist/lib/scheduler.js","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../node_modules/next/dist/server/app-render/blocking-route-messages.js","../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../node_modules/next/dist/server/app-render/sync-io-messages.js","../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../node_modules/next/dist/server/lib/lru-cache.js","../../../node_modules/next/dist/server/lib/parse-stack.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../node_modules/next/dist/server/lib/source-maps.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/server/load-manifest.external.js","../../../node_modules/next/dist/server/node-environment-baseline.js","../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../node_modules/next/dist/server/node-environment.js","../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../node_modules/next/dist/server/patch-error-inspect.js","../../../node_modules/next/dist/server/require-hook.js","../../../node_modules/next/dist/server/response-cache/types.js","../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../node_modules/next/dist/shared/lib/instant-messages.js","../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../node_modules/next/package.json","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.js","../../../node_modules/react/index.js","../../../node_modules/react/package.json","../../package.json","../chunks/1421.js","../chunks/2430.js","../chunks/4741.js","../chunks/5529.js","../chunks/7928.js","../chunks/8842.js","../webpack-runtime.js","page_client-reference-manifest.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6044":{"*":{"id":"70344","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"41390","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"86104","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"53371","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"8419","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"6044":{"*":{"id":"70344","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"41390","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"86104","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"53371","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"8419","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"19047","name":"*","chunks":[],"async":false}},"65450":{"*":{"id":"6135","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"81040","name":"*","chunks":[],"async":false}},"71362":{"*":{"id":"46070","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}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"80189","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"61314","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":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.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":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":65377,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/navigation-tracker.tsx":{"id":48491,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["223","static/chunks/223-a4fca67d979d899d.js","7177","static/chunks/app/layout-e3fdecae5544dc60.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":23042,"name":"*","chunks":["4506","static/chunks/f97e080b-58fc9570cf11a0c7.js","1731","static/chunks/1731-6dec4b981289174f.js","8026","static/chunks/8026-d0db1e7b45d32046.js","2435","static/chunks/2435-240bc4349cace375.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","544","static/chunks/544-9e1c454c8313699f.js","577","static/chunks/577-d6d889d30c9375d9.js","8974","static/chunks/app/page-52545dcc822c61da.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":37875,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":71362,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/diff/schema-diff-view.tsx":{"id":6044,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/connection-home.tsx":{"id":21890,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":96365,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migrations-index.tsx":{"id":69063,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx":{"id":65450,"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/ab9c0ea2c2569929.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[]},"rscModuleMapping":{"6044":{"*":{"id":"58977","name":"*","chunks":[],"async":false}},"21890":{"*":{"id":"52468","name":"*","chunks":[],"async":false}},"23042":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"19933","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"65377":{"*":{"id":"17569","name":"*","chunks":[],"async":false}},"65450":{"*":{"id":"97182","name":"*","chunks":[],"async":false}},"69063":{"*":{"id":"99432","name":"*","chunks":[],"async":false}},"71362":{"*":{"id":"12377","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}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"94821":{"*":{"id":"88331","name":"*","chunks":[],"async":false}},"96365":{"*":{"id":"2781","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
|
|
@@ -5,12 +5,12 @@
|
|
|
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",
|
|
9
8
|
"/api/adopt/route": "app/api/adopt/route.js",
|
|
9
|
+
"/api/cell/route": "app/api/cell/route.js",
|
|
10
10
|
"/api/delete-rows/route": "app/api/delete-rows/route.js",
|
|
11
|
-
"/api/definition/route": "app/api/definition/route.js",
|
|
12
11
|
"/api/detect/route": "app/api/detect/route.js",
|
|
13
12
|
"/api/insert-row/route": "app/api/insert-row/route.js",
|
|
13
|
+
"/api/definition/route": "app/api/definition/route.js",
|
|
14
14
|
"/api/ledger/route": "app/api/ledger/route.js",
|
|
15
15
|
"/api/lookup/route": "app/api/lookup/route.js",
|
|
16
16
|
"/api/migrate/route": "app/api/migrate/route.js",
|
|
@@ -23,13 +23,16 @@
|
|
|
23
23
|
"/api/rows/route": "app/api/rows/route.js",
|
|
24
24
|
"/api/schema/route": "app/api/schema/route.js",
|
|
25
25
|
"/api/tables/route": "app/api/tables/route.js",
|
|
26
|
-
"/api/timeline/route": "app/api/timeline/route.js",
|
|
27
26
|
"/api/update-row/route": "app/api/update-row/route.js",
|
|
27
|
+
"/api/timeline/route": "app/api/timeline/route.js",
|
|
28
28
|
"/page": "app/page.js",
|
|
29
29
|
"/[connectionId]/[schema]/[table]/page": "app/[connectionId]/[schema]/[table]/page.js",
|
|
30
30
|
"/[connectionId]/diff/page": "app/[connectionId]/diff/page.js",
|
|
31
|
-
"/[connectionId]/migrations/[setId]/page": "app/[connectionId]/migrations/[setId]/page.js",
|
|
32
|
-
"/[connectionId]/migrations/page": "app/[connectionId]/migrations/page.js",
|
|
33
31
|
"/[connectionId]/page": "app/[connectionId]/page.js",
|
|
34
|
-
"/[connectionId]/query/page": "app/[connectionId]/query/page.js"
|
|
32
|
+
"/[connectionId]/query/page": "app/[connectionId]/query/page.js",
|
|
33
|
+
"/[connectionId]/migrations/(index)/page": "app/[connectionId]/migrations/(index)/page.js",
|
|
34
|
+
"/[connectionId]/migrations/(index)/timeline/page": "app/[connectionId]/migrations/(index)/timeline/page.js",
|
|
35
|
+
"/[connectionId]/migrations/[setId]/page": "app/[connectionId]/migrations/[setId]/page.js",
|
|
36
|
+
"/[connectionId]/migrations/[setId]/schema/page": "app/[connectionId]/migrations/[setId]/schema/page.js",
|
|
37
|
+
"/[connectionId]/migrations/[setId]/timeline/page": "app/[connectionId]/migrations/[setId]/timeline/page.js"
|
|
35
38
|
}
|