@theobourgeois/ytdb 0.2.11 → 0.2.13

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 (195) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +2 -0
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/prerender-manifest.json +2 -2
  5. package/.next/routes-manifest.json +12 -0
  6. package/.next/server/app/[connectionId]/[schema]/[table]/page.js +1 -1
  7. package/.next/server/app/[connectionId]/[schema]/[table]/page.js.nft.json +1 -1
  8. package/.next/server/app/[connectionId]/[schema]/[table]/page_client-reference-manifest.js +1 -1
  9. package/.next/server/app/[connectionId]/diff/page.js +5 -5
  10. package/.next/server/app/[connectionId]/diff/page.js.nft.json +1 -1
  11. package/.next/server/app/[connectionId]/diff/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/[connectionId]/migrations/[setId]/page.js +1 -1
  13. package/.next/server/app/[connectionId]/migrations/[setId]/page.js.nft.json +1 -1
  14. package/.next/server/app/[connectionId]/migrations/[setId]/page_client-reference-manifest.js +1 -1
  15. package/.next/server/app/[connectionId]/migrations/page.js +1 -1
  16. package/.next/server/app/[connectionId]/migrations/page.js.nft.json +1 -1
  17. package/.next/server/app/[connectionId]/migrations/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/[connectionId]/page.js +1 -1
  19. package/.next/server/app/[connectionId]/page.js.nft.json +1 -1
  20. package/.next/server/app/[connectionId]/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/[connectionId]/query/page.js +1 -1
  22. package/.next/server/app/[connectionId]/query/page.js.nft.json +1 -1
  23. package/.next/server/app/[connectionId]/query/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/_global-error/page.js +2 -2
  25. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  26. package/.next/server/app/_global-error.html +1 -1
  27. package/.next/server/app/_global-error.rsc +1 -1
  28. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  29. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  30. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  31. package/.next/server/app/_not-found/page.js +1 -1
  32. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  33. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  34. package/.next/server/app/_not-found.html +1 -1
  35. package/.next/server/app/_not-found.rsc +19 -18
  36. package/.next/server/app/_not-found.segments/_full.segment.rsc +19 -18
  37. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +9 -8
  38. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  39. package/.next/server/app/api/activity/route.js +2 -2
  40. package/.next/server/app/api/activity/route.js.nft.json +1 -1
  41. package/.next/server/app/api/adopt/route.js +40 -0
  42. package/.next/server/app/api/adopt/route.js.nft.json +1 -0
  43. package/.next/server/app/api/adopt/route_client-reference-manifest.js +1 -0
  44. package/.next/server/app/api/cell/route.js +2 -2
  45. package/.next/server/app/api/cell/route.js.nft.json +1 -1
  46. package/.next/server/app/api/definition/route.js +3 -3
  47. package/.next/server/app/api/definition/route.js.nft.json +1 -1
  48. package/.next/server/app/api/delete-rows/route.js +2 -2
  49. package/.next/server/app/api/delete-rows/route.js.nft.json +1 -1
  50. package/.next/server/app/api/health/route.js +1 -1
  51. package/.next/server/app/api/insert-row/route.js +2 -2
  52. package/.next/server/app/api/insert-row/route.js.nft.json +1 -1
  53. package/.next/server/app/api/ledger/route.js +40 -1
  54. package/.next/server/app/api/ledger/route.js.nft.json +1 -1
  55. package/.next/server/app/api/lookup/route.js +2 -2
  56. package/.next/server/app/api/lookup/route.js.nft.json +1 -1
  57. package/.next/server/app/api/migrate/route.js +40 -1
  58. package/.next/server/app/api/migrate/route.js.nft.json +1 -1
  59. package/.next/server/app/api/query/route.js +2 -2
  60. package/.next/server/app/api/query/route.js.nft.json +1 -1
  61. package/.next/server/app/api/related/route.js +2 -2
  62. package/.next/server/app/api/related/route.js.nft.json +1 -1
  63. package/.next/server/app/api/repo/route.js +1 -0
  64. package/.next/server/app/api/repo/route.js.nft.json +1 -0
  65. package/.next/server/app/api/repo/route_client-reference-manifest.js +1 -0
  66. package/.next/server/app/api/rows/route.js +1 -1
  67. package/.next/server/app/api/rows/route.js.nft.json +1 -1
  68. package/.next/server/app/api/schema/route.js +2 -2
  69. package/.next/server/app/api/schema/route.js.nft.json +1 -1
  70. package/.next/server/app/api/tables/route.js +2 -2
  71. package/.next/server/app/api/tables/route.js.nft.json +1 -1
  72. package/.next/server/app/api/update-row/route.js +1 -1
  73. package/.next/server/app/api/update-row/route.js.nft.json +1 -1
  74. package/.next/server/app/favicon.ico/route.js +1 -1
  75. package/.next/server/app/icon.svg/route.js +1 -1
  76. package/.next/server/app/index.html +1 -1
  77. package/.next/server/app/index.rsc +21 -20
  78. package/.next/server/app/index.segments/__PAGE__.segment.rsc +12 -11
  79. package/.next/server/app/index.segments/_full.segment.rsc +21 -20
  80. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  81. package/.next/server/app/page.js +2 -2
  82. package/.next/server/app/page.js.nft.json +1 -1
  83. package/.next/server/app/page_client-reference-manifest.js +1 -1
  84. package/.next/server/app-paths-manifest.json +2 -0
  85. package/.next/server/chunks/172.js +1 -0
  86. package/.next/server/chunks/202.js +1 -0
  87. package/.next/server/chunks/421.js +1 -0
  88. package/.next/server/chunks/566.js +1 -0
  89. package/.next/server/chunks/593.js +1 -1
  90. package/.next/server/chunks/729.js +1 -1
  91. package/.next/server/chunks/738.js +2 -0
  92. package/.next/server/chunks/802.js +1 -0
  93. package/.next/server/chunks/{458.js → 928.js} +1 -1
  94. package/.next/server/chunks/97.js +1 -1
  95. package/.next/server/middleware-build-manifest.js +1 -1
  96. package/.next/server/pages/404.html +1 -1
  97. package/.next/server/pages/500.html +1 -1
  98. package/.next/static/KSnyCCtuopUbqXHmuoiqW/_buildManifest.js +1 -0
  99. package/.next/static/chunks/1656-2ef431c507f0f186.js +1 -0
  100. package/.next/static/chunks/1715-206f291fde410bf6.js +1 -0
  101. package/.next/static/chunks/1731-6dec4b981289174f.js +1 -0
  102. package/.next/static/chunks/{6039-02dbcff4d4ccf559.js → 223-a4fca67d979d899d.js} +2 -2
  103. package/.next/static/chunks/3678-daffdce12ffe73e6.js +1 -0
  104. package/.next/static/chunks/4029-abdeb362648dd921.js +1 -0
  105. package/.next/static/chunks/4097-e483bf4279ad2c38.js +1 -0
  106. package/.next/static/chunks/649-a1f6ba42883ab7ce.js +1 -0
  107. package/.next/static/chunks/6996-45e967f18861b87e.js +1 -0
  108. package/.next/static/chunks/7893-4515c42324443f01.js +1 -0
  109. package/.next/static/chunks/8322-ed3deecf058cc11c.js +1 -0
  110. package/.next/static/chunks/8361-d0f8ce41b74637bf.js +1 -0
  111. package/.next/static/chunks/900-3bd4de40e69579da.js +1 -0
  112. package/.next/static/chunks/app/[connectionId]/[schema]/[table]/page-b08fade19a53bd13.js +1 -0
  113. package/.next/static/chunks/app/[connectionId]/diff/page-794180465d38394e.js +10 -0
  114. package/.next/static/chunks/app/[connectionId]/layout-d990f4312947106b.js +1 -0
  115. package/.next/static/chunks/app/[connectionId]/migrations/[setId]/page-31589bfe4aa9fc68.js +1 -0
  116. package/.next/static/chunks/app/[connectionId]/migrations/page-e99de6630bfec654.js +1 -0
  117. package/.next/static/chunks/app/[connectionId]/page-a245bfbd8b3eb8a7.js +1 -0
  118. package/.next/static/chunks/app/[connectionId]/query/page-3955d207f27aefa9.js +1 -0
  119. package/.next/static/chunks/app/_global-error/page-474f91618aaa4c39.js +1 -0
  120. package/.next/static/chunks/app/api/activity/route-474f91618aaa4c39.js +1 -0
  121. package/.next/static/chunks/app/api/adopt/route-474f91618aaa4c39.js +1 -0
  122. package/.next/static/chunks/app/api/cell/route-474f91618aaa4c39.js +1 -0
  123. package/.next/static/chunks/app/api/definition/route-474f91618aaa4c39.js +1 -0
  124. package/.next/static/chunks/app/api/delete-rows/route-474f91618aaa4c39.js +1 -0
  125. package/.next/static/chunks/app/api/health/route-474f91618aaa4c39.js +1 -0
  126. package/.next/static/chunks/app/api/insert-row/route-474f91618aaa4c39.js +1 -0
  127. package/.next/static/chunks/app/api/ledger/route-474f91618aaa4c39.js +1 -0
  128. package/.next/static/chunks/app/api/lookup/route-474f91618aaa4c39.js +1 -0
  129. package/.next/static/chunks/app/api/migrate/route-474f91618aaa4c39.js +1 -0
  130. package/.next/static/chunks/app/api/query/route-474f91618aaa4c39.js +1 -0
  131. package/.next/static/chunks/app/api/related/route-474f91618aaa4c39.js +1 -0
  132. package/.next/static/chunks/app/api/repo/route-474f91618aaa4c39.js +1 -0
  133. package/.next/static/chunks/app/api/rows/route-474f91618aaa4c39.js +1 -0
  134. package/.next/static/chunks/app/api/schema/route-474f91618aaa4c39.js +1 -0
  135. package/.next/static/chunks/app/api/tables/route-474f91618aaa4c39.js +1 -0
  136. package/.next/static/chunks/app/api/update-row/route-474f91618aaa4c39.js +1 -0
  137. package/.next/static/chunks/app/layout-e3fdecae5544dc60.js +1 -0
  138. package/.next/static/chunks/app/page-c487da327ada2a6d.js +2 -0
  139. package/.next/static/chunks/f97e080b-53d22dc5d0e78dfd.js +1 -0
  140. package/.next/static/chunks/next/dist/client/components/builtin/app-error-474f91618aaa4c39.js +1 -0
  141. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-474f91618aaa4c39.js +1 -0
  142. package/.next/static/chunks/next/dist/client/components/builtin/not-found-474f91618aaa4c39.js +1 -0
  143. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-474f91618aaa4c39.js +1 -0
  144. package/.next/static/css/962dd5ab002fed8a.css +1 -0
  145. package/README.md +35 -6
  146. package/package.json +2 -2
  147. package/.next/server/chunks/25.js +0 -1
  148. package/.next/server/chunks/391.js +0 -1
  149. package/.next/server/chunks/400.js +0 -1
  150. package/.next/server/chunks/702.js +0 -1
  151. package/.next/server/chunks/792.js +0 -1
  152. package/.next/server/chunks/907.js +0 -29
  153. package/.next/static/_G44c2d2nyq6S1KEvNgOB/_buildManifest.js +0 -1
  154. package/.next/static/chunks/1528-3257b0cb7a73dd8b.js +0 -1
  155. package/.next/static/chunks/3123-5b058e55010e138a.js +0 -1
  156. package/.next/static/chunks/4100-7151c91ac47f0e66.js +0 -1
  157. package/.next/static/chunks/5541-28b0ead901dee457.js +0 -1
  158. package/.next/static/chunks/6091-de8d2e51b0196435.js +0 -1
  159. package/.next/static/chunks/6842-c2831fd548ae657c.js +0 -1
  160. package/.next/static/chunks/7449-d0483bbc0f0fec63.js +0 -1
  161. package/.next/static/chunks/8322-b1154a96547c860d.js +0 -1
  162. package/.next/static/chunks/8360-5a3ba00eb4ee0720.js +0 -1
  163. package/.next/static/chunks/8651-f7ba864bc5a5b128.js +0 -1
  164. package/.next/static/chunks/9680-3eeb0b7b44c6cab3.js +0 -1
  165. package/.next/static/chunks/app/[connectionId]/[schema]/[table]/page-f2f42daf21a075f2.js +0 -1
  166. package/.next/static/chunks/app/[connectionId]/diff/page-f3262f6929e005e0.js +0 -10
  167. package/.next/static/chunks/app/[connectionId]/layout-237a770e53d2a6ef.js +0 -1
  168. package/.next/static/chunks/app/[connectionId]/migrations/[setId]/page-483afd7dc1a64119.js +0 -1
  169. package/.next/static/chunks/app/[connectionId]/migrations/page-95a09bbb4f26ebb2.js +0 -1
  170. package/.next/static/chunks/app/[connectionId]/page-6dcee1a99ffdd27c.js +0 -1
  171. package/.next/static/chunks/app/[connectionId]/query/page-a0a9cc495d3aa710.js +0 -1
  172. package/.next/static/chunks/app/_global-error/page-6dcee1a99ffdd27c.js +0 -1
  173. package/.next/static/chunks/app/api/activity/route-6dcee1a99ffdd27c.js +0 -1
  174. package/.next/static/chunks/app/api/cell/route-6dcee1a99ffdd27c.js +0 -1
  175. package/.next/static/chunks/app/api/definition/route-6dcee1a99ffdd27c.js +0 -1
  176. package/.next/static/chunks/app/api/delete-rows/route-6dcee1a99ffdd27c.js +0 -1
  177. package/.next/static/chunks/app/api/health/route-6dcee1a99ffdd27c.js +0 -1
  178. package/.next/static/chunks/app/api/insert-row/route-6dcee1a99ffdd27c.js +0 -1
  179. package/.next/static/chunks/app/api/ledger/route-6dcee1a99ffdd27c.js +0 -1
  180. package/.next/static/chunks/app/api/lookup/route-6dcee1a99ffdd27c.js +0 -1
  181. package/.next/static/chunks/app/api/migrate/route-6dcee1a99ffdd27c.js +0 -1
  182. package/.next/static/chunks/app/api/query/route-6dcee1a99ffdd27c.js +0 -1
  183. package/.next/static/chunks/app/api/related/route-6dcee1a99ffdd27c.js +0 -1
  184. package/.next/static/chunks/app/api/rows/route-6dcee1a99ffdd27c.js +0 -1
  185. package/.next/static/chunks/app/api/schema/route-6dcee1a99ffdd27c.js +0 -1
  186. package/.next/static/chunks/app/api/tables/route-6dcee1a99ffdd27c.js +0 -1
  187. package/.next/static/chunks/app/api/update-row/route-6dcee1a99ffdd27c.js +0 -1
  188. package/.next/static/chunks/app/layout-dd332a9583f47cd6.js +0 -1
  189. package/.next/static/chunks/app/page-b582d36c1b014a02.js +0 -2
  190. package/.next/static/chunks/next/dist/client/components/builtin/app-error-6dcee1a99ffdd27c.js +0 -1
  191. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-6dcee1a99ffdd27c.js +0 -1
  192. package/.next/static/chunks/next/dist/client/components/builtin/not-found-6dcee1a99ffdd27c.js +0 -1
  193. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-6dcee1a99ffdd27c.js +0 -1
  194. package/.next/static/css/7bb8868c12384025.css +0 -1
  195. /package/.next/static/{_G44c2d2nyq6S1KEvNgOB → KSnyCCtuopUbqXHmuoiqW}/_ssgManifest.js +0 -0
