permdock 0.17.0 → 0.18.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 (297) hide show
  1. package/dist/a2a/index.d.ts +4 -4
  2. package/dist/a2a/index.js +3 -3
  3. package/dist/{adoption-scan-Ci0xiJ3T.js → adoption-scan-CxExBYSJ.js} +1 -1
  4. package/dist/agent/index.d.ts +2 -2
  5. package/dist/agent/index.js +1 -1
  6. package/dist/ai-sdk/index.d.ts +3 -3
  7. package/dist/ai-sdk/index.js +3 -3
  8. package/dist/{approval-normalize-4KxMRdJC.js → approval-normalize-CUjgSsOl.js} +1 -1
  9. package/dist/{approval-policies-9VagPixq.d.ts → approval-policies-oNnckT12.d.ts} +1 -1
  10. package/dist/{approval-prompt-BSh-yxbH.d.ts → approval-prompt-Bg7gDSqd.d.ts} +1 -1
  11. package/dist/approvals/index.d.ts +3 -3
  12. package/dist/approvals/index.js +3 -3
  13. package/dist/{approvals-DdFcTncq.js → approvals-DGId_hgJ.js} +2 -2
  14. package/dist/{approvers-CNtl4Vc5.js → approvers-BaNwKYgd.js} +1 -3
  15. package/dist/{arazzo-_zUmT8ZT.js → arazzo--riLuGY0.js} +2 -2
  16. package/dist/{arazzo-7kbeh1yi.js → arazzo-CEDbb-uM.js} +1 -1
  17. package/dist/astro/index.d.ts +4 -4
  18. package/dist/astro/index.js +2 -2
  19. package/dist/{audience-jRO819i3.js → audience-B4YR9UpV.js} +1 -1
  20. package/dist/authzen/index.d.ts +5 -5
  21. package/dist/authzen/index.js +2 -2
  22. package/dist/{automation-DCWuVKtd.d.ts → automation-Bfa_wD1h.d.ts} +1 -1
  23. package/dist/better-auth/index.d.ts +1 -1
  24. package/dist/better-auth/index.js +1 -1
  25. package/dist/better-supabase/index.d.ts +153 -91
  26. package/dist/better-supabase/index.js +332 -62
  27. package/dist/{bind-BJFeLX1V.js → bind-B4pMH9bm.js} +4 -4
  28. package/dist/{bind-DjFNX0Pq.d.ts → bind-DR6ku3A9.d.ts} +7 -7
  29. package/dist/{build-instance-lye7oEqf.js → build-instance-BFMFQdE_.js} +1 -1
  30. package/dist/{capability-BzjWdKmP.d.ts → capability-BZ_veK9o.d.ts} +1 -1
  31. package/dist/{casbin-DFzk_so3.js → casbin-DCQHkkyj.js} +1 -1
  32. package/dist/{casbin-C3O_O9nu.js → casbin-bKC1FpEx.js} +1 -1
  33. package/dist/catalog/index.d.ts +4 -4
  34. package/dist/catalog/index.js +5 -5
  35. package/dist/catalog-Caqhbdix.js +1 -0
  36. package/dist/{catalog-DGDd_ww1.js → catalog-D1fw8qif.js} +2 -2
  37. package/dist/{catalog-operations-DVI5QO5R.js → catalog-operations-BD22drQf.js} +2 -2
  38. package/dist/{catalog-DJJIkR9P.js → catalog-zzNuR3sY.js} +1 -1
  39. package/dist/{challenge-M_ghKJnT.js → challenge-B2O2OLEk.js} +1 -1
  40. package/dist/chat/index.d.ts +1 -1
  41. package/dist/chat/index.js +2 -2
  42. package/dist/chat-sdk/index.d.ts +3 -3
  43. package/dist/claude-agent/index.d.ts +3 -3
  44. package/dist/claude-agent/index.js +2 -2
  45. package/dist/clerk/index.d.ts +2 -2
  46. package/dist/cli/bin.js +1 -1
  47. package/dist/cli/index.d.ts +4 -4
  48. package/dist/cli/index.js +2 -2
  49. package/dist/client-CH7vzSAY.d.ts +32 -0
  50. package/dist/cloud/index.d.ts +8 -8
  51. package/dist/cloud/index.js +1 -1
  52. package/dist/{cloud-DYqzmh5i.js → cloud-C0vXBmLG.js} +2 -2
  53. package/dist/{codemod-DqB9klYI.js → codemod-C-L0w-u7.js} +2 -2
  54. package/dist/{codemod-DNGMGqBS.js → codemod-eYI1FbeJ.js} +1 -1
  55. package/dist/{collect-C44RrKCI.js → collect-CU85z6Ta.js} +2 -2
  56. package/dist/{collect-HfJXl8Tr.js → collect-D878zLDP.js} +1 -1
  57. package/dist/collect-KCtOigxx.js +1 -0
  58. package/dist/compile/index.d.ts +1 -1
  59. package/dist/{compile-BxiwRotu.d.ts → compile-DBm0ub4p.d.ts} +2 -2
  60. package/dist/{completion-pwVjJlek.js → completion-Dauc6pVT.js} +1 -1
  61. package/dist/{config-DnfH6_eT.js → config-DWp2PucY.js} +1 -1
  62. package/dist/{config-report-C1jl7Na-.js → config-report-DKpFm5ID.js} +2 -2
  63. package/dist/convex/index.d.ts +4 -4
  64. package/dist/convex/index.js +2 -2
  65. package/dist/{core-W5f4Rjt0.js → core-B8sLve3z.js} +3 -3
  66. package/dist/{core-0iYZ5HUx.d.ts → core-D87h2kpR.d.ts} +2 -2
  67. package/dist/{create-jCPwPWXf.js → create-3A7J9KRR.js} +4 -4
  68. package/dist/{create-DrHUmKvG.d.ts → create-BrQXL-Wt.d.ts} +6 -6
  69. package/dist/{create-bzQlBzG4.d.ts → create-BzwjZuRS.d.ts} +7 -7
  70. package/dist/{create-gqtDb1nU.js → create-C-tm3KIF.js} +3 -3
  71. package/dist/{create-DNN3OtsO.d.ts → create-CtoT1lIQ.d.ts} +4 -4
  72. package/dist/delivery/index.d.ts +4 -4
  73. package/dist/delivery/index.js +1 -1
  74. package/dist/{denied-text-DyzWwxEB.d.ts → denied-text-DlIxt8fh.d.ts} +1 -1
  75. package/dist/{describe-nalX_HHE.d.ts → describe-BKtC_8PG.d.ts} +1 -1
  76. package/dist/{describe-CogP1loh.js → describe-BZAlPHxT.js} +1 -1
  77. package/dist/{diff-BTsLiW59.js → diff-BnNHqtHj.js} +4 -4
  78. package/dist/{diff-CcxYooMu.js → diff-CBCzOTWM.js} +1 -1
  79. package/dist/{doctor-DS-9ApID.js → doctor-CkYKCuX7.js} +55 -17
  80. package/dist/{doctor-BNRhJegR.js → doctor-xUpR5rXg.js} +2 -2
  81. package/dist/drizzle/index.d.ts +3 -3
  82. package/dist/elysia/index.d.ts +4 -4
  83. package/dist/elysia/index.js +3 -3
  84. package/dist/{errors-Dc9FdamT.d.ts → errors-TpzkEKgJ.d.ts} +1 -1
  85. package/dist/{evaluate-CsjXeLRo.js → evaluate-Czbj7thS.js} +2 -2
  86. package/dist/{evaluations-BasA9zXp.d.ts → evaluations-CisTTURl.d.ts} +3 -3
  87. package/dist/{evaluations-DG40eSJa.js → evaluations-h3KoJAPa.js} +1 -1
  88. package/dist/eve/index.d.ts +4 -4
  89. package/dist/eve/index.js +3 -3
  90. package/dist/express/index.d.ts +4 -4
  91. package/dist/express/index.js +3 -3
  92. package/dist/fastify/index.d.ts +4 -4
  93. package/dist/fastify/index.js +3 -3
  94. package/dist/{fetch-adapter-BgqpOOpd.d.ts → fetch-adapter-BdmfnbJM.d.ts} +2 -2
  95. package/dist/{fetch-adapter-UZOW0PRC.js → fetch-adapter-DH-NJPbL.js} +2 -2
  96. package/dist/{fixtures-0VTW5oNq.js → fixtures-Cemqurt8.js} +8 -2
  97. package/dist/{gen-CNCzG4sB.js → gen-BEIN-DRM.js} +1 -1
  98. package/dist/{gen-DnpZwQPo.js → gen-mf-MRwVr.js} +3 -3
  99. package/dist/h3/index.d.ts +4 -4
  100. package/dist/h3/index.js +3 -3
  101. package/dist/{helpers-DNnZffrI.js → helpers-DmqGy63f.js} +21 -13
  102. package/dist/hono/index.d.ts +4 -4
  103. package/dist/hono/index.js +3 -3
  104. package/dist/{hosted-DxRLLiFU.d.ts → hosted-BFNXwcjd.d.ts} +1 -1
  105. package/dist/{hosted-tPZnyjQS.js → hosted-waouw2V-.js} +3 -3
  106. package/dist/{import-BYVbSKx0.js → import-DObwEota.js} +1 -1
  107. package/dist/{index-z44pfWar.d.ts → index-BhnOOnp9.d.ts} +2 -2
  108. package/dist/{index-DFwUOkvt.d.ts → index-CVGio3cH.d.ts} +4 -4
  109. package/dist/{index-CXXUFWtG.d.ts → index-CdMOd-GY.d.ts} +4 -4
  110. package/dist/{index-Bt-UoBWu.d.ts → index-CdUTE6qd.d.ts} +8 -8
  111. package/dist/{index-CZ5mixHO.d.ts → index-Dfv9Toct.d.ts} +1 -1
  112. package/dist/{index-DtGtDzjb.d.ts → index-rFp6X_QP.d.ts} +4 -4
  113. package/dist/index.d.ts +17 -17
  114. package/dist/index.js +15 -13
  115. package/dist/{init-YSDySeMy.js → init-CNJ8lLjo.js} +1 -1
  116. package/dist/{init-Dr1qAStu.js → init-DS3PEsCG.js} +3 -3
  117. package/dist/{instance-options-BOCRxEFb.d.ts → instance-options-2sFGSdsf.d.ts} +1 -1
  118. package/dist/{instance-snapshot-BgOGtyCy.js → instance-snapshot-BWa71my8.js} +2 -2
  119. package/dist/jwt/index.d.ts +4 -4
  120. package/dist/{kernel-CDDU93dI.js → kernel-30Z2zM_d.js} +6 -6
  121. package/dist/kysely/index.d.ts +3 -3
  122. package/dist/{login-CXgEKLaW.js → login-BgK5Jloo.js} +1 -1
  123. package/dist/{login-DEVXDTX8.js → login-DUVzBLh7.js} +3 -3
  124. package/dist/{manifest-BXTbHNIV.js → manifest-BdzBobNK.js} +1 -1
  125. package/dist/{manifest-schema-DQkBK2Mr.js → manifest-schema-CsFsYLF-.js} +1 -1
  126. package/dist/{manifest-Dij1U0hx.js → manifest-wclLWBVH.js} +35 -35
  127. package/dist/{map-error-B_f3C5cs.js → map-error-BH16Ah8P.js} +1 -1
  128. package/dist/mcp/index.d.ts +8 -8
  129. package/dist/mcp/index.js +5 -5
  130. package/dist/nest/index.d.ts +4 -4
  131. package/dist/nest/index.js +3 -3
  132. package/dist/next/index.d.ts +23 -10
  133. package/dist/next/index.js +29 -9
  134. package/dist/next/plugin.d.ts +1 -1
  135. package/dist/next/plugin.js +1 -1
  136. package/dist/node/index.d.ts +4 -4
  137. package/dist/node/index.js +2 -2
  138. package/dist/openai/index.d.ts +4 -4
  139. package/dist/openai/index.js +3 -3
  140. package/dist/openapi/index.d.ts +2 -2
  141. package/dist/{openapi-D3wkvOoU.js → openapi-C4gFqeRz.js} +2 -2
  142. package/dist/{openapi-GM-kTdkq.js → openapi-zMEB9qxn.js} +2 -2
  143. package/dist/{operation-findings-CXtFzlKJ.js → operation-findings-CVwJHEu_.js} +1 -1
  144. package/dist/operation-risks-BKOcTv8J.js +13 -0
  145. package/dist/operations-Bm9HFecz.js +89 -0
  146. package/dist/orpc/index.d.ts +5 -5
  147. package/dist/orpc/index.js +3 -3
  148. package/dist/otel/index.d.ts +3 -3
  149. package/dist/{output-DhTpe8v1.js → output-BFWLER4r.js} +1 -1
  150. package/dist/{ownership-moSRhxl_.js → ownership-D-mIt-w0.js} +1 -1
  151. package/dist/{parse-local-manifest-DEiCF4ah.js → parse-local-manifest-CxcSMQgl.js} +2 -2
  152. package/dist/{parse-local-manifest-BgTYdR3q.d.ts → parse-local-manifest-DvjTQNuO.d.ts} +1 -1
  153. package/dist/pdp/index.d.ts +3 -3
  154. package/dist/pdp/index.js +1 -1
  155. package/dist/{permdock-DdzMv5-F.js → permdock-D-_WrdKu.js} +18 -8
  156. package/dist/{permdock-DUWZEOLR.d.ts → permdock-ffY4CMd9.d.ts} +20 -7
  157. package/dist/{permissions-CvpPtz5O.js → permissions-B3ggI88M.js} +2 -2
  158. package/dist/{permissions-CVXmRILq.js → permissions-BaoLxy66.js} +1 -13
  159. package/dist/{policy-CTNl7pvN.d.ts → policy-BtKSApSt.d.ts} +1 -1
  160. package/dist/{policy-DxQyHKPB.js → policy-cV_wwPb8.js} +2 -2
  161. package/dist/{policy-from-catalog-DVa1faOr.js → policy-from-catalog-B68hGC0S.js} +6 -6
  162. package/dist/{policy-types-IRJVABmm.d.ts → policy-types-D-GwfQTc.d.ts} +9 -0
  163. package/dist/{postgrest-B_cEDd4e.d.ts → postgrest-D84p5dbA.d.ts} +1 -1
  164. package/dist/{powersync-C0nsyULQ.js → powersync-9PYOE1wt.js} +150 -13
  165. package/dist/{powersync-BZxw_v-A.js → powersync-DStC_g0B.js} +2 -2
  166. package/dist/powersync-xNRlC4jN.js +1 -0
  167. package/dist/prisma/index.d.ts +2 -2
  168. package/dist/{protected-action-qowj6nxN.js → protected-action-B40tU3yP.js} +2 -2
  169. package/dist/{protected-action-D3S9U4nc.d.ts → protected-action-Ds_EUY8B.d.ts} +5 -5
  170. package/dist/{protected-action-B6n6w7Rl.js → protected-action-OpOxtTsN.js} +1 -1
  171. package/dist/{provider-CjAu39fJ.d.ts → provider-OtnIiFWm.d.ts} +1 -1
  172. package/dist/{pull-DVoZ0V9_.js → pull-DLP4I1Kl.js} +2 -2
  173. package/dist/pull-UBjDnf4b.js +1 -0
  174. package/dist/{push-eJl1Tvqm.js → push-BSb8j1EW.js} +3 -3
  175. package/dist/{pushed-policy-DMXAOmEW.js → pushed-policy-BecMsTtM.js} +1 -1
  176. package/dist/{pushed-policy-CUQuvlS3.d.ts → pushed-policy-Ck3FZcoy.d.ts} +1 -1
  177. package/dist/react/index.d.ts +6 -6
  178. package/dist/react/index.js +3 -3
  179. package/dist/react/provider-client.d.ts +1 -1
  180. package/dist/react-native/index.d.ts +103 -38
  181. package/dist/react-native/index.js +194 -35
  182. package/dist/{replay-Dc3d8LhG.d.ts → replay-E5X9E1lC.d.ts} +1 -1
  183. package/dist/{request-context-Ch052blg.js → request-context-DM6_jY1n.js} +1 -1
  184. package/dist/resend/index.d.ts +4 -4
  185. package/dist/{resolve-names-1nCei24V.js → resolve-names-CBl4r4_r.js} +1 -1
  186. package/dist/{rls-ClJRblnR.js → rls-DGBL-jDY.js} +10 -10
  187. package/dist/{rls-BVzoZCn3.js → rls-pAHGYgTb.js} +1 -1
  188. package/dist/{role-builder-BrmOcXch.js → role-builder-CMW4wWzn.js} +1 -1
  189. package/dist/{rpc-BOu3FD6X.js → rpc-KwX_Jcxz.js} +1 -1
  190. package/dist/{run-CnCaTjWX.js → run-B7lv3NuK.js} +2 -2
  191. package/dist/run-UPbacxPg.js +1 -0
  192. package/dist/{run-ticket-C6lXvHM_.d.ts → run-ticket-DPaD27_r.d.ts} +2 -2
  193. package/dist/{runtime-CBXkOcg9.js → runtime-rf0ZuyF3.js} +1 -1
  194. package/dist/{saas-BqM9mJkk.js → saas-B8H1MsQ3.js} +4 -4
  195. package/dist/{scan-CepUXrFt.js → scan-0r3OZqqK.js} +1 -1
  196. package/dist/{schema-9_NDz8fx.js → schema-B_9tXrbG.js} +1 -1
  197. package/dist/scim/index.d.ts +1 -1
  198. package/dist/server/index.d.ts +10 -10
  199. package/dist/server/index.js +3 -3
  200. package/dist/{server-types-Bw-lWqzR.d.ts → server-types-3OnXjZ2D.d.ts} +8 -8
  201. package/dist/{sink-DUzt0e4B.d.ts → sink-ogbVkyeo.d.ts} +2 -2
  202. package/dist/{skills-BUuH-QFt.js → skills-B4MPRxQd.js} +1 -1
  203. package/dist/{skills-a4N6Y2Xm.js → skills-C9sTD70r.js} +1 -1
  204. package/dist/{snapshot-cache-Dbk-Gnij.d.ts → snapshot-cache-B4YvlGG_.d.ts} +1 -1
  205. package/dist/solid/index.d.ts +5 -5
  206. package/dist/solid/index.js +3 -3
  207. package/dist/solid-start/index.d.ts +4 -4
  208. package/dist/solid-start/index.js +3 -3
  209. package/dist/{sources-CXY05xtB.d.ts → sources-xdQShLDU.d.ts} +1 -1
  210. package/dist/{src-nYNBfmgq.js → src-Brzq_0in.js} +21 -104
  211. package/dist/ssf/index.d.ts +3 -3
  212. package/dist/ssf/index.js +1 -1
  213. package/dist/{standard-webhooks-BFeEpjxy.d.ts → standard-webhooks-BfPaZ6T1.d.ts} +2 -2
  214. package/dist/{store-g5ctUrOI.d.ts → store-DYeB-_U3.d.ts} +4 -4
  215. package/dist/{store-XgBMbfDy.js → store-DmVqy74I.js} +2 -2
  216. package/dist/{stores-53_kOwPi.js → stores-BYFopOm1.js} +2 -2
  217. package/dist/{stores-BtdN3eDO.d.ts → stores-EPul_8MN.d.ts} +5 -5
  218. package/dist/{stream-BMJg56jU.d.ts → stream-W2RuUYly.d.ts} +1 -1
  219. package/dist/supabase/client.d.ts +2 -31
  220. package/dist/supabase/index.d.ts +5 -5
  221. package/dist/supabase/index.js +3 -3
  222. package/dist/supabase/middleware.d.ts +5 -5
  223. package/dist/supabase/middleware.js +4 -4
  224. package/dist/{supabase-C8cNzp4i.js → supabase-BiViJpQ4.js} +1 -1
  225. package/dist/{supabase-C6FyUeSh.js → supabase-CogTyJH2.js} +2 -2
  226. package/dist/supabase-hook-BN46IrVI.js +1 -0
  227. package/dist/{supabase-hook-Cj85nccs.js → supabase-hook-DX38Hj8h.js} +238 -23
  228. package/dist/{supautils-BP_5WAIc.js → supautils-BGf6zRvM.js} +6 -6
  229. package/dist/svelte/index.d.ts +5 -5
  230. package/dist/svelte/index.js +5 -5
  231. package/dist/svelte/runtime.d.ts +3 -3
  232. package/dist/svelte/runtime.js +2 -2
  233. package/dist/svelte/source.d.ts +5 -5
  234. package/dist/svelte/source.js +3 -3
  235. package/dist/sveltekit/index.d.ts +4 -4
  236. package/dist/sveltekit/index.js +2 -2
  237. package/dist/{tables-BsGE6HBR.js → tables-BfOk0ymL.js} +1 -1
  238. package/dist/tanstack-start/index.d.ts +4 -4
  239. package/dist/tanstack-start/index.js +2 -2
  240. package/dist/terminal/index.d.ts +5 -5
  241. package/dist/terminal/index.js +3 -3
  242. package/dist/testing/core.d.ts +1 -1
  243. package/dist/testing/core.js +1 -1
  244. package/dist/testing/fixtures/index.js +1 -1
  245. package/dist/testing/index.d.ts +22 -22
  246. package/dist/testing/index.js +15 -15
  247. package/dist/testing/saas/index.d.ts +3 -3
  248. package/dist/testing/saas/index.js +2 -2
  249. package/dist/testing/saas/permissions.js +1 -1
  250. package/dist/{tool-refusal-C1UlhU0V.js → tool-refusal-D4spOJ7I.js} +1 -1
  251. package/dist/trpc/index.d.ts +5 -5
  252. package/dist/trpc/index.js +3 -3
  253. package/dist/{type-helpers-C_OnZW8c.d.ts → type-helpers-i1EJ3Eb1.d.ts} +1 -1
  254. package/dist/{types-CAAN7evk.d.ts → types-3Y8UpFkF.d.ts} +17 -1
  255. package/dist/{types-B3BOcI0J.d.ts → types-B8qUkGja.d.ts} +2 -2
  256. package/dist/{types-UfpcY575.d.ts → types-CCEeSCMB.d.ts} +3 -3
  257. package/dist/{types-AOP5HQku.d.ts → types-CDVXR6YD.d.ts} +1 -1
  258. package/dist/{types-CJC1aaoJ.d.ts → types-Ck1KOfug.d.ts} +2 -2
  259. package/dist/{types-BvBbkAu1.d.ts → types-CqcsNCaN.d.ts} +1 -1
  260. package/dist/{types-CA-A33Q5.d.ts → types-D-JO7lh8.d.ts} +4 -4
  261. package/dist/{types-DVZNTkU0.d.ts → types-D19MK4t-.d.ts} +3 -3
  262. package/dist/{types-Sj1U8HMm.d.ts → types-DGf_cpKF.d.ts} +2 -2
  263. package/dist/{types-e82uzrTn.d.ts → types-DmbfLu2p.d.ts} +4 -4
  264. package/dist/{types-D29K5ZNP.d.ts → types-o1vu6Ks3.d.ts} +4 -4
  265. package/dist/unplugin/index.d.ts +1 -1
  266. package/dist/unplugin/index.js +1 -1
  267. package/dist/usage-Cl5eb-e1.js +1 -0
  268. package/dist/{usage-COsGLht5.js → usage-DC0UKe6C.js} +3 -3
  269. package/dist/{usage-CqcMeQgX.js → usage-DYtRVkcN.js} +1 -1
  270. package/dist/{validation-error-DpvsBwZJ.d.ts → validation-error-Dx8PipbO.d.ts} +1 -1
  271. package/dist/{verify-C8G8D5mk.js → verify-Bpj0hauG.js} +8 -8
  272. package/dist/{version-cache-9Vq5QVFC.d.ts → version-cache-DzNKWiI6.d.ts} +1 -1
  273. package/dist/{views-TrZYlDnM.js → views-MWmJ6Y4P.js} +1 -1
  274. package/dist/vue/index.d.ts +5 -5
  275. package/dist/vue/index.js +3 -3
  276. package/dist/{waiter-C2cXXLFZ.d.ts → waiter-NK_UuZbb.d.ts} +2 -2
  277. package/dist/{watch-DXRDBSCu.js → watch-CBHADqBH.js} +1 -1
  278. package/dist/watch-OYwAPCzx.js +1 -0
  279. package/dist/webmcp/index.d.ts +1 -1
  280. package/dist/webmcp/index.js +1 -1
  281. package/dist/{who-can-BY5d3HPw.js → who-can-KhVWMxtf.js} +1 -1
  282. package/dist/workflow/index.d.ts +3 -3
  283. package/dist/workflow/index.js +2 -2
  284. package/dist/workflow-sdk/index.d.ts +4 -4
  285. package/dist/{wrap-DpZAbxuD.d.ts → wrap-BHGA-SMM.d.ts} +2 -2
  286. package/package.json +1 -1
  287. package/schemas/supabase-manifest-v1.json +1 -1
  288. package/skills/permdock-approvals/references/stores-and-resume.md +1 -1
  289. package/skills/permdock-wire/references/adapters.md +3 -1
  290. package/dist/catalog-BpnjesqX.js +0 -1
  291. package/dist/collect-CAibhmCi.js +0 -1
  292. package/dist/powersync-Cqzx25dI.js +0 -1
  293. package/dist/pull-CUVdB04v.js +0 -1
  294. package/dist/run-D9N6V5WQ.js +0 -1
  295. package/dist/supabase-hook-CPBX4dy5.js +0 -1
  296. package/dist/usage-D1cpHO7p.js +0 -1
  297. package/dist/watch-DnymTAfe.js +0 -1
