@kozou/svelte-ui 1.10.0 → 1.11.0

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 (94) hide show
  1. package/build/client/_app/immutable/chunks/{CVx7yMSI.js → BHK9vTXw.js} +2 -2
  2. package/build/client/_app/immutable/chunks/BHK9vTXw.js.br +0 -0
  3. package/build/client/_app/immutable/chunks/BHK9vTXw.js.gz +0 -0
  4. package/build/client/_app/immutable/chunks/{2V_Gzacq.js → BOCGwgUJ.js} +1 -1
  5. package/build/client/_app/immutable/chunks/BOCGwgUJ.js.br +0 -0
  6. package/build/client/_app/immutable/chunks/BOCGwgUJ.js.gz +0 -0
  7. package/build/client/_app/immutable/chunks/{BgLGDesB.js → Dw_p9PSq.js} +1 -1
  8. package/build/client/_app/immutable/chunks/Dw_p9PSq.js.br +0 -0
  9. package/build/client/_app/immutable/chunks/Dw_p9PSq.js.gz +0 -0
  10. package/build/client/_app/immutable/chunks/{BMcjSLVU.js → qalmocoh.js} +1 -1
  11. package/build/client/_app/immutable/chunks/qalmocoh.js.br +0 -0
  12. package/build/client/_app/immutable/chunks/qalmocoh.js.gz +0 -0
  13. package/build/client/_app/immutable/entry/{app.LzNl--Wi.js → app.DeD2ZB3H.js} +2 -2
  14. package/build/client/_app/immutable/entry/app.DeD2ZB3H.js.br +0 -0
  15. package/build/client/_app/immutable/entry/app.DeD2ZB3H.js.gz +0 -0
  16. package/build/client/_app/immutable/entry/start.Cpdir7V4.js +1 -0
  17. package/build/client/_app/immutable/entry/start.Cpdir7V4.js.br +0 -0
  18. package/build/client/_app/immutable/entry/start.Cpdir7V4.js.gz +0 -0
  19. package/build/client/_app/immutable/nodes/{1.rmhLZZDX.js → 1.LmQEjyHe.js} +1 -1
  20. package/build/client/_app/immutable/nodes/1.LmQEjyHe.js.br +0 -0
  21. package/build/client/_app/immutable/nodes/1.LmQEjyHe.js.gz +0 -0
  22. package/build/client/_app/immutable/nodes/{3.nxviakdn.js → 3.BLw8-uY1.js} +1 -1
  23. package/build/client/_app/immutable/nodes/3.BLw8-uY1.js.br +0 -0
  24. package/build/client/_app/immutable/nodes/3.BLw8-uY1.js.gz +0 -0
  25. package/build/client/_app/immutable/nodes/{5.9yC9mSHh.js → 5.DyGmHii3.js} +1 -1
  26. package/build/client/_app/immutable/nodes/5.DyGmHii3.js.br +0 -0
  27. package/build/client/_app/immutable/nodes/5.DyGmHii3.js.gz +0 -0
  28. package/build/client/_app/immutable/nodes/{6.Ch1OuWsA.js → 6.CbUkRgmt.js} +1 -1
  29. package/build/client/_app/immutable/nodes/6.CbUkRgmt.js.br +0 -0
  30. package/build/client/_app/immutable/nodes/6.CbUkRgmt.js.gz +0 -0
  31. package/build/client/_app/immutable/nodes/{7.nRICc5kB.js → 7.CkAuD_R8.js} +1 -1
  32. package/build/client/_app/immutable/nodes/7.CkAuD_R8.js.br +0 -0
  33. package/build/client/_app/immutable/nodes/7.CkAuD_R8.js.gz +0 -0
  34. package/build/client/_app/version.json +1 -1
  35. package/build/client/_app/version.json.br +0 -0
  36. package/build/client/_app/version.json.gz +0 -0
  37. package/build/server/chunks/{1-DaJg-gl6.js → 1-CgD90gP-.js} +3 -3
  38. package/build/server/chunks/{1-DaJg-gl6.js.map → 1-CgD90gP-.js.map} +1 -1
  39. package/build/server/chunks/{3-C7h5bnfF.js → 3-BWcU6E66.js} +6 -6
  40. package/build/server/chunks/{3-C7h5bnfF.js.map → 3-BWcU6E66.js.map} +1 -1
  41. package/build/server/chunks/{5-DGAcoras.js → 5-eoANIUNb.js} +3 -3
  42. package/build/server/chunks/{5-DGAcoras.js.map → 5-eoANIUNb.js.map} +1 -1
  43. package/build/server/chunks/{6-D-pZe3TH.js → 6-Cg79Ltrl.js} +6 -6
  44. package/build/server/chunks/{6-D-pZe3TH.js.map → 6-Cg79Ltrl.js.map} +1 -1
  45. package/build/server/chunks/{7-CnoZs_hs.js → 7-BHwdfoUd.js} +6 -6
  46. package/build/server/chunks/{7-CnoZs_hs.js.map → 7-BHwdfoUd.js.map} +1 -1
  47. package/build/server/chunks/{_page.svelte-CDUl4uI5.js → _page.svelte-B7RHgUCO.js} +5 -5
  48. package/build/server/chunks/{_page.svelte-CDUl4uI5.js.map → _page.svelte-B7RHgUCO.js.map} +1 -1
  49. package/build/server/chunks/{_page.svelte-DEk5Qg_F.js → _page.svelte-B9AOBuNB.js} +3 -3
  50. package/build/server/chunks/{_page.svelte-DEk5Qg_F.js.map → _page.svelte-B9AOBuNB.js.map} +1 -1
  51. package/build/server/chunks/{_page.svelte-Dc-4PQI9.js → _page.svelte-BL9rwyM5.js} +5 -5
  52. package/build/server/chunks/{_page.svelte-Dc-4PQI9.js.map → _page.svelte-BL9rwyM5.js.map} +1 -1
  53. package/build/server/chunks/{_page.svelte-q1skzbuu.js → _page.svelte-CpoG6_zd.js} +4 -4
  54. package/build/server/chunks/{_page.svelte-q1skzbuu.js.map → _page.svelte-CpoG6_zd.js.map} +1 -1
  55. package/build/server/chunks/{client-C8xikVyn.js → client-D8uFh1gw.js} +2 -2
  56. package/build/server/chunks/{client-C8xikVyn.js.map → client-D8uFh1gw.js.map} +1 -1
  57. package/build/server/chunks/{composite-form-BwC3SrN2.js → composite-form-DXZZKYWz.js} +3 -3
  58. package/build/server/chunks/{composite-form-BwC3SrN2.js.map → composite-form-DXZZKYWz.js.map} +1 -1
  59. package/build/server/chunks/{error.svelte-DK-BFOzh.js → error.svelte-lysdddUk.js} +3 -3
  60. package/build/server/chunks/{error.svelte-DK-BFOzh.js.map → error.svelte-lysdddUk.js.map} +1 -1
  61. package/build/server/chunks/{hooks.server-DfgZ27aW.js → hooks.server-CfuUqusS.js} +12 -3
  62. package/build/server/chunks/hooks.server-CfuUqusS.js.map +1 -0
  63. package/build/server/chunks/{internal-BZCjK-Az.js → internal-BETer4pd.js} +3 -3
  64. package/build/server/chunks/{internal-BZCjK-Az.js.map → internal-BETer4pd.js.map} +1 -1
  65. package/build/server/chunks/{relation-select-composite-field-BBsC7qTS.js → relation-select-composite-field-Dt1xDfi4.js} +2 -2
  66. package/build/server/chunks/{relation-select-composite-field-BBsC7qTS.js.map → relation-select-composite-field-Dt1xDfi4.js.map} +1 -1
  67. package/build/server/index.js +1 -1
  68. package/build/server/manifest.js +6 -6
  69. package/build/server/manifest.js.map +1 -1
  70. package/package.json +5 -5
  71. package/build/client/_app/immutable/chunks/2V_Gzacq.js.br +0 -0
  72. package/build/client/_app/immutable/chunks/2V_Gzacq.js.gz +0 -0
  73. package/build/client/_app/immutable/chunks/BMcjSLVU.js.br +0 -0
  74. package/build/client/_app/immutable/chunks/BMcjSLVU.js.gz +0 -0
  75. package/build/client/_app/immutable/chunks/BgLGDesB.js.br +0 -0
  76. package/build/client/_app/immutable/chunks/BgLGDesB.js.gz +0 -0
  77. package/build/client/_app/immutable/chunks/CVx7yMSI.js.br +0 -0
  78. package/build/client/_app/immutable/chunks/CVx7yMSI.js.gz +0 -0
  79. package/build/client/_app/immutable/entry/app.LzNl--Wi.js.br +0 -0
  80. package/build/client/_app/immutable/entry/app.LzNl--Wi.js.gz +0 -0
  81. package/build/client/_app/immutable/entry/start.nUhd6512.js +0 -1
  82. package/build/client/_app/immutable/entry/start.nUhd6512.js.br +0 -0
  83. package/build/client/_app/immutable/entry/start.nUhd6512.js.gz +0 -0
  84. package/build/client/_app/immutable/nodes/1.rmhLZZDX.js.br +0 -0
  85. package/build/client/_app/immutable/nodes/1.rmhLZZDX.js.gz +0 -0
  86. package/build/client/_app/immutable/nodes/3.nxviakdn.js.br +0 -0
  87. package/build/client/_app/immutable/nodes/3.nxviakdn.js.gz +0 -0
  88. package/build/client/_app/immutable/nodes/5.9yC9mSHh.js.br +0 -0
  89. package/build/client/_app/immutable/nodes/5.9yC9mSHh.js.gz +0 -0
  90. package/build/client/_app/immutable/nodes/6.Ch1OuWsA.js.br +0 -0
  91. package/build/client/_app/immutable/nodes/6.Ch1OuWsA.js.gz +0 -0
  92. package/build/client/_app/immutable/nodes/7.nRICc5kB.js.br +0 -0
  93. package/build/client/_app/immutable/nodes/7.nRICc5kB.js.gz +0 -0
  94. package/build/server/chunks/hooks.server-DfgZ27aW.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import 'node:module';