@@ -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","../../../../../package.json","../../../../chunks/25.js","../../../../chunks/391.js","../../../../chunks/400.js","../../../../chunks/430.js","../../../../chunks/458.js","../../../../chunks/593.js","../../../../chunks/729.js","../../../../chunks/741.js","../../../../chunks/792.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
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","../../../../../package.json","../../../../chunks/202.js","../../../../chunks/421.js","../../../../chunks/430.js","../../../../chunks/566.js","../../../../chunks/593.js","../../../../chunks/729.js","../../../../chunks/741.js","../../../../chunks/802.js","../../../../chunks/928.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[connectionId]/[schema]/[table]/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":["8651","static/chunks/8651-f7ba864bc5a5b128.js","8360","static/chunks/8360-5a3ba00eb4ee0720.js","8500","static/chunks/8500-01a63dafd809e317.js","6842","static/chunks/6842-c2831fd548ae657c.js","8322","static/chunks/8322-b1154a96547c860d.js","1528","static/chunks/1528-3257b0cb7a73dd8b.js","6091","static/chunks/6091-de8d2e51b0196435.js","7123","static/chunks/app/%5BconnectionId%5D/layout-237a770e53d2a6ef.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":32971,"name":"*","chunks":["6079","static/chunks/363642f4-681bfd753af22ae9.js","8651","static/chunks/8651-f7ba864bc5a5b128.js","8360","static/chunks/8360-5a3ba00eb4ee0720.js","6842","static/chunks/6842-c2831fd548ae657c.js","9680","static/chunks/9680-3eeb0b7b44c6cab3.js","4100","static/chunks/4100-7151c91ac47f0e66.js","1528","static/chunks/1528-3257b0cb7a73dd8b.js","3123","static/chunks/3123-5b058e55010e138a.js","5521","static/chunks/app/%5BconnectionId%5D/%5Bschema%5D/%5Btable%5D/page-f2f42daf21a075f2.js"],"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/7bb8868c12384025.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/[schema]/[table]/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":{}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[connectionId]/[schema]/[table]/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}},"32971":{"*":{"id":"94488","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"53371","name":"*","chunks":[],"async":false}},"39049":{"*":{"id":"58963","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"8419","name":"*","chunks":[],"async":false}},"52096":{"*":{"id":"20836","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}},"69063":{"*":{"id":"81040","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}}},"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-53d22dc5d0e78dfd.js","1731","static/chunks/1731-6dec4b981289174f.js","900","static/chunks/900-3bd4de40e69579da.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8500","static/chunks/8500-01a63dafd809e317.js","649","static/chunks/649-a1f6ba42883ab7ce.js","7893","static/chunks/7893-4515c42324443f01.js","8974","static/chunks/app/page-c487da327ada2a6d.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":37875,"name":"*","chunks":["4506","static/chunks/f97e080b-53d22dc5d0e78dfd.js","1731","static/chunks/1731-6dec4b981289174f.js","900","static/chunks/900-3bd4de40e69579da.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8500","static/chunks/8500-01a63dafd809e317.js","8322","static/chunks/8322-ed3deecf058cc11c.js","649","static/chunks/649-a1f6ba42883ab7ce.js","6996","static/chunks/6996-45e967f18861b87e.js","7893","static/chunks/7893-4515c42324443f01.js","7123","static/chunks/app/%5BconnectionId%5D/layout-d990f4312947106b.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/table/table-view.tsx":{"id":32971,"name":"*","chunks":["4506","static/chunks/f97e080b-53d22dc5d0e78dfd.js","6079","static/chunks/363642f4-681bfd753af22ae9.js","1731","static/chunks/1731-6dec4b981289174f.js","900","static/chunks/900-3bd4de40e69579da.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8500","static/chunks/8500-01a63dafd809e317.js","4029","static/chunks/4029-abdeb362648dd921.js","1656","static/chunks/1656-2ef431c507f0f186.js","649","static/chunks/649-a1f6ba42883ab7ce.js","6996","static/chunks/6996-45e967f18861b87e.js","1715","static/chunks/1715-206f291fde410bf6.js","5521","static/chunks/app/%5BconnectionId%5D/%5Bschema%5D/%5Btable%5D/page-b08fade19a53bd13.js"],"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/migrations/migration-detail.tsx":{"id":52096,"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/explorer/connection-home.tsx":{"id":21890,"name":"*","chunks":["1731","static/chunks/1731-6dec4b981289174f.js","2336","static/chunks/app/%5BconnectionId%5D/page-a245bfbd8b3eb8a7.js"],"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/962dd5ab002fed8a.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/[schema]/[table]/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}},"32971":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"39049":{"*":{"id":"2781","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"19933","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"52096":{"*":{"id":"97182","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}},"69063":{"*":{"id":"99432","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}}},"edgeRscModuleMapping":{}};
@@ -1,10 +1,10 @@
1
- (()=>{var a={};a.id=194,a.ids=[194],a.modules={357:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>s,handler:()=>u,routeModule:()=>t});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=(0,d.p)(()=>Promise.resolve().then(c.bind(c,1777))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),q={children:["",{children:["[connectionId]",{children:["diff",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,38630))),"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/diff/page.tsx"]}]},{"global-error":[p,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout.tsx"],"global-error":[o,"next/dist/client/components/builtin/global-error.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}},["_not-found","_global-error","api","favicon.ico","icon.svg"]]},{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,r=(0,e.H)({tree:q,page:"/[connectionId]/diff/page",pathname:"/[connectionId]/diff",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),s=r.__next_app__,t=r.routeModule,u=r.handler},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},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")},13367:(a,b,c)=>{"use strict";c.d(b,{os:()=>u,iX:()=>v,mw:()=>t});var d=c(48249),e=c(67484),f=c(35471),g=c(20878),h=c(25297),i=c(13656);let j=new Set(["add","all","alter","always","and","as","asc","authorization","between","by","cascade","case","cast","check","collate","column","concurrently","constraint","create","cross","current","default","deferrable","deferred","delete","desc","distinct","drop","else","end","except","exclude","exists","false","foreign","from","full","generated","grant","group","having","identity","if","ilike","immediate","in","include","index","inherits","inner","instead","intersect","into","is","join","key","lateral","left","like","limit","match","materialized","natural","no","not","null","nulls","of","offset","on","only","or","order","outer","over","partition","primary","references","replace","restrict","returning","right","select","server","set","stored","table","temp","temporary","then","time","to","trigger","true","union","unique","unlogged","update","using","values","view","when","where","window","with","without","zone"]);function k(a){let b=[],c=0;for(;c<a.length;){let d=a[c];if(!d)break;if(n(d)){let d=c;for(c+=1;c<a.length&&n(a[c]);)c+=1;b.push({kind:"text",value:a.slice(d,c)});continue}if("-"===d&&"-"===a[c+1]){let d=c;for(c+=2;c<a.length&&"\n"!==a[c];)c+=1;b.push({kind:"comment",value:a.slice(d,c)});continue}if("/"===d&&"*"===a[c+1]){let d=a.indexOf("*/",c+2),e=-1===d?a.length:d+2;b.push({kind:"comment",value:a.slice(c,e)}),c=e;continue}if("$"===d){let d=function(a,b){if("$"!==a[b])return null;let c=b+1;for(;c<a.length&&q(a[c]);)c+=1;return"$"!==a[c]?null:a.slice(b,c+1)}(a,c);if(d){let e=c+d.length,f=a.indexOf(d,e),g=-1===f?a.length:f+d.length;b.push({kind:"string",value:a.slice(c,g)}),c=g;continue}}if('"'===d){c=m(a,c,'"',"ident",b);continue}if("'"===d){c=m(a,c,"'","string",b);continue}if(o(d)||"."===d&&o(a[c+1])){let d=c;c=function(a,b){let c=b;for("."===a[c]&&(c+=1);c<a.length&&o(a[c]);)c+=1;if("."===a[c]&&o(a[c+1]))for(c+=1;c<a.length&&o(a[c]);)c+=1;if("e"===a[c]||"E"===a[c]){let b=c+1;if(("+"===a[b]||"-"===a[b])&&(b+=1),o(a[b]))for(c=b;c<a.length&&o(a[c]);)c+=1}return c}(a,c),b.push({kind:"number",value:a.slice(d,c)});continue}if(p(d)){let d=c;for(c+=1;c<a.length&&q(a[c]);)c+=1;let e=a.slice(d,c);b.push({kind:function(a,b,c){let d=b.toLowerCase();if(j.has(d))return"keyword";let e=c;for(;e<a.length&&(" "===a[e]||" "===a[e]);)e+=1;return"("===a[e]?"function":"ident"}(a,e,c),value:e});continue}b.push({kind:"text",value:d}),c+=1}return b}function l(a){let b=[[]];for(let c of a){let a=c.value.split("\n");for(let d=0;d<a.length;d+=1){d>0&&b.push([]);let e=a[d],f=b[b.length-1];e&&f&&f.push({kind:c.kind,value:e})}}return b}function m(a,b,c,d,e){let f=b+1;for(;f<a.length;){if(a[f]===c){if(a[f+1]===c){f+=2;continue}f+=1;break}f+=1}return e.push({kind:d,value:a.slice(b,f)}),f}function n(a){return" "===a||" "===a||"\n"===a||"\r"===a}function o(a){return void 0!==a&&a>="0"&&a<="9"}function p(a){return void 0!==a&&(a>="A"&&a<="Z"||a>="a"&&a<="z"||"_"===a)}function q(a){return p(a)||o(a)||"$"===a}var r=c(14490);function s({tokens:a}){return a.map((a,b)=>(0,d.jsx)("span",{className:function(a){switch(a){case"keyword":return"text-sky-700 dark:text-sky-400";case"function":return"text-violet-700 dark:text-fuchsia-400";case"ident":return"text-foreground";case"string":case"number":return"text-amber-700 dark:text-amber-300";case"comment":return"text-muted-foreground";case"text":return"text-foreground/80";default:return a}}(a.kind),children:a.value},b))}async function t(a){try{await navigator.clipboard.writeText(a);return}catch{let b=document.createElement("textarea");b.value=a,b.style.position="fixed",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}}function u({sql:a,className:b}){let c=(0,e.useMemo)(()=>l(k(a.trimEnd())),[a]);return(0,d.jsx)("pre",{className:(0,r.cn)("overflow-x-auto font-mono text-[12px] leading-5 whitespace-pre",b),children:(0,d.jsx)("code",{children:c.map((a,b)=>(0,d.jsx)("div",{className:"min-h-5",children:(0,d.jsx)(s,{tokens:a})},b))})})}function v({sql:a,error:b,loading:c,actions:j}){let[m,n]=(0,e.useState)(!1),o=(0,e.useMemo)(()=>a?l(k(a.trimEnd())):[],[a]);if(b)return(0,d.jsx)("p",{className:"flex-1 px-4 py-6 font-mono text-xs text-destructive",children:b});if(!a||c&&0===o.length)return(0,d.jsx)("div",{className:"flex flex-col gap-2 p-4",children:Array.from({length:16},(a,b)=>(0,d.jsx)(i.E,{className:"h-4 w-full"},b))});async function p(){a&&(await t(a),n(!0),window.setTimeout(()=>n(!1),1500))}let q=`${Math.max(String(o.length).length,2)+1}ch`;return(0,d.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col","data-sql-source":"",children:[(0,d.jsxs)("div",{className:"flex shrink-0 items-center justify-end gap-2 px-3 py-1",children:[j,(0,d.jsxs)(h.$,{type:"button",variant:"ghost",size:"sm",onClick:()=>void p(),children:[m?(0,d.jsx)(f.A,{"data-icon":"inline-start"}):(0,d.jsx)(g.A,{"data-icon":"inline-start"}),m?"Copied":"Copy SQL"]})]}),(0,d.jsx)("div",{className:(0,r.cn)("min-h-0 flex-1 overflow-auto",c&&"opacity-60"),children:(0,d.jsx)("pre",{className:"min-w-max px-4 pb-4 font-mono text-[13px] leading-6",children:o.map((a,b)=>(0,d.jsxs)("div",{className:"flex min-h-6",children:[(0,d.jsx)("span",{className:"sticky left-0 shrink-0 bg-background pr-4 text-right text-muted-foreground/45 select-none",style:{width:q},children:b+1}),(0,d.jsx)("code",{className:"pr-8 whitespace-pre",children:(0,d.jsx)(s,{tokens:a})})]},b))})})]})}},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},20878:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(41926).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},27993:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(41926).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},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")},37654:(a,b,c)=>{"use strict";c.d(b,{x:()=>f});var d=c(48249),e=c(14490);function f({value:a,options:b,onChange:c,label:g}){return(0,d.jsx)("div",{role:"group","aria-label":g,className:"flex h-7 items-center rounded-md border bg-muted/50 p-0.5",children:b.map(b=>(0,d.jsx)("button",{type:"button","aria-pressed":b.value===a,onClick:()=>c(b.value),className:(0,e.cn)("h-full rounded-sm px-2 text-xs transition-colors",b.value===a?"bg-background text-foreground shadow-xs":"text-muted-foreground hover:text-foreground"),children:b.label},b.value))})}},38522:a=>{"use strict";a.exports=require("node:zlib")},38630:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(5735),e=c(58977);function f(){return(0,d.jsx)(e.SchemaDiffView,{})}},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")},53534:(a,b,c)=>{"use strict";c.d(b,{SchemaDiffView:()=>ah});var d=c(48249),e=c(2116),f=c.n(e),g=c(19099),h=c(67484),i=c(41926);let j=(0,i.A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),k=(0,i.A)("arrow-right-left",[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]);var l=c(27993),m=c(29813),n=c(57684),o=c(15386),p=c(89216),q=c(99646),r=c(30770),s=c(44231),t=c(79820),u=c(13367),v=c(25297),w=c(82244),x=c(88877),y=c(37654),z=c(53286),A=c(13656),B=c(20886),C=c(21883);function D(a){return`"${a.replace(/"/g,'""')}"`}function E(a){return`${D(a.schema)}.${D(a.name)}`}function F(a){return E({schema:a.schema,name:a.name})}let G={smallint:"smallserial",integer:"serial",bigint:"bigserial"};function H(a){return/^\s*FOREIGN KEY/i.test(a)}function I(a,b){let c=function(a,b){if(!b||a.nullable||a.identity||null!==a.generated)return null;let c=G[a.type];if(!c||null===a.default)return null;let d=/^nextval\('([^']+)'::regclass\)$/.exec(a.default);return d?.[1]?.split(".").pop()?.replace(/"/g,"")===`${b}_${a.name}_seq`?c:null}(a,b);if(c)return`${D(a.name)} ${c}`;let d=[D(a.name),a.type];return(a.collation&&d.push("COLLATE",D(a.collation)),null!==a.generated)?(d.push("GENERATED ALWAYS AS",`(${a.generated})`,"STORED"),a.nullable||d.push("NOT NULL")):(a.nullable||d.push("NOT NULL"),a.identity?d.push(`GENERATED ${a.identity} AS IDENTITY`):null!==a.default&&d.push("DEFAULT",a.default)),d.join(" ")}function J(a){let b=a.labels.map(a=>`'${a.replace(/'/g,"''")}'`).join(", ");return`CREATE TYPE ${F(a)} AS ENUM (${b});`}function K(a){var b,c;let d,e,f;if("view"===a.kind||"materialized view"===a.kind)return L(a);let g=[...a.columns.map(b=>I(b,a.name)),...a.constraints.filter(a=>!H(a.sql)).map(a=>`CONSTRAINT ${D(a.name)} ${a.sql}`)],h=(d=(b=a).unlogged?"UNLOGGED ":"",e=F(b),"foreign table"===b.kind?`CREATE FOREIGN TABLE ${e}`:b.partitionOf?`CREATE ${d}TABLE ${e} PARTITION OF ${E(b.partitionOf.parent)}`:`CREATE ${d}TABLE ${e}`),i=(f=[],(c=a).partitionOf&&f.push(` ${c.partitionOf.bound}`),c.partitionBy&&f.push(` PARTITION BY ${c.partitionBy}`),f.join(""));if(a.partitionOf||0===g.length)return`${h}${i};`;let j=g.map(a=>` ${a}`).join(",\n");return`${h} (
1
+ (()=>{var a={};a.id=194,a.ids=[194],a.modules={3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},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")},13367:(a,b,c)=>{"use strict";c.d(b,{os:()=>t,iX:()=>u,mw:()=>s});var d=c(48249),e=c(67484),f=c(23171),g=c(25297),h=c(13656);let i=new Set(["add","all","alter","always","and","as","asc","authorization","between","by","cascade","case","cast","check","collate","column","concurrently","constraint","create","cross","current","default","deferrable","deferred","delete","desc","distinct","drop","else","end","except","exclude","exists","false","foreign","from","full","generated","grant","group","having","identity","if","ilike","immediate","in","include","index","inherits","inner","instead","intersect","into","is","join","key","lateral","left","like","limit","match","materialized","natural","no","not","null","nulls","of","offset","on","only","or","order","outer","over","partition","primary","references","replace","restrict","returning","right","select","server","set","stored","table","temp","temporary","then","time","to","trigger","true","union","unique","unlogged","update","using","values","view","when","where","window","with","without","zone"]);function j(a){let b=[],c=0;for(;c<a.length;){let d=a[c];if(!d)break;if(m(d)){let d=c;for(c+=1;c<a.length&&m(a[c]);)c+=1;b.push({kind:"text",value:a.slice(d,c)});continue}if("-"===d&&"-"===a[c+1]){let d=c;for(c+=2;c<a.length&&"\n"!==a[c];)c+=1;b.push({kind:"comment",value:a.slice(d,c)});continue}if("/"===d&&"*"===a[c+1]){let d=a.indexOf("*/",c+2),e=-1===d?a.length:d+2;b.push({kind:"comment",value:a.slice(c,e)}),c=e;continue}if("$"===d){let d=function(a,b){if("$"!==a[b])return null;let c=b+1;for(;c<a.length&&p(a[c]);)c+=1;return"$"!==a[c]?null:a.slice(b,c+1)}(a,c);if(d){let e=c+d.length,f=a.indexOf(d,e),g=-1===f?a.length:f+d.length;b.push({kind:"string",value:a.slice(c,g)}),c=g;continue}}if('"'===d){c=l(a,c,'"',"ident",b);continue}if("'"===d){c=l(a,c,"'","string",b);continue}if(n(d)||"."===d&&n(a[c+1])){let d=c;c=function(a,b){let c=b;for("."===a[c]&&(c+=1);c<a.length&&n(a[c]);)c+=1;if("."===a[c]&&n(a[c+1]))for(c+=1;c<a.length&&n(a[c]);)c+=1;if("e"===a[c]||"E"===a[c]){let b=c+1;if(("+"===a[b]||"-"===a[b])&&(b+=1),n(a[b]))for(c=b;c<a.length&&n(a[c]);)c+=1}return c}(a,c),b.push({kind:"number",value:a.slice(d,c)});continue}if(o(d)){let d=c;for(c+=1;c<a.length&&p(a[c]);)c+=1;let e=a.slice(d,c);b.push({kind:function(a,b,c){let d=b.toLowerCase();if(i.has(d))return"keyword";let e=c;for(;e<a.length&&(" "===a[e]||" "===a[e]);)e+=1;return"("===a[e]?"function":"ident"}(a,e,c),value:e});continue}b.push({kind:"text",value:d}),c+=1}return b}function k(a){let b=[[]];for(let c of a){let a=c.value.split("\n");for(let d=0;d<a.length;d+=1){d>0&&b.push([]);let e=a[d],f=b[b.length-1];e&&f&&f.push({kind:c.kind,value:e})}}return b}function l(a,b,c,d,e){let f=b+1;for(;f<a.length;){if(a[f]===c){if(a[f+1]===c){f+=2;continue}f+=1;break}f+=1}return e.push({kind:d,value:a.slice(b,f)}),f}function m(a){return" "===a||" "===a||"\n"===a||"\r"===a}function n(a){return void 0!==a&&a>="0"&&a<="9"}function o(a){return void 0!==a&&(a>="A"&&a<="Z"||a>="a"&&a<="z"||"_"===a)}function p(a){return o(a)||n(a)||"$"===a}var q=c(14490);function r({tokens:a}){return a.map((a,b)=>(0,d.jsx)("span",{className:function(a){switch(a){case"keyword":return"text-sky-700 dark:text-sky-400";case"function":return"text-violet-700 dark:text-fuchsia-400";case"ident":return"text-foreground";case"string":case"number":return"text-amber-700 dark:text-amber-300";case"comment":return"text-muted-foreground";case"text":return"text-foreground/80";default:return a}}(a.kind),children:a.value},b))}async function s(a){try{await navigator.clipboard.writeText(a);return}catch{let b=document.createElement("textarea");b.value=a,b.style.position="fixed",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}}function t({sql:a,className:b}){let c=(0,e.useMemo)(()=>k(j(a.trimEnd())),[a]);return(0,d.jsx)("pre",{className:(0,q.cn)("overflow-x-auto font-mono text-[12px] leading-5 whitespace-pre",b),children:(0,d.jsx)("code",{children:c.map((a,b)=>(0,d.jsx)("div",{className:"min-h-5",children:(0,d.jsx)(r,{tokens:a})},b))})})}function u({sql:a,error:b,loading:c,actions:i}){let[l,m]=(0,e.useState)(!1),n=(0,e.useMemo)(()=>a?k(j(a.trimEnd())):[],[a]);if(b)return(0,d.jsx)("p",{className:"flex-1 px-4 py-6 font-mono text-xs text-destructive",children:b});if(!a||c&&0===n.length)return(0,d.jsx)("div",{className:"flex flex-col gap-2 p-4",children:Array.from({length:16},(a,b)=>(0,d.jsx)(h.E,{className:"h-4 w-full"},b))});async function o(){a&&(await s(a),m(!0),window.setTimeout(()=>m(!1),1500))}let p=`${Math.max(String(n.length).length,2)+1}ch`;return(0,d.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col","data-sql-source":"",children:[(0,d.jsxs)("div",{className:"flex shrink-0 items-center justify-end gap-2 px-3 py-1",children:[i,(0,d.jsxs)(g.$,{type:"button",variant:"ghost",size:"sm",onClick:()=>void o(),children:[l?(0,d.jsx)(f.wiW,{"data-icon":"inline-start"}):(0,d.jsx)(f.hX7,{"data-icon":"inline-start"}),l?"Copied":"Copy SQL"]})]}),(0,d.jsx)("div",{className:(0,q.cn)("min-h-0 flex-1 overflow-auto",c&&"opacity-60"),children:(0,d.jsx)("pre",{className:"min-w-max px-4 pb-4 font-mono text-[13px] leading-6",children:n.map((a,b)=>(0,d.jsxs)("div",{className:"flex min-h-6",children:[(0,d.jsx)("span",{className:"sticky left-0 shrink-0 bg-background pr-4 text-right text-muted-foreground/45 select-none",style:{width:p},children:b+1}),(0,d.jsx)("code",{className:"pr-8 whitespace-pre",children:(0,d.jsx)(r,{tokens:a})})]},b))})})]})}},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")},33833:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>s,handler:()=>u,routeModule:()=>t});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=(0,d.p)(()=>Promise.resolve().then(c.bind(c,1777))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),q={children:["",{children:["[connectionId]",{children:["diff",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,38630))),"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/diff/page.tsx"]}]},{"global-error":[p,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout.tsx"],"global-error":[o,"next/dist/client/components/builtin/global-error.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}},["_not-found","_global-error","api","favicon.ico","icon.svg"]]},{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,r=(0,e.H)({tree:q,page:"/[connectionId]/diff/page",pathname:"/[connectionId]/diff",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),s=r.__next_app__,t=r.routeModule,u=r.handler},33873:a=>{"use strict";a.exports=require("path")},37654:(a,b,c)=>{"use strict";c.d(b,{x:()=>f});var d=c(48249),e=c(14490);function f({value:a,options:b,onChange:c,label:g}){return(0,d.jsx)("div",{role:"group","aria-label":g,className:"flex h-7 items-center rounded-md border bg-muted/50 p-0.5",children:b.map(b=>(0,d.jsx)("button",{type:"button","aria-pressed":b.value===a,onClick:()=>c(b.value),className:(0,e.cn)("h-full rounded-sm px-2 text-xs transition-colors",b.value===a?"bg-background text-foreground shadow-xs":"text-muted-foreground hover:text-foreground"),children:b.label},b.value))})}},38522:a=>{"use strict";a.exports=require("node:zlib")},38630:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(5735),e=c(58977);function f(){return(0,d.jsx)(e.SchemaDiffView,{})}},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")},58977:(a,b,c)=>{"use strict";c.d(b,{SchemaDiffView:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call SchemaDiffView() from the server but SchemaDiffView is 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/components/diff/schema-diff-view.tsx","SchemaDiffView")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66659:(a,b,c)=>{Promise.resolve().then(c.bind(c,70344))},70344:(a,b,c)=>{"use strict";c.d(b,{SchemaDiffView:()=>$});var d=c(48249),e=c(2116),f=c.n(e),g=c(19099),h=c(67484),i=c(23171),j=c(30770),k=c(44231),l=c(86229),m=c(79820),n=c(13367),o=c(25297),p=c(82244),q=c(37654),r=c(53286),s=c(1814),t=c(13656),u=c(20886),v=c(21883);function w(a){return`"${a.replace(/"/g,'""')}"`}function x(a){return`${w(a.schema)}.${w(a.name)}`}function y(a){return x({schema:a.schema,name:a.name})}let z={smallint:"smallserial",integer:"serial",bigint:"bigserial"};function A(a){return/^\s*FOREIGN KEY/i.test(a)}function B(a,b){let c=function(a,b){if(!b||a.nullable||a.identity||null!==a.generated)return null;let c=z[a.type];if(!c||null===a.default)return null;let d=/^nextval\('([^']+)'::regclass\)$/.exec(a.default);return d?.[1]?.split(".").pop()?.replace(/"/g,"")===`${b}_${a.name}_seq`?c:null}(a,b);if(c)return`${w(a.name)} ${c}`;let d=[w(a.name),a.type];return(a.collation&&d.push("COLLATE",w(a.collation)),null!==a.generated)?(d.push("GENERATED ALWAYS AS",`(${a.generated})`,"STORED"),a.nullable||d.push("NOT NULL")):(a.nullable||d.push("NOT NULL"),a.identity?d.push(`GENERATED ${a.identity} AS IDENTITY`):null!==a.default&&d.push("DEFAULT",a.default)),d.join(" ")}function C(a){let b=a.labels.map(a=>`'${a.replace(/'/g,"''")}'`).join(", ");return`CREATE TYPE ${y(a)} AS ENUM (${b});`}function D(a){var b,c;let d,e,f;if("view"===a.kind||"materialized view"===a.kind)return E(a);let g=[...a.columns.map(b=>B(b,a.name)),...a.constraints.filter(a=>!A(a.sql)).map(a=>`CONSTRAINT ${w(a.name)} ${a.sql}`)],h=(d=(b=a).unlogged?"UNLOGGED ":"",e=y(b),"foreign table"===b.kind?`CREATE FOREIGN TABLE ${e}`:b.partitionOf?`CREATE ${d}TABLE ${e} PARTITION OF ${x(b.partitionOf.parent)}`:`CREATE ${d}TABLE ${e}`),i=(f=[],(c=a).partitionOf&&f.push(` ${c.partitionOf.bound}`),c.partitionBy&&f.push(` PARTITION BY ${c.partitionBy}`),f.join(""));if(a.partitionOf||0===g.length)return`${h}${i};`;let j=g.map(a=>` ${a}`).join(",\n");return`${h} (
2
2
  ${j}
3
- )${i};`}function L(a){let b="materialized view"===a.kind?"MATERIALIZED VIEW":"VIEW",c=a.viewSql?.trim()??"SELECT NULL";return`CREATE ${b} ${F(a)} AS
4
- ${c};`}function M(a,b){return N(a)===N(b)}function N(a){return(a??"").replace(/\s+/g," ").trim()}let O={extension:0,schema:1,enum:2,relation:3,function:4};function P(a,b,c){let d=new Map;for(let b of a)d.set(c(b),{key:c(b),source:b});for(let a of b){let b=d.get(c(a));b?b.target=a:d.set(c(a),{key:c(a),target:a})}return[...d.values()].sort((a,b)=>a.key.localeCompare(b.key))}function Q(a,b,c){return{id:`${a}:value:${b}`,group:"value",name:b,status:c,source:"added"===c?b:null,target:"removed"===c?b:null}}function R(a,b,c,d){return P(c,d,a=>a.name).flatMap(c=>c.source&&c.target&&M(c.source.sql,c.target.sql)?[]:[{id:`${a}:${b}:${c.key}`,group:b,name:c.key,status:T(c),source:c.source?.sql??null,target:c.target?.sql??null}])}function S(a,b,c,d){return{id:`${a}:property:${b}`,group:"property",name:b,status:"modified",source:c,target:d}}function T(a){return a.source&&a.target?"modified":a.source?"added":"removed"}let U=[{id:"extension",title:"Extensions"},{id:"schema",title:"Schemas"},{id:"enum",title:"Types"},{id:"table",title:"New tables"},{id:"constraint",title:"Foreign keys"},{id:"alter",title:"Table changes"},{id:"view",title:"Views"},{id:"function",title:"Functions"},{id:"trigger",title:"Triggers"}];function V(a){return[`-- ${a.title}`,...a.lines].join("\n")}function W(a){let b=a.trim();return b.endsWith(";")?b:`${b};`}var X=c(99598),Y=c(14490),Z=c(91995);let $=(0,i.A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),_={extension:"Extensions",schema:"Schemas",enum:"Types",relation:"Tables & views",function:"Functions"},aa={added:"+",removed:"−",modified:"~"},ab={added:"bg-emerald-500/15 text-emerald-700 dark:text-emerald-400",removed:"bg-rose-500/15 text-rose-700 dark:text-rose-400",modified:"bg-amber-500/15 text-amber-700 dark:text-amber-400"},ac={column:["column","columns"],constraint:["constraint","constraints"],index:["index","indexes"],trigger:["trigger","triggers"],definition:["body","body"],property:["property","properties"],value:["value","values"]};function ad({objects:a,sourceName:b,targetName:c,expanded:e,onToggle:f,tableHref:g}){let h=function(a){let b=new Map;for(let c of a)b.set(c.category,[...b.get(c.category)??[],c]);return[...b.entries()]}(a);return(0,d.jsx)("div",{className:"pb-6",children:h.map(([a,h])=>(0,d.jsxs)("section",{children:[(0,d.jsxs)("h2",{className:"sticky top-0 z-10 flex items-center gap-2 border-b bg-background/95 px-4 py-1.5 text-xs font-medium text-muted-foreground backdrop-blur",children:[_[a],(0,d.jsx)("span",{className:"tabular-nums opacity-60",children:h.length})]}),(0,d.jsx)("ul",{children:h.map(a=>(0,d.jsx)(ae,{object:a,sourceName:b,targetName:c,open:e.includes(a.id),onToggle:()=>f(a.id),href:g(a)},a.id))})]},a))})}function ae({object:a,sourceName:b,targetName:c,open:e,onToggle:g,href:h}){var i,j,k;let l=0===a.details.length?function(a){switch(a.category){case"relation":{let b=a.source??a.target;return b?K(b):null}case"enum":{let b=a.source??a.target;return b?J(b):null}case"function":{let b=a.source??a.target;return b?b.sql:null}case"extension":{let b=a.source??a.target;return b?`CREATE EXTENSION IF NOT EXISTS ${D(b.name)} WITH SCHEMA ${D(b.schema)};`:null}case"schema":return`CREATE SCHEMA ${D(a.name)};`;default:return a}}(a):null;return(0,d.jsxs)("li",{className:"group/diff-row border-b border-border/40 last:border-b-0",children:[(0,d.jsxs)("div",{className:"relative flex items-center",children:[(0,d.jsxs)("button",{type:"button","aria-expanded":e,onClick:g,className:"flex min-w-0 flex-1 items-center gap-2 px-3 py-1.5 text-left outline-none hover:bg-muted/50 focus-visible:bg-muted/60",children:[(0,d.jsx)(Z.A,{className:(0,Y.cn)("size-3.5 shrink-0 text-muted-foreground transition-transform",e&&"rotate-90")}),(0,d.jsx)("span",{"aria-hidden":!0,className:(0,Y.cn)("flex size-4 shrink-0 items-center justify-center rounded-[4px] font-mono text-[11px] leading-none",ab[a.status]),children:aa[a.status]}),(0,d.jsx)("span",{className:"min-w-0 truncate font-mono text-[13px]",children:a.label}),(0,d.jsx)("span",{className:"ml-auto shrink-0 truncate pl-3 text-xs text-muted-foreground",children:(i=a,j=b,k=c,"added"===i.status?`Only in ${j}${ag(i)}`:"removed"===i.status?`Only in ${k}${ag(i)}`:function(a){let b=new Map;for(let c of a)b.set(c.group,(b.get(c.group)??0)+1);return[...b.entries()].map(([a,b])=>{let[c,d]=ac[a];return`${b} ${1===b?c:d}`}).join(" \xb7 ")}(i.details))})]}),h?(0,d.jsx)(f(),{href:h,title:"Open this table","aria-label":`Open ${a.label}`,className:"mr-1.5 flex size-7 shrink-0 items-center justify-center rounded-md text-muted-foreground opacity-0 outline-none hover:bg-muted hover:text-foreground focus-visible:opacity-100 group-hover/diff-row:opacity-100",children:(0,d.jsx)($,{className:"size-3.5"})}):(0,d.jsx)("span",{className:"w-1.5 shrink-0"})]}),e?(0,d.jsx)("div",{className:"border-t border-border/40 bg-muted/25 py-1",children:l?(0,d.jsx)(u.os,{sql:l,className:"px-4 py-1.5"}):a.details.map(a=>(0,d.jsx)(af,{detail:a},a.id))}):null]})}function af({detail:a}){return(0,d.jsxs)("div",{className:"grid grid-cols-[6.5rem_minmax(0,1fr)] items-start gap-2 px-4 py-1",children:[(0,d.jsx)("span",{className:"truncate pt-0.5 text-[11px] text-muted-foreground",title:a.name,children:ac[a.group][0]}),(0,d.jsxs)("div",{className:"min-w-0 font-mono text-xs leading-5",children:[null!==a.target?(0,d.jsxs)("div",{className:"text-rose-700 dark:text-rose-400",children:[(0,d.jsx)("span",{className:"select-none opacity-60",children:"− "}),(0,d.jsx)("span",{className:"break-all whitespace-pre-wrap",children:a.target})]}):null,null!==a.source?(0,d.jsxs)("div",{className:"text-emerald-700 dark:text-emerald-400",children:[(0,d.jsx)("span",{className:"select-none opacity-60",children:"+ "}),(0,d.jsx)("span",{className:"break-all whitespace-pre-wrap",children:a.source})]}):null]})]})}function ag(a){let b="relation"===a.category?a.source??a.target:null;if(b){let a=b.columns.length;return` \xb7 ${a} column${1===a?"":"s"}`}let c="enum"===a.category?a.source??a.target:null;return c?` \xb7 ${c.labels.length} values`:""}function ah(){let a=(0,g.useRouter)(),{connection:b}=(0,s.k)(),{target:c,candidates:e,partnerIds:f,setTarget:i}=(0,X.y3)(b.id),[o,p]=(0,h.useState)("changes"),[q,w]=(0,h.useState)(""),[E,G]=(0,h.useState)(null),[N,Z]=(0,h.useState)(!1),[$,_]=(0,h.useState)([]),aa=(0,B.Y)(`${b.url}:schema`,a=>C.F.schema(b.url,a)),ab=c?.url,ac=(0,B.Y)(ab?`${ab}:schema`:"no-target",a=>ab?C.F.schema(ab,a):Promise.resolve(null)),ae=(0,h.useMemo)(()=>aa.data&&ac.data?function(a,b){var c,d,e,f,g,h;let i=[...(c=a.extensions,P(c,b.extensions,a=>a.name).flatMap(a=>{let b=[];return a.source&&a.target&&(a.source.version!==a.target.version&&b.push({id:`${a.key}:version`,group:"property",name:"version",status:"modified",source:a.source.version,target:a.target.version}),a.source.schema!==a.target.schema&&b.push({id:`${a.key}:schema`,group:"property",name:"schema",status:"modified",source:a.source.schema,target:a.target.schema}),0===b.length)?[]:[{id:`extension:${a.key}`,category:"extension",schema:null,name:a.key,label:a.key,status:T(a),details:b,source:a.source,target:a.target}]})),...(d=a.schemas,e=b.schemas,P(d.map(a=>({name:a})),e.map(a=>({name:a})),a=>a.name).flatMap(a=>a.source&&a.target?[]:[{id:`schema:${a.key}`,category:"schema",schema:a.key,name:a.key,label:a.key,status:T(a),details:[]}])),...(f=a.enums,P(f,b.enums,a=>`${a.schema}.${a.name}`).flatMap(a=>{let b=[];if(a.source&&a.target){for(let c of a.source.labels)a.target.labels.includes(c)||b.push(Q(a.key,c,"added"));for(let c of a.target.labels)a.source.labels.includes(c)||b.push(Q(a.key,c,"removed"));if(0===b.length)return[]}let c=a.source??a.target;return c?[{id:`enum:${a.key}`,category:"enum",schema:c.schema,name:c.name,label:a.key,status:T(a),details:b,source:a.source,target:a.target}]:[]})),...(g=a.relations,P(g,b.relations,a=>`${a.schema}.${a.name}`).flatMap(a=>{let b=a.source&&a.target?function(a,b){let c=`${a.schema}.${a.name}`,d=[];for(let e of(a.kind!==b.kind&&d.push(S(c,"kind",a.kind,b.kind)),a.unlogged!==b.unlogged&&d.push(S(c,"persistence",a.unlogged?"unlogged":"logged",b.unlogged?"unlogged":"logged")),(a.partitionBy??"")!==(b.partitionBy??"")&&d.push(S(c,"partition by",a.partitionBy??"none",b.partitionBy??"none")),M(a.viewSql,b.viewSql)||d.push({id:`${c}:definition`,group:"definition",name:"materialized view"===a.kind?"materialized view body":"view body",status:"modified",source:a.viewSql??null,target:b.viewSql??null}),P(a.columns,b.columns,a=>a.name))){let f=function(a,b,c,d){let e=b.source?I(b.source,c):null,f=b.target?I(b.target,d):null;return null!==e&&null!==f&&e===f?null:{id:`${a}:column:${b.key}`,group:"column",name:b.key,status:T(b),source:e,target:f}}(c,e,a.name,b.name);f&&d.push(f)}return d.push(...R(c,"constraint",a.constraints,b.constraints)),d.push(...R(c,"index",a.indexes,b.indexes)),d.push(...R(c,"trigger",a.triggers,b.triggers)),d}(a.source,a.target):[];if(a.source&&a.target&&0===b.length)return[];let c=a.source??a.target;return c?[{id:`relation:${a.key}`,category:"relation",kind:c.kind,schema:c.schema,name:c.name,label:a.key,status:T(a),details:b,source:a.source,target:a.target}]:[]})),...(h=a.functions,P(h,b.functions,a=>`${a.schema}.${a.name}(${a.args})`).flatMap(a=>{let b=[];if(a.source&&a.target){if(M(a.source.sql,a.target.sql))return[];b.push({id:`${a.key}:definition`,group:"definition",name:"body",status:"modified",source:a.source.sql,target:a.target.sql})}let c=a.source??a.target;return c?[{id:`function:${a.key}`,category:"function",schema:c.schema,name:`${c.name}(${c.args})`,label:a.key,status:T(a),details:b,source:a.source,target:a.target}]:[]}))];i.sort((a,b)=>O[a.category]-O[b.category]||(a.schema??"").localeCompare(b.schema??"")||a.name.localeCompare(b.name));let j={added:0,removed:0,modified:0,total:i.length};for(let a of i)j[a.status]+=1;return{objects:i,counts:j}}(aa.data,ac.data):null,[aa.data,ac.data]),af=(0,h.useMemo)(()=>ae?function(a){let b=new Set;for(let c of a.objects)c.schema&&b.add(c.schema);return[...b].sort((a,b)=>a.localeCompare(b))}(ae):[],[ae]),ag=(0,h.useMemo)(()=>ae?function(a,{search:b,schemas:c}){let d=b.trim().toLocaleLowerCase();return a.objects.filter(a=>(null===c||null===a.schema||!!c.includes(a.schema))&&(!!(!d||a.label.toLocaleLowerCase().includes(d))||a.details.some(a=>a.name.toLocaleLowerCase().includes(d))))}(ae,{search:q,schemas:E}):[],[ae,q,E]),ah=(0,h.useMemo)(()=>ae?function(a,b){let c={blocks:[],drops:[],manual:0};for(let d of a.objects)!function(a,b,c){switch(a.category){case"extension":return function(a,b,c){if("added"===a.status)return b.blocks.push({bucket:"extension",title:`${a.name} — only in ${c.sourceName}`,lines:[`CREATE EXTENSION IF NOT EXISTS ${D(a.name)};`]});if("removed"===a.status)return b.drops.push({bucket:"extension",title:a.name,lines:[`DROP EXTENSION IF EXISTS ${D(a.name)};`]});let d=a.details.find(a=>"version"===a.name);d?.source&&b.blocks.push({bucket:"extension",title:`${a.name} — ${d.target} → ${d.source}`,lines:[`ALTER EXTENSION ${D(a.name)} UPDATE TO '${d.source}';`]})}(a,b,c);case"schema":var d,e;return d=a,e=b,"added"===d.status?e.blocks.push({bucket:"schema",title:d.name,lines:[`CREATE SCHEMA IF NOT EXISTS ${D(d.name)};`]}):"removed"===d.status&&e.drops.push({bucket:"schema",title:d.name,lines:[`DROP SCHEMA IF EXISTS ${D(d.name)};`]});case"enum":return function(a,b,c){if("added"===a.status&&a.source)return b.blocks.push({bucket:"enum",title:`${a.label} — only in ${c.sourceName}`,lines:[J(a.source)]});if("removed"===a.status&&a.target)return b.drops.push({bucket:"enum",title:a.label,lines:[`DROP TYPE IF EXISTS ${F(a.target)};`]});let d=[],e=a.source??a.target;if(e){for(let f of a.details)"added"===f.status?d.push(`ALTER TYPE ${F(e)} ADD VALUE IF NOT EXISTS '${f.name.replace(/'/g,"''")}';`):(b.manual+=1,d.push(`-- '${f.name}' exists only in ${c.targetName}; removing an enum value means recreating the type.`));d.length>0&&b.blocks.push({bucket:"enum",title:a.label,lines:d})}}(a,b,c);case"relation":return function(a,b,c){if("added"===a.status&&a.source)return function(a,b,c){let d="view"===a.kind||"materialized view"===a.kind;b.blocks.push({bucket:d?"view":"table",title:`${a.schema}.${a.name} — only in ${c.sourceName}`,lines:[K(a),...a.indexes.map(a=>W(a.sql))]});let e=a.constraints.filter(a=>H(a.sql));e.length>0&&b.blocks.push({bucket:"constraint",title:`${a.schema}.${a.name}`,lines:e.map(b=>`ALTER TABLE ${F(a)} ADD CONSTRAINT ${D(b.name)} ${b.sql};`)}),a.triggers.length>0&&b.blocks.push({bucket:"trigger",title:`${a.schema}.${a.name}`,lines:a.triggers.map(a=>W(a.sql))})}(a.source,b,c);if("removed"===a.status&&a.target)return function(a,b){let c="materialized view"===a.kind?"MATERIALIZED VIEW":"view"===a.kind?"VIEW":"foreign table"===a.kind?"FOREIGN TABLE":"TABLE";b.drops.push({bucket:"table",title:`${a.schema}.${a.name}`,lines:[`DROP ${c} IF EXISTS ${F(a)};`]})}(a.target,b);let d=a.source,e=a.target;if(!d||!e)return;if(d.kind!==e.kind){b.manual+=1,b.blocks.push({bucket:"alter",title:a.label,lines:[`-- ${a.label} is a ${e.kind} in ${c.targetName} and a ${d.kind} in ${c.sourceName}; recreate it by hand.`]});return}if("view"===d.kind||"materialized view"===d.kind)return function(a,b,c,d){if("view"===b.kind){let d;return c.blocks.push({bucket:"view",title:a,lines:[(d=b.viewSql?.trim()??"SELECT NULL",`CREATE OR REPLACE VIEW ${F(b)} AS
5
- ${d};`)]})}d.includeDrops?c.blocks.push({bucket:"view",title:`${a} — recreated, which discards its stored rows`,lines:[`DROP MATERIALIZED VIEW IF EXISTS ${F(b)};`,L(b)]}):(c.manual+=1,c.blocks.push({bucket:"view",title:a,lines:["-- The materialized view differs. Recreating it discards its stored rows,",'-- so turn on "Include drops" to generate the DROP and CREATE.']}))}(a.label,d,b,c);let f=F(d),g=[],h=[],i=[],j=[],k=[],l=[],m=[];for(let c of a.details){let a=d.columns.find(a=>a.name===c.name),n=e.columns.find(a=>a.name===c.name);switch(c.group){case"column":if("added"===c.status&&a)g.push(`ALTER TABLE ${f} ADD COLUMN ${I(a,d.name)};`);else if("removed"===c.status)m.push(`ALTER TABLE ${f} DROP COLUMN IF EXISTS ${D(c.name)};`);else if(a&&n){let c=function(a,b,c){let d=D(b.name),e=[],f=0;if(b.generated!==c.generated)return f+=1,e.push(`-- ${b.name}: a generated column cannot be altered in place; drop and re-add it.`),{lines:e,manual:f};if(b.type!==c.type||b.collation!==c.collation){let c=b.collation?` COLLATE ${D(b.collation)}`:"";e.push(`ALTER TABLE ${a} ALTER COLUMN ${d} TYPE ${b.type}${c} USING ${d}::${b.type};`)}return b.nullable!==c.nullable&&e.push(`ALTER TABLE ${a} ALTER COLUMN ${d} ${b.nullable?"DROP":"SET"} NOT NULL;`),b.identity!==c.identity&&(null===b.identity?e.push(`ALTER TABLE ${a} ALTER COLUMN ${d} DROP IDENTITY IF EXISTS;`):null===c.identity?e.push(`ALTER TABLE ${a} ALTER COLUMN ${d} ADD GENERATED ${b.identity} AS IDENTITY;`):e.push(`ALTER TABLE ${a} ALTER COLUMN ${d} SET GENERATED ${b.identity};`)),b.default!==c.default&&e.push(null===b.default?`ALTER TABLE ${a} ALTER COLUMN ${d} DROP DEFAULT;`:`ALTER TABLE ${a} ALTER COLUMN ${d} SET DEFAULT ${b.default};`),{lines:e,manual:f}}(f,a,n);b.manual+=c.manual,g.push(...c.lines)}break;case"constraint":"removed"===c.status?l.push(`ALTER TABLE ${f} DROP CONSTRAINT IF EXISTS ${D(c.name)};`):("modified"===c.status&&g.push(`ALTER TABLE ${f} DROP CONSTRAINT IF EXISTS ${D(c.name)};`),g.push(`ALTER TABLE ${f} ADD CONSTRAINT ${D(c.name)} ${c.source};`));break;case"index":"removed"===c.status?k.push(`DROP INDEX IF EXISTS ${D(d.schema)}.${D(c.name)};`):("modified"===c.status&&h.push(`DROP INDEX IF EXISTS ${D(d.schema)}.${D(c.name)};`),h.push(W(c.source??"")));break;case"trigger":"removed"===c.status?j.push(`DROP TRIGGER IF EXISTS ${D(c.name)} ON ${f};`):("modified"===c.status&&i.push(`DROP TRIGGER IF EXISTS ${D(c.name)} ON ${f};`),i.push(W(c.source??"")));break;default:b.manual+=1,g.push(`-- ${c.name}: ${c.target??"none"} → ${c.source??"none"} (change it by hand).`)}}(g.length>0||h.length>0)&&b.blocks.push({bucket:"alter",title:a.label,lines:[...g,...h]}),i.length>0&&b.blocks.push({bucket:"trigger",title:a.label,lines:i});let n=[...j,...k,...l,...m];n.length>0&&b.drops.push({bucket:"alter",title:a.label,lines:n})}(a,b,c);case"function":return function(a,b){if("removed"===a.status&&a.target){var c;let d="procedure"===a.target.kind?"PROCEDURE":"FUNCTION";b.drops.push({bucket:"function",title:a.label,lines:[`DROP ${d} IF EXISTS ${(c=a.target,`${F(c)}(${c.args})`)};`]});return}a.source&&b.blocks.push({bucket:"function",title:a.label,lines:[W(a.source.sql)]})}(a,b);default:return}}(d,c,b);let d=[];for(let a of U){let b=c.blocks.filter(b=>b.bucket===a.id);0!==b.length&&d.push([`-- ${a.title}`,...b.map(V)].join("\n\n"))}if(c.drops.length>0)if(b.includeDrops)d.push([`-- Drops — objects only in ${b.targetName}`,...c.drops.map(V)].join("\n\n"));else{let a=c.drops.length;d.push(`-- ${a} object${1===a?"":"s"} exist only in ${b.targetName}.
3
+ )${i};`}function E(a){let b="materialized view"===a.kind?"MATERIALIZED VIEW":"VIEW",c=a.viewSql?.trim()??"SELECT NULL";return`CREATE ${b} ${y(a)} AS
4
+ ${c};`}function F(a,b){return G(a)===G(b)}function G(a){return(a??"").replace(/\s+/g," ").trim()}let H={extension:0,schema:1,enum:2,relation:3,function:4};function I(a,b,c){let d=new Map;for(let b of a)d.set(c(b),{key:c(b),source:b});for(let a of b){let b=d.get(c(a));b?b.target=a:d.set(c(a),{key:c(a),target:a})}return[...d.values()].sort((a,b)=>a.key.localeCompare(b.key))}function J(a,b,c){return{id:`${a}:value:${b}`,group:"value",name:b,status:c,source:"added"===c?b:null,target:"removed"===c?b:null}}function K(a,b,c,d){return I(c,d,a=>a.name).flatMap(c=>c.source&&c.target&&F(c.source.sql,c.target.sql)?[]:[{id:`${a}:${b}:${c.key}`,group:b,name:c.key,status:M(c),source:c.source?.sql??null,target:c.target?.sql??null}])}function L(a,b,c,d){return{id:`${a}:property:${b}`,group:"property",name:b,status:"modified",source:c,target:d}}function M(a){return a.source&&a.target?"modified":a.source?"added":"removed"}let N=[{id:"extension",title:"Extensions"},{id:"schema",title:"Schemas"},{id:"enum",title:"Types"},{id:"table",title:"New tables"},{id:"constraint",title:"Foreign keys"},{id:"alter",title:"Table changes"},{id:"view",title:"Views"},{id:"function",title:"Functions"},{id:"trigger",title:"Triggers"}];function O(a){return[`-- ${a.title}`,...a.lines].join("\n")}function P(a){let b=a.trim();return b.endsWith(";")?b:`${b};`}var Q=c(99598),R=c(14490);let S={extension:"Extensions",schema:"Schemas",enum:"Types",relation:"Tables & views",function:"Functions"},T={added:"+",removed:"−",modified:"~"},U={added:"bg-emerald-500/15 text-emerald-700 dark:text-emerald-400",removed:"bg-rose-500/15 text-rose-700 dark:text-rose-400",modified:"bg-amber-500/15 text-amber-700 dark:text-amber-400"},V={column:["column","columns"],constraint:["constraint","constraints"],index:["index","indexes"],trigger:["trigger","triggers"],definition:["body","body"],property:["property","properties"],value:["value","values"]};function W({objects:a,sourceName:b,targetName:c,expanded:e,onToggle:f,tableHref:g}){let h=function(a){let b=new Map;for(let c of a)b.set(c.category,[...b.get(c.category)??[],c]);return[...b.entries()]}(a);return(0,d.jsx)("div",{className:"pb-6",children:h.map(([a,h])=>(0,d.jsxs)("section",{children:[(0,d.jsxs)("h2",{className:"sticky top-0 z-10 flex items-center gap-2 border-b bg-background/95 px-4 py-1.5 text-xs font-medium text-muted-foreground backdrop-blur",children:[S[a],(0,d.jsx)("span",{className:"tabular-nums opacity-60",children:h.length})]}),(0,d.jsx)("ul",{children:h.map(a=>(0,d.jsx)(X,{object:a,sourceName:b,targetName:c,open:e.includes(a.id),onToggle:()=>f(a.id),href:g(a)},a.id))})]},a))})}function X({object:a,sourceName:b,targetName:c,open:e,onToggle:g,href:h}){var j,k,l;let m=0===a.details.length?function(a){switch(a.category){case"relation":{let b=a.source??a.target;return b?D(b):null}case"enum":{let b=a.source??a.target;return b?C(b):null}case"function":{let b=a.source??a.target;return b?b.sql:null}case"extension":{let b=a.source??a.target;return b?`CREATE EXTENSION IF NOT EXISTS ${w(b.name)} WITH SCHEMA ${w(b.schema)};`:null}case"schema":return`CREATE SCHEMA ${w(a.name)};`;default:return a}}(a):null;return(0,d.jsxs)("li",{className:"group/diff-row border-b border-border/40 last:border-b-0",children:[(0,d.jsxs)("div",{className:"relative flex items-center",children:[(0,d.jsxs)("button",{type:"button","aria-expanded":e,onClick:g,className:"flex min-w-0 flex-1 items-center gap-2 px-3 py-1.5 text-left outline-none hover:bg-muted/50 focus-visible:bg-muted/60",children:[(0,d.jsx)(i.nNJ,{className:(0,R.cn)("size-3.5 shrink-0 text-muted-foreground transition-transform",e&&"rotate-90")}),(0,d.jsx)("span",{"aria-hidden":!0,className:(0,R.cn)("flex size-4 shrink-0 items-center justify-center rounded-[4px] font-mono text-[11px] leading-none",U[a.status]),children:T[a.status]}),(0,d.jsx)("span",{className:"min-w-0 truncate font-mono text-[13px]",children:a.label}),(0,d.jsx)("span",{className:"ml-auto shrink-0 truncate pl-3 text-xs text-muted-foreground",children:(j=a,k=b,l=c,"added"===j.status?`Only in ${k}${Z(j)}`:"removed"===j.status?`Only in ${l}${Z(j)}`:function(a){let b=new Map;for(let c of a)b.set(c.group,(b.get(c.group)??0)+1);return[...b.entries()].map(([a,b])=>{let[c,d]=V[a];return`${b} ${1===b?c:d}`}).join(" \xb7 ")}(j.details))})]}),h?(0,d.jsx)(f(),{href:h,title:"Open this table","aria-label":`Open ${a.label}`,className:"mr-1.5 flex size-7 shrink-0 items-center justify-center rounded-md text-muted-foreground opacity-0 outline-none hover:bg-muted hover:text-foreground focus-visible:opacity-100 group-hover/diff-row:opacity-100",children:(0,d.jsx)(i.qM8,{className:"size-3.5"})}):(0,d.jsx)("span",{className:"w-1.5 shrink-0"})]}),e?(0,d.jsx)("div",{className:"border-t border-border/40 bg-muted/25 py-1",children:m?(0,d.jsx)(n.os,{sql:m,className:"px-4 py-1.5"}):a.details.map(a=>(0,d.jsx)(Y,{detail:a},a.id))}):null]})}function Y({detail:a}){return(0,d.jsxs)("div",{className:"grid grid-cols-[6.5rem_minmax(0,1fr)] items-start gap-2 px-4 py-1",children:[(0,d.jsx)("span",{className:"truncate pt-0.5 text-[11px] text-muted-foreground",title:a.name,children:V[a.group][0]}),(0,d.jsxs)("div",{className:"min-w-0 font-mono text-xs leading-5",children:[null!==a.target?(0,d.jsxs)("div",{className:"text-rose-700 dark:text-rose-400",children:[(0,d.jsx)("span",{className:"select-none opacity-60",children:"− "}),(0,d.jsx)("span",{className:"break-all whitespace-pre-wrap",children:a.target})]}):null,null!==a.source?(0,d.jsxs)("div",{className:"text-emerald-700 dark:text-emerald-400",children:[(0,d.jsx)("span",{className:"select-none opacity-60",children:"+ "}),(0,d.jsx)("span",{className:"break-all whitespace-pre-wrap",children:a.source})]}):null]})]})}function Z(a){let b="relation"===a.category?a.source??a.target:null;if(b){let a=b.columns.length;return` \xb7 ${a} column${1===a?"":"s"}`}let c="enum"===a.category?a.source??a.target:null;return c?` \xb7 ${c.labels.length} values`:""}function $(){let a=(0,g.useRouter)(),{connection:b}=(0,k.k)(),{target:c,candidates:e,partnerIds:f,setTarget:p}=(0,Q.y3)(b.id),[x,z]=(0,h.useState)("changes"),[G,S]=(0,h.useState)(""),[T,U]=(0,h.useState)(null),[V,X]=(0,h.useState)(!1),[Y,Z]=(0,h.useState)([]),$=(0,u.Y)(`${b.url}:schema`,a=>v.F.schema(b.url,a)),ac=c?.url,ad=(0,u.Y)(ac?`${ac}:schema`:"no-target",a=>ac?v.F.schema(ac,a):Promise.resolve(null)),ae=(0,h.useMemo)(()=>$.data&&ad.data?function(a,b){var c,d,e,f,g,h;let i=[...(c=a.extensions,I(c,b.extensions,a=>a.name).flatMap(a=>{let b=[];return a.source&&a.target&&(a.source.version!==a.target.version&&b.push({id:`${a.key}:version`,group:"property",name:"version",status:"modified",source:a.source.version,target:a.target.version}),a.source.schema!==a.target.schema&&b.push({id:`${a.key}:schema`,group:"property",name:"schema",status:"modified",source:a.source.schema,target:a.target.schema}),0===b.length)?[]:[{id:`extension:${a.key}`,category:"extension",schema:null,name:a.key,label:a.key,status:M(a),details:b,source:a.source,target:a.target}]})),...(d=a.schemas,e=b.schemas,I(d.map(a=>({name:a})),e.map(a=>({name:a})),a=>a.name).flatMap(a=>a.source&&a.target?[]:[{id:`schema:${a.key}`,category:"schema",schema:a.key,name:a.key,label:a.key,status:M(a),details:[]}])),...(f=a.enums,I(f,b.enums,a=>`${a.schema}.${a.name}`).flatMap(a=>{let b=[];if(a.source&&a.target){for(let c of a.source.labels)a.target.labels.includes(c)||b.push(J(a.key,c,"added"));for(let c of a.target.labels)a.source.labels.includes(c)||b.push(J(a.key,c,"removed"));if(0===b.length)return[]}let c=a.source??a.target;return c?[{id:`enum:${a.key}`,category:"enum",schema:c.schema,name:c.name,label:a.key,status:M(a),details:b,source:a.source,target:a.target}]:[]})),...(g=a.relations,I(g,b.relations,a=>`${a.schema}.${a.name}`).flatMap(a=>{let b=a.source&&a.target?function(a,b){let c=`${a.schema}.${a.name}`,d=[];for(let e of(a.kind!==b.kind&&d.push(L(c,"kind",a.kind,b.kind)),a.unlogged!==b.unlogged&&d.push(L(c,"persistence",a.unlogged?"unlogged":"logged",b.unlogged?"unlogged":"logged")),(a.partitionBy??"")!==(b.partitionBy??"")&&d.push(L(c,"partition by",a.partitionBy??"none",b.partitionBy??"none")),F(a.viewSql,b.viewSql)||d.push({id:`${c}:definition`,group:"definition",name:"materialized view"===a.kind?"materialized view body":"view body",status:"modified",source:a.viewSql??null,target:b.viewSql??null}),I(a.columns,b.columns,a=>a.name))){let f=function(a,b,c,d){let e=b.source?B(b.source,c):null,f=b.target?B(b.target,d):null;return null!==e&&null!==f&&e===f?null:{id:`${a}:column:${b.key}`,group:"column",name:b.key,status:M(b),source:e,target:f}}(c,e,a.name,b.name);f&&d.push(f)}return d.push(...K(c,"constraint",a.constraints,b.constraints)),d.push(...K(c,"index",a.indexes,b.indexes)),d.push(...K(c,"trigger",a.triggers,b.triggers)),d}(a.source,a.target):[];if(a.source&&a.target&&0===b.length)return[];let c=a.source??a.target;return c?[{id:`relation:${a.key}`,category:"relation",kind:c.kind,schema:c.schema,name:c.name,label:a.key,status:M(a),details:b,source:a.source,target:a.target}]:[]})),...(h=a.functions,I(h,b.functions,a=>`${a.schema}.${a.name}(${a.args})`).flatMap(a=>{let b=[];if(a.source&&a.target){if(F(a.source.sql,a.target.sql))return[];b.push({id:`${a.key}:definition`,group:"definition",name:"body",status:"modified",source:a.source.sql,target:a.target.sql})}let c=a.source??a.target;return c?[{id:`function:${a.key}`,category:"function",schema:c.schema,name:`${c.name}(${c.args})`,label:a.key,status:M(a),details:b,source:a.source,target:a.target}]:[]}))];i.sort((a,b)=>H[a.category]-H[b.category]||(a.schema??"").localeCompare(b.schema??"")||a.name.localeCompare(b.name));let j={added:0,removed:0,modified:0,total:i.length};for(let a of i)j[a.status]+=1;return{objects:i,counts:j}}($.data,ad.data):null,[$.data,ad.data]),af=(0,h.useMemo)(()=>ae?function(a){let b=new Set;for(let c of a.objects)c.schema&&b.add(c.schema);return[...b].sort((a,b)=>a.localeCompare(b))}(ae):[],[ae]),ag=(0,h.useMemo)(()=>ae?function(a,{search:b,schemas:c}){let d=b.trim().toLocaleLowerCase();return a.objects.filter(a=>(null===c||null===a.schema||!!c.includes(a.schema))&&(!!(!d||a.label.toLocaleLowerCase().includes(d))||a.details.some(a=>a.name.toLocaleLowerCase().includes(d))))}(ae,{search:G,schemas:T}):[],[ae,G,T]),ah=(0,h.useMemo)(()=>ae?function(a,b){let c={blocks:[],drops:[],manual:0};for(let d of a.objects)!function(a,b,c){switch(a.category){case"extension":return function(a,b,c){if("added"===a.status)return b.blocks.push({bucket:"extension",title:`${a.name} — only in ${c.sourceName}`,lines:[`CREATE EXTENSION IF NOT EXISTS ${w(a.name)};`]});if("removed"===a.status)return b.drops.push({bucket:"extension",title:a.name,lines:[`DROP EXTENSION IF EXISTS ${w(a.name)};`]});let d=a.details.find(a=>"version"===a.name);d?.source&&b.blocks.push({bucket:"extension",title:`${a.name} — ${d.target} → ${d.source}`,lines:[`ALTER EXTENSION ${w(a.name)} UPDATE TO '${d.source}';`]})}(a,b,c);case"schema":var d,e;return d=a,e=b,"added"===d.status?e.blocks.push({bucket:"schema",title:d.name,lines:[`CREATE SCHEMA IF NOT EXISTS ${w(d.name)};`]}):"removed"===d.status&&e.drops.push({bucket:"schema",title:d.name,lines:[`DROP SCHEMA IF EXISTS ${w(d.name)};`]});case"enum":return function(a,b,c){if("added"===a.status&&a.source)return b.blocks.push({bucket:"enum",title:`${a.label} — only in ${c.sourceName}`,lines:[C(a.source)]});if("removed"===a.status&&a.target)return b.drops.push({bucket:"enum",title:a.label,lines:[`DROP TYPE IF EXISTS ${y(a.target)};`]});let d=[],e=a.source??a.target;if(e){for(let f of a.details)"added"===f.status?d.push(`ALTER TYPE ${y(e)} ADD VALUE IF NOT EXISTS '${f.name.replace(/'/g,"''")}';`):(b.manual+=1,d.push(`-- '${f.name}' exists only in ${c.targetName}; removing an enum value means recreating the type.`));d.length>0&&b.blocks.push({bucket:"enum",title:a.label,lines:d})}}(a,b,c);case"relation":return function(a,b,c){if("added"===a.status&&a.source)return function(a,b,c){let d="view"===a.kind||"materialized view"===a.kind;b.blocks.push({bucket:d?"view":"table",title:`${a.schema}.${a.name} — only in ${c.sourceName}`,lines:[D(a),...a.indexes.map(a=>P(a.sql))]});let e=a.constraints.filter(a=>A(a.sql));e.length>0&&b.blocks.push({bucket:"constraint",title:`${a.schema}.${a.name}`,lines:e.map(b=>`ALTER TABLE ${y(a)} ADD CONSTRAINT ${w(b.name)} ${b.sql};`)}),a.triggers.length>0&&b.blocks.push({bucket:"trigger",title:`${a.schema}.${a.name}`,lines:a.triggers.map(a=>P(a.sql))})}(a.source,b,c);if("removed"===a.status&&a.target)return function(a,b){let c="materialized view"===a.kind?"MATERIALIZED VIEW":"view"===a.kind?"VIEW":"foreign table"===a.kind?"FOREIGN TABLE":"TABLE";b.drops.push({bucket:"table",title:`${a.schema}.${a.name}`,lines:[`DROP ${c} IF EXISTS ${y(a)};`]})}(a.target,b);let d=a.source,e=a.target;if(!d||!e)return;if(d.kind!==e.kind){b.manual+=1,b.blocks.push({bucket:"alter",title:a.label,lines:[`-- ${a.label} is a ${e.kind} in ${c.targetName} and a ${d.kind} in ${c.sourceName}; recreate it by hand.`]});return}if("view"===d.kind||"materialized view"===d.kind)return function(a,b,c,d){if("view"===b.kind){let d;return c.blocks.push({bucket:"view",title:a,lines:[(d=b.viewSql?.trim()??"SELECT NULL",`CREATE OR REPLACE VIEW ${y(b)} AS
5
+ ${d};`)]})}d.includeDrops?c.blocks.push({bucket:"view",title:`${a} — recreated, which discards its stored rows`,lines:[`DROP MATERIALIZED VIEW IF EXISTS ${y(b)};`,E(b)]}):(c.manual+=1,c.blocks.push({bucket:"view",title:a,lines:["-- The materialized view differs. Recreating it discards its stored rows,",'-- so turn on "Include drops" to generate the DROP and CREATE.']}))}(a.label,d,b,c);let f=y(d),g=[],h=[],i=[],j=[],k=[],l=[],m=[];for(let c of a.details){let a=d.columns.find(a=>a.name===c.name),n=e.columns.find(a=>a.name===c.name);switch(c.group){case"column":if("added"===c.status&&a)g.push(`ALTER TABLE ${f} ADD COLUMN ${B(a,d.name)};`);else if("removed"===c.status)m.push(`ALTER TABLE ${f} DROP COLUMN IF EXISTS ${w(c.name)};`);else if(a&&n){let c=function(a,b,c){let d=w(b.name),e=[],f=0;if(b.generated!==c.generated)return f+=1,e.push(`-- ${b.name}: a generated column cannot be altered in place; drop and re-add it.`),{lines:e,manual:f};if(b.type!==c.type||b.collation!==c.collation){let c=b.collation?` COLLATE ${w(b.collation)}`:"";e.push(`ALTER TABLE ${a} ALTER COLUMN ${d} TYPE ${b.type}${c} USING ${d}::${b.type};`)}return b.nullable!==c.nullable&&e.push(`ALTER TABLE ${a} ALTER COLUMN ${d} ${b.nullable?"DROP":"SET"} NOT NULL;`),b.identity!==c.identity&&(null===b.identity?e.push(`ALTER TABLE ${a} ALTER COLUMN ${d} DROP IDENTITY IF EXISTS;`):null===c.identity?e.push(`ALTER TABLE ${a} ALTER COLUMN ${d} ADD GENERATED ${b.identity} AS IDENTITY;`):e.push(`ALTER TABLE ${a} ALTER COLUMN ${d} SET GENERATED ${b.identity};`)),b.default!==c.default&&e.push(null===b.default?`ALTER TABLE ${a} ALTER COLUMN ${d} DROP DEFAULT;`:`ALTER TABLE ${a} ALTER COLUMN ${d} SET DEFAULT ${b.default};`),{lines:e,manual:f}}(f,a,n);b.manual+=c.manual,g.push(...c.lines)}break;case"constraint":"removed"===c.status?l.push(`ALTER TABLE ${f} DROP CONSTRAINT IF EXISTS ${w(c.name)};`):("modified"===c.status&&g.push(`ALTER TABLE ${f} DROP CONSTRAINT IF EXISTS ${w(c.name)};`),g.push(`ALTER TABLE ${f} ADD CONSTRAINT ${w(c.name)} ${c.source};`));break;case"index":"removed"===c.status?k.push(`DROP INDEX IF EXISTS ${w(d.schema)}.${w(c.name)};`):("modified"===c.status&&h.push(`DROP INDEX IF EXISTS ${w(d.schema)}.${w(c.name)};`),h.push(P(c.source??"")));break;case"trigger":"removed"===c.status?j.push(`DROP TRIGGER IF EXISTS ${w(c.name)} ON ${f};`):("modified"===c.status&&i.push(`DROP TRIGGER IF EXISTS ${w(c.name)} ON ${f};`),i.push(P(c.source??"")));break;default:b.manual+=1,g.push(`-- ${c.name}: ${c.target??"none"} → ${c.source??"none"} (change it by hand).`)}}(g.length>0||h.length>0)&&b.blocks.push({bucket:"alter",title:a.label,lines:[...g,...h]}),i.length>0&&b.blocks.push({bucket:"trigger",title:a.label,lines:i});let n=[...j,...k,...l,...m];n.length>0&&b.drops.push({bucket:"alter",title:a.label,lines:n})}(a,b,c);case"function":return function(a,b){if("removed"===a.status&&a.target){var c;let d="procedure"===a.target.kind?"PROCEDURE":"FUNCTION";b.drops.push({bucket:"function",title:a.label,lines:[`DROP ${d} IF EXISTS ${(c=a.target,`${y(c)}(${c.args})`)};`]});return}a.source&&b.blocks.push({bucket:"function",title:a.label,lines:[P(a.source.sql)]})}(a,b);default:return}}(d,c,b);let d=[];for(let a of N){let b=c.blocks.filter(b=>b.bucket===a.id);0!==b.length&&d.push([`-- ${a.title}`,...b.map(O)].join("\n\n"))}if(c.drops.length>0)if(b.includeDrops)d.push([`-- Drops — objects only in ${b.targetName}`,...c.drops.map(O)].join("\n\n"));else{let a=c.drops.length;d.push(`-- ${a} object${1===a?"":"s"} exist only in ${b.targetName}.
6
6
  -- Turn on "Include drops" to generate the DROP statements for them.`)}let e=d.join("\n\n"),f=e.split("\n").filter(a=>!a.trimStart().startsWith("--")).join("\n").split(";").filter(a=>a.trim().length>0).length,g=["-- Schema migration generated by YTDB",`-- Apply to ${b.targetName} so it matches ${b.sourceName}`,0===f?"-- Nothing to apply":`-- ${f} statement${1===f?"":"s"} — review before running`].join("\n");return{sql:e?`${g}
