permdock 0.31.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/a2a/index.d.ts +4 -4
- package/dist/a2a/index.js +2 -2
- package/dist/{adoption-scan-9brJ_mUG.js → adoption-scan-BPW1eWy5.js} +1 -1
- package/dist/agent/index.d.ts +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/ai-sdk/index.d.ts +3 -3
- package/dist/ai-sdk/index.js +3 -3
- package/dist/app/index.d.ts +1 -1
- package/dist/app/index.js +1 -1
- package/dist/{approval-chain-D97rgMoA.js → approval-chain-BEeExHpb.js} +15 -10
- package/dist/{approval-prompt-yNyhQqn8.d.ts → approval-prompt-CJvYBdja.d.ts} +1 -1
- package/dist/approvals/index.d.ts +3 -3
- package/dist/{arazzo-C0bltfjv.js → arazzo-BUXKjylF.js} +1 -1
- package/dist/{arazzo-Cs-3yoxR.js → arazzo-DqzmZG-x.js} +2 -2
- package/dist/astro/index.d.ts +4 -4
- package/dist/astro/index.js +1 -1
- package/dist/{audience-CARf-b-R.js → audience-B6DQ5wQu.js} +1 -1
- package/dist/authzen/index.d.ts +6 -6
- package/dist/authzen/index.js +1 -1
- package/dist/{automation-0VF1xe4o.d.ts → automation-BqUmdFfe.d.ts} +1 -1
- package/dist/better-auth/index.d.ts +1 -1
- package/dist/better-supabase/index.d.ts +57 -14
- package/dist/better-supabase/index.js +29 -20
- package/dist/{bind-zQacwAOg.d.ts → bind-Bwk9tt1z.d.ts} +7 -7
- package/dist/{bind-BYeoLJgN.js → bind-DPptdk31.js} +2 -2
- package/dist/{bsb-access-tags-B1TBUQLj.js → bsb-access-tags-Nv4nDQ2U.js} +20 -44
- package/dist/{bsb-action-keys-iKmZChtQ.js → bsb-action-keys-CYEREFMg.js} +1 -1
- package/dist/{budgets-Dpumu_Dt.js → budgets-hi-ecgEd.js} +3 -3
- package/dist/{build-instance-CFiegi_w.js → build-instance-DZEWYO-A.js} +1 -1
- package/dist/bundle-size-BRFeBvuv.js +1 -0
- package/dist/{bundle-size-Ddhv_H_v.js → bundle-size-DbXV65Ix.js} +2 -2
- package/dist/{capability-BPzseilU.d.ts → capability-qoD_jlcI.d.ts} +1 -1
- package/dist/{casbin-s6_zDJi1.js → casbin-CM9mWO1V.js} +1 -1
- package/dist/{casbin-DGsO-QmR.js → casbin-qEW6RfXA.js} +1 -1
- package/dist/catalog/index.d.ts +4 -4
- package/dist/catalog/index.js +4 -4
- package/dist/{challenge-CRB1X3Ry.js → challenge-E9sicsCA.js} +1 -1
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/chat-sdk/index.d.ts +3 -3
- package/dist/{claims-size-BsSDVD5u.js → claims-size-BUhCWS88.js} +18 -3
- package/dist/claims-size-C6oKGuOM.js +1 -0
- package/dist/claude-agent/index.d.ts +3 -3
- package/dist/claude-agent/index.js +2 -2
- package/dist/clerk/index.d.ts +2 -2
- package/dist/cli/bin.js +1 -1
- package/dist/cli/generate/watch-worker.js +2 -2
- package/dist/cli/index.d.ts +6 -6
- package/dist/cli/index.js +3 -3
- 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-BOPbpwgm.d.ts → client-subject-Dzo49nco.d.ts} +2 -2
- package/dist/cloud/index.d.ts +8 -8
- package/dist/cloud/index.js +1 -1
- package/dist/{cloud-fRv3j6sq.js → cloud-CNGblWX0.js} +2 -2
- package/dist/{codemod-DT0dMVdd.js → codemod-BtJFcsD7.js} +8 -7
- package/dist/{codemod-DsqEKP6A.js → codemod-Dlhxov9D.js} +14 -11
- package/dist/{collect-CCgmm5xN.js → collect-CE5wK0AX.js} +1 -1
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-tG1zkSgX.d.ts → compile-DNgpHgcK.d.ts} +2 -2
- package/dist/{compile-DNVVdVWs.js → compile-nR1gQhXo.js} +10 -9
- package/dist/{completion-DrJkWgZa.js → completion-BIN9YXIe.js} +1 -1
- package/dist/{config-D8iWeV9k.js → config-7QvEq57a.js} +2 -2
- package/dist/{config-BaKkd6HB.js → config-CoYhD6ur.js} +1 -1
- package/dist/{config-report-uuD5eVEn.js → config-report-D_L1HXDb.js} +3 -3
- package/dist/{context-Ne0EdD45.js → context-D8tN3SZm.js} +1 -1
- package/dist/{context-BQHKgT1m.js → context-Nr3nknZX.js} +2 -2
- package/dist/convex/index.d.ts +4 -4
- package/dist/convex/index.js +2 -2
- package/dist/{core-C5yCD-Ls.js → core-DIUrkFNL.js} +5 -5
- package/dist/{core-bf8qgaZf.d.ts → core-DPuDmlbL.d.ts} +2 -2
- package/dist/{create-Cn5EpEez.d.ts → create-BKrKxipb.d.ts} +4 -4
- package/dist/{create-COQVXK6C.js → create-BMRnaZel.js} +3 -3
- package/dist/{create-nOWD3Joc.js → create-BRY0OtFV.js} +3 -3
- package/dist/{create-B7Xa4jSQ.d.ts → create-CdB9FCZh.d.ts} +7 -7
- package/dist/{create-DHA0fhmi.d.ts → create-CdbVXh5I.d.ts} +6 -6
- package/dist/{credentials-COT-cjnP.d.ts → credentials-Dl0-R2aB.d.ts} +2 -2
- package/dist/{custom-role-rebuild-BBKC7Bt1.js → custom-role-rebuild-wzN8pqDk.js} +5 -5
- package/dist/{define-permdock-DBgwTFi1.d.ts → define-permdock-4IkoNaB3.d.ts} +6 -6
- package/dist/{define-permdock-D7aKxIax.js → define-permdock-CO7YNrOF.js} +2 -2
- package/dist/{definition-options-9o8Hdww3.js → definition-options-DO0kIrB9.js} +7 -1
- package/dist/delivery/index.d.ts +4 -4
- package/dist/delivery/index.js +1 -1
- package/dist/{denied-text-C_AWc0f0.d.ts → denied-text-CllTzVJM.d.ts} +1 -1
- package/dist/{describe-AdETpWsn.d.ts → describe-FT1oVN_o.d.ts} +1 -1
- package/dist/{diff-CW9eZy9X.js → diff-CS8ks9h3.js} +1 -1
- package/dist/{diff-COdwpP31.js → diff-CkSZF7LO.js} +2 -2
- package/dist/{doctor-C1T2G2mn.js → doctor-Bn5OPJMB.js} +131 -44
- package/dist/{doctor-Ch4VGl2q.js → doctor-C9lLeLp2.js} +2 -2
- package/dist/drizzle/index.d.ts +3 -3
- package/dist/elysia/index.d.ts +4 -4
- package/dist/elysia/index.js +1 -1
- package/dist/{errors-COoiWqIs.d.ts → errors-BGosrHl8.d.ts} +1 -1
- package/dist/{evaluate-Dmd0bShm.js → evaluate-DNz6wMYv.js} +1 -1
- package/dist/{evaluations-GW9j_ARq.d.ts → evaluations-CaXNkxTp.d.ts} +3 -3
- package/dist/{evaluator-eager-CpVYslzY.js → evaluator-eager-BLNVbEAC.js} +1 -1
- package/dist/evaluator-zpeC7zel.js +2 -0
- package/dist/eve/index.d.ts +4 -4
- package/dist/eve/index.js +2 -2
- package/dist/{execute-BhWXiQAy.js → execute-DsHFIBuO.js} +4 -4
- package/dist/{explain-DRC9V5Qb.js → explain-D4ipf8IH.js} +1 -1
- package/dist/{explain-jg0KLCVt.js → explain-DISCeeYS.js} +2 -2
- package/dist/express/index.d.ts +4 -4
- package/dist/express/index.js +1 -1
- package/dist/fastify/index.d.ts +4 -4
- package/dist/fastify/index.js +1 -1
- package/dist/{fetch-adapter-CU1DIkXu.js → fetch-adapter-BXQc4NoV.js} +1 -1
- package/dist/{fetch-adapter-CJncmsPg.d.ts → fetch-adapter-Dci9NnyZ.d.ts} +2 -2
- package/dist/{fields-y_PSRCyJ.js → fields-CwFej4gp.js} +3 -3
- package/dist/{from-snapshot-DGc9W4QU.js → from-snapshot-DZ4D2sLa.js} +14 -9
- package/dist/gen-CpS9JkCb.js +1 -0
- package/dist/{gen-CGjbD8I_.js → gen-Fi4GcvIY.js} +3 -3
- package/dist/{gen-kind-thoT0NYV.js → gen-kind-DR2-to9P.js} +1 -1
- package/dist/{generate-eor7vXGN.js → generate-BSD_eI61.js} +22 -17
- package/dist/{generate-vEW8Brg8.js → generate-QEHCJSyv.js} +3 -3
- package/dist/{generate-options-MJgn0dgl.js → generate-options-BZ2nqy28.js} +14 -13
- package/dist/h3/index.d.ts +4 -4
- package/dist/h3/index.js +2 -2
- package/dist/{helper-calls-DHvgN9tr.js → helper-calls-B5MOl99d.js} +1 -1
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +1 -1
- package/dist/{hook-sql-DJQ_yOEC.js → hook-sql-CbkH78FC.js} +267 -223
- package/dist/{hosted-Bkw3Oyh-.d.ts → hosted-BISipW6F.d.ts} +1 -1
- package/dist/{hosted-DZwCFrcy.js → hosted-D3USbpS6.js} +1 -1
- package/dist/{import-D_8tLF9g.js → import-Bz6IKoMM.js} +3 -3
- package/dist/{import-CGQIK3iN.js → import-DppjSugv.js} +1 -1
- package/dist/{index-DT3hOxA7.d.ts → index-BDJ2OZvV.d.ts} +34 -11
- package/dist/{index-Kj5S3IWE.d.ts → index-BF4IlvkT.d.ts} +4 -4
- package/dist/{index-DWmIuQLz.d.ts → index-BO5f180f.d.ts} +4 -4
- package/dist/{index-WOx7TBbj.d.ts → index-CWwWkz10.d.ts} +2 -2
- package/dist/{index-xShPsK8G.d.ts → index-Co_e22iJ.d.ts} +1 -1
- package/dist/{index-DPVeDtAO.d.ts → index-giCl-aQY.d.ts} +4 -4
- package/dist/index.d.ts +16 -16
- package/dist/index.js +13 -13
- package/dist/{init-C6te_dSg.js → init-BOYIObRF.js} +3 -3
- package/dist/{init-DN19mlwE.js → init-DJYSpo-H.js} +1 -1
- package/dist/inspect-functions-CwEAQpVF.js +34 -0
- package/dist/{instance-options-DQCiBBuz.d.ts → instance-options-hq5Cp2Ih.d.ts} +1 -1
- package/dist/{instance-snapshot-D9kjL37B.js → instance-snapshot-D03srwnf.js} +9 -8
- package/dist/{interactive-only-BjYwp9mm.js → interactive-only-Bbq9e61G.js} +27 -182
- package/dist/jwt/index.d.ts +4 -4
- package/dist/{kernel-C5akxw5n.js → kernel-DSnWVZ0O.js} +5 -5
- package/dist/{keys-qFqDoYeF.js → keys-U2V0maaq.js} +1 -1
- package/dist/kysely/index.d.ts +3 -3
- package/dist/{lazy-provider-CMgFAGf8.d.ts → lazy-provider-W8KwlWJU.d.ts} +1 -1
- package/dist/{lazy-provider-DNVjY4n3.js → lazy-provider-b8UHGi8P.js} +2 -2
- package/dist/{login-BYXaH_yT.js → login-Dv8TFykx.js} +1 -1
- package/dist/{login-CMzfsdm8.js → login-xgjt0a5o.js} +3 -3
- package/dist/{manager-chain-CStuYb7A.js → manager-chain-FggG63qD.js} +2 -2
- package/dist/{manifest-CowZuywo.js → manifest-BUeAHWDT.js} +45 -38
- package/dist/{manifest-CA3E0KP8.d.ts → manifest-BwhZ1s5b.d.ts} +71 -2
- package/dist/{manifest-DdNYR_pl.js → manifest-CIWOmdlP.js} +1 -1
- package/dist/{manifest-schema-CLbcbDz7.js → manifest-schema-N3v2RVL-.js} +68 -1
- package/dist/{may-use-4HzzgYJ3.js → may-use-ikNCnNgZ.js} +1 -1
- package/dist/mcp/index.d.ts +8 -8
- package/dist/mcp/index.js +2 -2
- package/dist/measure-DZtly0oE.js +272 -0
- package/dist/membership-claim-sql-DGfhIn__.js +33 -0
- package/dist/{membership-filter-C7ZuhAqJ.js → membership-filter-Bz9QX6E9.js} +1 -1
- package/dist/memberships-4e6qi8Uv.js +1 -0
- package/dist/memberships-CNoAlsma.js +180 -0
- package/dist/{migrate-pg-lkbDu.js → migrate-BXk_rUmb.js} +2 -2
- package/dist/{model-BqHWwfcg.js → model-D0EKt-ED.js} +3 -3
- package/dist/names-DBxKx2bz.js +182 -0
- package/dist/nest/index.d.ts +4 -4
- package/dist/nest/index.js +1 -1
- package/dist/next/index.d.ts +12 -11
- package/dist/next/index.js +4 -3
- package/dist/next/plugin.d.ts +1 -1
- package/dist/next/plugin.js +1 -1
- package/dist/node/index.d.ts +4 -4
- package/dist/node/index.js +1 -1
- package/dist/openai/index.d.ts +4 -4
- package/dist/openai/index.js +3 -3
- package/dist/openapi/index.d.ts +2 -2
- package/dist/{openapi-BP7YpJeF.js → openapi-Bfakk4cF.js} +1 -1
- package/dist/{openapi-document-_QSOtSKS.js → openapi-document-ZWpur4f1.js} +1 -1
- package/dist/{openapi-Dsh0MDSZ.js → openapi-g58VVrsc.js} +2 -2
- package/dist/orpc/index.d.ts +5 -5
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.d.ts +3 -3
- package/dist/{output-Didy9Ys4.js → output-D4FLF3_v.js} +1 -1
- package/dist/{ownership-CG5_N8b5.js → ownership-DvmaGcup.js} +13 -9
- package/dist/{parse-local-manifest-B92rFWnk.d.ts → parse-local-manifest-AJWs3pkW.d.ts} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/pdp/index.js +1 -1
- package/dist/{permdock-CJPIwU1T.js → permdock-JM9TKevZ.js} +14 -14
- package/dist/{permdock-BShHM8OJ.d.ts → permdock-V86uejcm.d.ts} +2 -2
- package/dist/{permissions-wEkTVr_I.js → permissions-xPyAmuXi.js} +1 -1
- package/dist/{pipeline-B4iyaOK7.js → pipeline-DCERGTTY.js} +2 -2
- package/dist/{plugin-DQJuZVl1.d.ts → plugin-BnvEp5tS.d.ts} +2 -2
- package/dist/{policy-BBvhhH9X.js → policy-CZBJDcTx.js} +2 -1
- package/dist/{policy-BUtwixSN.d.ts → policy-DZORR-Fw.d.ts} +1 -1
- package/dist/{policy-hnVT4MC4.js → policy-DoHkOOTQ.js} +1 -1
- package/dist/{policy-bundle-BIDV0DZF.js → policy-bundle-CsnNAo-n.js} +3 -3
- package/dist/{policy-from-catalog-_zwn1sNj.js → policy-from-catalog-BohzTN3J.js} +3 -3
- package/dist/{policy-types-CfW4X_yX.d.ts → policy-types-BnBZvh7N.d.ts} +50 -1
- package/dist/{postgrest-PQ3zAOD2.d.ts → postgrest-BG0ipED3.d.ts} +9 -2
- package/dist/{powersync-_2ElzOhQ.js → powersync-CTKfjnPT.js} +12 -12
- package/dist/{powersync-D7YfMHke.js → powersync-Cz3MUw6R.js} +1 -1
- package/dist/{powersync-DUvN9v5a.js → powersync-Dbpn-n0o.js} +1 -1
- package/dist/prisma/index.d.ts +2 -2
- package/dist/{protected-action-BPN0NaRb.js → protected-action-DDYvU-9Z.js} +1 -1
- package/dist/{protected-action-DhCQ4bSe.d.ts → protected-action-aGL_gT4j.d.ts} +5 -5
- package/dist/{provider-D1vlNPWo.js → provider-BwqzED5h.js} +100 -52
- package/dist/{provider-1xqxLVEz.js → provider-NQwLSlgb.js} +2 -2
- package/dist/{provider-CMgFAGf8.d.ts → provider-W8KwlWJU.d.ts} +1 -1
- package/dist/{provider-store-Cf8HRNtb.js → provider-store-BizF6jyu.js} +2 -2
- package/dist/{provider-with-cpL9vRjC.js → provider-with-DtBgCCV_.js} +1 -1
- package/dist/{prune-config-5vtQpiLk.js → prune-config--x-cEF8G.js} +6 -6
- package/dist/{pull-BnxZmo3f.js → pull-BQELP7aV.js} +2 -2
- package/dist/pull-C_ZiPZ5X.js +1 -0
- package/dist/{push-Bu0uCkJg.js → push-D5so0ptb.js} +2 -2
- package/dist/{pushed-policy-DcvO8NXy.d.ts → pushed-policy-CQaXRDe3.d.ts} +1 -1
- package/dist/{pushed-policy-DSjSWEAl.js → pushed-policy-dm_hFstN.js} +1 -1
- package/dist/{quote-BKrTBbcH.js → quote-LNaBdCGA.js} +1 -1
- package/dist/{rbac-CwcucZPx.js → rbac-BRMnQ9Rl.js} +5 -4
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +3 -3
- package/dist/react/lazy.d.ts +6 -6
- package/dist/react/lazy.js +3 -3
- package/dist/react/provider-client-lazy.d.ts +1 -1
- package/dist/react/provider-client-lazy.js +1 -1
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react/provider-client.js +1 -1
- package/dist/react-native/index.d.ts +8 -8
- package/dist/react-native/index.js +5 -5
- package/dist/read-memberships-DVBitJZG.js +164 -0
- package/dist/{rename-CLoDRrbc.js → rename-BjP2CFUY.js} +5 -5
- package/dist/replay-Dg5-l7xu.d.ts +3 -0
- package/dist/report-DF0zUNut.js +1 -0
- package/dist/{report-BI_hek_d.js → report-XdCm1y_J.js} +76 -6
- package/dist/{request-context-BNVY3kZ1.js → request-context-CqqdiVp4.js} +1 -1
- package/dist/resend/index.d.ts +4 -4
- package/dist/{resolve-config-9NYYVc30.js → resolve-config-Cu_mE2wt.js} +1 -1
- package/dist/{resolve-names-CTji5IPe.js → resolve-names-xBg9s2IJ.js} +7 -6
- package/dist/{resolver-CuIY8aFD.js → resolver-C_a-bddD.js} +99 -15
- package/dist/{rls-UY6p6ztg.js → rls-BzCz7ZV0.js} +55 -3
- package/dist/{rls-files-CDZdTh8v.js → rls-files-Bu0O7cZ6.js} +1 -1
- package/dist/{rls-options-BgD-KZkm.d.ts → rls-options-f1wRhXSG.d.ts} +1 -1
- package/dist/{rls-BPHCyA5v.js → rls-rk-QH4fc.js} +22 -12
- package/dist/{rpc-D7G7IJDa.js → rpc-BQPa7tLP.js} +1 -1
- package/dist/{rpc-COnquydd.d.ts → rpc-DyCWVn6C.d.ts} +1 -1
- package/dist/run-BvtApZDp.js +1 -0
- package/dist/{run-C3ztA88m.js → run-DTz-e3Od.js} +3 -3
- package/dist/{run-ticket-Mmor5sYW.d.ts → run-ticket-mVPqm6M6.d.ts} +2 -2
- package/dist/{saas-DcqUkynn.js → saas-DSeazNrN.js} +3 -3
- package/dist/{scan-m5m1M6Qn.js → scan-Cn79IAJs.js} +1 -1
- package/dist/{schema-BpGuLrwk.js → schema-CbzVUpWv.js} +1 -1
- package/dist/scim/index.d.ts +1 -1
- package/dist/seeds/index.d.ts +1 -1
- package/dist/{seeds-Cih1ztkf.d.ts → seeds-DLjPbhvM.d.ts} +1 -1
- package/dist/server/index.d.ts +11 -11
- package/dist/server/index.js +1 -1
- package/dist/{server-types-C2XX60aF.d.ts → server-types-BlMijUtb.d.ts} +8 -8
- package/dist/share-key-claims-CZGAeVqa.js +28 -0
- package/dist/{shared-C6_T7QUo.js → shared-DnVY767H.js} +2 -1
- package/dist/{sink-BQ_6K81r.d.ts → sink-DhrVLPSJ.d.ts} +2 -2
- package/dist/{size-l1pDHE2z.js → size-CY6rK6l9.js} +3 -3
- package/dist/{skills-BytzDi34.js → skills-BKrN1qej.js} +1 -1
- package/dist/{skills-CzhnDo-C.js → skills-oZ8Ng2e7.js} +1 -1
- package/dist/{snapshot-Ty0uk9wZ.js → snapshot-Dzi4LR6n.js} +8 -1
- package/dist/{snapshot-cache-DGvLQW0-.d.ts → snapshot-cache-CVYqOThu.d.ts} +1 -1
- package/dist/{snapshot-compact-yXFxZLPo.js → snapshot-compact-BWMLnIXK.js} +35 -4
- package/dist/{snapshot-evaluate-DSNj2rhV.js → snapshot-evaluate-C382Z1mQ.js} +1 -1
- package/dist/{snapshot-reads-BnAHiuoa.js → snapshot-reads-JxcUSUfW.js} +2 -2
- package/dist/{snapshot-size-DNY1MTsV.js → snapshot-size-D6ixbYvH.js} +1 -1
- package/dist/{snapshot-size-2fkXbCkP.js → snapshot-size-NklqBKcV.js} +1 -1
- package/dist/solid/index.d.ts +5 -5
- package/dist/solid/index.js +2 -2
- package/dist/solid-start/index.d.ts +4 -4
- package/dist/solid-start/index.js +2 -2
- package/dist/{sources-D5n28164.d.ts → sources-Bq7k7g34.d.ts} +7 -2
- package/dist/{sources-DnjJPGfb.js → sources-C6Id63F8.js} +2 -1
- package/dist/{src-HRYn4UFj.js → src-BXDohWNO.js} +154 -11
- package/dist/ssf/index.d.ts +3 -3
- package/dist/{standard-webhooks-Bnnrqa6d.d.ts → standard-webhooks-D6SPYjSQ.d.ts} +2 -2
- package/dist/{store-core-BdFcruPm.d.ts → store-core-Bq7Qc9QM.d.ts} +4 -4
- package/dist/{store-options-DpCQo0vB.js → store-options-DgOuhUSn.js} +4 -4
- package/dist/{stores-D6MIjN_-.d.ts → stores-Dn7TpQFa.d.ts} +5 -5
- package/dist/{stores-KpBCaY6c.js → stores-jgDndNHa.js} +1 -1
- package/dist/{subject-CrldGifz.js → subject-B7p94Y0s.js} +1 -1
- package/dist/{subject-cache-CnJcz2K_.d.ts → subject-cache-UKUgQCEX.d.ts} +3 -1
- package/dist/supabase/index.d.ts +36 -9
- package/dist/supabase/index.js +8 -7
- package/dist/supabase/middleware.d.ts +5 -5
- package/dist/supabase/middleware.js +4 -4
- package/dist/{supabase-CAswAUeb.js → supabase-BNPS-Gr1.js} +15 -1
- package/dist/{supabase-kWQlkrHw.js → supabase-DrazwRER.js} +14 -7
- package/dist/supabase-hook-D0Yzbl19.js +2 -0
- package/dist/{supabase-hook-C0LIaT7b.js → supabase-hook-t1HnQf8U.js} +11 -185
- package/dist/{supabase-schemas-BUFeyErz.js → supabase-schemas-_ubYYw9i.js} +10 -9
- package/dist/svelte/index.d.ts +5 -5
- package/dist/svelte/index.js +5 -3
- package/dist/svelte/runtime.d.ts +3 -3
- package/dist/svelte/runtime.js +1 -1
- package/dist/svelte/source.d.ts +5 -5
- package/dist/svelte/source.js +2 -2
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +1 -1
- package/dist/table-reads-B7z40Yu-.js +766 -0
- package/dist/table-reads-Ci-ZVo5m.js +1 -0
- package/dist/{tables-sLA1CpuN.js → tables-Bxmf2beb.js} +108 -11
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/tanstack-start/index.js +1 -1
- package/dist/tenant-check-DW0kbH-a.js +105 -0
- package/dist/terminal/index.d.ts +5 -5
- package/dist/terminal/index.js +3 -3
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/core.js +1 -1
- package/dist/testing/fixtures/index.d.ts +4 -4
- package/dist/testing/fixtures/index.js +41 -17
- package/dist/testing/index.d.ts +23 -23
- package/dist/testing/index.js +13 -13
- package/dist/testing/saas/index.d.ts +3 -3
- package/dist/testing/saas/index.js +2 -2
- package/dist/testing/saas/permissions.js +1 -1
- package/dist/trpc/index.d.ts +5 -5
- package/dist/trpc/index.js +2 -2
- package/dist/{type-helpers-CUmJFGV6.d.ts → type-helpers-CVN-p62O.d.ts} +1 -1
- package/dist/{types-vKKndyxx.d.ts → types-5cvjmHTG.d.ts} +1 -1
- package/dist/{types-DwoRXDvN.d.ts → types-BMKDvcXc.d.ts} +2 -2
- package/dist/{types-CIzXPPV-.d.ts → types-B_I8TBA9.d.ts} +2 -2
- package/dist/{types-h9W3CNC_.d.ts → types-BmTW35E5.d.ts} +4 -4
- package/dist/{types-BhBfMdQ5.d.ts → types-CDkJNA3a.d.ts} +3 -3
- package/dist/{types-euUv1wsO.d.ts → types-CgaGxF5q.d.ts} +1 -1
- package/dist/{types-BsRf5rKk.d.ts → types-CrUguLsE.d.ts} +2 -2
- package/dist/{types-BRECeQ2n.d.ts → types-DNOJRhyn.d.ts} +3 -3
- package/dist/{types-BKnUwgvx.d.ts → types-Dl2jRkyq.d.ts} +4 -4
- package/dist/{types-config-BiMM_zJ-.d.ts → types-config-CyawIkMF.d.ts} +2 -2
- package/dist/{types-CjZscT16.d.ts → types-gp1w86cV.d.ts} +4 -4
- package/dist/{types-run-N2ffLN_Z.d.ts → types-run-ByHuYUen.d.ts} +1 -1
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-DT6QK86a.js → usage-B8ca_Nj_.js} +2 -2
- package/dist/usage-CKTsomEq.js +1 -0
- package/dist/{usage-Dcbg6zu6.js → usage-Do7LQ4i4.js} +1 -1
- package/dist/{validation-error-P4Z9HUuP.d.ts → validation-error-BKgVVMc1.d.ts} +1 -1
- package/dist/{verify-DNERav8K.js → verify-ZojGAC3f.js} +12 -12
- package/dist/{version-cache-BzK8dwJy.js → version-cache-Ccrfu2A4.js} +6 -1
- package/dist/vue/index.d.ts +5 -5
- package/dist/vue/index.js +2 -2
- package/dist/{waiter-BqUxSRxq.d.ts → waiter-Bov7Cig6.d.ts} +2 -2
- package/dist/warm-BKD3FN6k.d.ts +16 -0
- package/dist/warm-BZ0ZwSmO.js +32 -0
- package/dist/{watch-fldErlRf.js → watch-D-5ztqN8.js} +1 -1
- package/dist/{watch-BsQ4n3NV.js → watch-EzX_aG73.js} +2 -2
- package/dist/watch-J1PfGMfb.js +1 -0
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/webmcp/index.js +1 -1
- package/dist/{who-can-CGVpM3fZ.js → who-can-CIgYpEvy.js} +1 -1
- package/dist/workflow/index.d.ts +3 -3
- package/dist/workflow/index.js +1 -1
- package/dist/workflow-sdk/index.d.ts +4 -4
- package/dist/{wrap-D8WtzrB7.d.ts → wrap-CaAA3ubO.d.ts} +2 -2
- package/package.json +11 -11
- package/schemas/snapshot-v2.json +20 -0
- package/schemas/supabase-claims-v1.json +48 -2
- package/schemas/supabase-manifest-v1.json +137 -19
- package/skills/permdock-data/references/queries-and-rls.md +1 -1
- package/dist/bundle-size-DwZ4e1gu.js +0 -1
- package/dist/claims-size-B6j0Ff4Q.js +0 -1
- package/dist/evaluator-COmATWCr.js +0 -2
- package/dist/gen-CkUEZ5Z6.js +0 -1
- package/dist/platform-CSxTsLsr.js +0 -35
- package/dist/pull-CGncYZNZ.js +0 -1
- package/dist/read-memberships-BkePIa1F.js +0 -63
- package/dist/replay-BCOZifwx.d.ts +0 -3
- package/dist/report-BevPHMy6.js +0 -1
- package/dist/run-3ySqmufy.js +0 -1
- package/dist/supabase-hook-DXGg5bNn.js +0 -2
- package/dist/tenant-check-gL2miiaS.js +0 -31
- package/dist/usage-DdOFc5xq.js +0 -1
- package/dist/watch-eay1PztJ.js +0 -1
package/dist/cloud/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as CLOUD_BASE_URL } from "../base-url--yJPQlIK.js";
|
|
2
|
-
import { a as isCompactJws, i as cloudEndpoints, n as cloud, o as resolveCloudEndpoints, r as cloudConnection, t as bearerChallenge } from "../challenge-
|
|
2
|
+
import { a as isCompactJws, i as cloudEndpoints, n as cloud, o as resolveCloudEndpoints, r as cloudConnection, t as bearerChallenge } from "../challenge-E9sicsCA.js";
|
|
3
3
|
import { r as isRecord, t as compact } from "../compact-C4LFuqbW.js";
|
|
4
4
|
import { h as secondsAt } from "../time-r0CKBm57.js";
|
|
5
5
|
import { t as timeoutSignal } from "../timeout-nOqLpU2I.js";
|
|
@@ -41,7 +41,7 @@ const push = defineLeaf({
|
|
|
41
41
|
},
|
|
42
42
|
async run(ctx, { flags }) {
|
|
43
43
|
const env = await withStdinSecret(ctx, "key", flags["key-stdin"], "PERMDOCK_CLOUD_KEY");
|
|
44
|
-
return (await import("./push-
|
|
44
|
+
return (await import("./push-D5so0ptb.js")).runCloud({
|
|
45
45
|
cwd: ctx.cwd,
|
|
46
46
|
config: ctx.config,
|
|
47
47
|
url: given(flags.url),
|
|
@@ -70,7 +70,7 @@ const pull = defineLeaf({
|
|
|
70
70
|
},
|
|
71
71
|
async run(ctx, { flags }) {
|
|
72
72
|
const env = await withStdinSecret(ctx, "token", flags["token-stdin"], "PERMDOCK_CLOUD_TOKEN");
|
|
73
|
-
return (await import("./pull-
|
|
73
|
+
return (await import("./pull-C_ZiPZ5X.js")).runCloudPull({
|
|
74
74
|
cwd: ctx.cwd,
|
|
75
75
|
config: ctx.config,
|
|
76
76
|
url: given(flags.url),
|
|
@@ -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-Dlhxov9D.js")).codemodVersions();
|
|
12
12
|
}
|
|
13
13
|
}, {
|
|
14
14
|
name: "paths",
|
|
@@ -27,13 +27,13 @@ const codemod = defineLeaf({
|
|
|
27
27
|
},
|
|
28
28
|
check: {
|
|
29
29
|
type: "boolean",
|
|
30
|
-
description: "With config --prune: exit 1 when a key would be removed"
|
|
30
|
+
description: "With config --prune: exit 1 when a key would be removed. With bsb-access-tags: write nothing, exit 1 when a table would move"
|
|
31
31
|
}
|
|
32
32
|
},
|
|
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--x-cEF8G.js")).runPruneConfig({
|
|
37
37
|
cwd: ctx.cwd,
|
|
38
38
|
check: flags.check,
|
|
39
39
|
dryRun: flags["dry-run"],
|
|
@@ -41,27 +41,28 @@ 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-Nv4nDQ2U.js")).runAccessTags({
|
|
45
45
|
cwd: ctx.cwd,
|
|
46
46
|
...rest[0] === void 0 ? {} : { schemas: rest[0] },
|
|
47
47
|
dryRun: flags["dry-run"],
|
|
48
|
+
check: flags.check,
|
|
48
49
|
force: flags.force,
|
|
49
50
|
json: ctx.json
|
|
50
51
|
});
|
|
51
|
-
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-CYEREFMg.js")).runActionKeys({
|
|
52
53
|
cwd: ctx.cwd,
|
|
53
54
|
dryRun: flags["dry-run"],
|
|
54
55
|
force: flags.force,
|
|
55
56
|
json: ctx.json
|
|
56
57
|
});
|
|
57
|
-
if (args["version"] === "manager-chain") return (await import("./manager-chain-
|
|
58
|
+
if (args["version"] === "manager-chain") return (await import("./manager-chain-FggG63qD.js")).runManagerChain({
|
|
58
59
|
cwd: ctx.cwd,
|
|
59
60
|
...rest[0] === void 0 ? {} : { schemas: rest[0] },
|
|
60
61
|
dryRun: flags["dry-run"],
|
|
61
62
|
force: flags.force,
|
|
62
63
|
json: ctx.json
|
|
63
64
|
});
|
|
64
|
-
return (await import("./codemod-
|
|
65
|
+
return (await import("./codemod-Dlhxov9D.js")).runCodemod({
|
|
65
66
|
cwd: ctx.cwd,
|
|
66
67
|
version: args["version"],
|
|
67
68
|
paths: rest,
|
|
@@ -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-BUeAHWDT.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";
|
|
@@ -294,7 +294,7 @@ function rewriteCliCalls(text, options) {
|
|
|
294
294
|
})
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
// src/cli/codemod/doctor-baseline-0.
|
|
297
|
+
// src/cli/codemod/doctor-baseline-0.31.ts
|
|
298
298
|
const DEFAULT_BASELINE = "doctor-baseline.json";
|
|
299
299
|
/**
|
|
300
300
|
* The JSON value of a literal: strings, numbers, booleans, `null`, arrays and
|
|
@@ -386,7 +386,7 @@ function ignoreEntries(value) {
|
|
|
386
386
|
};
|
|
387
387
|
}
|
|
388
388
|
/**
|
|
389
|
-
* 0.
|
|
389
|
+
* 0.31: `doctor.waivers` and `doctor.ignore` fold into the `doctor.baseline`
|
|
390
390
|
* file. The config loses both keys and gains `baseline` when it has none, and
|
|
391
391
|
* the entries land in the file it names, merged with what the file holds. A
|
|
392
392
|
* list the config computes, or a baseline path that is not a literal, is a
|
|
@@ -460,15 +460,15 @@ function rewriteDoctorBaseline(file, source) {
|
|
|
460
460
|
}] }
|
|
461
461
|
};
|
|
462
462
|
}
|
|
463
|
-
// src/cli/codemod/codemod-0.
|
|
464
|
-
/** The 0.
|
|
463
|
+
// src/cli/codemod/codemod-0.31.ts
|
|
464
|
+
/** The 0.31 config moves. Each entry moves one key path of `permdock.config.ts`. */
|
|
465
465
|
const CONFIG_MOVES = [];
|
|
466
466
|
/**
|
|
467
|
-
* The 0.
|
|
467
|
+
* The 0.31 rewrites, applied in order to every file after the config moves of
|
|
468
468
|
* the one before. Each returns the file unchanged when it has nothing to do.
|
|
469
469
|
*/
|
|
470
470
|
const REWRITES = [rewriteDoctorBaseline];
|
|
471
|
-
function
|
|
471
|
+
function rewrite031(file, source) {
|
|
472
472
|
let text = source;
|
|
473
473
|
const changes = [];
|
|
474
474
|
const followUps = [];
|
|
@@ -487,11 +487,11 @@ function rewrite032(file, source) {
|
|
|
487
487
|
files
|
|
488
488
|
};
|
|
489
489
|
}
|
|
490
|
-
const
|
|
490
|
+
const CODEMOD_0_31 = Object.freeze({
|
|
491
491
|
renames: [],
|
|
492
492
|
signatures: [],
|
|
493
493
|
configMoves: CONFIG_MOVES,
|
|
494
|
-
literals:
|
|
494
|
+
literals: rewrite031
|
|
495
495
|
});
|
|
496
496
|
// src/cli/codemod/config-moves.ts
|
|
497
497
|
/** Passes over one file before the codemod stops; each pass moves one key. */
|
|
@@ -2123,7 +2123,7 @@ const CODEMOD_0_26 = Object.freeze({
|
|
|
2123
2123
|
const CODEMODS = Object.freeze({
|
|
2124
2124
|
"0.17": CODEMOD_0_17,
|
|
2125
2125
|
"0.26": CODEMOD_0_26,
|
|
2126
|
-
"0.
|
|
2126
|
+
"0.31": CODEMOD_0_31
|
|
2127
2127
|
});
|
|
2128
2128
|
function codemodVersions() {
|
|
2129
2129
|
return [
|
|
@@ -2315,9 +2315,12 @@ function withConfigMoves(file, result, set) {
|
|
|
2315
2315
|
followUps: [...result.followUps, ...moved.followUps]
|
|
2316
2316
|
};
|
|
2317
2317
|
}
|
|
2318
|
+
/** Names an earlier build of this release used for a codemod. */
|
|
2319
|
+
const CODEMOD_ALIASES = Object.freeze({ "0.32": "0.31" });
|
|
2318
2320
|
function normaliseVersion(version) {
|
|
2319
2321
|
if (version === void 0) throw new CliError("usage", `codemod needs a version: permdock codemod <version>. Supported: ${Object.keys(CODEMODS).join(", ")}.`);
|
|
2320
|
-
|
|
2322
|
+
const name = /^v?(\d+\.\d+)(?:\.\d+)?$/u.exec(version)?.[1] ?? version;
|
|
2323
|
+
return Object.hasOwn(CODEMOD_ALIASES, name) ? CODEMOD_ALIASES[name] ?? name : name;
|
|
2321
2324
|
}
|
|
2322
2325
|
function isCodeFile(file) {
|
|
2323
2326
|
return EXTENSIONS.has(extname(file));
|
|
@@ -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-J1PfGMfb.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-DNgpHgcK.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-V86uejcm.js";
|
|
2
2
|
import { P as ResourceNode } from "./vocabulary-DHfKPIC5.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Ar as Subject, Fr as Condition, jn as Scope, qt as Instant } from "./policy-types-BnBZvh7N.js";
|
|
4
4
|
import { r as RelationsMapping, t as GraphSql } from "./graph-sql-Ds3nbevr.js";
|
|
5
5
|
type MembershipTable = {
|
|
6
6
|
readonly table: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as heldLevels } from "./instance-snapshot-
|
|
1
|
+
import { a as heldLevels } from "./instance-snapshot-D03srwnf.js";
|
|
2
2
|
import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
|
|
3
3
|
import { a as sole } from "./compact-C4LFuqbW.js";
|
|
4
|
-
import { S as leveled } from "./evaluate-
|
|
4
|
+
import { S as leveled } from "./evaluate-DNz6wMYv.js";
|
|
5
5
|
import { s as requiresStandIn } from "./delegation-0DVVomzu.js";
|
|
6
|
-
import { c as levelNames, l as policyLevels, t as coveredLevels } from "./policy-
|
|
6
|
+
import { c as levelNames, l as policyLevels, t as coveredLevels } from "./policy-CZBJDcTx.js";
|
|
7
7
|
import { i as qualifySqlTable, n as defaultSqlCommand } from "./sql-T4GaBh9X.js";
|
|
8
8
|
import { p as scopeField } from "./tenancy-B5Xxt9Sc.js";
|
|
9
9
|
import { c as listPermissions, h as formerKeys } from "./permission-registry-DstT40VS.js";
|
|
@@ -11,13 +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 { F as capabilityAccessSql, L as apiKeyAllowsCall, S as accessSql, f as requiresSql, k as tokenScopeAllowsCall } from "./tables-
|
|
14
|
+
import { F as capabilityAccessSql, L as apiKeyAllowsCall, S as accessSql, f as requiresSql, k as tokenScopeAllowsCall } from "./tables-Bxmf2beb.js";
|
|
15
15
|
import { t as connectPgPool } from "./pg-DmS5ITHu.js";
|
|
16
|
-
import {
|
|
17
|
-
import { a as quoteIdent, c as quoteTable, o as quoteLiteral } from "./quote-
|
|
18
|
-
import {
|
|
19
|
-
import { _ as
|
|
20
|
-
import {
|
|
16
|
+
import { S as scopeTable } from "./names-DBxKx2bz.js";
|
|
17
|
+
import { a as quoteIdent, c as quoteTable, o as quoteLiteral } from "./quote-LNaBdCGA.js";
|
|
18
|
+
import { r as interactiveAllowsCall } from "./interactive-only-Bbq9e61G.js";
|
|
19
|
+
import { _ as validitySql, h as andSql, v as wrapSql } from "./fields-CwFej4gp.js";
|
|
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-BRMnQ9Rl.js";
|
|
21
22
|
import { createHash } from "node:crypto";
|
|
22
23
|
// src/cli/rls/indexes.ts
|
|
23
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-BUeAHWDT.js";
|
|
4
4
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
5
5
|
// src/cli/core/completion.ts
|
|
6
6
|
const SHELLS = [
|
|
@@ -357,8 +357,8 @@ function betterSupabaseDefaults(config, betterSupabase, installed = false) {
|
|
|
357
357
|
* warns would silently stop doing its job.
|
|
358
358
|
*/
|
|
359
359
|
const REMOVED_KEYS = Object.freeze({
|
|
360
|
-
"doctor.waivers": "doctor.waivers moved into the doctor.baseline file in 0.
|
|
361
|
-
"doctor.ignore": "doctor.ignore moved into the doctor.baseline file in 0.
|
|
360
|
+
"doctor.waivers": "doctor.waivers moved into the doctor.baseline file in 0.31; run permdock codemod 0.31",
|
|
361
|
+
"doctor.ignore": "doctor.ignore moved into the doctor.baseline file in 0.31; run permdock codemod 0.31"
|
|
362
362
|
});
|
|
363
363
|
/** The message for a removed key at `path`, such as `doctor.waivers`. */
|
|
364
364
|
function removedKey(path) {
|
|
@@ -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-D_L1HXDb.js");
|
|
14
14
|
return runConfig({
|
|
15
15
|
cwd: ctx.cwd,
|
|
16
16
|
config: ctx.config,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./sources-
|
|
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-BUeAHWDT.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
|
-
import { n as restatedDefaults, t as resolveConfig } from "./resolve-config-
|
|
7
|
+
import { n as restatedDefaults, t as resolveConfig } from "./resolve-config-Cu_mE2wt.js";
|
|
8
8
|
import { n as MIGRATION_DIRS, t as DEFAULT_SENSITIVE_ACTIONS } from "./constants-PCJiir_3.js";
|
|
9
9
|
// src/cli/config-report.ts
|
|
10
10
|
function configReport(input) {
|
|
@@ -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-_ubYYw9i.js";
|
|
3
3
|
import { existsSync, readdirSync } from "node:fs";
|
|
4
4
|
import { join, relative } from "node:path";
|
|
5
5
|
// src/cli/generate/context.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as switchTenant, t as providerStore } from "./provider-store-
|
|
2
|
-
import { l as isPromiseLike } from "./store-options-
|
|
1
|
+
import { n as switchTenant, t as providerStore } from "./provider-store-BizF6jyu.js";
|
|
2
|
+
import { l as isPromiseLike } from "./store-options-DgOuhUSn.js";
|
|
3
3
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
4
4
|
import { getContext, onDestroy, setContext } from "svelte";
|
|
5
5
|
import { toStore } from "svelte/store";
|
package/dist/convex/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as Policy,
|
|
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-BnBZvh7N.js";
|
|
2
|
+
import { a as ProblemDetails, r as PermDockDeniedError } from "../errors-BGosrHl8.js";
|
|
3
|
+
import { t as InstanceOptions } from "../instance-options-hq5Cp2Ih.js";
|
|
4
|
+
import { a as PermDock } from "../permdock-V86uejcm.js";
|
|
5
5
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
6
6
|
type ConvexContextLike = {
|
|
7
7
|
readonly auth?: {
|
package/dist/convex/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as tenantScope, t as actorFrom } from "../adapter-context-lHq_i_77.js";
|
|
2
2
|
import { n as PermDockValidationError } from "../validation-error-CgDOA6VS.js";
|
|
3
|
-
import { u as withApp } from "../permdock-
|
|
4
|
-
import { n as resolveOrNull, t as buildInstance } from "../build-instance-
|
|
3
|
+
import { u as withApp } from "../permdock-JM9TKevZ.js";
|
|
4
|
+
import { n as resolveOrNull, t as buildInstance } from "../build-instance-DZEWYO-A.js";
|
|
5
5
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
6
6
|
import { n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-DOSkVeTC.js";
|
|
7
7
|
// src/convex/create.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as fromSnapshot } from "./from-snapshot-
|
|
1
|
+
import { t as fromSnapshot } from "./from-snapshot-DZ4D2sLa.js";
|
|
2
2
|
import { c as listPermissions } from "./permission-registry-DstT40VS.js";
|
|
3
|
-
import { t as getPermDock } from "./permdock-
|
|
4
|
-
import { C as membershipsClaim } from "./evaluate-
|
|
3
|
+
import { t as getPermDock } from "./permdock-JM9TKevZ.js";
|
|
4
|
+
import { C as membershipsClaim } from "./evaluate-DNz6wMYv.js";
|
|
5
5
|
import { d as scopeList } from "./scopes-B-KX9EI8.js";
|
|
6
6
|
import { c as quoteSqlTable, n as defaultSqlCommand, o as quoteSqlIdent, t as SQL_IDENT } from "./sql-T4GaBh9X.js";
|
|
7
|
-
import {
|
|
8
|
-
import { n as parseSnapshot } from "./snapshot-
|
|
7
|
+
import { A as memoryCustomRoleSource } from "./src-BXDohWNO.js";
|
|
8
|
+
import { n as parseSnapshot } from "./snapshot-Dzi4LR6n.js";
|
|
9
9
|
import "./budget-BH81q2cj.js";
|
|
10
10
|
// src/testing/policy-matrix.ts
|
|
11
11
|
function isOutcomeCell(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as Policy,
|
|
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-BnBZvh7N.js";
|
|
2
|
+
import { o as PermDockOptions, p as WhereResult } from "./permdock-V86uejcm.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 {
|
|
2
|
+
import { m as ApprovalStore, p as ApprovalStatus } from "./types-5cvjmHTG.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-BnBZvh7N.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-V86uejcm.js";
|
|
6
|
+
import { t as ApprovalPrompt } from "./approval-prompt-CJvYBdja.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,5 +1,5 @@
|
|
|
1
1
|
import { n as tenantScope, t as actorFrom } from "./adapter-context-lHq_i_77.js";
|
|
2
|
-
import { n as resolveOrNull } from "./build-instance-
|
|
2
|
+
import { n as resolveOrNull } from "./build-instance-DZEWYO-A.js";
|
|
3
3
|
import { c as listPermissions } from "./permission-registry-DstT40VS.js";
|
|
4
4
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
5
5
|
import { t as LOAD_FAILED } from "./decision-hHv4UZgy.js";
|
|
@@ -7,9 +7,9 @@ import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
|
|
|
7
7
|
import { n as problemDetails } from "./problem-details-EJHcvYCz.js";
|
|
8
8
|
import { a as decisionResponse, c as problemFromDecision, d as unauthenticatedProblem, s as notFoundProblem, t as ANONYMOUS } from "./problem-BZB7zPC7.js";
|
|
9
9
|
import { f as InvalidSignatureError, n as applyApprovalResume, o as evaluationsHandler } from "./evaluations-DPEAu_jM.js";
|
|
10
|
-
import { i as challengeScope, u as withApp } from "./permdock-
|
|
10
|
+
import { i as challengeScope, u as withApp } from "./permdock-JM9TKevZ.js";
|
|
11
11
|
import { t as deferredSink } from "./deferred-sink-BZahJ8sO.js";
|
|
12
|
-
import { n as requestContext, t as buildReportingInstance } from "./request-context-
|
|
12
|
+
import { n as requestContext, t as buildReportingInstance } from "./request-context-CqqdiVp4.js";
|
|
13
13
|
import { n as decideSet, r as permissionList } from "./decide-set-CgNcE6pP.js";
|
|
14
14
|
import { n as resourceRef } from "./resource-ref-BiQtFK-I.js";
|
|
15
15
|
import { r as hasCredentials } from "./http-C9jDw_bZ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as withApp } from "./permdock-
|
|
1
|
+
import { u as withApp } from "./permdock-JM9TKevZ.js";
|
|
2
2
|
import { t as compact } from "./compact-C4LFuqbW.js";
|
|
3
|
-
import { c as deniedFor } from "./may-use-
|
|
3
|
+
import { c as deniedFor } from "./may-use-ikNCnNgZ.js";
|
|
4
4
|
import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
|
|
5
5
|
import { t as instanceOptions } from "./instance-options-CLErhA76.js";
|
|
6
6
|
import { t as composeWraps } from "./wrap-CsfsaJhd.js";
|
|
7
|
-
import { n as createAgentKernel } from "./kernel-
|
|
7
|
+
import { n as createAgentKernel } from "./kernel-DSnWVZ0O.js";
|
|
8
8
|
// src/agent/create.ts
|
|
9
9
|
function modelRow(modelId) {
|
|
10
10
|
return { id: modelId };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
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-BnBZvh7N.js";
|
|
2
|
+
import { a as PermDock } from "./permdock-V86uejcm.js";
|
|
3
|
+
import { m as ApprovalStore } from "./types-5cvjmHTG.js";
|
|
4
|
+
import { t as InstanceOptions } from "./instance-options-hq5Cp2Ih.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-CaAA3ubO.js";
|
|
9
|
+
import { o as OtelWrap } from "./types-BMKDvcXc.js";
|
|
10
|
+
import { t as DeniedText } from "./denied-text-CllTzVJM.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,
|
|
4
|
-
import { a as PermDock, n as DecideOptions, o as PermDockOptions, v as PrincipalSource } from "./permdock-
|
|
1
|
+
import { m as ApprovalStore } from "./types-5cvjmHTG.js";
|
|
2
|
+
import { a as AutomationSource } from "./automation-BqUmdFfe.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-BnBZvh7N.js";
|
|
4
|
+
import { a as PermDock, n as DecideOptions, o as PermDockOptions, v as PrincipalSource } from "./permdock-V86uejcm.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-mVPqm6M6.js";
|
|
7
|
+
import { n as ApprovalWaiter } from "./waiter-Bov7Cig6.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 {
|
|
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-BnBZvh7N.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-V86uejcm.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,12 +1,12 @@
|
|
|
1
1
|
import { d as sqlTextArray, i as qualifySqlTable } from "./sql-T4GaBh9X.js";
|
|
2
|
-
import { l as roleColumn } from "./sources-
|
|
2
|
+
import { l as roleColumn } from "./sources-C6Id63F8.js";
|
|
3
3
|
import { i as configError } from "./errors-DgLOqc6j.js";
|
|
4
4
|
import { n as byKey, t as byCodeUnit } from "./compare-8SNJN-9U.js";
|
|
5
5
|
import { t as beforeFirst } from "./text-D704xHVl.js";
|
|
6
|
-
import { C as tenantTypeOf } from "./subject-
|
|
7
|
-
import { a as quoteIdent, c as quoteTable, i as qualified, o as quoteLiteral, s as quoteQualified } from "./quote-
|
|
8
|
-
import { t as CUSTOM_ROLES } from "./shared-
|
|
9
|
-
import {
|
|
6
|
+
import { C as tenantTypeOf } from "./subject-B7p94Y0s.js";
|
|
7
|
+
import { a as quoteIdent, c as quoteTable, i as qualified, o as quoteLiteral, s as quoteQualified } from "./quote-LNaBdCGA.js";
|
|
8
|
+
import { t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
|
|
9
|
+
import { B as rolesTableScope, P as currentKeyExpr } from "./interactive-only-Bbq9e61G.js";
|
|
10
10
|
// src/cli/rls/custom-role-rebuild.ts
|
|
11
11
|
const PREFIX = "PermDock CLI";
|
|
12
12
|
/** A column of the roles-table row `r`. */
|
|
@@ -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-5cvjmHTG.js";
|
|
2
|
+
import { r as ApiKeySubjectOptions } from "./credentials-Dl0-R2aB.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,
|
|
4
|
+
import { t as InstanceOptions } from "./instance-options-hq5Cp2Ih.js";
|
|
5
|
+
import { a as PermDock, o as PermDockOptions } from "./permdock-V86uejcm.js";
|
|
6
|
+
import { n as SubjectCache, s as VersionCache } from "./subject-cache-UKUgQCEX.js";
|
|
7
|
+
import { D as Policy, N as PolicyVocabulary, Or as Principal } from "./policy-types-BnBZvh7N.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
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as memoryApprovalStore } from "./store-n3yEN7dt.js";
|
|
2
|
-
import { c as APP, t as getPermDock } from "./permdock-
|
|
2
|
+
import { c as APP, t as getPermDock } from "./permdock-JM9TKevZ.js";
|
|
3
3
|
import { r as isRecord, t as compact } from "./compact-C4LFuqbW.js";
|
|
4
4
|
import { t as instanceOptions } from "./instance-options-CLErhA76.js";
|
|
5
5
|
import { n as memoryLimitStore, t as limits } from "./limits-DpTxX6N4.js";
|
|
6
|
-
import { _ as claimsFirst } from "./instance-snapshot-
|
|
6
|
+
import { _ as claimsFirst } from "./instance-snapshot-D03srwnf.js";
|
|
7
7
|
import { r as mapClaimsToSubject } from "./map-claims-BKdnPwep.js";
|
|
8
8
|
import { c as subjectFromApiKey } from "./credentials-B-hsgB4W.js";
|
|
9
9
|
// src/core/version-sources.ts
|
|
@@ -2,7 +2,7 @@ import { r as isRecord, t as compact } from "./compact-C4LFuqbW.js";
|
|
|
2
2
|
import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
|
|
3
3
|
import { r as validateRecord } from "./thenable-BxMy2v8w.js";
|
|
4
4
|
import { t as anonymousSubject } from "./subject-DkxY-AhF.js";
|
|
5
|
-
import { t as readMemberships } from "./read-memberships-
|
|
5
|
+
import { t as readMemberships } from "./read-memberships-DVBitJZG.js";
|
|
6
6
|
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";
|
|
@@ -276,6 +276,11 @@ function subjectActor(actor, options) {
|
|
|
276
276
|
default: return actor;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
+
function suspendedClaim(value) {
|
|
280
|
+
if (!Array.isArray(value)) return;
|
|
281
|
+
const ids = value.filter((item) => typeof item === "string");
|
|
282
|
+
return ids.length === 0 ? void 0 : ids;
|
|
283
|
+
}
|
|
279
284
|
function mapClaims(claims, options) {
|
|
280
285
|
const role = claims["role"];
|
|
281
286
|
if (role === "anon" || role === "service_role") return anonymousSubject();
|
|
@@ -310,6 +315,7 @@ function mapClaims(claims, options) {
|
|
|
310
315
|
plans: plans.length > 0 ? plans : void 0,
|
|
311
316
|
memberships,
|
|
312
317
|
membershipsTruncated: claimAt(claims, "memberships_truncated") === true ? true : void 0,
|
|
318
|
+
suspendedIn: suspendedClaim(claimAt(claims, "suspended_in")),
|
|
313
319
|
authzVersion: typeof version === "number" && Number.isInteger(version) ? version : void 0,
|
|
314
320
|
customRolesVersion: typeof rolesVersion === "number" && Number.isInteger(rolesVersion) ? rolesVersion : void 0,
|
|
315
321
|
issuer: typeof claims["iss"] === "string" ? claims["iss"] : void 0,
|
package/dist/delivery/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Sn as
|
|
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-BnBZvh7N.js";
|
|
2
|
+
import { i as approvalUrlFor, n as ApprovalUrl, r as approvalPrompt, t as ApprovalPrompt } from "../approval-prompt-CJvYBdja.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-CDkJNA3a.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-BF4IlvkT.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 };
|
package/dist/delivery/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as approvalUrlFor, t as approvalPrompt } from "../approval-prompt-Covyx_DB.js";
|
|
2
|
-
import { n as subscribersFor, t as audience } from "../audience-
|
|
2
|
+
import { n as subscribersFor, t as audience } from "../audience-B6DQ5wQu.js";
|
|
3
3
|
import { t as CONNECTOR_SCHEMA } from "../connector-schema-BSRMyq4M.js";
|
|
4
4
|
import { a as parseConnector, i as CONNECTOR_KINDS, n as createPermDock, r as memoryDeliveryTransport, t as webhookTransport } from "../delivery-Cb3VCij5.js";
|
|
5
5
|
import { i as isDeliveryTarget, n as isAddrSpec } from "../target-BGpxgKsN.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cr as DeniedDecision, ir as Decision, sr as DenialReason } from "./policy-types-BnBZvh7N.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";
|
|
@@ -21,7 +21,7 @@ const diff = defineLeaf({
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
async run(ctx, { flags, args }) {
|
|
24
|
-
return (await import("./diff-
|
|
24
|
+
return (await import("./diff-CkSZF7LO.js")).runDiff({
|
|
25
25
|
cwd: ctx.cwd,
|
|
26
26
|
config: ctx.config,
|
|
27
27
|
sources: [args["before"], args["after"]].filter((value) => value !== void 0),
|
|
@@ -3,8 +3,8 @@ import { t as parseCatalog } from "./parse-CUqZ_lLC.js";
|
|
|
3
3
|
import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
|
|
4
4
|
import { g as secondsOf } from "./time-r0CKBm57.js";
|
|
5
5
|
import { n as findPermission } from "./permission-registry-DstT40VS.js";
|
|
6
|
-
import { t as getPermDock } from "./permdock-
|
|
7
|
-
import {
|
|
6
|
+
import { t as getPermDock } from "./permdock-JM9TKevZ.js";
|
|
7
|
+
import { A as memoryCustomRoleSource } from "./src-BXDohWNO.js";
|
|
8
8
|
import { t as buildCatalog } from "./catalog-doc-D4g3nyFB.js";
|
|
9
9
|
import { f as usageResult, i as configError } from "./errors-DgLOqc6j.js";
|
|
10
10
|
import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-3aUUP6Nx.js";
|