@theobourgeois/ytdb 0.2.8 → 0.2.10

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 (166) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +1 -0
  3. package/.next/build-manifest.json +6 -6
  4. package/.next/prerender-manifest.json +3 -3
  5. package/.next/routes-manifest.json +9 -0
  6. package/.next/server/app/[connectionId]/[schema]/[table]/page.js +1 -1
  7. package/.next/server/app/[connectionId]/[schema]/[table]/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/[connectionId]/diff/page.js +2 -2
  9. package/.next/server/app/[connectionId]/diff/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/[connectionId]/migrations/[setId]/page.js +1 -0
  11. package/.next/server/app/[connectionId]/migrations/[setId]/page.js.nft.json +1 -0
  12. package/.next/server/app/[connectionId]/migrations/[setId]/page_client-reference-manifest.js +1 -0
  13. package/.next/server/app/[connectionId]/migrations/page.js +1 -1
  14. package/.next/server/app/[connectionId]/migrations/page.js.nft.json +1 -1
  15. package/.next/server/app/[connectionId]/migrations/page_client-reference-manifest.js +1 -1
  16. package/.next/server/app/[connectionId]/page.js +1 -1
  17. package/.next/server/app/[connectionId]/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/[connectionId]/query/page.js +1 -1
  19. package/.next/server/app/[connectionId]/query/page_client-reference-manifest.js +1 -1
  20. package/.next/server/app/_global-error/page.js +2 -2
  21. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  22. package/.next/server/app/_global-error.html +1 -1
  23. package/.next/server/app/_global-error.rsc +1 -1
  24. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  25. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  26. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  27. package/.next/server/app/_not-found/page.js +1 -1
  28. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  29. package/.next/server/app/_not-found.html +1 -1
  30. package/.next/server/app/_not-found.rsc +5 -5
  31. package/.next/server/app/_not-found.segments/_full.segment.rsc +5 -5
  32. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -5
  33. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  34. package/.next/server/app/api/activity/route.js +2 -2
  35. package/.next/server/app/api/cell/route.js +1 -1
  36. package/.next/server/app/api/definition/route.js +2 -2
  37. package/.next/server/app/api/delete-rows/route.js +3 -3
  38. package/.next/server/app/api/health/route.js +1 -1
  39. package/.next/server/app/api/insert-row/route.js +1 -1
  40. package/.next/server/app/api/ledger/route.js +1 -1
  41. package/.next/server/app/api/lookup/route.js +2 -2
  42. package/.next/server/app/api/migrate/route.js +1 -1
  43. package/.next/server/app/api/query/route.js +2 -2
  44. package/.next/server/app/api/related/route.js +2 -2
  45. package/.next/server/app/api/rows/route.js +1 -1
  46. package/.next/server/app/api/schema/route.js +2 -2
  47. package/.next/server/app/api/tables/route.js +3 -3
  48. package/.next/server/app/api/update-row/route.js +1 -1
  49. package/.next/server/app/favicon.ico/route.js +1 -1
  50. package/.next/server/app/icon.svg/route.js +1 -1
  51. package/.next/server/app/index.html +1 -1
  52. package/.next/server/app/index.rsc +6 -6
  53. package/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -6
  54. package/.next/server/app/index.segments/_full.segment.rsc +6 -6
  55. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  56. package/.next/server/app/page.js +2 -2
  57. package/.next/server/app/page_client-reference-manifest.js +1 -1
  58. package/.next/server/app-paths-manifest.json +1 -0
  59. package/.next/server/chunks/25.js +1 -1
  60. package/.next/server/chunks/702.js +1 -0
  61. package/.next/server/chunks/729.js +1 -1
  62. package/.next/server/chunks/792.js +1 -1
  63. package/.next/server/middleware-build-manifest.js +1 -1
  64. package/.next/server/pages/404.html +1 -1
  65. package/.next/server/pages/500.html +1 -1
  66. package/.next/static/{FSwOIUlobain5tMrHGgSI → NEAfmHhp-9__5VYm1xePl}/_buildManifest.js +1 -1
  67. package/.next/static/chunks/1528-3257b0cb7a73dd8b.js +1 -0
  68. package/.next/static/chunks/3123-9d121152b53da311.js +1 -0
  69. package/.next/static/chunks/363642f4-681bfd753af22ae9.js +1 -0
  70. package/.next/static/chunks/3794-d7cddff008311ab3.js +52 -0
  71. package/.next/static/chunks/4100-7151c91ac47f0e66.js +1 -0
  72. package/.next/static/chunks/4bd1b696-8a4ab4fdf0ae305a.js +1 -0
  73. package/.next/static/chunks/5541-28b0ead901dee457.js +1 -0
  74. package/.next/static/chunks/{39-3411368bf75bda4b.js → 6039-02dbcff4d4ccf559.js} +1 -1
  75. package/.next/static/chunks/6091-de8d2e51b0196435.js +1 -0
  76. package/.next/static/chunks/6842-c2831fd548ae657c.js +1 -0
  77. package/.next/static/chunks/7449-de75a89ab8afe5c1.js +1 -0
  78. package/.next/static/chunks/8322-b1154a96547c860d.js +1 -0
  79. package/.next/static/chunks/8360-5a3ba00eb4ee0720.js +1 -0
  80. package/.next/static/chunks/8500-01a63dafd809e317.js +1 -0
  81. package/.next/static/chunks/8651-f7ba864bc5a5b128.js +1 -0
  82. package/.next/static/chunks/9680-3eeb0b7b44c6cab3.js +1 -0
  83. package/.next/static/chunks/app/[connectionId]/[schema]/[table]/page-f2f42daf21a075f2.js +1 -0
  84. package/.next/static/chunks/app/[connectionId]/diff/page-f3262f6929e005e0.js +10 -0
  85. package/.next/static/chunks/app/[connectionId]/layout-18239a50b43285f6.js +1 -0
  86. package/.next/static/chunks/app/[connectionId]/migrations/[setId]/page-20581d3ca2f1c5b3.js +1 -0
  87. package/.next/static/chunks/app/[connectionId]/migrations/page-ebee230da73b5481.js +1 -0
  88. package/.next/static/chunks/app/[connectionId]/page-6dcee1a99ffdd27c.js +1 -0
  89. package/.next/static/chunks/app/[connectionId]/query/page-46af4cc6f90448f5.js +1 -0
  90. package/.next/static/chunks/app/_global-error/page-6dcee1a99ffdd27c.js +1 -0
  91. package/.next/static/chunks/app/_not-found/page-57d82169a5493d9f.js +1 -0
  92. package/.next/static/chunks/app/api/activity/route-6dcee1a99ffdd27c.js +1 -0
  93. package/.next/static/chunks/app/api/cell/route-6dcee1a99ffdd27c.js +1 -0
  94. package/.next/static/chunks/app/api/definition/route-6dcee1a99ffdd27c.js +1 -0
  95. package/.next/static/chunks/app/api/delete-rows/route-6dcee1a99ffdd27c.js +1 -0
  96. package/.next/static/chunks/app/api/health/route-6dcee1a99ffdd27c.js +1 -0
  97. package/.next/static/chunks/app/api/insert-row/route-6dcee1a99ffdd27c.js +1 -0
  98. package/.next/static/chunks/app/api/ledger/route-6dcee1a99ffdd27c.js +1 -0
  99. package/.next/static/chunks/app/api/lookup/route-6dcee1a99ffdd27c.js +1 -0
  100. package/.next/static/chunks/app/api/migrate/route-6dcee1a99ffdd27c.js +1 -0
  101. package/.next/static/chunks/app/api/query/route-6dcee1a99ffdd27c.js +1 -0
  102. package/.next/static/chunks/app/api/related/route-6dcee1a99ffdd27c.js +1 -0
  103. package/.next/static/chunks/app/api/rows/route-6dcee1a99ffdd27c.js +1 -0
  104. package/.next/static/chunks/app/api/schema/route-6dcee1a99ffdd27c.js +1 -0
  105. package/.next/static/chunks/app/api/tables/route-6dcee1a99ffdd27c.js +1 -0
  106. package/.next/static/chunks/app/api/update-row/route-6dcee1a99ffdd27c.js +1 -0
  107. package/.next/static/chunks/app/layout-dd332a9583f47cd6.js +1 -0
  108. package/.next/static/chunks/app/{page-b2d6b39a184ee5c7.js → page-b582d36c1b014a02.js} +2 -2
  109. package/.next/static/chunks/framework-666c53740fc261c8.js +1 -0
  110. package/.next/static/chunks/{main-9bf13cd161e78f68.js → main-3446eb75b8e429cb.js} +2 -2
  111. package/.next/static/chunks/main-app-f73ec34e89cb8fdd.js +1 -0
  112. package/.next/static/chunks/next/dist/client/components/builtin/app-error-6dcee1a99ffdd27c.js +1 -0
  113. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-6dcee1a99ffdd27c.js +1 -0
  114. package/.next/static/chunks/next/dist/client/components/builtin/global-error-cbba959419f86022.js +1 -0
  115. package/.next/static/chunks/next/dist/client/components/builtin/not-found-6dcee1a99ffdd27c.js +1 -0
  116. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-6dcee1a99ffdd27c.js +1 -0
  117. package/.next/static/chunks/{webpack-51196f53e7d6229d.js → webpack-34eb118f56295776.js} +1 -1
  118. package/.next/static/css/19402b14d1698bdd.css +1 -0
  119. package/README.md +16 -7
  120. package/package.json +1 -1
  121. package/.next/static/chunks/100-867b197be5f4ee51.js +0 -1
  122. package/.next/static/chunks/363642f4-4ee279341b3325ec.js +0 -1
  123. package/.next/static/chunks/444-1a5198873808abcb.js +0 -1
  124. package/.next/static/chunks/469-5223a74e4a332e16.js +0 -1
  125. package/.next/static/chunks/4bd1b696-c9cc1fe3b38e59bb.js +0 -1
  126. package/.next/static/chunks/500-2d1136a2b6ea2d76.js +0 -1
  127. package/.next/static/chunks/541-7100f33afc3f8243.js +0 -1
  128. package/.next/static/chunks/603-4d453706a69687ab.js +0 -1
  129. package/.next/static/chunks/680-15c080c77c182ea3.js +0 -1
  130. package/.next/static/chunks/794-5400405c4012cb77.js +0 -52
  131. package/.next/static/chunks/842-7d4f33472de28bfd.js +0 -1
  132. package/.next/static/chunks/9-34415c4a38da9de1.js +0 -1
  133. package/.next/static/chunks/938-3d7a8b7b2f336e91.js +0 -1
  134. package/.next/static/chunks/app/[connectionId]/[schema]/[table]/page-ef736a4ea9a8fb54.js +0 -1
  135. package/.next/static/chunks/app/[connectionId]/diff/page-1b02df901ab4745d.js +0 -10
  136. package/.next/static/chunks/app/[connectionId]/layout-5ceae464cef50cb0.js +0 -1
  137. package/.next/static/chunks/app/[connectionId]/migrations/page-a5b61ff9ef6a087b.js +0 -1
  138. package/.next/static/chunks/app/[connectionId]/page-8b8a8b371736af96.js +0 -1
  139. package/.next/static/chunks/app/[connectionId]/query/page-13dafbced1a1f739.js +0 -1
  140. package/.next/static/chunks/app/_global-error/page-8b8a8b371736af96.js +0 -1
  141. package/.next/static/chunks/app/_not-found/page-dd605227cfa5bf04.js +0 -1
  142. package/.next/static/chunks/app/api/activity/route-8b8a8b371736af96.js +0 -1
  143. package/.next/static/chunks/app/api/cell/route-8b8a8b371736af96.js +0 -1
  144. package/.next/static/chunks/app/api/definition/route-8b8a8b371736af96.js +0 -1
  145. package/.next/static/chunks/app/api/delete-rows/route-8b8a8b371736af96.js +0 -1
  146. package/.next/static/chunks/app/api/health/route-8b8a8b371736af96.js +0 -1
  147. package/.next/static/chunks/app/api/insert-row/route-8b8a8b371736af96.js +0 -1
  148. package/.next/static/chunks/app/api/ledger/route-8b8a8b371736af96.js +0 -1
  149. package/.next/static/chunks/app/api/lookup/route-8b8a8b371736af96.js +0 -1
  150. package/.next/static/chunks/app/api/migrate/route-8b8a8b371736af96.js +0 -1
  151. package/.next/static/chunks/app/api/query/route-8b8a8b371736af96.js +0 -1
  152. package/.next/static/chunks/app/api/related/route-8b8a8b371736af96.js +0 -1
  153. package/.next/static/chunks/app/api/rows/route-8b8a8b371736af96.js +0 -1
  154. package/.next/static/chunks/app/api/schema/route-8b8a8b371736af96.js +0 -1
  155. package/.next/static/chunks/app/api/tables/route-8b8a8b371736af96.js +0 -1
  156. package/.next/static/chunks/app/api/update-row/route-8b8a8b371736af96.js +0 -1
  157. package/.next/static/chunks/app/layout-6c0fa591484fc6df.js +0 -1
  158. package/.next/static/chunks/framework-b820d88d6bcfde5e.js +0 -1
  159. package/.next/static/chunks/main-app-f0a2b35cb4db2c5e.js +0 -1
  160. package/.next/static/chunks/next/dist/client/components/builtin/app-error-8b8a8b371736af96.js +0 -1
  161. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-8b8a8b371736af96.js +0 -1
  162. package/.next/static/chunks/next/dist/client/components/builtin/global-error-e3e280d85e32fd8d.js +0 -1
  163. package/.next/static/chunks/next/dist/client/components/builtin/not-found-8b8a8b371736af96.js +0 -1
  164. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-8b8a8b371736af96.js +0 -1
  165. package/.next/static/css/c36a068647b766f7.css +0 -1
  166. /package/.next/static/{FSwOIUlobain5tMrHGgSI → NEAfmHhp-9__5VYm1xePl}/_ssgManifest.js +0 -0
