permdock 0.18.1 → 0.19.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.
- package/dist/a2a/index.d.ts +4 -4
- package/dist/a2a/index.js +6 -6
- package/dist/{adoption-scan-CxExBYSJ.js → adoption-scan-C_VQ-J2f.js} +1 -1
- package/dist/agent/index.d.ts +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/ai-sdk/index.d.ts +3 -3
- package/dist/ai-sdk/index.js +4 -4
- package/dist/{approval-normalize-CUjgSsOl.js → approval-normalize-hlfO9BJv.js} +8 -1
- package/dist/{approval-policies-oNnckT12.d.ts → approval-policies-CYqdqAob.d.ts} +1 -1
- package/dist/{approval-prompt-Bg7gDSqd.d.ts → approval-prompt-BxYbwOAU.d.ts} +1 -1
- package/dist/approvals/index.d.ts +4 -4
- package/dist/approvals/index.js +3 -3
- package/dist/{approvals-DGId_hgJ.js → approvals-CuXILe52.js} +9 -6
- package/dist/{arazzo--riLuGY0.js → arazzo-4vfaXj0U.js} +2 -2
- package/dist/{arazzo-CEDbb-uM.js → arazzo-Dc969CA2.js} +1 -1
- package/dist/astro/index.d.ts +4 -4
- package/dist/astro/index.js +2 -2
- package/dist/{audience-B4YR9UpV.js → audience-GCXRRAeZ.js} +1 -1
- package/dist/authzen/index.d.ts +5 -5
- package/dist/authzen/index.js +3 -3
- package/dist/{automation-Bfa_wD1h.d.ts → automation-BJiJT_Xr.d.ts} +1 -1
- package/dist/better-auth/index.d.ts +1 -1
- package/dist/better-auth/index.js +1 -1
- package/dist/better-supabase/index.d.ts +20 -17
- package/dist/better-supabase/index.js +9 -9
- package/dist/{better-supabase-BJtQ-kNf.js → better-supabase-ayun1IKE.js} +38 -4
- package/dist/{bind-B4pMH9bm.js → bind-BnKPWRrE.js} +4 -4
- package/dist/{bind-DR6ku3A9.d.ts → bind-SpRxR213.d.ts} +7 -7
- package/dist/{body-CJQwYVa8.js → body-C9JbIoqb.js} +1 -1
- package/dist/{build-instance-BFMFQdE_.js → build-instance-DrIbZVnm.js} +1 -1
- package/dist/{capability-BZ_veK9o.d.ts → capability-Ci2S8Cdu.d.ts} +1 -1
- package/dist/{casbin-bKC1FpEx.js → casbin-C1TQqWkK.js} +1 -1
- package/dist/{casbin-DCQHkkyj.js → casbin-ChbpgfNR.js} +1 -1
- package/dist/catalog/index.d.ts +5 -5
- package/dist/catalog/index.js +5 -5
- package/dist/catalog-BTPySmbp.js +1 -0
- package/dist/{catalog-zzNuR3sY.js → catalog-DjDc87R2.js} +1 -1
- package/dist/{catalog-doc-C4DGfJCO.js → catalog-doc-nrgfbh8I.js} +2 -1
- package/dist/{catalog-D1fw8qif.js → catalog-s0waIrfY.js} +2 -2
- package/dist/{challenge-B2O2OLEk.js → challenge-D57I5G1k.js} +1 -1
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/index.js +2 -2
- package/dist/chat-sdk/index.d.ts +3 -3
- package/dist/claude-agent/index.d.ts +3 -3
- package/dist/claude-agent/index.js +2 -2
- package/dist/clerk/index.d.ts +2 -2
- package/dist/cli/bin.js +1 -1
- package/dist/cli/index.d.ts +5 -5
- package/dist/cli/index.js +3 -3
- package/dist/{client-CH7vzSAY.d.ts → client-JK504UCq.d.ts} +15 -2
- package/dist/cloud/index.d.ts +8 -8
- package/dist/cloud/index.js +2 -2
- package/dist/{cloud-C0vXBmLG.js → cloud-Dgj4FiEG.js} +2 -2
- package/dist/{codemod-C-L0w-u7.js → codemod-DN_fBt43.js} +2 -2
- package/dist/{codemod-eYI1FbeJ.js → codemod-WWxwgM77.js} +1 -1
- package/dist/{collect-CU85z6Ta.js → collect-DMQ6Sxr6.js} +2 -2
- package/dist/{collect-D878zLDP.js → collect-DN_x7hvV.js} +1 -1
- package/dist/collect-eSTXOZDC.js +1 -0
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-DBm0ub4p.d.ts → compile-RaRUQhmD.d.ts} +2 -2
- package/dist/{completion-Dauc6pVT.js → completion-DnmUvCw0.js} +1 -1
- package/dist/{config-DWp2PucY.js → config-CmuEoob8.js} +1 -1
- package/dist/{config-COHmivz9.js → config-D2oXUwos.js} +8 -5
- package/dist/{config-report-DKpFm5ID.js → config-report-BVm8Dhbj.js} +2 -2
- package/dist/{config-shape-tsxHx71E.js → config-shape-D9paLhEX.js} +5 -1
- package/dist/{connection-B72dg5Q2.js → connection-QFsv-kbh.js} +1 -1
- package/dist/{context-DeammvFl.js → context-YhyXyqBI.js} +3 -2
- package/dist/convex/index.d.ts +4 -4
- package/dist/convex/index.js +3 -3
- package/dist/{core-D87h2kpR.d.ts → core-DNRWXyj4.d.ts} +2 -2
- package/dist/{core-B8sLve3z.js → core-ZIWZBi6-.js} +5 -5
- package/dist/{create-BzwjZuRS.d.ts → create-0B_bjJc-.d.ts} +7 -7
- package/dist/{create-BrQXL-Wt.d.ts → create-BECB6fns.d.ts} +6 -6
- package/dist/{create-C-tm3KIF.js → create-CAZyXZFC.js} +4 -4
- package/dist/{create-3A7J9KRR.js → create-CegYmYHu.js} +69 -29
- package/dist/{create-CtoT1lIQ.d.ts → create-DJ_5REgN.d.ts} +4 -4
- package/dist/decide-set-DXEPepY1.js +100 -0
- package/dist/{delegation-input-FTxMK3ji.js → delegation-input-DcXhiMkf.js} +1 -1
- package/dist/delivery/index.d.ts +4 -4
- package/dist/delivery/index.js +1 -1
- package/dist/{denied-text-DlIxt8fh.d.ts → denied-text-CF-2h8Vz.d.ts} +1 -1
- package/dist/{describe-BKtC_8PG.d.ts → describe-DyN-HX6o.d.ts} +1 -1
- package/dist/{diff-BnNHqtHj.js → diff-BOU7sSnv.js} +4 -4
- package/dist/{diff-CBCzOTWM.js → diff-BrmvcPXk.js} +1 -1
- package/dist/{doctor-CkYKCuX7.js → doctor-BhhNMkU8.js} +242 -65
- package/dist/{doctor-xUpR5rXg.js → doctor-CL1OigyD.js} +15 -5
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/elysia/index.d.ts +4 -4
- package/dist/elysia/index.js +4 -4
- package/dist/{errors-TpzkEKgJ.d.ts → errors-POWcCXy7.d.ts} +1 -1
- package/dist/{errors-B6R_lg2a.js → errors-ynga1EQy.js} +1 -1
- package/dist/{evaluate-Czbj7thS.js → evaluate-CrKkjgXS.js} +2 -2
- package/dist/{evaluations-CisTTURl.d.ts → evaluations--rkKhMqY.d.ts} +3 -3
- package/dist/{evaluations-h3KoJAPa.js → evaluations-CNMVJVD6.js} +3 -3
- package/dist/eve/index.d.ts +4 -4
- package/dist/eve/index.js +3 -3
- package/dist/express/index.d.ts +4 -4
- package/dist/express/index.js +3 -3
- package/dist/fastify/index.d.ts +4 -4
- package/dist/fastify/index.js +3 -3
- package/dist/{fetch-adapter-DH-NJPbL.js → fetch-adapter-Bm1iZolz.js} +3 -3
- package/dist/{fetch-adapter-BdmfnbJM.d.ts → fetch-adapter-Bq4AB3W2.d.ts} +2 -2
- package/dist/{fields-CrjL6A49.js → fields-COvJbUva.js} +1 -1
- package/dist/{from-snapshot-DMlSSo9b.js → from-snapshot-DHnb8Fh4.js} +2 -2
- package/dist/{gen-mf-MRwVr.js → gen-D0NqzeOP.js} +2 -2
- package/dist/{gen-BEIN-DRM.js → gen-DonXr9Hg.js} +1 -1
- package/dist/h3/index.d.ts +4 -4
- package/dist/h3/index.js +3 -3
- package/dist/{helpers-DmqGy63f.js → helpers-D-MXwkOF.js} +28 -4
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +5 -5
- package/dist/{hosted-BFNXwcjd.d.ts → hosted-H1xp5Dfw.d.ts} +1 -1
- package/dist/{hosted-waouw2V-.js → hosted-iOGBI_ER.js} +4 -3
- package/dist/{import-C1XXpG_m.js → import-C8ffNykt.js} +2 -2
- package/dist/{import-DObwEota.js → import-DNaFHm53.js} +1 -1
- package/dist/{index-CVGio3cH.d.ts → index-B9-ZXNa-.d.ts} +4 -4
- package/dist/{index-BhnOOnp9.d.ts → index-C2pmTzFx.d.ts} +2 -2
- package/dist/{index-Dfv9Toct.d.ts → index-C5Tfpjex.d.ts} +1 -1
- package/dist/{index-CdUTE6qd.d.ts → index-Cm6mHTZ-.d.ts} +16 -10
- package/dist/{index-rFp6X_QP.d.ts → index-DLlWORcK.d.ts} +5 -5
- package/dist/{index-CdMOd-GY.d.ts → index-DZnpRB0q.d.ts} +24 -6
- package/dist/index.d.ts +17 -17
- package/dist/index.js +15 -15
- package/dist/{init-DS3PEsCG.js → init-4aRjat-S.js} +3 -3
- package/dist/{init-CNJ8lLjo.js → init-QfBfkrGu.js} +1 -1
- package/dist/{instance-options-2sFGSdsf.d.ts → instance-options-D6hyIKJF.d.ts} +1 -1
- package/dist/{instance-snapshot-BWa71my8.js → instance-snapshot-DXxcizAb.js} +3 -3
- package/dist/jwt/index.d.ts +4 -4
- package/dist/{kernel-30Z2zM_d.js → kernel-B2UCK36Z.js} +7 -7
- package/dist/kysely/index.d.ts +3 -3
- package/dist/{login-DUVzBLh7.js → login-Cg1la2yJ.js} +3 -3
- package/dist/{login-BgK5Jloo.js → login-lPtJIjbO.js} +1 -1
- package/dist/{manifest-wclLWBVH.js → manifest-CDhdXgf6.js} +38 -37
- package/dist/{map-error-BH16Ah8P.js → map-error-EOhahOVA.js} +3 -3
- package/dist/mcp/index.d.ts +57 -17
- package/dist/mcp/index.js +199 -53
- package/dist/{module-values-B8tNIxdd.js → module-values-BYuNtdK5.js} +1 -1
- package/dist/nest/index.d.ts +4 -4
- package/dist/nest/index.js +5 -5
- package/dist/next/index.d.ts +12 -12
- package/dist/next/index.js +8 -8
- package/dist/next/plugin.d.ts +1 -1
- package/dist/next/plugin.js +1 -1
- package/dist/node/index.d.ts +4 -4
- package/dist/node/index.js +2 -2
- package/dist/openai/index.d.ts +4 -4
- package/dist/openai/index.js +3 -3
- package/dist/openapi/index.d.ts +2 -2
- package/dist/{openapi-C4gFqeRz.js → openapi-C3BIVLTd.js} +2 -2
- package/dist/{openapi-zMEB9qxn.js → openapi-Cr0B3p2h.js} +2 -2
- package/dist/orpc/index.d.ts +21 -17
- package/dist/orpc/index.js +18 -11
- package/dist/otel/index.d.ts +3 -3
- package/dist/{output-BFWLER4r.js → output-DYq_o2dM.js} +1 -1
- package/dist/{ownership-D-mIt-w0.js → ownership-CrmMERZv.js} +1 -1
- package/dist/{parse-UTC-sDrt.js → parse-CXTT7hBq.js} +1 -1
- package/dist/{parse-local-manifest-DvjTQNuO.d.ts → parse-local-manifest-CQjRmzrw.d.ts} +1 -1
- package/dist/{parse-local-manifest-CxcSMQgl.js → parse-local-manifest-Ce2N-Opr.js} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/pdp/index.js +2 -2
- package/dist/{permdock-ffY4CMd9.d.ts → permdock-B45vPQb4.d.ts} +4 -4
- package/dist/{permdock-D-_WrdKu.js → permdock-DeOfonuG.js} +6 -6
- package/dist/{permissions-B3ggI88M.js → permissions-Rk9_Gm04.js} +1 -1
- package/dist/{policy-cV_wwPb8.js → policy-DTmkP72P.js} +2 -2
- package/dist/{policy-from-catalog-B68hGC0S.js → policy-from-catalog-Cljh_B5H.js} +6 -6
- package/dist/{policy-BtKSApSt.d.ts → policy-re2Oag8s.d.ts} +1 -1
- package/dist/{policy-types-D-GwfQTc.d.ts → policy-types-Ky7P23CP.d.ts} +24 -2
- package/dist/{postgrest-D84p5dbA.d.ts → postgrest-pwxeaeOW.d.ts} +1 -1
- package/dist/powersync-B96MUB_Q.js +1 -0
- package/dist/{powersync-9PYOE1wt.js → powersync-BoqBik-G.js} +77 -38
- package/dist/{powersync-DStC_g0B.js → powersync-PKC4yT62.js} +2 -2
- package/dist/prisma/index.d.ts +2 -2
- package/dist/{problem-BVLHFK33.js → problem-BWP1l86g.js} +8 -7
- package/dist/{protected-action-B40tU3yP.js → protected-action-CD1HXwQK.js} +2 -2
- package/dist/{protected-action-Ds_EUY8B.d.ts → protected-action-DHPqBLhz.d.ts} +5 -5
- package/dist/{provider-OtnIiFWm.d.ts → provider-C-CbGEii.d.ts} +1 -1
- package/dist/{provider-CY4TSSJo.js → provider-qESIf_C0.js} +5 -2
- package/dist/{provider-store-BQP_pp8s.js → provider-store-BTHGJH9j.js} +3 -2
- package/dist/pull-BjdsS9x1.js +1 -0
- package/dist/{pull-DLP4I1Kl.js → pull-FG0Tf8aF.js} +3 -3
- package/dist/{push-BSb8j1EW.js → push-CI5G7lRS.js} +3 -3
- package/dist/{pushed-policy-Ck3FZcoy.d.ts → pushed-policy-B94r9DlN.d.ts} +1 -1
- package/dist/{pushed-policy-BecMsTtM.js → pushed-policy-DftSiyD3.js} +1 -1
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +3 -3
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react/provider-client.js +1 -1
- package/dist/react-native/index.d.ts +28 -14
- package/dist/react-native/index.js +57 -37
- package/dist/{replay-E5X9E1lC.d.ts → replay-BqmXcP7x.d.ts} +1 -1
- package/dist/{request-context-DM6_jY1n.js → request-context-uvaevbBu.js} +1 -1
- package/dist/resend/index.d.ts +4 -4
- package/dist/resend/index.js +2 -2
- package/dist/{resolve-names-CBl4r4_r.js → resolve-names-Dg8560iu.js} +2 -2
- package/dist/{rls-DGBL-jDY.js → rls-CJbWbxXv.js} +19 -13
- package/dist/{rls-pAHGYgTb.js → rls-DJSczevJ.js} +1 -1
- package/dist/{role-builder-CMW4wWzn.js → role-builder-C_2kWB_x.js} +1 -1
- package/dist/rpc-D7cDHIVE.d.ts +22 -0
- package/dist/{rpc-KwX_Jcxz.js → rpc-m5hPklf-.js} +16 -6
- package/dist/run-4m-TyVTD.js +1 -0
- package/dist/{run-B7lv3NuK.js → run-BigMDvGR.js} +3 -3
- package/dist/{run-ticket-DPaD27_r.d.ts → run-ticket-DRA3POCY.d.ts} +2 -2
- package/dist/{saas-B8H1MsQ3.js → saas-BHeoBqbW.js} +4 -4
- package/dist/{scan-0r3OZqqK.js → scan-BKLwCSVV.js} +1 -1
- package/dist/{schema-CuX70xgH.js → schema-BlnU_TzE.js} +4 -0
- package/dist/{schema-B_9tXrbG.js → schema-CLuBlCCr.js} +1 -1
- package/dist/scim/index.d.ts +1 -1
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +5 -5
- package/dist/{server-types-3OnXjZ2D.d.ts → server-types-CwpJe664.d.ts} +31 -13
- package/dist/{sink-ogbVkyeo.d.ts → sink-7Lrch8dn.d.ts} +2 -2
- package/dist/{skills-B4MPRxQd.js → skills-CyD_3eoi.js} +1 -1
- package/dist/{skills-C9sTD70r.js → skills-D42EyC8G.js} +1 -1
- package/dist/{snapshot-DN_8J27z.js → snapshot-DHPih65J.js} +2 -1
- package/dist/{snapshot-cache-B4YvlGG_.d.ts → snapshot-cache-B9weL8NE.d.ts} +1 -1
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid/index.js +3 -2
- package/dist/solid-start/index.d.ts +4 -4
- package/dist/solid-start/index.js +3 -3
- package/dist/{sources-xdQShLDU.d.ts → sources-4d3fl7cq.d.ts} +1 -1
- package/dist/{src-Brzq_0in.js → src-HDDf9Eum.js} +28 -13
- package/dist/ssf/index.d.ts +3 -3
- package/dist/ssf/index.js +2 -2
- package/dist/{standard-webhooks-BfPaZ6T1.d.ts → standard-webhooks-BGi8pUwo.d.ts} +2 -2
- package/dist/{store-DmVqy74I.js → store-CSOsXd5s.js} +8 -6
- package/dist/{store-DYeB-_U3.d.ts → store-CjJaZI_g.d.ts} +31 -4
- package/dist/{store-options--zWn48PK.js → store-options-CDvoX52-.js} +31 -8
- package/dist/{stores-EPul_8MN.d.ts → stores-Cam6GGAV.d.ts} +5 -5
- package/dist/{stores-BYFopOm1.js → stores-PpYVQ5yF.js} +1 -1
- package/dist/{stream-CDvF0sJm.js → stream-DQ3rbO3J.js} +1 -1
- package/dist/supabase/client.d.ts +1 -1
- package/dist/supabase/client.js +32 -4
- package/dist/supabase/index.d.ts +10 -5
- package/dist/supabase/index.js +1 -1
- package/dist/supabase/middleware.d.ts +5 -5
- package/dist/supabase/middleware.js +5 -5
- package/dist/{supabase-BiViJpQ4.js → supabase-CVZuytCC.js} +2 -2
- package/dist/{supabase-CogTyJH2.js → supabase-DBuZK2pP.js} +2 -2
- package/dist/supabase-hook-2M-EpoRp.js +1 -0
- package/dist/{supabase-hook-DX38Hj8h.js → supabase-hook-Btk56XD6.js} +151 -55
- package/dist/{supautils-BGf6zRvM.js → supautils-lwXmXPP_.js} +7 -7
- package/dist/svelte/index.d.ts +5 -5
- package/dist/svelte/index.js +3 -3
- package/dist/svelte/runtime.d.ts +3 -3
- package/dist/svelte/runtime.js +1 -1
- package/dist/svelte/source.d.ts +5 -5
- package/dist/svelte/source.js +2 -2
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +2 -2
- package/dist/{tables-BfOk0ymL.js → tables-B72q9UFD.js} +1 -1
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/tanstack-start/index.js +2 -2
- package/dist/terminal/index.d.ts +5 -5
- package/dist/terminal/index.js +4 -4
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/core.js +1 -1
- package/dist/testing/fixtures/index.d.ts +1 -1
- package/dist/testing/fixtures/index.js +1 -1
- package/dist/testing/index.d.ts +23 -23
- package/dist/testing/index.js +22 -22
- package/dist/testing/saas/index.d.ts +3 -3
- package/dist/testing/saas/index.js +2 -2
- package/dist/testing/saas/permissions.js +1 -1
- package/dist/trpc/index.d.ts +15 -8
- package/dist/trpc/index.js +23 -19
- package/dist/{type-helpers-i1EJ3Eb1.d.ts → type-helpers-CDxxNswo.d.ts} +1 -1
- package/dist/{types-CqcsNCaN.d.ts → types--HfnkawU.d.ts} +13 -1
- package/dist/{types-NYoj8JBm.d.ts → types-7Vlz1Wi2.d.ts} +1 -0
- package/dist/{types-B8qUkGja.d.ts → types-BVn1w_0o.d.ts} +2 -2
- package/dist/{types-DmbfLu2p.d.ts → types-BlYPxJDR.d.ts} +9 -4
- package/dist/{types-D19MK4t-.d.ts → types-Bwdumeos.d.ts} +3 -3
- package/dist/{types-3Y8UpFkF.d.ts → types-BwuNGQRm.d.ts} +68 -4
- package/dist/{types-D-JO7lh8.d.ts → types-CChFKY10.d.ts} +5 -5
- package/dist/{types-CDVXR6YD.d.ts → types-Do4yihST.d.ts} +1 -1
- package/dist/{types-CCEeSCMB.d.ts → types-Do8qBcRO.d.ts} +3 -3
- package/dist/{types-o1vu6Ks3.d.ts → types-OLSfBLa5.d.ts} +4 -4
- package/dist/{types-DGf_cpKF.d.ts → types-g0Vk9k2c.d.ts} +2 -2
- package/dist/{types-Ck1KOfug.d.ts → types-oaqeYKQu.d.ts} +2 -2
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-DYtRVkcN.js → usage-BLhhEPcZ.js} +1 -1
- package/dist/{usage-DC0UKe6C.js → usage-C-wta3rx.js} +4 -4
- package/dist/usage-Csc_ZRd0.js +1 -0
- package/dist/{validation-error-Dx8PipbO.d.ts → validation-error-AhCHeeff.d.ts} +1 -1
- package/dist/{verify-Bpj0hauG.js → verify-CaaZlnP5.js} +78 -57
- package/dist/{version-cache-DzNKWiI6.d.ts → version-cache-Ddvrfn1R.d.ts} +1 -1
- package/dist/vue/index.d.ts +5 -5
- package/dist/vue/index.js +2 -2
- package/dist/{waiter-NK_UuZbb.d.ts → waiter-CROiWRIP.d.ts} +2 -2
- package/dist/watch-CS69ftMP.js +1 -0
- package/dist/{watch-CBHADqBH.js → watch-Dz2LNM1R.js} +2 -2
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/{where-scope-BKrqUDVk.js → where-scope-BAyOsPQW.js} +1 -1
- package/dist/{who-can-KhVWMxtf.js → who-can-jPfTABf-.js} +1 -1
- package/dist/workflow/index.d.ts +3 -3
- package/dist/workflow/index.js +2 -2
- package/dist/workflow-sdk/index.d.ts +4 -4
- package/dist/{wrap-BHGA-SMM.d.ts → wrap-C-4o-Dpy.d.ts} +2 -2
- package/package.json +1 -1
- package/schemas/catalog-v1.json +8 -0
- package/skills/permdock-agents/references/runtimes.md +2 -2
- package/skills/permdock-wire/references/adapters.md +1 -1
- package/dist/catalog-Caqhbdix.js +0 -1
- package/dist/collect-KCtOigxx.js +0 -1
- package/dist/powersync-xNRlC4jN.js +0 -1
- package/dist/pull-UBjDnf4b.js +0 -1
- package/dist/run-UPbacxPg.js +0 -1
- package/dist/stream-W2RuUYly.d.ts +0 -13
- package/dist/supabase-hook-BN46IrVI.js +0 -1
- package/dist/usage-Cl5eb-e1.js +0 -1
- package/dist/watch-OYwAPCzx.js +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as isRecord, t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { c as isConditionDate, l as isConditionRef, o as hasConditionOp } from "./refs-C8BKxc_e.js";
|
|
3
|
-
import { A as memoryCustomRoleSource, g as localSnapshotManifest } from "./src-
|
|
3
|
+
import { A as memoryCustomRoleSource, g as localSnapshotManifest } from "./src-HDDf9Eum.js";
|
|
4
4
|
import { n as findPermission } from "./permission-registry-B8tYxPIt.js";
|
|
5
5
|
import { d as scopeList, s as resolveScope } from "./scopes-BSdYaGHs.js";
|
|
6
|
-
import { l as policyLevels } from "./policy-
|
|
6
|
+
import { l as policyLevels } from "./policy-DTmkP72P.js";
|
|
7
7
|
import { t as requiresApproval } from "./approval-required-TzNB9oQA.js";
|
|
8
|
-
import { t as getPermDock } from "./permdock-
|
|
8
|
+
import { t as getPermDock } from "./permdock-DeOfonuG.js";
|
|
9
9
|
import { u as usageResult } from "./errors-BhRkoNS7.js";
|
|
10
10
|
import { c as requirePolicy } from "./load-BaEamml-.js";
|
|
11
11
|
import { s as quoteSqlLiteral, t as SQL_IDENT } from "./sql-0WjxIp9g.js";
|
|
@@ -14,12 +14,12 @@ import { d as keptKeys, t as AUTHZ_VERSION_TABLE } from "./sources-C4vkzZJV.js";
|
|
|
14
14
|
import { t as applyFiles } from "./files-CfiRtQ-m.js";
|
|
15
15
|
import { i as fileDrift } from "./output-files-CM0BnH05.js";
|
|
16
16
|
import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-Cemqurt8.js";
|
|
17
|
+
import { n as pgConnector } from "./pg-Ddxsd5ZB.js";
|
|
17
18
|
import { A as quoteQualified, O as quoteIdent, a as customRolesOn, t as CUSTOM_ROLES } from "./shared-DyYVEjKC.js";
|
|
18
|
-
import { n as tableNameOf, r as tableNames } from "./tables-
|
|
19
|
-
import { d as andConditions, l as collectGrants, o as assignableRoles, p as contextRefs, t as ownershipRules, u as roleNames } from "./ownership-
|
|
19
|
+
import { n as tableNameOf, r as tableNames } from "./tables-B72q9UFD.js";
|
|
20
|
+
import { d as andConditions, l as collectGrants, o as assignableRoles, p as contextRefs, t as ownershipRules, u as roleNames } from "./ownership-CrmMERZv.js";
|
|
20
21
|
import { t as membershipSourcesOf } from "./sources-qoIJQrJv.js";
|
|
21
|
-
import {
|
|
22
|
-
import { m as tableFor, t as canFixture } from "./verify-Bpj0hauG.js";
|
|
22
|
+
import { m as tableFor, t as canFixture } from "./verify-CaaZlnP5.js";
|
|
23
23
|
import { resolve } from "node:path";
|
|
24
24
|
//#region src/cli/powersync/claims.ts
|
|
25
25
|
/** The `/docs` section that explains why a claim stream needs a reconnect. */
|
|
@@ -124,10 +124,56 @@ function streamOf(source) {
|
|
|
124
124
|
if (stream.expiresAt !== void 0) return `the ${stream.table} membership source has no stream: it has an expiry`;
|
|
125
125
|
return stream;
|
|
126
126
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
127
|
+
/**
|
|
128
|
+
* Every `on` pair of the reference: the referencing column, then the column of
|
|
129
|
+
* `through` it references. A composite key (`organization_id` and `user_id`)
|
|
130
|
+
* matches only when every pair does.
|
|
131
|
+
*/
|
|
132
|
+
function pairsOf(through) {
|
|
133
|
+
const pairs = Object.entries(through.on);
|
|
134
|
+
if (pairs.length === 0) throw new TypeError(`PermDock CLI: the reference to ${through.through} names no column`);
|
|
135
|
+
return pairs;
|
|
136
|
+
}
|
|
137
|
+
/** The `ON` of a join from `table` to `keys`, the bare name of `through`. */
|
|
138
|
+
function joinOn(through, keys, table, dialect) {
|
|
139
|
+
return pairsOf(through).map(([ref, id]) => `${dialect.column(keys, id)} = ${dialect.column(table, ref)}`).join(" AND ");
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* The select list of a `through` row. PowerSync keys every synced row on an
|
|
143
|
+
* `id` column, so a composite reference selects its key columns and the value
|
|
144
|
+
* column with `id` built from them; a single reference keeps `*`.
|
|
145
|
+
*/
|
|
146
|
+
function throughSelect(through, keys, dialect) {
|
|
147
|
+
const pairs = pairsOf(through);
|
|
148
|
+
if (pairs.length === 1) return "*";
|
|
149
|
+
const columns = [.../* @__PURE__ */ new Set([...pairs.map(([, id]) => id), through.column])].map((column) => dialect.column(keys, column));
|
|
150
|
+
return `${columns.join(", ")}, ${columns.join(` || ${dialect.literal(":")} || `)} AS id`;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* The query of the `through` rows the user's own rows reference. A pair on the
|
|
154
|
+
* user column compares with the signed-in user, so a composite junction keyed
|
|
155
|
+
* on the tenant and the user syncs only the user's rows; `user` then names the
|
|
156
|
+
* junction's user column.
|
|
157
|
+
*/
|
|
158
|
+
function throughRows(through, own, dialect, ownUser) {
|
|
159
|
+
const keys = bare(through.through, dialect);
|
|
160
|
+
const pairs = pairsOf(through);
|
|
161
|
+
const user = pairs.find(([ref]) => ref === ownUser)?.[1];
|
|
162
|
+
const where = pairs.flatMap(([ref, id]) => {
|
|
163
|
+
const owned = `${dialect.column(keys, id)} IN (SELECT ${dialect.column(own.table, ref)} FROM ${own.from} WHERE ${own.where.join(" AND ")})`;
|
|
164
|
+
if (id !== user) return [owned];
|
|
165
|
+
const mine = `${dialect.column(keys, id)} = ${dialect.user}`;
|
|
166
|
+
return pairs.length === 1 ? [mine, owned] : [mine];
|
|
167
|
+
});
|
|
168
|
+
const query = `SELECT ${throughSelect(through, keys, dialect)} FROM ${fromTable(through.through, dialect)} WHERE ${where.join(" AND ")}`;
|
|
169
|
+
return user === void 0 ? {
|
|
170
|
+
table: keys,
|
|
171
|
+
query
|
|
172
|
+
} : {
|
|
173
|
+
table: keys,
|
|
174
|
+
query,
|
|
175
|
+
user
|
|
176
|
+
};
|
|
131
177
|
}
|
|
132
178
|
function isFixed(roles) {
|
|
133
179
|
return typeof roles === "object" && "value" in roles;
|
|
@@ -160,10 +206,9 @@ function ownRows(stream, dialect, scope, keep = false) {
|
|
|
160
206
|
]
|
|
161
207
|
};
|
|
162
208
|
const users = bare(stream.user.through, dialect);
|
|
163
|
-
const [ref, id] = pairOf(stream.user);
|
|
164
209
|
return {
|
|
165
210
|
table,
|
|
166
|
-
from: `${fromTable(stream.table, dialect)} INNER JOIN ${fromTable(stream.user.through, dialect)} ON ${
|
|
211
|
+
from: `${fromTable(stream.table, dialect)} INNER JOIN ${fromTable(stream.user.through, dialect)} ON ${joinOn(stream.user, users, table, dialect)}`,
|
|
167
212
|
where: [
|
|
168
213
|
`${dialect.column(users, stream.user.column)} = ${dialect.user}`,
|
|
169
214
|
...scoped,
|
|
@@ -188,11 +233,10 @@ function roleFilter(stream, source, role, table, dialect) {
|
|
|
188
233
|
};
|
|
189
234
|
}
|
|
190
235
|
const keys = bare(source.through, dialect);
|
|
191
|
-
const [ref, id] = pairOf(source);
|
|
192
236
|
const { guard } = stream;
|
|
193
237
|
const guarded = guard !== void 0 && bare(guard.table, dialect) === keys && guard.declared.includes(role) ? [anyOf([`${dialect.column(keys, guard.tenant)} IS NULL`, ...guard.skip === void 0 ? [] : [`${dialect.column(keys, guard.skip)} = ${dialect.literal(true)}`]])] : [];
|
|
194
238
|
return {
|
|
195
|
-
join: ` INNER JOIN ${fromTable(source.through, dialect)} ON ${
|
|
239
|
+
join: ` INNER JOIN ${fromTable(source.through, dialect)} ON ${joinOn(source, keys, table, dialect)}`,
|
|
196
240
|
where: [`${dialect.column(keys, source.column)} = ${dialect.literal(role)}`, ...guarded].join(" AND ")
|
|
197
241
|
};
|
|
198
242
|
}
|
|
@@ -239,15 +283,8 @@ function sourceIn(stream, scope, left, roles, ctx, keep = false) {
|
|
|
239
283
|
function roleTableRows(stream, dialect, keep = false) {
|
|
240
284
|
if (isFixed(stream.roles)) return [];
|
|
241
285
|
const own = ownRows(stream, dialect, void 0, keep);
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
const keys = bare(source.through, dialect);
|
|
245
|
-
const [ref, id] = pairOf(source);
|
|
246
|
-
return [{
|
|
247
|
-
table: keys,
|
|
248
|
-
query: `SELECT * FROM ${fromTable(source.through, dialect)} WHERE ${dialect.column(keys, id)} IN (SELECT ${dialect.column(own.table, ref)} FROM ${own.from} WHERE ${own.where.join(" AND ")})`
|
|
249
|
-
}];
|
|
250
|
-
});
|
|
286
|
+
const user = typeof stream.user === "string" ? stream.user : void 0;
|
|
287
|
+
return roleSources(stream.roles).flatMap((source) => typeof source === "string" || "map" in source ? [] : [throughRows(source, own, dialect, user)]);
|
|
251
288
|
}
|
|
252
289
|
//#endregion
|
|
253
290
|
//#region src/cli/powersync/version.ts
|
|
@@ -267,13 +304,15 @@ function authzVersionTable(config) {
|
|
|
267
304
|
//#endregion
|
|
268
305
|
//#region src/cli/powersync/rows.ts
|
|
269
306
|
function throughColumn(through, device) {
|
|
270
|
-
const
|
|
307
|
+
const pairs = Object.entries(through.on);
|
|
308
|
+
const [pair] = pairs;
|
|
271
309
|
return {
|
|
272
310
|
column: pair?.[0] ?? "",
|
|
273
311
|
through: {
|
|
274
312
|
table: device(through.through),
|
|
275
313
|
id: pair?.[1] ?? "",
|
|
276
|
-
column: through.column
|
|
314
|
+
column: through.column,
|
|
315
|
+
...pairs.length > 1 ? { on: { ...through.on } } : {}
|
|
277
316
|
}
|
|
278
317
|
};
|
|
279
318
|
}
|
|
@@ -378,11 +417,10 @@ function roleKeyOf(role, table, dialect) {
|
|
|
378
417
|
roleKey: dialect.column(table, role)
|
|
379
418
|
};
|
|
380
419
|
if ("map" in role) return;
|
|
381
|
-
|
|
382
|
-
if (pair === void 0) return;
|
|
420
|
+
if (Object.keys(role.on).length === 0) return;
|
|
383
421
|
const keys = bare(role.through, dialect);
|
|
384
422
|
return {
|
|
385
|
-
join: ` INNER JOIN ${fromTable(role.through, dialect)} ON ${
|
|
423
|
+
join: ` INNER JOIN ${fromTable(role.through, dialect)} ON ${joinOn(role, keys, table, dialect)}`,
|
|
386
424
|
roleKey: dialect.column(keys, role.column)
|
|
387
425
|
};
|
|
388
426
|
}
|
|
@@ -740,10 +778,8 @@ function membershipIn(table, idColumn, left, roles, ctx, keep = false) {
|
|
|
740
778
|
if (values.length === 0) return ["1 = 0"];
|
|
741
779
|
return [`${left} IN (SELECT ${ctx.dialect.column(name, idColumn)} FROM ${fromTable(table.table, ctx.dialect)} WHERE ${[...filters, `${ctx.dialect.column(name, source.column)} IN (${values.join(", ")})`].join(" AND ")})`];
|
|
742
780
|
}
|
|
743
|
-
const [pair] = Object.entries(source.on);
|
|
744
781
|
const keys = bare(source.through, ctx.dialect);
|
|
745
|
-
|
|
746
|
-
return [`${left} IN (SELECT ${ctx.dialect.column(name, idColumn)} FROM ${fromTable(table.table, ctx.dialect)} INNER JOIN ${fromTable(source.through, ctx.dialect)} ON ${ctx.dialect.column(keys, id)} = ${ctx.dialect.column(name, ref)} WHERE ${[...filters, `${ctx.dialect.column(keys, source.column)} IN (${list})`].join(" AND ")})`];
|
|
782
|
+
return [`${left} IN (SELECT ${ctx.dialect.column(name, idColumn)} FROM ${fromTable(table.table, ctx.dialect)} INNER JOIN ${fromTable(source.through, ctx.dialect)} ON ${joinOn(source, keys, name, ctx.dialect)} WHERE ${[...filters, `${ctx.dialect.column(keys, source.column)} IN (${list})`].join(" AND ")})`];
|
|
747
783
|
});
|
|
748
784
|
}
|
|
749
785
|
/**
|
|
@@ -865,12 +901,15 @@ function subjectStreams(ctx) {
|
|
|
865
901
|
const active = disabledAt !== void 0 && keptKeys(rls?.suspension?.memberships).length === 0 ? ` AND ${dialect.column(name, disabledAt)} IS NULL` : "";
|
|
866
902
|
const mine = `${dialect.column(name, user)} = ${dialect.user}${active}`;
|
|
867
903
|
add(name, `SELECT * FROM ${fromTable(table, dialect)} WHERE ${mine}`, user);
|
|
904
|
+
const rows = {
|
|
905
|
+
table: name,
|
|
906
|
+
from: fromTable(table, dialect),
|
|
907
|
+
where: [mine]
|
|
908
|
+
};
|
|
868
909
|
for (const through of roleThroughs(role)) {
|
|
869
|
-
|
|
870
|
-
const
|
|
871
|
-
|
|
872
|
-
const [ref, id] = pair;
|
|
873
|
-
add(keys, `SELECT * FROM ${fromTable(through.through, dialect)} WHERE ${dialect.column(keys, id)} IN (SELECT ${dialect.column(name, ref)} FROM ${fromTable(table, dialect)} WHERE ${mine})`);
|
|
910
|
+
if (Object.keys(through.on).length === 0) continue;
|
|
911
|
+
const keys = throughRows(through, rows, dialect, user);
|
|
912
|
+
add(keys.table, keys.query, keys.user);
|
|
874
913
|
}
|
|
875
914
|
};
|
|
876
915
|
const memberships = rls?.memberships;
|
|
@@ -883,7 +922,7 @@ function subjectStreams(ctx) {
|
|
|
883
922
|
const users = bare(stream.user.through, dialect);
|
|
884
923
|
add(users, `SELECT * FROM ${fromTable(stream.user.through, dialect)} WHERE ${dialect.column(users, stream.user.column)} = ${dialect.user}`, stream.user.column);
|
|
885
924
|
}
|
|
886
|
-
for (const keys of roleTableRows(stream, dialect, keep)) add(keys.table, keys.query);
|
|
925
|
+
for (const keys of roleTableRows(stream, dialect, keep)) add(keys.table, keys.query, keys.user);
|
|
887
926
|
}
|
|
888
927
|
const schema = rls?.schema ?? "permdock";
|
|
889
928
|
const database = rls?.authorize === "database";
|
|
@@ -14,7 +14,7 @@ const generate = defineLeaf({
|
|
|
14
14
|
async run(ctx, { flags }) {
|
|
15
15
|
const out = fileOut("powersync", flags.out);
|
|
16
16
|
const from = given(flags.policy);
|
|
17
|
-
const { runPowerSync } = await import("./powersync-
|
|
17
|
+
const { runPowerSync } = await import("./powersync-B96MUB_Q.js");
|
|
18
18
|
return runPowerSync({
|
|
19
19
|
cwd: ctx.cwd,
|
|
20
20
|
config: ctx.config,
|
|
@@ -45,7 +45,7 @@ const verify = defineLeaf({
|
|
|
45
45
|
const db = await dbUrl(ctx, flags, { required: true });
|
|
46
46
|
const fixtures = given(flags.fixtures);
|
|
47
47
|
const from = given(flags.policy);
|
|
48
|
-
const { runPowerSync } = await import("./powersync-
|
|
48
|
+
const { runPowerSync } = await import("./powersync-B96MUB_Q.js");
|
|
49
49
|
return runPowerSync({
|
|
50
50
|
cwd: ctx.cwd,
|
|
51
51
|
config: ctx.config,
|
package/dist/prisma/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { f as WhereResult } from "../permdock-
|
|
1
|
+
import { Er as Condition, qt as Instant, xr as Subject } from "../policy-types-Ky7P23CP.js";
|
|
2
|
+
import { f as WhereResult } from "../permdock-B45vPQb4.js";
|
|
3
3
|
import { r as RelationsMapping } from "../graph-sql-BwFC4Qjs.js";
|
|
4
4
|
import { n as RowCheck, t as WithSubjectOptions } from "../subject-settings-vNW8qmUH.js";
|
|
5
5
|
//#region src/prisma/model-fields.d.ts
|
|
@@ -2,7 +2,7 @@ import { t as compact } from "./compact-CAf557ZB.js";
|
|
|
2
2
|
import { n as freezeDeep } from "./freeze-jjan0lCv.js";
|
|
3
3
|
import { n as PermDockValidationError } from "./validation-error-CYg2kJEw.js";
|
|
4
4
|
import { a as problemType, i as stepUpOf, n as problemDetails, o as statusProblem, t as notFoundDetails } from "./problem-details-CLDgX1KV.js";
|
|
5
|
-
import { a as deniedMessage, i as approvalMessage } from "./errors-
|
|
5
|
+
import { a as deniedMessage, i as approvalMessage } from "./errors-ynga1EQy.js";
|
|
6
6
|
import { a as durationOf, g as secondsOf, p as nowSeconds } from "./time-nR1JesoH.js";
|
|
7
7
|
//#region src/server/problem.ts
|
|
8
8
|
function quoted(value) {
|
|
@@ -135,13 +135,14 @@ function validationOf(decision, disclosure) {
|
|
|
135
135
|
return disclosure !== "hide" && detail instanceof PermDockValidationError ? detail : void 0;
|
|
136
136
|
}
|
|
137
137
|
/** The Problem Details body `problemFromDecision` answers with. */
|
|
138
|
-
function decisionProblem(decision, permission,
|
|
139
|
-
return validationOf(decision, options.disclosure)?.toProblemDetails() ?? refusalDetails(decision, permission,
|
|
138
|
+
function decisionProblem(decision, permission, options = {}) {
|
|
139
|
+
return validationOf(decision, options.disclosure)?.toProblemDetails() ?? refusalDetails(decision, permission, options);
|
|
140
140
|
}
|
|
141
|
-
|
|
141
|
+
/** The `detail` names the permission and the denials, never the subject. */
|
|
142
|
+
function refusalDetails(decision, permission, options) {
|
|
142
143
|
const details = problemDetails(compact({
|
|
143
144
|
decision,
|
|
144
|
-
detail: decision.outcome === "approval-required" ? approvalMessage(permission.key, decision.reason, decision.token) : deniedMessage(permission.key,
|
|
145
|
+
detail: decision.outcome === "approval-required" ? approvalMessage(permission.key, decision.reason, decision.token) : deniedMessage(permission.key, void 0, decision.denials, decision.alternatives.map((leaf) => leaf.key), false),
|
|
145
146
|
instance: options.instance,
|
|
146
147
|
permission: permission.key,
|
|
147
148
|
scope: permission.scope,
|
|
@@ -157,14 +158,14 @@ function refusalDetails(decision, permission, subject, options) {
|
|
|
157
158
|
approval
|
|
158
159
|
};
|
|
159
160
|
}
|
|
160
|
-
function problemFromDecision(decision, permission,
|
|
161
|
+
function problemFromDecision(decision, permission, _subject, options = {}) {
|
|
161
162
|
if (decision.outcome === "granted") return new Response(null, { status: 204 });
|
|
162
163
|
const validation = validationOf(decision, options.disclosure);
|
|
163
164
|
if (validation !== void 0) return problemResponse(validation.toProblemDetails(), options.scope === void 0 ? permission : {
|
|
164
165
|
...permission,
|
|
165
166
|
scope: options.scope
|
|
166
167
|
}, decision);
|
|
167
|
-
return decisionResponse(refusalDetails(decision, permission,
|
|
168
|
+
return decisionResponse(refusalDetails(decision, permission, options), decision, compact({
|
|
168
169
|
scope: options.scope ?? permission.scope,
|
|
169
170
|
credentials: options.credentials
|
|
170
171
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as actionRunner, t as actionApproval } from "./protected-action-OpOxtTsN.js";
|
|
2
2
|
import { c as rolesView, d as subjectView, f as tenantView, i as gateView, l as scopedTenant, n as describeWith, o as permissionSet, r as filterResult, s as protectedView, t as approvalHandle, u as slotContent } from "./views-MWmJ6Y4P.js";
|
|
3
|
-
import { n as storeOf } from "./store-options
|
|
3
|
+
import { n as storeOf } from "./store-options-CDvoX52-.js";
|
|
4
4
|
import { a as PermDockUiContext, i as PermDockStoreContext, r as PermDockSnapshotPromiseContext } from "./live-options-BBIT68le.js";
|
|
5
5
|
import { Suspense, use, useEffect, useLayoutEffect, useMemo, useState, useSyncExternalStore } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -14,7 +14,7 @@ function useStore() {
|
|
|
14
14
|
}
|
|
15
15
|
function usePermDock() {
|
|
16
16
|
const store = useStore();
|
|
17
|
-
return useSyncExternalStore((listener) => store.subscribe(listener), () => store.get(), () => store.
|
|
17
|
+
return useSyncExternalStore((listener) => store.subscribe(listener), () => store.get(), () => store.serverGet());
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Adds refresh triggers to the nearest provider while the component is mounted.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as PolicyVocabulary, Yn as Decision, vr as Membership } from "./policy-types-Ky7P23CP.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
3
|
import { r as Role } from "./vocabulary-DEJ5j4mR.js";
|
|
4
|
-
import { d as UncheckedData, s as RowData } from "./permdock-
|
|
5
|
-
import { r as DescribeOptions, t as DecisionDescription } from "./describe-
|
|
6
|
-
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, l as GateView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, y as ProtectedAction } from "./store-
|
|
4
|
+
import { d as UncheckedData, s as RowData } from "./permdock-B45vPQb4.js";
|
|
5
|
+
import { r as DescribeOptions, t as DecisionDescription } from "./describe-DyN-HX6o.js";
|
|
6
|
+
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, l as GateView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, y as ProtectedAction } from "./store-CjJaZI_g.js";
|
|
7
7
|
import { r as RefreshTrigger } from "./refresh-on-L9UOwATg.js";
|
|
8
|
-
import { r as ProtectedProps } from "./types-
|
|
8
|
+
import { r as ProtectedProps } from "./types-BlYPxJDR.js";
|
|
9
9
|
import { ReactNode } from "react";
|
|
10
10
|
//#region src/react/hooks.d.ts
|
|
11
11
|
declare function usePermDock<V extends PolicyVocabulary = PolicyVocabulary>(): ClientPermDock<V>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PermDockProviderProps } from "./types-
|
|
1
|
+
import { n as PermDockProviderProps } from "./types-BlYPxJDR.js";
|
|
2
2
|
import { ReactElement } from "react";
|
|
3
3
|
//#region src/react/provider.d.ts
|
|
4
4
|
declare function PermDockProvider(props: PermDockProviderProps): ReactElement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
|
-
import { t as emptySnapshot } from "./from-snapshot-
|
|
3
|
-
import { t as adapterStore } from "./store-options
|
|
2
|
+
import { t as emptySnapshot } from "./from-snapshot-DHnb8Fh4.js";
|
|
3
|
+
import { t as adapterStore } from "./store-options-CDvoX52-.js";
|
|
4
4
|
import { a as PermDockUiContext, i as PermDockStoreContext, n as useKeyed, r as PermDockSnapshotPromiseContext, t as useLiveOptions } from "./live-options-BBIT68le.js";
|
|
5
5
|
import { useLayoutEffect, useMemo } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -13,6 +13,7 @@ function PermDockProvider(props) {
|
|
|
13
13
|
const store = useKeyed(() => adapterStore(compact({
|
|
14
14
|
endpoint: props.endpoint,
|
|
15
15
|
snapshotUrl: props.snapshotUrl,
|
|
16
|
+
fetchSnapshot: props.fetchSnapshot,
|
|
16
17
|
approvals: props.approvals,
|
|
17
18
|
tenant: props.tenant,
|
|
18
19
|
fetch: live.fetch,
|
|
@@ -29,6 +30,7 @@ function PermDockProvider(props) {
|
|
|
29
30
|
props.snapshot,
|
|
30
31
|
props.endpoint,
|
|
31
32
|
props.snapshotUrl,
|
|
33
|
+
props.fetchSnapshot,
|
|
32
34
|
props.approvals,
|
|
33
35
|
props.tenant,
|
|
34
36
|
live.fetch,
|
|
@@ -40,6 +42,7 @@ function PermDockProvider(props) {
|
|
|
40
42
|
live.onClear,
|
|
41
43
|
props.approvalInterval
|
|
42
44
|
]);
|
|
45
|
+
if (promise !== null && !suspend) store.seed(promise);
|
|
43
46
|
const ui = useMemo(() => ({
|
|
44
47
|
defaults: props.defaults,
|
|
45
48
|
messages: props.messages
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
|
-
import { t as emptySnapshot } from "./from-snapshot-
|
|
3
|
-
import { l as isPromiseLike, t as adapterStore } from "./store-options
|
|
2
|
+
import { t as emptySnapshot } from "./from-snapshot-DHnb8Fh4.js";
|
|
3
|
+
import { l as isPromiseLike, t as adapterStore } from "./store-options-CDvoX52-.js";
|
|
4
4
|
//#region src/client/provider-store.ts
|
|
5
5
|
/**
|
|
6
6
|
* Store options that read `read()` on every request, so a rotated token, a new
|
|
@@ -27,6 +27,7 @@ function providerStore(options, read, snapshot) {
|
|
|
27
27
|
const store = adapterStore(compact({
|
|
28
28
|
endpoint: options.endpoint,
|
|
29
29
|
snapshotUrl: options.snapshotUrl,
|
|
30
|
+
fetchSnapshot: options.fetchSnapshot,
|
|
30
31
|
approvals: options.approvals,
|
|
31
32
|
tenant: options.tenant,
|
|
32
33
|
maxAge: options.maxAge,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as runCloudPull } from "./pull-FG0Tf8aF.js";
|
|
@@ -3,11 +3,11 @@ import { t as catalogFingerprint } from "./catalog-fingerprint-e6aCWosn.js";
|
|
|
3
3
|
import { a as describeError } from "./errors-BhRkoNS7.js";
|
|
4
4
|
import { s as writeFileEnsuringDir } from "./files-BSjrtIHw.js";
|
|
5
5
|
import { s as cliVersion } from "./version-DMQ0dnN5.js";
|
|
6
|
-
import { o as formatCatalogJson } from "./catalog-doc-
|
|
6
|
+
import { o as formatCatalogJson } from "./catalog-doc-nrgfbh8I.js";
|
|
7
7
|
import { t as catalogPath } from "./catalog-path-CnI0XTFK.js";
|
|
8
8
|
import { n as parseSupabaseManifest } from "./manifest-BdzBobNK.js";
|
|
9
|
-
import { t as parseCatalog } from "./parse-
|
|
10
|
-
import { a as nonEmptyOr } from "./output-
|
|
9
|
+
import { t as parseCatalog } from "./parse-CXTT7hBq.js";
|
|
10
|
+
import { a as nonEmptyOr } from "./output-DYq_o2dM.js";
|
|
11
11
|
import { t as POLICY_NOT_PUBLISHED } from "./problem-types-DSsRfONQ.js";
|
|
12
12
|
import { n as httpRequest, t as authFailure } from "./http-DhMWeB_h.js";
|
|
13
13
|
import { l as cloudUrl, n as cliRuntime, o as readAuth } from "./auth-j3Eu-j4h.js";
|
|
@@ -5,9 +5,9 @@ import { a as describeError, n as CliError } from "./errors-BhRkoNS7.js";
|
|
|
5
5
|
import { s as cliVersion } from "./version-DMQ0dnN5.js";
|
|
6
6
|
import { i as loadConfiguredPolicy } from "./load-BaEamml-.js";
|
|
7
7
|
import { n as parseSupabaseManifest } from "./manifest-BdzBobNK.js";
|
|
8
|
-
import { t as parseCatalog } from "./parse-
|
|
9
|
-
import { r as pushedPolicy } from "./pushed-policy-
|
|
10
|
-
import { n as runCatalog } from "./catalog-
|
|
8
|
+
import { t as parseCatalog } from "./parse-CXTT7hBq.js";
|
|
9
|
+
import { r as pushedPolicy } from "./pushed-policy-DftSiyD3.js";
|
|
10
|
+
import { n as runCatalog } from "./catalog-s0waIrfY.js";
|
|
11
11
|
import { n as httpRequest, t as authFailure } from "./http-DhMWeB_h.js";
|
|
12
12
|
import { a as pushAuth, l as cloudUrl, n as cliRuntime, u as firstNonEmpty } from "./auth-j3Eu-j4h.js";
|
|
13
13
|
import "./manifest-json-CAGzls-C.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as Policy, Er as Condition, In as Grantee, W as WireValidity, b as GrantMeta, f as BreakGlassSpec, in as SnapshotScope, qn as AppObligation, s as ApprovalRequirement, y as GrantLimit } from "./policy-types-Ky7P23CP.js";
|
|
2
2
|
import { t as JsonSchemaNode } from "./json-schema-BfXgnRNT.js";
|
|
3
3
|
//#region src/catalog/pushed-policy.d.ts
|
|
4
4
|
/**
|
|
@@ -3,7 +3,7 @@ import { n as freezeDeep } from "./freeze-jjan0lCv.js";
|
|
|
3
3
|
import { n as PermDockValidationError } from "./validation-error-CYg2kJEw.js";
|
|
4
4
|
import { n as RFC3339_PATTERN } from "./time-nR1JesoH.js";
|
|
5
5
|
import { i as wireValidity } from "./validity-Buc7w8E9.js";
|
|
6
|
-
import { n as snapshotScopes } from "./instance-snapshot-
|
|
6
|
+
import { n as snapshotScopes } from "./instance-snapshot-DXxcizAb.js";
|
|
7
7
|
import { n as copyJson, r as forbiddenKeyPath, t as checkSchema } from "./json-schema-BPGa-RjQ.js";
|
|
8
8
|
//#region src/catalog/pushed-policy.ts
|
|
9
9
|
const strings = {
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as requiredPlans } from "../errors-
|
|
2
|
-
import { i as describe } from "../describe-
|
|
3
|
-
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-
|
|
1
|
+
import { c as requiredPlans } from "../errors-POWcCXy7.js";
|
|
2
|
+
import { i as describe } from "../describe-DyN-HX6o.js";
|
|
3
|
+
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-CjJaZI_g.js";
|
|
4
4
|
import { a as broadcastChannelRefresh, c as visibilityRefresh, i as authzChangeRefresh, n as EventSourceRefreshOptions, o as eventSourceRefresh, r as RefreshTrigger, s as focusRefresh, t as AuthzChangeRefresh } from "../refresh-on-L9UOwATg.js";
|
|
5
|
-
import { n as PermDockProviderProps, r as ProtectedProps, t as PermDockDefaults } from "../types-
|
|
5
|
+
import { n as PermDockProviderProps, r as ProtectedProps, t as PermDockDefaults } from "../types-BlYPxJDR.js";
|
|
6
6
|
import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
|
|
7
|
-
import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, p as useRefreshOn, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-
|
|
8
|
-
import { t as PermDockProvider } from "../provider-
|
|
7
|
+
import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, p as useRefreshOn, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-DHPqBLhz.js";
|
|
8
|
+
import { t as PermDockProvider } from "../provider-C-CbGEii.js";
|
|
9
9
|
export { type ActionResult, type ApprovalHandle, type ApprovalState, type AuthzChangeRefresh, type ClientPermDock, type ClientStatus, type EventSourceRefreshOptions, type FilterResult, type GateMode, type GateView, type PermDockDefaults, PermDockProvider, type PermDockProviderProps, type PermissionSet, type PermissionState, Protected, type ProtectedAction, type ProtectedActionHandle, type ProtectedActionView, type ProtectedProps, type RefreshTrigger, type RolesOptions, type SubjectView, type TenantView, approvalHeaders, authzChangeRefresh, broadcastChannelRefresh, describe, eventSourceRefresh, focusRefresh, requiredPlans, useApproval, useAssignablePermissions, useAssignableRoles, useDescribe, useFilter, useGate, useMemberships, usePermDock, usePermission, usePermissions, useProtectedAction, useRefreshOn, useRoles, useSubject, useTenant, visibilityRefresh };
|
package/dist/react/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { r as requiredPlans } from "../problem-details-CLDgX1KV.js";
|
|
3
3
|
import { n as describe } from "../describe-BZAlPHxT.js";
|
|
4
4
|
import { r as approvalHeaders } from "../protected-action-OpOxtTsN.js";
|
|
5
|
-
import { a as eventSourceRefresh, i as broadcastChannelRefresh, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options
|
|
6
|
-
import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, p as useRefreshOn, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-
|
|
7
|
-
import { t as PermDockProvider } from "../provider-
|
|
5
|
+
import { a as eventSourceRefresh, i as broadcastChannelRefresh, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-CDvoX52-.js";
|
|
6
|
+
import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, p as useRefreshOn, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-CD1HXwQK.js";
|
|
7
|
+
import { t as PermDockProvider } from "../provider-qESIf_C0.js";
|
|
8
8
|
export { PermDockProvider, Protected, approvalHeaders, authzChangeRefresh, broadcastChannelRefresh, describe, eventSourceRefresh, focusRefresh, requiredPlans, useApproval, useAssignablePermissions, useAssignableRoles, useDescribe, useFilter, useGate, useMemberships, usePermDock, usePermission, usePermissions, useProtectedAction, useRefreshOn, useRoles, useSubject, useTenant, visibilityRefresh };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PermDockProvider } from "../provider-
|
|
1
|
+
import { t as PermDockProvider } from "../provider-C-CbGEii.js";
|
|
2
2
|
export { PermDockProvider };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { t as PermDockProvider } from "../provider-
|
|
2
|
+
export { t as PermDockProvider } from "../provider-qESIf_C0.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { $t as
|
|
1
|
+
import { $t as LocalSnapshotRows, Qt as LocalSnapshotManifest, Xt as LocalRowColumn, Yt as LocalMembershipRows, Zt as LocalRowValue, en as Snapshot, pr as CustomRole, qt as Instant, ut as SnapshotSource, vr as Membership } from "../policy-types-Ky7P23CP.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
|
-
import { c as requiredPlans } from "../errors-
|
|
4
|
-
import { i as describe } from "../describe-
|
|
5
|
-
import { t as parseLocalSnapshotManifest } from "../parse-local-manifest-
|
|
6
|
-
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, t as ClientStore, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-
|
|
3
|
+
import { c as requiredPlans } from "../errors-POWcCXy7.js";
|
|
4
|
+
import { i as describe } from "../describe-DyN-HX6o.js";
|
|
5
|
+
import { t as parseLocalSnapshotManifest } from "../parse-local-manifest-CQjRmzrw.js";
|
|
6
|
+
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, t as ClientStore, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-CjJaZI_g.js";
|
|
7
7
|
import { i as authzChangeRefresh, n as EventSourceRefreshOptions, o as eventSourceRefresh, r as RefreshTrigger, t as AuthzChangeRefresh } from "../refresh-on-L9UOwATg.js";
|
|
8
|
-
import { r as ProtectedProps, t as PermDockDefaults } from "../types-
|
|
8
|
+
import { r as ProtectedProps, t as PermDockDefaults } from "../types-BlYPxJDR.js";
|
|
9
9
|
import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
|
|
10
|
-
import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-
|
|
11
|
-
import { n as RealtimeRefreshClient, t as RealtimeRefreshChannel } from "../client-
|
|
12
|
-
import { a as SubscribeOnline, i as SubscribeForeground, n as ReactNativePermDockProviderProps, r as SnapshotStorage, t as NativeRevalidate } from "../types-
|
|
10
|
+
import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-DHPqBLhz.js";
|
|
11
|
+
import { n as RealtimeRefreshClient, t as RealtimeRefreshChannel } from "../client-JK504UCq.js";
|
|
12
|
+
import { a as SubscribeOnline, i as SubscribeForeground, n as ReactNativePermDockProviderProps, r as SnapshotStorage, t as NativeRevalidate } from "../types-OLSfBLa5.js";
|
|
13
13
|
import { ReactElement } from "react";
|
|
14
14
|
//#region src/react-native/guards.d.ts
|
|
15
15
|
/**
|
|
@@ -120,6 +120,14 @@ type PowerSyncSourceOptions<Q extends string> = {
|
|
|
120
120
|
readonly queries?: undefined;
|
|
121
121
|
readonly read?: undefined;
|
|
122
122
|
};
|
|
123
|
+
/** A `powerSyncSource`: a snapshot source that also reads the synced version. */
|
|
124
|
+
type PowerSyncSnapshotSource = SnapshotSource & {
|
|
125
|
+
/**
|
|
126
|
+
* The signed-in user's synced `authz_ver`, read from `manifest.rows.version`.
|
|
127
|
+
* `undefined` without `user`, without that table, or before its row syncs.
|
|
128
|
+
*/
|
|
129
|
+
readonly authzVersion: () => Promise<number | undefined>;
|
|
130
|
+
};
|
|
123
131
|
/**
|
|
124
132
|
* A `localSnapshot` source over a PowerSync database: `get` initially runs
|
|
125
133
|
* every query with `db.getAll`; watch-triggered reads refresh only fired
|
|
@@ -129,10 +137,10 @@ type PowerSyncSourceOptions<Q extends string> = {
|
|
|
129
137
|
* content re-renders nothing (`connectSource`). The source takes the database
|
|
130
138
|
* as an argument; `permdock/react-native` never imports `@powersync/*`.
|
|
131
139
|
*/
|
|
132
|
-
export declare function powerSyncSource<Q extends string>(db: PowerSyncWatchable, options: PowerSyncSourceOptions<Q>):
|
|
140
|
+
export declare function powerSyncSource<Q extends string>(db: PowerSyncWatchable, options: PowerSyncSourceOptions<Q>): PowerSyncSnapshotSource;
|
|
133
141
|
/** `powerSyncSource` over one database, memoised per manifest and options. */
|
|
134
142
|
type PowerSyncSourceCache = {
|
|
135
|
-
readonly source: <Q extends string>(options: PowerSyncSourceOptions<Q>) =>
|
|
143
|
+
readonly source: <Q extends string>(options: PowerSyncSourceOptions<Q>) => PowerSyncSnapshotSource;
|
|
136
144
|
};
|
|
137
145
|
/**
|
|
138
146
|
* A cache of `powerSyncSource` sources over `db`. `source` answers the same
|
|
@@ -207,6 +215,12 @@ type NativeRefreshPowerSync<K> = {
|
|
|
207
215
|
* a message sent while the app was closed.
|
|
208
216
|
*/
|
|
209
217
|
readonly manifest?: LocalSnapshotManifest;
|
|
218
|
+
/**
|
|
219
|
+
* The `powerSyncSource` the provider reads. Its `authzVersion()` answers the
|
|
220
|
+
* synced version for the foreground catch-up, in place of a query built from
|
|
221
|
+
* `manifest`.
|
|
222
|
+
*/
|
|
223
|
+
readonly source?: Pick<PowerSyncSnapshotSource, "authzVersion">;
|
|
210
224
|
};
|
|
211
225
|
type NativeRefreshOptions<C extends RealtimeRefreshChannel = RealtimeRefreshChannel, K = unknown> = {
|
|
212
226
|
readonly supabase: NativeRefreshSupabase<C>;
|
|
@@ -227,8 +241,8 @@ type NativeRefreshOptions<C extends RealtimeRefreshChannel = RealtimeRefreshChan
|
|
|
227
241
|
* refreshes the snapshot. Passes run one at a time; signals during a pass fold
|
|
228
242
|
* into one more. The channel closes in the background and rejoins on
|
|
229
243
|
* foreground, where one catch-up pass runs: a version check with
|
|
230
|
-
* `powersync.manifest`, else a full pass. It never
|
|
231
|
-
* `@powersync/*`.
|
|
244
|
+
* `powersync.source` or `powersync.manifest`, else a full pass. It never
|
|
245
|
+
* imports `@supabase/*` or `@powersync/*`.
|
|
232
246
|
*/
|
|
233
247
|
export declare function nativeRefresh<C extends RealtimeRefreshChannel, K = unknown>(options: NativeRefreshOptions<C, K>): RefreshTrigger;
|
|
234
248
|
//#endregion
|
|
@@ -287,4 +301,4 @@ type NativeStoreOptions = Omit<ReactNativePermDockProviderProps, "children" | "h
|
|
|
287
301
|
export declare function connectSource(store: ClientStore, source: SnapshotSource, subscribeForeground?: SubscribeForeground): () => void;
|
|
288
302
|
export declare function nativeStore(options: NativeStoreOptions): ClientStore;
|
|
289
303
|
//#endregion
|
|
290
|
-
export { type ActionResult, type AppStateModule, type ApprovalHandle, type ApprovalState, type AuthzChangeRefresh, type ClientPermDock, type ClientStatus, type EventSourceRefreshOptions, type FilterResult, type GateMode, type GateView, type LocalMembershipRows, type LocalRowColumn, type LocalRowValue, type LocalSnapshotData, type LocalSnapshotManifest, type LocalSnapshotOptions, type LocalSnapshotRows, type MmkvInstance, type NativeRefreshDatabase, type NativeRefreshOptions, type NativeRefreshPowerSync, type NativeRefreshSession, type NativeRefreshSupabase, type NativeRevalidate, type NetInfoModule, type PermDockDefaults, type PermissionSet, type PermissionState, type PowerSyncQuery, type PowerSyncSourceCache, type PowerSyncSourceOptions, type PowerSyncWatchable, Protected, type ProtectedAction, type ProtectedActionHandle, type ProtectedActionView, type ProtectedProps, type ReactNativePermDockProviderProps, type RefreshTrigger, type RolesOptions, type SecureStoreModule, type SnapshotSource, type SnapshotStorage, type SubjectView, type SubscribeForeground, type SubscribeOnline, type TenantView, approvalHeaders, authzChangeRefresh, describe, eventSourceRefresh, parseLocalSnapshotManifest, requiredPlans, useApproval, useAssignablePermissions, useAssignableRoles, useDescribe, useFilter, useGate, useMemberships, usePermDock, usePermission, usePermissions, useProtectedAction, useRoles, useSubject, useTenant };
|
|
304
|
+
export { type ActionResult, type AppStateModule, type ApprovalHandle, type ApprovalState, type AuthzChangeRefresh, type ClientPermDock, type ClientStatus, type EventSourceRefreshOptions, type FilterResult, type GateMode, type GateView, type LocalMembershipRows, type LocalRowColumn, type LocalRowValue, type LocalSnapshotData, type LocalSnapshotManifest, type LocalSnapshotOptions, type LocalSnapshotRows, type MmkvInstance, type NativeRefreshDatabase, type NativeRefreshOptions, type NativeRefreshPowerSync, type NativeRefreshSession, type NativeRefreshSupabase, type NativeRevalidate, type NetInfoModule, type PermDockDefaults, type PermissionSet, type PermissionState, type PowerSyncQuery, type PowerSyncSnapshotSource, type PowerSyncSourceCache, type PowerSyncSourceOptions, type PowerSyncWatchable, Protected, type ProtectedAction, type ProtectedActionHandle, type ProtectedActionView, type ProtectedProps, type ReactNativePermDockProviderProps, type RefreshTrigger, type RolesOptions, type SecureStoreModule, type SnapshotSource, type SnapshotStorage, type SubjectView, type SubscribeForeground, type SubscribeOnline, type TenantView, approvalHeaders, authzChangeRefresh, describe, eventSourceRefresh, parseLocalSnapshotManifest, requiredPlans, useApproval, useAssignablePermissions, useAssignableRoles, useDescribe, useFilter, useGate, useMemberships, usePermDock, usePermission, usePermissions, useProtectedAction, useRoles, useSubject, useTenant };
|