permdock 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/a2a/index.d.ts +4 -4
- package/dist/{adoption-scan-BPW1eWy5.js → adoption-scan-oaPsvHSN.js} +1 -1
- package/dist/agent/index.d.ts +2 -2
- package/dist/ai-sdk/index.d.ts +3 -3
- package/dist/app/index.d.ts +1 -1
- package/dist/{approval-prompt-CJvYBdja.d.ts → approval-prompt-BKxaKtby.d.ts} +1 -1
- package/dist/approvals/index.d.ts +3 -3
- package/dist/{arazzo-DqzmZG-x.js → arazzo-1oDMApA_.js} +1 -1
- package/dist/{arazzo-BUXKjylF.js → arazzo-B2PszcDL.js} +1 -1
- package/dist/astro/index.d.ts +4 -4
- package/dist/authzen/index.d.ts +6 -6
- package/dist/{automation-BqUmdFfe.d.ts → automation-C7WH5XcZ.d.ts} +1 -1
- package/dist/better-auth/index.d.ts +1 -1
- package/dist/better-supabase/index.d.ts +13 -13
- package/dist/better-supabase/index.js +2 -2
- package/dist/{bind-Bwk9tt1z.d.ts → bind-BnrOLyJq.d.ts} +7 -7
- package/dist/{bsb-access-tags-Nv4nDQ2U.js → bsb-access-tags-uDuwPUbT.js} +2 -2
- package/dist/{bsb-action-keys-CYEREFMg.js → bsb-action-keys-BfZAwg-9.js} +1 -1
- package/dist/{capability-qoD_jlcI.d.ts → capability-BW-vAxJi.d.ts} +1 -1
- package/dist/{casbin-qEW6RfXA.js → casbin-DrdS0vLy.js} +1 -1
- package/dist/{casbin-CM9mWO1V.js → casbin-vtIUd-6L.js} +1 -1
- package/dist/catalog/index.d.ts +4 -4
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat-sdk/index.d.ts +3 -3
- package/dist/claude-agent/index.d.ts +3 -3
- package/dist/clerk/index.d.ts +2 -2
- package/dist/cli/bin.js +1 -1
- package/dist/cli/generate/watch-worker.js +2 -2
- package/dist/cli/index.d.ts +6 -6
- package/dist/cli/index.js +2 -2
- package/dist/cli/plugins/app.d.ts +1 -1
- package/dist/cli/plugins/app.js +1 -1
- package/dist/cli/plugins/better-supabase.d.ts +1 -1
- package/dist/cli/plugins/openapi.d.ts +1 -1
- package/dist/cli/plugins/openapi.js +1 -1
- package/dist/cli/plugins/powersync.d.ts +1 -1
- package/dist/cli/plugins/powersync.js +1 -1
- package/dist/cli/plugins/rls.d.ts +2 -2
- package/dist/cli/plugins/rls.js +1 -1
- package/dist/cli/plugins/schemas.d.ts +1 -1
- package/dist/cli/plugins/schemas.js +1 -1
- package/dist/cli/plugins/scim.d.ts +2 -2
- package/dist/cli/plugins/supabase-hook.d.ts +2 -2
- package/dist/cli/plugins/supabase-hook.js +1 -1
- package/dist/cli/plugins/supabase.d.ts +3 -3
- package/dist/cli/plugins/supabase.js +2 -2
- package/dist/cli/plugins/ui.d.ts +1 -1
- package/dist/cli/plugins/ui.js +1 -1
- package/dist/{client-subject-Dzo49nco.d.ts → client-subject-YAGMzRa-.d.ts} +2 -2
- package/dist/cloud/index.d.ts +8 -8
- package/dist/{cloud-CNGblWX0.js → cloud-BQnIR-SS.js} +1 -1
- package/dist/{codemod-BtJFcsD7.js → codemod-C0OHCnaj.js} +6 -6
- package/dist/{codemod-Dlhxov9D.js → codemod-rv5XSBNw.js} +1 -1
- package/dist/{collect-CE5wK0AX.js → collect-Ba7ccZ23.js} +1 -1
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-nR1gQhXo.js → compile-BRDpja_Y.js} +2 -2
- package/dist/{compile-DNgpHgcK.d.ts → compile-CoUadQXF.d.ts} +2 -2
- package/dist/{completion-BIN9YXIe.js → completion-Dgjdte2-.js} +1 -1
- package/dist/{config-7QvEq57a.js → config-Dan6vcvj.js} +2 -2
- package/dist/{config-CoYhD6ur.js → config-anQ9E37F.js} +1 -1
- package/dist/{config-report-D_L1HXDb.js → config-report-C43BSFHY.js} +1 -1
- package/dist/{config-shape-BTojaD-H.js → config-shape-BODqM-rG.js} +1 -1
- package/dist/{context-D8tN3SZm.js → context-rioF4fQl.js} +1 -1
- package/dist/convex/index.d.ts +4 -4
- package/dist/{core-DPuDmlbL.d.ts → core-DCMIztx1.d.ts} +2 -2
- package/dist/{create-BKrKxipb.d.ts → create-BYL8xCJB.d.ts} +4 -4
- package/dist/{create-CdB9FCZh.d.ts → create-T_NqxU31.d.ts} +7 -7
- package/dist/{create-CdbVXh5I.d.ts → create-iCwrnaFE.d.ts} +6 -6
- package/dist/{credentials-Dl0-R2aB.d.ts → credentials-DzNrCNZY.d.ts} +2 -2
- package/dist/{define-permdock-4IkoNaB3.d.ts → define-permdock-Bhye7WSY.d.ts} +6 -6
- package/dist/{definition-options-DO0kIrB9.js → definition-options-DLBlRrPO.js} +1 -8
- package/dist/delivery/index.d.ts +4 -4
- package/dist/{denied-text-CllTzVJM.d.ts → denied-text-DgNqDAPH.d.ts} +1 -1
- package/dist/{describe-FT1oVN_o.d.ts → describe-DEoWvk00.d.ts} +1 -1
- package/dist/{doctor-Bn5OPJMB.js → doctor-GnMgqGO8.js} +25 -24
- package/dist/{doctor-C9lLeLp2.js → doctor-sAqU02Fx.js} +2 -2
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/elysia/index.d.ts +4 -4
- package/dist/{errors-BGosrHl8.d.ts → errors-BliKrfmP.d.ts} +1 -1
- package/dist/{evaluations-CaXNkxTp.d.ts → evaluations-CUkSKioS.d.ts} +3 -3
- package/dist/eve/index.d.ts +4 -4
- package/dist/{execute-DsHFIBuO.js → execute-xF5fwAel.js} +3 -3
- package/dist/express/index.d.ts +4 -4
- package/dist/fastify/index.d.ts +4 -4
- package/dist/{fetch-adapter-Dci9NnyZ.d.ts → fetch-adapter-Ds2-fUUi.d.ts} +2 -2
- package/dist/gen-BPYFr_tZ.js +1 -0
- package/dist/{gen-Fi4GcvIY.js → gen-djPw1RS-.js} +2 -2
- package/dist/{gen-kind-DR2-to9P.js → gen-kind-Vhq_ZIZm.js} +1 -1
- package/dist/{generate-BSD_eI61.js → generate-BcH-uL0z.js} +10 -10
- package/dist/{generate-QEHCJSyv.js → generate-CYHeuPq8.js} +3 -3
- package/dist/{generate-options-BZ2nqy28.js → generate-options-DDSeUTFU.js} +6 -6
- package/dist/h3/index.d.ts +4 -4
- package/dist/hono/index.d.ts +4 -4
- package/dist/{hook-sql-CbkH78FC.js → hook-sql-EksAnz-T.js} +7 -7
- package/dist/{hosted-BISipW6F.d.ts → hosted-DZgmEG4b.d.ts} +1 -1
- package/dist/identity-scopes-CRVAV0HU.js +11 -0
- package/dist/{import-DppjSugv.js → import-C45gc74U.js} +1 -1
- package/dist/{index-giCl-aQY.d.ts → index-BOJPdIBk.d.ts} +4 -4
- package/dist/{index-Co_e22iJ.d.ts → index-CAE_Z53Y.d.ts} +1 -1
- package/dist/{index-BF4IlvkT.d.ts → index-CWBCzwOp.d.ts} +4 -4
- package/dist/{index-BDJ2OZvV.d.ts → index-Cjr8Q-uq.d.ts} +6 -6
- package/dist/{index-CWwWkz10.d.ts → index-DBBRSw6r.d.ts} +2 -2
- package/dist/{index-BO5f180f.d.ts → index-ktQ7E4qB.d.ts} +4 -4
- package/dist/index.d.ts +15 -15
- package/dist/{init-DJYSpo-H.js → init-B6aZxzd7.js} +1 -1
- package/dist/{init-BOYIObRF.js → init-CCBVeyW8.js} +3 -3
- package/dist/{inspect-functions-CwEAQpVF.js → inspect-functions-BUACOlgS.js} +1 -1
- package/dist/{instance-options-hq5Cp2Ih.d.ts → instance-options-DDERlopm.d.ts} +1 -1
- package/dist/jwt/index.d.ts +4 -4
- package/dist/{keys-U2V0maaq.js → keys-BWhAnANj.js} +1 -1
- package/dist/kysely/index.d.ts +3 -3
- package/dist/{lazy-provider-W8KwlWJU.d.ts → lazy-provider-Clt2095H.d.ts} +1 -1
- package/dist/{login-Dv8TFykx.js → login-BnE2iUUA.js} +1 -1
- package/dist/{login-xgjt0a5o.js → login-d631Tpa9.js} +3 -3
- package/dist/{manager-chain-FggG63qD.js → manager-chain-CFkceFls.js} +1 -1
- package/dist/{manifest-BUeAHWDT.js → manifest-1w67doim.js} +34 -34
- package/dist/mcp/index.d.ts +8 -8
- package/dist/{measure-DZtly0oE.js → measure-BKsYdwKd.js} +1 -1
- package/dist/{model-D0EKt-ED.js → model-BYCtXS_g.js} +1 -1
- package/dist/{module-values-B09BBJIj.js → module-values-D-AiNhBp.js} +1 -1
- package/dist/nest/index.d.ts +4 -4
- package/dist/next/index.d.ts +11 -11
- 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/openai/index.d.ts +4 -4
- package/dist/openapi/index.d.ts +2 -2
- package/dist/{openapi-g58VVrsc.js → openapi-BnKSxOrh.js} +1 -1
- package/dist/{openapi-Bfakk4cF.js → openapi-CN2Oq9zN.js} +1 -1
- package/dist/{openapi-document-ZWpur4f1.js → openapi-document-XnGRbWBb.js} +1 -1
- package/dist/orpc/index.d.ts +5 -5
- package/dist/otel/index.d.ts +3 -3
- package/dist/{output-D4FLF3_v.js → output-dO4bArCS.js} +1 -1
- package/dist/{ownership-DvmaGcup.js → ownership-CSdLGGfW.js} +1 -1
- package/dist/{parse-local-manifest-AJWs3pkW.d.ts → parse-local-manifest-DoLQFkRb.d.ts} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/{permdock-V86uejcm.d.ts → permdock-DkvkGVF0.d.ts} +2 -2
- package/dist/{pipeline-DCERGTTY.js → pipeline-BAGSNnct.js} +2 -2
- package/dist/{plugin-BnvEp5tS.d.ts → plugin-DDPXES4k.d.ts} +2 -2
- package/dist/{policy-DZORR-Fw.d.ts → policy-BoUbJ2c0.d.ts} +1 -1
- package/dist/{policy-DoHkOOTQ.js → policy-CTn-9VQm.js} +1 -1
- package/dist/{policy-bundle-CsnNAo-n.js → policy-bundle-BHd1dqU9.js} +3 -3
- package/dist/{policy-types-BnBZvh7N.d.ts → policy-types-DuM3k5Ao.d.ts} +1 -1
- package/dist/{postgrest-BG0ipED3.d.ts → postgrest-B1bTbVE4.d.ts} +2 -2
- package/dist/{powersync-Dbpn-n0o.js → powersync-CZkZgVyi.js} +1 -1
- package/dist/{powersync-CTKfjnPT.js → powersync-DJ7dY-Vf.js} +6 -6
- package/dist/{powersync-Cz3MUw6R.js → powersync-Jj57J-X8.js} +1 -1
- package/dist/prisma/index.d.ts +2 -2
- package/dist/{protected-action-aGL_gT4j.d.ts → protected-action-gBxeetqY.d.ts} +5 -5
- package/dist/{provider-W8KwlWJU.d.ts → provider-Clt2095H.d.ts} +1 -1
- package/dist/{prune-config--x-cEF8G.js → prune-config-Bwz4wNQA.js} +5 -5
- package/dist/pull-BOC-0kJV.js +1 -0
- package/dist/{pull-BQELP7aV.js → pull-Cj_ngsuu.js} +1 -1
- package/dist/{pushed-policy-CQaXRDe3.d.ts → pushed-policy-C65TbLtU.d.ts} +1 -1
- package/dist/{rbac-BRMnQ9Rl.js → rbac-DbyaaNLa.js} +1 -1
- package/dist/react/index.d.ts +6 -6
- package/dist/react/lazy.d.ts +6 -6
- package/dist/react/provider-client-lazy.d.ts +1 -1
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react-native/index.d.ts +15 -15
- package/dist/react-native/index.js +1 -1
- package/dist/{rename-BjP2CFUY.js → rename-CI6NIF9t.js} +1 -1
- package/dist/replay-B__gzUx3.d.ts +3 -0
- package/dist/resend/index.d.ts +4 -4
- package/dist/{resolve-names-xBg9s2IJ.js → resolve-names-CuEhEQyB.js} +1 -1
- package/dist/{resolver-C_a-bddD.js → resolver-D2c1CcoZ.js} +1 -1
- package/dist/{rls-rk-QH4fc.js → rls-BDtyip5c.js} +7 -7
- package/dist/{rls-BzCz7ZV0.js → rls-DcqSn7b2.js} +3 -3
- package/dist/{rls-files-Bu0O7cZ6.js → rls-files-CRRtjXxG.js} +1 -1
- package/dist/{rls-options-f1wRhXSG.d.ts → rls-options-DCLdZaTZ.d.ts} +1 -1
- package/dist/{rpc-DyCWVn6C.d.ts → rpc-BYFB37KV.d.ts} +1 -1
- package/dist/run-DOP1UKWw.js +1 -0
- package/dist/{run-DTz-e3Od.js → run-DvbrPkgt.js} +3 -3
- package/dist/{run-ticket-mVPqm6M6.d.ts → run-ticket-CRldclc7.d.ts} +2 -2
- package/dist/{scan-Cn79IAJs.js → scan-CmfWbAbz.js} +1 -1
- package/dist/{schema-CbzVUpWv.js → schema-CO3btX_O.js} +1 -1
- package/dist/scim/index.d.ts +1 -1
- package/dist/seeds/index.d.ts +1 -1
- package/dist/{seeds-DLjPbhvM.d.ts → seeds-BZMPfWcC.d.ts} +1 -1
- package/dist/server/index.d.ts +11 -11
- package/dist/{server-types-BlMijUtb.d.ts → server-types-FkdDSB9h.d.ts} +8 -8
- package/dist/{sink-DhrVLPSJ.d.ts → sink-CoMI_OVw.d.ts} +2 -2
- package/dist/{skills-oZ8Ng2e7.js → skills-C28GUaJC.js} +1 -1
- package/dist/{skills-BKrN1qej.js → skills-CA8GfQxQ.js} +1 -1
- package/dist/{snapshot-cache-CVYqOThu.d.ts → snapshot-cache-R1lJjYmI.d.ts} +1 -1
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid-start/index.d.ts +4 -4
- package/dist/{sources-Bq7k7g34.d.ts → sources-Dp6FQ8np.d.ts} +1 -1
- package/dist/ssf/index.d.ts +3 -3
- package/dist/{standard-webhooks-D6SPYjSQ.d.ts → standard-webhooks-D2FwHtMX.d.ts} +2 -2
- package/dist/{store-core-Bq7Qc9QM.d.ts → store-core-aluQ3R1M.d.ts} +4 -4
- package/dist/{stores-Dn7TpQFa.d.ts → stores-hHICuiQl.d.ts} +5 -5
- package/dist/{subject-cache-UKUgQCEX.d.ts → subject-cache-Bn4oJY_R.d.ts} +1 -1
- package/dist/supabase/index.d.ts +8 -8
- package/dist/supabase/index.js +3 -3
- package/dist/supabase/middleware.d.ts +5 -5
- package/dist/supabase/middleware.js +1 -1
- package/dist/{supabase-DrazwRER.js → supabase-ByhSqBDB.js} +2 -2
- package/dist/{supabase-BNPS-Gr1.js → supabase-DXEcFJGM.js} +2 -2
- package/dist/supabase-hook-C_ViYz3g.js +2 -0
- package/dist/{supabase-hook-t1HnQf8U.js → supabase-hook-D-ybV98H.js} +5 -5
- package/dist/{supabase-schemas-_ubYYw9i.js → supabase-schemas-CVhpyYB6.js} +1 -1
- package/dist/svelte/index.d.ts +5 -5
- package/dist/svelte/runtime.d.ts +3 -3
- package/dist/svelte/source.d.ts +5 -5
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/{table-reads-Ci-ZVo5m.js → table-reads-BcceuV7h.js} +1 -1
- package/dist/{table-reads-B7z40Yu-.js → table-reads-BoF_58yh.js} +1 -1
- package/dist/{tables-Bxmf2beb.js → tables-BTXmioCH.js} +85 -12
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/{tenant-check-DW0kbH-a.js → tenant-check-DNbm8OiV.js} +3 -3
- package/dist/terminal/index.d.ts +5 -5
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/fixtures/index.d.ts +3 -3
- package/dist/testing/index.d.ts +22 -22
- package/dist/testing/saas/index.d.ts +3 -3
- package/dist/trpc/index.d.ts +5 -5
- package/dist/{type-helpers-CVN-p62O.d.ts → type-helpers-CsWH9z8p.d.ts} +1 -1
- package/dist/{types-5cvjmHTG.d.ts → types-BGN3coSe.d.ts} +1 -1
- package/dist/{types-BmTW35E5.d.ts → types-BwjOhlgx.d.ts} +4 -4
- package/dist/{types-Dl2jRkyq.d.ts → types-BzsplNgO.d.ts} +4 -4
- package/dist/{types-CrUguLsE.d.ts → types-CBUYbPwl.d.ts} +2 -2
- package/dist/{types-CgaGxF5q.d.ts → types-CKwI6AT4.d.ts} +1 -1
- package/dist/{types-B_I8TBA9.d.ts → types-Cvfe-G_N.d.ts} +2 -2
- package/dist/{types-CDkJNA3a.d.ts → types-D3GI2B9O.d.ts} +3 -3
- package/dist/{types-DNOJRhyn.d.ts → types-D417woMp.d.ts} +3 -3
- package/dist/{types-BMKDvcXc.d.ts → types-DRMoZjJm.d.ts} +2 -2
- package/dist/{types-config-CyawIkMF.d.ts → types-config-DYRoZ8Iw.d.ts} +11 -5
- package/dist/{types-gp1w86cV.d.ts → types-dtDg4goh.d.ts} +4 -4
- package/dist/{types-run-ByHuYUen.d.ts → types-run-CeCrWO0v.d.ts} +1 -1
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-B8ca_Nj_.js → usage-BGuSrwiW.js} +2 -2
- package/dist/usage-CW6PfRfC.js +1 -0
- package/dist/{usage-Do7LQ4i4.js → usage-D5QwWiNp.js} +1 -1
- package/dist/{validation-error-BKgVVMc1.d.ts → validation-error-MZ7KLNHt.d.ts} +1 -1
- package/dist/{verify-ZojGAC3f.js → verify-GWeopgxU.js} +3 -3
- package/dist/vue/index.d.ts +5 -5
- package/dist/{waiter-Bov7Cig6.d.ts → waiter-DdwtUSzB.d.ts} +2 -2
- package/dist/{warm-BKD3FN6k.d.ts → warm-znYuJoUZ.d.ts} +1 -1
- package/dist/{watch-D-5ztqN8.js → watch-14vng0pg.js} +1 -1
- package/dist/watch-Be7ja4dL.js +1 -0
- package/dist/{watch-EzX_aG73.js → watch-DuIAsqFR.js} +2 -2
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/workflow/index.d.ts +3 -3
- package/dist/workflow-sdk/index.d.ts +4 -4
- package/dist/{wrap-CaAA3ubO.d.ts → wrap-C36-eV-C.d.ts} +2 -2
- package/package.json +1 -1
- package/skills/permdock-data/references/queries-and-rls.md +1 -1
- package/dist/gen-CpS9JkCb.js +0 -1
- package/dist/pull-C_ZiPZ5X.js +0 -1
- package/dist/replay-Dg5-l7xu.d.ts +0 -3
- package/dist/run-BvtApZDp.js +0 -1
- package/dist/supabase-hook-D0Yzbl19.js +0 -2
- package/dist/usage-CKTsomEq.js +0 -1
- package/dist/watch-J1PfGMfb.js +0 -1
package/dist/fastify/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-
|
|
2
|
-
import { a as PermDock } from "../permdock-
|
|
1
|
+
import { f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-FkdDSB9h.js";
|
|
2
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
3
3
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
4
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-
|
|
5
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
4
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
5
|
+
import { t as ServerAdapterOptions } from "../bind-BnrOLyJq.js";
|
|
6
6
|
import { FastifyPluginAsync, FastifyReply, FastifyRequest, FastifySchema, FastifyTypeProvider, FastifyTypeProviderDefault, RawRequestDefaultExpression, RawServerDefault, RouteGenericInterface } from "fastify";
|
|
7
7
|
/** A Fastify-style reply: `code`, `header` and `send`. */
|
|
8
8
|
type ReplyLike = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as OperationInput, t as Operation } from "./operations-DaEoGpMV.js";
|
|
2
2
|
import { w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
3
3
|
import { n as RevocationFeed } from "./revocations-ku_f2d2y.js";
|
|
4
|
-
import { t as ServerAdapterOptions } from "./bind-
|
|
5
|
-
import { o as ProtectOptions } from "./server-types-
|
|
4
|
+
import { t as ServerAdapterOptions } from "./bind-BnrOLyJq.js";
|
|
5
|
+
import { o as ProtectOptions } from "./server-types-FkdDSB9h.js";
|
|
6
6
|
/**
|
|
7
7
|
* What `protect` checks: a permission, an operation from `defineOperations`, or
|
|
8
8
|
* `null` for a route that needs only OAuth scopes.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as renderKinds } from "./gen-djPw1RS-.js";
|
|
@@ -13,7 +13,7 @@ import { c as listPermissions } from "./permission-registry-DstT40VS.js";
|
|
|
13
13
|
import { d as scopeList } from "./scopes-B-KX9EI8.js";
|
|
14
14
|
import { o as listPlans, s as listRoles } from "./vocabulary-CE2k7s1a.js";
|
|
15
15
|
import { c as jsonSchemaOf } from "./catalog-doc-D4g3nyFB.js";
|
|
16
|
-
import { t as resolveNames } from "./resolve-names-
|
|
16
|
+
import { t as resolveNames } from "./resolve-names-CuEhEQyB.js";
|
|
17
17
|
import { t as DESCRIBE_TITLES } from "./describe-B7EosIKA.js";
|
|
18
18
|
import { i as schemaExpression } from "./generate-5_kz2309.js";
|
|
19
19
|
import { existsSync, readFileSync } from "node:fs";
|
|
@@ -401,7 +401,7 @@ function modelDigest(model) {
|
|
|
401
401
|
return createHash("sha256").update(canonicalJson(model)).digest("base64url");
|
|
402
402
|
}
|
|
403
403
|
/**
|
|
404
|
-
* `// @generated by permdock generate zod@0.
|
|
404
|
+
* `// @generated by permdock generate zod@0.35.0 from policy.ts sha-256:…; do
|
|
405
405
|
* not edit`.
|
|
406
406
|
*/
|
|
407
407
|
function generatedHeader(kind, info) {
|
|
@@ -47,7 +47,7 @@ function kindPlugin(kind, options = {}) {
|
|
|
47
47
|
}],
|
|
48
48
|
emit: async (_task, model, source) => {
|
|
49
49
|
if (source === void 0) return [];
|
|
50
|
-
const { renderKinds } = await import("./gen-
|
|
50
|
+
const { renderKinds } = await import("./gen-BPYFr_tZ.js");
|
|
51
51
|
const files = await renderKinds({
|
|
52
52
|
cwd: source.cwd,
|
|
53
53
|
config: source.config,
|
|
@@ -6,33 +6,33 @@ import { r as isRecord, t as compact } from "./compact-C4LFuqbW.js";
|
|
|
6
6
|
import { n as supabaseDir } from "./supabase-dir-0lxKbrYu.js";
|
|
7
7
|
import { a as parseSqlFile, f as stringValues, g as statementRanges, l as readRelation, m as splitUndiffed, o as parseSqlLenient, t as SqlSyntaxError } from "./ast-Dnm2TOHN.js";
|
|
8
8
|
import { n as loadBsbSql, r as schemaSqlFiles } from "./bsb-access-Bcw6GrQm.js";
|
|
9
|
-
import {
|
|
9
|
+
import { D as seedSql, F as guardAuthAdminGrants, I as unguardAuthAdminGrants, S as accessSql, T as helpersSql, Z as closureBackfillSql, c as permissionHelpersSql, d as permittedByPermissionHelper, i as tableNames, o as PERMISSION_HELPERS, r as tableNameOf, s as checkName, tt as graphSql, u as permissionKeysHelper } from "./tables-BTXmioCH.js";
|
|
10
10
|
import { i as qualifySqlTable } from "./sql-T4GaBh9X.js";
|
|
11
|
-
import { a as tableFor, d as pruneIndexTargets, f as readTableIndexFacts, i as inferredCommand, l as indexTargets, r as compileGrants, u as indexesSql } from "./compile-
|
|
12
|
-
import { a as CANDIDATES, c as rowHelpersSql, i as buildContext, l as rowSetSql, n as isRefusal, o as inheritTargets, r as splitsPart, s as levelKeys, t as generateOptions } from "./generate-options-
|
|
11
|
+
import { a as tableFor, d as pruneIndexTargets, f as readTableIndexFacts, i as inferredCommand, l as indexTargets, r as compileGrants, u as indexesSql } from "./compile-BRDpja_Y.js";
|
|
12
|
+
import { a as CANDIDATES, c as rowHelpersSql, i as buildContext, l as rowSetSql, n as isRefusal, o as inheritTargets, r as splitsPart, s as levelKeys, t as generateOptions } from "./generate-options-DDSeUTFU.js";
|
|
13
13
|
import { t as policyFromCatalog } from "./policy-from-catalog-BohzTN3J.js";
|
|
14
|
-
import { t as fetchProjectPolicy } from "./pull-
|
|
14
|
+
import { t as fetchProjectPolicy } from "./pull-Cj_ngsuu.js";
|
|
15
15
|
import { c as requirePolicy } from "./load-m7jmit3y.js";
|
|
16
|
-
import { o as nonEmptyOr } from "./output-
|
|
16
|
+
import { o as nonEmptyOr } from "./output-dO4bArCS.js";
|
|
17
17
|
import { i as INDEXES_MARKER, n as GRANTS_MARKER, o as SEEDS_MARKER, t as BACKFILL_MARKER } from "./markers-C-kThnKN.js";
|
|
18
18
|
import { S as scopeTable, h as memberIdsHelper, i as graphSqlName, r as graphHelper, t as BOOTSTRAP_PERMISSIONS, x as scopeSources, y as permittedIdsHelper } from "./names-DBxKx2bz.js";
|
|
19
19
|
import { a as quoteIdent, c as quoteTable, i as qualified$1, o as quoteLiteral, s as quoteQualified } from "./quote-LNaBdCGA.js";
|
|
20
20
|
import { b as idTypeOf, f as subjectIdSql, l as sessionLiveHelperSql, t as SESSION_LIVE_HELPER, u as subjectClaimJsonSql, x as scopeTypeOf } from "./subject-B7p94Y0s.js";
|
|
21
|
-
import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, t as grantsLabel, u as approvalsSql } from "./hook-sql-
|
|
22
|
-
import { i as assignmentSql, n as ownershipSql } from "./ownership-
|
|
21
|
+
import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, t as grantsLabel, u as approvalsSql } from "./hook-sql-EksAnz-T.js";
|
|
22
|
+
import { i as assignmentSql, n as ownershipSql } from "./ownership-CSdLGGfW.js";
|
|
23
23
|
import { r as rebuildPlan, t as DROPPED_LIST } from "./custom-role-rebuild-wzN8pqDk.js";
|
|
24
24
|
import { p as scopeField } from "./tenancy-B5Xxt9Sc.js";
|
|
25
|
-
import { c as breakGlassKey, i as rbacScaffold, l as collectGrants, s as breakGlassHolder } from "./rbac-
|
|
25
|
+
import { c as breakGlassKey, i as rbacScaffold, l as collectGrants, s as breakGlassHolder } from "./rbac-DbyaaNLa.js";
|
|
26
26
|
import { t as supautilsRejections } from "./supautils-C85NuESf.js";
|
|
27
27
|
import { a as fieldViewsSql, c as ACTOR_MAY_WRITE, d as assemblePolicies, i as fieldViews, l as actorMayWriteCall, m as readOnlyActorPolicies, n as columnGrantSql, o as rowBranches, p as readOnlyActorKinds, r as columnRevokeSql, u as actorMayWriteSql } from "./fields-CwFej4gp.js";
|
|
28
28
|
import { l as isFieldRelation } from "./resource-relations-Ck5sjYQR.js";
|
|
29
29
|
import { c as rootScope } from "./scopes-B-KX9EI8.js";
|
|
30
30
|
import { o as rootName, r as HELPERS, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
|
|
31
|
-
import { n as permissionHoldersSql } from "./resolve-names-
|
|
31
|
+
import { n as permissionHoldersSql } from "./resolve-names-CuEhEQyB.js";
|
|
32
32
|
import { n as byKey } from "./compare-8SNJN-9U.js";
|
|
33
33
|
import { i as dateAt } from "./time-r0CKBm57.js";
|
|
34
34
|
import { _ as writeOutputFiles, a as isSeedsDirectory, d as pgDeltaPath, g as underSchemaDir, h as serviceRel, l as parseSplit, m as seedsMigration, n as dataMigrationFile, p as seedDeltaNote, r as driftOf, u as partPath } from "./output-files-8lfALMSU.js";
|
|
35
|
-
import { c as readSupabaseConfig, n as resolveSchemas } from "./supabase-schemas-
|
|
35
|
+
import { c as readSupabaseConfig, n as resolveSchemas } from "./supabase-schemas-CVhpyYB6.js";
|
|
36
36
|
import { o as sqlFiles } from "./files-DAR51W3J.js";
|
|
37
37
|
import { n as MIGRATION_DIRS } from "./constants-PCJiir_3.js";
|
|
38
38
|
import { readFileSync } from "node:fs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as defineLeaf } from "./command-9GAzSI7E.js";
|
|
2
2
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
3
3
|
import { c as generateFlags, f as policyFlag, i as dryRunFlag, n as dbUrl, r as dbUrlFlags, t as checkFlag } from "./flags-DQzNPxg1.js";
|
|
4
|
-
import { t as executeGenerate } from "./execute-
|
|
5
|
-
import { n as receiptRows } from "./pipeline-
|
|
4
|
+
import { t as executeGenerate } from "./execute-xF5fwAel.js";
|
|
5
|
+
import { n as receiptRows } from "./pipeline-BAGSNnct.js";
|
|
6
6
|
// src/cli/commands/generate.ts
|
|
7
7
|
function concurrencyFlag(value) {
|
|
8
8
|
if (value === void 0 || value === "") return;
|
|
@@ -24,7 +24,7 @@ const generate = defineLeaf({
|
|
|
24
24
|
const db = await dbUrl(ctx, flags);
|
|
25
25
|
const policy = flags.policy !== void 0 && flags.policy !== "" ? flags.policy : ctx.config.policy;
|
|
26
26
|
if (flags.watch) {
|
|
27
|
-
const { watchGenerate } = await import("./watch-
|
|
27
|
+
const { watchGenerate } = await import("./watch-DuIAsqFR.js");
|
|
28
28
|
return watchGenerate(ctx, {
|
|
29
29
|
...policy === void 0 ? {} : { policy },
|
|
30
30
|
only: flags.only,
|
|
@@ -16,12 +16,12 @@ import { b as idTypeOf, f as subjectIdSql, g as parseMembershipsFlag, n as USER_
|
|
|
16
16
|
import { a as customRolesOn, r as HELPERS, s as signedIn, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
|
|
17
17
|
import { R as raiseSql, a as interactiveOnlyKeys, c as memoUserSql, g as memoHitList, q as checkSuspension, v as memoizedSetofSql, y as memoizes } from "./interactive-only-Bbq9e61G.js";
|
|
18
18
|
import { i as graphSqlName } from "./names-DBxKx2bz.js";
|
|
19
|
-
import {
|
|
20
|
-
import { t as resolveNames } from "./resolve-names-
|
|
21
|
-
import { a as resolveAuthorize, o as assignableRoles, u as roleNames } from "./rbac-
|
|
22
|
-
import { a as tableFor } from "./compile-
|
|
19
|
+
import { $ as graphIdsSql, B as apiKeyClaimSql, E as memoReadsSql, H as apiKeyUnlimitedSql, N as tokenScopesPlan, O as TOKEN_SCOPE_ALLOWS, P as memoReadTriggersSql, Q as closureDepths, R as API_KEY_ALLOWS, U as apiKeysPlan, a as tablelessResources, d as permittedByPermissionHelper, et as graphPlan, i as tableNames, j as tokenScopeUnlimitedSql, k as isTokenScopesSetting, n as resolveVias, o as PERMISSION_HELPERS, t as checkSharedTables } from "./tables-BTXmioCH.js";
|
|
20
|
+
import { t as resolveNames } from "./resolve-names-CuEhEQyB.js";
|
|
21
|
+
import { a as resolveAuthorize, o as assignableRoles, u as roleNames } from "./rbac-DbyaaNLa.js";
|
|
22
|
+
import { a as tableFor } from "./compile-BRDpja_Y.js";
|
|
23
23
|
import { r as rebuildPlan, t as DROPPED_LIST } from "./custom-role-rebuild-wzN8pqDk.js";
|
|
24
|
-
import { r as unsatisfiedKinds, t as ownershipRules } from "./ownership-
|
|
24
|
+
import { r as unsatisfiedKinds, t as ownershipRules } from "./ownership-CSdLGGfW.js";
|
|
25
25
|
// src/cli/rls/custom-role-sync.ts
|
|
26
26
|
/**
|
|
27
27
|
* `rls.customRoles.from.sync: 'trigger'`: after-row triggers on the legacy
|
|
@@ -896,7 +896,7 @@ function buildContext(input, policy, options) {
|
|
|
896
896
|
const graph = graphPlan(policy);
|
|
897
897
|
const apiKeys = apiKeysPlan(rls?.apiKeys, new Set(roleNames(policy)), Object.fromEntries(renamedKeys(policy.vocabulary.permissions)));
|
|
898
898
|
const tokenScopesSetting = rls?.tokenScopes;
|
|
899
|
-
if (tokenScopesSetting
|
|
899
|
+
if (!isTokenScopesSetting(tokenScopesSetting)) return { refusal: "rls.tokenScopes must be true, false or { delegations: boolean }" };
|
|
900
900
|
const tokenScopes = tokenScopesPlan(tokenScopesSetting, policy);
|
|
901
901
|
const interactiveOnly = interactiveOnlyKeys(policy);
|
|
902
902
|
let vias;
|
package/dist/h3/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-
|
|
2
|
-
import { a as PermDock } from "../permdock-
|
|
3
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal, rn as Snapshot } from "../policy-types-
|
|
4
|
-
import { a as ProtectTarget, n as FetchAdapterOptions, r as FetchProtect, t as ContextReader } from "../fetch-adapter-
|
|
1
|
+
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-FkdDSB9h.js";
|
|
2
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
3
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal, rn as Snapshot } from "../policy-types-DuM3k5Ao.js";
|
|
4
|
+
import { a as ProtectTarget, n as FetchAdapterOptions, r as FetchProtect, t as ContextReader } from "../fetch-adapter-Ds2-fUUi.js";
|
|
5
5
|
import { EventHandler, H3Event, H3EventContext, Middleware } from "h3";
|
|
6
6
|
type H3PermDockOptions<TUser = unknown> = FetchAdapterOptions<H3Event, TUser>;
|
|
7
7
|
/**
|
package/dist/hono/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-
|
|
2
|
-
import { a as PermDock } from "../permdock-
|
|
1
|
+
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-FkdDSB9h.js";
|
|
2
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
3
3
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
4
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-
|
|
4
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
5
5
|
import { n as RevocationFeed } from "../revocations-ku_f2d2y.js";
|
|
6
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
6
|
+
import { t as ServerAdapterOptions } from "../bind-BnrOLyJq.js";
|
|
7
7
|
import { Context, Hono, MiddlewareHandler } from "hono";
|
|
8
8
|
import { SSEMessage, SSEStreamingApi } from "hono/streaming";
|
|
9
9
|
import { WSEvents } from "hono/ws";
|
|
@@ -9,7 +9,7 @@ import { t as CUSTOM_ROLES_VERSION_CLAIM } from "./budget-BH81q2cj.js";
|
|
|
9
9
|
import { i as qualifySqlTable } from "./sql-T4GaBh9X.js";
|
|
10
10
|
import { t as membershipSourcesOf } from "./sources-BbSUNmFX.js";
|
|
11
11
|
import { a as hookApiNames, d as keptKeys, t as AUTHZ_VERSION_TABLE } from "./sources-C6Id63F8.js";
|
|
12
|
-
import { r as REGISTERED_CLAIMS } from "./definition-options-
|
|
12
|
+
import { r as REGISTERED_CLAIMS } from "./definition-options-DLBlRrPO.js";
|
|
13
13
|
import { t as beforeFirst } from "./text-D704xHVl.js";
|
|
14
14
|
import { n as GRANTS_MARKER, r as HOOK_MARKER } from "./markers-C-kThnKN.js";
|
|
15
15
|
import { a as quoteIdent, c as quoteTable, i as qualified$1, o as quoteLiteral, s as quoteQualified } from "./quote-LNaBdCGA.js";
|
|
@@ -20,10 +20,10 @@ import { C as tenantTypeOf, S as sqlType, f as subjectIdSql, n as USER_ID_HELPER
|
|
|
20
20
|
import { a as customRolesOn, r as HELPERS, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
|
|
21
21
|
import { G as activeRowSql, N as globalRoleSource, a as interactiveOnlyKeys, q as checkSuspension, t as INTERACTIVE_ALLOWS } from "./interactive-only-Bbq9e61G.js";
|
|
22
22
|
import { f as memberForHelper, g as memberOfHelper, h as memberIdsHelper, t as BOOTSTRAP_PERMISSIONS, u as isTeamScope, v as permittedForHelper, y as permittedIdsHelper } from "./names-DBxKx2bz.js";
|
|
23
|
-
import {
|
|
24
|
-
import { r as permittedUsersHelper, t as resolveNames } from "./resolve-names-
|
|
25
|
-
import { a as resolveAuthorize, n as hookUri, t as authAdminRead } from "./rbac-
|
|
26
|
-
import { a as guardedTables, t as ownershipRules } from "./ownership-
|
|
23
|
+
import { G as hookTeamReader, K as hookTeamsHelper, M as tokenScopesOn, O as TOKEN_SCOPE_ALLOWS, R as API_KEY_ALLOWS, V as apiKeyFields, W as HOOK_TEAM_READER, b as ASSIGNMENTS, d as permittedByPermissionHelper, l as permissionKeysForHelper, o as PERMISSION_HELPERS, s as checkName, x as OWNERSHIP } from "./tables-BTXmioCH.js";
|
|
24
|
+
import { r as permittedUsersHelper, t as resolveNames } from "./resolve-names-CuEhEQyB.js";
|
|
25
|
+
import { a as resolveAuthorize, n as hookUri, t as authAdminRead } from "./rbac-DbyaaNLa.js";
|
|
26
|
+
import { a as guardedTables, t as ownershipRules } from "./ownership-CSdLGGfW.js";
|
|
27
27
|
import { a as REQUEST_APPROVER_IDS, c as MANAGES, d as checkedManagers, l as MANAGES_FOR, o as approvalChainSql, p as managerEdges, s as APPROVES, u as approvalManagersSql } from "./approval-chain-BEeExHpb.js";
|
|
28
28
|
import { a as hookMemberships, c as typedSourceUsers, i as entriesSql, l as typedUsers, n as activeSource, o as memberForPlan, r as checkSources, s as positiveInteger, t as activeFromSql } from "./memberships-CNoAlsma.js";
|
|
29
29
|
import { r as tableKey, t as decidingColumns } from "./deciding-columns-DBZsrpdD.js";
|
|
@@ -2995,7 +2995,7 @@ function trustedHelpers(parts, config, types, tenantType, policy) {
|
|
|
2995
2995
|
helperEntry(PERMDOCK_SUBJECT, "p_tenant text", "jsonb", client),
|
|
2996
2996
|
helperEntry(BOOTSTRAP_PERMISSIONS, "p_tenant text", "jsonb", client),
|
|
2997
2997
|
...config.rls?.apiKeys === void 0 ? [] : [helperEntry(API_KEY_ALLOWS, "p_grant text", "boolean", client)],
|
|
2998
|
-
...config.rls?.tokenScopes
|
|
2998
|
+
...tokenScopesOn(config.rls?.tokenScopes) ? [helperEntry(TOKEN_SCOPE_ALLOWS, "p_grant text", "boolean", client)] : [],
|
|
2999
2999
|
...policy === void 0 || interactiveOnlyKeys(policy) === void 0 ? [] : [helperEntry(INTERACTIVE_ALLOWS, "p_grant text", "boolean", client)],
|
|
3000
3000
|
...readOnlyActorKinds(config.rls?.readOnlyActors) === void 0 ? [] : [helperEntry(ACTOR_MAY_WRITE, "", "boolean", client)],
|
|
3001
3001
|
...config.rls?.approvals === true || typeof config.rls?.approvals === "object" ? [helperEntry(IS_APPROVER, typeof config.rls.approvals === "object" && (config.rls.approvals.delegations === true || config.rls.approvals.managers !== void 0) ? "p_approvers jsonb, p_tenant text, p_requester text, p_resource text" : "p_approvers jsonb, p_tenant text", "boolean", client), helperEntry(APPROVER_FOR_IDS, "", "setof uuid", client)] : [],
|
|
@@ -3064,7 +3064,7 @@ function rlsSettings(parts, config) {
|
|
|
3064
3064
|
} },
|
|
3065
3065
|
...assigned === void 0 ? {} : { assignments: { tables: assigned } },
|
|
3066
3066
|
...rls?.apiKeys === void 0 ? {} : { apiKeys: apiKeyFields(rls.apiKeys) },
|
|
3067
|
-
...rls?.tokenScopes
|
|
3067
|
+
...tokenScopesOn(rls?.tokenScopes) ? { tokenScopes: true } : {}
|
|
3068
3068
|
};
|
|
3069
3069
|
}
|
|
3070
3070
|
/** The `supabase/sdk` release `requires.capabilities` names features of. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as Policy, Fr as Condition, Gn as Grantee, s as ApprovalRequirement } from "./policy-types-
|
|
1
|
+
import { D as Policy, Fr as Condition, Gn as Grantee, s as ApprovalRequirement } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
/**
|
|
3
3
|
* One grant authored in PermDock Cloud; its grantee is a declared role, plan or
|
|
4
4
|
* relation.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// src/supabase/identity-scopes.ts
|
|
2
|
+
/** OpenID Connect identity scopes, which delegate no permission. */
|
|
3
|
+
const IDENTITY_SCOPES = /* @__PURE__ */ new Set([
|
|
4
|
+
"openid",
|
|
5
|
+
"profile",
|
|
6
|
+
"email",
|
|
7
|
+
"address",
|
|
8
|
+
"phone",
|
|
9
|
+
"offline_access"
|
|
10
|
+
]);
|
|
11
|
+
export { IDENTITY_SCOPES as t };
|
|
@@ -6,7 +6,7 @@ import { t as applyFiles } from "./files-DuV7wRim.js";
|
|
|
6
6
|
import { n as httpRequest } from "./http-BbX_Ou3_.js";
|
|
7
7
|
import { i as readJsonFile } from "./files-DAR51W3J.js";
|
|
8
8
|
import { i as schemaExpression, t as emitPermissionsModule } from "./generate-5_kz2309.js";
|
|
9
|
-
import { t as validateOpenapi } from "./schema-
|
|
9
|
+
import { t as validateOpenapi } from "./schema-CO3btX_O.js";
|
|
10
10
|
import { existsSync, readFileSync } from "node:fs";
|
|
11
11
|
import { resolve } from "node:path";
|
|
12
12
|
// src/cli/openapi/import.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as PermDock } from "./permdock-
|
|
2
|
-
import { Ar as Subject, D as Policy, Dr as Membership, Fn as Approver, _t as TokenSigner, br as AuthorizationDetail, ct as RelationSource, ir as Decision, it as MembershipSource, qt as Instant } from "./policy-types-
|
|
3
|
-
import { a as AccessReviewItemQuery, c as AccessReviewStore, i as AccessReviewItemPage, n as AccessReviewDecision, r as AccessReviewItem, t as AccessReview } from "./types-
|
|
1
|
+
import { a as PermDock } from "./permdock-DkvkGVF0.js";
|
|
2
|
+
import { Ar as Subject, D as Policy, Dr as Membership, Fn as Approver, _t as TokenSigner, br as AuthorizationDetail, ct as RelationSource, ir as Decision, it as MembershipSource, qt as Instant } from "./policy-types-DuM3k5Ao.js";
|
|
3
|
+
import { a as AccessReviewItemQuery, c as AccessReviewStore, i as AccessReviewItemPage, n as AccessReviewDecision, r as AccessReviewItem, t as AccessReview } from "./types-CKwI6AT4.js";
|
|
4
4
|
import { E as PermissionTree, K as AppData, w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
5
|
-
import { a as ApprovalDelegationSource, c as ApprovalListQuery, g as ApprovalVerdict, i as ApprovalDelegation, l as ApprovalPage, m as ApprovalStore, o as ApprovalInspectResult, r as ApprovalCancelMeta, s as ApprovalListFilter, u as ApprovalRequest } from "./types-
|
|
5
|
+
import { a as ApprovalDelegationSource, c as ApprovalListQuery, g as ApprovalVerdict, i as ApprovalDelegation, l as ApprovalPage, m as ApprovalStore, o as ApprovalInspectResult, r as ApprovalCancelMeta, s as ApprovalListFilter, u as ApprovalRequest } from "./types-BGN3coSe.js";
|
|
6
6
|
import { t as JsonSchemaNode } from "./json-schema-DAeA-lJa.js";
|
|
7
7
|
type AccessReviewsHandlerOptions = {
|
|
8
8
|
readonly subject: (request: Request) => Subject | null | undefined | Promise<Subject | null | undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ClaimsMap } from "./claims-map-CLKQWxJG.js";
|
|
2
|
-
import { X as DecisionSink, it as MembershipSource, vt as TokenVerifier } from "./policy-types-
|
|
2
|
+
import { X as DecisionSink, it as MembershipSource, vt as TokenVerifier } from "./policy-types-DuM3k5Ao.js";
|
|
3
3
|
import { K as AppData } from "./vocabulary-DHfKPIC5.js";
|
|
4
4
|
import { n as RevocationFeed } from "./revocations-ku_f2d2y.js";
|
|
5
5
|
import { t as SqlQuery } from "./sql-BYYNi1lu.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as PermDock, v as PrincipalSource } from "./permdock-
|
|
1
|
+
import { a as PermDock, v as PrincipalSource } from "./permdock-DkvkGVF0.js";
|
|
2
2
|
import { w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
3
3
|
import { t as JsonSchemaNode } from "./json-schema-DAeA-lJa.js";
|
|
4
|
-
import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, g as TransportMessages, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, o as DeliveryResult, r as DeliverOptions, s as DeliveryTarget, y as WebhookTransport } from "./types-
|
|
5
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal, X as DecisionSink, bn as DeliveryChannel } from "./policy-types-
|
|
4
|
+
import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, g as TransportMessages, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, o as DeliveryResult, r as DeliverOptions, s as DeliveryTarget, y as WebhookTransport } from "./types-D3GI2B9O.js";
|
|
5
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal, X as DecisionSink, bn as DeliveryChannel } from "./policy-types-DuM3k5Ao.js";
|
|
6
6
|
import { t as Operation } from "./operations-DaEoGpMV.js";
|
|
7
|
-
import { l as WebhookSigner } from "./standard-webhooks-
|
|
7
|
+
import { l as WebhookSigner } from "./standard-webhooks-D2FwHtMX.js";
|
|
8
8
|
type Audience = {
|
|
9
9
|
/**
|
|
10
10
|
* Principal ids `decideFor` grants, in discovery or candidate order, each
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as JwtClaims, An as PolicyScopesInput, Ar as Subject, B as SupportAccessOptions, Br as OpaqueCondition, D as Policy, Dr as Membership, En as SinkEvent, F as RoleBinding, Gr as SqlFunctionCondition, I as RoleOptions, Ir as ConditionRef, Jt as ClientBundle, Kt as InstanceHandle, N as PolicyVocabulary, Or as Principal, R as SeparationConflict, Sr as CustomRole, T as MembershipFixture, U as VocabularyFromInput, Wr as SqlFunctionArg, Xt as ExpandedSnapshot, Yt as CustomRoleRecord, Z as EntitlementSource, _ as Grant, _t as TokenSigner, ar as Denial, ct as RelationSource, hn as AccessEvent, ht as TenantSettings, in as SnapshotAssignable, ir as Decision, it as MembershipSource, j as PolicyOptions, jn as Scope, k as PolicyDelegation, l as AssuranceRequirement, lt as SettingsSource, o as ApprovalOption, ot as RelationGroup, pn as SnapshotTenants, q as CustomRoleSource, qt as Instant, rn as Snapshot, sr as DenialReason, tn as LocalSnapshotManifest, u as BreakGlassOptions, ut as SnapshotSource, v as GrantCondition, wr as Delegation, xn as DeliveryEvent, yn as DecisionEvent } from "./policy-types-
|
|
1
|
+
import { $ as JwtClaims, An as PolicyScopesInput, Ar as Subject, B as SupportAccessOptions, Br as OpaqueCondition, D as Policy, Dr as Membership, En as SinkEvent, F as RoleBinding, Gr as SqlFunctionCondition, I as RoleOptions, Ir as ConditionRef, Jt as ClientBundle, Kt as InstanceHandle, N as PolicyVocabulary, Or as Principal, R as SeparationConflict, Sr as CustomRole, T as MembershipFixture, U as VocabularyFromInput, Wr as SqlFunctionArg, Xt as ExpandedSnapshot, Yt as CustomRoleRecord, Z as EntitlementSource, _ as Grant, _t as TokenSigner, ar as Denial, ct as RelationSource, hn as AccessEvent, ht as TenantSettings, in as SnapshotAssignable, ir as Decision, it as MembershipSource, j as PolicyOptions, jn as Scope, k as PolicyDelegation, l as AssuranceRequirement, lt as SettingsSource, o as ApprovalOption, ot as RelationGroup, pn as SnapshotTenants, q as CustomRoleSource, qt as Instant, rn as Snapshot, sr as DenialReason, tn as LocalSnapshotManifest, u as BreakGlassOptions, ut as SnapshotSource, v as GrantCondition, wr as Delegation, xn as DeliveryEvent, yn as DecisionEvent } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { A as ResourceInit, B as ResourceXTree, D as PermissionsOf, E as PermissionTree, F as ResourceOptions, I as ResourceParent, N as ResourceMeta, O as PermissionsOptions, P as ResourceNode, R as ResourceRelationInput, T as PermissionKind, a as RoleTree, g as ActionMeta, h as ActionList, r as Role, w as Permission, z as ResourceRestricted } from "./vocabulary-DHfKPIC5.js";
|
|
3
|
-
import { a as PermDock } from "./permdock-
|
|
4
|
-
import { o as PolicyDocument } from "./hosted-
|
|
5
|
-
import { n as PermDockWrap } from "./wrap-
|
|
6
|
-
import { l as VersionStore, s as VersionCache } from "./subject-cache-
|
|
3
|
+
import { a as PermDock } from "./permdock-DkvkGVF0.js";
|
|
4
|
+
import { o as PolicyDocument } from "./hosted-DZgmEG4b.js";
|
|
5
|
+
import { n as PermDockWrap } from "./wrap-C36-eV-C.js";
|
|
6
|
+
import { l as VersionStore, s as VersionCache } from "./subject-cache-Bn4oJY_R.js";
|
|
7
7
|
import { t as JsonSchemaNode } from "./json-schema-DAeA-lJa.js";
|
|
8
|
-
import { i as CatalogEventData, s as CloudEvent } from "./sink-
|
|
8
|
+
import { i as CatalogEventData, s as CloudEvent } from "./sink-CoMI_OVw.js";
|
|
9
9
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
10
10
|
type KnownRefField = "id" | "issuer" | "kind" | "tenant" | "team" | "roles" | "plans" | "memberships" | "assurance" | "binding" | "session" | "claims";
|
|
11
11
|
type SubjectRef = ConditionRef & { readonly [K in KnownRefField]: SubjectRef; } & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as Policy, Or as Principal, _t as TokenSigner } from "./policy-types-
|
|
2
|
-
import { E as SsfPermDockOptions, O as SsfStreamConfiguration, T as SsfPermDock, _ as SetSubject, c as PushSetOptions, d as SetDelivery, g as SetQueue, h as SetPollHandlerOptions, k as SsfStreamStatus, m as SetEvent, p as SetError, t as CaepCommon, v as SignSetOptions } from "./types-
|
|
1
|
+
import { D as Policy, Or as Principal, _t as TokenSigner } from "./policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { E as SsfPermDockOptions, O as SsfStreamConfiguration, T as SsfPermDock, _ as SetSubject, c as PushSetOptions, d as SetDelivery, g as SetQueue, h as SetPollHandlerOptions, k as SsfStreamStatus, m as SetEvent, p as SetError, t as CaepCommon, v as SignSetOptions } from "./types-Cvfe-G_N.js";
|
|
3
3
|
declare function createPermDock<TUser, TPrincipal extends Principal = Principal>(policy: Policy<TUser, TPrincipal>, options: SsfPermDockOptions): SsfPermDock;
|
|
4
4
|
type PollSetsOptions = {
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, Tt as SupportSession, _t as TokenSigner, gn as AuthEvent, gt as TokenFailureCause, ir as Decision, vt as TokenVerifier } from "./policy-types-
|
|
2
|
-
import { c as ServerPermDock, l as ServerPermDockOptions } from "./server-types-
|
|
1
|
+
import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, Tt as SupportSession, _t as TokenSigner, gn as AuthEvent, gt as TokenFailureCause, ir as Decision, vt as TokenVerifier } from "./policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { c as ServerPermDock, l as ServerPermDockOptions } from "./server-types-FkdDSB9h.js";
|
|
3
3
|
import { E as PermissionTree, w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
4
|
-
import { v as PrincipalSource } from "./permdock-
|
|
5
|
-
import { a as ProblemDetails, s as Disclosure, t as ApprovalHint } from "./errors-
|
|
4
|
+
import { v as PrincipalSource } from "./permdock-DkvkGVF0.js";
|
|
5
|
+
import { a as ProblemDetails, s as Disclosure, t as ApprovalHint } from "./errors-BliKrfmP.js";
|
|
6
6
|
/**
|
|
7
7
|
* The Fetch factory behind every HTTP adapter. The subject and actor are
|
|
8
8
|
* resolved once per `Request`; one instance is cached per `(Request, tenant)`,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { $n as inherit, $t as LocalRowColumn, A as PolicyOAuthScope, An as PolicyScopesInput, Ar as Subject, At as parseSupportSession, B as SupportAccessOptions, Bn as allOf, Bt as DecideCredentialOptions, C as GrantValidity, Cn as DirectoryEvent, Cr as CustomRoleGrant, Ct as WhereCompiler, D as Policy, Dn as WireDecision, Dr as Membership, Dt as SupportSessionPolicy, E as ObligationInput, En as SinkEvent, Et as SupportSessionDecision, F as RoleBinding, Fn as Approver, Fr as Condition, Ft as CredentialPermission, G as CredentialVerifier, Gn as Grantee, Gr as SqlFunctionCondition, Gt as parseCredential, H as ValidateMode, Hn as holder, Hr as RelatedHop, Ht as credentialPolicyViolation, I as RoleOptions, In as ApproverInput, Ir as ConditionRef, It as CredentialPermissionInput, J as CustomRoleSourceFactory, Jn as RelationGrantee, Jr as isConditionDate, Jt as ClientBundle, K as CustomRoleContext, Kn as GranteeInput, Kr as hasConditionOp, L as RoleScope, Ln as ManagerApprover, Lr as ConditionValue, Lt as CredentialPolicy, M as PolicyScopes, Mn as ScopeDeclaration, Mr as ActorKind, Mt as Credential, Nn as ScopeNames, Nr as AdapterId, Nt as CredentialDecision, O as PolicyAppDataSchemas, On as WireDenial, Or as Principal, Ot as SupportSessionRequest, P as PrincipalOf, Pn as AnyOfApprover, Pr as MembershipVia, Pt as CredentialKind, Q as Intent, Qn as authenticated, Qt as LocalMembershipRows, R as SeparationConflict, Rn as PermissionApprover, Rr as MemberOfCondition, Rt as CredentialPolicyViolation, S as GrantScope, Sn as DeliveryFailureCause, Sr as CustomRole, St as VersionQuery, T as MembershipFixture, Tn as MembershipEvent, Tr as GnapAccess, Tt as SupportSession, Un as manager, Ur as RestrictedAncestors, Ut as decideCredential, V as SupportConsent, Vn as anyOf, Vr as RelatedCondition, Vt as credentialDelegation, W as WireValidity, Wn as user, Wr as SqlFunctionArg, Wt as isFeedId, X as DecisionSink, Xn as anyone, Xr as isSqlFunctionField, Xt as ExpandedSnapshot, Y as DecisionProvider, Yn as actor, Yr as isConditionRef, Yt as CustomRoleRecord, Z as EntitlementSource, Zn as assurance, Zt as LocalCustomRoleTable, _ as Grant, _n as AutomationEvent, _r as TraceSkipReason, _t as TokenSigner, a as ApprovalMode, an as SnapshotCustom, ar as Denial, at as RelationChain, b as GrantMeta, bn as DeliveryChannel, br as AuthorizationDetail, bt as VerifiedToken, c as ApprovalStage, cn as SnapshotGrantTerms, cr as DeniedDecision, ct as RelationSource, d as BreakGlassRequirements, dn as SnapshotScope, dr as LimitDetail, dt as SourceCall, en as LocalRowValue, er as plan, et as LimitConsumeInput, f as BreakGlassSpec, fn as SnapshotStatic, fr as MatchedGrant, ft as SourceContext, g as DelegationTarget, gn as AuthEvent, gr as TraceSkip, gt as TokenFailureCause, h as DelegationInput, hn as AccessEvent, hr as Trace, ht as TenantSettings, i as ApprovalFallback, in as SnapshotAssignable, ir as Decision, it as MembershipSource, jn as Scope, jr as VerifiedClaims, jt as ApiKeyPrincipal, k as PolicyDelegation, kr as SharedCustomRole, kt as decideSupportSession, l as AssuranceRequirement, ln as SnapshotListRef, lr as ExplainedDecision, lt as SettingsSource, m as ClosureGrantFn, mn as SnapshotWireAssignable, mr as Quota, mt as SubjectResolver, n as ApprovalCombine, nn as LocalSnapshotRows, nr as AppObligation, nt as LimitStore, o as ApprovalOption, on as SnapshotGrant, or as DenialDetails, ot as RelationGroup, p as ClosureContext, pn as SnapshotTenants, pr as Obligation, pt as SourceMemo, q as CustomRoleSource, qn as InheritGrantee, qr as isCondition, r as ApprovalEscalation, rn as Snapshot, rr as ApprovalRequiredDecision, rt as MemberEntry, s as ApprovalRequirement, sn as SnapshotGrantRef, sr as DenialReason, st as RelationHolder, t as ActivationOption, tn as LocalSnapshotManifest, tr as relation, tt as LimitRemaining, u as BreakGlassOptions, un as SnapshotNotEntitled, ur as GrantedDecision, ut as SnapshotSource, v as GrantCondition, vn as CredentialEvent, vr as Actor, vt as TokenVerifier, w as HostedGrantRef, wn as EmailCategory, wr as Delegation, wt as DecideSupportSessionOptions, x as GrantOptions, xn as DeliveryEvent, xr as Binding, xt as VersionContext, y as GrantLimit, yn as DecisionEvent, yr as Assurance, yt as VerificationFailure, z as SubjectOf, zn as UserApprover, zr as MemberOfParent, zt as CredentialRequest } from "./policy-types-
|
|
1
|
+
import { $n as inherit, $t as LocalRowColumn, A as PolicyOAuthScope, An as PolicyScopesInput, Ar as Subject, At as parseSupportSession, B as SupportAccessOptions, Bn as allOf, Bt as DecideCredentialOptions, C as GrantValidity, Cn as DirectoryEvent, Cr as CustomRoleGrant, Ct as WhereCompiler, D as Policy, Dn as WireDecision, Dr as Membership, Dt as SupportSessionPolicy, E as ObligationInput, En as SinkEvent, Et as SupportSessionDecision, F as RoleBinding, Fn as Approver, Fr as Condition, Ft as CredentialPermission, G as CredentialVerifier, Gn as Grantee, Gr as SqlFunctionCondition, Gt as parseCredential, H as ValidateMode, Hn as holder, Hr as RelatedHop, Ht as credentialPolicyViolation, I as RoleOptions, In as ApproverInput, Ir as ConditionRef, It as CredentialPermissionInput, J as CustomRoleSourceFactory, Jn as RelationGrantee, Jr as isConditionDate, Jt as ClientBundle, K as CustomRoleContext, Kn as GranteeInput, Kr as hasConditionOp, L as RoleScope, Ln as ManagerApprover, Lr as ConditionValue, Lt as CredentialPolicy, M as PolicyScopes, Mn as ScopeDeclaration, Mr as ActorKind, Mt as Credential, Nn as ScopeNames, Nr as AdapterId, Nt as CredentialDecision, O as PolicyAppDataSchemas, On as WireDenial, Or as Principal, Ot as SupportSessionRequest, P as PrincipalOf, Pn as AnyOfApprover, Pr as MembershipVia, Pt as CredentialKind, Q as Intent, Qn as authenticated, Qt as LocalMembershipRows, R as SeparationConflict, Rn as PermissionApprover, Rr as MemberOfCondition, Rt as CredentialPolicyViolation, S as GrantScope, Sn as DeliveryFailureCause, Sr as CustomRole, St as VersionQuery, T as MembershipFixture, Tn as MembershipEvent, Tr as GnapAccess, Tt as SupportSession, Un as manager, Ur as RestrictedAncestors, Ut as decideCredential, V as SupportConsent, Vn as anyOf, Vr as RelatedCondition, Vt as credentialDelegation, W as WireValidity, Wn as user, Wr as SqlFunctionArg, Wt as isFeedId, X as DecisionSink, Xn as anyone, Xr as isSqlFunctionField, Xt as ExpandedSnapshot, Y as DecisionProvider, Yn as actor, Yr as isConditionRef, Yt as CustomRoleRecord, Z as EntitlementSource, Zn as assurance, Zt as LocalCustomRoleTable, _ as Grant, _n as AutomationEvent, _r as TraceSkipReason, _t as TokenSigner, a as ApprovalMode, an as SnapshotCustom, ar as Denial, at as RelationChain, b as GrantMeta, bn as DeliveryChannel, br as AuthorizationDetail, bt as VerifiedToken, c as ApprovalStage, cn as SnapshotGrantTerms, cr as DeniedDecision, ct as RelationSource, d as BreakGlassRequirements, dn as SnapshotScope, dr as LimitDetail, dt as SourceCall, en as LocalRowValue, er as plan, et as LimitConsumeInput, f as BreakGlassSpec, fn as SnapshotStatic, fr as MatchedGrant, ft as SourceContext, g as DelegationTarget, gn as AuthEvent, gr as TraceSkip, gt as TokenFailureCause, h as DelegationInput, hn as AccessEvent, hr as Trace, ht as TenantSettings, i as ApprovalFallback, in as SnapshotAssignable, ir as Decision, it as MembershipSource, jn as Scope, jr as VerifiedClaims, jt as ApiKeyPrincipal, k as PolicyDelegation, kr as SharedCustomRole, kt as decideSupportSession, l as AssuranceRequirement, ln as SnapshotListRef, lr as ExplainedDecision, lt as SettingsSource, m as ClosureGrantFn, mn as SnapshotWireAssignable, mr as Quota, mt as SubjectResolver, n as ApprovalCombine, nn as LocalSnapshotRows, nr as AppObligation, nt as LimitStore, o as ApprovalOption, on as SnapshotGrant, or as DenialDetails, ot as RelationGroup, p as ClosureContext, pn as SnapshotTenants, pr as Obligation, pt as SourceMemo, q as CustomRoleSource, qn as InheritGrantee, qr as isCondition, r as ApprovalEscalation, rn as Snapshot, rr as ApprovalRequiredDecision, rt as MemberEntry, s as ApprovalRequirement, sn as SnapshotGrantRef, sr as DenialReason, st as RelationHolder, t as ActivationOption, tn as LocalSnapshotManifest, tr as relation, tt as LimitRemaining, u as BreakGlassOptions, un as SnapshotNotEntitled, ur as GrantedDecision, ut as SnapshotSource, v as GrantCondition, vn as CredentialEvent, vr as Actor, vt as TokenVerifier, w as HostedGrantRef, wn as EmailCategory, wr as Delegation, wt as DecideSupportSessionOptions, x as GrantOptions, xn as DeliveryEvent, xr as Binding, xt as VersionContext, y as GrantLimit, yn as DecisionEvent, yr as Assurance, yt as VerificationFailure, z as SubjectOf, zn as UserApprover, zr as MemberOfParent, zt as CredentialRequest } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { A as ResourceInit, B as ResourceXTree, D as PermissionsOf, E as PermissionTree, F as ResourceOptions, G as RESOURCE_X, H as PERMISSION_ROW, I as ResourceParent, J as MetaValue, K as AppData, L as ResourceRelation, M as ResourceLink, N as ResourceMeta, O as PermissionsOptions, P as ResourceNode, R as ResourceRelationInput, S as FieldRelation, T as PermissionKind, U as POLICY_SCOPES, V as RowOf, W as RESOURCE_NAME, _ as ComputedRelation, a as RoleTree, b as EdgeMatch, c as definePlans, d as isPlan, f as isRole, g as ActionMeta, i as RoleMeta, j as ResourceLevel, k as PrincipalRelation, l as defineRoles, m as listRoles, n as PlanTree, o as Vocabulary, p as listPlans, q as AppDataSchema, r as Role, s as VocabularyOptions, t as Plan, u as findRole, v as EdgeGroup, w as Permission, x as EdgeRelation, y as EdgeGroups, z as ResourceRestricted } from "./vocabulary-DHfKPIC5.js";
|
|
3
|
-
import { $ as resource, $t as memoryMembershipSource, A as RoleChangeCheckInput, An as validateCustomRole, At as SignSnapshotOptions, B as ActivateInput, Bt as whoCan, C as parseCatalogEventData, Cn as CustomRoleRename, Ct as arazzoFindings, D as parseSinkEvents, Dn as customRoleClaim, Dt as RuntimeCacheLike, E as parseSinkEvent, En as ValidateCustomRoleOptions, Et as QueryableLike, F as checkRoleChange, Ft as SignPolicyDocumentOptions, G as allow, Gt as stripeEntitlementSource, H as breakGlass, Ht as MemoryRelationSourceData, I as decideRoleChange, It as signPolicyDocument, J as role, Jt as countHolders, K as deny, Kt as claimsFirst, L as normalizeMembership, Lt as Holder, M as RoleChangeOptions, Mn as context, Mt as signSnapshot, N as RoleChangeTarget, Nn as principal, Nt as snapshotClaims, O as RoleChange, On as parseCustomRoleEntry, Ot as postgresCacheVersionStore, P as RoleRules, Pt as snapshotFromClaims, Q as formerKeys, Qt as memoryEntitlementSource, R as normalizeMemberships, Rt as HoldingVia, S as SINK_EVENT_SCHEMAS, Sn as CustomRoleEntry, St as ArazzoStepResult, T as parseCloudEventBatch, Tn as ResolvedCustomRole, Tt as deliveryEvent, U as supportAccess, Ut as memoryRelationSource, V as activate, Vt as MemoryEdge, W as normalizeApproval, Wt as StripeEntitlementsClient, X as readable, Xt as APPROVAL_POLICY_UNAVAILABLE, Y as crud, Yt as isExternallyManaged, Z as writable, Zt as memoryCustomRoleSource, _ as DECISION_EVENT_SCHEMA, _n as fromSnapshot, _t as customRoleRecord, a as catalogFingerprint, an as sqlFunction, at as CustomRoleReader, b as EVENT_SCHEMA_IDS, bn as CustomRoleDrop, bt as ArazzoPlan, c as OCSF_VERSION, cn as getResource, ct as CustomRoleDecision, d as accessToOcsf, dn as mergePermissions, dt as LegacyCheck, en as memorySettingsSource, et as definePermissions, f as toOcsf, fn as RoleNameOf, ft as ShadowMismatch, g as CREDENTIAL_EVENT_SCHEMA, gn as requiresApproval, gt as readSnapshot, h as CATALOG_EVENT_SCHEMA, hn as separationConflicts, ht as localSnapshotManifest, i as canonicalJson, in as accessOutcome, it as assignableFor, j as RoleChangeDecision, jn as claim, jt as SnapshotClaims, k as RoleChangeCheck, kn as resolveCustomRole, kt as runtimeCacheVersionStore, l as OcsfAuthorizeSession, ln as isPermission, lt as decideCustomRole, m as AUTOMATION_EVENT_SCHEMA, mn as isRoleName, mt as shadowMode, n as delegatedPermissions, nn as subjectMembershipSource, nt as snapshotFor, o as CSV_COLUMNS, on as opaque, ot as CustomRoleSourceOptions, p as ACCESS_EVENT_SCHEMA, pn as definePolicy, pt as ShadowOptions, q as normalizeAssurance, qt as composeMemberships, r as sha256Digest, rn as AccessOutcome, rt as AssignableForOptions, s as toCsvRow, sn as findPermission, st as customRoleSource, t as coveredByDelegation, tn as memorySnapshotSource, tt as SnapshotForOptions, u as OcsfUserManagement, un as listPermissions, ut as mayAccess, v as DELIVERY_EVENT_SCHEMA, vn as emptySnapshot, vt as clientBundle, w as parseCloudEvent, wn as CustomRoleValidation, wt as simulateArazzo, x as MEMBERSHIP_EVENT_SCHEMA, xn as CustomRoleDropReason, xt as ArazzoSimulateInput, y as DIRECTORY_EVENT_SCHEMA, yn as parseSnapshot, yt as ArazzoFinding, z as resolveScope, zt as WhoCan } from "./index-
|
|
3
|
+
import { $ as resource, $t as memoryMembershipSource, A as RoleChangeCheckInput, An as validateCustomRole, At as SignSnapshotOptions, B as ActivateInput, Bt as whoCan, C as parseCatalogEventData, Cn as CustomRoleRename, Ct as arazzoFindings, D as parseSinkEvents, Dn as customRoleClaim, Dt as RuntimeCacheLike, E as parseSinkEvent, En as ValidateCustomRoleOptions, Et as QueryableLike, F as checkRoleChange, Ft as SignPolicyDocumentOptions, G as allow, Gt as stripeEntitlementSource, H as breakGlass, Ht as MemoryRelationSourceData, I as decideRoleChange, It as signPolicyDocument, J as role, Jt as countHolders, K as deny, Kt as claimsFirst, L as normalizeMembership, Lt as Holder, M as RoleChangeOptions, Mn as context, Mt as signSnapshot, N as RoleChangeTarget, Nn as principal, Nt as snapshotClaims, O as RoleChange, On as parseCustomRoleEntry, Ot as postgresCacheVersionStore, P as RoleRules, Pt as snapshotFromClaims, Q as formerKeys, Qt as memoryEntitlementSource, R as normalizeMemberships, Rt as HoldingVia, S as SINK_EVENT_SCHEMAS, Sn as CustomRoleEntry, St as ArazzoStepResult, T as parseCloudEventBatch, Tn as ResolvedCustomRole, Tt as deliveryEvent, U as supportAccess, Ut as memoryRelationSource, V as activate, Vt as MemoryEdge, W as normalizeApproval, Wt as StripeEntitlementsClient, X as readable, Xt as APPROVAL_POLICY_UNAVAILABLE, Y as crud, Yt as isExternallyManaged, Z as writable, Zt as memoryCustomRoleSource, _ as DECISION_EVENT_SCHEMA, _n as fromSnapshot, _t as customRoleRecord, a as catalogFingerprint, an as sqlFunction, at as CustomRoleReader, b as EVENT_SCHEMA_IDS, bn as CustomRoleDrop, bt as ArazzoPlan, c as OCSF_VERSION, cn as getResource, ct as CustomRoleDecision, d as accessToOcsf, dn as mergePermissions, dt as LegacyCheck, en as memorySettingsSource, et as definePermissions, f as toOcsf, fn as RoleNameOf, ft as ShadowMismatch, g as CREDENTIAL_EVENT_SCHEMA, gn as requiresApproval, gt as readSnapshot, h as CATALOG_EVENT_SCHEMA, hn as separationConflicts, ht as localSnapshotManifest, i as canonicalJson, in as accessOutcome, it as assignableFor, j as RoleChangeDecision, jn as claim, jt as SnapshotClaims, k as RoleChangeCheck, kn as resolveCustomRole, kt as runtimeCacheVersionStore, l as OcsfAuthorizeSession, ln as isPermission, lt as decideCustomRole, m as AUTOMATION_EVENT_SCHEMA, mn as isRoleName, mt as shadowMode, n as delegatedPermissions, nn as subjectMembershipSource, nt as snapshotFor, o as CSV_COLUMNS, on as opaque, ot as CustomRoleSourceOptions, p as ACCESS_EVENT_SCHEMA, pn as definePolicy, pt as ShadowOptions, q as normalizeAssurance, qt as composeMemberships, r as sha256Digest, rn as AccessOutcome, rt as AssignableForOptions, s as toCsvRow, sn as findPermission, st as customRoleSource, t as coveredByDelegation, tn as memorySnapshotSource, tt as SnapshotForOptions, u as OcsfUserManagement, un as listPermissions, ut as mayAccess, v as DELIVERY_EVENT_SCHEMA, vn as emptySnapshot, vt as clientBundle, w as parseCloudEvent, wn as CustomRoleValidation, wt as simulateArazzo, x as MEMBERSHIP_EVENT_SCHEMA, xn as CustomRoleDropReason, xt as ArazzoSimulateInput, y as DIRECTORY_EVENT_SCHEMA, yn as parseSnapshot, yt as ArazzoFinding, z as resolveScope, zt as WhoCan } from "./index-Cjr8Q-uq.js";
|
|
4
4
|
import { a as OperationInput, c as defineOperations, d as isOperationRisk, i as OperationEffect, l as OPERATION_RISKS, n as OperationData, o as OperationMap, r as OperationDefinition, s as OperationMeta, t as Operation, u as OperationRisk } from "./operations-DaEoGpMV.js";
|
|
5
|
-
import { A as InstanceCacheStats, B as ApprovalPolicyValidation, C as Limits, D as InstanceCache, E as CustomRoleOwner, F as PermissionState, H as memoryApprovalPolicySource, I as ApprovalPolicies, L as ApprovalPolicy, M as GrantedPermissionsOptions, N as isGlobalPermission, O as InstanceCacheKey, P as PermissionCheck, R as ApprovalPolicyProblem, S as PermittedScopeIdsOptions, T as memoryLimitStore, U as validateApprovalPolicy, V as approvalPolicies, _ as PrincipalIdentityLink, a as PermDock, b as MembershipFilter, c as RowPair, d as UncheckedData, f as WhereOptions, g as PrincipalIdentity, h as getPermDockSync, i as LoadedRows, j as instanceCache, k as InstanceCacheOptions, l as SimulateOptions, m as getPermDock, n as DecideOptions, o as PermDockOptions, p as WhereResult, r as DeriveOptions, s as RowData, t as DecideIdsOptions, u as SnapshotOptions, v as PrincipalSource, w as limits, x as PermittedIdsOptions, y as memoryPrincipalSource, z as ApprovalPolicySource } from "./permdock-
|
|
6
|
-
import { d as memoryPolicySource, f as mergeHostedGrants, i as HostedGrantDropped, l as hostedPolicies, m as policyDocumentFromClaims, o as PolicyDocument, p as parsePolicyDocument, r as HostedGrantDropReason, s as PolicySource, t as HostedGrant, u as isPortableCondition } from "./hosted-
|
|
7
|
-
import { n as PermDockValidationError } from "./validation-error-
|
|
8
|
-
import { a as ProblemDetails, c as requiredPlans, i as PermDockRevokedError, n as PermDockApprovalRequiredError, o as RevokedCode, r as PermDockDeniedError } from "./errors-
|
|
9
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
5
|
+
import { A as InstanceCacheStats, B as ApprovalPolicyValidation, C as Limits, D as InstanceCache, E as CustomRoleOwner, F as PermissionState, H as memoryApprovalPolicySource, I as ApprovalPolicies, L as ApprovalPolicy, M as GrantedPermissionsOptions, N as isGlobalPermission, O as InstanceCacheKey, P as PermissionCheck, R as ApprovalPolicyProblem, S as PermittedScopeIdsOptions, T as memoryLimitStore, U as validateApprovalPolicy, V as approvalPolicies, _ as PrincipalIdentityLink, a as PermDock, b as MembershipFilter, c as RowPair, d as UncheckedData, f as WhereOptions, g as PrincipalIdentity, h as getPermDockSync, i as LoadedRows, j as instanceCache, k as InstanceCacheOptions, l as SimulateOptions, m as getPermDock, n as DecideOptions, o as PermDockOptions, p as WhereResult, r as DeriveOptions, s as RowData, t as DecideIdsOptions, u as SnapshotOptions, v as PrincipalSource, w as limits, x as PermittedIdsOptions, y as memoryPrincipalSource, z as ApprovalPolicySource } from "./permdock-DkvkGVF0.js";
|
|
6
|
+
import { d as memoryPolicySource, f as mergeHostedGrants, i as HostedGrantDropped, l as hostedPolicies, m as policyDocumentFromClaims, o as PolicyDocument, p as parsePolicyDocument, r as HostedGrantDropReason, s as PolicySource, t as HostedGrant, u as isPortableCondition } from "./hosted-DZgmEG4b.js";
|
|
7
|
+
import { n as PermDockValidationError } from "./validation-error-MZ7KLNHt.js";
|
|
8
|
+
import { a as ProblemDetails, c as requiredPlans, i as PermDockRevokedError, n as PermDockApprovalRequiredError, o as RevokedCode, r as PermDockDeniedError } from "./errors-BliKrfmP.js";
|
|
9
|
+
import { t as InstanceOptions } from "./instance-options-DDERlopm.js";
|
|
10
10
|
import { t as RequestContext } from "./request-context-E3-ps-H_.js";
|
|
11
|
-
import { n as PermDockWrap, r as wrapPermDock, t as PermDockOverrides } from "./wrap-
|
|
12
|
-
import { c as VersionCacheStats, d as memoryVersionCache, i as memorySubjectCache, l as VersionStore, n as SubjectCache, o as MemoryVersionCacheOptions, r as SubjectRecord, s as VersionCache, t as MemorySubjectCacheOptions, u as VersionStoreEntry } from "./subject-cache-
|
|
11
|
+
import { n as PermDockWrap, r as wrapPermDock, t as PermDockOverrides } from "./wrap-C36-eV-C.js";
|
|
12
|
+
import { c as VersionCacheStats, d as memoryVersionCache, i as memorySubjectCache, l as VersionStore, n as SubjectCache, o as MemoryVersionCacheOptions, r as SubjectRecord, s as VersionCache, t as MemorySubjectCacheOptions, u as VersionStoreEntry } from "./subject-cache-Bn4oJY_R.js";
|
|
13
13
|
import { t as JsonSchemaNode } from "./json-schema-DAeA-lJa.js";
|
|
14
14
|
import { t as approvalFingerprint } from "./token-BgswTQzt.js";
|
|
15
15
|
import { i as memoryRevocationFeed, n as RevocationFeed, r as RevocationListener, t as RevocationEvent } from "./revocations-ku_f2d2y.js";
|
|
16
16
|
import { t as ClientNames } from "./clients-DGcyFDCc.js";
|
|
17
|
-
import { a as PlanNameOf, c as VocabularyOf, i as PermissionOf, n as OperationNameOf, s as ScopeNameOf } from "./type-helpers-
|
|
18
|
-
import { a as CapabilityOptions, c as LinkPolicy, d as linkPolicyViolation, f as parseCapability, i as CapabilityInput, l as LinkPolicyViolation, m as signCapability, n as CapabilityClaim, o as CapabilityPrincipal, p as parseCapabilityClaim, r as CapabilityConfirmation, s as CapabilityRedeemer, t as Capability, u as capabilityFromClaims } from "./capability-
|
|
19
|
-
import { a as AutomationSource, c as decideAutomation, i as AutomationRequest, l as memoryAutomationSource, n as AutomationDecision, o as DecideAutomationOptions, r as AutomationMode, s as MemoryAutomationSource, t as Automation, u as parseAutomation } from "./automation-
|
|
20
|
-
import { S as toCloudEvent, _ as credentialEvent, a as CatalogFinding, b as signDecisionBatch, c as CloudEventOptions, d as MemoryDecisionSinkOptions, f as RESERVED_CLOUD_EVENT_TYPES, g as cloudEventType, h as automationEvent, i as CatalogEventData, l as CloudEventType, m as accessEvent, n as CLOUDEVENTS_CONTENT_TYPE, o as CatalogFindingCode, p as SignDecisionBatchOptions, r as CLOUD_EVENT_TYPES, s as CloudEvent, t as CLOUDEVENTS_BATCH_CONTENT_TYPE, u as MemoryDecisionSink, v as membershipEvent, x as supportSessionEvent, y as memoryDecisionSink } from "./sink-
|
|
21
|
-
import { i as describe, n as DescribeMessages, r as DescribeOptions, t as DecisionDescription } from "./describe-
|
|
17
|
+
import { a as PlanNameOf, c as VocabularyOf, i as PermissionOf, n as OperationNameOf, s as ScopeNameOf } from "./type-helpers-CsWH9z8p.js";
|
|
18
|
+
import { a as CapabilityOptions, c as LinkPolicy, d as linkPolicyViolation, f as parseCapability, i as CapabilityInput, l as LinkPolicyViolation, m as signCapability, n as CapabilityClaim, o as CapabilityPrincipal, p as parseCapabilityClaim, r as CapabilityConfirmation, s as CapabilityRedeemer, t as Capability, u as capabilityFromClaims } from "./capability-BW-vAxJi.js";
|
|
19
|
+
import { a as AutomationSource, c as decideAutomation, i as AutomationRequest, l as memoryAutomationSource, n as AutomationDecision, o as DecideAutomationOptions, r as AutomationMode, s as MemoryAutomationSource, t as Automation, u as parseAutomation } from "./automation-C7WH5XcZ.js";
|
|
20
|
+
import { S as toCloudEvent, _ as credentialEvent, a as CatalogFinding, b as signDecisionBatch, c as CloudEventOptions, d as MemoryDecisionSinkOptions, f as RESERVED_CLOUD_EVENT_TYPES, g as cloudEventType, h as automationEvent, i as CatalogEventData, l as CloudEventType, m as accessEvent, n as CLOUDEVENTS_CONTENT_TYPE, o as CatalogFindingCode, p as SignDecisionBatchOptions, r as CLOUD_EVENT_TYPES, s as CloudEvent, t as CLOUDEVENTS_BATCH_CONTENT_TYPE, u as MemoryDecisionSink, v as membershipEvent, x as supportSessionEvent, y as memoryDecisionSink } from "./sink-CoMI_OVw.js";
|
|
21
|
+
import { i as describe, n as DescribeMessages, r as DescribeOptions, t as DecisionDescription } from "./describe-DEoWvk00.js";
|
|
22
22
|
import { n as parsePermDockDigest, t as PermDockDigest } from "./digest-BcIZRYvp.js";
|
|
23
|
-
import { t as parseLocalSnapshotManifest } from "./parse-local-manifest-
|
|
23
|
+
import { t as parseLocalSnapshotManifest } from "./parse-local-manifest-DoLQFkRb.js";
|
|
24
24
|
export { ACCESS_EVENT_SCHEMA, APPROVAL_POLICY_UNAVAILABLE, AUTOMATION_EVENT_SCHEMA, type AccessEvent, type AccessOutcome, type ActionMeta, type ActivateInput, type ActivationOption, type Actor, type ActorKind, type AdapterId, type AnyOfApprover, type ApiKeyPrincipal, type AppData, type AppDataSchema, type AppObligation, type ApprovalCombine, type ApprovalEscalation, type ApprovalFallback, type ApprovalMode, type ApprovalOption, type ApprovalPolicies, type ApprovalPolicy, type ApprovalPolicyProblem, type ApprovalPolicySource, type ApprovalPolicyValidation, type ApprovalRequiredDecision, type ApprovalRequirement, type ApprovalStage, type Approver, type ApproverInput, type ArazzoFinding, type ArazzoPlan, type ArazzoSimulateInput, type ArazzoStepResult, type AssignableForOptions, type Assurance, type AssuranceRequirement, type AuthEvent, type AuthorizationDetail, type Automation, type AutomationDecision, type AutomationEvent, type AutomationMode, type AutomationRequest, type AutomationSource, type Binding, type BreakGlassOptions, type BreakGlassRequirements, type BreakGlassSpec, CATALOG_EVENT_SCHEMA, CLOUDEVENTS_BATCH_CONTENT_TYPE, CLOUDEVENTS_CONTENT_TYPE, CLOUD_EVENT_TYPES, CREDENTIAL_EVENT_SCHEMA, CSV_COLUMNS, type Capability, type CapabilityClaim, type CapabilityConfirmation, type CapabilityInput, type CapabilityOptions, type CapabilityPrincipal, type CapabilityRedeemer, type CatalogEventData, type CatalogFinding, type CatalogFindingCode, type ClientBundle, type ClientNames, type ClosureContext, type ClosureGrantFn, type CloudEvent, type CloudEventOptions, type CloudEventType, type ComputedRelation, type Condition, type ConditionRef, type ConditionValue, type Credential, type CredentialDecision, type CredentialEvent, type CredentialKind, type CredentialPermission, type CredentialPermissionInput, type CredentialPolicy, type CredentialPolicyViolation, type CredentialRequest, type CredentialVerifier, type CustomRole, type CustomRoleContext, type CustomRoleDecision, type CustomRoleDrop, type CustomRoleDropReason, type CustomRoleEntry, type CustomRoleGrant, type CustomRoleOwner, type CustomRoleReader, type CustomRoleRecord, type CustomRoleRename, type CustomRoleSource, type CustomRoleSourceFactory, type CustomRoleSourceOptions, type CustomRoleValidation, DECISION_EVENT_SCHEMA, DELIVERY_EVENT_SCHEMA, DIRECTORY_EVENT_SCHEMA, type DecideAutomationOptions, type DecideCredentialOptions, type DecideIdsOptions, type DecideOptions, type DecideSupportSessionOptions, type Decision, type DecisionDescription, type DecisionEvent, type DecisionProvider, type DecisionSink, type Delegation, type DelegationInput, type DelegationTarget, type DeliveryChannel, type DeliveryEvent, type DeliveryFailureCause, type Denial, type DenialDetails, type DenialReason, type DeniedDecision, type DeriveOptions, type DescribeMessages, type DescribeOptions, type DirectoryEvent, EVENT_SCHEMA_IDS, type EdgeGroup, type EdgeGroups, type EdgeMatch, type EdgeRelation, type EmailCategory, type EntitlementSource, type ExpandedSnapshot, type ExplainedDecision, type FieldRelation, type GnapAccess, type Grant, type GrantCondition, type GrantLimit, type GrantMeta, type GrantOptions, type GrantScope, type GrantValidity, type GrantedDecision, type GrantedPermissionsOptions, type Grantee, type GranteeInput, type Holder, type HoldingVia, type HostedGrant, type HostedGrantDropReason, type HostedGrantDropped, type HostedGrantRef, type InheritGrantee, type InstanceCache, type InstanceCacheKey, type InstanceCacheOptions, type InstanceCacheStats, type InstanceOptions, type Intent, type JsonSchemaNode, type LegacyCheck, type LimitConsumeInput, type LimitDetail, type LimitRemaining, type LimitStore, type Limits, type LinkPolicy, type LinkPolicyViolation, type LoadedRows, type LocalCustomRoleTable, type LocalMembershipRows, type LocalRowColumn, type LocalRowValue, type LocalSnapshotManifest, type LocalSnapshotRows, MEMBERSHIP_EVENT_SCHEMA, type ManagerApprover, type MatchedGrant, type MemberEntry, type MemberOfCondition, type MemberOfParent, type Membership, type MembershipEvent, type MembershipFilter, type MembershipFixture, type MembershipSource, type MembershipVia, type MemoryAutomationSource, type MemoryDecisionSink, type MemoryDecisionSinkOptions, type MemoryEdge, type MemoryRelationSourceData, type MemorySubjectCacheOptions, type MemoryVersionCacheOptions, type MetaValue, OCSF_VERSION, OPERATION_RISKS, type Obligation, type ObligationInput, type OcsfAuthorizeSession, type OcsfUserManagement, type Operation, type OperationData, type OperationDefinition, type OperationEffect, type OperationInput, type OperationMap, type OperationMeta, type OperationNameOf, type OperationRisk, type PERMISSION_ROW, type POLICY_SCOPES, type PermDock, PermDockApprovalRequiredError, PermDockDeniedError, type PermDockDigest, type PermDockOptions, type PermDockOverrides, PermDockRevokedError, PermDockValidationError, type PermDockWrap, type Permission, type PermissionApprover, type PermissionCheck, type PermissionKind, type PermissionOf, type PermissionState, type PermissionTree, type PermissionsOf, type PermissionsOptions, type PermittedIdsOptions, type PermittedScopeIdsOptions, type Plan, type PlanNameOf, type PlanTree, type Policy, type PolicyAppDataSchemas, type PolicyDelegation, type PolicyDocument, type PolicyOAuthScope, type PolicyScopes, type PolicyScopesInput, type PolicySource, type Principal, type PrincipalIdentity, type PrincipalIdentityLink, type PrincipalOf, type PrincipalRelation, type PrincipalSource, type ProblemDetails, type QueryableLike, type Quota, RESERVED_CLOUD_EVENT_TYPES, type RESOURCE_NAME, type RESOURCE_X, type RelatedCondition, type RelatedHop, type RelationChain, type RelationGrantee, type RelationGroup, type RelationHolder, type RelationSource, type RequestContext, type ResolvedCustomRole, type ResourceInit, type ResourceLevel, type ResourceLink, type ResourceMeta, type ResourceNode, type ResourceOptions, type ResourceParent, type ResourceRelation, type ResourceRelationInput, type ResourceRestricted, type ResourceXTree, type RestrictedAncestors, type RevocationEvent, type RevocationFeed, type RevocationListener, type RevokedCode, type Role, type RoleBinding, type RoleChange, type RoleChangeCheck, type RoleChangeCheckInput, type RoleChangeDecision, type RoleChangeOptions, type RoleChangeTarget, type RoleMeta, type RoleNameOf, type RoleOptions, type RoleRules, type RoleScope, type RoleTree, type RowData, type RowOf, type RowPair, type RuntimeCacheLike, SINK_EVENT_SCHEMAS, type Scope, type ScopeDeclaration, type ScopeNameOf, type ScopeNames, type SeparationConflict, type SettingsSource, type ShadowMismatch, type ShadowOptions, type SharedCustomRole, type SignDecisionBatchOptions, type SignPolicyDocumentOptions, type SignSnapshotOptions, type SimulateOptions, type SinkEvent, type Snapshot, type SnapshotAssignable, type SnapshotClaims, type SnapshotCustom, type SnapshotForOptions, type SnapshotGrant, type SnapshotGrantRef, type SnapshotGrantTerms, type SnapshotListRef, type SnapshotNotEntitled, type SnapshotOptions, type SnapshotScope, type SnapshotSource, type SnapshotStatic, type SnapshotTenants, type SnapshotWireAssignable, type SourceCall, type SourceContext, type SourceMemo, type SqlFunctionArg, type SqlFunctionCondition, type StripeEntitlementsClient, type Subject, type SubjectCache, type SubjectOf, type SubjectRecord, type SubjectResolver, type SupportAccessOptions, type SupportConsent, type SupportSession, type SupportSessionDecision, type SupportSessionPolicy, type SupportSessionRequest, type TenantSettings, type TokenFailureCause, type TokenSigner, type TokenVerifier, type Trace, type TraceSkip, type TraceSkipReason, type UncheckedData, type UserApprover, type ValidateCustomRoleOptions, type ValidateMode, type VerificationFailure, type VerifiedClaims, type VerifiedToken, type VersionCache, type VersionCacheStats, type VersionContext, type VersionQuery, type VersionStore, type VersionStoreEntry, type Vocabulary, type VocabularyOf, type VocabularyOptions, type WhereCompiler, type WhereOptions, type WhereResult, type WhoCan, type WireDecision, type WireDenial, type WireValidity, accessEvent, accessOutcome, accessToOcsf, activate, actor, allOf, allow, anyOf, anyone, approvalFingerprint, approvalPolicies, arazzoFindings, assignableFor, assurance, authenticated, automationEvent, breakGlass, canonicalJson, capabilityFromClaims, catalogFingerprint, checkRoleChange, claim, claimsFirst, clientBundle, cloudEventType, composeMemberships, context, countHolders, coveredByDelegation, credentialDelegation, credentialEvent, credentialPolicyViolation, crud, customRoleClaim, customRoleRecord, customRoleSource, decideAutomation, decideCredential, decideCustomRole, decideRoleChange, decideSupportSession, defineOperations, definePermissions, definePlans, definePolicy, defineRoles, delegatedPermissions, deliveryEvent, deny, describe, emptySnapshot, findPermission, findRole, formerKeys, fromSnapshot, getPermDock, getPermDockSync, getResource, hasConditionOp, holder, hostedPolicies, inherit, instanceCache, isCondition, isConditionDate, isConditionRef, isExternallyManaged, isFeedId, isGlobalPermission, isOperationRisk, isPermission, isPlan, isPortableCondition, isRole, isRoleName, isSqlFunctionField, limits, linkPolicyViolation, listPermissions, listPlans, listRoles, localSnapshotManifest, manager, mayAccess, membershipEvent, memoryApprovalPolicySource, memoryAutomationSource, memoryCustomRoleSource, memoryDecisionSink, memoryEntitlementSource, memoryLimitStore, memoryMembershipSource, memoryPolicySource, memoryPrincipalSource, memoryRelationSource, memoryRevocationFeed, memorySettingsSource, memorySnapshotSource, memorySubjectCache, memoryVersionCache, mergeHostedGrants, mergePermissions, normalizeApproval, normalizeAssurance, normalizeMembership, normalizeMemberships, opaque, parseAutomation, parseCapability, parseCapabilityClaim, parseCatalogEventData, parseCloudEvent, parseCloudEventBatch, parseCredential, parseCustomRoleEntry, parseLocalSnapshotManifest, parsePermDockDigest, parsePolicyDocument, parseSinkEvent, parseSinkEvents, parseSnapshot, parseSupportSession, plan, policyDocumentFromClaims, postgresCacheVersionStore, principal, readSnapshot, readable, relation, requiredPlans, requiresApproval, resolveCustomRole, resolveScope, resource, role, runtimeCacheVersionStore, separationConflicts, sha256Digest, shadowMode, signCapability, signDecisionBatch, signPolicyDocument, signSnapshot, simulateArazzo, snapshotClaims, snapshotFor, snapshotFromClaims, sqlFunction, stripeEntitlementSource, subjectMembershipSource, supportAccess, supportSessionEvent, toCloudEvent, toCsvRow, toOcsf, user, validateApprovalPolicy, validateCustomRole, whoCan, wrapPermDock, writable };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as decodePreset, g as resolvePreset, i as presetFlags, n as generatePreset, o as encodePreset } from "./preset-BcFDaeqd.js";
|
|
2
2
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
3
3
|
import { t as applyFiles } from "./files-DuV7wRim.js";
|
|
4
|
-
import { o as nonEmptyOr } from "./output-
|
|
4
|
+
import { o as nonEmptyOr } from "./output-dO4bArCS.js";
|
|
5
5
|
import { t as addLine } from "./peer-D77JpXe-.js";
|
|
6
6
|
import { existsSync } from "node:fs";
|
|
7
7
|
import { join } from "node:path";
|
|
@@ -48,7 +48,7 @@ const init = defineLeaf({
|
|
|
48
48
|
...forceFlag
|
|
49
49
|
},
|
|
50
50
|
async run(ctx, { flags }) {
|
|
51
|
-
const [{ runInit }, { packageManagerOf }] = await Promise.all([import("./init-
|
|
51
|
+
const [{ runInit }, { packageManagerOf }] = await Promise.all([import("./init-B6aZxzd7.js"), import("./peer-BWTpSLs2.js")]);
|
|
52
52
|
const agent = await packageManagerOf(ctx.cwd);
|
|
53
53
|
const selection = {
|
|
54
54
|
archetype: flags.archetype,
|
|
@@ -79,7 +79,7 @@ const presetDecode = defineLeaf({
|
|
|
79
79
|
positionals: presetCode,
|
|
80
80
|
flags: {},
|
|
81
81
|
async run(_ctx, { args }) {
|
|
82
|
-
const { runPreset } = await import("./init-
|
|
82
|
+
const { runPreset } = await import("./init-B6aZxzd7.js");
|
|
83
83
|
return runPreset("decode", args["code"] ?? "");
|
|
84
84
|
}
|
|
85
85
|
});
|
|
@@ -87,7 +87,7 @@ const presetUrl = defineLeaf({
|
|
|
87
87
|
positionals: presetCode,
|
|
88
88
|
flags: {},
|
|
89
89
|
async run(_ctx, { args }) {
|
|
90
|
-
const { runPreset } = await import("./init-
|
|
90
|
+
const { runPreset } = await import("./init-B6aZxzd7.js");
|
|
91
91
|
return runPreset("url", args["code"] ?? "");
|
|
92
92
|
}
|
|
93
93
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as configuredTableReads, o as functionShares } from "./table-reads-
|
|
1
|
+
import { n as configuredTableReads, o as functionShares } from "./table-reads-BoF_58yh.js";
|
|
2
2
|
// src/cli/rls/inspect-functions.ts
|
|
3
3
|
/**
|
|
4
4
|
* `permdock supabase inspect --functions <pattern>`: for each function the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as PermDockOptions } from "./permdock-
|
|
1
|
+
import { o as PermDockOptions } from "./permdock-DkvkGVF0.js";
|
|
2
2
|
type InstanceKey = "memberships" | "relations" | "entitlements" | "customRoles" | "policies" | "approvalPolicies" | "sink" | "limits" | "principals" | "instances";
|
|
3
3
|
/**
|
|
4
4
|
* The data sources an adapter passes through to every instance it creates. Each
|
package/dist/jwt/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-
|
|
2
|
-
import { $ as JwtClaims, Ar as Subject, Or as Principal, _t as TokenSigner, bt as VerifiedToken, gn as AuthEvent, gt as TokenFailureCause, vt as TokenVerifier } from "../policy-types-
|
|
3
|
-
import { B as JsonWebKeySet, F as DpopProofResult, G as MappedSubject, H as JwtJwks, I as IntrospectionPrincipal, L as JoseTokenSignerOptions, P as DiscoveryInput, R as JoseTokenVerifier, U as JwtPrincipal, V as JwtAlgorithm, W as JwtSubjectOptions, l as ReplayStore, z as JoseTokenVerifierOptions } from "../types-
|
|
4
|
-
import { t as memoryReplayStore } from "../replay-
|
|
1
|
+
import { c as LinkPolicy, o as CapabilityPrincipal, t as Capability } from "../capability-BW-vAxJi.js";
|
|
2
|
+
import { $ as JwtClaims, Ar as Subject, Or as Principal, _t as TokenSigner, bt as VerifiedToken, gn as AuthEvent, gt as TokenFailureCause, vt as TokenVerifier } from "../policy-types-DuM3k5Ao.js";
|
|
3
|
+
import { B as JsonWebKeySet, F as DpopProofResult, G as MappedSubject, H as JwtJwks, I as IntrospectionPrincipal, L as JoseTokenSignerOptions, P as DiscoveryInput, R as JoseTokenVerifier, U as JwtPrincipal, V as JwtAlgorithm, W as JwtSubjectOptions, l as ReplayStore, z as JoseTokenVerifierOptions } from "../types-Cvfe-G_N.js";
|
|
4
|
+
import { t as memoryReplayStore } from "../replay-B__gzUx3.js";
|
|
5
5
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
6
6
|
/**
|
|
7
7
|
* `on('auth')` causes: a verification failure, or one of the three capability
|
|
@@ -24,7 +24,7 @@ const keysRename = defineLeaf({
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
async run(ctx, { flags, args }) {
|
|
27
|
-
const { runKeysRename } = await import("./rename-
|
|
27
|
+
const { runKeysRename } = await import("./rename-CI6NIF9t.js");
|
|
28
28
|
const migration = given(flags.migration);
|
|
29
29
|
return runKeysRename({
|
|
30
30
|
cwd: ctx.cwd,
|
package/dist/kysely/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ar as Subject, Fr as Condition, qt as Instant } from "../policy-types-
|
|
1
|
+
import { Ar as Subject, Fr as Condition, qt as Instant } from "../policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { n as RowCheck, t as WithSubjectOptions } from "../subject-settings-C9F1sU1d.js";
|
|
3
|
-
import { p as WhereResult } from "../permdock-
|
|
4
|
-
import { s as MembershipsMapping } from "../compile-
|
|
3
|
+
import { p as WhereResult } from "../permdock-DkvkGVF0.js";
|
|
4
|
+
import { s as MembershipsMapping } from "../compile-CoUadQXF.js";
|
|
5
5
|
import { r as RelationsMapping } from "../graph-sql-Ds3nbevr.js";
|
|
6
6
|
type KyselySelectQuery = {
|
|
7
7
|
select: (expr: unknown) => KyselySelectQuery;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PermDockProviderProps } from "./types-
|
|
1
|
+
import { n as PermDockProviderProps } from "./types-BzsplNgO.js";
|
|
2
2
|
import { ReactElement } from "react";
|
|
3
3
|
declare function PermDockProvider(props: PermDockProviderProps): ReactElement;
|
|
4
4
|
export { PermDockProvider as t };
|
|
@@ -3,7 +3,7 @@ import { i as postForm, r as parseToken, s as runDeviceFlow } from "./device-f3J
|
|
|
3
3
|
import { i as writeCredentials, n as deleteCredentials, r as readCredentials, t as credentialsPath } from "./storage-BhGDhsXm.js";
|
|
4
4
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
5
5
|
import { n as httpRequest } from "./http-BbX_Ou3_.js";
|
|
6
|
-
import { o as nonEmptyOr } from "./output-
|
|
6
|
+
import { o as nonEmptyOr } from "./output-dO4bArCS.js";
|
|
7
7
|
import { c as READ_SCOPES, d as issuerMetadata, i as credentialsInsideRepository, l as cloudUrl, n as cliRuntime, r as credentialStorage, s as CLI_CLIENT_ID, t as CREDENTIAL_SERVICE } from "./auth-WHKYWtnS.js";
|
|
8
8
|
import { n as randomToken, t as pkce } from "./pkce-DdsRBK7n.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|