@@ -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))},16343:(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:()=>D});var d=c(48249),e=c(2116),f=c.n(e),g=c(67484),h=c(89216),i=c(60136),j=c(24277),k=c(69473),l=c(25297),m=c(82244),n=c(91732),o=c(99598),p=c(78260),q=c(89267),r=c(30770),s=c(40245);let t=(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 u=c(38393),v=c(4106),w=c(61561),x=c(16280);function y(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function z(){let a=(0,g.useRef)(null),[b,c]=(0,g.useState)(null),[e,f]=(0,g.useState)(null);function h(a){(0,v.L)("config.import",{connections:a.connections.length,exportedAt:a.exportedAt}),n.Z.setState({connections:a.connections}),o.lz.setState({browse:a.explorer.browse,tables:a.explorer.tables}),x.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(!y(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(!y(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=y(b.explorer)?b.explorer:{},e=y(d.browse)?d.browse:{},f=y(d.tables)?d.tables:{},g=(0,w.Ff)(b.theme)?b.theme:x.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}=n.Z.getState(),{browse:b,tables:c}=o.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)(l.$,{size:"sm",variant:"ghost",onClick:()=>{let a,b,c,d;return a=function(){let{connections:a}=n.Z.getState(),{browse:b,tables:c}=o.lz.getState(),{theme:d}=x.C.getState();return{version:1,exportedAt:new Date().toISOString(),connections:a,explorer:{browse:b,tables:c},theme:d}}(),(0,v.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)(s.A,{"data-icon":"inline-start"}),"Export"]}),(0,d.jsxs)(l.$,{size:"sm",variant:"ghost",onClick:()=>a.current?.click(),children:[(0,d.jsx)(t,{"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)(u.lG,{open:null!==e,onOpenChange:a=>!a&&f(null),children:(0,d.jsxs)(u.Cf,{children:[(0,d.jsxs)(u.c7,{children:[(0,d.jsx)(u.L3,{children:"Replace current config?"}),(0,d.jsx)(u.rr,{children:"This replaces connections, table layout, and theme. The file includes connection URLs, so treat it like a secret."})]}),(0,d.jsxs)(u.Es,{children:[(0,d.jsx)(l.$,{variant:"outline",onClick:()=>f(null),children:"Cancel"}),(0,d.jsx)(l.$,{onClick:()=>e&&h(e),children:"Replace"})]})]})}),(0,d.jsx)(u.lG,{open:null!==b,onOpenChange:a=>!a&&c(null),children:(0,d.jsxs)(u.Cf,{children:[(0,d.jsxs)(u.c7,{children:[(0,d.jsx)(u.L3,{children:"Couldn’t import"}),(0,d.jsx)(u.rr,{children:b})]}),(0,d.jsx)(u.Es,{children:(0,d.jsx)(l.$,{variant:"outline",onClick:()=>c(null),children:"Close"})})]})})]})}function A({connection:a,comparable:b,onEdit:c,onRemove:e}){let g=(0,o.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)(r.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.A,{className:"size-3 shrink-0"}),(0,d.jsx)("span",{className:"truncate",children:g.map(a=>a.name).join(", ")})]})]})]})]}),(0,d.jsxs)(m.rI,{children:[(0,d.jsx)(m.ty,{render:(0,d.jsx)(l.$,{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)(m.SQ,{align:"end",children:[(0,d.jsx)(m._2,{onClick:()=>c(a),children:"Edit"}),b&&(0,d.jsxs)(m._2,{render:(0,d.jsx)(f(),{href:`/${a.id}/diff`}),children:[(0,d.jsx)(j.A,{}),"Compare schema"]}),(0,d.jsx)(m._2,{variant:"destructive",onClick:()=>e(a.id),children:"Delete"})]})]})]})}function B(){let{connections:a,add:b,update:c,remove:e}=(0,n.Z)(),[f,h]=(0,g.useState)(null),[i,j]=(0,g.useState)(!1),m=(0,o.gz)(f?.id??"");function r(){h(null),j(!0)}function s(a){h(a),j(!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)(z,{}),(0,d.jsxs)(l.$,{size:"sm",variant:"ghost",onClick:r,children:[(0,d.jsx)(k.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(b=>(0,d.jsx)(A,{connection:b,comparable:a.length>1,onEdit:s,onRemove:e},b.id))}),(0,d.jsx)(q.f,{open:i,onOpenChange:j,connectionId:f?.id,initial:f?{name:f.name,url:f.url,color:(0,p.Mq)(f),shareWith:m.map(a=>a.id)}:void 0,onSubmit:function(a){let{shareWith:d,...e}=a;if(f){c(f.id,e),(0,o.mQ)(f.id,d);return}let g=b(e);(0,o.mQ)(g.id,d)}})]})}var C=c(98609);function D(){let a=(0,C.p)();return(0,d.jsx)("main",{className:"mx-auto w-full max-w-lg px-6 py-24",children:a&&(0,d.jsx)(B,{})})}},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,792,391,593],()=>b(b.s=16343));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:()=>D});var d=c(48249),e=c(2116),f=c.n(e),g=c(67484),h=c(89216),i=c(60136),j=c(24277),k=c(69473),l=c(25297),m=c(82244),n=c(91732),o=c(99598),p=c(78260),q=c(89267),r=c(30770),s=c(40245);let t=(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 u=c(38393),v=c(4106),w=c(61561),x=c(16280);function y(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function z(){let a=(0,g.useRef)(null),[b,c]=(0,g.useState)(null),[e,f]=(0,g.useState)(null);function h(a){(0,v.L)("config.import",{connections:a.connections.length,exportedAt:a.exportedAt}),n.Z.setState({connections:a.connections}),o.lz.setState({browse:a.explorer.browse,tables:a.explorer.tables}),x.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(!y(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(!y(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=y(b.explorer)?b.explorer:{},e=y(d.browse)?d.browse:{},f=y(d.tables)?d.tables:{},g=(0,w.Ff)(b.theme)?b.theme:x.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}=n.Z.getState(),{browse:b,tables:c}=o.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)(l.$,{size:"sm",variant:"ghost",onClick:()=>{let a,b,c,d;return a=function(){let{connections:a}=n.Z.getState(),{browse:b,tables:c}=o.lz.getState(),{theme:d}=x.C.getState();return{version:1,exportedAt:new Date().toISOString(),connections:a,explorer:{browse:b,tables:c},theme:d}}(),(0,v.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)(s.A,{"data-icon":"inline-start"}),"Export"]}),(0,d.jsxs)(l.$,{size:"sm",variant:"ghost",onClick:()=>a.current?.click(),children:[(0,d.jsx)(t,{"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)(u.lG,{open:null!==e,onOpenChange:a=>!a&&f(null),children:(0,d.jsxs)(u.Cf,{children:[(0,d.jsxs)(u.c7,{children:[(0,d.jsx)(u.L3,{children:"Replace current config?"}),(0,d.jsx)(u.rr,{children:"This replaces connections, table layout, and theme. The file includes connection URLs, so treat it like a secret."})]}),(0,d.jsxs)(u.Es,{children:[(0,d.jsx)(l.$,{variant:"outline",onClick:()=>f(null),children:"Cancel"}),(0,d.jsx)(l.$,{onClick:()=>e&&h(e),children:"Replace"})]})]})}),(0,d.jsx)(u.lG,{open:null!==b,onOpenChange:a=>!a&&c(null),children:(0,d.jsxs)(u.Cf,{children:[(0,d.jsxs)(u.c7,{children:[(0,d.jsx)(u.L3,{children:"Couldn’t import"}),(0,d.jsx)(u.rr,{children:b})]}),(0,d.jsx)(u.Es,{children:(0,d.jsx)(l.$,{variant:"outline",onClick:()=>c(null),children:"Close"})})]})})]})}function A({connection:a,comparable:b,onEdit:c,onRemove:e}){let g=(0,o.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)(r.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.A,{className:"size-3 shrink-0"}),(0,d.jsx)("span",{className:"truncate",children:g.map(a=>a.name).join(", ")})]})]})]})]}),(0,d.jsxs)(m.rI,{children:[(0,d.jsx)(m.ty,{render:(0,d.jsx)(l.$,{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)(m.SQ,{align:"end",children:[(0,d.jsx)(m._2,{onClick:()=>c(a),children:"Edit"}),b&&(0,d.jsxs)(m._2,{render:(0,d.jsx)(f(),{href:`/${a.id}/diff`}),children:[(0,d.jsx)(j.A,{}),"Compare schema"]}),(0,d.jsx)(m._2,{variant:"destructive",onClick:()=>e(a.id),children:"Delete"})]})]})]})}function B(){let{connections:a,add:b,update:c,remove:e}=(0,n.Z)(),[f,h]=(0,g.useState)(null),[i,j]=(0,g.useState)(!1),m=(0,o.gz)(f?.id??"");function r(){h(null),j(!0)}function s(a){h(a),j(!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)(z,{}),(0,d.jsxs)(l.$,{size:"sm",variant:"ghost",onClick:r,children:[(0,d.jsx)(k.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(b=>(0,d.jsx)(A,{connection:b,comparable:a.length>1,onEdit:s,onRemove:e},b.id))}),(0,d.jsx)(q.f,{open:i,onOpenChange:j,connectionId:f?.id,initial:f?{name:f.name,url:f.url,color:(0,p.Mq)(f),shareWith:m.map(a=>a.id)}:void 0,onSubmit:function(a){let{shareWith:d,...e}=a;if(f){c(f.id,e),(0,o.mQ)(f.id,d);return}let g=b(e);(0,o.mQ)(g.id,d)}})]})}var C=c(98609);function D(){let a=(0,C.p)();return(0,d.jsx)("main",{className:"mx-auto w-full max-w-lg px-6 py-24",children:a&&(0,d.jsx)(B,{})})}},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"}]])},82713:(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,792,391,593],()=>b(b.s=82713));module.exports=c})();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"3725":{"*":{"id":"75267","name":"*","chunks":[],"async":false}},"6937":{"*":{"id":"59809","name":"*","chunks":[],"async":false}},"20400":{"*":{"id":"22053","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"32971":{"*":{"id":"16331","name":"*","chunks":[],"async":false}},"35788":{"*":{"id":"53534","name":"*","chunks":[],"async":false}},"39049":{"*":{"id":"91723","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}},"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":["603","static/chunks/603-4d453706a69687ab.js","842","static/chunks/842-7d4f33472de28bfd.js","500","static/chunks/500-2d1136a2b6ea2d76.js","469","static/chunks/469-5223a74e4a332e16.js","938","static/chunks/938-3d7a8b7b2f336e91.js","974","static/chunks/app/page-b2d6b39a184ee5c7.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":6937,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":32971,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/diff/schema-diff-view.tsx":{"id":35788,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migrations-view.tsx":{"id":3725,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":39049,"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/c36a068647b766f7.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[]},"rscModuleMapping":{"3725":{"*":{"id":"18261","name":"*","chunks":[],"async":false}},"6937":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"20400":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"32971":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"35788":{"*":{"id":"58977","name":"*","chunks":[],"async":false}},"39049":{"*":{"id":"2781","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}},"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":{"6937":{"*":{"id":"59809","name":"*","chunks":[],"async":false}},"16364":{"*":{"id":"47078","name":"*","chunks":[],"async":false}},"20400":{"*":{"id":"22053","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"32971":{"*":{"id":"88865","name":"*","chunks":[],"async":false}},"35788":{"*":{"id":"53534","name":"*","chunks":[],"async":false}},"39049":{"*":{"id":"91723","name":"*","chunks":[],"async":false}},"50492":{"*":{"id":"74678","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}},"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":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.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":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/globals.css":{"id":51743,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/ConvexClientProvider.tsx":{"id":94821,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/local-bridge-gate.tsx":{"id":87758,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/theme-provider.tsx":{"id":72737,"name":"*","chunks":["6039","static/chunks/6039-02dbcff4d4ccf559.js","7177","static/chunks/app/layout-dd332a9583f47cd6.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/app/page.tsx":{"id":20400,"name":"*","chunks":["8651","static/chunks/8651-f7ba864bc5a5b128.js","8360","static/chunks/8360-5a3ba00eb4ee0720.js","8500","static/chunks/8500-01a63dafd809e317.js","6842","static/chunks/6842-c2831fd548ae657c.js","1528","static/chunks/1528-3257b0cb7a73dd8b.js","6091","static/chunks/6091-de8d2e51b0196435.js","8974","static/chunks/app/page-b582d36c1b014a02.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":6937,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":32971,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/diff/schema-diff-view.tsx":{"id":35788,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx":{"id":50492,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migrations-index.tsx":{"id":16364,"name":"*","chunks":[],"async":false},"/Users/theobourgeois/code/db-studio/src/components/query/query-view.tsx":{"id":39049,"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/19402b14d1698bdd.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[]},"rscModuleMapping":{"6937":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"16364":{"*":{"id":"99432","name":"*","chunks":[],"async":false}},"20400":{"*":{"id":"4494","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"32971":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"35788":{"*":{"id":"58977","name":"*","chunks":[],"async":false}},"39049":{"*":{"id":"2781","name":"*","chunks":[],"async":false}},"50492":{"*":{"id":"97182","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}},"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":{}};
@@ -21,6 +21,7 @@
21
21
  "/page": "app/page.js",
22
22
  "/[connectionId]/[schema]/[table]/page": "app/[connectionId]/[schema]/[table]/page.js",
23
23
  "/[connectionId]/diff/page": "app/[connectionId]/diff/page.js",
24
+ "/[connectionId]/migrations/[setId]/page": "app/[connectionId]/migrations/[setId]/page.js",
24
25
  "/[connectionId]/migrations/page": "app/[connectionId]/migrations/page.js",
25
26
  "/[connectionId]/page": "app/[connectionId]/page.js",
26
27
  "/[connectionId]/query/page": "app/[connectionId]/query/page.js"