@@ -1,15 +1,17 @@
1
- import { At as ApiKeyPrincipal, E as Policy, Kt as Instant, Tn as ApproverInput, W as CredentialVerifier, Z as Intent, Zn as DeniedDecision, _r as Principal, an as AuthEvent, rt as MembershipSource, wt as SupportSession, yr as Subject } from "../policy-types-IRJVABmm.js";
1
+ import { At as ApiKeyPrincipal, E as Policy, Kt as Instant, Tn as ApproverInput, W as CredentialVerifier, Z as Intent, Zn as DeniedDecision, _r as Principal, an as AuthEvent, rt as MembershipSource, wt as SupportSession, yr as Subject } from "../policy-types-D-GwfQTc.js";
2
2
  import { f as PermissionTree, u as Permission } from "../permission-types-CAY-GU7e.js";
3
- import { i as ApprovalPolicySource } from "../approval-policies-9VagPixq.js";
4
- import { C as InstanceCache, O as PermissionCheck, _ as PrincipalSource, a as PermDock, h as PrincipalIdentity, k as PermissionState, o as PermDockOptions } from "../permdock-DUWZEOLR.js";
5
- import { m as ApprovalStore } from "../types-BvBbkAu1.js";
6
- import { c as AccessReviewStore } from "../types-AOP5HQku.js";
7
- import { i as SupabaseRpcCaller } from "../postgrest-B_cEDd4e.js";
3
+ import { i as OperationEffect } from "../operations-Ci_rT6Uo.js";
4
+ import { i as ApprovalPolicySource } from "../approval-policies-oNnckT12.js";
5
+ import { A as PermissionState, _ as PrincipalSource, a as PermDock, h as PrincipalIdentity, k as PermissionCheck, o as PermDockOptions, w as InstanceCache } from "../permdock-ffY4CMd9.js";
6
+ import { m as ApprovalStore } from "../types-CqcsNCaN.js";
7
+ import { t as InstanceOptions } from "../instance-options-2sFGSdsf.js";
8
+ import { c as AccessReviewStore } from "../types-CDVXR6YD.js";
9
+ import { i as SupabaseRpcCaller } from "../postgrest-D84p5dbA.js";
8
10
  import { a as CatalogDocument } from "../types-NYoj8JBm.js";
