permdock 0.24.0 → 0.25.1
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 +4 -4
- package/dist/{adoption-scan-CNoE5yBA.js → adoption-scan-8F9VSQrK.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 +3 -3
- package/dist/app/index.d.ts +28 -10
- package/dist/app/index.js +69 -46
- package/dist/{app-DIvM65Mv.js → app-J9PE1LNm.js} +1 -1
- package/dist/{approval-policies-D7moEfTM.d.ts → approval-policies-BiXMlYBu.d.ts} +1 -1
- package/dist/{approval-prompt-DtfKSH-8.d.ts → approval-prompt-j5PTItiy.d.ts} +1 -1
- package/dist/approvals/index.d.ts +3 -3
- package/dist/{arazzo-4rMFOHbu.js → arazzo-BUVqRmaJ.js} +1 -1
- package/dist/{arazzo-rsYPFgga.js → arazzo-CWmM8pWw.js} +2 -2
- package/dist/astro/index.d.ts +4 -4
- package/dist/astro/index.js +1 -1
- package/dist/{audience-N2BqOvES.js → audience-DLoopY4q.js} +1 -1
- package/dist/authzen/index.d.ts +5 -5
- package/dist/authzen/index.js +1 -1
- package/dist/{automation-CrGcfIZn.d.ts → automation-_iGeP54L.d.ts} +1 -1
- package/dist/better-auth/index.d.ts +1 -1
- package/dist/better-supabase/index.d.ts +31 -19
- package/dist/better-supabase/index.js +26 -18
- package/dist/{bind-N5jf6kjk.d.ts → bind-CTj4dHc1.d.ts} +7 -7
- package/dist/{bind-Cx10JuJ-.js → bind-LQ6zbARV.js} +2 -2
- package/dist/{build-instance-BDGzsGcn.js → build-instance-Bq8wkJ4i.js} +1 -1
- package/dist/{capability-mLbd3KZ0.d.ts → capability-DqCyFGip.d.ts} +1 -1
- package/dist/{casbin-Dg5N0Gfa.js → casbin-DIvUMac7.js} +1 -1
- package/dist/{casbin-CjUT-wqV.js → casbin-qpG_ZphP.js} +1 -1
- package/dist/catalog/index.d.ts +4 -4
- package/dist/catalog/index.js +4 -4
- package/dist/{catalog-BJu0A15r.js → catalog-B1MAmRQI.js} +2 -2
- package/dist/catalog-BCVIH7kq.js +1 -0
- package/dist/{catalog-CgA6-DQA.js → catalog-CaZoXBD8.js} +1 -1
- package/dist/{challenge-DVw1SrH9.js → challenge-DKJpP-5P.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 +4 -4
- package/dist/cli/index.js +3 -3
- package/dist/cloud/index.d.ts +8 -8
- package/dist/cloud/index.js +1 -1
- package/dist/{cloud-Blw4AaQv.js → cloud-CXgE1qpa.js} +2 -2
- package/dist/{codemod-ByRUKVp-.js → codemod-BJ0Kgv9b.js} +2 -2
- package/dist/{codemod-BFFXaS-S.js → codemod-DjgVx3RQ.js} +1 -1
- package/dist/{collect-D3ToPa6Z.js → collect-BG-SXFQv.js} +1 -1
- package/dist/{collect-COqPRz6O.js → collect-CxPJRjoc.js} +2 -2
- package/dist/collect-ZLgHgujd.js +1 -0
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-DSwZUJmL.d.ts → compile-Dh9pW_Co.d.ts} +2 -2
- package/dist/{completion-BW53byZN.js → completion-DUHSRdoQ.js} +1 -1
- package/dist/{config-B0qti4jI.js → config-CgA_Z5Ts.js} +1 -1
- package/dist/{config-DyNanTjZ.js → config-DC7aiuhP.js} +2 -2
- package/dist/{config-report-DgMqeeK6.js → config-report-B31MnuKf.js} +2 -2
- package/dist/{config-shape-C4zqzG2K.js → config-shape-ChhsuGSV.js} +2 -1
- package/dist/{context-KrAhRY22.js → context-BXM0MDB0.js} +2 -2
- package/dist/convex/index.d.ts +4 -4
- package/dist/convex/index.js +2 -2
- package/dist/{core-DMQsq2Gv.js → core-BTJlqWsv.js} +5 -5
- package/dist/{core-KsoqXWhf.d.ts → core-BhZEo5Le.d.ts} +2 -2
- package/dist/{coverage-D8jBJdgD.d.ts → coverage-BuGlwUms.d.ts} +30 -9
- package/dist/{coverage-Dh2W_DmF.js → coverage-CGu_Kovx.js} +114 -64
- package/dist/{create-goT32QIN.d.ts → create--q7-j0hX.d.ts} +6 -6
- package/dist/{create-ChK8bpCK.d.ts → create-C5IQw_-i.d.ts} +7 -7
- package/dist/{create-DGFv7Dje.d.ts → create-CYj0cjTu.d.ts} +4 -4
- package/dist/{create-BRr7Gu7N.js → create-D7D94oNh.js} +4 -4
- package/dist/{create-bYkJ4-tg.js → create-DaddhCIg.js} +3 -3
- package/dist/{credentials-UwTE2wCW.js → credentials-BZU7Twpt.js} +1 -1
- package/dist/{credentials-fqa_Xzzh.d.ts → credentials-Bq-Xa7Vq.d.ts} +2 -2
- package/dist/delivery/index.d.ts +4 -4
- package/dist/delivery/index.js +1 -1
- package/dist/{denied-text-BTMxIn5W.d.ts → denied-text-B6s29jcf.d.ts} +1 -1
- package/dist/{describe-CazEjtOH.d.ts → describe-DwcoWMLB.d.ts} +1 -1
- package/dist/{diff-DLcsCeVo.js → diff-BnYHpRSI.js} +3 -3
- package/dist/{diff-BkuW_5dK.js → diff-H75YU6Q-.js} +1 -1
- package/dist/{doctor-oD08zL1e.js → doctor-Dvt1_ROJ.js} +68 -32
- package/dist/{doctor-Jk2Ifezw.js → doctor-JLouRSQt.js} +2 -2
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/elysia/index.d.ts +4 -4
- package/dist/elysia/index.js +1 -1
- package/dist/{errors-CXxQwtbZ.d.ts → errors-D_SnqcRn.d.ts} +1 -1
- package/dist/{evaluate-_JdlbJ32.js → evaluate-BQ2nWOki.js} +2 -2
- package/dist/{evaluations-DcUW5VkX.d.ts → evaluations-BVtY66lF.d.ts} +3 -3
- package/dist/evaluator-CDl2YUd_.js +2 -0
- package/dist/{evaluator-eager-DvmrpdZt.js → evaluator-eager-CULtQ8t6.js} +1 -1
- package/dist/eve/index.d.ts +4 -4
- package/dist/eve/index.js +2 -2
- package/dist/express/index.d.ts +4 -4
- package/dist/express/index.js +1 -1
- package/dist/fastify/index.d.ts +4 -4
- package/dist/fastify/index.js +1 -1
- package/dist/{fetch-adapter-eQ-mdk8n.d.ts → fetch-adapter-BJ76IZZg.d.ts} +2 -2
- package/dist/{fetch-adapter-CAA3VJMX.js → fetch-adapter-CXeBg4CH.js} +1 -1
- package/dist/{fields-B17OWcPx.js → fields-D9PIYlJy.js} +13 -7
- package/dist/{from-snapshot-CdGYjHUg.js → from-snapshot-FdVXG_QZ.js} +20 -14
- package/dist/{gen-BwcwwLok.js → gen-D17P8vo0.js} +2 -2
- package/dist/{gen-D4ulqsYR.js → gen-YA3SK59O.js} +1 -1
- package/dist/h3/index.d.ts +4 -4
- package/dist/h3/index.js +2 -2
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +1 -1
- package/dist/{hosted-cPDyrlsQ.js → hosted-CQW_YNx7.js} +1 -1
- package/dist/{hosted-BUCpV8-u.d.ts → hosted-D5StFpKa.d.ts} +1 -1
- package/dist/{import-BsrnU4BF.js → import-B8zbuskR.js} +3 -16
- package/dist/{import-B2jgnNS0.js → import-BYYXmHvP.js} +1 -1
- package/dist/{index-DD2FBFdm.d.ts → index-B1-tE0Kx.d.ts} +14 -7
- package/dist/{index-DQCBzEhO.d.ts → index-BwSEp_O5.d.ts} +4 -4
- package/dist/{index-CvKGALWb.d.ts → index-CB_eM-qx.d.ts} +4 -4
- package/dist/{index-BXS29UnX.d.ts → index-CvcE9mYP.d.ts} +1 -1
- package/dist/{index-DYAJ9JX1.d.ts → index-D7sMtTf6.d.ts} +4 -4
- package/dist/{index-CxA-ygwc.d.ts → index-d7f0hNss.d.ts} +2 -2
- package/dist/index.d.ts +17 -17
- package/dist/index.js +13 -13
- package/dist/{init-Baq0yYfu.js → init-BdgWNuc3.js} +1 -1
- package/dist/{init-Cik6ITgM.js → init-DKRhYiGW.js} +3 -3
- package/dist/{instance-options-BDHB3qBG.d.ts → instance-options-DhQVCuhT.d.ts} +1 -1
- package/dist/{instance-snapshot-LPNBG9np.js → instance-snapshot-DyG_5ASl.js} +5 -5
- package/dist/jwt/index.d.ts +4 -4
- package/dist/{kernel-BY3rVRs2.js → kernel-D9AxUqmz.js} +5 -5
- package/dist/kysely/index.d.ts +3 -3
- package/dist/{login-CUboKh0f.js → login-DEvccJwP.js} +3 -3
- package/dist/{login-CcBS1xkU.js → login-IIUDSAYW.js} +1 -1
- package/dist/{manifest-CIlVL-QT.js → manifest-CZ-GmsOL.js} +35 -35
- package/dist/{may-use-D0_wNcgB.js → may-use-WDhFPqGG.js} +5 -6
- package/dist/mcp/index.d.ts +8 -8
- package/dist/mcp/index.js +3 -3
- package/dist/{membership-filter-CfLdP_F9.js → membership-filter-BWnfRQzo.js} +1 -1
- package/dist/{module-values-BLiVlO1X.js → module-values-CdaVwrab.js} +1 -1
- package/dist/nest/index.d.ts +4 -4
- package/dist/nest/index.js +1 -1
- package/dist/next/index.d.ts +10 -10
- package/dist/next/index.js +2 -2
- 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 +1 -1
- package/dist/oauth-security-X7Em8DbH.js +26 -0
- package/dist/openai/index.d.ts +4 -4
- package/dist/openai/index.js +3 -3
- package/dist/openapi/index.d.ts +4 -4
- package/dist/openapi/index.js +1 -1
- package/dist/{openapi-DobvXTF6.js → openapi-BFUnL8Yi.js} +2 -2
- package/dist/{openapi-DglIpD53.js → openapi-DcjyfR1g.js} +2 -2
- package/dist/orpc/index.d.ts +5 -5
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.d.ts +3 -3
- package/dist/{output-B81GJ6u6.js → output-LDciF_4t.js} +1 -1
- package/dist/{ownership-B7Ea-hUY.js → ownership-DvK6INyx.js} +1 -1
- package/dist/{parse-local-manifest-DzZOzDsK.d.ts → parse-local-manifest-w_ksIkB9.d.ts} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/pdp/index.js +1 -1
- package/dist/{permdock-HfTF99xX.js → permdock-B3zE16To.js} +14 -18
- package/dist/{permdock-vD3mwLSm.d.ts → permdock-DV3opaI3.d.ts} +3 -3
- package/dist/{permissions-CGYZqYsY.js → permissions-D-M48hW-.js} +1 -1
- package/dist/{policy-B_cqFLHu.d.ts → policy-DIHfTqm6.d.ts} +1 -1
- package/dist/{policy-from-catalog-lKL280I8.js → policy-from-catalog-Z0hvSffr.js} +3 -3
- package/dist/{policy-types-CCBrL7me.d.ts → policy-types-DU389Elz.d.ts} +30 -3
- package/dist/{postgrest-5WOO47Ud.d.ts → postgrest-3dE9SGx9.d.ts} +2 -2
- package/dist/{powersync-BUUqJfH2.js → powersync-B5YjtUGd.js} +6 -6
- package/dist/powersync-BgUsk2Nf.js +1 -0
- package/dist/{powersync-B6f4l8C1.js → powersync-Dx7odzyw.js} +2 -2
- package/dist/prisma/index.d.ts +2 -2
- package/dist/{protected-action-DGuJNiMA.d.ts → protected-action-CjSUoPGx.d.ts} +5 -5
- package/dist/{protected-action-BWvZjjyt.js → protected-action-D41o5LvP.js} +1 -1
- package/dist/{provider-B085HEOf.js → provider-Bzzux0TR.js} +2 -2
- package/dist/{provider-yIM04TwN.d.ts → provider-D1jsNJ85.d.ts} +1 -1
- package/dist/{provider-store-BLd4UEmg.js → provider-store-tIAwP4aW.js} +3 -3
- package/dist/{provider-with-DobrMx1N.js → provider-with-Do28DhxP.js} +2 -2
- package/dist/{pull-4Yi8zYeU.js → pull-Pde1lapF.js} +2 -2
- package/dist/pull-a4RpDxk8.js +1 -0
- package/dist/{push-Dv1nfFPr.js → push-sJ5dy46a.js} +2 -2
- package/dist/{pushed-policy-B2ZSpnRY.d.ts → pushed-policy-Db651nih.d.ts} +1 -1
- package/dist/{pushed-policy-DJoyBZsd.js → pushed-policy-UZyQinrL.js} +1 -1
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +3 -3
- package/dist/react/lazy.d.ts +5 -5
- package/dist/react/lazy.js +4 -4
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react/provider-client.js +1 -1
- package/dist/react-native/index.d.ts +8 -8
- package/dist/react-native/index.js +7 -7
- package/dist/{replay-CsErjiHt.d.ts → replay-BpmpY2ev.d.ts} +1 -1
- package/dist/{request-context-B_L4ev8L.js → request-context-dyCY4V1t.js} +1 -1
- package/dist/resend/index.d.ts +4 -4
- package/dist/{resolve-names-SGcLjtFc.js → resolve-names-D5_kABup.js} +2 -2
- package/dist/{rls-hmwRIS3-.js → rls-BI687j8q.js} +13 -13
- package/dist/{rls-Df9NEWD3.js → rls-CKLHLcRl.js} +1 -1
- package/dist/{rpc-DFtputZ1.js → rpc-BdFGYcWm.js} +1 -1
- package/dist/{rpc-D3St8vPO.d.ts → rpc-DKRQobOX.d.ts} +1 -1
- package/dist/run-B4heHtD1.js +1 -0
- package/dist/{run-BXmJIjRA.js → run-BG2kPruh.js} +3 -3
- package/dist/{run-ticket-zfABczfh.d.ts → run-ticket-o4RxoaEN.d.ts} +2 -2
- package/dist/{saas-DIThcxbn.js → saas-D9maBt0q.js} +3 -3
- package/dist/{scan-BrTSlc_5.js → scan-BvTBo9-D.js} +1 -1
- package/dist/{schema-UOeI_LTB.js → schema-grK6TTBH.js} +1 -1
- package/dist/scim/index.d.ts +1 -1
- package/dist/server/index.d.ts +11 -11
- package/dist/server/index.js +2 -2
- package/dist/{server-types-CtJSDhOv.d.ts → server-types-C4q8_8MM.d.ts} +8 -8
- package/dist/{sink-BskpqwLl.d.ts → sink-C3KDccl9.d.ts} +2 -2
- package/dist/{skills-BTVeFptV.js → skills-DzNdLezx.js} +1 -1
- package/dist/{skills-CAgWKbDR.js → skills-nPLVGtGH.js} +1 -1
- package/dist/{snapshot-BcHYtUIg.js → snapshot-D0VOanxQ.js} +7 -0
- package/dist/{snapshot-cache-BnXMcJbK.d.ts → snapshot-cache-C1mN0pXe.d.ts} +2 -2
- package/dist/snapshot-compact-CUtXsx6i.js +75 -0
- package/dist/{snapshot-empty-BoPBFoB8.js → snapshot-empty-F7d5BRlc.js} +1 -0
- package/dist/{snapshot-evaluate-CwYVSUgO.js → snapshot-evaluate-C3ZA35O_.js} +1 -1
- package/dist/{snapshot-reads-DOsTYC82.js → snapshot-reads-CNNmp1cK.js} +2 -2
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid/index.js +2 -2
- package/dist/solid-start/index.d.ts +4 -4
- package/dist/solid-start/index.js +2 -2
- package/dist/{sources-DhCtO9G8.d.ts → sources-2virTxHt.d.ts} +1 -1
- package/dist/{src-BZKQe1lr.js → src-ieIv22BA.js} +11 -7
- package/dist/ssf/index.d.ts +3 -3
- package/dist/{standard-webhooks-kQDkIPj3.d.ts → standard-webhooks-B2g_yWK8.d.ts} +2 -2
- package/dist/{store-core-CDabEiO9.d.ts → store-core-BI-9ZU-5.d.ts} +4 -4
- package/dist/{store-options-COLWAd1K.js → store-options-BYKNX_JG.js} +8 -6
- package/dist/{stores-DYxx75fk.js → stores-DtM8pt8o.js} +1 -1
- package/dist/{stores-Mw_VAJ3B.d.ts → stores-DwGfIcmq.d.ts} +5 -5
- package/dist/{subject-cache-DrJGnRiV.d.ts → subject-cache-TY2tw-k9.d.ts} +1 -1
- package/dist/{subject-BqFwS6l3.js → subject-jG6o8eKo.js} +1 -1
- package/dist/supabase/index.d.ts +6 -6
- package/dist/supabase/index.js +2 -2
- package/dist/supabase/middleware.d.ts +5 -5
- package/dist/supabase/middleware.js +4 -4
- package/dist/{supabase-BDr-fIHp.js → supabase-BlAqmxD8.js} +1 -1
- package/dist/{supabase-Bt8rb-ah.js → supabase-dk1kB9bJ.js} +2 -2
- package/dist/supabase-hook-Bu5gkzix.js +1 -0
- package/dist/{supabase-hook-Cb3UZpGC.js → supabase-hook-Cf9zKz8T.js} +5 -5
- package/dist/{supautils-CuR9rPsi.js → supautils-BREOPaHY.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 +1 -1
- package/dist/{tables-Bl_ozD0k.js → tables-DnNACfAr.js} +2 -1
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/tanstack-start/index.js +1 -1
- package/dist/terminal/index.d.ts +5 -5
- package/dist/terminal/index.js +6 -5
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/core.js +1 -1
- package/dist/testing/fixtures/index.d.ts +3 -3
- package/dist/testing/fixtures/index.js +2 -2
- package/dist/testing/index.d.ts +32 -25
- package/dist/testing/index.js +25 -16
- 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 +5 -5
- package/dist/trpc/index.js +2 -2
- package/dist/{type-helpers-fQdBvtU0.d.ts → type-helpers-tDoGEIsd.d.ts} +1 -1
- package/dist/{types-B_s1oQaF.d.ts → types-61f3KMtI.d.ts} +6 -1
- package/dist/{types-CdXM6qPc.d.ts → types-BDgMzK1i.d.ts} +2 -2
- package/dist/{types-DyA4Loy4.d.ts → types-BIvkpVoc.d.ts} +3 -3
- package/dist/{types-CXUwgZ3d.d.ts → types-BWjNPQkS.d.ts} +2 -2
- package/dist/{types-CErg7ft6.d.ts → types-Bq4AU68k.d.ts} +3 -3
- package/dist/{types-ChYCRn7Y.d.ts → types-BsqLNNvG.d.ts} +1 -1
- package/dist/{types-Cc68_zqR.d.ts → types-CH67RMvL.d.ts} +2 -2
- package/dist/{types-BSGrzDPi.d.ts → types-DEDocm4c.d.ts} +4 -4
- package/dist/{types-DDlaFDM3.d.ts → types-DQQkzF97.d.ts} +4 -4
- package/dist/{types-DM0o1YyJ.d.ts → types-DdeivUBP.d.ts} +4 -4
- package/dist/{types-CAp7UGiB.d.ts → types-X40XNxRP.d.ts} +1 -1
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-B6sQwycY.js → usage-BkDU1dYf.js} +4 -4
- package/dist/{usage-CNkKk27O.js → usage-DNj42KHA.js} +1 -1
- package/dist/usage-DrB_tDNk.js +1 -0
- package/dist/{validation-error-BE8bpmhR.d.ts → validation-error-CV0nV6_L.d.ts} +1 -1
- package/dist/{verify-OtU4yCzg.js → verify-Boehaks6.js} +10 -10
- package/dist/{version-sources-BZ7V6Z8Z.js → version-sources-BRb9ZteH.js} +1 -1
- package/dist/vue/index.d.ts +5 -5
- package/dist/vue/index.js +2 -2
- package/dist/{waiter-LdnPaBJE.d.ts → waiter-BophA4BT.d.ts} +2 -2
- package/dist/{watch-CR2ZIT_5.js → watch-CJKYQYNb.js} +2 -2
- package/dist/watch-Cv-xvI6e.js +1 -0
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +9 -1
- package/dist/{who-can-DcrHB6ya.js → who-can-Yh9WdiwK.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-CVBPIuEs.d.ts → wrap-Bq9fHwuT.d.ts} +2 -2
- package/package.json +1 -1
- package/schemas/snapshot-v1.json +208 -52
- package/skills/permdock-wire/references/adapters.md +4 -2
- package/dist/catalog-DqYnQz8U.js +0 -1
- package/dist/collect-CjFczu8a.js +0 -1
- package/dist/evaluator-mHAoYEkk.js +0 -2
- package/dist/powersync-D12Q6Chj.js +0 -1
- package/dist/pull-Dr6Bq5Jo.js +0 -1
- package/dist/run-DnzrDgU-.js +0 -1
- package/dist/supabase-hook-D1pwHu87.js +0 -1
- package/dist/usage-Cem1FOeJ.js +0 -1
- package/dist/watch-B8F7Wgdy.js +0 -1
- package/dist/{catalog-doc-BoSOQRXT.js → catalog-doc-DnQDviXY.js} +1 -1
- package/dist/{credential-DrVrRL7z.js → credential-BMsbcaeP.js} +1 -1
- package/dist/{policy-BovcTojN.js → policy-DnNOTENd.js} +1 -1
package/dist/orpc/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { D as Policy, N as PolicyVocabulary,
|
|
1
|
+
import { D as Policy, N as PolicyVocabulary, br as Principal } from "../policy-types-DU389Elz.js";
|
|
2
2
|
import { w as Permission } from "../vocabulary-DeZvUaTw.js";
|
|
3
3
|
import { a as OperationInput, t as Operation } from "../operations-BMPx7HyO.js";
|
|
4
|
-
import { a as PermDock } from "../permdock-
|
|
4
|
+
import { a as PermDock } from "../permdock-DV3opaI3.js";
|
|
5
5
|
import { n as RevocationFeed } from "../revocations-BaUXHM1N.js";
|
|
6
|
-
import { D as ConnectionOptions, T as Connection, i as OpenApiHooks } from "../server-types-
|
|
7
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
8
|
-
import { t as RpcProtectOptions } from "../rpc-
|
|
6
|
+
import { D as ConnectionOptions, T as Connection, i as OpenApiHooks } from "../server-types-C4q8_8MM.js";
|
|
7
|
+
import { t as ServerAdapterOptions } from "../bind-CTj4dHc1.js";
|
|
8
|
+
import { t as RpcProtectOptions } from "../rpc-DKRQobOX.js";
|
|
9
9
|
import { AnySchema, MetaPlugin, Middleware, Procedure, Schema } from "@orpc/server";
|
|
10
10
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
11
11
|
//#region src/orpc/operations.d.ts
|
package/dist/orpc/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import { t as compact } from "../compact-CAf557ZB.js";
|
|
|
2
2
|
import { o as isPermission } from "../permission-registry-B8tYxPIt.js";
|
|
3
3
|
import { r as permissionList } from "../decide-set-DXEPepY1.js";
|
|
4
4
|
import { o as problemMessage } from "../http-DKLXrFGk.js";
|
|
5
|
-
import { n as attached } from "../bind-
|
|
5
|
+
import { n as attached } from "../bind-LQ6zbARV.js";
|
|
6
6
|
import { t as problemFromError } from "../map-error-BCdb2Nrp.js";
|
|
7
7
|
import { i as isAsyncIterable, o as reloadAfter } from "../stream-DQ3rbO3J.js";
|
|
8
|
-
import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-
|
|
8
|
+
import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-BdFGYcWm.js";
|
|
9
9
|
import { ORPCError, os } from "@orpc/server";
|
|
10
10
|
//#region src/orpc/operations.ts
|
|
11
11
|
const root = os;
|
package/dist/otel/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { N as PolicyVocabulary } from "../policy-types-
|
|
2
|
-
import { a as PermDock } from "../permdock-
|
|
3
|
-
import { a as OtelOptions, i as OtelApi, n as GEN_AI_TOOL_CALL_ID, o as OtelWrap, r as GEN_AI_TOOL_NAME, s as StructuralLogger, t as GENAI_SEMCONV_PIN } from "../types-
|
|
1
|
+
import { N as PolicyVocabulary } from "../policy-types-DU389Elz.js";
|
|
2
|
+
import { a as PermDock } from "../permdock-DV3opaI3.js";
|
|
3
|
+
import { a as OtelOptions, i as OtelApi, n as GEN_AI_TOOL_CALL_ID, o as OtelWrap, r as GEN_AI_TOOL_NAME, s as StructuralLogger, t as GENAI_SEMCONV_PIN } from "../types-BWjNPQkS.js";
|
|
4
4
|
//#region src/otel/instrument.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Listens on one instance. Spans carry no duration and no histogram is
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as cliVersion } from "./version-DMQ0dnN5.js";
|
|
2
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
2
|
+
import { t as DOCS_BASE } from "./manifest-CZ-GmsOL.js";
|
|
3
3
|
//#region src/cli/core/output.ts
|
|
4
4
|
const CLI_RESULT_SCHEMA = "https://permdock.com/schemas/cli-result-v1.json";
|
|
5
5
|
function envelope(input) {
|
|
@@ -11,7 +11,7 @@ import { i as qualifySqlTable } from "./sql-0WjxIp9g.js";
|
|
|
11
11
|
import { a as scopeMembershipTable, i as scopeColumn, s as relatedSql } from "./compile-Cvru58id.js";
|
|
12
12
|
import { l as roleColumn } from "./sources-C4vkzZJV.js";
|
|
13
13
|
import { A as quoteQualified, D as qualified, E as helperSchema, I as idTypeOf, M as textArrayLiteral, O as quoteIdent, R as sqlType, S as CLAIM, T as declaredArray, _ as subjectClaimJsonSql, b as tenantClaimSql, d as keyTenantSql, f as kindFilterSql, h as roleKindSql, j as quoteTable, k as quoteLiteral, m as memberVia, p as liveSessionSql, s as signedIn, t as CUSTOM_ROLES, u as globalKindFilterSql, v as subjectClaimSql, y as subjectIdSql, z as tenantTypeOf } from "./shared-DfaIWvIJ.js";
|
|
14
|
-
import { Ct as scopeTable, Dt as activeUserSql, F as disabledColumn, G as roleRows, H as sourcesKeep, I as memberColumn, J as hasCustomRoleChecksFor, P as claimKeptLines, St as scopeSources, Tt as activeMembershipSql, U as globalRoleRows, V as sourceFilters, W as membershipRows, Z as storedTenant, _ as ASSIGNMENTS, at as graphHelper, d as pairsSql, f as sourceHoldersTriggerSql, ft as linkHelper, g as transferTriggerSql, gt as memberIdsHelper, h as holdersTriggerSql, ht as memberForTable, it as CLOSURE, m as sourceTransferTriggerSql, p as sourceRowsSql, st as graphSqlText, u as holderSources, ut as inheritedRowsHelper, v as OWNERSHIP, vt as memberRoleOf, wt as activeInstancesSql, xt as restrictedHelper } from "./tables-
|
|
14
|
+
import { Ct as scopeTable, Dt as activeUserSql, F as disabledColumn, G as roleRows, H as sourcesKeep, I as memberColumn, J as hasCustomRoleChecksFor, P as claimKeptLines, St as scopeSources, Tt as activeMembershipSql, U as globalRoleRows, V as sourceFilters, W as membershipRows, Z as storedTenant, _ as ASSIGNMENTS, at as graphHelper, d as pairsSql, f as sourceHoldersTriggerSql, ft as linkHelper, g as transferTriggerSql, gt as memberIdsHelper, h as holdersTriggerSql, ht as memberForTable, it as CLOSURE, m as sourceTransferTriggerSql, p as sourceRowsSql, st as graphSqlText, u as holderSources, ut as inheritedRowsHelper, v as OWNERSHIP, vt as memberRoleOf, wt as activeInstancesSql, xt as restrictedHelper } from "./tables-DnNACfAr.js";
|
|
15
15
|
//#region src/cli/sql/conditions.ts
|
|
16
16
|
const MAX_CLAIM_DEPTH = 8;
|
|
17
17
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Qt as LocalSnapshotManifest } from "./policy-types-
|
|
1
|
+
import { Qt as LocalSnapshotManifest } from "./policy-types-DU389Elz.js";
|
|
2
2
|
//#region src/core/parse-local-manifest.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* Whether `value` has the shape `localSnapshotManifest(policy)` writes, with no
|
package/dist/pdp/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as Policy, N as PolicyVocabulary, Y as DecisionProvider,
|
|
2
|
-
import { o as PermDockOptions } from "../permdock-
|
|
3
|
-
import { a as RelationMap, c as RemotePdpEndpoints, d as SpiceDbCheck, f as SpiceDbOptions, i as PdpPermDock, l as RemotePdpMapping, n as OpenFgaTuple, o as RemotePdpAuth, r as PdpFactory, s as RemotePdpCache, t as OpenFgaOptions, u as RemotePdpOptions } from "../types-
|
|
1
|
+
import { D as Policy, N as PolicyVocabulary, Y as DecisionProvider, br as Principal } from "../policy-types-DU389Elz.js";
|
|
2
|
+
import { o as PermDockOptions } from "../permdock-DV3opaI3.js";
|
|
3
|
+
import { a as RelationMap, c as RemotePdpEndpoints, d as SpiceDbCheck, f as SpiceDbOptions, i as PdpPermDock, l as RemotePdpMapping, n as OpenFgaTuple, o as RemotePdpAuth, r as PdpFactory, s as RemotePdpCache, t as OpenFgaOptions, u as RemotePdpOptions } from "../types-CH67RMvL.js";
|
|
4
4
|
//#region src/pdp/create.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* The PDP-aware instance, built synchronously like core `getPermDockSync`; use
|
package/dist/pdp/index.js
CHANGED
|
@@ -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 { a as getResource, c as listPermissions } from "../permission-registry-B8tYxPIt.js";
|
|
5
5
|
import { n as toWireDelegation } from "../wire-delegation-Cv3W2eaM.js";
|
|
6
|
-
import { n as getPermDockSync$1, t as getPermDock$1 } from "../permdock-
|
|
6
|
+
import { n as getPermDockSync$1, t as getPermDock$1 } from "../permdock-B3zE16To.js";
|
|
7
7
|
import { a as deniedMessage, i as approvalMessage, n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-ynga1EQy.js";
|
|
8
8
|
import { n as internalsOf, t as attachInternals } from "../internals-B3IgHrvo.js";
|
|
9
9
|
import { r as decideAllAsync, t as canAllAsync } from "../checks-fyDOhcz0.js";
|
|
@@ -6,22 +6,23 @@ import { n as isThenable } from "./thenable-BNSM1U2R.js";
|
|
|
6
6
|
import { i as readAppData } from "./app-data-UNNm07jV.js";
|
|
7
7
|
import { o as flattenGrantee } from "./grantee-OG4klcNr.js";
|
|
8
8
|
import { d as scopeList, o as normalizeMemberships, p as tenantOf } from "./scopes-gdH__vDZ.js";
|
|
9
|
+
import { t as compactSnapshot } from "./snapshot-compact-CUtXsx6i.js";
|
|
9
10
|
import { n as pickVisible, r as sanitizeContext } from "./fields-DlKwZYiy.js";
|
|
10
11
|
import { c as nowSeconds, d as resolveActiveTenant, m as tenantsOf, p as scopeField, t as heldRoleNamesIn, u as relatesTo } from "./tenancy-BlxY5T0q.js";
|
|
11
|
-
import { i as snapshotGrant, o as subjectFromSnapshot } from "./snapshot-
|
|
12
|
-
import { r as whereFromGrants, t as evaluateSnapshot } from "./snapshot-evaluate-
|
|
12
|
+
import { i as snapshotGrant, o as subjectFromSnapshot } from "./snapshot-D0VOanxQ.js";
|
|
13
|
+
import { r as whereFromGrants, t as evaluateSnapshot } from "./snapshot-evaluate-C3ZA35O_.js";
|
|
13
14
|
import { a as deniedMessage, i as approvalMessage, n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "./errors-ynga1EQy.js";
|
|
14
15
|
import { t as attachInternals } from "./internals-B3IgHrvo.js";
|
|
15
16
|
import { t as byCodePoint } from "./compare-DTfyUunF.js";
|
|
16
|
-
import { d as policyX } from "./policy-
|
|
17
|
+
import { d as policyX } from "./policy-DnNOTENd.js";
|
|
17
18
|
import { r as isSubject, t as anonymousSubject } from "./subject-C7RddW0G.js";
|
|
18
|
-
import { D as emptyListeners, E as emitSafe, N as contactMemberships, O as finish, P as isContact, i as customRolesFor, o as roleSourceFor, r as assignableNamesFor, s as sourceName, t as evaluate, u as customGrantsFor, w as unknownLevelsFor } from "./evaluate-
|
|
19
|
-
import { c as heldRoleNames, d as audiencesOf, g as asMembershipSource, i as assignableIn, l as roleLeaf, o as collectSnapshotGrants, s as whereGrant, t as snapshotOf, u as applyRoleKinds } from "./instance-snapshot-
|
|
19
|
+
import { D as emptyListeners, E as emitSafe, N as contactMemberships, O as finish, P as isContact, i as customRolesFor, o as roleSourceFor, r as assignableNamesFor, s as sourceName, t as evaluate, u as customGrantsFor, w as unknownLevelsFor } from "./evaluate-BQ2nWOki.js";
|
|
20
|
+
import { c as heldRoleNames, d as audiencesOf, g as asMembershipSource, i as assignableIn, l as roleLeaf, o as collectSnapshotGrants, s as whereGrant, t as snapshotOf, u as applyRoleKinds } from "./instance-snapshot-DyG_5ASl.js";
|
|
20
21
|
import { r as relationReader, t as pendingRelations } from "./relations-CMsJ1ARY.js";
|
|
21
|
-
import { n as signSnapshot, t as filterMemberships } from "./membership-filter-
|
|
22
|
+
import { n as signSnapshot, t as filterMemberships } from "./membership-filter-BWnfRQzo.js";
|
|
22
23
|
import { i as decideAllWith, n as canAllWith } from "./checks-fyDOhcz0.js";
|
|
23
|
-
import { a as deniedFor, i as decideForTarget, n as mayUse, r as permittedIds } from "./may-use-
|
|
24
|
-
import { r as withApp } from "./app-
|
|
24
|
+
import { a as deniedFor, i as decideForTarget, n as mayUse, r as permittedIds } from "./may-use-WDhFPqGG.js";
|
|
25
|
+
import { r as withApp } from "./app-J9PE1LNm.js";
|
|
25
26
|
//#region src/core/granted-permissions.ts
|
|
26
27
|
/**
|
|
27
28
|
* Whether only global roles allow `permission`: it has at least one allow, and
|
|
@@ -39,14 +40,8 @@ function onInstance(entry, options) {
|
|
|
39
40
|
if (options.scope !== void 0 && (membership.scope ?? membership.on?.resource) !== options.scope) return false;
|
|
40
41
|
return options.id === void 0 || (membership.id ?? membership.on?.id) === options.id;
|
|
41
42
|
}
|
|
42
|
-
/**
|
|
43
|
-
|
|
44
|
-
* one tenant, listed in one pass over the grants `snapshot()` builds. A listing
|
|
45
|
-
* to render and filter with, never a decision: a permission granted only
|
|
46
|
-
* through the relationship graph or a time-bounded relation is left out, as in
|
|
47
|
-
* a snapshot.
|
|
48
|
-
*/
|
|
49
|
-
function grantedPermissionsOf(policy, snapshot, options = {}) {
|
|
43
|
+
/** `grantedPermissionsOf` for a snapshot already in the evaluator's flat form. */
|
|
44
|
+
function grantedPermissionsOfExpanded(policy, snapshot, options = {}) {
|
|
50
45
|
const grants = snapshot.grants.filter((entry) => onInstance(entry, options));
|
|
51
46
|
const keys = new Set(grants.filter((entry) => entry.effect === "allow").map((entry) => entry.permission));
|
|
52
47
|
const team = teamOf(policy, options);
|
|
@@ -618,7 +613,7 @@ function buildInstance(policy, subject, envBase, team) {
|
|
|
618
613
|
}, team);
|
|
619
614
|
}),
|
|
620
615
|
snapshot: ((options) => {
|
|
621
|
-
const
|
|
616
|
+
const expanded = snapshotOf(policy, subject, compact({
|
|
622
617
|
customRoles: envBase.customRoles,
|
|
623
618
|
customGrants,
|
|
624
619
|
assignable: envBase.assignable,
|
|
@@ -627,6 +622,7 @@ function buildInstance(policy, subject, envBase, team) {
|
|
|
627
622
|
omitAssignable: options?.omitAssignable,
|
|
628
623
|
simulated: envBase.simulated
|
|
629
624
|
}));
|
|
625
|
+
const snapshot = compactSnapshot(expanded);
|
|
630
626
|
if (options?.signer !== void 0) return signSnapshot(snapshot, options.signer, compact({ audience: options.audience }));
|
|
631
627
|
return snapshot;
|
|
632
628
|
}),
|
|
@@ -673,7 +669,7 @@ function buildInstance(policy, subject, envBase, team) {
|
|
|
673
669
|
return filterMemberships(subject.principal?.memberships ?? [], filter);
|
|
674
670
|
},
|
|
675
671
|
grantedPermissions(options) {
|
|
676
|
-
return
|
|
672
|
+
return grantedPermissionsOfExpanded(policy, snapshotOf(policy, subject, {
|
|
677
673
|
customRoles: envBase.customRoles,
|
|
678
674
|
customGrants,
|
|
679
675
|
omitAssignable: true,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as Policy,
|
|
1
|
+
import { Cn as Scope, D as Policy, Dr as Condition, J as CustomRoleSourceFactory, N as PolicyVocabulary, Q as Intent, Sr as Subject, Tr as AdapterId, X as DecisionSink, Xn as Decision, Z as EntitlementSource, _t as TokenSigner, ar as Obligation, br as Principal, ct as RelationSource, dn as DecisionEvent, en as Snapshot, gr as Delegation, it as MembershipSource, lt as SettingsSource, nt as LimitStore, on as SnapshotTenants, or as Quota, q as CustomRoleSource, qt as Instant, rr as LimitDetail, tr as ExplainedDecision, ur as Actor, y as GrantLimit, yr as Membership } from "./policy-types-DU389Elz.js";
|
|
2
2
|
import { K as AppData, P as ResourceNode, V as RowOf, a as RoleTree, n as PlanTree, r as Role, w as Permission } from "./vocabulary-DeZvUaTw.js";
|
|
3
3
|
import { t as Operation } from "./operations-BMPx7HyO.js";
|
|
4
|
-
import { t as ApprovalPolicies } from "./approval-policies-
|
|
5
|
-
import { a as HostedPolicies } from "./hosted-
|
|
4
|
+
import { t as ApprovalPolicies } from "./approval-policies-BiXMlYBu.js";
|
|
5
|
+
import { a as HostedPolicies } from "./hosted-D5StFpKa.js";
|
|
6
6
|
//#region src/core/checks.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* One check of `canAll` or `decideAll`: a permission alone, or with the row it
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as crud } from "./src-
|
|
1
|
+
import { c as crud } from "./src-ieIv22BA.js";
|
|
2
2
|
import { v as resource } from "./permission-registry-B8tYxPIt.js";
|
|
3
3
|
import { n as defineRoles, t as definePlans } from "./vocabulary-BuYFWeCU.js";
|
|
4
4
|
import { t as definePermissions } from "./permissions-BaoLxy66.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as Policy,
|
|
1
|
+
import { D as Policy, Sr as Subject, br as Principal } from "./policy-types-DU389Elz.js";
|
|
2
2
|
import { c as saasPlans, l as saasRoles, s as saasPermissions } from "./permissions-DriWkV7q.js";
|
|
3
3
|
//#region src/testing/saas/policy.d.ts
|
|
4
4
|
/** Daily API-key quota per subject; the bucket should be per tenant too. */
|
|
@@ -7,12 +7,12 @@ import { n as defineRoles, t as definePlans } from "./vocabulary-BuYFWeCU.js";
|
|
|
7
7
|
import { n as defineScopes } from "./scopes-gdH__vDZ.js";
|
|
8
8
|
import { r as readWireValidity } from "./validity-IcjQSR7I.js";
|
|
9
9
|
import { o as readWireApproval } from "./approval-normalize-KfhzpD93.js";
|
|
10
|
-
import { a as indexPolicy, f as normalizeDelegation } from "./policy-
|
|
11
|
-
import { o as isPortableCondition } from "./hosted-
|
|
10
|
+
import { a as indexPolicy, f as normalizeDelegation } from "./policy-DnNOTENd.js";
|
|
11
|
+
import { o as isPortableCondition } from "./hosted-CQW_YNx7.js";
|
|
12
12
|
import { t as definePermissions } from "./permissions-BaoLxy66.js";
|
|
13
13
|
import { n as copyJson, t as checkSchema } from "./json-schema-BPGa-RjQ.js";
|
|
14
14
|
import { t as parseCatalog } from "./parse-CORUNcCo.js";
|
|
15
|
-
import { n as parsePushedPolicy } from "./pushed-policy-
|
|
15
|
+
import { n as parsePushedPolicy } from "./pushed-policy-UZyQinrL.js";
|
|
16
16
|
//#region src/catalog/json-schema-validator.ts
|
|
17
17
|
const ANNOTATIONS = /* @__PURE__ */ new Set([
|
|
18
18
|
"$schema",
|
|
@@ -1147,7 +1147,11 @@ type AuthEvent = {
|
|
|
1147
1147
|
* to, or the named tenants among them. A name with no membership is dropped.
|
|
1148
1148
|
*/
|
|
1149
1149
|
type SnapshotTenants = "all" | readonly string[];
|
|
1150
|
-
|
|
1150
|
+
/**
|
|
1151
|
+
* The flat form the evaluator reads: one entry per grant, each with its full
|
|
1152
|
+
* terms. Not public.
|
|
1153
|
+
*/
|
|
1154
|
+
type ExpandedSnapshot = {
|
|
1151
1155
|
readonly v: 1;
|
|
1152
1156
|
/**
|
|
1153
1157
|
* RFC 3339. The epoch for a snapshot built without a clock. Signed, it is the
|
|
@@ -1228,6 +1232,29 @@ type Snapshot = {
|
|
|
1228
1232
|
*/
|
|
1229
1233
|
readonly typeLevel?: SnapshotTypeLevel;
|
|
1230
1234
|
};
|
|
1235
|
+
/**
|
|
1236
|
+
* What a grant says apart from its permission key: its effect, role, grantee,
|
|
1237
|
+
* conditions, scope and membership. A `Snapshot` lists each distinct set once
|
|
1238
|
+
* in `conditions`.
|
|
1239
|
+
*/
|
|
1240
|
+
type SnapshotGrantTerms = Omit<SnapshotGrant, "permission">;
|
|
1241
|
+
/**
|
|
1242
|
+
* The wire form `snapshot()` returns and every client takes: `conditions` holds
|
|
1243
|
+
* each distinct set of grant terms once and a grant is `{ permission, cond }`,
|
|
1244
|
+
* `cond` indexing it. `parseSnapshot` validates it; the evaluator expands it
|
|
1245
|
+
* into an `ExpandedSnapshot` it alone reads.
|
|
1246
|
+
*/
|
|
1247
|
+
type Snapshot = Omit<ExpandedSnapshot, "grants"> & {
|
|
1248
|
+
readonly conditions: readonly SnapshotGrantTerms[];
|
|
1249
|
+
readonly grants: readonly {
|
|
1250
|
+
readonly permission: string;
|
|
1251
|
+
/**
|
|
1252
|
+
* Indexes into `conditions`: one, or a list for consecutive grants of the
|
|
1253
|
+
* same permission, in grant order.
|
|
1254
|
+
*/
|
|
1255
|
+
readonly cond: number | readonly number[];
|
|
1256
|
+
}[];
|
|
1257
|
+
};
|
|
1231
1258
|
/** The permission keys a rowless check grants or sends to an approver. */
|
|
1232
1259
|
type SnapshotTypeLevel = {
|
|
1233
1260
|
readonly granted: readonly string[];
|
|
@@ -1309,7 +1336,7 @@ type SnapshotGrant = {
|
|
|
1309
1336
|
type LocalSnapshotManifest = {
|
|
1310
1337
|
readonly v: 1;
|
|
1311
1338
|
readonly scopes?: readonly SnapshotScope[];
|
|
1312
|
-
readonly vocabulary?:
|
|
1339
|
+
readonly vocabulary?: ExpandedSnapshot["vocabulary"];
|
|
1313
1340
|
/** Declared role names; a custom role cannot take one. */
|
|
1314
1341
|
readonly roles: readonly string[];
|
|
1315
1342
|
/** Declared role names in rank order, when an `assigns` graph ranks them. */
|
|
@@ -2779,4 +2806,4 @@ type SubjectOf<P> = {
|
|
|
2779
2806
|
readonly expiresAt?: number;
|
|
2780
2807
|
};
|
|
2781
2808
|
//#endregion
|
|
2782
|
-
export { JwtClaims as $,
|
|
2809
|
+
export { JwtClaims as $, DenialReason as $n, LocalSnapshotRows as $t, PolicyOAuthScope as A, PermissionApprover as An, MemberOfCondition as Ar, parseSupportSession as At, SupportAccessOptions as B, RelationGrantee as Bn, isConditionDate as Br, DecideCredentialOptions as Bt, GrantValidity as C, Scope as Cn, VerifiedClaims as Cr, WhereCompiler as Ct, Policy as D, Approver as Dn, Condition as Dr, SupportSessionPolicy as Dt, ObligationInput as E, AnyOfApprover as En, MembershipVia as Er, SupportSessionDecision as Et, RoleBinding as F, manager as Fn, RestrictedAncestors as Fr, CredentialPermission as Ft, CredentialVerifier as G, inherit as Gn, parseCredential as Gt, ValidateMode as H, anyone as Hn, isSqlFunctionField as Hr, credentialPolicyViolation as Ht, RoleOptions as I, user as In, SqlFunctionArg as Ir, CredentialPermissionInput as It, CustomRoleSourceFactory as J, AppObligation as Jn, LocalCustomRoleTable as Jt, CustomRoleContext as K, plan as Kn, InstanceHandle as Kt, RoleScope as L, Grantee as Ln, SqlFunctionCondition as Lr, CredentialPolicy as Lt, PolicyScopes as M, allOf as Mn, OpaqueCondition as Mr, Credential as Mt, PolicyVocabulary as N, anyOf as Nn, RelatedCondition as Nr, CredentialDecision as Nt, PolicyAppDataSchemas as O, ApproverInput as On, ConditionRef as Or, SupportSessionRequest as Ot, PrincipalOf as P, holder as Pn, RelatedHop as Pr, CredentialKind as Pt, Intent as Q, DenialDetails as Qn, LocalSnapshotManifest as Qt, SeparationConflict as R, GranteeInput as Rn, hasConditionOp as Rr, CredentialPolicyViolation as Rt, GrantScope as S, PolicyScopesInput as Sn, Subject as Sr, VersionQuery as St, MembershipFixture as T, ScopeNames as Tn, AdapterId as Tr, SupportSession as Tt, VocabularyFromInput as U, assurance as Un, decideCredential as Ut, SupportConsent as V, actor as Vn, isConditionRef as Vr, credentialDelegation as Vt, WireValidity as W, authenticated as Wn, isFeedId as Wt, DecisionSink as X, Decision as Xn, LocalRowColumn as Xt, DecisionProvider as Y, ApprovalRequiredDecision as Yn, LocalMembershipRows as Yt, EntitlementSource as Z, Denial as Zn, LocalRowValue as Zt, Grant as _, MembershipEvent as _n, GnapAccess as _r, TokenSigner as _t, ApprovalMode as a, SnapshotScope as an, Obligation as ar, RelationChain as at, GrantMeta as b, WireDenial as bn, Principal as br, VerifiedToken as bt, ApprovalStage as c, AuthEvent as cn, TraceSkip as cr, RelationSource as ct, BreakGlassRequirements as d, DecisionEvent as dn, Assurance as dr, SourceCall as dt, Snapshot as en, DeniedDecision as er, LimitConsumeInput as et, BreakGlassSpec as f, DeliveryChannel as fn, AuthorizationDetail as fr, SourceContext as ft, DelegationTarget as g, EmailCategory as gn, Delegation as gr, TokenFailureCause as gt, DelegationInput as h, DirectoryEvent as hn, CustomRoleGrant as hr, TenantSettings as ht, ApprovalFallback as i, SnapshotNotEntitled as in, MatchedGrant as ir, MembershipSource as it, PolicyOptions as j, UserApprover as jn, MemberOfParent as jr, ApiKeyPrincipal as jt, PolicyDelegation as k, ManagerApprover as kn, ConditionValue as kr, decideSupportSession as kt, AssuranceRequirement as l, AutomationEvent as ln, TraceSkipReason as lr, SettingsSource as lt, ClosureGrantFn as m, DeliveryFailureCause as mn, CustomRole as mr, SubjectResolver as mt, ApprovalCombine as n, SnapshotGrant as nn, GrantedDecision as nr, LimitStore as nt, ApprovalOption as o, SnapshotTenants as on, Quota as or, RelationGroup as ot, ClosureContext as p, DeliveryEvent as pn, Binding as pr, SourceMemo as pt, CustomRoleSource as q, relation as qn, Instant as qt, ApprovalEscalation as r, SnapshotGrantTerms as rn, LimitDetail as rr, MemberEntry as rt, ApprovalRequirement as s, AccessEvent as sn, Trace as sr, RelationHolder as st, ActivationOption as t, SnapshotAssignable as tn, ExplainedDecision as tr, LimitRemaining as tt, BreakGlassOptions as u, CredentialEvent as un, Actor as ur, SnapshotSource as ut, GrantCondition as v, SinkEvent as vn, JsonWebKeyLike as vr, TokenVerifier as vt, HostedGrantRef as w, ScopeDeclaration as wn, ActorKind as wr, DecideSupportSessionOptions as wt, GrantOptions as x, WireDelegation as xn, SharedCustomRole as xr, VersionContext as xt, GrantLimit as y, WireDecision as yn, Membership as yr, VerificationFailure as yt, SubjectOf as z, InheritGrantee as zn, isCondition as zr, CredentialRequest as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as Policy,
|
|
2
|
-
import { n as SubjectCache, r as SubjectRecord } from "./subject-cache-
|
|
1
|
+
import { D as Policy, Sr as Subject, br as Principal, dt as SourceCall, it as MembershipSource, q as CustomRoleSource, rt as MemberEntry } from "./policy-types-DU389Elz.js";
|
|
2
|
+
import { n as SubjectCache, r as SubjectRecord } from "./subject-cache-TY2tw-k9.js";
|
|
3
3
|
//#region src/supabase/postgrest.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* What a supabase-js `rpc` call resolves to: `data` or an `error` with a
|
|
@@ -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 { D as memoryCustomRoleSource, h as localSnapshotManifest } from "./src-
|
|
3
|
+
import { D as memoryCustomRoleSource, h as localSnapshotManifest } from "./src-ieIv22BA.js";
|
|
4
4
|
import { n as findPermission } from "./permission-registry-B8tYxPIt.js";
|
|
5
5
|
import { d as scopeList, s as resolveScope } from "./scopes-gdH__vDZ.js";
|
|
6
6
|
import { t as requiresApproval } from "./approval-required-TzNB9oQA.js";
|
|
7
|
-
import { t as getPermDock } from "./permdock-
|
|
8
|
-
import { l as policyLevels } from "./policy-
|
|
7
|
+
import { t as getPermDock } from "./permdock-B3zE16To.js";
|
|
8
|
+
import { l as policyLevels } from "./policy-DnNOTENd.js";
|
|
9
9
|
import { u as usageResult } from "./errors-BhRkoNS7.js";
|
|
10
10
|
import { c as requirePolicy } from "./load-C4p4VgwR.js";
|
|
11
11
|
import { s as quoteSqlLiteral, t as SQL_IDENT } from "./sql-0WjxIp9g.js";
|
|
@@ -16,10 +16,10 @@ import { i as fileDrift } from "./output-files-CM0BnH05.js";
|
|
|
16
16
|
import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-BVZc7OCF.js";
|
|
17
17
|
import { n as pgConnector } from "./pg-Ddxsd5ZB.js";
|
|
18
18
|
import { A as quoteQualified, O as quoteIdent, a as customRolesOn, t as CUSTOM_ROLES } from "./shared-DfaIWvIJ.js";
|
|
19
|
-
import { i as tableNames, r as tableNameOf } from "./tables-
|
|
20
|
-
import { d as andConditions, l as collectGrants, o as assignableRoles, p as contextRefs, t as ownershipRules, u as roleNames } from "./ownership-
|
|
19
|
+
import { i as tableNames, r as tableNameOf } from "./tables-DnNACfAr.js";
|
|
20
|
+
import { d as andConditions, l as collectGrants, o as assignableRoles, p as contextRefs, t as ownershipRules, u as roleNames } from "./ownership-DvK6INyx.js";
|
|
21
21
|
import { t as membershipSourcesOf } from "./sources-qoIJQrJv.js";
|
|
22
|
-
import { h as tableFor, t as canFixture } from "./verify-
|
|
22
|
+
import { h as tableFor, t as canFixture } from "./verify-Boehaks6.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. */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as runPowerSync } from "./powersync-B5YjtUGd.js";
|
|
@@ -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-BgUsk2Nf.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-BgUsk2Nf.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 { Dr as Condition, Sr as Subject, qt as Instant } from "../policy-types-DU389Elz.js";
|
|
2
|
+
import { f as WhereResult } from "../permdock-DV3opaI3.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
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { N as PolicyVocabulary,
|
|
1
|
+
import { N as PolicyVocabulary, Xn as Decision, yr as Membership } from "./policy-types-DU389Elz.js";
|
|
2
2
|
import { r as Role, w as Permission } from "./vocabulary-DeZvUaTw.js";
|
|
3
|
-
import { d as UncheckedData, s as RowData } from "./permdock-
|
|
4
|
-
import { r as DescribeOptions, t as DecisionDescription } from "./describe-
|
|
5
|
-
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, l as GateView, p as ProtectedActionHandle, r as ApprovalHandle, s as FilterResult, u as PermissionOutcome, v as TenantView } from "./store-core-
|
|
3
|
+
import { d as UncheckedData, s as RowData } from "./permdock-DV3opaI3.js";
|
|
4
|
+
import { r as DescribeOptions, t as DecisionDescription } from "./describe-DwcoWMLB.js";
|
|
5
|
+
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, l as GateView, p as ProtectedActionHandle, r as ApprovalHandle, s as FilterResult, u as PermissionOutcome, v as TenantView } from "./store-core-BI-9ZU-5.js";
|
|
6
6
|
import { r as RefreshTrigger } from "./refresh-on-L9UOwATg.js";
|
|
7
|
-
import { r as ProtectedProps } from "./types-
|
|
7
|
+
import { r as ProtectedProps } from "./types-DEDocm4c.js";
|
|
8
8
|
import { ReactNode } from "react";
|
|
9
9
|
//#region src/react/hooks.d.ts
|
|
10
10
|
/**
|
|
@@ -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-BYKNX_JG.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as eagerEvaluator } from "./evaluator-eager-
|
|
2
|
-
import { t as ProviderWith } from "./provider-with-
|
|
1
|
+
import { t as eagerEvaluator } from "./evaluator-eager-CULtQ8t6.js";
|
|
2
|
+
import { t as ProviderWith } from "./provider-with-Do28DhxP.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/react/provider.tsx
|
|
5
5
|
function PermDockProvider(props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PermDockProviderProps } from "./types-
|
|
1
|
+
import { n as PermDockProviderProps } from "./types-DEDocm4c.js";
|
|
2
2
|
import { ReactElement } from "react";
|
|
3
3
|
//#region src/react/provider.d.ts
|
|
4
4
|
declare function PermDockProvider(props: PermDockProviderProps): ReactElement;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
|
-
import { t as emptySnapshot } from "./snapshot-empty-
|
|
3
|
-
import { t as eagerEvaluator } from "./evaluator-eager-
|
|
4
|
-
import { l as isPromiseLike, t as adapterStore } from "./store-options-
|
|
2
|
+
import { t as emptySnapshot } from "./snapshot-empty-F7d5BRlc.js";
|
|
3
|
+
import { t as eagerEvaluator } from "./evaluator-eager-CULtQ8t6.js";
|
|
4
|
+
import { l as isPromiseLike, t as adapterStore } from "./store-options-BYKNX_JG.js";
|
|
5
5
|
//#region src/client/provider-store.ts
|
|
6
6
|
/**
|
|
7
7
|
* Store options that read `read()` on every request, so a rotated token, a new
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
|
-
import { t as emptySnapshot } from "./snapshot-empty-
|
|
3
|
-
import { t as adapterStore } from "./store-options-
|
|
2
|
+
import { t as emptySnapshot } from "./snapshot-empty-F7d5BRlc.js";
|
|
3
|
+
import { t as adapterStore } from "./store-options-BYKNX_JG.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";
|
|
@@ -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-DnQDviXY.js";
|
|
7
7
|
import { t as catalogPath } from "./catalog-path-CnI0XTFK.js";
|
|
8
8
|
import { n as parseSupabaseManifest } from "./manifest-BoCYBbQL.js";
|
|
9
9
|
import { t as parseCatalog } from "./parse-CORUNcCo.js";
|
|
10
|
-
import { a as nonEmptyOr } from "./output-
|
|
10
|
+
import { a as nonEmptyOr } from "./output-LDciF_4t.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-dptLQzPP.js";
|
|
13
13
|
import { l as cloudUrl, n as cliRuntime, o as readAuth } from "./auth-BxXHxWRy.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as runCloudPull } from "./pull-Pde1lapF.js";
|
|
@@ -6,8 +6,8 @@ import { s as cliVersion } from "./version-DMQ0dnN5.js";
|
|
|
6
6
|
import { i as loadConfiguredPolicy } from "./load-C4p4VgwR.js";
|
|
7
7
|
import { n as parseSupabaseManifest } from "./manifest-BoCYBbQL.js";
|
|
8
8
|
import { t as parseCatalog } from "./parse-CORUNcCo.js";
|
|
9
|
-
import { r as pushedPolicy } from "./pushed-policy-
|
|
10
|
-
import { n as runCatalog } from "./catalog-
|
|
9
|
+
import { r as pushedPolicy } from "./pushed-policy-UZyQinrL.js";
|
|
10
|
+
import { n as runCatalog } from "./catalog-B1MAmRQI.js";
|
|
11
11
|
import { n as httpRequest, t as authFailure } from "./http-dptLQzPP.js";
|
|
12
12
|
import { a as pushAuth, l as cloudUrl, n as cliRuntime, u as firstNonEmpty } from "./auth-BxXHxWRy.js";
|
|
13
13
|
import "./manifest-json-CAGzls-C.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as Policy,
|
|
1
|
+
import { D as Policy, Dr as Condition, Jn as AppObligation, Ln as Grantee, W as WireValidity, an as SnapshotScope, b as GrantMeta, f as BreakGlassSpec, s as ApprovalRequirement, y as GrantLimit } from "./policy-types-DU389Elz.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-IcjQSR7I.js";
|
|
6
|
-
import { n as snapshotScopes } from "./instance-snapshot-
|
|
6
|
+
import { n as snapshotScopes } from "./instance-snapshot-DyG_5ASl.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 SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, p as ProtectedActionHandle, r as ApprovalHandle, s as FilterResult, u as PermissionOutcome, v as TenantView, y as ActionResult } from "../store-core-
|
|
1
|
+
import { c as requiredPlans } from "../errors-D_SnqcRn.js";
|
|
2
|
+
import { i as describe } from "../describe-DwcoWMLB.js";
|
|
3
|
+
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, p as ProtectedActionHandle, r as ApprovalHandle, s as FilterResult, u as PermissionOutcome, v as TenantView, y as ActionResult } from "../store-core-BI-9ZU-5.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-DEDocm4c.js";
|
|
6
6
|
import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
|
|
7
|
-
import { _ as useTenant, a as useAssignableRoles, c as useFilter, d as usePermDock, f as usePermission, g as useSubject, h as useRoles, i as useAssignablePermissions, l as useGate, m as useRefreshOn, n as Protected, o as useDecision, p as usePermissions, r as useApproval, s as useDescribe, t as useProtectedAction, u as useMemberships } from "../protected-action-
|
|
8
|
-
import { t as PermDockProvider } from "../provider-
|
|
7
|
+
import { _ as useTenant, a as useAssignableRoles, c as useFilter, d as usePermDock, f as usePermission, g as useSubject, h as useRoles, i as useAssignablePermissions, l as useGate, m as useRefreshOn, n as Protected, o as useDecision, p as usePermissions, r as useApproval, s as useDescribe, t as useProtectedAction, u as useMemberships } from "../protected-action-CjSUoPGx.js";
|
|
8
|
+
import { t as PermDockProvider } from "../provider-D1jsNJ85.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 PermissionOutcome, 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, useDecision, 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 { _ as useTenant, a as useAssignableRoles, c as useFilter, d as usePermDock, f as usePermission, g as useSubject, h as useRoles, i as useAssignablePermissions, l as useGate, m as useRefreshOn, n as Protected, o as useDecision, p as usePermissions, r as useApproval, s as useDescribe, t as useProtectedAction, u as useMemberships } 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-BYKNX_JG.js";
|
|
6
|
+
import { _ as useTenant, a as useAssignableRoles, c as useFilter, d as usePermDock, f as usePermission, g as useSubject, h as useRoles, i as useAssignablePermissions, l as useGate, m as useRefreshOn, n as Protected, o as useDecision, p as usePermissions, r as useApproval, s as useDescribe, t as useProtectedAction, u as useMemberships } from "../protected-action-D41o5LvP.js";
|
|
7
|
+
import { t as PermDockProvider } from "../provider-Bzzux0TR.js";
|
|
8
8
|
export { PermDockProvider, Protected, approvalHeaders, authzChangeRefresh, broadcastChannelRefresh, describe, eventSourceRefresh, focusRefresh, requiredPlans, useApproval, useAssignablePermissions, useAssignableRoles, useDecision, useDescribe, useFilter, useGate, useMemberships, usePermDock, usePermission, usePermissions, useProtectedAction, useRefreshOn, useRoles, useSubject, useTenant, visibilityRefresh };
|
package/dist/react/lazy.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as requiredPlans } from "../errors-
|
|
2
|
-
import { i as describe } from "../describe-
|
|
3
|
-
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, p as ProtectedActionHandle, r as ApprovalHandle, s as FilterResult, u as PermissionOutcome, v as TenantView, y as ActionResult } from "../store-core-
|
|
1
|
+
import { c as requiredPlans } from "../errors-D_SnqcRn.js";
|
|
2
|
+
import { i as describe } from "../describe-DwcoWMLB.js";
|
|
3
|
+
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, p as ProtectedActionHandle, r as ApprovalHandle, s as FilterResult, u as PermissionOutcome, v as TenantView, y as ActionResult } from "../store-core-BI-9ZU-5.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-DEDocm4c.js";
|
|
6
6
|
import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
|
|
7
|
-
import { _ as useTenant, a as useAssignableRoles, c as useFilter, d as usePermDock, f as usePermission, g as useSubject, h as useRoles, i as useAssignablePermissions, l as useGate, m as useRefreshOn, n as Protected, o as useDecision, p as usePermissions, r as useApproval, s as useDescribe, t as useProtectedAction, u as useMemberships } from "../protected-action-
|
|
7
|
+
import { _ as useTenant, a as useAssignableRoles, c as useFilter, d as usePermDock, f as usePermission, g as useSubject, h as useRoles, i as useAssignablePermissions, l as useGate, m as useRefreshOn, n as Protected, o as useDecision, p as usePermissions, r as useApproval, s as useDescribe, t as useProtectedAction, u as useMemberships } from "../protected-action-CjSUoPGx.js";
|
|
8
8
|
import { ReactElement } from "react";
|
|
9
9
|
//#region src/react/lazy-provider.d.ts
|
|
10
10
|
export declare function PermDockProvider(props: PermDockProviderProps): ReactElement;
|
package/dist/react/lazy.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
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 { _ as useTenant, a as useAssignableRoles, c as useFilter, d as usePermDock, f as usePermission, g as useSubject, h as useRoles, i as useAssignablePermissions, l as useGate, m as useRefreshOn, n as Protected, o as useDecision, p as usePermissions, r as useApproval, s as useDescribe, t as useProtectedAction, u as useMemberships } from "../protected-action-
|
|
7
|
-
import { t as ProviderWith } from "../provider-with-
|
|
5
|
+
import { a as eventSourceRefresh, i as broadcastChannelRefresh, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-BYKNX_JG.js";
|
|
6
|
+
import { _ as useTenant, a as useAssignableRoles, c as useFilter, d as usePermDock, f as usePermission, g as useSubject, h as useRoles, i as useAssignablePermissions, l as useGate, m as useRefreshOn, n as Protected, o as useDecision, p as usePermissions, r as useApproval, s as useDescribe, t as useProtectedAction, u as useMemberships } from "../protected-action-D41o5LvP.js";
|
|
7
|
+
import { t as ProviderWith } from "../provider-with-Do28DhxP.js";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/client/evaluator-lazy.ts
|
|
10
10
|
const loaded = {};
|
|
@@ -17,7 +17,7 @@ function lazyEvaluator() {
|
|
|
17
17
|
build: () => loaded.build,
|
|
18
18
|
load: () => {
|
|
19
19
|
loaded.promise ??= (async () => {
|
|
20
|
-
loaded.build = (await import("../evaluator-
|
|
20
|
+
loaded.build = (await import("../evaluator-CDl2YUd_.js")).buildInstance;
|
|
21
21
|
})();
|
|
22
22
|
return loaded.promise;
|
|
23
23
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PermDockProvider } from "../provider-
|
|
1
|
+
import { t as PermDockProvider } from "../provider-D1jsNJ85.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-Bzzux0TR.js";
|