permdock 0.21.0 → 0.22.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/README.md +2 -1
- package/dist/a2a/index.d.ts +5 -5
- package/dist/a2a/index.js +5 -4
- package/dist/{adoption-scan-UkQisAqe.js → adoption-scan-_bHLMnVQ.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 +4 -4
- package/dist/ai-sdk/index.js +3 -3
- package/dist/app/index.d.ts +85 -0
- package/dist/app/index.js +91 -0
- package/dist/app-DIvM65Mv.js +24 -0
- package/dist/{approval-policies-CKlByf5o.d.ts → approval-policies-UnDSxT__.d.ts} +2 -2
- package/dist/{approval-prompt-CQFiO1KE.d.ts → approval-prompt-2hTqo6IM.d.ts} +2 -2
- package/dist/approvals/index.d.ts +3 -3
- package/dist/approvals/index.js +3 -3
- package/dist/{approvals-CuXILe52.js → approvals-B_sn4Wrn.js} +6 -6
- package/dist/{arazzo-CUthH61H.js → arazzo-BXD-VJU_.js} +1 -1
- package/dist/{arazzo-BC3uLIZy.js → arazzo-Ct0PGblq.js} +3 -3
- package/dist/astro/index.d.ts +6 -6
- package/dist/astro/index.js +2 -2
- package/dist/{audience-BUonniPx.js → audience-5Xx1hdIv.js} +1 -1
- package/dist/{auth-j3Eu-j4h.js → auth-BxXHxWRy.js} +1 -1
- package/dist/authzen/index.d.ts +5 -5
- package/dist/authzen/index.js +4 -4
- package/dist/{automation-CpOk7Tlu.d.ts → automation-B20_8UoT.d.ts} +3 -3
- package/dist/{automation-x3KEUusw.js → automation-BueW05db.js} +2 -2
- package/dist/better-auth/index.d.ts +2 -2
- package/dist/better-auth/index.js +1 -1
- package/dist/better-supabase/index.d.ts +113 -56
- package/dist/better-supabase/index.js +200 -62
- package/dist/better-supabase-DF8f8oly.js +194 -0
- package/dist/{bind-CJf7S-Jd.js → bind-B4Z0U2Gr.js} +5 -5
- package/dist/{bind-XvnD_SUz.d.ts → bind-CnOMjazH.d.ts} +7 -7
- package/dist/{build-instance-CkRKgjSj.js → build-instance-B0vsViF5.js} +3 -25
- package/dist/{capability-zN6T9fxe.js → capability-CenWwTMR.js} +1 -1
- package/dist/{capability-v2xZB7us.d.ts → capability-YkRMUAsF.d.ts} +2 -2
- package/dist/{casbin-BOZN1P2Y.js → casbin-D5evU3lX.js} +1 -1
- package/dist/{casbin-v9Xo_XPa.js → casbin-imBS3UIf.js} +1 -1
- package/dist/catalog/index.d.ts +5 -5
- package/dist/catalog/index.js +5 -5
- package/dist/catalog-C462QC3A.js +1 -0
- package/dist/{catalog-DjDc87R2.js → catalog-CoyKnU5c.js} +1 -1
- package/dist/{catalog-s0waIrfY.js → catalog-Y4CjN8NA.js} +4 -4
- package/dist/{catalog-operations-BD22drQf.js → catalog-operations-Do1eD-Rt.js} +1 -1
- package/dist/{challenge-DbkpCx_v.js → challenge-B__LcNve.js} +3 -3
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/index.js +3 -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 +3 -3
- package/dist/cli/bin.js +1 -1
- package/dist/cli/index.d.ts +8 -7
- package/dist/cli/index.js +3 -3
- package/dist/cloud/index.d.ts +8 -8
- package/dist/cloud/index.js +3 -3
- package/dist/{cloud-CB0btByh.js → cloud-DWCeStPH.js} +2 -2
- package/dist/{codemod-C3a3Iz_w.js → codemod-B7QKJ_ak.js} +2 -2
- package/dist/{codemod-B-duJDFD.js → codemod-BaPmaCYQ.js} +13 -6
- package/dist/{collect-DN_x7hvV.js → collect-Cr71JA7z.js} +8 -7
- package/dist/{collect-DMQ6Sxr6.js → collect-ScSG05VJ.js} +2 -2
- package/dist/collect-W9i7REKT.js +1 -0
- package/dist/compile/index.d.ts +1 -1
- package/dist/compile/index.js +1 -1
- package/dist/{compile-B_oJqmIg.js → compile-Cvru58id.js} +2 -2
- package/dist/{compile-DonvwG9x.d.ts → compile-DC-BrhH1.d.ts} +3 -3
- package/dist/{completion-6IshPaPd.js → completion-DOUMyCwa.js} +1 -1
- package/dist/{delegation-aK4T_5WU.js → condition-evaluate-bVVRSdzq.js} +159 -159
- package/dist/{config-C45X7mpm.js → config-DRp-E8Ly.js} +1 -1
- package/dist/{config-D2oXUwos.js → config-DyNanTjZ.js} +10 -8
- package/dist/{config-report-Bmo62RRr.js → config-report-Bh_nLdAE.js} +2 -2
- package/dist/{config-shape-D9paLhEX.js → config-shape-C4zqzG2K.js} +9 -2
- package/dist/{context-YhyXyqBI.js → context-Cem4QafV.js} +2 -2
- package/dist/convex/index.d.ts +5 -5
- package/dist/convex/index.js +2 -2
- package/dist/{core-Dxkwz4xR.js → core-CUjhfz0W.js} +6 -6
- package/dist/{core-9KbhurkH.d.ts → core-D2JNg5jA.d.ts} +3 -3
- package/dist/coverage-D8jBJdgD.d.ts +114 -0
- package/dist/coverage-Dh2W_DmF.js +211 -0
- package/dist/{create-DH4ZD0A7.d.ts → create-B2tdOygC.d.ts} +7 -7
- package/dist/{create-Q0wF9Elt.js → create-BJ2_8NDO.js} +5 -5
- package/dist/{create-BRiRVNUO.js → create-BsL5lCWR.js} +8 -7
- package/dist/{create-BzgDDamI.d.ts → create-CPDSbK1a.d.ts} +5 -5
- package/dist/{create-BQOQkYYg.d.ts → create-oMCcZV4X.d.ts} +9 -9
- package/dist/{credential-B3Hj4puZ.js → credential-Bap3HClV.js} +4 -4
- package/dist/{server-D0PW6ZCw.js → credentials-BXV0oz56.js} +3 -146
- package/dist/credentials-DPX140fN.d.ts +125 -0
- package/dist/delivery/index.d.ts +4 -4
- package/dist/delivery/index.js +1 -1
- package/dist/{denied-text-De8cw3MW.d.ts → denied-text-BXQkWU7d.d.ts} +2 -2
- package/dist/{describe-DibQM6g-.d.ts → describe-DVobr5FX.d.ts} +2 -2
- package/dist/{diff-BJv7I3GR.js → diff-BR9JArxz.js} +6 -6
- package/dist/{diff-3fpwo3UD.js → diff-Jc_kbDz-.js} +1 -1
- package/dist/{doctor-Bz7s3JYD.js → doctor-BBMW5ZT_.js} +310 -36
- package/dist/{doctor-keoa9DpH.js → doctor-DhqSiPkq.js} +3 -3
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/drizzle/index.js +1 -1
- package/dist/elysia/index.d.ts +5 -5
- package/dist/elysia/index.js +3 -3
- package/dist/{errors-OTE9u4Wk.d.ts → errors-D_JIQJYb.d.ts} +1 -1
- package/dist/{evaluate-Dcq_U2TV.js → evaluate-B5yZHmts.js} +16 -16
- package/dist/{evaluations-CNMVJVD6.js → evaluations-BzTDWO4m.js} +57 -57
- package/dist/{evaluations-OCm_Z-8V.d.ts → evaluations-DQYfh4Jh.d.ts} +3 -3
- package/dist/eve/index.d.ts +5 -5
- package/dist/eve/index.js +3 -3
- package/dist/express/index.d.ts +5 -5
- package/dist/express/index.js +3 -3
- package/dist/fastify/index.d.ts +5 -5
- package/dist/fastify/index.js +3 -3
- package/dist/{fetch-adapter-BlL-ZhHq.d.ts → fetch-adapter-DxqsIXSO.d.ts} +4 -4
- package/dist/{fetch-adapter-4EB3cLgB.js → fetch-adapter-MoYZ-vF5.js} +3 -3
- package/dist/{fields-D_TfExiI.js → fields-CVyOk-f1.js} +2 -2
- package/dist/{fixtures-Cemqurt8.js → fixtures-BVZc7OCF.js} +1 -1
- package/dist/{from-snapshot-DHnb8Fh4.js → from-snapshot-oR_N97dM.js} +346 -14
- package/dist/{gen-DYF4LKUP.js → gen-DXXoFjyf.js} +1 -1
- package/dist/{gen-Cf7nQsOb.js → gen-WdycZ_-b.js} +5 -5
- package/dist/{grantee-conditions-DX4K_gGI.js → grantee-conditions-Dzprappv.js} +1 -1
- package/dist/{grantee-match-BP-k4vRJ.js → grantee-match-8J2y60MF.js} +3 -3
- package/dist/h3/index.d.ts +4 -4
- package/dist/h3/index.js +3 -3
- package/dist/{helpers-D-MXwkOF.js → helpers-DzBIfL1N.js} +25 -25
- package/dist/hono/index.d.ts +5 -5
- package/dist/hono/index.js +3 -3
- package/dist/{hosted-C2Pmhy2x.js → hosted-C5I2TSXm.js} +4 -4
- package/dist/{hosted-yhyAuQkL.d.ts → hosted-DXq1plaP.d.ts} +1 -1
- package/dist/{http-DhMWeB_h.js → http-dptLQzPP.js} +1 -1
- package/dist/{expiry-6XByK0dm.js → ids-DzhJaCUj.js} +23 -23
- package/dist/{import-CQ_kH_Ny.js → import-BE5sDazm.js} +2 -2
- package/dist/{import-C2ExjVvv.js → import-CvXswHDy.js} +2 -2
- package/dist/index-BcS8c_2S.d.ts +101 -0
- package/dist/{index--AwSBzJC.d.ts → index-BdZpqhJK.d.ts} +2 -2
- package/dist/{index-CLbGOPBr.d.ts → index-C-R8lBPb.d.ts} +3 -3
- package/dist/{index-Do7FqHEr.d.ts → index-C_8uxAlv.d.ts} +5 -5
- package/dist/{index-tuR-kZoJ.d.ts → index-Cjfa1Uwr.d.ts} +21 -40
- package/dist/{index-BqzpT-90.d.ts → index-iIsqXFVu.d.ts} +6 -6
- package/dist/index.d.ts +19 -20
- package/dist/index.js +25 -24
- package/dist/{init-kTFkEu8S.js → init-B_S8Xdz1.js} +4 -4
- package/dist/{init-DvkvbvZ_.js → init-CqGHcvyR.js} +2 -2
- package/dist/{instance-options-Cq66kEeR.d.ts → instance-options-C6gEDOts.d.ts} +1 -1
- package/dist/instance-options-URVwqpMW.js +24 -0
- package/dist/{instance-snapshot-Bi4-dJk0.js → instance-snapshot-D_dGTq--.js} +9 -9
- package/dist/jwt/index.d.ts +4 -4
- package/dist/jwt/index.js +2 -2
- package/dist/{kernel-CLEzDmbv.js → kernel-NmxiWII2.js} +8 -8
- package/dist/kysely/index.d.ts +3 -3
- package/dist/kysely/index.js +1 -1
- package/dist/limits-CAhpRrhk.js +167 -0
- package/dist/{load-BaEamml-.js → load-C4p4VgwR.js} +2 -2
- package/dist/load-DiBUJx77.js +1 -0
- package/dist/{login-9ycIcJZH.js → login-CzwlsBEO.js} +4 -4
- package/dist/{login-CM_etiLM.js → login-DoLxv1s5.js} +3 -3
- package/dist/{manifest-CCd-xrM3.js → manifest-BAf7cgRx.js} +35 -35
- package/dist/{map-claims-PQwHynxV.js → map-claims-CAa_bQt9.js} +1 -1
- package/dist/{map-error-EOhahOVA.js → map-error-p4ROJ_26.js} +1 -1
- package/dist/mcp/index.d.ts +9 -9
- package/dist/mcp/index.js +9 -8
- package/dist/{migrate-CkLHdwuH.js → migrate-DVsxeE0y.js} +1 -1
- package/dist/{module-values-BYuNtdK5.js → module-values-BLiVlO1X.js} +3 -3
- package/dist/nest/index.d.ts +5 -5
- package/dist/nest/index.js +3 -3
- package/dist/next/index.d.ts +43 -17
- package/dist/next/index.js +54 -21
- package/dist/next/plugin.d.ts +1 -1
- package/dist/next/plugin.js +1 -1
- package/dist/node/index.d.ts +5 -5
- package/dist/node/index.js +2 -2
- package/dist/openai/index.d.ts +5 -5
- package/dist/openai/index.js +3 -3
- package/dist/openapi/index.d.ts +5 -59
- package/dist/openapi/index.js +3 -2
- package/dist/{openapi-BOsx0xn9.js → openapi-Cc-aS9xC.js} +6 -135
- package/dist/{openapi-QnnU2A1c.js → openapi-DroBcLJZ.js} +2 -2
- package/dist/{openapi-DA7FVG2F.js → openapi-EmvKwuWj.js} +4 -4
- package/dist/{operations-Ci_rT6Uo.d.ts → operations-BMPx7HyO.d.ts} +1 -1
- package/dist/optional-8TKc-0j4.js +47 -0
- package/dist/orpc/index.d.ts +7 -7
- package/dist/orpc/index.js +4 -4
- package/dist/otel/index.d.ts +3 -3
- package/dist/otel/index.js +1 -1
- package/dist/{output-KT0a3B3H.js → output-CYgfpT6o.js} +1 -1
- package/dist/{ownership-CeNOtQMV.js → ownership-adPAsUwY.js} +15 -13
- package/dist/{parse-CXTT7hBq.js → parse-CORUNcCo.js} +1 -1
- package/dist/{parse-local-manifest-CE4tgFsj.d.ts → parse-local-manifest-BaCqsqwC.d.ts} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/pdp/index.js +4 -3
- package/dist/{permdock-DbAq8_Fp.js → permdock-B5LyNVgn.js} +70 -34
- package/dist/{permdock-CsrvbzHk.d.ts → permdock-BaB-KQqn.d.ts} +46 -9
- package/dist/{permissions-Dz79qsFw.js → permissions-COpRGKt7.js} +1 -1
- package/dist/{permissions-Bx6UI8n1.d.ts → permissions-DriWkV7q.d.ts} +1 -2
- package/dist/{policy-from-catalog-BtqfxytV.js → policy-from-catalog-Cy103lsm.js} +8 -8
- package/dist/{policy-types-BI9C5Sp5.d.ts → policy-types-rNfz7t0M.d.ts} +9 -3
- package/dist/{policy-CaAME-Rh.js → policy-wGzbAPQF.js} +7 -7
- package/dist/{policy-Dh9WVSVz.d.ts → policy-x8RBKW8d.d.ts} +2 -2
- package/dist/{postgrest-CWCCbaxm.d.ts → postgrest-Cn0Res25.d.ts} +9 -21
- package/dist/powersync-BdoR7nwS.js +1 -0
- package/dist/{powersync-CWsN-QaK.js → powersync-BeI0VmEK.js} +2 -2
- package/dist/{powersync-DiqY3VBG.js → powersync-Dpa5AnnN.js} +11 -11
- package/dist/preset/index.js +1 -1
- package/dist/{preset-pPrVyGU5.js → preset-Bn5Z54cH.js} +5 -6
- package/dist/prisma/index.d.ts +2 -2
- package/dist/prisma/index.js +1 -1
- package/dist/{protected-action-CuG0xz4P.d.ts → protected-action-C4aj1KjO.d.ts} +6 -7
- package/dist/{protected-action-CD1HXwQK.js → protected-action-E7Sdt_Dt.js} +1 -1
- package/dist/{provider-ihxuJbMi.d.ts → provider-B-1DlOGM.d.ts} +1 -1
- package/dist/{provider-qESIf_C0.js → provider-DKO9KHua.js} +2 -2
- package/dist/{provider-store-BTHGJH9j.js → provider-store-D4PU1my_.js} +2 -2
- package/dist/{pull-B4EhSqOG.js → pull-3tkn25ll.js} +5 -5
- package/dist/pull-D90HqWNP.js +1 -0
- package/dist/{push-DYOI4bPf.js → push-dMyKdlEm.js} +6 -6
- package/dist/{pushed-policy-Dszouliu.js → pushed-policy-Bi5-il4C.js} +2 -2
- package/dist/{pushed-policy-P0hgyLBh.d.ts → pushed-policy-P55cJNx5.d.ts} +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 +9 -9
- package/dist/react-native/index.js +7 -7
- package/dist/{relation-walk-DK_gkgL7.js → relation-walk-BDTaTKTM.js} +1 -1
- package/dist/{relations-BxvRvDHK.js → relations-CMsJ1ARY.js} +1 -1
- package/dist/{replay-DYXI4gRN.d.ts → replay-DKhFvt0L.d.ts} +1 -1
- package/dist/{request-context-VjeXst1z.js → request-context-5gl_oxO1.js} +2 -2
- package/dist/resend/index.d.ts +4 -4
- package/dist/resend/index.js +2 -2
- package/dist/{resolve-names-BIHnWL_L.js → resolve-names-BnGJU88N.js} +4 -4
- package/dist/{rls-C7qXye9M.js → rls-DIYSRnDZ.js} +1 -1
- package/dist/{rls-CMFZWosz.js → rls-qrehUPf_.js} +45 -18
- package/dist/{role-builder-C5AgaC1x.js → role-builder-boQiUvfo.js} +3 -3
- package/dist/{rpc-CYXICjM1.d.ts → rpc-BqRiVpbP.d.ts} +2 -2
- package/dist/{rpc-BNIQwEB6.js → rpc-Dhi55Whd.js} +2 -2
- package/dist/run-elFdnSZx.js +1 -0
- package/dist/{run-CMJX9x7b.js → run-oNqBe0gc.js} +3 -3
- package/dist/{run-ticket-CjvXr6wj.js → run-ticket-Ddxt9OuU.js} +2 -2
- package/dist/{run-ticket-BXYqQ9dy.d.ts → run-ticket-Dulj4RQk.d.ts} +2 -2
- package/dist/{saas-DHFfthXv.js → saas-DABv6vjy.js} +6 -5
- package/dist/{scan-CSOkcNdl.js → scan-BYXqcgON.js} +1 -1
- package/dist/{schema-7pXCaRYB.js → schema-Wf-SvlHG.js} +1 -1
- package/dist/scim/index.d.ts +1 -1
- package/dist/scim/index.js +1 -1
- package/dist/{scopes-BSdYaGHs.js → scopes-gdH__vDZ.js} +1 -1
- package/dist/server/index.d.ts +11 -10
- package/dist/server/index.js +7 -6
- package/dist/server-CKjFooaJ.js +147 -0
- package/dist/{server-types-Bfl-IrzZ.d.ts → server-types--_Hann81.d.ts} +9 -9
- package/dist/{shared-sW3VYchq.js → shared-DfaIWvIJ.js} +11 -2
- package/dist/{sink-RwmP7ZHs.d.ts → sink-Cs6z34AX.d.ts} +4 -4
- package/dist/{skills-DAjg-rgF.js → skills-417bOj4o.js} +1 -1
- package/dist/{skills-DrX83QBK.js → skills-B9U465B7.js} +2 -2
- package/dist/{snapshot-DHPih65J.js → snapshot-C2j96x97.js} +4 -4
- package/dist/{snapshot-cache-MPinwwgZ.d.ts → snapshot-cache-Cc7VNabe.d.ts} +1 -1
- package/dist/solid/index.d.ts +6 -7
- package/dist/solid/index.js +2 -2
- package/dist/solid-start/index.d.ts +6 -6
- package/dist/solid-start/index.js +3 -3
- package/dist/{sources-sgQlMfmz.d.ts → sources-BfTza0zT.d.ts} +1 -1
- package/dist/{src-Cop53_X1.js → src-BG9YJM3Q.js} +96 -247
- package/dist/ssf/index.d.ts +3 -3
- package/dist/ssf/index.js +3 -3
- package/dist/{standard-webhooks-CFZIYtBF.d.ts → standard-webhooks-CJBgfl7y.d.ts} +2 -2
- package/dist/{store-CSOsXd5s.js → store-BpKH-pLm.js} +2 -2
- package/dist/{store-CRQ5VrWR.d.ts → store-DSyjHD5-.d.ts} +5 -5
- package/dist/{store-options-CDvoX52-.js → store-options-CXv6BHH6.js} +5 -6
- package/dist/{stores-PpYVQ5yF.js → stores-BuqAHjp_.js} +1 -1
- package/dist/{stores-pEBMy94l.d.ts → stores-C6-7TPTV.d.ts} +6 -7
- package/dist/{postgrest-BrjrckDG.js → subject-BqFwS6l3.js} +214 -319
- package/dist/subject-cache-BT1fGuea.js +193 -0
- package/dist/subject-cache-d_Z4KAnm.d.ts +144 -0
- package/dist/supabase/index.d.ts +6 -5
- package/dist/supabase/index.js +3 -2
- package/dist/supabase/middleware.d.ts +6 -6
- package/dist/supabase/middleware.js +6 -6
- package/dist/{supabase-Cbl2orB2.js → supabase-D0J99yqL.js} +2 -2
- package/dist/{supabase-CVZuytCC.js → supabase-DnazO6W4.js} +3 -3
- package/dist/{supabase-hook-BUcu3vPM.js → supabase-hook-Bh5syR9N.js} +174 -62
- package/dist/supabase-hook-CVAenq-w.js +1 -0
- package/dist/{supautils-a_253u1X.js → supautils-ChXR-4Or.js} +302 -43
- package/dist/{support-session-BsmPCbz8.js → support-session-BGeEYDSq.js} +2 -2
- 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 +6 -6
- package/dist/sveltekit/index.js +2 -2
- package/dist/{tables-XrvffTMj.js → tables-CbEOy2Ma.js} +137 -55
- package/dist/tanstack-start/index.d.ts +6 -6
- package/dist/tanstack-start/index.js +2 -2
- package/dist/{tenancy-DvOHHk3-.js → tenancy-BlxY5T0q.js} +2 -2
- package/dist/terminal/index.d.ts +6 -6
- package/dist/terminal/index.js +6 -6
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/core.js +1 -1
- package/dist/testing/fixtures/index.d.ts +35 -2
- package/dist/testing/fixtures/index.js +39 -2
- package/dist/testing/index.d.ts +41 -25
- package/dist/testing/index.js +114 -26
- package/dist/testing/saas/index.d.ts +5 -5
- package/dist/testing/saas/index.js +2 -2
- package/dist/testing/saas/permissions.d.ts +1 -1
- package/dist/testing/saas/permissions.js +1 -1
- package/dist/trpc/index.d.ts +6 -6
- package/dist/trpc/index.js +4 -4
- package/dist/{type-helpers-BjOLGVy1.d.ts → type-helpers-iXJEIDe7.d.ts} +3 -4
- package/dist/{types-p8mhWTcR.d.ts → types-B9F0EZAF.d.ts} +3 -3
- package/dist/{types-DZwEOsK1.d.ts → types-BSNZMp5b.d.ts} +1 -1
- package/dist/{types-MixnvXQ5.d.ts → types-BpxdxaRD.d.ts} +5 -5
- package/dist/{types-C3C9ien9.d.ts → types-CD1qmxdx.d.ts} +4 -4
- package/dist/{types-D1NjjwI4.d.ts → types-CS1DI_Ke.d.ts} +40 -9
- package/dist/{types-zh4WGQcP.d.ts → types-C_a44wSr.d.ts} +3 -3
- package/dist/{types-DBVSljAx.d.ts → types-Cq2rvv-C.d.ts} +3 -3
- package/dist/{types--_lpWUGV.d.ts → types-CuDXvyIT.d.ts} +5 -5
- package/dist/{types-7Vlz1Wi2.d.ts → types-DAyp592k.d.ts} +2 -2
- package/dist/{types-DjGZAU64.d.ts → types-NikV1pND.d.ts} +4 -4
- package/dist/{types-BzxA2OAD.d.ts → types-ZfjQB0KC.d.ts} +2 -2
- package/dist/{types-DotXrris.d.ts → types-_pi9kxS2.d.ts} +2 -2
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-DPbdI3Vi.js → usage-0wsl83uw.js} +10 -10
- package/dist/{usage-DHsqp4lN.js → usage-Bl-BkXEq.js} +1 -1
- package/dist/usage-CmyGbo4e.js +1 -0
- package/dist/{validation-error-DkOK9zUE.d.ts → validation-error-DLAYFlkr.d.ts} +1 -1
- package/dist/{verify-C0jGJrmb.js → verify-BSLotSa0.js} +41 -24
- package/dist/version-sources-BC3hf2ME.js +34 -0
- package/dist/{permission-types-CAY-GU7e.d.ts → vocabulary-DeZvUaTw.d.ts} +69 -1
- package/dist/vue/index.d.ts +6 -7
- package/dist/vue/index.js +2 -2
- package/dist/{waiter-BjVI_Byg.d.ts → waiter-cbK1CBhT.d.ts} +2 -2
- package/dist/{watch-Dz2LNM1R.js → watch-BigZ260i.js} +2 -2
- package/dist/watch-CHURMgrv.js +1 -0
- package/dist/webmcp/index.d.ts +2 -2
- package/dist/{who-can-CZeAwQZD.js → who-can-CjfMP9a4.js} +8 -8
- package/dist/workflow/index.d.ts +3 -3
- package/dist/workflow/index.js +6 -5
- package/dist/workflow-sdk/index.d.ts +5 -5
- package/dist/{wrap-EQ6Or2Hi.d.ts → wrap-B-k2qHJx.d.ts} +2 -2
- package/package.json +16 -4
- package/skills/permdock-wire/references/presets-and-recipes.md +2 -2
- package/dist/better-supabase-ayun1IKE.js +0 -122
- package/dist/catalog-BTPySmbp.js +0 -1
- package/dist/collect-eSTXOZDC.js +0 -1
- package/dist/index-DuOF7OqS.d.ts +0 -222
- package/dist/load-CjnlPxpL.js +0 -1
- package/dist/powersync-CWCirKAJ.js +0 -1
- package/dist/pull-VzcECZ-R.js +0 -1
- package/dist/run-D2e1tybu.js +0 -1
- package/dist/supabase-hook-QWphWBnG.js +0 -1
- package/dist/usage-dmSjKx-Z.js +0 -1
- package/dist/version-cache-q5cpaDSt.d.ts +0 -57
- package/dist/vocabulary-DEJ5j4mR.d.ts +0 -70
- package/dist/watch-CS69ftMP.js +0 -1
- package/dist/where-scope-BAyOsPQW.js +0 -332
- package/dist/{approval-normalize-hlfO9BJv.js → approval-normalize-DNLW0zOM.js} +1 -1
- package/dist/{body-C9JbIoqb.js → body-B3ylkmmE.js} +1 -1
- package/dist/{catalog-doc-nrgfbh8I.js → catalog-doc-Zi0jRpyH.js} +2 -2
- package/dist/{device-BwbJNmb2.js → device-BkSynWdg.js} +1 -1
- package/dist/{prompt-BYc6drYW.js → prompt-D1Gj1W4Y.js} +1 -1
- package/dist/{scim-C30QBBoF.js → scim-BG6uPUeW.js} +1 -1
- package/dist/{wrap-C5PWzgkq.js → wrap-BKU5Arsu.js} +1 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { a as sole, n as isReadonlyArray, t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { n as freezeDeep } from "./freeze-jjan0lCv.js";
|
|
3
3
|
import { n as isForbiddenKey } from "./paths-CUvURzHp.js";
|
|
4
|
-
import { n as role, t as normalizeAssurance } from "./role-builder-
|
|
4
|
+
import { n as role, t as normalizeAssurance } from "./role-builder-boQiUvfo.js";
|
|
5
5
|
import { n as PermDockValidationError } from "./validation-error-CYg2kJEw.js";
|
|
6
6
|
import { t as wireDenials } from "./wire-denial-C7PaVYEM.js";
|
|
7
|
-
import {
|
|
8
|
-
import { n as internalsOf } from "./internals-B3IgHrvo.js";
|
|
7
|
+
import { a as grantCoversField, i as wireValidity, t as isActive } from "./validity-Buc7w8E9.js";
|
|
9
8
|
import { a as getResource, c as listPermissions, h as formerKeys, m as annotationsFor, n as findPermission } from "./permission-registry-B8tYxPIt.js";
|
|
10
9
|
import { n as isThenable, t as ignoreRejection } from "./thenable-BNSM1U2R.js";
|
|
11
10
|
import { i as readAppData } from "./app-data-UNNm07jV.js";
|
|
12
|
-
import { a as durationOf, d as isoNow, o as epochSeconds, r as assertDuration, s as instantAt, t as INVALID_NOW } from "./time-nR1JesoH.js";
|
|
13
|
-
import { t as canonicalJson } from "./canonical-json-DwilZ1iB.js";
|
|
14
|
-
import { d as scopeList, f as subjectForPermission, i as keepsPermission, o as normalizeMemberships, p as tenantOf, s as resolveScope } from "./scopes-BSdYaGHs.js";
|
|
15
|
-
import { a as readOnlyActorRefuses, c as rowIdOf, i as delegatedPermissions, l as rowValues, n as coveredByDelegation, o as requiresStandIn, r as coversRequirements, s as isRowPair, u as evaluateCondition } from "./delegation-aK4T_5WU.js";
|
|
16
11
|
import { a as authenticated, g as isRole, i as assurance, m as findRole, o as flattenGrantee, r as asGrantee } from "./grantee-Dke-9rd1.js";
|
|
17
|
-
import { a as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
12
|
+
import { a as durationOf, d as isoNow, o as epochSeconds, r as assertDuration, s as instantAt, t as INVALID_NOW } from "./time-nR1JesoH.js";
|
|
13
|
+
import { i as sameId } from "./ids-DzhJaCUj.js";
|
|
14
|
+
import { d as scopeList, f as subjectForPermission, i as keepsPermission, o as normalizeMemberships, p as tenantOf, s as resolveScope } from "./scopes-gdH__vDZ.js";
|
|
15
|
+
import { o as resourceRoleCondition } from "./grantee-conditions-Dzprappv.js";
|
|
16
|
+
import { n as matchGrantee, t as combineWhere } from "./grantee-match-8J2y60MF.js";
|
|
17
|
+
import { c as delegatedPermissions, i as rowValues, l as readOnlyActorRefuses, n as isRowPair, o as coveredByDelegation, r as rowIdOf, s as coversRequirements, t as evaluateCondition, u as requiresStandIn } from "./condition-evaluate-bVVRSdzq.js";
|
|
18
|
+
import { c as nowSeconds, i as matchScopedMembership, l as partitionsOf, n as inTeam, p as scopeField, r as isMembershipExpired } from "./tenancy-BlxY5T0q.js";
|
|
21
19
|
import { t as requiresApproval } from "./approval-required-TzNB9oQA.js";
|
|
22
|
-
import {
|
|
20
|
+
import { t as resourceIdOf } from "./resource-ref-CaS9yVPi.js";
|
|
21
|
+
import { t as canonicalJson } from "./canonical-json-DwilZ1iB.js";
|
|
23
22
|
import { a as versionOf, i as tokenPayload, n as decisionToken } from "./token-DaMnIU9O.js";
|
|
24
|
-
import { n as resolveRelated } from "./relation-walk-DK_gkgL7.js";
|
|
25
|
-
import { t as eventInstant } from "./event-time-BGy48400.js";
|
|
26
23
|
import { n as toWireDelegation } from "./wire-delegation-Cv3W2eaM.js";
|
|
27
|
-
import { n as
|
|
28
|
-
import {
|
|
24
|
+
import { n as internalsOf } from "./internals-B3IgHrvo.js";
|
|
25
|
+
import { i as grantList, n as declaredRoleNames, s as levelCondition } from "./policy-wGzbAPQF.js";
|
|
26
|
+
import { i as rootMembershipId } from "./subject-C7RddW0G.js";
|
|
27
|
+
import { n as resolveRelated } from "./relation-walk-BDTaTKTM.js";
|
|
28
|
+
import { t as eventInstant } from "./event-time-BGy48400.js";
|
|
29
29
|
//#region src/core/approval-state.ts
|
|
30
30
|
/**
|
|
31
31
|
* The denial detail when an `ApprovalPolicySource` threw or returned an invalid
|
|
@@ -4,64 +4,12 @@ import { t as wireDenials } from "./wire-denial-C7PaVYEM.js";
|
|
|
4
4
|
import { c as listPermissions, g as formerScopes, h as formerKeys } from "./permission-registry-B8tYxPIt.js";
|
|
5
5
|
import { h as secondsAt } from "./time-nR1JesoH.js";
|
|
6
6
|
import { n as resourceRef } from "./resource-ref-CaS9yVPi.js";
|
|
7
|
-
import { n as
|
|
7
|
+
import { n as NO_GRANT } from "./decision-CaG5_eNJ.js";
|
|
8
8
|
import { f as validationProblem, l as problemResponse, n as batchTooLarge } from "./problem-BWP1l86g.js";
|
|
9
|
-
import { i as readApprovalHeader, s as resumeDecision } from "./helpers-D-MXwkOF.js";
|
|
10
|
-
import { t as bodyTooLarge } from "./body-C9JbIoqb.js";
|
|
11
9
|
import { t as timeoutSignal } from "./timeout-D51niuQP.js";
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
if (!map.has(name)) map.set(name, leaf);
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Indexes `tree` once. The lookup tries `action` as a permission key or scope,
|
|
19
|
-
* then `<resource.type>.<action>`, then the leaf with that resource and action;
|
|
20
|
-
* current names win over former ones and earlier leaves over later ones.
|
|
21
|
-
* Anything else is `undefined`, which the caller denies.
|
|
22
|
-
*/
|
|
23
|
-
function permissionLookup(tree) {
|
|
24
|
-
const current = /* @__PURE__ */ new Map();
|
|
25
|
-
const former = /* @__PURE__ */ new Map();
|
|
26
|
-
const byPair = /* @__PURE__ */ new Map();
|
|
27
|
-
for (const leaf of listPermissions(tree)) {
|
|
28
|
-
firstWins(current, leaf.key, leaf);
|
|
29
|
-
firstWins(current, leaf.scope, leaf);
|
|
30
|
-
for (const name of [...formerKeys(leaf), ...formerScopes(leaf)]) firstWins(former, name, leaf);
|
|
31
|
-
firstWins(byPair, `${leaf.resource}\u0000${leaf.action}`, leaf);
|
|
32
|
-
}
|
|
33
|
-
const named = (name) => current.get(name) ?? former.get(name);
|
|
34
|
-
return (action, resource) => {
|
|
35
|
-
if (action === void 0) return;
|
|
36
|
-
const byKey = named(action);
|
|
37
|
-
if (byKey !== void 0) return byKey;
|
|
38
|
-
const type = typeof resource?.type === "string" ? resource.type : void 0;
|
|
39
|
-
if (type === void 0) return;
|
|
40
|
-
return named(`${type}.${action}`) ?? byPair.get(`${type}\u0000${action}`);
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
/** AuthZEN's sentinel resource id for a collection: the type as a whole, no row. */
|
|
44
|
-
const COLLECTION_ID = "*";
|
|
45
|
-
/**
|
|
46
|
-
* A resource id as a row id: `undefined` for none, a non-scalar or the
|
|
47
|
-
* collection sentinel `*`.
|
|
48
|
-
*/
|
|
49
|
-
function wireResourceId(id) {
|
|
50
|
-
if (typeof id !== "string" && typeof id !== "number") return;
|
|
51
|
-
const text = String(id);
|
|
52
|
-
return text === COLLECTION_ID ? void 0 : text;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* The row an item's resource describes: its `properties`, else `{ id }`, else
|
|
56
|
-
* none for `id: "*"`.
|
|
57
|
-
*/
|
|
58
|
-
function itemResourceData(resource) {
|
|
59
|
-
const properties = resource?.properties;
|
|
60
|
-
if (properties !== null && typeof properties === "object") return properties;
|
|
61
|
-
const id = wireResourceId(resource?.id);
|
|
62
|
-
return id === void 0 ? void 0 : { id };
|
|
63
|
-
}
|
|
64
|
-
//#endregion
|
|
10
|
+
import { i as readApprovalHeader, s as resumeDecision } from "./helpers-DzBIfL1N.js";
|
|
11
|
+
import { n as readBodyText } from "./body-text-DQhcmqdY.js";
|
|
12
|
+
import { t as bodyTooLarge } from "./body-B3ylkmmE.js";
|
|
65
13
|
//#region src/server/web-bot-auth.ts
|
|
66
14
|
/**
|
|
67
15
|
* Milliseconds a key directory fetch may take before the signature counts as
|
|
@@ -397,6 +345,58 @@ function decodeSfBytes(value) {
|
|
|
397
345
|
}
|
|
398
346
|
}
|
|
399
347
|
//#endregion
|
|
348
|
+
//#region src/server/evaluation-items.ts
|
|
349
|
+
function firstWins(map, name, leaf) {
|
|
350
|
+
if (!map.has(name)) map.set(name, leaf);
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Indexes `tree` once. The lookup tries `action` as a permission key or scope,
|
|
354
|
+
* then `<resource.type>.<action>`, then the leaf with that resource and action;
|
|
355
|
+
* current names win over former ones and earlier leaves over later ones.
|
|
356
|
+
* Anything else is `undefined`, which the caller denies.
|
|
357
|
+
*/
|
|
358
|
+
function permissionLookup(tree) {
|
|
359
|
+
const current = /* @__PURE__ */ new Map();
|
|
360
|
+
const former = /* @__PURE__ */ new Map();
|
|
361
|
+
const byPair = /* @__PURE__ */ new Map();
|
|
362
|
+
for (const leaf of listPermissions(tree)) {
|
|
363
|
+
firstWins(current, leaf.key, leaf);
|
|
364
|
+
firstWins(current, leaf.scope, leaf);
|
|
365
|
+
for (const name of [...formerKeys(leaf), ...formerScopes(leaf)]) firstWins(former, name, leaf);
|
|
366
|
+
firstWins(byPair, `${leaf.resource}\u0000${leaf.action}`, leaf);
|
|
367
|
+
}
|
|
368
|
+
const named = (name) => current.get(name) ?? former.get(name);
|
|
369
|
+
return (action, resource) => {
|
|
370
|
+
if (action === void 0) return;
|
|
371
|
+
const byKey = named(action);
|
|
372
|
+
if (byKey !== void 0) return byKey;
|
|
373
|
+
const type = typeof resource?.type === "string" ? resource.type : void 0;
|
|
374
|
+
if (type === void 0) return;
|
|
375
|
+
return named(`${type}.${action}`) ?? byPair.get(`${type}\u0000${action}`);
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
/** AuthZEN's sentinel resource id for a collection: the type as a whole, no row. */
|
|
379
|
+
const COLLECTION_ID = "*";
|
|
380
|
+
/**
|
|
381
|
+
* A resource id as a row id: `undefined` for none, a non-scalar or the
|
|
382
|
+
* collection sentinel `*`.
|
|
383
|
+
*/
|
|
384
|
+
function wireResourceId(id) {
|
|
385
|
+
if (typeof id !== "string" && typeof id !== "number") return;
|
|
386
|
+
const text = String(id);
|
|
387
|
+
return text === COLLECTION_ID ? void 0 : text;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* The row an item's resource describes: its `properties`, else `{ id }`, else
|
|
391
|
+
* none for `id: "*"`.
|
|
392
|
+
*/
|
|
393
|
+
function itemResourceData(resource) {
|
|
394
|
+
const properties = resource?.properties;
|
|
395
|
+
if (properties !== null && typeof properties === "object") return properties;
|
|
396
|
+
const id = wireResourceId(resource?.id);
|
|
397
|
+
return id === void 0 ? void 0 : { id };
|
|
398
|
+
}
|
|
399
|
+
//#endregion
|
|
400
400
|
//#region src/server/evaluations.ts
|
|
401
401
|
/** AuthZEN 1.0 section 7.1.2.1 `options.evaluations_semantic` values. */
|
|
402
402
|
const EVALUATIONS_SEMANTICS = [
|
|
@@ -609,4 +609,4 @@ function evaluationsHandler(options) {
|
|
|
609
609
|
};
|
|
610
610
|
}
|
|
611
611
|
//#endregion
|
|
612
|
-
export { evaluationReasons as a, withRequestId as c,
|
|
612
|
+
export { evaluationReasons as a, withRequestId as c, wireResourceId as d, InvalidSignatureError as f, webBotAuthVerifier as g, invalidSignatureResponse as h, evaluateBatch as i, itemResourceData as l, invalidSignatureProblem as m, applyApprovalResume as n, evaluationsHandler as o, discoverViaSignatureAgent as p, authzenMetadata as r, evaluationsSemantic as s, EVALUATIONS_SEMANTICS as t, permissionLookup as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as Policy } from "./policy-types-
|
|
2
|
-
import { a as PermDock } from "./permdock-
|
|
3
|
-
import { m as ApprovalStore } from "./types-
|
|
1
|
+
import { D as Policy } from "./policy-types-rNfz7t0M.js";
|
|
2
|
+
import { a as PermDock } from "./permdock-BaB-KQqn.js";
|
|
3
|
+
import { m as ApprovalStore } from "./types-ZfjQB0KC.js";
|
|
4
4
|
//#region src/server/evaluations.d.ts
|
|
5
5
|
/** AuthZEN 1.0 section 7.1.2.1 `options.evaluations_semantic` values. */
|
|
6
6
|
declare const EVALUATIONS_SEMANTICS: readonly ["execute_all", "deny_on_first_deny", "permit_on_first_permit"];
|
package/dist/eve/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as Policy, N as PolicyVocabulary, yr as Principal } from "../policy-types-
|
|
2
|
-
import {
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
4
|
-
import { u as ApprovalRequest } from "../types-
|
|
5
|
-
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-
|
|
1
|
+
import { D as Policy, N as PolicyVocabulary, yr as Principal } from "../policy-types-rNfz7t0M.js";
|
|
2
|
+
import { w as Permission } from "../vocabulary-DeZvUaTw.js";
|
|
3
|
+
import { a as PermDock } from "../permdock-BaB-KQqn.js";
|
|
4
|
+
import { u as ApprovalRequest } from "../types-ZfjQB0KC.js";
|
|
5
|
+
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-oMCcZV4X.js";
|
|
6
6
|
//#region src/eve/create.d.ts
|
|
7
7
|
/** Structural `SessionAuthContext` from `eve`. */
|
|
8
8
|
type EvePrincipal = {
|
package/dist/eve/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as compact } from "../compact-CAf557ZB.js";
|
|
2
|
-
import {
|
|
2
|
+
import { r as withApp } from "../app-DIvM65Mv.js";
|
|
3
3
|
import { c as isApprovalError } from "../types-CcUXciSj.js";
|
|
4
|
-
import { o as resolveApproval } from "../helpers-
|
|
5
|
-
import { t as agentRuntime } from "../create-
|
|
4
|
+
import { o as resolveApproval } from "../helpers-DzBIfL1N.js";
|
|
5
|
+
import { t as agentRuntime } from "../create-BJ2_8NDO.js";
|
|
6
6
|
import { t as boundedMap } from "../lru-8q4WZjBV.js";
|
|
7
7
|
//#region src/eve/create.ts
|
|
8
8
|
const TOKENS_PER_PROCESS = 1e3;
|
package/dist/express/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as Policy, N as PolicyVocabulary, yr as Principal } from "../policy-types-
|
|
2
|
-
import {
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
4
|
-
import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types
|
|
5
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
1
|
+
import { D as Policy, N as PolicyVocabulary, yr as Principal } from "../policy-types-rNfz7t0M.js";
|
|
2
|
+
import { w as Permission } from "../vocabulary-DeZvUaTw.js";
|
|
3
|
+
import { a as PermDock } from "../permdock-BaB-KQqn.js";
|
|
4
|
+
import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types--_Hann81.js";
|
|
5
|
+
import { t as ServerAdapterOptions } from "../bind-CnOMjazH.js";
|
|
6
6
|
import { i as toRequest, r as sendResponse } from "../http-B_LphE5Y.js";
|
|
7
7
|
import { ErrorRequestHandler, Request, RequestHandler, Response, Router } from "express";
|
|
8
8
|
//#region src/express/create.d.ts
|
package/dist/express/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-BzTDWO4m.js";
|
|
1
2
|
import { r as hasCredentials } from "../http-DKLXrFGk.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as problemFromError } from "../map-error-
|
|
4
|
-
import { i as decorate, r as bindKernel } from "../bind-CJf7S-Jd.js";
|
|
3
|
+
import { i as decorate, r as bindKernel } from "../bind-B4Z0U2Gr.js";
|
|
4
|
+
import { t as problemFromError } from "../map-error-p4ROJ_26.js";
|
|
5
5
|
import { n as sendResponse, r as toRequest } from "../http-DH94eh6f.js";
|
|
6
6
|
import express from "express";
|
|
7
7
|
//#region src/express/create.ts
|
package/dist/fastify/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { D as Policy, N as PolicyVocabulary, yr as Principal } from "../policy-types-
|
|
2
|
-
import {
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
4
|
-
import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types
|
|
5
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
1
|
+
import { D as Policy, N as PolicyVocabulary, yr as Principal } from "../policy-types-rNfz7t0M.js";
|
|
2
|
+
import { w as Permission } from "../vocabulary-DeZvUaTw.js";
|
|
3
|
+
import { a as PermDock } from "../permdock-BaB-KQqn.js";
|
|
4
|
+
import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types--_Hann81.js";
|
|
5
|
+
import { t as ServerAdapterOptions } from "../bind-CnOMjazH.js";
|
|
6
6
|
import { FastifyPluginAsync, FastifyReply, FastifyRequest, FastifySchema, FastifyTypeProvider, FastifyTypeProviderDefault, RawRequestDefaultExpression, RawServerDefault, RouteGenericInterface } from "fastify";
|
|
7
7
|
//#region src/server/http.d.ts
|
|
8
8
|
/** A Fastify-style reply: `code`, `header` and `send`. */
|
package/dist/fastify/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-BzTDWO4m.js";
|
|
1
2
|
import { c as writeReply, i as headersFrom, n as firstHeader, r as hasCredentials, t as fetchRequest } from "../http-DKLXrFGk.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as problemFromError } from "../map-error-
|
|
4
|
-
import { i as decorate, r as bindKernel } from "../bind-CJf7S-Jd.js";
|
|
3
|
+
import { i as decorate, r as bindKernel } from "../bind-B4Z0U2Gr.js";
|
|
4
|
+
import { t as problemFromError } from "../map-error-p4ROJ_26.js";
|
|
5
5
|
//#region src/fastify/http.ts
|
|
6
6
|
function toRequest(request) {
|
|
7
7
|
const host = firstHeader(request.headers.host) ?? "localhost";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as OperationInput, t as Operation } from "./operations-
|
|
1
|
+
import { w as Permission } from "./vocabulary-DeZvUaTw.js";
|
|
2
|
+
import { a as OperationInput, t as Operation } from "./operations-BMPx7HyO.js";
|
|
3
3
|
import { n as RevocationFeed } from "./revocations-BaUXHM1N.js";
|
|
4
|
-
import { o as ProtectOptions } from "./server-types
|
|
5
|
-
import { t as ServerAdapterOptions } from "./bind-
|
|
4
|
+
import { o as ProtectOptions } from "./server-types--_Hann81.js";
|
|
5
|
+
import { t as ServerAdapterOptions } from "./bind-CnOMjazH.js";
|
|
6
6
|
//#region src/server/fetch-adapter.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* What `protect` checks: a permission, an operation from `defineOperations`, or
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { o as isPermission } from "./permission-registry-B8tYxPIt.js";
|
|
3
|
-
import { r as hasCredentials } from "./http-DKLXrFGk.js";
|
|
4
3
|
import { o as methodNotAllowed } from "./problem-BWP1l86g.js";
|
|
5
|
-
import {
|
|
6
|
-
import { i as decorate, r as bindKernel } from "./bind-
|
|
4
|
+
import { r as hasCredentials } from "./http-DKLXrFGk.js";
|
|
5
|
+
import { i as decorate, r as bindKernel } from "./bind-B4Z0U2Gr.js";
|
|
6
|
+
import { t as problemFromError } from "./map-error-p4ROJ_26.js";
|
|
7
7
|
//#region src/server/fetch-adapter.ts
|
|
8
8
|
/**
|
|
9
9
|
* `protect(target, data, options)(handler)` for a framework whose routes are
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as sole } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { i as configError } from "./errors-BhRkoNS7.js";
|
|
3
|
-
import { c as jsonSchemaOf } from "./catalog-doc-
|
|
4
|
-
import { A as quoteQualified, D as qualified, E as helperSchema, O as quoteIdent, _ as subjectClaimJsonSql, k as quoteLiteral, s as signedIn } from "./shared-
|
|
3
|
+
import { c as jsonSchemaOf } from "./catalog-doc-Zi0jRpyH.js";
|
|
4
|
+
import { A as quoteQualified, D as qualified, E as helperSchema, O as quoteIdent, _ as subjectClaimJsonSql, k as quoteLiteral, s as signedIn } from "./shared-DfaIWvIJ.js";
|
|
5
5
|
//#region src/cli/sql/clauses.ts
|
|
6
6
|
/**
|
|
7
7
|
* True when `sql` is one parenthesised expression, so AND / OR need not wrap it
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { i as configError } from "./errors-BhRkoNS7.js";
|
|
3
3
|
import { i as readJsonFile } from "./files-BSjrtIHw.js";
|
|
4
|
-
import { a as loadModule, s as pickNamed } from "./load-
|
|
4
|
+
import { a as loadModule, s as pickNamed } from "./load-C4p4VgwR.js";
|
|
5
5
|
import { existsSync } from "node:fs";
|
|
6
6
|
import { resolve } from "node:path";
|
|
7
7
|
//#region src/cli/fixtures.ts
|