9
- import { A as SupabaseSubjectOptions, C as SupabasePrincipal, N as SupabaseSuspension, O as SupabaseSessionLike, s as SqlMembershipSource } from "../sources-CXY05xtB.js";
10
- import { n as VersionCache } from "../version-cache-9Vq5QVFC.js";
11
+ import { n as VersionCache } from "../version-cache-DzNKWiI6.js";
12
+ import { A as SupabaseSubjectOptions, C as SupabasePrincipal, N as SupabaseSuspension, O as SupabaseSessionLike, s as SqlMembershipSource } from "../sources-xdQShLDU.js";
11
13
  import { t as SqlQuery } from "../sql-B80DFdpG.js";
12
- import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-BzjWdKmP.js";
14
+ import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-BZ_veK9o.js";
13
15
  import { AccessBucketPolicy, AccessTopicPolicy, AuthorizationHooks, AuthorizationProvider, AuthorizationRequest, Authorizer, BlockTables, CredentialProvider, SupportAuthorize, SupportAuthorizeInput, ToolDecision, ToolRef } from "better-supabase/contract";
14
16
  import { EntitlementClaimOptions } from "better-supabase/blocks/entitlements";
15
17
  import { AuthSession } from "better-supabase/server";
@@ -112,16 +114,21 @@ type BlockApprovalApprovers = {
112
114
  readonly users?: readonly string[];
113
115
  readonly manager?: boolean;
114
116
  };