2
2
  import { q as escape_html, x as getContext } from './dev-aF1HGl8f.js';
3
- import './client-C8xikVyn.js';
3
+ import './client-D8uFh1gw.js';
4
4
  import 'clsx';
5
- import './internal-BZCjK-Az.js';
5
+ import './internal-BETer4pd.js';
6
6
  import './index-DBqjc0Yf.js';
7
7
 
8
8
  //#endregion
@@ -65,4 +65,4 @@ function Error$1($$renderer, $$props) {
65
65
  }
66
66
 
67
67
  export { Error$1 as default };
68
- //# sourceMappingURL=error.svelte-DK-BFOzh.js.map
68
+ //# sourceMappingURL=error.svelte-lysdddUk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error.svelte-DK-BFOzh.js","sources":["../../../.svelte-kit/adapter-node/entries/fallbacks/error.svelte.js"],"sourcesContent":["import \"../../chunks/environment.js\";\nimport { H as escape_html, tt as getContext } from \"../../chunks/dev.js\";\nimport { c as navigating$1, s as stores } from \"../../chunks/client.js\";\nObject.defineProperty({\n\tget from() {\n\t\treturn navigating$1.current ? navigating$1.current.from : null;\n\t},\n\tget to() {\n\t\treturn navigating$1.current ? navigating$1.current.to : null;\n\t},\n\tget type() {\n\t\treturn navigating$1.current ? navigating$1.current.type : null;\n\t},\n\tget willUnload() {\n\t\treturn navigating$1.current ? navigating$1.current.willUnload : null;\n\t},\n\tget delta() {\n\t\treturn navigating$1.current ? navigating$1.current.delta : null;\n\t},\n\tget complete() {\n\t\treturn navigating$1.current ? navigating$1.current.complete : null;\n\t}\n}, \"current\", { get() {\n\tthrow new Error(\"Replace navigating.current.<prop> with navigating.<prop>\");\n} });\nstores.updated.check;\n//#endregion\n//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_b6cf287e4b8449a2ec52045a8a580061/node_modules/@sveltejs/kit/src/runtime/app/state/server.js\nfunction context() {\n\treturn getContext(\"__request__\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_b6cf287e4b8449a2ec52045a8a580061/node_modules/@sveltejs/kit/src/runtime/app/state/index.js\n/**\n* A read-only reactive object with information about the current page, serving several use cases:\n* - retrieving the combined `data` of all pages/layouts anywhere in your component tree (also see [loading data](https://svelte.dev/docs/kit/load))\n* - retrieving the current value of the `form` prop anywhere in your component tree (also see [form actions](https://svelte.dev/docs/kit/form-actions))\n* - retrieving the page state that was set through `goto`, `pushState` or `replaceState` (also see [goto](https://svelte.dev/docs/kit/$app-navigation#goto) and [shallow routing](https://svelte.dev/docs/kit/shallow-routing))\n* - retrieving metadata such as the URL you're on, the current route and its parameters, and whether or not there was an error\n*\n* ```svelte\n* <!--- file: +layout.svelte --->\n* <script>\n* \timport { page } from '$app/state';\n* <\\/script>\n*\n* <p>Currently at {page.url.pathname}</p>\n*\n* {#if page.error}\n* \t<span class=\"red\">Problem detected</span>\n* {:else}\n* \t<span class=\"small\">All systems operational</span>\n* {/if}\n* ```\n*\n* Changes to `page` are available exclusively with runes. (The legacy reactivity syntax will not reflect any changes)\n*\n* ```svelte\n* <!--- file: +page.svelte --->\n* <script>\n* \timport { page } from '$app/state';\n* \tconst id = $derived(page.params.id); // This will correctly update id for usage on this page\n* \t$: badId = page.params.id; // Do not use; will never update after initial load\n* <\\/script>\n* ```\n*\n* On the server, values can only be read during rendering (in other words _not_ in e.g. `load` functions). In the browser, the values can be read at any time.\n*\n* @type {import('@sveltejs/kit').Page}\n*/\nvar page = {\n\tget data() {\n\t\treturn context().page.data;\n\t},\n\tget error() {\n\t\treturn context().page.error;\n\t},\n\tget form() {\n\t\treturn context().page.form;\n\t},\n\tget params() {\n\t\treturn context().page.params;\n\t},\n\tget route() {\n\t\treturn context().page.route;\n\t},\n\tget state() {\n\t\treturn context().page.state;\n\t},\n\tget status() {\n\t\treturn context().page.status;\n\t},\n\tget url() {\n\t\treturn context().page.url;\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_b6cf287e4b8449a2ec52045a8a580061/node_modules/@sveltejs/kit/src/runtime/components/svelte-5/error.svelte\nfunction Error$1($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t$$renderer.push(`<h1>${escape_html(page.status)}</h1> <p>${escape_html(page.error?.message)}</p>`);\n\t});\n}\n//#endregion\nexport { Error$1 as default };\n"],"names":[],"mappings":";;;;;;;AA0BA;AACA;AACA,SAAS,OAAO,GAAG;AACnB,CAAC,OAAO,UAAU,CAAC,aAAa,CAAC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,GAAG;AACX,CAGC,IAAI,KAAK,GAAG;AACb,EAAE,OAAO,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK;AAC7B,CAAC,CAAC;AACF,CAYC,IAAI,MAAM,GAAG;AACd,EAAE,OAAO,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM;AAC9B,CAAC,CAID,CAAC;AACD;AACA;AACA,SAAS,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE;AACtC,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACpG,CAAC,CAAC,CAAC;AACH;;;;"}
1
+ {"version":3,"file":"error.svelte-lysdddUk.js","sources":["../../../.svelte-kit/adapter-node/entries/fallbacks/error.svelte.js"],"sourcesContent":["import \"../../chunks/environment.js\";\nimport { H as escape_html, tt as getContext } from \"../../chunks/dev.js\";\nimport { c as navigating$1, s as stores } from \"../../chunks/client.js\";\nObject.defineProperty({\n\tget from() {\n\t\treturn navigating$1.current ? navigating$1.current.from : null;\n\t},\n\tget to() {\n\t\treturn navigating$1.current ? navigating$1.current.to : null;\n\t},\n\tget type() {\n\t\treturn navigating$1.current ? navigating$1.current.type : null;\n\t},\n\tget willUnload() {\n\t\treturn navigating$1.current ? navigating$1.current.willUnload : null;\n\t},\n\tget delta() {\n\t\treturn navigating$1.current ? navigating$1.current.delta : null;\n\t},\n\tget complete() {\n\t\treturn navigating$1.current ? navigating$1.current.complete : null;\n\t}\n}, \"current\", { get() {\n\tthrow new Error(\"Replace navigating.current.<prop> with navigating.<prop>\");\n} });\nstores.updated.check;\n//#endregion\n//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_b6cf287e4b8449a2ec52045a8a580061/node_modules/@sveltejs/kit/src/runtime/app/state/server.js\nfunction context() {\n\treturn getContext(\"__request__\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_b6cf287e4b8449a2ec52045a8a580061/node_modules/@sveltejs/kit/src/runtime/app/state/index.js\n/**\n* A read-only reactive object with information about the current page, serving several use cases:\n* - retrieving the combined `data` of all pages/layouts anywhere in your component tree (also see [loading data](https://svelte.dev/docs/kit/load))\n* - retrieving the current value of the `form` prop anywhere in your component tree (also see [form actions](https://svelte.dev/docs/kit/form-actions))\n* - retrieving the page state that was set through `goto`, `pushState` or `replaceState` (also see [goto](https://svelte.dev/docs/kit/$app-navigation#goto) and [shallow routing](https://svelte.dev/docs/kit/shallow-routing))\n* - retrieving metadata such as the URL you're on, the current route and its parameters, and whether or not there was an error\n*\n* ```svelte\n* <!--- file: +layout.svelte --->\n* <script>\n* \timport { page } from '$app/state';\n* <\\/script>\n*\n* <p>Currently at {page.url.pathname}</p>\n*\n* {#if page.error}\n* \t<span class=\"red\">Problem detected</span>\n* {:else}\n* \t<span class=\"small\">All systems operational</span>\n* {/if}\n* ```\n*\n* Changes to `page` are available exclusively with runes. (The legacy reactivity syntax will not reflect any changes)\n*\n* ```svelte\n* <!--- file: +page.svelte --->\n* <script>\n* \timport { page } from '$app/state';\n* \tconst id = $derived(page.params.id); // This will correctly update id for usage on this page\n* \t$: badId = page.params.id; // Do not use; will never update after initial load\n* <\\/script>\n* ```\n*\n* On the server, values can only be read during rendering (in other words _not_ in e.g. `load` functions). In the browser, the values can be read at any time.\n*\n* @type {import('@sveltejs/kit').Page}\n*/\nvar page = {\n\tget data() {\n\t\treturn context().page.data;\n\t},\n\tget error() {\n\t\treturn context().page.error;\n\t},\n\tget form() {\n\t\treturn context().page.form;\n\t},\n\tget params() {\n\t\treturn context().page.params;\n\t},\n\tget route() {\n\t\treturn context().page.route;\n\t},\n\tget state() {\n\t\treturn context().page.state;\n\t},\n\tget status() {\n\t\treturn context().page.status;\n\t},\n\tget url() {\n\t\treturn context().page.url;\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/@sveltejs+kit@2.61.1_@sveltejs+vite-plugin-svelte@7.1.2_svelte@5.55.9_@typescript-eslin_b6cf287e4b8449a2ec52045a8a580061/node_modules/@sveltejs/kit/src/runtime/components/svelte-5/error.svelte\nfunction Error$1($$renderer, $$props) {\n\t$$renderer.component(($$renderer) => {\n\t\t$$renderer.push(`<h1>${escape_html(page.status)}</h1> <p>${escape_html(page.error?.message)}</p>`);\n\t});\n}\n//#endregion\nexport { Error$1 as default };\n"],"names":[],"mappings":";;;;;;;AA0BA;AACA;AACA,SAAS,OAAO,GAAG;AACnB,CAAC,OAAO,UAAU,CAAC,aAAa,CAAC;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,GAAG;AACX,CAGC,IAAI,KAAK,GAAG;AACb,EAAE,OAAO,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK;AAC7B,CAAC,CAAC;AACF,CAYC,IAAI,MAAM,GAAG;AACd,EAAE,OAAO,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM;AAC9B,CAAC,CAID,CAAC;AACD;AACA;AACA,SAAS,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE;AACtC,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,UAAU,KAAK;AACtC,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACpG,CAAC,CAAC,CAAC;AACH;;;;"}
@@ -1,4 +1,4 @@
1
- import { _ as __commonJSMin, b as __require } from './internal-BZCjK-Az.js';
1
+ import { _ as __commonJSMin, b as __require } from './internal-BETer4pd.js';
2
2
  import { e as encodeResourceId } from './resource-id-CFSW_3aR.js';
