permdock 0.34.0 → 0.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/a2a/index.d.ts +4 -4
- package/dist/{adoption-scan-BPW1eWy5.js → adoption-scan-B_jVJgMK.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-CKsNFj_5.js} +1 -1
- package/dist/{arazzo-BUXKjylF.js → arazzo-D-fDq8Dv.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-1oVQZWKp.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-CM9mWO1V.js → casbin-CWfeuRmI.js} +1 -1
- package/dist/{casbin-qEW6RfXA.js → casbin-DqiTIceJ.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-CvA_LeOt.js} +1 -1
- package/dist/{codemod-Dlhxov9D.js → codemod-CA0MQoG4.js} +1 -1
- package/dist/{codemod-BtJFcsD7.js → codemod-DduTfuWM.js} +6 -6
- package/dist/{collect-CE5wK0AX.js → collect-Ba7ccZ23.js} +1 -1
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-DNgpHgcK.d.ts → compile-CoUadQXF.d.ts} +2 -2
- package/dist/{compile-nR1gQhXo.js → compile-D-BULiHE.js} +2 -2
- package/dist/{completion-BIN9YXIe.js → completion-DXdFnwLY.js} +1 -1
- package/dist/{config-CoYhD6ur.js → config-BWYfHYvW.js} +1 -1
- package/dist/{config-7QvEq57a.js → config-Dan6vcvj.js} +2 -2
- package/dist/{config-report-D_L1HXDb.js → config-report-pg-66Bdr.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-C9lLeLp2.js → doctor-B55XfWdG.js} +2 -2
- package/dist/{doctor-Bn5OPJMB.js → doctor-Cs0Xl46A.js} +25 -24
- 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-Vfo2CAhv.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-Fi4GcvIY.js → gen-M_5UU5Ck.js} +2 -2
- package/dist/{gen-kind-DR2-to9P.js → gen-kind-DLz0P-TB.js} +1 -1
- package/dist/gen-vr1udb1p.js +1 -0
- package/dist/{generate-BSD_eI61.js → generate-CNkkKAL-.js} +11 -11
- package/dist/{generate-QEHCJSyv.js → generate-GCDLA8vW.js} +3 -3
- package/dist/{generate-options-BZ2nqy28.js → generate-options-O3mVjjcG.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-y0CJBLJr.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-CQSJ6xcN.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-BucxAxRw.js} +1 -1
- package/dist/{init-BOYIObRF.js → init-Cfb0VX3T.js} +3 -3
- package/dist/{inspect-functions-CwEAQpVF.js → inspect-functions-CzrQtRDb.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-xgjt0a5o.js → login-CU89mk0U.js} +3 -3
- package/dist/{login-Dv8TFykx.js → login-qYcM0hKh.js} +1 -1
- package/dist/{manager-chain-FggG63qD.js → manager-chain-CFkceFls.js} +1 -1
- package/dist/{manifest-BUeAHWDT.js → manifest-Bu9gUrI0.js} +34 -34
- package/dist/mcp/index.d.ts +8 -8
- package/dist/{measure-DZtly0oE.js → measure-C_Z0a7B8.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-Bfakk4cF.js → openapi-DIhS8iHN.js} +1 -1
- package/dist/{openapi-g58VVrsc.js → openapi-ZIlGKUwQ.js} +1 -1
- package/dist/{openapi-document-ZWpur4f1.js → openapi-document-D5IhoJo0.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-DIjUJioq.js} +1 -1
- package/dist/{ownership-DvmaGcup.js → ownership-Bmt-z0rF.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-D8RxFeZO.js} +1 -1
- package/dist/{policy-bundle-CsnNAo-n.js → policy-bundle-DC_xq2R5.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-BlfO3_jN.js} +1 -1
- package/dist/{powersync-Cz3MUw6R.js → powersync-CgCMKvaU.js} +1 -1
- package/dist/{powersync-CTKfjnPT.js → powersync-CiQ97gzz.js} +6 -6
- 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-CbhJ_XvD.js} +5 -5
- package/dist/{pull-BQELP7aV.js → pull-DLyCr-7L.js} +1 -1
- package/dist/pull-IQPhpX4y.js +1 -0
- 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-BR6PiCrx.js} +1 -1
- package/dist/{resolver-C_a-bddD.js → resolver-D2c1CcoZ.js} +1 -1
- package/dist/{rls-rk-QH4fc.js → rls-BfUIMNeV.js} +7 -7
- package/dist/{rls-BzCz7ZV0.js → rls-CdQW7v9D.js} +3 -3
- package/dist/{rls-files-Bu0O7cZ6.js → rls-files-68-nKfmG.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-DTz-e3Od.js → run-B2Axta4z.js} +3 -3
- package/dist/run-CfvcMtPK.js +1 -0
- package/dist/{run-ticket-mVPqm6M6.d.ts → run-ticket-CRldclc7.d.ts} +2 -2
- package/dist/{scan-Cn79IAJs.js → scan-DNzOELYT.js} +1 -1
- package/dist/{schema-CbzVUpWv.js → schema-CJc23R4a.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-DTpSMQRg.js} +1 -1
- package/dist/{skills-BKrN1qej.js → skills-TqrLrmuv.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-MitbozF6.js} +2 -2
- package/dist/supabase-hook-DZk7PV7Z.js +2 -0
- package/dist/{supabase-hook-t1HnQf8U.js → supabase-hook-RFLW2YPX.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-B7z40Yu-.js → table-reads-D0M_X-pj.js} +1 -1
- package/dist/{table-reads-Ci-ZVo5m.js → table-reads-Dso5UyeT.js} +1 -1
- package/dist/{tables-Bxmf2beb.js → tables-DrrGtayG.js} +91 -13
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/{tenant-check-DW0kbH-a.js → tenant-check-D6fnfQBP.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-Cv4WDRWv.js} +2 -2
- package/dist/{usage-Do7LQ4i4.js → usage-DBaJfCZB.js} +1 -1
- package/dist/usage-DOcCnIdW.js +1 -0
- package/dist/{validation-error-BKgVVMc1.d.ts → validation-error-MZ7KLNHt.d.ts} +1 -1
- package/dist/{verify-ZojGAC3f.js → verify-DT9WS_Gm.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
|
@@ -5,7 +5,7 @@ import { t as catalogFingerprint } from "./catalog-fingerprint-DAWZARy6.js";
|
|
|
5
5
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
6
6
|
import { n as flagSpellings, o as GLOBAL_FLAGS } from "./args-BSpXxMnb.js";
|
|
7
7
|
import { c as generateFlags, f as policyFlag, i as dryRunFlag, r as dbUrlFlags, t as checkFlag } from "./flags-DQzNPxg1.js";
|
|
8
|
-
import { n as ROOT } from "./manifest-
|
|
8
|
+
import { n as ROOT } from "./manifest-Bu9gUrI0.js";
|
|
9
9
|
import { n as baselineText, r as parseBaseline } from "./baseline-file-BQoki1O_.js";
|
|
10
10
|
import { r as resolveConfigRoot, t as configProperty } from "./config-paths-CQvGng3k.js";
|
|
11
11
|
import { n as propertyKey, r as removeProperty, t as applyEditsStrict } from "./edits-CqU8s2GC.js";
|
|
@@ -8,7 +8,7 @@ const codemod = defineLeaf({
|
|
|
8
8
|
description: "The release to migrate to (0.5), config with --prune, manager-chain, bsb-access-tags or bsb-action-keys",
|
|
9
9
|
required: true,
|
|
10
10
|
async complete() {
|
|
11
|
-
return (await import("./codemod-
|
|
11
|
+
return (await import("./codemod-CA0MQoG4.js")).codemodVersions();
|
|
12
12
|
}
|
|
13
13
|
}, {
|
|
14
14
|
name: "paths",
|
|
@@ -33,7 +33,7 @@ const codemod = defineLeaf({
|
|
|
33
33
|
async run(ctx, { flags, args, rest }) {
|
|
34
34
|
if (args["version"] === "config") {
|
|
35
35
|
if (!flags.prune) throw new CliError("usage", "codemod config needs --prune", { code: "invalid_value" });
|
|
36
|
-
return (await import("./prune-config
|
|
36
|
+
return (await import("./prune-config-CbhJ_XvD.js")).runPruneConfig({
|
|
37
37
|
cwd: ctx.cwd,
|
|
38
38
|
check: flags.check,
|
|
39
39
|
dryRun: flags["dry-run"],
|
|
@@ -41,7 +41,7 @@ const codemod = defineLeaf({
|
|
|
41
41
|
json: ctx.json
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
if (args["version"] === "bsb-access-tags") return (await import("./bsb-access-tags-
|
|
44
|
+
if (args["version"] === "bsb-access-tags") return (await import("./bsb-access-tags-1oVQZWKp.js")).runAccessTags({
|
|
45
45
|
cwd: ctx.cwd,
|
|
46
46
|
...rest[0] === void 0 ? {} : { schemas: rest[0] },
|
|
47
47
|
dryRun: flags["dry-run"],
|
|
@@ -49,20 +49,20 @@ const codemod = defineLeaf({
|
|
|
49
49
|
force: flags.force,
|
|
50
50
|
json: ctx.json
|
|
51
51
|
});
|
|
52
|
-
if (args["version"] === "bsb-action-keys") return (await import("./bsb-action-keys-
|
|
52
|
+
if (args["version"] === "bsb-action-keys") return (await import("./bsb-action-keys-BfZAwg-9.js")).runActionKeys({
|
|
53
53
|
cwd: ctx.cwd,
|
|
54
54
|
dryRun: flags["dry-run"],
|
|
55
55
|
force: flags.force,
|
|
56
56
|
json: ctx.json
|
|
57
57
|
});
|
|
58
|
-
if (args["version"] === "manager-chain") return (await import("./manager-chain-
|
|
58
|
+
if (args["version"] === "manager-chain") return (await import("./manager-chain-CFkceFls.js")).runManagerChain({
|
|
59
59
|
cwd: ctx.cwd,
|
|
60
60
|
...rest[0] === void 0 ? {} : { schemas: rest[0] },
|
|
61
61
|
dryRun: flags["dry-run"],
|
|
62
62
|
force: flags.force,
|
|
63
63
|
json: ctx.json
|
|
64
64
|
});
|
|
65
|
-
return (await import("./codemod-
|
|
65
|
+
return (await import("./codemod-CA0MQoG4.js")).runCodemod({
|
|
66
66
|
cwd: ctx.cwd,
|
|
67
67
|
version: args["version"],
|
|
68
68
|
paths: rest,
|
|
@@ -29,7 +29,7 @@ const collect = defineLeaf({
|
|
|
29
29
|
};
|
|
30
30
|
if (flags.watch) {
|
|
31
31
|
if (flags.check) throw new CliError("usage", "collect: --watch writes the catalog; drop --check", { code: "invalid_value" });
|
|
32
|
-
return (await import("./watch-
|
|
32
|
+
return (await import("./watch-Be7ja4dL.js")).watchCollect(ctx, overrides);
|
|
33
33
|
}
|
|
34
34
|
const result = await (await import("./collect-CIdE3FGC.js")).runCollect({
|
|
35
35
|
cwd: ctx.cwd,
|
package/dist/compile/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as CompiledWhere, c as compileWhere, i as CompiledSql, l as escapeLike, n as CompiledCompare, o as MembershipTable, r as CompiledExists, s as MembershipsMapping, t as CompileWhereOptions } from "../compile-
|
|
1
|
+
import { a as CompiledWhere, c as compileWhere, i as CompiledSql, l as escapeLike, n as CompiledCompare, o as MembershipTable, r as CompiledExists, s as MembershipsMapping, t as CompileWhereOptions } from "../compile-CoUadQXF.js";
|
|
2
2
|
import { n as GraphSqlPart, r as RelationsMapping, t as GraphSql } from "../graph-sql-Ds3nbevr.js";
|
|
3
3
|
export { type CompileWhereOptions, type CompiledCompare, type CompiledExists, type CompiledSql, type CompiledWhere, type GraphSql, type GraphSqlPart, type MembershipTable, type MembershipsMapping, type RelationsMapping, compileWhere, escapeLike };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as WhereResult } from "./permdock-
|
|
1
|
+
import { p as WhereResult } from "./permdock-DkvkGVF0.js";
|
|
2
2
|
import { P as ResourceNode } from "./vocabulary-DHfKPIC5.js";
|
|
3
|
-
import { Ar as Subject, Fr as Condition, jn as Scope, qt as Instant } from "./policy-types-
|
|
3
|
+
import { Ar as Subject, Fr as Condition, jn as Scope, qt as Instant } from "./policy-types-DuM3k5Ao.js";
|
|
4
4
|
import { r as RelationsMapping, t as GraphSql } from "./graph-sql-Ds3nbevr.js";
|
|
5
5
|
type MembershipTable = {
|
|
6
6
|
readonly table: string;
|
|
@@ -11,14 +11,14 @@ import { l as isConditionRef, o as hasConditionOp } from "./refs-Cix9Zjis.js";
|
|
|
11
11
|
import { t as requiresApproval } from "./approval-required-B-R4Yw3J.js";
|
|
12
12
|
import { c as jsonSchemaOf } from "./catalog-doc-D4g3nyFB.js";
|
|
13
13
|
import { i as configError } from "./errors-DgLOqc6j.js";
|
|
14
|
-
import {
|
|
14
|
+
import { A as tokenScopeAllowsCall, L as capabilityAccessSql, S as accessSql, f as requiresSql, z as apiKeyAllowsCall } from "./tables-DrrGtayG.js";
|
|
15
15
|
import { t as connectPgPool } from "./pg-DmS5ITHu.js";
|
|
16
16
|
import { S as scopeTable } from "./names-DBxKx2bz.js";
|
|
17
17
|
import { a as quoteIdent, c as quoteTable, o as quoteLiteral } from "./quote-LNaBdCGA.js";
|
|
18
18
|
import { r as interactiveAllowsCall } from "./interactive-only-Bbq9e61G.js";
|
|
19
19
|
import { _ as validitySql, h as andSql, v as wrapSql } from "./fields-CwFej4gp.js";
|
|
20
20
|
import { _ as arrayColumnsOf, d as subjectClaimSql, u as subjectClaimJsonSql, v as columnTypesOf } from "./subject-B7p94Y0s.js";
|
|
21
|
-
import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./rbac-
|
|
21
|
+
import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./rbac-DbyaaNLa.js";
|
|
22
22
|
import { createHash } from "node:crypto";
|
|
23
23
|
// src/cli/rls/indexes.ts
|
|
24
24
|
/** Postgres truncates identifiers longer than this, in bytes. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as suggestion, o as GLOBAL_FLAGS } from "./args-BSpXxMnb.js";
|
|
2
2
|
import { t as defineLeaf } from "./command-9GAzSI7E.js";
|
|
3
|
-
import { a as resolve } from "./manifest-
|
|
3
|
+
import { a as resolve } from "./manifest-Bu9gUrI0.js";
|
|
4
4
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
5
5
|
// src/cli/core/completion.ts
|
|
6
6
|
const SHELLS = [
|
|
@@ -10,7 +10,7 @@ const config = defineLeaf({
|
|
|
10
10
|
...failOnFlag
|
|
11
11
|
},
|
|
12
12
|
async run(ctx, { flags }) {
|
|
13
|
-
const { runConfig } = await import("./config-report-
|
|
13
|
+
const { runConfig } = await import("./config-report-pg-66Bdr.js");
|
|
14
14
|
return runConfig({
|
|
15
15
|
cwd: ctx.cwd,
|
|
16
16
|
config: ctx.config,
|
|
@@ -3,7 +3,7 @@ import "./budget-BH81q2cj.js";
|
|
|
3
3
|
import { i as configError, n as CliError } from "./errors-DgLOqc6j.js";
|
|
4
4
|
import { i as qualifySqlTable } from "./sql-T4GaBh9X.js";
|
|
5
5
|
import { t as membershipSourcesOf } from "./sources-BbSUNmFX.js";
|
|
6
|
-
import { a as isSection, i as isModuleKey, n as MODULE_KEYS, o as kindOf, r as describeKinds, t as CONFIG_SHAPE } from "./config-shape-
|
|
6
|
+
import { a as isSection, i as isModuleKey, n as MODULE_KEYS, o as kindOf, r as describeKinds, t as CONFIG_SHAPE } from "./config-shape-BODqM-rG.js";
|
|
7
7
|
import { isDeepStrictEqual } from "node:util";
|
|
8
8
|
import { existsSync, readFileSync, readdirSync, statSync } from "node:fs";
|
|
9
9
|
import { dirname, join, relative, resolve } from "node:path";
|
|
@@ -503,7 +503,7 @@ function hasModuleValue(raw) {
|
|
|
503
503
|
return isRecord(raw) && Object.keys(MODULE_KEYS).some((key) => isRecord(raw[key]));
|
|
504
504
|
}
|
|
505
505
|
async function traceValues(cwd, file, display, config, options) {
|
|
506
|
-
const { traceModuleValues } = await import("./module-values-
|
|
506
|
+
const { traceModuleValues } = await import("./module-values-D-AiNhBp.js");
|
|
507
507
|
return traceModuleValues({
|
|
508
508
|
cwd,
|
|
509
509
|
file,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./sources-C6Id63F8.js";
|
|
2
2
|
import { t as catalogPath } from "./catalog-path-bG0XxHMu.js";
|
|
3
3
|
import { n as guessPermissions, t as barrelFile } from "./collect-CPimbkC5.js";
|
|
4
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
4
|
+
import { t as DOCS_BASE } from "./manifest-Bu9gUrI0.js";
|
|
5
5
|
import { r as CONFIG_REPORT_SCHEMA } from "./version-D-jWyJb9.js";
|
|
6
6
|
import { a as rel, t as defaultSrcPath } from "./files-DAR51W3J.js";
|
|
7
7
|
import { n as restatedDefaults, t as resolveConfig } from "./resolve-config-Cu_mE2wt.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as packageManagerOf } from "./peer-D77JpXe-.js";
|
|
2
|
-
import { c as readSupabaseConfig } from "./supabase-schemas-
|
|
2
|
+
import { c as readSupabaseConfig } from "./supabase-schemas-CVhpyYB6.js";
|
|
3
3
|
import { existsSync, readdirSync } from "node:fs";
|
|
4
4
|
import { join, relative } from "node:path";
|
|
5
5
|
// src/cli/generate/context.ts
|
package/dist/convex/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-
|
|
2
|
-
import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-
|
|
3
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
4
|
-
import { a as PermDock } from "../permdock-
|
|
1
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-BliKrfmP.js";
|
|
3
|
+
import { t as InstanceOptions } from "../instance-options-DDERlopm.js";
|
|
4
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
5
5
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
6
6
|
type ConvexContextLike = {
|
|
7
7
|
readonly auth?: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as Policy, Dr as Membership, Sr as CustomRole, ir as Decision } from "./policy-types-
|
|
2
|
-
import { o as PermDockOptions, p as WhereResult } from "./permdock-
|
|
1
|
+
import { D as Policy, Dr as Membership, Sr as CustomRole, ir as Decision } from "./policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { o as PermDockOptions, p as WhereResult } from "./permdock-DkvkGVF0.js";
|
|
3
3
|
import { w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
4
4
|
type MatrixOutcome = "granted" | "denied" | "approval-required";
|
|
5
5
|
type MatrixCell = MatrixOutcome | {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as ApprovalErrorCode } from "./errors-KngVdJT9.js";
|
|
2
|
-
import { m as ApprovalStore, p as ApprovalStatus } from "./types-
|
|
3
|
-
import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, cr as DeniedDecision, rr as ApprovalRequiredDecision, ur as GrantedDecision } from "./policy-types-
|
|
2
|
+
import { m as ApprovalStore, p as ApprovalStatus } from "./types-BGN3coSe.js";
|
|
3
|
+
import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, cr as DeniedDecision, rr as ApprovalRequiredDecision, ur as GrantedDecision } from "./policy-types-DuM3k5Ao.js";
|
|
4
4
|
import { t as Operation } from "./operations-DaEoGpMV.js";
|
|
5
|
-
import { a as PermDock, o as PermDockOptions, v as PrincipalSource } from "./permdock-
|
|
6
|
-
import { t as ApprovalPrompt } from "./approval-prompt-
|
|
5
|
+
import { a as PermDock, o as PermDockOptions, v as PrincipalSource } from "./permdock-DkvkGVF0.js";
|
|
6
|
+
import { t as ApprovalPrompt } from "./approval-prompt-BKxaKtby.js";
|
|
7
7
|
/**
|
|
8
8
|
* The platform user behind a chat message or action. Fill it only from an event
|
|
9
9
|
* whose platform signature the transport verified; a body field or a model
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, ir as Decision, wr as Delegation } from "./policy-types-
|
|
2
|
-
import { a as PermDock } from "./permdock-
|
|
3
|
-
import { m as ApprovalStore } from "./types-
|
|
4
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
1
|
+
import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, ir as Decision, wr as Delegation } from "./policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { a as PermDock } from "./permdock-DkvkGVF0.js";
|
|
3
|
+
import { m as ApprovalStore } from "./types-BGN3coSe.js";
|
|
4
|
+
import { t as InstanceOptions } from "./instance-options-DDERlopm.js";
|
|
5
5
|
import { t as Operation } from "./operations-DaEoGpMV.js";
|
|
6
6
|
import { w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
7
7
|
import { t as RequestContext } from "./request-context-E3-ps-H_.js";
|
|
8
|
-
import { n as PermDockWrap } from "./wrap-
|
|
9
|
-
import { o as OtelWrap } from "./types-
|
|
10
|
-
import { t as DeniedText } from "./denied-text-
|
|
8
|
+
import { n as PermDockWrap } from "./wrap-C36-eV-C.js";
|
|
9
|
+
import { o as OtelWrap } from "./types-DRMoZjJm.js";
|
|
10
|
+
import { t as DeniedText } from "./denied-text-DgNqDAPH.js";
|
|
11
11
|
/**
|
|
12
12
|
* What the user can do to lift a denial: authenticate again with the `acr` and
|
|
13
13
|
* `maxAge` the failing grants ask for, or activate a role they are eligible
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as ApprovalStore } from "./types-
|
|
2
|
-
import { a as AutomationSource } from "./automation-
|
|
3
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal, _t as TokenSigner, ar as Denial, gn as AuthEvent, ir as Decision, qt as Instant, vt as TokenVerifier } from "./policy-types-
|
|
4
|
-
import { a as PermDock, n as DecideOptions, o as PermDockOptions, v as PrincipalSource } from "./permdock-
|
|
1
|
+
import { m as ApprovalStore } from "./types-BGN3coSe.js";
|
|
2
|
+
import { a as AutomationSource } from "./automation-C7WH5XcZ.js";
|
|
3
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal, _t as TokenSigner, ar as Denial, gn as AuthEvent, ir as Decision, qt as Instant, vt as TokenVerifier } from "./policy-types-DuM3k5Ao.js";
|
|
4
|
+
import { a as PermDock, n as DecideOptions, o as PermDockOptions, v as PrincipalSource } from "./permdock-DkvkGVF0.js";
|
|
5
5
|
import { w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
6
|
-
import { c as RunResource, i as RunBinding, r as RunAutomation } from "./run-ticket-
|
|
7
|
-
import { n as ApprovalWaiter } from "./waiter-
|
|
6
|
+
import { c as RunResource, i as RunBinding, r as RunAutomation } from "./run-ticket-CRldclc7.js";
|
|
7
|
+
import { n as ApprovalWaiter } from "./waiter-DdwtUSzB.js";
|
|
8
8
|
type WorkflowPermDockOptions = PermDockOptions & {
|
|
9
9
|
/** Signs the run tickets `start` mints. */
|
|
10
10
|
readonly signer: TokenSigner;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ar as Subject, G as CredentialVerifier, Mt as Credential, Pt as CredentialKind, X as DecisionSink, gn as AuthEvent, jt as ApiKeyPrincipal, lt as SettingsSource } from "./policy-types-
|
|
1
|
+
import { Ar as Subject, G as CredentialVerifier, Mt as Credential, Pt as CredentialKind, X as DecisionSink, gn as AuthEvent, jt as ApiKeyPrincipal, lt as SettingsSource } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { E as PermissionTree } from "./vocabulary-DHfKPIC5.js";
|
|
3
|
-
import { v as PrincipalSource } from "./permdock-
|
|
3
|
+
import { v as PrincipalSource } from "./permdock-DkvkGVF0.js";
|
|
4
4
|
/** `on('auth')` causes for an API key that resolves to the anonymous subject. */
|
|
5
5
|
type ApiKeyFailureCause = "malformed" | "unknown-credential" | "invalid-claims" | "expired" | "credential-policy" | "credential-revoked" | "owner-unavailable";
|
|
6
6
|
/** An opaque key split at its last `_`: `pdk_<id>_<secret><checksum>`. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { m as ApprovalStore } from "./types-
|
|
2
|
-
import { r as ApiKeySubjectOptions } from "./credentials-
|
|
1
|
+
import { m as ApprovalStore } from "./types-BGN3coSe.js";
|
|
2
|
+
import { r as ApiKeySubjectOptions } from "./credentials-DzNrCNZY.js";
|
|
3
3
|
import { t as ClaimsMap } from "./claims-map-CLKQWxJG.js";
|
|
4
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
5
|
-
import { a as PermDock, o as PermDockOptions } from "./permdock-
|
|
6
|
-
import { n as SubjectCache, s as VersionCache } from "./subject-cache-
|
|
7
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "./policy-types-
|
|
4
|
+
import { t as InstanceOptions } from "./instance-options-DDERlopm.js";
|
|
5
|
+
import { a as PermDock, o as PermDockOptions } from "./permdock-DkvkGVF0.js";
|
|
6
|
+
import { n as SubjectCache, s as VersionCache } from "./subject-cache-Bn4oJY_R.js";
|
|
7
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "./policy-types-DuM3k5Ao.js";
|
|
8
8
|
/**
|
|
9
9
|
* How strict `definePermDock` is about the services the policy needs. `dev`
|
|
10
10
|
* fills in in-process defaults (a memory approval store and a memory limit
|
|
@@ -7,6 +7,7 @@ import { t as readClaim } from "./claims-map-BGbpbvGD.js";
|
|
|
7
7
|
import { t as clientNameOf } from "./clients-Bb_33pRE.js";
|
|
8
8
|
import { t as CUSTOM_ROLES_VERSION_CLAIM } from "./budget-BH81q2cj.js";
|
|
9
9
|
import { t as authorizationDetailsOf } from "./delegation-input-7Y5Rlja7.js";
|
|
10
|
+
import { t as IDENTITY_SCOPES } from "./identity-scopes-CRVAV0HU.js";
|
|
10
11
|
// src/supabase/subject.ts
|
|
11
12
|
/**
|
|
12
13
|
* Claim names Supabase Auth or the OAuth server issues; the hook may not
|
|
@@ -202,14 +203,6 @@ function actorOf(claims) {
|
|
|
202
203
|
return INVALID_CHAIN;
|
|
203
204
|
}
|
|
204
205
|
}
|
|
205
|
-
const IDENTITY_SCOPES = /* @__PURE__ */ new Set([
|
|
206
|
-
"openid",
|
|
207
|
-
"profile",
|
|
208
|
-
"email",
|
|
209
|
-
"address",
|
|
210
|
-
"phone",
|
|
211
|
-
"offline_access"
|
|
212
|
-
]);
|
|
213
206
|
/**
|
|
214
207
|
* The OAuth `scope` claim (a space-separated string or a list) as `scopes`,
|
|
215
208
|
* without the OpenID Connect identity scopes; `undefined` when none is left.
|
package/dist/delivery/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Sn as DeliveryFailureCause, bn as DeliveryChannel, wn as EmailCategory } from "../policy-types-
|
|
2
|
-
import { i as approvalUrlFor, n as ApprovalUrl, r as approvalPrompt, t as ApprovalPrompt } from "../approval-prompt-
|
|
3
|
-
import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, d as EmailTransport, f as EmailUnsubscribe, g as TransportMessages, h as TransportItem, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, n as ChatTransport, o as DeliveryResult, p as OutgoingEmail, r as DeliverOptions, s as DeliveryTarget, t as ChatMessage, u as EmailMessage, v as WebhookMessage, y as WebhookTransport } from "../types-
|
|
4
|
-
import { C as audience, S as SubscriberEvent, _ as ParseConnectorResult, a as DeliveryPermDock, b as Audience, c as MemoryDelivery, d as memoryDeliveryTransport, f as CONNECTOR_SCHEMA, g as ConnectorKind, h as ConnectorIssue, i as isDeliveryTarget, l as MemoryDeliveryTransport, m as Connector, n as webhookTransport, o as DeliveryPermDockOptions, p as CONNECTOR_KINDS, r as isAddrSpec, s as createPermDock, t as WebhookTransportOptions, u as MemoryDeliveryTransportOptions, v as SiemDestination, w as subscribersFor, x as AudienceOptions, y as parseConnector } from "../index-
|
|
1
|
+
import { Sn as DeliveryFailureCause, bn as DeliveryChannel, wn as EmailCategory } from "../policy-types-DuM3k5Ao.js";
|
|
2
|
+
import { i as approvalUrlFor, n as ApprovalUrl, r as approvalPrompt, t as ApprovalPrompt } from "../approval-prompt-BKxaKtby.js";
|
|
3
|
+
import { _ as TransportOptions, a as DeliveryReport, c as DeliveryTransport, d as EmailTransport, f as EmailUnsubscribe, g as TransportMessages, h as TransportItem, i as DeliveryMessages, l as DeliveryTransports, m as Recipient, n as ChatTransport, o as DeliveryResult, p as OutgoingEmail, r as DeliverOptions, s as DeliveryTarget, t as ChatMessage, u as EmailMessage, v as WebhookMessage, y as WebhookTransport } from "../types-D3GI2B9O.js";
|
|
4
|
+
import { C as audience, S as SubscriberEvent, _ as ParseConnectorResult, a as DeliveryPermDock, b as Audience, c as MemoryDelivery, d as memoryDeliveryTransport, f as CONNECTOR_SCHEMA, g as ConnectorKind, h as ConnectorIssue, i as isDeliveryTarget, l as MemoryDeliveryTransport, m as Connector, n as webhookTransport, o as DeliveryPermDockOptions, p as CONNECTOR_KINDS, r as isAddrSpec, s as createPermDock, t as WebhookTransportOptions, u as MemoryDeliveryTransportOptions, v as SiemDestination, w as subscribersFor, x as AudienceOptions, y as parseConnector } from "../index-CWBCzwOp.js";
|
|
5
5
|
export { type ApprovalPrompt, type ApprovalUrl, type Audience, type AudienceOptions, CONNECTOR_KINDS, CONNECTOR_SCHEMA, type ChatMessage, type ChatTransport, type Connector, type ConnectorIssue, type ConnectorKind, type DeliverOptions, type DeliveryChannel, type DeliveryFailureCause, type DeliveryMessages, type DeliveryPermDock, type DeliveryPermDockOptions, type DeliveryReport, type DeliveryResult, type DeliveryTarget, type DeliveryTransport, type DeliveryTransports, type EmailCategory, type EmailMessage, type EmailTransport, type EmailUnsubscribe, type MemoryDelivery, type MemoryDeliveryTransport, type MemoryDeliveryTransportOptions, type OutgoingEmail, type ParseConnectorResult, type Recipient, type SiemDestination, type SubscriberEvent, type TransportItem, type TransportMessages, type TransportOptions, type WebhookMessage, type WebhookTransport, type WebhookTransportOptions, approvalPrompt, approvalUrlFor, audience, createPermDock, isAddrSpec, isDeliveryTarget, memoryDeliveryTransport, parseConnector, subscribersFor, webhookTransport };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cr as DeniedDecision, ir as Decision, sr as DenialReason } from "./policy-types-
|
|
1
|
+
import { cr as DeniedDecision, ir as Decision, sr as DenialReason } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { w as Permission } from "./vocabulary-DHfKPIC5.js";
|
|
3
3
|
type DecisionDescription = {
|
|
4
4
|
readonly kind: "granted" | "denied" | "approval" | "tenant" | "delegation" | "server-only" | "upgrade";
|
|
@@ -11,7 +11,7 @@ const doctor = defineLeaf({
|
|
|
11
11
|
description: "Check codes or groups to run",
|
|
12
12
|
valueHint: "code",
|
|
13
13
|
async complete() {
|
|
14
|
-
const { DOCTOR_CHECKS } = await import("./doctor-
|
|
14
|
+
const { DOCTOR_CHECKS } = await import("./doctor-Cs0Xl46A.js");
|
|
15
15
|
return [.../* @__PURE__ */ new Set([...DOCTOR_CHECKS.map(({ code }) => code), ...DOCTOR_CHECKS.flatMap(({ groups }) => groups)])];
|
|
16
16
|
}
|
|
17
17
|
},
|
|
@@ -46,7 +46,7 @@ const doctor = defineLeaf({
|
|
|
46
46
|
if (answer === void 0) return CANCELLED;
|
|
47
47
|
fix = answer;
|
|
48
48
|
}
|
|
49
|
-
return (await import("./doctor-
|
|
49
|
+
return (await import("./doctor-Cs0Xl46A.js")).runDoctor({
|
|
50
50
|
cwd: ctx.cwd,
|
|
51
51
|
config: ctx.config,
|
|
52
52
|
only: flags.only,
|
|
@@ -2,30 +2,30 @@ import { c as rootScope, d as scopeList, o as normalizeMemberships, s as resolve
|
|
|
2
2
|
import { r as supabaseTenantClaim } from "./budget-BH81q2cj.js";
|
|
3
3
|
import { r as runCollect } from "./collect-CPimbkC5.js";
|
|
4
4
|
import { t as didYouMean } from "./args-BSpXxMnb.js";
|
|
5
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
6
|
-
import { o as nonEmptyOr, r as findingOf } from "./output-
|
|
5
|
+
import { t as DOCS_BASE } from "./manifest-Bu9gUrI0.js";
|
|
6
|
+
import { o as nonEmptyOr, r as findingOf } from "./output-DIjUJioq.js";
|
|
7
7
|
import { t as createStyle } from "./style-CQDaLJtP.js";
|
|
8
8
|
import { i as DOCTOR_REPORT_SCHEMA } from "./version-D-jWyJb9.js";
|
|
9
9
|
import { a as rel, n as doctorSrcPath, o as sqlFiles$1, r as listSourceFiles } from "./files-DAR51W3J.js";
|
|
10
10
|
import { r as pgConnector } from "./pg-DmS5ITHu.js";
|
|
11
11
|
import { a as describeError, n as CliError } from "./errors-DgLOqc6j.js";
|
|
12
|
-
import { S as restatedFacts, _ as workspaceDirs, b as readJson, d as betterSupabaseAuthzVersions, f as betterSupabaseConfig, g as betterSupabaseTenantClaim, h as betterSupabaseInstalled, m as betterSupabaseDefaults, o as readParsedConfig, p as betterSupabaseConfigPath, t as configFileIn, u as BETTER_SUPABASE_AUTHZ_TOPIC, v as filesOf, x as membershipDisagreements, y as nodeFiles } from "./config-
|
|
12
|
+
import { S as restatedFacts, _ as workspaceDirs, b as readJson, d as betterSupabaseAuthzVersions, f as betterSupabaseConfig, g as betterSupabaseTenantClaim, h as betterSupabaseInstalled, m as betterSupabaseDefaults, o as readParsedConfig, p as betterSupabaseConfigPath, t as configFileIn, u as BETTER_SUPABASE_AUTHZ_TOPIC, v as filesOf, x as membershipDisagreements, y as nodeFiles } from "./config-Dan6vcvj.js";
|
|
13
13
|
import { a as loadModule, i as loadConfiguredPolicy, n as asPolicy, s as pickNamed } from "./load-m7jmit3y.js";
|
|
14
|
-
import { i as runSkillsInstall } from "./skills-
|
|
14
|
+
import { i as runSkillsInstall } from "./skills-DTpSMQRg.js";
|
|
15
15
|
import { i as withSchemaDefaults, n as schemaDefaults, r as schemaTables } from "./schema-tables-Ba9LE_XB.js";
|
|
16
|
-
import { a as pd074, c as readSupabaseConfig, i as pd045, l as supabaseConfig, n as resolveSchemas, o as pd127, s as pd136, u as supabaseConfigName } from "./supabase-schemas-
|
|
17
|
-
import { f as attrsPlan, i as supabaseHookManifest, n as hooklessDatabase, r as supabaseDatabaseManifest } from "./hook-sql-
|
|
18
|
-
import { i as pd039, t as hookOut } from "./supabase-hook-
|
|
16
|
+
import { a as pd074, c as readSupabaseConfig, i as pd045, l as supabaseConfig, n as resolveSchemas, o as pd127, s as pd136, u as supabaseConfigName } from "./supabase-schemas-CVhpyYB6.js";
|
|
17
|
+
import { f as attrsPlan, i as supabaseHookManifest, n as hooklessDatabase, r as supabaseDatabaseManifest } from "./hook-sql-y0CJBLJr.js";
|
|
18
|
+
import { i as pd039, t as hookOut } from "./supabase-hook-RFLW2YPX.js";
|
|
19
19
|
import { t as parseCatalog } from "./parse-CUqZ_lLC.js";
|
|
20
20
|
import { t as catalogPath } from "./catalog-path-bG0XxHMu.js";
|
|
21
21
|
import { n as bsbActions, t as answerOf } from "./bsb-actions-BHiyBxQZ.js";
|
|
22
22
|
import { c as outFiles } from "./output-files-8lfALMSU.js";
|
|
23
|
-
import { a as guardedTables, r as unsatisfiedKinds, t as ownershipRules } from "./ownership-
|
|
23
|
+
import { a as guardedTables, r as unsatisfiedKinds, t as ownershipRules } from "./ownership-Bmt-z0rF.js";
|
|
24
24
|
import { n as MIGRATION_DIRS, t as DEFAULT_SENSITIVE_ACTIONS } from "./constants-PCJiir_3.js";
|
|
25
25
|
import { n as membershipColumns, r as tableKey } from "./deciding-columns-DBZsrpdD.js";
|
|
26
26
|
import { a as parseSqlFile, c as readPolicy$1, d as sqlCalls, f as stringValues, h as sqlStatements, l as readRelation, o as parseSqlLenient, p as group, r as functionArgTypes, s as parseSqlStatements, t as SqlSyntaxError } from "./ast-Dnm2TOHN.js";
|
|
27
27
|
import { t as applyFiles } from "./files-DuV7wRim.js";
|
|
28
|
-
import { o as splitIgnored } from "./verify-
|
|
28
|
+
import { o as splitIgnored } from "./verify-DT9WS_Gm.js";
|
|
29
29
|
import { a as updatedBaseline, i as readBaseline, n as baselineText, t as applyBaseline } from "./baseline-file-BQoki1O_.js";
|
|
30
30
|
import { n as activeTenantMismatch, t as authorizationProvider } from "./provider-BwqzED5h.js";
|
|
31
31
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
@@ -36,9 +36,9 @@ import { a as nameOf, i as lineIndex, o as nodes, r as child, u as walk } from "
|
|
|
36
36
|
import { r as parseSync, t as createVisitor } from "./optional-CaQWp9HA.js";
|
|
37
37
|
import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
|
|
38
38
|
import { c as jsonSchemaOf, i as catalogOAuthScopes } from "./catalog-doc-D4g3nyFB.js";
|
|
39
|
-
import { a as pd015, i as pd014, n as ADAPTER_SPECIFIERS, o as runtimeSpecifiers, r as pd001, t as runUsage } from "./usage-
|
|
39
|
+
import { a as pd015, i as pd014, n as ADAPTER_SPECIFIERS, o as runtimeSpecifiers, r as pd001, t as runUsage } from "./usage-Cv4WDRWv.js";
|
|
40
40
|
import { c as listPermissions, h as formerKeys } from "./permission-registry-DstT40VS.js";
|
|
41
|
-
import { t as resolveNames } from "./resolve-names-
|
|
41
|
+
import { t as resolveNames } from "./resolve-names-BR6PiCrx.js";
|
|
42
42
|
import "./markers-C-kThnKN.js";
|
|
43
43
|
import { i as qualifySqlTable, s as quoteSqlLiteral } from "./sql-T4GaBh9X.js";
|
|
44
44
|
import { s as parseCredential } from "./credential-D9in5keC.js";
|
|
@@ -54,31 +54,31 @@ import { t as operationCoverage } from "./coverage-C3jVYC9Y.js";
|
|
|
54
54
|
import { a as snapshotSize, r as mostPrivilegedRole, t as SNAPSHOT_BUDGET_BYTES } from "./snapshot-size-NklqBKcV.js";
|
|
55
55
|
import { a as taggedPolicyId, o as taggedPolicyIds } from "./bsb-access-Bcw6GrQm.js";
|
|
56
56
|
import { t as membershipSourcesOf } from "./sources-BbSUNmFX.js";
|
|
57
|
-
import { a as ownedObjects, i as inReservedDir, o as shownKey, r as generatedByPermdock, s as withoutOwned, t as policyModel } from "./model-
|
|
57
|
+
import { a as ownedObjects, i as inReservedDir, o as shownKey, r as generatedByPermdock, s as withoutOwned, t as policyModel } from "./model-BYCtXS_g.js";
|
|
58
58
|
import { a as pd114, i as pd110, r as pd109 } from "./claims-size-BUhCWS88.js";
|
|
59
59
|
import { t as importFromApp } from "./app-peer-BnMh5lqz.js";
|
|
60
60
|
import { c as rlsReport, o as policiesFor } from "./report-XdCm1y_J.js";
|
|
61
61
|
import { a as scopeMembershipTable } from "./compile-BUKXrueE.js";
|
|
62
|
-
import { a as powersyncOut, c as streamOf, i as powersyncFiles, n as staleFiles, o as roleSources, s as scopeSourcesOf } from "./powersync-
|
|
62
|
+
import { a as powersyncOut, c as streamOf, i as powersyncFiles, n as staleFiles, o as roleSources, r as publicationPath, s as scopeSourcesOf } from "./powersync-CiQ97gzz.js";
|
|
63
63
|
import { t as parseProgram } from "./program-CvarkLMS.js";
|
|
64
64
|
import { t as FIELD_VIEWS } from "./fields-CwFej4gp.js";
|
|
65
65
|
import { n as restatedDefaults } from "./resolve-config-Cu_mE2wt.js";
|
|
66
66
|
import { t as policyRowConditionKeys } from "./row-conditions-DwIJocfQ.js";
|
|
67
|
-
import {
|
|
67
|
+
import { X as policyBundle, et as graphPlan, i as tableNames, r as tableNameOf } from "./tables-DrrGtayG.js";
|
|
68
68
|
import { n as byKey } from "./compare-8SNJN-9U.js";
|
|
69
|
-
import { a as tableFor, n as commandFor, o as unmappedActions, r as compileGrants, t as INFERRED_VERBS } from "./compile-
|
|
70
|
-
import { p as contextRefs } from "./rbac-
|
|
69
|
+
import { a as tableFor, n as commandFor, o as unmappedActions, r as compileGrants, t as INFERRED_VERBS } from "./compile-D-BULiHE.js";
|
|
70
|
+
import { p as contextRefs } from "./rbac-DbyaaNLa.js";
|
|
71
71
|
import { c as rowConditionMessage, o as helperTablePolicies, r as ROW_CONDITION_FIX } from "./helper-calls-B5MOl99d.js";
|
|
72
72
|
import { i as graphSqlName } from "./names-DBxKx2bz.js";
|
|
73
73
|
import { t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
|
|
74
74
|
import { n as isSeeds } from "./seeds-Bs44UDS3.js";
|
|
75
75
|
import { r as FIXTURES_PATH, s as seedPathsLine } from "./seed-sql-CjF7u0aX.js";
|
|
76
|
-
import { i as buildContext, n as isRefusal, o as inheritTargets, t as generateOptions } from "./generate-options-
|
|
76
|
+
import { i as buildContext, n as isRefusal, o as inheritTargets, t as generateOptions } from "./generate-options-O3mVjjcG.js";
|
|
77
77
|
import { n as propertyKey } from "./edits-CqU8s2GC.js";
|
|
78
78
|
import { n as legacyHelperNames, r as retirePlan, t as legacyHelperCalls } from "./retire-FN4aY6-n.js";
|
|
79
79
|
import { t as supautilsRejections } from "./supautils-C85NuESf.js";
|
|
80
80
|
import { t as MANIFEST_FILE } from "./manifest-json-DMaBWmcG.js";
|
|
81
|
-
import { r as manifestTableReads, s as sharedFunctionsOf, t as committedManifest } from "./table-reads-
|
|
81
|
+
import { r as manifestTableReads, s as sharedFunctionsOf, t as committedManifest } from "./table-reads-D0M_X-pj.js";
|
|
82
82
|
import { isDeepStrictEqual } from "node:util";
|
|
83
83
|
import { readFileSync } from "node:fs";
|
|
84
84
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -3026,15 +3026,16 @@ async function pd058(input) {
|
|
|
3026
3026
|
if (config.powersync === void 0 || config.policy === void 0) return [];
|
|
3027
3027
|
const policy = await policyOf(input);
|
|
3028
3028
|
if (policy === void 0) return [];
|
|
3029
|
+
const publicationAt = await publicationPath(cwd, config);
|
|
3029
3030
|
let compiled;
|
|
3030
3031
|
try {
|
|
3031
|
-
compiled = powersyncFiles(policy, config);
|
|
3032
|
+
compiled = powersyncFiles(policy, config, void 0, publicationAt);
|
|
3032
3033
|
} catch (cause) {
|
|
3033
3034
|
return [{
|
|
3034
3035
|
code: "PD058",
|
|
3035
3036
|
severity: "warning",
|
|
3036
3037
|
message: `the policy does not compile to Sync Streams: ${cause instanceof Error ? cause.message : String(cause)}`,
|
|
3037
|
-
fix: "fix the powersync and rls config, then run permdock powersync
|
|
3038
|
+
fix: "fix the powersync and rls config, then run permdock generate --only powersync"
|
|
3038
3039
|
}];
|
|
3039
3040
|
}
|
|
3040
3041
|
const gaps = sourceGaps(policy, config).map((gap) => ({
|
|
@@ -3048,7 +3049,7 @@ async function pd058(input) {
|
|
|
3048
3049
|
code: "PD058",
|
|
3049
3050
|
severity: "warning",
|
|
3050
3051
|
message: file.missing ? `${file.path} is missing, so ${file.path === config.powersync?.manifest ? "the device builds no local snapshot" : "PowerSync syncs no stream the policy compiles to"}` : `${file.path} is not what the policy compiles to, so ${file.path === config.powersync?.manifest ? "the device builds snapshots" : "PowerSync syncs rows"} by an older policy`,
|
|
3051
|
-
fix: "run permdock powersync
|
|
3052
|
+
fix: "run permdock generate --only powersync and deploy the files"
|
|
3052
3053
|
})),
|
|
3053
3054
|
...gaps,
|
|
3054
3055
|
...branchGaps(policy, config.powersync?.resources ?? [])
|
|
@@ -3143,7 +3144,7 @@ function pd102(input) {
|
|
|
3143
3144
|
severity: "warning",
|
|
3144
3145
|
target: path,
|
|
3145
3146
|
message: `${path} filters ${stale} while the membership source reads roles: "many", so a member syncs only their own role rows`,
|
|
3146
|
-
fix: "run permdock powersync
|
|
3147
|
+
fix: "run permdock generate --only powersync and deploy the file"
|
|
3147
3148
|
}] : [];
|
|
3148
3149
|
});
|
|
3149
3150
|
}
|
|
@@ -4883,7 +4884,7 @@ function topLevelParts(body) {
|
|
|
4883
4884
|
*/
|
|
4884
4885
|
function tablePart(raw) {
|
|
4885
4886
|
const part = raw.replace(/^constraint\s+(?:"[^"]+"|\w+)\s+/iu, "");
|
|
4886
|
-
const listed = /^(foreign\s+key|primary\s+key|unique)\s*\(([^)]*)\)/iu.exec(part);
|
|
4887
|
+
const listed = /^(foreign\s+key|primary\s+key|unique(?:\s+nulls\s+(?:not\s+)?distinct)?)\s*\(([^)]*)\)/iu.exec(part);
|
|
4887
4888
|
if (listed !== null) {
|
|
4888
4889
|
const foreign = /^foreign/iu.test(group(listed, 1));
|
|
4889
4890
|
return {
|
|
@@ -4901,7 +4902,7 @@ function tablePart(raw) {
|
|
|
4901
4902
|
function firstColumn(list) {
|
|
4902
4903
|
return unquote(list.replace(/,[\s\S]*$/u, "").trim());
|
|
4903
4904
|
}
|
|
4904
|
-
const ADD_CONSTRAINT = new RegExp(String.raw`^alter\s+table\s+(?:if\s+exists\s+)?(?:only\s+)?${NAME}\s+add\s+(?:constraint\s+${IDENT}\s+)?(foreign\s+key|primary\s+key|unique)\s*\(([^)]*)\)`, "iu");
|
|
4905
|
+
const ADD_CONSTRAINT = new RegExp(String.raw`^alter\s+table\s+(?:if\s+exists\s+)?(?:only\s+)?${NAME}\s+add\s+(?:constraint\s+${IDENT}\s+)?(foreign\s+key|primary\s+key|unique(?:\s+nulls\s+(?:not\s+)?distinct)?)\s*\(([^)]*)\)`, "iu");
|
|
4905
4906
|
const CREATE_INDEX = new RegExp(String.raw`^create\s+(?:unique\s+)?index\s+(?:concurrently\s+)?(?:if\s+not\s+exists\s+)?(?:${IDENT}\s+)?on\s+(?:only\s+)?${NAME}\s*(?:using\s+\w+\s*)?\(\s*${IDENT}`, "iu");
|
|
4906
4907
|
/**
|
|
4907
4908
|
* PD053: a foreign key no index starts with, so joins and deletes on the
|
package/dist/drizzle/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
|
import { SQL, Table } from "drizzle-orm";
|
|
7
7
|
/**
|
package/dist/elysia/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 { Elysia } from "elysia";
|
|
8
8
|
type ElysiaRequestContext = {
|
|
9
9
|
readonly request: Request;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ar as Subject, On as WireDenial, ir as Decision } from "./policy-types-
|
|
1
|
+
import { Ar as Subject, On as WireDenial, ir as Decision } from "./policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
3
3
|
type Disclosure = "hide" | "reveal";
|
|
4
4
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as ApprovalStore } from "./types-
|
|
2
|
-
import { a as PermDock } from "./permdock-
|
|
3
|
-
import { D as Policy } from "./policy-types-
|
|
1
|
+
import { m as ApprovalStore } from "./types-BGN3coSe.js";
|
|
2
|
+
import { a as PermDock } from "./permdock-DkvkGVF0.js";
|
|
3
|
+
import { D as Policy } from "./policy-types-DuM3k5Ao.js";
|
|
4
4
|
/** AuthZEN 1.0 section 7.1.2.1 `options.evaluations_semantic` values. */
|
|
5
5
|
declare const EVALUATIONS_SEMANTICS: readonly ["execute_all", "deny_on_first_deny", "permit_on_first_permit"];
|
|
6
6
|
type EvaluationsSemantic = (typeof EVALUATIONS_SEMANTICS)[number];
|
package/dist/eve/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-
|
|
2
|
-
import { u as ApprovalRequest } from "../types-
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
1
|
+
import { o as AgentAdapterOptions, t as AgentPermDock } from "../create-T_NqxU31.js";
|
|
2
|
+
import { u as ApprovalRequest } from "../types-BGN3coSe.js";
|
|
3
|
+
import { a as PermDock } from "../permdock-DkvkGVF0.js";
|
|
4
4
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
5
|
-
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-
|
|
5
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
6
6
|
/** Structural `SessionAuthContext` from `eve`. */
|
|
7
7
|
type EvePrincipal = {
|
|
8
8
|
readonly principalId: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as budgetBreaches, t as breachText } from "./budgets-hi-ecgEd.js";
|
|
2
2
|
import { a as suggestion } from "./args-BSpXxMnb.js";
|
|
3
3
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
4
|
-
import { r as runGen } from "./gen-
|
|
4
|
+
import { r as runGen } from "./gen-M_5UU5Ck.js";
|
|
5
5
|
import { c as requirePolicy } from "./load-m7jmit3y.js";
|
|
6
|
-
import { t as projectContext } from "./context-
|
|
7
|
-
import { r as runGenerate } from "./pipeline-
|
|
6
|
+
import { t as projectContext } from "./context-rioF4fQl.js";
|
|
7
|
+
import { r as runGenerate } from "./pipeline-BAGSNnct.js";
|
|
8
8
|
import { n as isPermDockPlugin } from "./plugin-MQVfUBUS.js";
|
|
9
9
|
import { relative, resolve } from "node:path";
|
|
10
10
|
import { fileURLToPath } from "node:url";
|
package/dist/express/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 { i as toRequest, r as sendResponse } from "../http-BUIYu1Kc.js";
|
|
7
7
|
import { ErrorRequestHandler, Request, RequestHandler, Response, Router } from "express";
|
|
8
8
|
type ExpressPermDockOptions<TUser = unknown> = ServerAdapterOptions<Request, TUser>;
|