115
- /** The approvals block's tenant policy (`options.tenantPolicies`). */
117
+ /**
118
+ * The approvals block's tenant or platform policy (`options.tenantPolicies`,
119
+ * `options.platformPolicies`). `organizationId` is `null` on a platform policy;
120
+ * `subjectType` and `action` may be `*`.
121
+ */
116
122
  type BlockApprovalTenantPolicy = {
117
- readonly organizationId: string;
123
+ readonly organizationId: string | null;
118
124
  readonly subjectType: string;
119
125
  readonly action: string;
126
+ readonly effect?: string;
120
127
  readonly conditions?: unknown;
121
128
  readonly mode: "confirm" | "authorize";
122
129
  readonly steps: readonly {
123
130
  readonly approvers: BlockApprovalApprovers;
124
- readonly required: number;
131
+ readonly required: number | "all";
125
132
  }[];
126
133
  readonly selfApproval: boolean;
127
134
  readonly expiresIn?: string;
@@ -140,48 +147,72 @@ type BlockApprovalsClient<I extends BlockInstant> = {
140
147
  readonly reason?: string;
141
148
  readonly payload?: Readonly<Record<string, unknown>>;
142
149
  readonly fingerprint?: string;
150
+ readonly tenantless?: boolean;
143
151
  }) => BlockResult<BlockApprovalRecord<I>>;