3
3
  import { z } from 'zod';
4
4
  import require$$0$3 from 'events';
@@ -7350,6 +7350,7 @@ function buildTableContext(input) {
7350
7350
  aiDescription: joinAi(parsed.ai),
7351
7351
  policy: parsed.policy,
7352
7352
  ...table.privileges ? { privileges: table.privileges } : {},
7353
+ ...table.rowSecurity ? { rowSecurity: table.rowSecurity } : {},
7353
7354
  primaryKey: table.primaryKey,
7354
7355
  displayField,
7355
7356
  columns,
@@ -14153,7 +14154,10 @@ async function fetchTables(client, schemas) {
14153
14154
  n.nspname AS schema,
14154
14155
  c.relname AS name,
14155
14156
  d.description AS comment,
14156
- CASE WHEN c.reltuples < 0 THEN NULL ELSE c.reltuples::float8 END AS row_count_estimate
14157
+ CASE WHEN c.reltuples < 0 THEN NULL ELSE c.reltuples::float8 END AS row_count_estimate,
14158
+ c.relrowsecurity AS row_security_enabled,
14159
+ c.relforcerowsecurity AS row_security_forced,
14160
+ EXISTS (SELECT 1 FROM pg_policy p WHERE p.polrelid = c.oid) AS has_policies
14157
14161
  FROM pg_class c
14158
14162
  JOIN pg_namespace n ON n.oid = c.relnamespace
14159
14163
  LEFT JOIN pg_description d ON d.objoid = c.oid AND d.objsubid = 0
@@ -14271,6 +14275,11 @@ async function fetchTables(client, schemas) {
14271
14275
  foreignKeys: [],
14272
14276
  checks: [],
14273
14277
  indexes: indexByTable.get(key) ?? [],
14278
+ rowSecurity: {
14279
+ enabled: row.row_security_enabled,
14280
+ forced: row.row_security_forced,
14281
+ hasPolicies: row.has_policies
14282
+ },
14274
14283
  rowCountEstimate: row.row_count_estimate === null ? null : Math.round(row.row_count_estimate)
14275
14284
  };
14276
14285
  });
@@ -15009,4 +15018,4 @@ var handle = async ({ event, resolve }) => {
15009
15018
  };
15010
15019
 
15011
15020
  export { handle };
15012
- //# sourceMappingURL=hooks.server-DfgZ27aW.js.map
15021
+ //# sourceMappingURL=hooks.server-CfuUqusS.js.map