7
7
 
8
8
  ${e}
9
9
  `:`${g}
10
- `,statements:f,manual:c.manual}}(ae,{sourceName:b.name,targetName:c?.name??"the other database",includeDrops:N}):null,[ae,b.name,c?.name,N]);if(0===e.length||!c)return(0,d.jsx)(ak,{});let al=aa.loading||ac.loading,am=aa.error?`${b.name}: ${aa.error}`:ac.error?`${c.name}: ${ac.error}`:null,an=ag.length>0&&ag.every(a=>$.includes(a.id));return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("header",{className:"flex h-11 items-center gap-2 border-b px-4",children:[(0,d.jsx)(r.F,{connection:b}),(0,d.jsx)("span",{className:"max-w-40 truncate font-medium",children:b.name}),(0,d.jsx)(j,{className:"size-3.5 shrink-0 text-muted-foreground"}),(0,d.jsx)(ai,{target:c,candidates:e,partnerIds:f,onSelect:i}),(0,d.jsx)(v.$,{variant:"ghost",size:"icon-sm",title:`Compare ${c.name} against ${b.name} instead`,"aria-label":"Swap comparison direction",onClick:function(){c&&(X.lz.getState().setCompareTarget(c.id,b.id),a.push(`/${encodeURIComponent(c.id)}/diff`))},children:(0,d.jsx)(k,{})}),(0,d.jsxs)("div",{className:"ml-auto flex items-center gap-2",children:[(0,d.jsxs)("span",{className:"hidden text-xs text-muted-foreground sm:inline",children:["Changes to apply to ",c.name]}),(0,d.jsxs)(v.$,{variant:"outline",size:"sm",disabled:al,onClick:()=>{aa.reload(),ac.reload()},children:[(0,d.jsx)(l.A,{"data-icon":"inline-start",className:(0,Y.cn)(al&&"animate-spin")}),"Refresh"]})]})]}),"changes"===o?(0,d.jsxs)("div",{className:"flex items-center gap-2 border-b px-4 py-2",children:[(0,d.jsxs)("div",{className:"relative min-w-0 flex-1",children:[(0,d.jsx)(m.A,{className:"pointer-events-none absolute top-1/2 left-2.5 size-3.5 -translate-y-1/2 text-muted-foreground"}),(0,d.jsx)(x.p,{value:q,onChange:a=>w(a.target.value),placeholder:"Filter differences","aria-label":"Filter differences",className:"h-9 pl-8"})]}),(0,d.jsx)("div",{className:"w-48 shrink-0",children:(0,d.jsx)(t.V,{schemas:af,selected:E,onChange:G})}),(0,d.jsx)(v.$,{variant:"ghost",size:"sm",disabled:0===ag.length,onClick:()=>_(an?[]:ag.map(a=>a.id)),children:an?"Collapse all":"Expand all"})]}):null,(0,d.jsx)("div",{className:"relative flex min-h-0 flex-1 flex-col",children:am?(0,d.jsx)("p",{className:"flex-1 px-4 py-6 font-mono text-xs text-destructive",children:am}):ae?"sql"===o?(0,d.jsx)(u.iX,{sql:ah?.sql,error:null,loading:al,actions:(0,d.jsxs)(v.$,{variant:N?"secondary":"ghost",size:"sm","aria-pressed":N,title:`DROP statements for objects that exist only in ${c.name}`,onClick:()=>Z(a=>!a),children:[(0,d.jsx)(n.A,{"data-icon":"inline-start"}),"Include drops"]})}):0===ae.counts.total?(0,d.jsx)(aj,{sourceName:b.name,targetName:c.name}):0===ag.length?(0,d.jsx)("p",{className:"flex-1 px-4 py-6 text-sm text-muted-foreground",children:"No differences match this filter."}):(0,d.jsx)(z.F,{className:(0,Y.cn)("min-h-0 flex-1",al&&"opacity-60"),children:(0,d.jsx)(ad,{objects:ag,sourceName:b.name,targetName:c.name,expanded:$,onToggle:function(a){_(b=>b.includes(a)?b.filter(b=>b!==a):[...b,a])},tableHref:function(a){if("relation"!==a.category||!a.schema)return null;let d="removed"===a.status?c:b;if(!d)return null;let e=a.name;return`/${encodeURIComponent(d.id)}/${encodeURIComponent(a.schema)}/${encodeURIComponent(e)}`}})}):(0,d.jsx)("div",{className:"flex flex-col gap-2 p-4",children:Array.from({length:10},(a,b)=>(0,d.jsx)(A.E,{className:"h-6 w-full"},b))})}),(0,d.jsxs)("div",{className:"flex items-center gap-2 border-t px-4 py-1.5 text-xs text-muted-foreground",children:[(0,d.jsx)("span",{className:"min-w-0 truncate",children:"sql"===o?function(a){if(!a)return"Reading both schemas…";if(0===a.statements)return"Nothing to apply";let b=a.manual>0?` \xb7 ${a.manual} change${1===a.manual?"":"s"} need editing by hand`:"";return`${a.statements} statement${1===a.statements?"":"s"}${b} \xb7 nothing runs from here`}(ah):function(a,b,c,d){if(!a)return"Reading both schemas…";if(0===a.counts.total)return"No differences";let e=[`${a.counts.added} only in ${c}`,`${a.counts.removed} only in ${d}`,`${a.counts.modified} changed`],f=b===a.counts.total?"":` \xb7 showing ${b}`;return`${a.counts.total} differences \xb7 ${e.join(" \xb7 ")}${f}`}(ae,ag.length,b.name,c.name)}),(0,d.jsx)("div",{className:"ml-auto",children:(0,d.jsx)(y.x,{label:"Comparison pane",value:o,onChange:p,options:[{value:"changes",label:"Changes"},{value:"sql",label:"Migration SQL"}]})})]})]})}function ai({target:a,candidates:b,partnerIds:c,onSelect:e}){return(0,d.jsxs)(w.rI,{children:[(0,d.jsxs)(w.ty,{className:"flex h-8 min-w-0 items-center gap-2 rounded-lg px-2 text-left font-medium outline-none hover:bg-muted/60 focus-visible:ring-3 focus-visible:ring-ring/50 data-open:bg-muted/60",children:[(0,d.jsx)(r.F,{connection:a}),(0,d.jsx)("span",{className:"max-w-40 truncate",children:a.name}),b.length>1&&(0,d.jsx)(o.A,{className:"size-3.5 shrink-0 text-muted-foreground"})]}),(0,d.jsx)(w.SQ,{align:"start",className:"min-w-52",children:b.map(b=>(0,d.jsxs)(w._2,{onClick:()=>e(b.id),className:b.id===a.id?"font-medium":void 0,children:[(0,d.jsx)(r.F,{connection:b}),(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate",children:b.name}),c.includes(b.id)&&(0,d.jsx)(p.A,{className:"size-3.5 shrink-0 text-muted-foreground"})]},b.id))})]})}function aj({sourceName:a,targetName:b}){return(0,d.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-2 text-muted-foreground",children:[(0,d.jsx)(q.A,{className:"size-5 text-emerald-600 dark:text-emerald-400"}),(0,d.jsxs)("p",{className:"text-sm",children:[a," and ",b," have the same schema"]})]})}function ak(){return(0,d.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-2 px-6 text-center text-muted-foreground",children:[(0,d.jsx)("p",{className:"text-sm",children:"Comparing needs a second connection."}),(0,d.jsx)(f(),{href:"/",className:"text-foreground underline underline-offset-4",children:"Add one"})]})}},57684:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(41926).A)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},58977:(a,b,c)=>{"use strict";c.d(b,{SchemaDiffView:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call SchemaDiffView() from the server but SchemaDiffView is 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/components/diff/schema-diff-view.tsx","SchemaDiffView")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66659:(a,b,c)=>{Promise.resolve().then(c.bind(c,53534))},90635:(a,b,c)=>{Promise.resolve().then(c.bind(c,58977))},99646:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(41926).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16 9-5.5 5.5L8 12",key:"xofnsj"}]])}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[741,430,458,792,400,391,593,729],()=>b(b.s=357));module.exports=c})();
10
+ `,statements:f,manual:c.manual}}(ae,{sourceName:b.name,targetName:c?.name??"the other database",includeDrops:V}):null,[ae,b.name,c?.name,V]);if(0===e.length||!c)return(0,d.jsx)(ab,{});let ai=$.loading||ad.loading,aj=$.error?`${b.name}: ${$.error}`:ad.error?`${c.name}: ${ad.error}`:null,ak=ag.length>0&&ag.every(a=>Y.includes(a.id));return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(l.X,{children:[(0,d.jsx)(j.F,{connection:b}),(0,d.jsx)("span",{className:"max-w-40 truncate font-medium",children:b.name}),(0,d.jsx)(i.juJ,{className:"size-3.5 shrink-0 text-muted-foreground"}),(0,d.jsx)(_,{target:c,candidates:e,partnerIds:f,onSelect:p}),(0,d.jsx)(o.$,{variant:"ghost",size:"icon-sm",title:`Compare ${c.name} against ${b.name} instead`,"aria-label":"Swap comparison direction",onClick:function(){c&&(Q.lz.getState().setCompareTarget(c.id,b.id),a.push(`/${encodeURIComponent(c.id)}/diff`))},children:(0,d.jsx)(i.vhS,{})}),(0,d.jsx)(o.$,{variant:"ghost",size:"icon-sm",className:"ml-auto",disabled:ai,"aria-label":"Refresh",title:"Re-read both schemas",onClick:()=>{$.reload(),ad.reload()},children:(0,d.jsx)(i.oS8,{className:(0,R.cn)(ai&&"animate-spin")})})]}),"changes"===x?(0,d.jsxs)("div",{className:"flex items-center gap-1 border-b px-2 py-1",children:[(0,d.jsx)(s.L,{value:G,onChange:a=>S(a.target.value),placeholder:"Filter differences","aria-label":"Filter differences",className:"min-w-0 flex-1",trailing:(0,d.jsx)(m.V,{compact:!0,schemas:af,selected:T,onChange:U})}),(0,d.jsx)(o.$,{variant:"ghost",size:"sm",className:"text-muted-foreground",disabled:0===ag.length,onClick:()=>Z(ak?[]:ag.map(a=>a.id)),children:ak?"Collapse all":"Expand all"})]}):null,(0,d.jsx)("div",{className:"relative flex min-h-0 flex-1 flex-col",children:aj?(0,d.jsx)("p",{className:"flex-1 px-4 py-6 font-mono text-xs text-destructive",children:aj}):ae?"sql"===x?(0,d.jsx)(n.iX,{sql:ah?.sql,error:null,loading:ai,actions:(0,d.jsxs)(o.$,{variant:V?"secondary":"ghost",size:"sm","aria-pressed":V,title:`DROP statements for objects that exist only in ${c.name}`,onClick:()=>X(a=>!a),children:[(0,d.jsx)(i.mYx,{"data-icon":"inline-start"}),"Include drops"]})}):0===ae.counts.total?(0,d.jsx)(aa,{sourceName:b.name,targetName:c.name}):0===ag.length?(0,d.jsx)("p",{className:"flex-1 px-4 py-6 text-sm text-muted-foreground",children:"No differences match this filter."}):(0,d.jsx)(r.F,{className:(0,R.cn)("min-h-0 flex-1",ai&&"opacity-60"),children:(0,d.jsx)(W,{objects:ag,sourceName:b.name,targetName:c.name,expanded:Y,onToggle:function(a){Z(b=>b.includes(a)?b.filter(b=>b!==a):[...b,a])},tableHref:function(a){if("relation"!==a.category||!a.schema)return null;let d="removed"===a.status?c:b;if(!d)return null;let e=a.name;return`/${encodeURIComponent(d.id)}/${encodeURIComponent(a.schema)}/${encodeURIComponent(e)}`}})}):(0,d.jsx)("div",{className:"flex flex-col gap-2 p-4",children:Array.from({length:10},(a,b)=>(0,d.jsx)(t.E,{className:"h-6 w-full"},b))})}),(0,d.jsxs)("div",{className:"flex items-center gap-2 border-t px-4 py-1.5 text-xs text-muted-foreground",children:[(0,d.jsx)("span",{className:"min-w-0 truncate",children:"sql"===x?function(a){if(!a)return"Reading both schemas…";if(0===a.statements)return"Nothing to apply";let b=a.manual>0?` \xb7 ${a.manual} change${1===a.manual?"":"s"} need editing by hand`:"";return`${a.statements} statement${1===a.statements?"":"s"}${b}`}(ah):function(a,b,c,d){if(!a)return"Reading both schemas…";if(0===a.counts.total)return"No differences";let e=[`${a.counts.added} only in ${c}`,`${a.counts.removed} only in ${d}`,`${a.counts.modified} changed`],f=b===a.counts.total?"":` \xb7 showing ${b}`;return`${a.counts.total} differences \xb7 ${e.join(" \xb7 ")}${f}`}(ae,ag.length,b.name,c.name)}),(0,d.jsx)("div",{className:"ml-auto",children:(0,d.jsx)(q.x,{label:"Comparison pane",value:x,onChange:z,options:[{value:"changes",label:"Changes"},{value:"sql",label:"Migration SQL"}]})})]})]})}function _({target:a,candidates:b,partnerIds:c,onSelect:e}){return(0,d.jsxs)(p.rI,{children:[(0,d.jsxs)(p.ty,{className:"flex h-8 min-w-0 items-center gap-2 rounded-lg px-2 text-left font-medium outline-none hover:bg-muted/60 focus-visible:ring-3 focus-visible:ring-ring/50 data-open:bg-muted/60",children:[(0,d.jsx)(j.F,{connection:a}),(0,d.jsx)("span",{className:"max-w-40 truncate",children:a.name}),b.length>1&&(0,d.jsx)(i.klM,{className:"size-3.5 shrink-0 text-muted-foreground"})]}),(0,d.jsx)(p.SQ,{align:"start",className:"min-w-52",children:b.map(b=>(0,d.jsxs)(p._2,{onClick:()=>e(b.id),className:b.id===a.id?"font-medium":void 0,children:[(0,d.jsx)(j.F,{connection:b}),(0,d.jsx)("span",{className:"min-w-0 flex-1 truncate",children:b.name}),c.includes(b.id)&&(0,d.jsx)(i.WnQ,{className:"size-3.5 shrink-0 text-muted-foreground"})]},b.id))})]})}function aa({sourceName:a,targetName:b}){return(0,d.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-2 text-muted-foreground",children:[(0,d.jsx)(i.Ykz,{className:"size-5 text-emerald-600 dark:text-emerald-400"}),(0,d.jsxs)("p",{className:"text-sm",children:[a," and ",b," have the same schema"]})]})}function ab(){return(0,d.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-2 px-6 text-center text-muted-foreground",children:[(0,d.jsx)("p",{className:"text-sm",children:"Comparing needs a second connection."}),(0,d.jsx)(f(),{href:"/",className:"text-foreground underline underline-offset-4",children:"Add one"})]})}},86229:(a,b,c)=>{"use strict";c.d(b,{X:()=>l});var d=c(48249),e=c(14490),f=c(23171),g=c(25297),h=c(8508),i=c(44231),j=c(43189);function k({className:a}){let{connection:b}=(0,i.k)(),{back:c,forward:l,goBack:m,goForward:n}=(0,j.Q)(b.id);return(0,d.jsxs)("div",{className:(0,e.cn)("flex items-center",a),children:[(0,d.jsx)(g.$,{variant:"ghost",size:"icon-sm",disabled:!c,"aria-label":c?`Back to ${c.label}`:"Back",title:c?`Back to ${c.label} (${h.Ar.back})`:void 0,className:"disabled:opacity-30",onClick:m,children:(0,d.jsx)(f.SI1,{})}),(0,d.jsx)(g.$,{variant:"ghost",size:"icon-sm",disabled:!l,"aria-label":l?`Forward to ${l.label}`:"Forward",title:l?`Forward to ${l.label} (${h.Ar.forward})`:void 0,className:"disabled:opacity-30",onClick:n,children:(0,d.jsx)(f.nNJ,{})})]})}function l({children:a,className:b}){return(0,d.jsxs)("header",{className:(0,e.cn)("flex h-11 shrink-0 items-center gap-2 border-b pr-3 pl-1.5",b),children:[(0,d.jsx)(k,{className:"mr-0.5"}),a]})}},90635:(a,b,c)=>{Promise.resolve().then(c.bind(c,58977))}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[741,430,928,566,202,421,593,729],()=>b(b.s=33833));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","../../../../package.json","../../../chunks/391.js","../../../chunks/400.js","../../../chunks/430.js","../../../chunks/458.js","../../../chunks/593.js","../../../chunks/729.js","../../../chunks/741.js","../../../chunks/792.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]}
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","../../../../package.json","../../../chunks/202.js","../../../chunks/421.js","../../../chunks/430.js","../../../chunks/566.js","../../../chunks/593.js","../../../chunks/729.js","../../../chunks/741.js","../../../chunks/928.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[connectionId]/diff/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":["8651","static/chunks/8651-f7ba864bc5a5b128.js","8360","static/chunks/8360-5a3ba00eb4ee0720.js","8500","static/chunks/8500-01a63dafd809e317.js","6842","static/chunks/6842-c2831fd548ae657c.js","8322","static/chunks/8322-b1154a96547c860d.js","1528","static/chunks/1528-3257b0cb7a73dd8b.js","6091","static/chunks/6091-de8d2e51b0196435.js","7123","static/chunks/app/%5BconnectionId%5D/layout-237a770e53d2a6ef.js"],"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":["8651","static/chunks/8651-f7ba864bc5a5b128.js","8360","static/chunks/8360-5a3ba00eb4ee0720.js","8500","static/chunks/8500-01a63dafd809e317.js","8322","static/chunks/8322-b1154a96547c860d.js","1528","static/chunks/1528-3257b0cb7a73dd8b.js","3123","static/chunks/3123-5b058e55010e138a.js","2194","static/chunks/app/%5BconnectionId%5D/diff/page-f3262f6929e005e0.js"],"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/7bb8868c12384025.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/diff/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":{}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/[connectionId]/diff/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}},"32971":{"*":{"id":"94488","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"53371","name":"*","chunks":[],"async":false}},"39049":{"*":{"id":"58963","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"8419","name":"*","chunks":[],"async":false}},"52096":{"*":{"id":"20836","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}},"69063":{"*":{"id":"81040","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}}},"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-53d22dc5d0e78dfd.js","1731","static/chunks/1731-6dec4b981289174f.js","900","static/chunks/900-3bd4de40e69579da.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8500","static/chunks/8500-01a63dafd809e317.js","649","static/chunks/649-a1f6ba42883ab7ce.js","7893","static/chunks/7893-4515c42324443f01.js","8974","static/chunks/app/page-c487da327ada2a6d.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/explorer/explorer-shell.tsx":{"id":37875,"name":"*","chunks":["4506","static/chunks/f97e080b-53d22dc5d0e78dfd.js","1731","static/chunks/1731-6dec4b981289174f.js","900","static/chunks/900-3bd4de40e69579da.js","8361","static/chunks/8361-d0f8ce41b74637bf.js","8500","static/chunks/8500-01a63dafd809e317.js","8322","static/chunks/8322-ed3deecf058cc11c.js","649","static/chunks/649-a1f6ba42883ab7ce.js","6996","static/chunks/6996-45e967f18861b87e.js","7893","static/chunks/7893-4515c42324443f01.js","7123","static/chunks/app/%5BconnectionId%5D/layout-d990f4312947106b.js"],"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":6044,"name":"*","chunks":["4506","static/chunks/f97e080b-53d22dc5d0e78dfd.js","1731","static/chunks/1731-6dec4b981289174f.js","900","static/chunks/900-3bd4de40e69579da.js","8500","static/chunks/8500-01a63dafd809e317.js","8322","static/chunks/8322-ed3deecf058cc11c.js","649","static/chunks/649-a1f6ba42883ab7ce.js","6996","static/chunks/6996-45e967f18861b87e.js","1715","static/chunks/1715-206f291fde410bf6.js","2194","static/chunks/app/%5BconnectionId%5D/diff/page-794180465d38394e.js"],"async":false},"/Users/theobourgeois/code/db-studio/src/components/migrations/migration-detail.tsx":{"id":52096,"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/explorer/connection-home.tsx":{"id":21890,"name":"*","chunks":["1731","static/chunks/1731-6dec4b981289174f.js","2336","static/chunks/app/%5BconnectionId%5D/page-a245bfbd8b3eb8a7.js"],"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/962dd5ab002fed8a.css"}],"/Users/theobourgeois/code/db-studio/src/app/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/layout":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/page":[],"/Users/theobourgeois/code/db-studio/src/app/[connectionId]/diff/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}},"32971":{"*":{"id":"12377","name":"*","chunks":[],"async":false}},"37875":{"*":{"id":"34766","name":"*","chunks":[],"async":false}},"39049":{"*":{"id":"2781","name":"*","chunks":[],"async":false}},"48491":{"*":{"id":"19933","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"52096":{"*":{"id":"97182","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}},"69063":{"*":{"id":"99432","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}}},"edgeRscModuleMapping":{}};