144
152
  readonly list: (options?: {
145
153
  readonly status?: BlockStatus | null;
146
154
  readonly pageSize?: number;
147
155
  readonly before?: I;
156
+ readonly tenantless?: boolean;
148
157
  }) => BlockResult<readonly BlockApprovalRecord<I>[]>;
149
158
  readonly consume: (id: string, fingerprint?: string) => BlockResult<BlockApprovalRecord<I>>;
159
+ readonly approve?: BlockDecide<I>;
160
+ readonly reject?: BlockDecide<I>;
150
161
  };
162
+ type BlockDecide<I extends BlockInstant> = (id: string, comment?: string, options?: {
163
+ readonly decidedBy?: string;
164
+ }) => BlockResult<BlockApprovalRecord<I>>;
151
165
  /** The call `blockApprovalPolicySource` makes on the approvals block. */
152
166
  type BlockApprovalPoliciesClient = {
153
167
  readonly listPolicies: (options?: {
154
168
  readonly subjectType?: string;
155
169
  readonly pageSize?: number;
170
+ readonly platform?: boolean;
156
171
  }) => BlockResult<readonly BlockApprovalTenantPolicy[]>;
157
172
  };
173
+ type BlockApprovalStoreOptions = {
174
+ readonly tenantless?: boolean;
175
+ };
158
176
  /**
159
177
  * An `ApprovalStore` over better-supabase's approvals block, so a PermDock
160
178
  * `approval-required` decision files a block request and is decided in the
161
179
  * block's own approve and reject flow. `create` files the request on the
162
180
  * resource under the permission's action, with the PermDock request in
163
181
  * `payload.permdock` and its `fingerprint`. `get`, `getById` and `list` read
164
- * the block's latest 2,000 requests in the block's tenant. `consume` calls the
165
- * block's `consume`, which refuses a second use and another fingerprint.
166
- * `resolve` throws: approvers decide through the block, never through
167
- * `approvalsHandler`. `expire` answers 0, since the block expires requests
182
+ * the block's latest 2,000 requests in the block's tenant, and with
183
+ * `tenantless` the latest 2,000 without one. `consume` calls the block's
184
+ * `consume`, which refuses a second use and another fingerprint. `resolve`
185
+ * checks the verdict against the PermDock request, then calls the block's
186
+ * `approve` or `reject` with `decidedBy` set to the approver, so a service-role
187
+ * client records the user who decided; without `approve` and `reject` on the
188
+ * client it throws. `expire` answers 0, since the block expires requests
168
189
  * itself.
169
190
  */
