permdock 0.35.1 → 0.36.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 +1 -1
- package/dist/a2a/index.js +2 -2
- package/dist/{adoption-scan-B_jVJgMK.js → adoption-scan-FcbJOEo1.js} +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/ai-sdk/index.d.ts +1 -1
- 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/approvals/index.d.ts +1 -1
- package/dist/{arazzo-D-fDq8Dv.js → arazzo-BRWgVc8j.js} +1 -1
- package/dist/{arazzo-CKsNFj_5.js → arazzo-rYG2UY9k.js} +2 -2
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +1 -1
- package/dist/authzen/index.d.ts +3 -3
- package/dist/authzen/index.js +1 -1
- package/dist/better-supabase/index.d.ts +13 -4
- package/dist/better-supabase/index.js +8 -8
- package/dist/{bind-DPptdk31.js → bind-2Cuy29LS.js} +2 -2
- package/dist/{bind-BnrOLyJq.d.ts → bind-Caffleoh.d.ts} +5 -5
- package/dist/{bsb-access-tags-1oVQZWKp.js → bsb-access-tags-Bfmhft2o.js} +1 -1
- package/dist/{bsb-action-keys-BfZAwg-9.js → bsb-action-keys-LgveZiHJ.js} +2 -2
- package/dist/{bsb-actions-BHiyBxQZ.js → bsb-actions-DcDxQ_Ku.js} +3 -3
- package/dist/{budgets-hi-ecgEd.js → budgets-B2hIDaz7.js} +2 -2
- package/dist/{build-instance-DZEWYO-A.js → build-instance-CZg_Bf45.js} +1 -1
- package/dist/{bundle-size-DbXV65Ix.js → bundle-size-BjdmlKWJ.js} +2 -2
- package/dist/bundle-size-BoG9Jm7c.js +1 -0
- package/dist/{casbin-CWfeuRmI.js → casbin-4FACZ5Ez.js} +1 -1
- package/dist/{casbin-DqiTIceJ.js → casbin-Cz8BGXHW.js} +1 -1
- package/dist/{catalog-CBPFyRv7.js → catalog-DYC6wfAj.js} +1 -1
- package/dist/{catalog-BExjL94D.js → catalog-SnaPhbZ1.js} +2 -2
- package/dist/{catalog-doc-D4g3nyFB.js → catalog-doc-BX97oFAn.js} +1 -1
- package/dist/catalog-e6QRd1JP.js +1 -0
- package/dist/chat/index.d.ts +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/chat-sdk/index.d.ts +1 -1
- package/dist/claude-agent/index.d.ts +2 -2
- package/dist/claude-agent/index.js +2 -2
- package/dist/clerk/index.d.ts +1 -1
- package/dist/cli/bin.js +1 -1
- package/dist/cli/generate/watch-worker.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/plugins/app.js +1 -1
- package/dist/cli/plugins/openapi.js +1 -1
- package/dist/cli/plugins/powersync.js +1 -1
- package/dist/cli/plugins/rls.js +1 -1
- package/dist/cli/plugins/schemas.js +1 -1
- package/dist/cli/plugins/supabase-hook.js +1 -1
- package/dist/cli/plugins/supabase.js +2 -2
- package/dist/cli/plugins/ui.js +1 -1
- package/dist/{cloud-CvA_LeOt.js → cloud-BB67klb4.js} +2 -2
- package/dist/{codemod-DduTfuWM.js → codemod-BPcxGOlq.js} +5 -5
- package/dist/{codemod-CA0MQoG4.js → codemod-Lov9764v.js} +1 -1
- package/dist/collect-C2_CKZ09.js +1 -0
- package/dist/{collect-Ba7ccZ23.js → collect-CcE8QBtZ.js} +2 -2
- package/dist/{collect-CPimbkC5.js → collect-Co-w8Eg2.js} +1 -1
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-CoUadQXF.d.ts → compile-CyUn58lf.d.ts} +1 -1
- package/dist/{compile-D-BULiHE.js → compile-EtZv2wc0.js} +6 -6
- package/dist/{completion-DXdFnwLY.js → completion-5Y8toe1d.js} +1 -1
- package/dist/{config-BWYfHYvW.js → config-DfbiV554.js} +1 -1
- package/dist/{config-report-pg-66Bdr.js → config-report-Cs6iDebE.js} +2 -2
- package/dist/{context-rioF4fQl.js → context-CFPsmfPl.js} +1 -1
- package/dist/convex/index.d.ts +2 -2
- package/dist/convex/index.js +2 -2
- package/dist/{core-DCMIztx1.d.ts → core-_Lofwt2K.d.ts} +1 -1
- package/dist/{core-DIUrkFNL.js → core-s_TCdJ6G.js} +2 -2
- package/dist/{create-BYL8xCJB.d.ts → create-BfTbYrts.d.ts} +1 -1
- package/dist/{create-T_NqxU31.d.ts → create-D12I1Vkl.d.ts} +4 -4
- package/dist/{create-BMRnaZel.js → create-D6B06lb8.js} +3 -3
- package/dist/{create-iCwrnaFE.d.ts → create-EPbgV-LA.d.ts} +2 -2
- package/dist/{create-BRY0OtFV.js → create-bbjS7tCW.js} +2 -2
- package/dist/{credentials-DzNrCNZY.d.ts → credentials-DtSnydoD.d.ts} +1 -1
- package/dist/{custom-role-rebuild-wzN8pqDk.js → custom-role-rebuild-QFXiMHqJ.js} +1 -1
- package/dist/{define-permdock-CO7YNrOF.js → define-permdock-Dazve5lw.js} +1 -1
- package/dist/{define-permdock-Bhye7WSY.d.ts → define-permdock-ZR0w-Loy.d.ts} +3 -3
- package/dist/delivery/index.d.ts +1 -1
- package/dist/{diff-CkSZF7LO.js → diff-BABnQ-z0.js} +3 -3
- package/dist/{diff-CS8ks9h3.js → diff-C7zKA7ny.js} +1 -1
- package/dist/{doctor-Cs0Xl46A.js → doctor-Chio5Col.js} +101 -31
- package/dist/{doctor-B55XfWdG.js → doctor-Cm1HDI5s.js} +2 -2
- package/dist/drizzle/index.d.ts +2 -2
- package/dist/elysia/index.d.ts +3 -3
- package/dist/elysia/index.js +1 -1
- package/dist/{evaluations-CUkSKioS.d.ts → evaluations-BYoj5ci6.d.ts} +1 -1
- package/dist/eve/index.d.ts +2 -2
- package/dist/eve/index.js +2 -2
- package/dist/{execute-Vfo2CAhv.js → execute-B_yY9xWV.js} +4 -4
- package/dist/{explain-DISCeeYS.js → explain-Blkq60Ff.js} +2 -2
- package/dist/{explain-D4ipf8IH.js → explain-CKIqxXSe.js} +1 -1
- package/dist/express/index.d.ts +3 -3
- package/dist/express/index.js +1 -1
- package/dist/fastify/index.d.ts +3 -3
- package/dist/fastify/index.js +1 -1
- package/dist/{fetch-adapter-Ds2-fUUi.d.ts → fetch-adapter-CdaSVKrt.d.ts} +2 -2
- package/dist/{fetch-adapter-BXQc4NoV.js → fetch-adapter-DXgza6EM.js} +1 -1
- package/dist/{fields-CwFej4gp.js → fields-CKX-qjWb.js} +1 -1
- package/dist/gen-CYuPbpBZ.js +1 -0
- package/dist/{gen-M_5UU5Ck.js → gen-DlJK73v7.js} +4 -4
- package/dist/{gen-kind-DLz0P-TB.js → gen-kind-C4tERYMw.js} +1 -1
- package/dist/{generate-CNkkKAL-.js → generate-CFqcr3H6.js} +94 -15
- package/dist/{generate-GCDLA8vW.js → generate-CbLA2WW_.js} +3 -3
- package/dist/{generate-options-O3mVjjcG.js → generate-options-BFAvlJKQ.js} +9 -9
- package/dist/h3/index.d.ts +3 -3
- package/dist/h3/index.js +2 -2
- package/dist/{helper-calls-B5MOl99d.js → helper-calls-DN1PJcNY.js} +53 -1
- package/dist/hono/index.d.ts +3 -3
- package/dist/hono/index.js +1 -1
- package/dist/{hook-sql-y0CJBLJr.js → hook-sql-CSUFnRn0.js} +283 -13
- package/dist/{import-CQSJ6xcN.js → import-B-17dw3B.js} +1 -1
- package/dist/{import-Bz6IKoMM.js → import-wBO24zgo.js} +1 -1
- package/dist/{index-Cjr8Q-uq.d.ts → index-Bb2sZq1K.d.ts} +8 -7
- package/dist/{index-CWBCzwOp.d.ts → index-CT4VKXU-.d.ts} +1 -1
- package/dist/{index-ktQ7E4qB.d.ts → index-Cfg0ED9K.d.ts} +2 -2
- package/dist/{index-BOJPdIBk.d.ts → index-DY1aJ-K1.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +2 -2
- package/dist/{init-BucxAxRw.js → init-Bg0vS1LV.js} +1 -1
- package/dist/{init-Cfb0VX3T.js → init-DRbkPclr.js} +3 -3
- package/dist/{inspect-functions-CzrQtRDb.js → inspect-functions-DLP72IMA.js} +1 -1
- package/dist/{instance-options-DDERlopm.d.ts → instance-options-D-SLCp4I.d.ts} +1 -1
- package/dist/{interactive-only-Bbq9e61G.js → interactive-only-CylKSukS.js} +1 -1
- package/dist/{kernel-DSnWVZ0O.js → kernel-CzzmzwLg.js} +3 -3
- package/dist/{keys-BWhAnANj.js → keys-C-W0yrql.js} +1 -1
- package/dist/kysely/index.d.ts +2 -2
- package/dist/{lazy-provider-Clt2095H.d.ts → lazy-provider-BSHAIpMK.d.ts} +1 -1
- package/dist/{login-qYcM0hKh.js → login-D6IJk8k1.js} +1 -1
- package/dist/{login-CU89mk0U.js → login-yF-sDNm9.js} +3 -3
- package/dist/{manifest-Bu9gUrI0.js → manifest-DkHIGPoY.js} +63 -52
- package/dist/{manifest-schema-N3v2RVL-.js → manifest-schema-CkROwfT9.js} +1 -1
- package/dist/{manifest-CIWOmdlP.js → manifest-teSfgeqF.js} +1 -1
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +2 -2
- package/dist/{measure-C_Z0a7B8.js → measure-_VlSPfSY.js} +2 -2
- package/dist/{memberships-CNoAlsma.js → memberships-CDiSsFTu.js} +1 -1
- package/dist/{memberships-4e6qi8Uv.js → memberships-DiCbNRny.js} +1 -1
- package/dist/{model-BYCtXS_g.js → model-r7X_HXyS.js} +2 -2
- package/dist/{names-DBxKx2bz.js → names-DwGleRKB.js} +3 -3
- package/dist/nest/index.d.ts +3 -3
- package/dist/nest/index.js +1 -1
- package/dist/next/index.d.ts +6 -6
- package/dist/next/index.js +3 -3
- package/dist/next/plugin.js +1 -1
- package/dist/node/index.d.ts +3 -3
- package/dist/node/index.js +1 -1
- package/dist/openai/index.d.ts +2 -2
- package/dist/openai/index.js +3 -3
- package/dist/{openapi-DIhS8iHN.js → openapi-D156UqcM.js} +100 -5
- package/dist/{openapi-ZIlGKUwQ.js → openapi-Dcqqja0n.js} +1 -1
- package/dist/{openapi-document-D5IhoJo0.js → openapi-document-CTvHkCXz.js} +1 -1
- package/dist/orpc/index.d.ts +4 -4
- package/dist/orpc/index.js +2 -2
- package/dist/otel/index.d.ts +2 -2
- package/dist/{output-DIjUJioq.js → output-DNbj0_Yi.js} +1 -1
- package/dist/{ownership-Bmt-z0rF.js → ownership-BvKT4DBj.js} +3 -3
- package/dist/pdp/index.d.ts +2 -2
- package/dist/pdp/index.js +1 -1
- package/dist/{permdock-DkvkGVF0.d.ts → permdock-CHU1LZGq.d.ts} +5 -3
- package/dist/{permdock-JM9TKevZ.js → permdock-DZmr2kJw.js} +2 -1
- package/dist/{permissions-xPyAmuXi.js → permissions-DUmypTlO.js} +1 -1
- package/dist/{pipeline-BAGSNnct.js → pipeline-BMbLI2Sj.js} +2 -2
- package/dist/{policy-D8RxFeZO.js → policy-DekUQ-6v.js} +1 -1
- package/dist/{policy-bundle-DC_xq2R5.js → policy-bundle-JU4-AFJM.js} +3 -3
- package/dist/{powersync-CgCMKvaU.js → powersync-CpxkK_Lz.js} +1 -1
- package/dist/{powersync-BlfO3_jN.js → powersync-D9ZLDzyv.js} +1 -1
- package/dist/{powersync-CiQ97gzz.js → powersync-cG4lxrzQ.js} +8 -8
- package/dist/prisma/index.d.ts +1 -1
- package/dist/{protected-action-gBxeetqY.d.ts → protected-action-Dux5RJbA.d.ts} +3 -3
- package/dist/{provider-Clt2095H.d.ts → provider-BSHAIpMK.d.ts} +1 -1
- package/dist/{provider-BwqzED5h.js → provider-BfKUBNyV.js} +32 -5
- package/dist/{prune-config-CbhJ_XvD.js → prune-config-ByigsAkl.js} +4 -4
- package/dist/{pull-DLyCr-7L.js → pull-4Cyo0uTS.js} +3 -3
- package/dist/pull-_ic7Md2h.js +1 -0
- package/dist/{push-D5so0ptb.js → push-Br0Uz5pT.js} +2 -2
- package/dist/{rbac-DbyaaNLa.js → rbac-BOVyTCI6.js} +3 -3
- package/dist/react/index.d.ts +4 -4
- package/dist/react/lazy.d.ts +4 -4
- 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 +4 -4
- package/dist/{rename-CI6NIF9t.js → rename-Dp47Gs_j.js} +2 -2
- package/dist/{report-DF0zUNut.js → report-Dp-ApWVC.js} +1 -1
- package/dist/{report-XdCm1y_J.js → report-x9GeUvjx.js} +1 -1
- package/dist/{request-context-CqqdiVp4.js → request-context-LvIolknK.js} +1 -1
- package/dist/{resolve-names-BR6PiCrx.js → resolve-names-B_no27Dh.js} +4 -4
- package/dist/{resolver-D2c1CcoZ.js → resolver-CAmmdVAL.js} +22 -11
- package/dist/{rls-CdQW7v9D.js → rls-C816Uuvx.js} +5 -5
- package/dist/{rls-BfUIMNeV.js → rls-DB18scnl.js} +13 -12
- package/dist/{rls-files-68-nKfmG.js → rls-files-Cp-qzl61.js} +1 -1
- package/dist/{row-conditions-DwIJocfQ.js → row-conditions-BjARoFLU.js} +1 -1
- package/dist/{rpc-BYFB37KV.d.ts → rpc-CL8lrV5Y.d.ts} +1 -1
- package/dist/{rpc-BQPa7tLP.js → rpc-CoClxzcc.js} +1 -1
- package/dist/{run-B2Axta4z.js → run-CJhz8BHw.js} +2 -2
- package/dist/run-PpoUQXDc.js +1 -0
- package/dist/{run-ticket-CRldclc7.d.ts → run-ticket-CCRYQNj0.d.ts} +1 -1
- package/dist/{saas-DSeazNrN.js → saas-iXqf78G8.js} +2 -2
- package/dist/{scan-DNzOELYT.js → scan-DvM-_F8-.js} +1 -1
- package/dist/{schema-CJc23R4a.js → schema-uTRr3B9f.js} +1 -1
- package/dist/server/index.d.ts +5 -5
- package/dist/server/index.js +1 -1
- package/dist/{server-types-FkdDSB9h.d.ts → server-types-C_Lnc8Ec.d.ts} +5 -5
- package/dist/{size-CY6rK6l9.js → size-BO7J8M3B.js} +2 -2
- package/dist/{skills-DTpSMQRg.js → skills-B5exEJf5.js} +1 -1
- package/dist/{skills-TqrLrmuv.js → skills-DF_3nX9_.js} +1 -1
- package/dist/{snapshot-size-D6ixbYvH.js → snapshot-size-BzamcZrn.js} +1 -1
- package/dist/{snapshot-size-NklqBKcV.js → snapshot-size-CJ53OOen.js} +1 -1
- package/dist/solid/index.d.ts +2 -2
- package/dist/solid-start/index.d.ts +3 -3
- package/dist/solid-start/index.js +2 -2
- package/dist/{src-BXDohWNO.js → src-CYKqpYUM.js} +4 -4
- package/dist/{store-core-aluQ3R1M.d.ts → store-core-D5-cqb6z.d.ts} +1 -1
- package/dist/{stores-hHICuiQl.d.ts → stores-DPUPLu29.d.ts} +3 -3
- package/dist/supabase/index.d.ts +2 -2
- package/dist/supabase/index.js +3 -3
- package/dist/supabase/middleware.d.ts +4 -4
- package/dist/supabase/middleware.js +3 -3
- package/dist/{supabase-MitbozF6.js → supabase-Dpy2XE9v.js} +2 -2
- package/dist/{supabase-ByhSqBDB.js → supabase-NpHqrRXC.js} +2 -2
- package/dist/supabase-hook-DaK4Rirh.js +2 -0
- package/dist/{supabase-hook-RFLW2YPX.js → supabase-hook-VIpXUHKI.js} +5 -5
- package/dist/{supabase-schemas-CVhpyYB6.js → supabase-schemas-DA28GP4N.js} +1 -1
- package/dist/{supautils-C85NuESf.js → supautils-ym4X20ig.js} +2 -1
- package/dist/svelte/index.d.ts +3 -3
- package/dist/svelte/runtime.d.ts +2 -2
- package/dist/svelte/source.d.ts +3 -3
- package/dist/sveltekit/index.d.ts +3 -3
- package/dist/sveltekit/index.js +1 -1
- package/dist/{table-reads-Dso5UyeT.js → table-reads-4KzGXg9f.js} +1 -1
- package/dist/{table-reads-D0M_X-pj.js → table-reads-B5kunhny.js} +3 -3
- package/dist/{tables-DrrGtayG.js → tables-BwQvlpS4.js} +4 -4
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +1 -1
- package/dist/{tenant-check-D6fnfQBP.js → tenant-check-CsJkduIb.js} +3 -3
- package/dist/terminal/index.d.ts +2 -2
- package/dist/terminal/index.js +2 -2
- package/dist/testing/core.d.ts +1 -1
- package/dist/testing/core.js +1 -1
- package/dist/testing/fixtures/index.js +1753 -162
- package/dist/testing/index.d.ts +7 -7
- package/dist/testing/index.js +6 -6
- package/dist/testing/saas/index.d.ts +1 -1
- package/dist/testing/saas/index.js +2 -2
- package/dist/testing/saas/permissions.js +1 -1
- package/dist/trpc/index.d.ts +4 -4
- package/dist/trpc/index.js +2 -2
- package/dist/{types-DRMoZjJm.d.ts → types-B23A72BG.d.ts} +1 -1
- package/dist/{types-D417woMp.d.ts → types-BRaJxlqL.d.ts} +2 -2
- package/dist/{types-CBUYbPwl.d.ts → types-C8sDUhaF.d.ts} +1 -1
- package/dist/{types-dtDg4goh.d.ts → types-CM5GwxiJ.d.ts} +2 -2
- package/dist/{types-BzsplNgO.d.ts → types-iwSmOTcK.d.ts} +2 -2
- package/dist/unplugin/index.js +1 -1
- package/dist/{usage-DBaJfCZB.js → usage-BD_z4pba.js} +1 -1
- package/dist/{usage-Cv4WDRWv.js → usage-_9h9jQo8.js} +4 -4
- package/dist/usage-wphGxzPQ.js +1 -0
- package/dist/{verify-DT9WS_Gm.js → verify-cw6SFoQE.js} +9 -9
- package/dist/vue/index.d.ts +2 -2
- package/dist/{warm-BZ0ZwSmO.js → warm-XyQ-2nUR.js} +1 -1
- package/dist/watch-5WP3ZCcR.js +1 -0
- package/dist/{watch-14vng0pg.js → watch-BFDMb5N4.js} +1 -1
- package/dist/{watch-DuIAsqFR.js → watch-Cvc7eUPk.js} +2 -2
- package/dist/workflow/index.d.ts +1 -1
- package/dist/workflow/index.js +1 -1
- package/dist/workflow-sdk/index.d.ts +2 -2
- package/dist/{wrap-C36-eV-C.d.ts → wrap-B4Ge6LOd.d.ts} +1 -1
- package/package.json +1 -1
- package/schemas/supabase-manifest-v1.json +1 -1
- package/dist/bundle-size-BRFeBvuv.js +0 -1
- package/dist/catalog-sR0m6x2g.js +0 -1
- package/dist/collect-CIdE3FGC.js +0 -1
- package/dist/gen-vr1udb1p.js +0 -1
- package/dist/pull-IQPhpX4y.js +0 -1
- package/dist/run-CfvcMtPK.js +0 -1
- package/dist/supabase-hook-DZk7PV7Z.js +0 -2
- package/dist/usage-DOcCnIdW.js +0 -1
- package/dist/watch-Be7ja4dL.js +0 -1
package/dist/supabase/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import { r as readSubjectRecord } from "../version-cache-Ccrfu2A4.js";
|
|
|
2
2
|
import { n as compactMemberships, r as expandMemberships } from "../read-memberships-DVBitJZG.js";
|
|
3
3
|
import { n as AUTHZ_TOPIC, r as authzUserTopic, t as AUTHZ_EVENT } from "../authz-topic-D8x24Jv-.js";
|
|
4
4
|
import { n as supabaseMembershipsBudget, r as supabaseTenantClaim } from "../budget-BH81q2cj.js";
|
|
5
|
-
import { a as tableApprovalPolicySource, c as exchangeCapability, i as tableApprovalDelegationSource, n as authorizeSql, o as supabaseApprovalStore, r as supabaseRls, s as supabaseClaims, t as definePermDock } from "../supabase-
|
|
5
|
+
import { a as tableApprovalPolicySource, c as exchangeCapability, i as tableApprovalDelegationSource, n as authorizeSql, o as supabaseApprovalStore, r as supabaseRls, s as supabaseClaims, t as definePermDock } from "../supabase-NpHqrRXC.js";
|
|
6
6
|
import { c as tableMembershipSource, i as authzVersion, o as junctionMembershipSource, s as supabasePostgresQuery, t as AUTHZ_VERSION_TABLE } from "../sources-C6Id63F8.js";
|
|
7
|
-
import { r as subjectFromSupabaseClient, s as postgrestSources } from "../resolver-
|
|
7
|
+
import { r as subjectFromSupabaseClient, s as postgrestSources } from "../resolver-CAmmdVAL.js";
|
|
8
8
|
import { a as delegationOf, i as actorOf, o as subjectFromSupabase, s as subjectFromSupabaseSession } from "../definition-options-DLBlRrPO.js";
|
|
9
|
-
import { n as parseSupabaseManifest, t as hasTokenHook } from "../manifest-
|
|
9
|
+
import { n as parseSupabaseManifest, t as hasTokenHook } from "../manifest-teSfgeqF.js";
|
|
10
10
|
export { AUTHZ_EVENT, AUTHZ_TOPIC, AUTHZ_VERSION_TABLE, actorOf, authorizeSql, authzUserTopic, authzVersion, compactMemberships, definePermDock, delegationOf, exchangeCapability, expandMemberships, hasTokenHook, junctionMembershipSource, parseSupabaseManifest, postgrestSources, readSubjectRecord, subjectFromSupabase, subjectFromSupabaseClient, subjectFromSupabaseSession, supabaseApprovalStore, supabaseClaims, supabaseMembershipsBudget, supabasePostgresQuery, supabaseRls, supabaseTenantClaim, tableApprovalDelegationSource, tableApprovalPolicySource, tableMembershipSource };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as TenantSlugResolver, t as TenantFromPathOptions } from "../tenant-from-path-Dq3jkqjh.js";
|
|
2
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
2
|
+
import { t as InstanceOptions } from "../instance-options-D-SLCp4I.js";
|
|
3
|
+
import { a as PermDock } from "../permdock-CHU1LZGq.js";
|
|
4
4
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
5
5
|
import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal } from "../policy-types-DuM3k5Ao.js";
|
|
6
|
-
import { n as ServerAdapterServices } from "../bind-
|
|
6
|
+
import { n as ServerAdapterServices } from "../bind-Caffleoh.js";
|
|
7
7
|
import { t as RequestContext } from "../request-context-E3-ps-H_.js";
|
|
8
|
-
import { i as OpenApiHooks } from "../server-types-
|
|
8
|
+
import { i as OpenApiHooks } from "../server-types-C_Lnc8Ec.js";
|
|
9
9
|
import { FetchHandler, Middleware } from "@supabase/middleware";
|
|
10
10
|
/**
|
|
11
11
|
* The verified Supabase Auth access-token payload as `@supabase/server`
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as withApp } from "../permdock-
|
|
1
|
+
import { u as withApp } from "../permdock-DZmr2kJw.js";
|
|
2
2
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
3
3
|
import { r as credentialSubject } from "../credential-D9in5keC.js";
|
|
4
4
|
import { t as instanceOptions } from "../instance-options-CLErhA76.js";
|
|
5
5
|
import { t as composeWraps } from "../wrap-CsfsaJhd.js";
|
|
6
|
-
import { n as attached } from "../bind-
|
|
7
|
-
import { t as createPermDock$1 } from "../create-
|
|
6
|
+
import { n as attached } from "../bind-2Cuy29LS.js";
|
|
7
|
+
import { t as createPermDock$1 } from "../create-D6B06lb8.js";
|
|
8
8
|
import { o as methodNotAllowed } from "../problem-BZB7zPC7.js";
|
|
9
9
|
import { n as tenantFromPath$1 } from "../tenant-from-path-AKTSY7uR.js";
|
|
10
10
|
import { n as supabaseOptionsOf, o as subjectFromSupabase, t as SUPABASE_OPTIONS } from "../definition-options-DLBlRrPO.js";
|
|
@@ -20,7 +20,7 @@ const inspect = defineLeaf({
|
|
|
20
20
|
},
|
|
21
21
|
async run(ctx, { flags }) {
|
|
22
22
|
if (flags.functions !== void 0) {
|
|
23
|
-
const { inspectFunctions } = await import("./inspect-functions-
|
|
23
|
+
const { inspectFunctions } = await import("./inspect-functions-DLP72IMA.js");
|
|
24
24
|
return inspectFunctions({
|
|
25
25
|
cwd: ctx.cwd,
|
|
26
26
|
config: ctx.config,
|
|
@@ -29,7 +29,7 @@ const inspect = defineLeaf({
|
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
const out = flags.out === "" ? true : flags.out === "-" ? void 0 : flags.out;
|
|
32
|
-
const { runSupabase } = await import("./supabase-hook-
|
|
32
|
+
const { runSupabase } = await import("./supabase-hook-DaK4Rirh.js");
|
|
33
33
|
return runSupabase({
|
|
34
34
|
cwd: ctx.cwd,
|
|
35
35
|
config: ctx.config,
|
|
@@ -8,12 +8,12 @@ import { t as CUSTOM_ROLES_VERSION_CLAIM } from "./budget-BH81q2cj.js";
|
|
|
8
8
|
import { s as ApprovalError } from "./types-DFZKovb3.js";
|
|
9
9
|
import { c as decodeApprovalCursor, l as encodeApprovalCursor, s as approvalPageSize, t as applyApprovalVerdict } from "./store-n3yEN7dt.js";
|
|
10
10
|
import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
|
|
11
|
-
import { a as withMembers, i as ownedCaches, n as getPermissions, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "./resolver-
|
|
11
|
+
import { a as withMembers, i as ownedCaches, n as getPermissions, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "./resolver-CAmmdVAL.js";
|
|
12
12
|
import { d as keptKeys, l as roleColumn } from "./sources-C6Id63F8.js";
|
|
13
13
|
import { a as quoteQualifiedTable, c as quoteSqlTable, d as sqlTextArray, i as qualifySqlTable, o as quoteSqlIdent, s as quoteSqlLiteral } from "./sql-T4GaBh9X.js";
|
|
14
14
|
import { t as compactMembershipsSql } from "./membership-claim-sql-DGfhIn__.js";
|
|
15
15
|
import { o as subjectFromSupabase, t as SUPABASE_OPTIONS } from "./definition-options-DLBlRrPO.js";
|
|
16
|
-
import { t as definePermDock$1 } from "./define-permdock-
|
|
16
|
+
import { t as definePermDock$1 } from "./define-permdock-Dazve5lw.js";
|
|
17
17
|
import { r as isSubject } from "./subject-DkxY-AhF.js";
|
|
18
18
|
// src/supabase/capability.ts
|
|
19
19
|
const DEFAULT_TTL = 300;
|
|
@@ -5,13 +5,13 @@ import { _ as writeOutputFiles, d as pgDeltaPath, g as underSchemaDir, h as serv
|
|
|
5
5
|
import { i as readJsonFile, o as sqlFiles, s as writeFileEnsuringDir } from "./files-DAR51W3J.js";
|
|
6
6
|
import { n as formatManifestJson, t as MANIFEST_FILE } from "./manifest-json-DMaBWmcG.js";
|
|
7
7
|
import { c as requirePolicy } from "./load-m7jmit3y.js";
|
|
8
|
-
import { a as tryKeyReasons } from "./tenant-check-
|
|
9
|
-
import { n as hookUri } from "./rbac-
|
|
10
|
-
import { a as withTableReads } from "./table-reads-
|
|
11
|
-
import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, i as supabaseHookManifest, l as configToml, n as hooklessDatabase, o as defaultOut, r as supabaseDatabaseManifest, s as hookMarker, t as grantsLabel } from "./hook-sql-
|
|
8
|
+
import { a as tryKeyReasons } from "./tenant-check-CsJkduIb.js";
|
|
9
|
+
import { n as hookUri } from "./rbac-BOVyTCI6.js";
|
|
10
|
+
import { a as withTableReads } from "./table-reads-B5kunhny.js";
|
|
11
|
+
import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, i as supabaseHookManifest, l as configToml, n as hooklessDatabase, o as defaultOut, r as supabaseDatabaseManifest, s as hookMarker, t as grantsLabel } from "./hook-sql-CSUFnRn0.js";
|
|
12
12
|
import { r as HOOK_MARKER, s as hookMarkerFields } from "./markers-C-kThnKN.js";
|
|
13
13
|
import { i as withSchemaDefaults } from "./schema-tables-Ba9LE_XB.js";
|
|
14
|
-
import { l as supabaseConfig, n as resolveSchemas, r as schemasRefusal, t as isSupabaseSchemas } from "./supabase-schemas-
|
|
14
|
+
import { l as supabaseConfig, n as resolveSchemas, r as schemasRefusal, t as isSupabaseSchemas } from "./supabase-schemas-DA28GP4N.js";
|
|
15
15
|
import { t as readMemberships } from "./read-memberships-DVBitJZG.js";
|
|
16
16
|
import { r as pgConnector } from "./pg-DmS5ITHu.js";
|
|
17
17
|
import { n as MIGRATION_DIRS } from "./constants-PCJiir_3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./sources-C6Id63F8.js";
|
|
2
2
|
import { a as describeError } from "./errors-DgLOqc6j.js";
|
|
3
|
-
import { n as hookUri } from "./rbac-
|
|
3
|
+
import { n as hookUri } from "./rbac-BOVyTCI6.js";
|
|
4
4
|
import { n as supabaseDir, t as supabaseConfigFile } from "./supabase-dir-0lxKbrYu.js";
|
|
5
5
|
import { existsSync, readFileSync } from "node:fs";
|
|
6
6
|
import { join, posix } from "node:path";
|
|
@@ -2,7 +2,8 @@ import { h as sqlStatements, p as group } from "./ast-Dnm2TOHN.js";
|
|
|
2
2
|
// src/cli/sql/supautils.ts
|
|
3
3
|
/**
|
|
4
4
|
* `supautils.reserved_roles` of supabase/postgres 17.11.0.002 (supautils
|
|
5
|
-
* 3.4.4), unchanged in 17.11.0.006
|
|
5
|
+
* 3.4.4), unchanged in 17.11.0.006 and on the PostgreSQL 17.11 native stack
|
|
6
|
+
* that Supabase CLI 3.4.0 runs.
|
|
6
7
|
*/
|
|
7
8
|
const RESERVED_ROLES = /* @__PURE__ */ new Set([
|
|
8
9
|
"supabase_admin",
|
package/dist/svelte/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as ProtectedProps, n as ProtectedActionReadable, r as SveltePermDockOptions, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-
|
|
1
|
+
import { i as ProtectedProps, n as ProtectedActionReadable, r as SveltePermDockOptions, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-BRaJxlqL.js";
|
|
2
2
|
import { i as describe } from "../describe-DEoWvk00.js";
|
|
3
3
|
import { c as requiredPlans } from "../errors-BliKrfmP.js";
|
|
4
4
|
import { t as approvalHeaders } from "../headers-D1oRr-js.js";
|
|
5
5
|
import { a as broadcastChannelRefresh, c as visibilityRefresh, i as authzChangeRefresh, n as EventSourceRefreshOptions, o as eventSourceRefresh, r as RefreshTrigger, s as focusRefresh, t as AuthzChangeRefresh } from "../refresh-on-C1zIMtJr.js";
|
|
6
|
-
import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-
|
|
6
|
+
import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-DPUPLu29.js";
|
|
7
7
|
import { t as PermissionBoundaryState } from "../boundary-DJqHADKu.js";
|
|
8
|
-
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-
|
|
8
|
+
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-D5-cqb6z.js";
|
|
9
9
|
import { Component } from "svelte";
|
|
10
10
|
export declare const Protected: Component<ProtectedProps>;
|
|
11
11
|
export declare const PermissionBoundary: Component<PermissionBoundaryProps>;
|
package/dist/svelte/runtime.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as boundaryDigest, r as boundaryFallback, t as PermissionBoundaryState } from "../boundary-DJqHADKu.js";
|
|
2
|
-
import { a as scopedFor, c as slotContent, i as ProtectedProps, o as viewFor, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-
|
|
3
|
-
import { t as ClientStore } from "../store-core-
|
|
2
|
+
import { a as scopedFor, c as slotContent, i as ProtectedProps, o as viewFor, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-BRaJxlqL.js";
|
|
3
|
+
import { t as ClientStore } from "../store-core-D5-cqb6z.js";
|
|
4
4
|
import { n as DescribeMessages } from "../describe-DEoWvk00.js";
|
|
5
5
|
/** The provider's `defaults` and `messages`. */
|
|
6
6
|
type PermDockUi = {
|
package/dist/svelte/source.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as ProtectedProps, n as ProtectedActionReadable, r as SveltePermDockOptions, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-
|
|
1
|
+
import { i as ProtectedProps, n as ProtectedActionReadable, r as SveltePermDockOptions, s as PermissionBoundaryProps, t as PermDockDefaults } from "../types-BRaJxlqL.js";
|
|
2
2
|
import { i as describe } from "../describe-DEoWvk00.js";
|
|
3
3
|
import { c as requiredPlans } from "../errors-BliKrfmP.js";
|
|
4
4
|
import { t as approvalHeaders } from "../headers-D1oRr-js.js";
|
|
5
5
|
import { a as broadcastChannelRefresh, c as visibilityRefresh, i as authzChangeRefresh, n as EventSourceRefreshOptions, o as eventSourceRefresh, r as RefreshTrigger, s as focusRefresh, t as AuthzChangeRefresh } from "../refresh-on-C1zIMtJr.js";
|
|
6
|
-
import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-
|
|
6
|
+
import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-DPUPLu29.js";
|
|
7
7
|
import { t as PermissionBoundaryState } from "../boundary-DJqHADKu.js";
|
|
8
|
-
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-
|
|
8
|
+
import { _ as SubjectView, a as ClientPermDock, b as ProtectedAction, c as GateMode, d as PermissionSet, f as PermissionState, g as RolesOptions, i as ApprovalState, l as GateView, m as ProtectedActionView, o as ClientStatus, r as ApprovalHandle, s as FilterResult, v as TenantView, y as ActionResult } from "../store-core-D5-cqb6z.js";
|
|
9
9
|
import { Component } from "svelte";
|
|
10
10
|
export declare const Protected: Component<ProtectedProps>;
|
|
11
11
|
export declare const PermissionBoundary: Component<PermissionBoundaryProps>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-
|
|
1
|
+
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-C_Lnc8Ec.js";
|
|
2
2
|
import { a as OperationInput, t as Operation } from "../operations-DaEoGpMV.js";
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
3
|
+
import { a as PermDock } from "../permdock-CHU1LZGq.js";
|
|
4
4
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
5
5
|
import { D as Policy, N as PolicyVocabulary, Or as Principal, rn as Snapshot } from "../policy-types-DuM3k5Ao.js";
|
|
6
|
-
import { a as ProtectTarget, i as PermDockHandlers, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-
|
|
6
|
+
import { a as ProtectTarget, i as PermDockHandlers, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-CdaSVKrt.js";
|
|
7
7
|
import { RequestEvent } from "@sveltejs/kit";
|
|
8
8
|
/**
|
|
9
9
|
* A `handle` hook. SvelteKit 2 exports `Handle` from `@sveltejs/kit` and
|
package/dist/sveltekit/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
|
|
2
|
-
import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-
|
|
2
|
+
import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-DXgza6EM.js";
|
|
3
3
|
// src/sveltekit/create.ts
|
|
4
4
|
const route = {
|
|
5
5
|
context: (event) => event,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as committedManifest, n as configuredTableReads, r as manifestTableReads, i as tableReads, a as withTableReads } from "./table-reads-
|
|
1
|
+
export { t as committedManifest, n as configuredTableReads, r as manifestTableReads, i as tableReads, a as withTableReads } from "./table-reads-B5kunhny.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
2
2
|
import { d as scopeList } from "./scopes-B-KX9EI8.js";
|
|
3
|
-
import { n as parseSupabaseManifest } from "./manifest-
|
|
3
|
+
import { n as parseSupabaseManifest } from "./manifest-teSfgeqF.js";
|
|
4
4
|
import { i as readJsonFile } from "./files-DAR51W3J.js";
|
|
5
5
|
import { t as MANIFEST_FILE } from "./manifest-json-DMaBWmcG.js";
|
|
6
6
|
import { i as loadConfiguredPolicy } from "./load-m7jmit3y.js";
|
|
7
7
|
import { a as parseSqlFile, c as readPolicy, d as sqlCalls, f as stringValues, t as SqlSyntaxError } from "./ast-Dnm2TOHN.js";
|
|
8
8
|
import { i as taggedAccessPolicies } from "./bsb-access-Bcw6GrQm.js";
|
|
9
|
-
import { a as droppedPolicy, s as reportFiles, u as isPlatformSchema } from "./report-
|
|
10
|
-
import { a as tryKeyReasons, n as tenantCheck, r as keyReason, t as svals } from "./tenant-check-
|
|
9
|
+
import { a as droppedPolicy, s as reportFiles, u as isPlatformSchema } from "./report-x9GeUvjx.js";
|
|
10
|
+
import { a as tryKeyReasons, n as tenantCheck, r as keyReason, t as svals } from "./tenant-check-CsJkduIb.js";
|
|
11
11
|
import { existsSync, readFileSync } from "node:fs";
|
|
12
12
|
import { join, relative } from "node:path";
|
|
13
13
|
// src/cli/rls/shared-functions.ts
|
|
@@ -5,7 +5,7 @@ import { c as rootScope, d as scopeList } from "./scopes-B-KX9EI8.js";
|
|
|
5
5
|
import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
|
|
6
6
|
import { r as relationCondition, t as inheritCondition } from "./grantee-conditions-Dob6QQAc.js";
|
|
7
7
|
import { l as partitionsOf, p as scopeField } from "./tenancy-B5Xxt9Sc.js";
|
|
8
|
-
import { a as delegatedScopeMap } from "./permdock-
|
|
8
|
+
import { a as delegatedScopeMap } from "./permdock-DZmr2kJw.js";
|
|
9
9
|
import { i as configError } from "./errors-DgLOqc6j.js";
|
|
10
10
|
import { d as sqlTextArray, i as qualifySqlTable, t as SQL_IDENT } from "./sql-T4GaBh9X.js";
|
|
11
11
|
import { d as restrictedRowsSql, i as scopeColumn, l as relationArmSql } from "./compile-BUKXrueE.js";
|
|
@@ -15,8 +15,8 @@ import { t as IDENTITY_SCOPES } from "./identity-scopes-CRVAV0HU.js";
|
|
|
15
15
|
import { a as quoteIdent, c as quoteTable, i as qualified, o as quoteLiteral, r as helperSchema, s as quoteQualified } from "./quote-LNaBdCGA.js";
|
|
16
16
|
import { C as tenantTypeOf, a as kindFilterSql, b as idTypeOf, c as roleKindSql, d as subjectClaimSql, f as subjectIdSql, i as keyTenantSql, m as userIdHelperSql, s as memberVia, u as subjectClaimJsonSql, x as scopeTypeOf } from "./subject-B7p94Y0s.js";
|
|
17
17
|
import { i as allowEntry, n as GLOBAL_ROLES, o as rootName, r as HELPERS, s as signedIn, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
|
|
18
|
-
import { B as rolesTableScope, C as sourceRows, E as sqlBody, F as customRolesSql, G as activeRowSql, H as trustedReaderGrants, I as hasCustomRoleChecksFor, J as grantPermissionSql, K as activeUserSql, L as perScope, M as userActive, N as globalRoleSource, O as instancesActive, P as currentKeyExpr, R as raiseSql, S as sourceIdOf, T as sourcesKeep, U as activeInstancesSql, V as storedTenant, W as activeMembershipSql, _ as memoWriteSql, b as scopedBody, c as memoUserSql, d as disabledColumn, f as functionBody, g as memoHitList, h as memberColumn, i as interactiveAllowsSql, k as keyTenantLine, l as claimKeptLines, n as delegatedGlobalSql, o as interactiveSessionSql, p as hasBody, r as interactiveAllowsCall, s as memoGlobalUserSql, u as claimTenant, v as memoizedSetofSql, w as sourcesBodyOf, x as sourceFilters, y as memoizes, z as roleReadersSql } from "./interactive-only-
|
|
19
|
-
import { S as scopeTable, _ as memberRoleOf, a as graphSqlText, b as restrictedHelper, d as linkHelper, f as memberForHelper, g as memberOfHelper, h as memberIdsHelper, i as graphSqlName, n as CLOSURE, o as hasMemberFor, p as memberForSources, r as graphHelper, s as hasMemberOf, u as isTeamScope, v as permittedForHelper, x as scopeSources, y as permittedIdsHelper } from "./names-
|
|
18
|
+
import { B as rolesTableScope, C as sourceRows, E as sqlBody, F as customRolesSql, G as activeRowSql, H as trustedReaderGrants, I as hasCustomRoleChecksFor, J as grantPermissionSql, K as activeUserSql, L as perScope, M as userActive, N as globalRoleSource, O as instancesActive, P as currentKeyExpr, R as raiseSql, S as sourceIdOf, T as sourcesKeep, U as activeInstancesSql, V as storedTenant, W as activeMembershipSql, _ as memoWriteSql, b as scopedBody, c as memoUserSql, d as disabledColumn, f as functionBody, g as memoHitList, h as memberColumn, i as interactiveAllowsSql, k as keyTenantLine, l as claimKeptLines, n as delegatedGlobalSql, o as interactiveSessionSql, p as hasBody, r as interactiveAllowsCall, s as memoGlobalUserSql, u as claimTenant, v as memoizedSetofSql, w as sourcesBodyOf, x as sourceFilters, y as memoizes, z as roleReadersSql } from "./interactive-only-CylKSukS.js";
|
|
19
|
+
import { S as scopeTable, _ as memberRoleOf, a as graphSqlText, b as restrictedHelper, d as linkHelper, f as memberForHelper, g as memberOfHelper, h as memberIdsHelper, i as graphSqlName, n as CLOSURE, o as hasMemberFor, p as memberForSources, r as graphHelper, s as hasMemberOf, u as isTeamScope, v as permittedForHelper, x as scopeSources, y as permittedIdsHelper } from "./names-DwGleRKB.js";
|
|
20
20
|
import { n as byKey, t as byCodeUnit } from "./compare-8SNJN-9U.js";
|
|
21
21
|
import { createHash } from "node:crypto";
|
|
22
22
|
// src/cli/rls/graph.ts
|
|
@@ -2651,7 +2651,7 @@ revoke all on table ${ur} from anon, authenticated, public;`);
|
|
|
2651
2651
|
chunks.push(setHelpersSql(ctx, scope.name, anon));
|
|
2652
2652
|
chunks.push(memberFunction(ctx, scope.name, type, anon));
|
|
2653
2653
|
if (ctx.roleMemberScopes?.includes(scope.name) === true) chunks.push(memberRolesFunction(ctx, scope.name, type, anon));
|
|
2654
|
-
if (hasMemberFor(ctx,
|
|
2654
|
+
if (ctx.dialect === "supabase" && ctx.scopes.some((other) => hasMemberFor(ctx, other.name))) chunks.push(memberForFunction(ctx, scope.name, type));
|
|
2655
2655
|
if (hasMemberOf(ctx, scope.name)) chunks.push(memberOfFunction(ctx, scope.name, type));
|
|
2656
2656
|
}
|
|
2657
2657
|
const teamReaders = hookTeamReadersSql(ctx);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-
|
|
1
|
+
import { D as ConnectionOptions, T as Connection, f as InvalidSignatureError, i as OpenApiHooks, o as ProtectOptions, u as SnapshotQuery, v as discoverViaSignatureAgent, x as webBotAuthVerifier } from "../server-types-C_Lnc8Ec.js";
|
|
2
2
|
import { a as OperationInput, t as Operation } from "../operations-DaEoGpMV.js";
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
3
|
+
import { a as PermDock } from "../permdock-CHU1LZGq.js";
|
|
4
4
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
5
5
|
import { D as Policy, N as PolicyVocabulary, Or as Principal, rn as Snapshot } from "../policy-types-DuM3k5Ao.js";
|
|
6
|
-
import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-
|
|
6
|
+
import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-CdaSVKrt.js";
|
|
7
7
|
import { RequestMiddleware, RequestMiddlewareAfterServer, createMiddleware } from "@tanstack/react-start";
|
|
8
8
|
type TanStackStartPermDockOptions<TUser = unknown> = FetchAdapterOptions<Request, TUser>;
|
|
9
9
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
|
|
2
|
-
import { t as fetchAdapter } from "../fetch-adapter-
|
|
2
|
+
import { t as fetchAdapter } from "../fetch-adapter-DXgza6EM.js";
|
|
3
3
|
import { createMiddleware } from "@tanstack/react-start";
|
|
4
4
|
// src/tanstack-start/create.ts
|
|
5
5
|
function createPermDock(policy, options) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-C4LFuqbW.js";
|
|
2
2
|
import { n as CliError } from "./errors-DgLOqc6j.js";
|
|
3
|
-
import { i as tableNames } from "./tables-
|
|
4
|
-
import { r as compileGrants } from "./compile-
|
|
5
|
-
import { i as buildContext, n as isRefusal, t as generateOptions } from "./generate-options-
|
|
3
|
+
import { i as tableNames } from "./tables-BwQvlpS4.js";
|
|
4
|
+
import { r as compileGrants } from "./compile-EtZv2wc0.js";
|
|
5
|
+
import { i as buildContext, n as isRefusal, t as generateOptions } from "./generate-options-BFAvlJKQ.js";
|
|
6
6
|
// src/cli/rls/key-reasons.ts
|
|
7
7
|
/** A grant key written as a condition group (`k#1`) or a level (`k@own`). */
|
|
8
8
|
function isConditionKey(permission, grantKey) {
|
package/dist/terminal/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ar as Subject, D as Policy, N as PolicyVocabulary, Or as Principal, ir as Decision, qt as Instant } from "../policy-types-DuM3k5Ao.js";
|
|
2
2
|
import { m as ApprovalStore } from "../types-BGN3coSe.js";
|
|
3
3
|
import { a as ProblemDetails, t as ApprovalHint } from "../errors-BliKrfmP.js";
|
|
4
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
5
|
-
import { a as PermDock } from "../permdock-
|
|
4
|
+
import { t as InstanceOptions } from "../instance-options-D-SLCp4I.js";
|
|
5
|
+
import { a as PermDock } from "../permdock-CHU1LZGq.js";
|
|
6
6
|
import { w as Permission } from "../vocabulary-DHfKPIC5.js";
|
|
7
7
|
type TokenSourceName = "device" | "keychain" | "env" | "ci-oidc";
|
|
8
8
|
type TokenSource = TokenSourceName | {
|
package/dist/terminal/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as storedApprovalToken, s as resumeDecision } from "../helpers-COh0lLc1.js";
|
|
2
|
-
import { u as withApp } from "../permdock-
|
|
3
|
-
import { n as resolveOrNull, t as buildInstance } from "../build-instance-
|
|
2
|
+
import { u as withApp } from "../permdock-DZmr2kJw.js";
|
|
3
|
+
import { n as resolveOrNull, t as buildInstance } from "../build-instance-CZg_Bf45.js";
|
|
4
4
|
import { t as compact } from "../compact-C4LFuqbW.js";
|
|
5
5
|
import { n as resourceRef } from "../resource-ref-BiQtFK-I.js";
|
|
6
6
|
import { r as isSubject } from "../subject-DkxY-AhF.js";
|
package/dist/testing/core.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { S as policyMatrix, _ as DescribePolicyConfig, a as OrmParityScenario, b as PolicyMatrixCell, c as RlsFieldsOutcome, d as RlsParityOptions, f as RlsParityReport, g as testRlsParity, h as RlsQueryResult, i as OrmParityRunInput, l as RlsParityCase, m as RlsQueryFn, n as OrmParityOptions, o as testOrmParity, p as RlsParitySubject, r as OrmParityReport, s as RlsDbOutcome, t as OrmParityCase, u as RlsParityFixture, v as MatrixCell, x as PolicyMatrixReport, y as MatrixOutcome } from "../core-
|
|
1
|
+
import { S as policyMatrix, _ as DescribePolicyConfig, a as OrmParityScenario, b as PolicyMatrixCell, c as RlsFieldsOutcome, d as RlsParityOptions, f as RlsParityReport, g as testRlsParity, h as RlsQueryResult, i as OrmParityRunInput, l as RlsParityCase, m as RlsQueryFn, n as OrmParityOptions, o as testOrmParity, p as RlsParitySubject, r as OrmParityReport, s as RlsDbOutcome, t as OrmParityCase, u as RlsParityFixture, v as MatrixCell, x as PolicyMatrixReport, y as MatrixOutcome } from "../core-_Lofwt2K.js";
|
|
2
2
|
export { type DescribePolicyConfig, type MatrixCell, type MatrixOutcome, type OrmParityCase, type OrmParityOptions, type OrmParityReport, type OrmParityRunInput, type OrmParityScenario, type PolicyMatrixCell, type PolicyMatrixReport, type RlsDbOutcome, type RlsFieldsOutcome, type RlsParityCase, type RlsParityFixture, type RlsParityOptions, type RlsParityReport, type RlsParitySubject, type RlsQueryFn, type RlsQueryResult, policyMatrix, testOrmParity, testRlsParity };
|
package/dist/testing/core.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { r as policyMatrix, t as testOrmParity, n as testRlsParity } from "../core-
|
|
1
|
+
export { r as policyMatrix, t as testOrmParity, n as testRlsParity } from "../core-s_TCdJ6G.js";
|