170
- export declare function blockApprovalStore<I extends BlockInstant>(approvals: BlockApprovalsClient<I>): ApprovalStore;
191
+ export declare function blockApprovalStore<I extends BlockInstant>(approvals: BlockApprovalsClient<I>, options?: BlockApprovalStoreOptions): ApprovalStore;
171
192
  type BlockApprovalPolicySourceOptions = {
172
193
  /** The scope a step's `role` is held in. Default `tenant`. */
173
194
  readonly roleScope?: string;
195
+ readonly platform?: boolean;
196
+ readonly permissions?: PermissionTree;
197
+ readonly effects?: Readonly<Record<string, readonly OperationEffect[]>>;
174
198
  };
175
199
  /**
176
- * An `ApprovalPolicySource` over the approvals block's tenant policies, so a
177
- * PermDock decision asks for approval wherever the block would. A policy keys
178
- * the permission `<subjectType>.<action>`; its steps become sequential stages
179
- * whose approvers are any of the step's permission, role, users and manager;
180
- * `confirm` with `selfApproval` lets the principal approve; `expiresIn` caps
181
- * the request's `ttl`. `conditions` are not read, so a conditional policy
182
- * applies to every call: stricter, never looser. A step with only a `team`
183
- * approver, an interval it cannot read or a failed read makes the source fail,
184
- * and every call an allow would grant denies.
200
+ * An `ApprovalPolicySource` over the approvals block's tenant policies, and
201
+ * with `platform` its platform policies, so a PermDock decision asks for
202
+ * approval wherever the block would. A policy keys the permission
203
+ * `<subjectType>.<action>`; a platform policy has no tenant. Its steps become
204
+ * sequential stages whose approvers are any of the step's permission, role,
205
+ * users and manager; `required: "all"` over users needs each of them. `confirm`
206
+ * with `selfApproval` lets the principal approve; `expiresIn` caps the
207
+ * request's `ttl`. `conditions` become a `check` over the call's input, or the
208
+ * row without one; a tree PermDock cannot express is dropped, so the policy
209
+ * applies to every call: stricter, never looser. A `*` subject type or action
210
+ * with an effect PermDock knows matches every operation with that effect, and
211
+ * without one expands over `permissions`. A concrete policy's `effect` is
212
+ * ignored, so it applies to every call of its permission. A step with only a
213
+ * `team` approver, `required: "all"` over anything but users, an interval it
214
+ * cannot read or a failed read makes the source fail, and every call an allow
215
+ * would grant denies.
185
216
  */
186
217
  export declare function blockApprovalPolicySource(approvals: BlockApprovalPoliciesClient, options?: BlockApprovalPolicySourceOptions): ApprovalPolicySource;
187
218
  //#endregion
@@ -266,9 +297,9 @@ type ApiKeySessionOptions = {
266
297
  };
267
298
  /**
268
299
  * The fields of better-supabase's `SessionSnapshot` a subject reads: one
269
- * verified token, from `bsb.getClaims()`, that `'use cache: private'` scopes
270
- * share. Its `issuedAt` and `authzVersion` come from the `iat` and `authz_ver`
271
- * claims.
300
+ * verified token, from `bsb.getClaims()` in Next.js, where `'use cache:
301
+ * private'` scopes share it, or from `server.snapshot(request)` elsewhere. Its
302
+ * `issuedAt` and `authzVersion` come from the `iat` and `authz_ver` claims.
272
303
  */
273
304
  type SessionSnapshotLike = {
274
305
  readonly accessToken: string;
@@ -307,6 +338,81 @@ type BetterSupabaseSubjectOptions = Omit<SupabaseSubjectOptions, "claims"> & {
307
338
  */
308
339
  export declare function subjectFromBetterSupabase(session: SupabaseSessionLike | ApiKeySession | SessionSnapshotLike | null | undefined, options?: BetterSupabaseSubjectOptions): Subject<SupabasePrincipal> | Subject<ApiKeyPrincipal> | Subject;
309
340
  //#endregion
341
+ //#region src/better-supabase/permdock-for.d.ts
342
+ /**
343
+ * What `bsb.bootstrap()` and `bsb.getAccess()` return: a session with the
344
+ * tenant and the authorization version read in the same request.
345
+ */
346
+ type PermDockForResult = {
347
+ readonly session: SupabaseSessionLike | ApiKeySession | null;
348
+ readonly tenant: string | null;
349
+ readonly authzVersion: number | null;
350
+ /** `bsb.bootstrap()`'s `session_active()`; `false` is signed out. */
351
+ readonly sessionActive?: boolean;
352
+ };
353
+ /** Who an instance is for. */
354
+ type PermDockForInput = SupabaseSessionLike | ApiKeySession | SessionSnapshotLike | PermDockForResult | Subject | null | undefined;
355
+ type PermDockForQuery = {
356
+ /** Default the source's tenant (`bootstrap`, `getAccess`). */
357
+ readonly tenant?: string | null;
358
+ /** Default `read`. */
359
+ readonly intent?: Intent;
360
+ };
361
+ /**
362
+ * The instance for a session, a `bsb.bootstrap()` result, a `bsb.getAccess()`
363
+ * result or a subject. The second argument is a query or a tenant, so it also
364
+ * serves as an approvals handler's or access-review handler's `permdockFor`.
365
+ * The third is the version cache better-supabase passes at runtime, which
366
+ * replaces the `versions` option.
367
+ */
368
+ type PermDockFor = {
369
+ (source: PermDockForInput, query?: PermDockForQuery | string | null, versions?: VersionCache): Promise<PermDock>;
370
+ /**
371
+ * The instance options every instance of `versions` (default the `versions`
372
+ * option) is built with: the same object on every call, so an adapter that
373
+ * spreads it into its own options, such as oRPC's or MCP's `createPermDock`,
374
+ * shares the `claimsFirst` memberships and the `instances` entries.
375
+ */
376
+ readonly sources: (versions?: VersionCache) => InstanceOptions;
377
+ };
378
+ type PermDockForOptions = {
379
+ readonly policy: Policy;
380
+ /** How the verified claims map to a subject. */
381
+ readonly subject?: BetterSupabaseSubjectOptions;
382
+ /**
383
+ * The membership source a stale token is re-read from, wrapped in
384
+ * `claimsFirst(source, { onStale: 'reread', versions })`.
385
+ */
386
+ readonly memberships?: MembershipSource | readonly MembershipSource[];
387
+ /** The version `claimsFirst` compares with `authz_ver`; default the source's. */
388
+ readonly version?: MembershipSource["version"];
389
+ /** The process-wide version cache (`createNext({ versions })`). */
390
+ readonly versions?: VersionCache;
391
+ /** The process-wide instance cache, shared with the app's other adapters. */
392
+ readonly instances?: InstanceCache;
393
+ /** Sources and sinks for each instance. */
394
+ readonly options?: Omit<PermDockOptions, "tenant" | "intent" | "version">;
395
+ };
396
+ /**
397
+ * One resolver for every instance of the app: `permdockFor(await
398
+ * bsb.claims())`, `permdockFor(await bsb.bootstrap(...))` or `permdockFor(await
399
+ * bsb.getAccess(...))`. A bootstrap or access result passes its `authzVersion`
400
+ * as `version.known`, so the instance reads no version, and a `sessionActive:
401
+ * false` bootstrap is anonymous. With `instances`, a subject at an unchanged
402
+ * version reuses its instance across requests. Pass the same resolver to
403
+ * `authorizer({ permdockFor })`, `authorizationHooks({ permdockFor })` and,
404
+ * through `permdockFor.sources()`, to every other adapter's options, so they
405
+ * share one instance per subject and version.
406
+ */
407
+ export declare function permdockFor(options: PermDockForOptions): PermDockFor;
408
+ /**
409
+ * One `{ allowed, outcome, reason? }` per named check for `input`, from one
410
+ * `permdockFor` instance: frozen plain JSON an island returns from `'use cache:
411
+ * private'`. A check that throws denies its entry; an instance that cannot be
412
+ * built denies them all.
413
+ */
414
+ export declare function getPermissions<K extends string>(resolve: (source: PermDockForInput, query?: PermDockForQuery | string | null) => Promise<PermDock>, input: PermDockForInput, checks: Readonly<Record<K, PermissionCheck>>, query?: PermDockForQuery | string | null): Promise<Readonly<Record<K, PermissionState>>>;
415
+ //#endregion
310
416
  //#region src/better-supabase/subscribers.d.ts
311
417
  /** The fields of better-supabase's `OutboxEvent` the policy reads. */
312
418
  type SubscriberPolicyEvent = {
@@ -417,6 +523,13 @@ type Maybe$1<T> = T | null | undefined | Promise<T | null | undefined>;
417
523
  type Claims = Readonly<Record<string, unknown>>;
418
524
  type AuthorizationHooksOptions = {
419
525
  readonly policy: Policy;
526
+ /**
527
+ * The app's `permdockFor` resolver, shared with `authorizer({ permdockFor })`
528
+ * so a hook reuses the instances the checks built. It holds `subject`,
529
+ * `memberships`, `version`, `versions`, `instances` and `options`; passing
530
+ * one of those as well throws a `TypeError`.
531
+ */
532
+ readonly permdockFor?: PermDockFor;
420
533
  /**
421
534
  * The claims better-supabase mints for `userId` now, or `null` for a user
422
535
  * deleted, suspended or unknown: the same loader `principalSource` takes.
@@ -526,6 +639,7 @@ type AuthorizationProviderOptions = {
526
639
  * `permdock_is_approver` from `rls.approvals`.
527
640
  */
528
641
  readonly approvers?: ProviderApprovers;
642
+ readonly requestApprovers?: boolean;
529
643
  /**
530
644
  * better-supabase's `blocks.permissions.activeTenant`. When the token hook
531
645
  * reads the active tenant from another place than better-supabase writes it,
@@ -581,6 +695,15 @@ type BetterSupabaseOnError = (error: unknown, context: BetterSupabaseErrorContex
581
695
  type AuthorizerOperation = "list" | "get" | "create" | "update" | "delete";
582
696
  type AuthorizerOptions = {
583
697
  readonly policy: Policy;
698
+ /**
699
+ * The app's `permdockFor` resolver: `bsb.action`, `protectAction` and every
700
+ * adapter that spreads `permdockFor.sources()` then share one instance per
701
+ * subject and version. Each check calls it with better-supabase's runtime
702
+ * `versions`. It holds `subject`, `memberships`, `version`, `versions`,
703
+ * `instances` and `options`; passing one of those as well throws a
704
+ * `TypeError`.
705
+ */
706
+ readonly permdockFor?: PermDockFor;
584
707
  /**
585
708
  * How the verified claims map to a subject; the defaults of
586
709
  * `subjectFromBetterSupabase`.
@@ -883,67 +1006,6 @@ type PrincipalFromMembershipsOptions = {
883
1006
  */
884
1007
  export declare function principalFromMemberships(userId: string, rows: readonly BetterSupabaseMembershipRow[], options?: PrincipalFromMembershipsOptions): Principal;
885
1008
  //#endregion
886
- //#region src/better-supabase/permdock-for.d.ts
887
- /**
888
- * What `bsb.bootstrap()` and `bsb.getAccess()` return: a session with the
889
- * tenant and the authorization version read in the same request.
890
- */
891
- type PermDockForResult = {
892
- readonly session: SupabaseSessionLike | ApiKeySession | null;
893
- readonly tenant: string | null;
894
- readonly authzVersion: number | null;
895
- /** `bsb.bootstrap()`'s `session_active()`; `false` is signed out. */
896
- readonly sessionActive?: boolean;
897
- };
898
- /** Who an instance is for. */
899
- type PermDockForInput = SupabaseSessionLike | ApiKeySession | SessionSnapshotLike | PermDockForResult | Subject | null | undefined;
900
- type PermDockForQuery = {
901
- /** Default the source's tenant (`bootstrap`, `getAccess`). */
902
- readonly tenant?: string | null;
903
- /** Default `read`. */
904
- readonly intent?: Intent;
905
- };
906
- /**
907
- * The instance for a session, a `bsb.bootstrap()` result, a `bsb.getAccess()`
908
- * result or a subject. The second argument is a query or a tenant, so it also
909
- * serves as an approvals handler's or access-review handler's `permdockFor`.
910
- */
911
- type PermDockFor = (source: PermDockForInput, query?: PermDockForQuery | string | null) => Promise<PermDock>;
912
- type PermDockForOptions = {
913
- readonly policy: Policy;
914
- /** How the verified claims map to a subject. */
915
- readonly subject?: BetterSupabaseSubjectOptions;
916
- /**
917
- * The membership source a stale token is re-read from, wrapped in
918
- * `claimsFirst(source, { onStale: 'reread', versions })`.
919
- */
920
- readonly memberships?: MembershipSource | readonly MembershipSource[];
921
- /** The version `claimsFirst` compares with `authz_ver`; default the source's. */
922
- readonly version?: MembershipSource["version"];
923
- /** The process-wide version cache (`createNext({ versions })`). */
924
- readonly versions?: VersionCache;
925
- /** The process-wide instance cache, shared with the app's other adapters. */
926
- readonly instances?: InstanceCache;
927
- /** Sources and sinks for each instance. */
928
- readonly options?: Omit<PermDockOptions, "tenant" | "intent" | "version">;
929
- };
930
- /**
931
- * One resolver for every instance of the app: `permdockFor(await
932
- * bsb.claims())`, `permdockFor(await bsb.bootstrap(...))` or `permdockFor(await
933
- * bsb.getAccess(...))`. A bootstrap or access result passes its `authzVersion`
934
- * as `version.known`, so the instance reads no version, and a `sessionActive:
935
- * false` bootstrap is anonymous. With `instances`, a subject at an unchanged
936
- * version reuses its instance across requests.
937
- */
938
- export declare function permdockFor(options: PermDockForOptions): PermDockFor;
939
- /**
940
- * One `{ allowed, outcome, reason? }` per named check for `input`, from one
941
- * `permdockFor` instance: frozen plain JSON an island returns from `'use cache:
942
- * private'`. A check that throws denies its entry; an instance that cannot be
943
- * built denies them all.
944
- */
945
- export declare function getPermissions<K extends string>(resolve: PermDockFor, input: PermDockForInput, checks: Readonly<Record<K, PermissionCheck>>, query?: PermDockForQuery | string | null): Promise<Readonly<Record<K, PermissionState>>>;
946
- //#endregion
947
1009
  //#region src/better-supabase/principals.d.ts
948
1010
  /**
949
1011
  * Where an identity link points: an app user, whose claims `principal` loads,
@@ -1150,4 +1212,4 @@ type WorkflowResourceResult = {
1150
1212
  */
1151
1213
  export declare function workflowResource(subject: unknown, types: WorkflowSubjectTypes): WorkflowResourceResult;
1152
1214
  //#endregion
1153
- export type { AccessPolicyOptions, AccessReviewApplierOptions, AccessReviewApplyFailure, AccessReviewApplyResult, ApiKeySession, ApiKeySessionOptions, ApiKeyVerifierOptions, AuthorizationHooksOptions, AuthorizationProviderOptions, AuthorizerOperation, AuthorizerOptions, BetterSupabaseActiveTenant, BetterSupabaseErrorContext, BetterSupabaseIdentityLink, BetterSupabaseMembershipRow, BetterSupabaseOnError, BetterSupabaseSubjectOptions, BlockApprovalApprovers, BlockApprovalPoliciesClient, BlockApprovalPolicySourceOptions, BlockApprovalRecord, BlockApprovalTenantPolicy, BlockApprovalsClient, BlockInstant, BlockMembershipSourceOptions, BlockRoleJunction, BlockRoleThrough, BucketAccess, CredentialGuardOptions, HandlerCanOptions, HandlerPermDockSource, HookCanOptions, McpToolDecision, McpToolRef, PendingSupportSession, PermDockFor, PermDockForInput, PermDockForOptions, PermDockForQuery, PermDockForResult, PrincipalFromMembershipsOptions, PrincipalSourceOptions, ProviderApprovers, RoleOrderOptions, ServiceRoles, SessionSnapshotLike, ShareLinkResolver, ShareLinkRow, ShareLinkSubjectOptions, ShareLinkTarget, SubscriberPolicyEvent, SubscriberPolicyOptions, SupabasePrincipal, SupportPolicyOptions, ToolPolicy, ToolPolicyOptions, TopicAccess, WorkflowRecordRef, WorkflowResourceResult, WorkflowSubjectTypes };
1215
+ export type { AccessPolicyOptions, AccessReviewApplierOptions, AccessReviewApplyFailure, AccessReviewApplyResult, ApiKeySession, ApiKeySessionOptions, ApiKeyVerifierOptions, AuthorizationHooksOptions, AuthorizationProviderOptions, AuthorizerOperation, AuthorizerOptions, BetterSupabaseActiveTenant, BetterSupabaseErrorContext, BetterSupabaseIdentityLink, BetterSupabaseMembershipRow, BetterSupabaseOnError, BetterSupabaseSubjectOptions, BlockApprovalApprovers, BlockApprovalPoliciesClient, BlockApprovalPolicySourceOptions, BlockApprovalRecord, BlockApprovalStoreOptions, BlockApprovalTenantPolicy, BlockApprovalsClient, BlockDecide, BlockInstant, BlockMembershipSourceOptions, BlockRoleJunction, BlockRoleThrough, BucketAccess, CredentialGuardOptions, HandlerCanOptions, HandlerPermDockSource, HookCanOptions, McpToolDecision, McpToolRef, PendingSupportSession, PermDockFor, PermDockForInput, PermDockForOptions, PermDockForQuery, PermDockForResult, PrincipalFromMembershipsOptions, PrincipalSourceOptions, ProviderApprovers, RoleOrderOptions, ServiceRoles, SessionSnapshotLike, ShareLinkResolver, ShareLinkRow, ShareLinkSubjectOptions, ShareLinkTarget, SubscriberPolicyEvent, SubscriberPolicyOptions, SupabasePrincipal, SupportPolicyOptions, ToolPolicy, ToolPolicyOptions, TopicAccess, WorkflowRecordRef, WorkflowResourceResult, WorkflowSubjectTypes };