permdock 0.8.0 → 0.9.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 +3 -3
- package/dist/{action-result-CL-QCITA.d.ts → action-result-BcudBQOF.d.ts} +1 -1
- package/dist/{adoption-scan-BLs67P1l.js → adoption-scan-Ch07MdxN.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/{approval-prompt-PYagyQUj.d.ts → approval-prompt-3BqWczTt.d.ts} +1 -1
- package/dist/approvals/index.d.ts +3 -3
- package/dist/{arazzo-3RhGfkAK.js → arazzo-BpS7LnV0.js} +1 -1
- package/dist/{arazzo-B5-ulWif.js → arazzo-CmQaGPkM.js} +2 -2
- package/dist/astro/index.d.ts +4 -4
- package/dist/astro/index.js +1 -1
- package/dist/{audience-BAkBDMqn.js → audience-DTjR8xet.js} +1 -1
- package/dist/authzen/index.d.ts +5 -5
- package/dist/authzen/index.js +1 -1
- package/dist/{automation-DqEoWHBc.d.ts → automation-C6Jg75xq.d.ts} +1 -1
- package/dist/better-auth/index.d.ts +1 -1
- package/dist/better-supabase/index.d.ts +6 -6
- package/dist/better-supabase/index.js +3 -3
- package/dist/{bind-D_sZSVA3.js → bind-BNQA9JK9.js} +7 -3
- package/dist/{bind-Cp2hBHzP.d.ts → bind-YYjvfpB9.d.ts} +12 -7
- package/dist/{build-instance-CNWaYJyr.js → build-instance-BWXqwQYU.js} +1 -1
- package/dist/{capability-ChuiONQU.d.ts → capability-Di9tiUvi.d.ts} +1 -1
- package/dist/{casbin-cbSbhT_k.js → casbin-B7_yS-oo.js} +1 -1
- package/dist/{casbin-H0rKxBx2.js → casbin-bHyIxTNQ.js} +1 -1
- package/dist/catalog/index.d.ts +4 -4
- package/dist/catalog/index.js +2 -2
- package/dist/{catalog-BFpz2EmT.js → catalog-CGlSwU6j.js} +2 -2
- package/dist/catalog-D3oS2GH3.js +1 -0
- package/dist/{catalog-DCspHDc8.js → catalog-amPDr0JQ.js} +1 -1
- package/dist/{catalog-operations-Dadrl7Z-.js → catalog-operations-DeHTrJSV.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/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/index.d.ts +4 -4
- package/dist/cli/index.js +2 -2
- package/dist/cloud/index.d.ts +8 -8
- package/dist/{cloud-BFlGMaak.js → cloud-3kWfjnYy.js} +2 -2
- package/dist/{codemod-DWSN2erG.js → codemod-Bv5i-Mzo.js} +1 -1
- package/dist/{codemod-DLQ9Zpo4.js → codemod-D9Aiii1r.js} +2 -2
- package/dist/{collect-Bzv3le0A.js → collect-B80GYEot.js} +2 -2
- package/dist/collect-D-eroIfV.js +1 -0
- package/dist/{collect-B7ZFAJU3.js → collect-WCl8cJQV.js} +1 -1
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-BFzysW3o.d.ts → compile-BEklRUYo.d.ts} +2 -2
- package/dist/{completion-saoYiRFO.js → completion-_bc0OUQ-.js} +1 -1
- package/dist/{config-DBeXXmBF.js → config-D5XrLWpk.js} +1 -1
- package/dist/{config-report-BipSWA6V.js → config-report-BmWIskD7.js} +2 -2
- package/dist/convex/index.d.ts +4 -4
- package/dist/convex/index.js +2 -2
- package/dist/{core-hWIARPDz.d.ts → core-CFepFiDP.d.ts} +2 -2
- package/dist/{core-H-mbhpZc.js → core-DzVINFbU.js} +3 -3
- package/dist/{create-Cq4Uox0f.js → create-6EwRQlig.js} +3 -3
- package/dist/{create-_noSrY1T.js → create-BLPKnJKa.js} +23 -7
- package/dist/{create-BSNrVuxh.d.ts → create-BPUopdfL.d.ts} +7 -7
- package/dist/{create-CM1FciYG.d.ts → create-BamXmeob.d.ts} +6 -6
- package/dist/{create-BVq1lNQE.d.ts → create-DBvUsgzK.d.ts} +4 -4
- package/dist/delivery/index.d.ts +4 -4
- package/dist/delivery/index.js +1 -1
- package/dist/{denied-text-CHNlVInN.d.ts → denied-text-DHldhVUv.d.ts} +1 -1
- package/dist/{describe-ByS9LgHK.d.ts → describe-BbFPBSms.d.ts} +1 -1
- package/dist/{diff-CN8IYhC_.js → diff-BwR1JdP2.js} +1 -1
- package/dist/{diff-iZWV65nC.js → diff-CQegtBAo.js} +2 -2
- package/dist/{doctor-CHD1M9R5.js → doctor-ClRVAtXQ.js} +13 -13
- package/dist/{doctor-D3wo-yuz.js → doctor-LPMYjSqO.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-zi_4T-rx.d.ts → errors-BIM4MFsJ.d.ts} +1 -1
- package/dist/{evaluate-Dd8Ta0Ie.js → evaluate-BAmf_AQd.js} +13 -4
- package/dist/{evaluations-z8dQFDaN.d.ts → evaluations-DOWuBpWv.d.ts} +3 -3
- package/dist/eve/index.d.ts +4 -4
- package/dist/eve/index.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-C1DCvpqV.d.ts → fetch-adapter-BIbBAtPZ.d.ts} +2 -2
- package/dist/{fetch-adapter-JL43jD3E.js → fetch-adapter-dPTgJVHd.js} +1 -1
- package/dist/{gen-B5kvbAoZ.js → gen-BFfzZSLH.js} +1 -1
- package/dist/{gen-DWCYcMQM.js → gen-BtfFWGbz.js} +2 -2
- package/dist/h3/index.d.ts +4 -4
- package/dist/h3/index.js +2 -2
- package/dist/hono/index.d.ts +4 -4
- package/dist/hono/index.js +1 -1
- package/dist/{hosted-Cmtxogd0.d.ts → hosted-DVxlLZMe.d.ts} +1 -1
- package/dist/{import-_YqhhwvX.js → import-ACkOrv6g.js} +1 -1
- package/dist/{index-BhxEUY9J.d.ts → index-BinlXeU-.d.ts} +2 -2
- package/dist/{index-B8s204GL.d.ts → index-CV-7DWeD.d.ts} +4 -4
- package/dist/{index-_9UiQIkt.d.ts → index-DJwEgYzA.d.ts} +4 -4
- package/dist/{index-BT5-1VsX.d.ts → index-Dj2qF9VC.d.ts} +1 -1
- package/dist/{index-BW_0MZOS.d.ts → index-vYjMrXyK.d.ts} +62 -9
- package/dist/{index-Bv5iXPqU.d.ts → index-ymept53A.d.ts} +4 -4
- package/dist/index.d.ts +15 -15
- package/dist/index.js +6 -6
- package/dist/{init-cE3A8aXq.js → init-BjuFDYT1.js} +1 -1
- package/dist/{init-Dz_PsHdv.js → init-txYTuW9u.js} +3 -3
- package/dist/{instance-options-B0KXqTrJ.d.ts → instance-options-CoHn-0e8.d.ts} +1 -1
- package/dist/{instance-snapshot--JWiTrvO.js → instance-snapshot-DuWf1cT3.js} +13 -8
- package/dist/jwt/index.d.ts +4 -4
- package/dist/jwt/index.js +1 -1
- package/dist/{kernel-C-fYydV2.js → kernel-qv4cr9w8.js} +4 -4
- package/dist/kysely/index.d.ts +3 -3
- package/dist/{login-D-8tMqzo.js → login-CfImTJGb.js} +3 -3
- package/dist/{login-DplQ0s84.js → login-CgfCTO3F.js} +1 -1
- package/dist/{manifest-Cgiq5oqc.js → manifest-B2QPh19C.js} +35 -35
- package/dist/{map-claims-BNWCJtmP.js → map-claims-C-nv08_n.js} +2 -1
- package/dist/mcp/index.d.ts +8 -8
- package/dist/mcp/index.js +4 -4
- package/dist/nest/index.d.ts +4 -4
- package/dist/nest/index.js +1 -1
- package/dist/next/index.d.ts +16 -9
- package/dist/next/index.js +14 -7
- 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-VeHHU2l9.js → openapi-BGeuunWC.js} +1 -1
- package/dist/{openapi-CBZUhA3l.js → openapi-BIpw3Mb7.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-tkju6U7R.js → output-DV5dwOTs.js} +1 -1
- package/dist/{ownership-B4L59T9u.js → ownership-DA5YdYTm.js} +9 -4
- package/dist/{parse-local-manifest-BQhTlLQS.d.ts → parse-local-manifest-CCmbhnxP.d.ts} +1 -1
- package/dist/pdp/index.d.ts +3 -3
- package/dist/pdp/index.js +1 -1
- package/dist/{permdock-L-_I_3zP.js → permdock-BvjivVb9.js} +143 -107
- package/dist/{permdock-B6Sf4T_S.d.ts → permdock-CprAPN3w.d.ts} +9 -2
- package/dist/{permissions-mDcTWoBs.js → permissions-CYcHj_w7.js} +1 -1
- package/dist/{policy-Ba4bDhaj.d.ts → policy-BycVKnXv.d.ts} +1 -1
- package/dist/{policy-from-catalog-CJgOm6aq.js → policy-from-catalog-CU3An8uP.js} +1 -1
- package/dist/{policy-types-CCiDRZBH.d.ts → policy-types-DGIO_gxq.d.ts} +54 -18
- package/dist/{postgrest-D4nuPXIQ.js → postgrest-5Dr3W64L.js} +34 -55
- package/dist/{postgrest-DicQyqm-.d.ts → postgrest-D5nUGm-c.d.ts} +4 -3
- package/dist/powersync-B701tvhE.js +1 -0
- package/dist/{powersync-DXqGuq9A.js → powersync-Bg8u-JcR.js} +2 -2
- package/dist/{powersync-DHNQX06W.js → powersync-CJrT1DSc.js} +5 -5
- package/dist/prisma/index.d.ts +2 -2
- package/dist/{protected-action-BE7N_Luo.d.ts → protected-action-D8x73IGm.d.ts} +6 -6
- package/dist/{provider-DXfq5c2d.d.ts → provider-DfLeek9O.d.ts} +1 -1
- package/dist/{pull-CwpGaQSi.js → pull-2nJr0qg_.js} +1 -1
- package/dist/pull-C3EEGzSw.js +1 -0
- package/dist/{push-DgssgzkK.js → push-Bn-lMEmI.js} +2 -2
- package/dist/{pushed-policy-ITwYKvvH.js → pushed-policy-CDuOL2de.js} +1 -1
- package/dist/{pushed-policy-D1Eoi6NM.d.ts → pushed-policy-CryQheKq.d.ts} +1 -1
- package/dist/react/index.d.ts +7 -7
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react-native/index.d.ts +9 -9
- package/dist/{replay-DNftIb_R.d.ts → replay-Bs9Df2fQ.d.ts} +1 -1
- package/dist/{request-context-C25ilqiJ.js → request-context-Duzdf0cd.js} +1 -1
- package/dist/resend/index.d.ts +4 -4
- package/dist/{resolve-names-CF7xXLSG.js → resolve-names-ConCSj1y.js} +1 -1
- package/dist/{rls-Ca8Jz9b5.js → rls-Ba9wN0SP.js} +1 -1
- package/dist/{rls-CNEH2_BG.js → rls-Cx0dtsB7.js} +20 -13
- package/dist/{rpc-fNqAIqQk.js → rpc-vHIwyXCp.js} +1 -1
- package/dist/run-Ck22anC2.js +1 -0
- package/dist/{run-Bz26OTfO.js → run-PbRlXTfh.js} +2 -2
- package/dist/{run-ticket-DbWI9f99.d.ts → run-ticket-B2o2Kxz8.d.ts} +2 -2
- package/dist/{saas-iWnUdwCt.js → saas-DK4V-3Is.js} +2 -2
- package/dist/{scan-DCj1KQfn.js → scan-CRTj6fke.js} +1 -1
- package/dist/{schema-Dst9I9Gs.js → schema-BTsE1WRT.js} +1 -1
- package/dist/scim/index.d.ts +1 -1
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +1 -1
- package/dist/{server-types-CIlpSA2G.d.ts → server-types-CyRN0-Cd.d.ts} +15 -8
- package/dist/{sink-Dvi7YZG_.d.ts → sink-B5zoUW_O.d.ts} +2 -2
- package/dist/{skills-OuoMR49L.js → skills-C9uKfSF5.js} +1 -1
- package/dist/{skills-Bjj7BNEQ.js → skills-CQQcuGBi.js} +1 -1
- package/dist/{snapshot-cache-BAXZ0KOp.d.ts → snapshot-cache-BjAWkchD.d.ts} +1 -1
- package/dist/solid/index.d.ts +6 -6
- package/dist/solid-start/index.d.ts +4 -4
- package/dist/solid-start/index.js +2 -2
- package/dist/{sources-B1Os_YUu.d.ts → sources-CWG32C0G.d.ts} +2 -2
- package/dist/{src-DZ0l9UAg.js → src-C_pi2Rnh.js} +106 -5
- package/dist/ssf/index.d.ts +3 -3
- package/dist/{standard-webhooks-C-qX4mJW.d.ts → standard-webhooks-DOYEuOLx.d.ts} +2 -2
- package/dist/{stores-C0Kta5Ft.d.ts → stores-DZJvxFIZ.d.ts} +6 -6
- package/dist/{stream-ltuLdtTG.d.ts → stream-9y9qw51m.d.ts} +1 -1
- package/dist/supabase/index.d.ts +5 -5
- package/dist/supabase/index.js +2 -2
- package/dist/supabase/middleware.d.ts +5 -5
- package/dist/supabase/middleware.js +4 -4
- package/dist/{supabase-BL1qJzzY.js → supabase-DnMMg5Fn.js} +1 -1
- package/dist/{supabase-D39cuGPt.js → supabase-SBs3MYUE.js} +2 -2
- package/dist/supabase-hook-C0FyEACZ.js +1 -0
- package/dist/{supabase-hook-B-yXnzUl.js → supabase-hook-CrgU06WH.js} +5 -5
- package/dist/{supautils-BU-pAEpf.js → supautils-ByezN3b8.js} +244 -197
- package/dist/svelte/index.d.ts +6 -6
- package/dist/svelte/runtime.d.ts +3 -3
- package/dist/svelte/source.d.ts +6 -6
- package/dist/sveltekit/index.d.ts +4 -4
- package/dist/sveltekit/index.js +1 -1
- package/dist/{tables-DeMNEy6V.js → tables-BqrxBCir.js} +1 -1
- package/dist/tanstack-start/index.d.ts +4 -4
- package/dist/tanstack-start/index.js +1 -1
- package/dist/terminal/index.d.ts +5 -5
- 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/index.d.ts +21 -20
- package/dist/testing/index.js +61 -8
- 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-BIPIDa6a.d.ts → type-helpers-c7Xo_2Cu.d.ts} +1 -1
- package/dist/{types-B2mlGuhW.d.ts → types-B2efzoSX.d.ts} +1 -1
- package/dist/{types-DHKPcqzr.d.ts → types-B6ExllNo.d.ts} +2 -2
- package/dist/{types-AMJ5qoU_.d.ts → types-BB-zWDcR.d.ts} +4 -4
- package/dist/{types-ah9NlU6j.d.ts → types-BMVDHvI0.d.ts} +1 -1
- package/dist/{types-djVzLlIV.d.ts → types-CEinc15V.d.ts} +4 -4
- package/dist/{types-yUuPR5Hy.d.ts → types-CN0LsqbK.d.ts} +3 -3
- package/dist/{types-HzqOtvsJ.d.ts → types-CWBsAwqn.d.ts} +4 -4
- package/dist/{types-DC1Loeh3.d.ts → types-CzOeVvcC.d.ts} +5 -3
- package/dist/{types-B_tiYvk8.d.ts → types-DLvhVm1r.d.ts} +1 -1
- package/dist/{types-B4uqKDnp.d.ts → types-DlelvQk4.d.ts} +2 -2
- package/dist/{types-DjuMBNF9.d.ts → types-DsHGPtkR.d.ts} +2 -2
- package/dist/{types-BJk0BKRX.d.ts → types-rCRV4Ge-.d.ts} +4 -4
- package/dist/{types-B_d_g7T3.d.ts → types-tQB2CEnY.d.ts} +4 -4
- package/dist/unplugin/index.d.ts +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/usage-0hjZPIRX.js +1 -0
- package/dist/{usage-CxEzS4ey.js → usage-B9EtHWLa.js} +3 -3
- package/dist/{usage-ab0PdusX.js → usage-CBzgwfIs.js} +1 -1
- package/dist/{validation-error-YGg2mXyH.d.ts → validation-error-uvp-kyfO.d.ts} +1 -1
- package/dist/{verify-DZeqoWu5.js → verify-DlUcTDBz.js} +6 -6
- package/dist/vue/index.d.ts +6 -6
- package/dist/{waiter-Bu9zAlE0.d.ts → waiter-CqUKX6CY.d.ts} +2 -2
- package/dist/{watch-Cx_WciLE.js → watch-BFDKqmUa.js} +1 -1
- package/dist/watch-ClLuO2TL.js +1 -0
- package/dist/webmcp/index.d.ts +1 -1
- package/dist/{who-can-rI7dCR9Q.js → who-can-BoDJm0Nc.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-DlJE3gS_.d.ts → wrap-DxXB54Wu.d.ts} +2 -2
- package/package.json +2 -2
- package/skills/permdock-data/references/queries-and-rls.md +1 -1
- package/skills/permdock-wire/references/adapters.md +2 -1
- package/dist/catalog-mRQQQhNK.js +0 -1
- package/dist/collect-B5BL3klN.js +0 -1
- package/dist/powersync-Djf-zCpB.js +0 -1
- package/dist/pull-B65ndFNZ.js +0 -1
- package/dist/run-D-JE8QWb.js +0 -1
- package/dist/supabase-hook-H-MtE9Wd.js +0 -1
- package/dist/usage-CYeXek0p.js +0 -1
- package/dist/watch-DB42U1ib.js +0 -1
package/dist/terminal/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as Policy, Un as Decision, Wt as Instant, hr as Subject, j as PolicyVocabulary, pr as Principal } from "../policy-types-DGIO_gxq.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
4
|
-
import { m as ApprovalStore } from "../types-
|
|
5
|
-
import { a as ProblemDetails, t as ApprovalHint } from "../errors-
|
|
6
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
3
|
+
import { a as PermDock } from "../permdock-CprAPN3w.js";
|
|
4
|
+
import { m as ApprovalStore } from "../types-DLvhVm1r.js";
|
|
5
|
+
import { a as ProblemDetails, t as ApprovalHint } from "../errors-BIM4MFsJ.js";
|
|
6
|
+
import { t as InstanceOptions } from "../instance-options-CoHn-0e8.js";
|
|
7
7
|
//#region src/terminal/types.d.ts
|
|
8
8
|
type TokenSourceName = "device" | "keychain" | "env" | "ci-oidc";
|
|
9
9
|
type TokenSource = TokenSourceName | {
|
package/dist/terminal/index.js
CHANGED
|
@@ -2,12 +2,12 @@ import { t as compact } from "../compact-CAf557ZB.js";
|
|
|
2
2
|
import { a as deniedMessage, i as approvalMessage, n as PermDockDeniedError, t as PermDockApprovalRequiredError } from "../errors-B6R_lg2a.js";
|
|
3
3
|
import { h as secondsAt } from "../time-nR1JesoH.js";
|
|
4
4
|
import { n as resourceRef } from "../resource-ref-CaS9yVPi.js";
|
|
5
|
-
import { l as withApp } from "../permdock-
|
|
5
|
+
import { l as withApp } from "../permdock-BvjivVb9.js";
|
|
6
6
|
import { r as isSubject } from "../subject-BGoM5o8B.js";
|
|
7
7
|
import { n as readBodyText } from "../body-text-DQhcmqdY.js";
|
|
8
8
|
import { l as storedApprovalToken, s as resumeDecision } from "../helpers-DJicaG6f.js";
|
|
9
9
|
import { t as timeoutSignal } from "../timeout-D51niuQP.js";
|
|
10
|
-
import { n as resolveOrNull, t as buildInstance } from "../build-instance-
|
|
10
|
+
import { n as resolveOrNull, t as buildInstance } from "../build-instance-BWXqwQYU.js";
|
|
11
11
|
import { a as refreshCredential, o as revokeCredential, s as runDeviceFlow, t as TERMINAL_TIMEOUT_MS } from "../device-BwbJNmb2.js";
|
|
12
12
|
import { i as writeCredentials, n as deleteCredentials, r as readCredentials } from "../storage-C2bWdvJH.js";
|
|
13
13
|
import { createInterface } from "node:readline";
|
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-CFepFiDP.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-DzVINFbU.js";
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as CustomRoleSource, J as DecisionSink, T as Policy, U as CredentialVerifier, Y as EntitlementSource, Zt as Snapshot, bt as WhereCompiler, ct as SnapshotSource, dt as SubjectResolver, et as LimitStore, fr as Membership, hr as Subject, ht as TokenVerifier, mt as TokenSigner, nt as MembershipSource, ot as RelationSource, pr as Principal, q as DecisionProvider, sn as DeliveryChannel, st as SettingsSource } from "../policy-types-DGIO_gxq.js";
|
|
2
2
|
import { g as ResourceInit, l as InferPermissionTree, u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
3
|
import { r as Role } from "../vocabulary-DEJ5j4mR.js";
|
|
4
|
-
import { st as LegacyCheck } from "../index-
|
|
5
|
-
import { D as ApprovalPolicySource, _ as PrincipalSource, a as PermDock, b as Limits, h as PrincipalIdentity } from "../permdock-
|
|
6
|
-
import { s as PolicySource } from "../hosted-
|
|
7
|
-
import { a as ApprovalDelegationSource, m as ApprovalStore } from "../types-
|
|
8
|
-
import { a as ProblemDetails } from "../errors-
|
|
9
|
-
import { c as ModelMap, t as AgentPermDock, u as ToolMap } from "../create-
|
|
10
|
-
import { c as AccessReviewStore } from "../types-
|
|
11
|
-
import { R as IdempotencyStore } from "../index-
|
|
4
|
+
import { Ut as VersionCache, st as LegacyCheck } from "../index-vYjMrXyK.js";
|
|
5
|
+
import { D as ApprovalPolicySource, _ as PrincipalSource, a as PermDock, b as Limits, h as PrincipalIdentity } from "../permdock-CprAPN3w.js";
|
|
6
|
+
import { s as PolicySource } from "../hosted-DVxlLZMe.js";
|
|
7
|
+
import { a as ApprovalDelegationSource, m as ApprovalStore } from "../types-DLvhVm1r.js";
|
|
8
|
+
import { a as ProblemDetails } from "../errors-BIM4MFsJ.js";
|
|
9
|
+
import { c as ModelMap, t as AgentPermDock, u as ToolMap } from "../create-BPUopdfL.js";
|
|
10
|
+
import { c as AccessReviewStore } from "../types-B2efzoSX.js";
|
|
11
|
+
import { R as IdempotencyStore } from "../index-DJwEgYzA.js";
|
|
12
12
|
import { n as RevocationFeed } from "../revocations-BaUXHM1N.js";
|
|
13
|
-
import { s as SupportSessionSource } from "../index-
|
|
14
|
-
import { a as AutomationSource, t as Automation } from "../automation-
|
|
15
|
-
import { c as DeliveryTransport, g as TransportMessages } from "../types-
|
|
13
|
+
import { s as SupportSessionSource } from "../index-CV-7DWeD.js";
|
|
14
|
+
import { a as AutomationSource, t as Automation } from "../automation-C6Jg75xq.js";
|
|
15
|
+
import { c as DeliveryTransport, g as TransportMessages } from "../types-CN0LsqbK.js";
|
|
16
16
|
import { r as SupabaseHookManifest } from "../manifest-CzzWtnAb.js";
|
|
17
17
|
import { t as supabaseMembershipsBudget } from "../budget-hYsPz_yE.js";
|
|
18
|
-
import { t as CloudApproverOptions } from "../types-
|
|
19
|
-
import { n as ApprovalWaiter } from "../waiter-
|
|
20
|
-
import { g as SetQueue, l as ReplayStore } from "../types-
|
|
21
|
-
import { r as SnapshotStorage } from "../types-
|
|
22
|
-
import { x as DirectoryStore } from "../index-
|
|
23
|
-
import { S as SsfStreamStore } from "../index-
|
|
24
|
-
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-
|
|
18
|
+
import { t as CloudApproverOptions } from "../types-BB-zWDcR.js";
|
|
19
|
+
import { n as ApprovalWaiter } from "../waiter-CqUKX6CY.js";
|
|
20
|
+
import { g as SetQueue, l as ReplayStore } from "../types-DsHGPtkR.js";
|
|
21
|
+
import { r as SnapshotStorage } from "../types-CWBsAwqn.js";
|
|
22
|
+
import { x as DirectoryStore } from "../index-Dj2qF9VC.js";
|
|
23
|
+
import { S as SsfStreamStore } from "../index-BinlXeU-.js";
|
|
24
|
+
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-CFepFiDP.js";
|
|
25
25
|
import { a as SaasProject } from "../permissions-Bx6UI8n1.js";
|
|
26
|
-
import { n as saasPolicy } from "../policy-
|
|
26
|
+
import { n as saasPolicy } from "../policy-BycVKnXv.js";
|
|
27
27
|
import { expectTypeOf } from "vitest";
|
|
28
28
|
//#region src/testing/describe-policy.d.ts
|
|
29
29
|
/** `policyMatrix` under Vitest: one test per cell, plus the exhaustive check. */
|
|
@@ -640,6 +640,7 @@ export declare function testSnapshotSource(source: SnapshotSource): void;
|
|
|
640
640
|
export declare function testPolicySource(source: PolicySource, options?: {
|
|
641
641
|
readonly policy?: Policy;
|
|
642
642
|
}): void;
|
|
643
|
+
export declare function testVersionCache(cache: VersionCache): void;
|
|
643
644
|
//#endregion
|
|
644
645
|
//#region src/testing/conformance/providers.d.ts
|
|
645
646
|
type DecisionProviderRunnerOptions = {
|
package/dist/testing/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as isRecord } from "../compact-CAf557ZB.js";
|
|
|
2
2
|
import { n as freezeDeep } from "../freeze-jjan0lCv.js";
|
|
3
3
|
import { i as principal } from "../refs-C8BKxc_e.js";
|
|
4
4
|
import { n as role, r as allow } from "../role-builder-BK2-T6oD.js";
|
|
5
|
-
import {
|
|
5
|
+
import { C as memoryLimitStore, E as approvalPoliciesFor, S as limits, d as snapshotFor, j as memoryCustomRoleSource } from "../src-C_pi2Rnh.js";
|
|
6
6
|
import { t as memoryRevocationFeed } from "../revocations-Bhr0aMIC.js";
|
|
7
7
|
import { n as loadPrincipalByIdentity, t as loadPrincipal } from "../principal-source-C6N60GtM.js";
|
|
8
8
|
import { v as resource } from "../permission-registry-B8tYxPIt.js";
|
|
@@ -15,10 +15,10 @@ import { t as byCodePoint } from "../compare-DTfyUunF.js";
|
|
|
15
15
|
import { r as definePolicy } from "../policy-CLQ8__GF.js";
|
|
16
16
|
import { c as mergeHostedGrants, l as parsePolicyDocument } from "../hosted-D0IzESu_.js";
|
|
17
17
|
import { t as definePermissions } from "../permissions-CVXmRILq.js";
|
|
18
|
-
import { T as validateCustomRole } from "../evaluate-
|
|
18
|
+
import { T as validateCustomRole } from "../evaluate-BAmf_AQd.js";
|
|
19
19
|
import { n as parseSnapshot } from "../snapshot-CXlzi69u.js";
|
|
20
20
|
import { n as fromSnapshot } from "../from-snapshot-DCakWRsr.js";
|
|
21
|
-
import { t as getPermDock } from "../permdock-
|
|
21
|
+
import { t as getPermDock } from "../permdock-BvjivVb9.js";
|
|
22
22
|
import { t as APPROVAL_HEADER } from "../types-CcUXciSj.js";
|
|
23
23
|
import { i as memoryApprovalStore } from "../store-RNFvaJJv.js";
|
|
24
24
|
import { t as catalogFingerprint } from "../catalog-fingerprint-e6aCWosn.js";
|
|
@@ -35,10 +35,10 @@ import { c as quoteSqlTable, o as quoteSqlIdent } from "../sql-0WjxIp9g.js";
|
|
|
35
35
|
import { i as cloudEndpoints, n as cloud, s as approverHeaders, t as bearerChallenge } from "../challenge-DImNcR7B.js";
|
|
36
36
|
import { t as supabaseMembershipsBudget } from "../budget-BELja5A9.js";
|
|
37
37
|
import { t as supabaseManifestSchema } from "../manifest-schema-2r37XRhD.js";
|
|
38
|
-
import { t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
39
|
-
import { i as policyMatrixLayout, n as testRlsParity, r as policyMatrix, t as testOrmParity } from "../core-
|
|
40
|
-
import { i as saasPermissions } from "../permissions-
|
|
41
|
-
import { C as saasOrg, E as saasSeed, S as saasMemberships, a as saasProject, g as verifySaasSession, h as signSaasToken, k as saasPolicy, t as saasDoc, w as saasPrincipal, x as saasCustomRoles } from "../saas-
|
|
38
|
+
import { t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-CDuOL2de.js";
|
|
39
|
+
import { i as policyMatrixLayout, n as testRlsParity, r as policyMatrix, t as testOrmParity } from "../core-DzVINFbU.js";
|
|
40
|
+
import { i as saasPermissions } from "../permissions-CYcHj_w7.js";
|
|
41
|
+
import { C as saasOrg, E as saasSeed, S as saasMemberships, a as saasProject, g as verifySaasSession, h as signSaasToken, k as saasPolicy, t as saasDoc, w as saasPrincipal, x as saasCustomRoles } from "../saas-DK4V-3Is.js";
|
|
42
42
|
import { t as POLICY_NOT_PUBLISHED } from "../problem-types-DSsRfONQ.js";
|
|
43
43
|
import { t as require__2020 } from "../2020-CJbO8Bvz.js";
|
|
44
44
|
import { afterAll, assert, beforeAll, describe, expect, expectTypeOf, it, vi } from "vitest";
|
|
@@ -2456,6 +2456,59 @@ function testPolicySource(source, options = {}) {
|
|
|
2456
2456
|
});
|
|
2457
2457
|
}
|
|
2458
2458
|
}
|
|
2459
|
+
function testVersionCache(cache) {
|
|
2460
|
+
const counted = (version) => {
|
|
2461
|
+
const calls = { count: 0 };
|
|
2462
|
+
const read = async () => {
|
|
2463
|
+
calls.count += 1;
|
|
2464
|
+
return version;
|
|
2465
|
+
};
|
|
2466
|
+
return {
|
|
2467
|
+
calls,
|
|
2468
|
+
read
|
|
2469
|
+
};
|
|
2470
|
+
};
|
|
2471
|
+
it("reads live for a write and answers a read from that entry", async () => {
|
|
2472
|
+
const { calls, read } = counted(4);
|
|
2473
|
+
const principal = { id: "u-version-write" };
|
|
2474
|
+
expect(await cache.current(principal, read, { live: true })).toBe(4);
|
|
2475
|
+
expect(await cache.current(principal, read, { live: true })).toBe(4);
|
|
2476
|
+
expect(calls.count).toBe(2);
|
|
2477
|
+
if (cache.maxStaleMs > 0) {
|
|
2478
|
+
expect(await cache.current(principal, read, { live: false })).toBe(4);
|
|
2479
|
+
expect(calls.count).toBe(2);
|
|
2480
|
+
}
|
|
2481
|
+
});
|
|
2482
|
+
it("shares one read between concurrent reads", async () => {
|
|
2483
|
+
const { calls, read } = counted(2);
|
|
2484
|
+
const principal = { id: "u-version-shared" };
|
|
2485
|
+
const answers = await Promise.all(Array.from({ length: 5 }, async () => cache.current(principal, read, { live: false })));
|
|
2486
|
+
expect(answers).toStrictEqual([
|
|
2487
|
+
2,
|
|
2488
|
+
2,
|
|
2489
|
+
2,
|
|
2490
|
+
2,
|
|
2491
|
+
2
|
|
2492
|
+
]);
|
|
2493
|
+
expect(calls.count).toBe(1);
|
|
2494
|
+
});
|
|
2495
|
+
it("stores no rejected read", async () => {
|
|
2496
|
+
const principal = { id: "u-version-failed" };
|
|
2497
|
+
await expect(cache.current(principal, () => Promise.reject(/* @__PURE__ */ new Error("down")), { live: false })).rejects.toThrow("down");
|
|
2498
|
+
const { calls, read } = counted(1);
|
|
2499
|
+
expect(await cache.current(principal, read, { live: false })).toBe(1);
|
|
2500
|
+
expect(calls.count).toBe(1);
|
|
2501
|
+
});
|
|
2502
|
+
it("reads again after evict", async () => {
|
|
2503
|
+
const { calls, read } = counted(3);
|
|
2504
|
+
const principal = { id: "u-version-evict" };
|
|
2505
|
+
await cache.current(principal, read, { live: false });
|
|
2506
|
+
cache.evict(principal.id);
|
|
2507
|
+
await cache.current(principal, read, { live: false });
|
|
2508
|
+
expect(calls.count).toBe(2);
|
|
2509
|
+
expect(cache.stats().reads).toBeGreaterThanOrEqual(2);
|
|
2510
|
+
});
|
|
2511
|
+
}
|
|
2459
2512
|
//#endregion
|
|
2460
2513
|
//#region src/testing/cloud-api/platform.ts
|
|
2461
2514
|
const CATALOG = "https://permdock.com/schemas/catalog-v1.json";
|
|
@@ -6532,4 +6585,4 @@ const PROBLEM_EXAMPLES = Object.freeze({
|
|
|
6532
6585
|
}
|
|
6533
6586
|
});
|
|
6534
6587
|
//#endregion
|
|
6535
|
-
export { AGENT_THROWING_ROW, AGENT_THROWING_USER, PROBLEM_EXAMPLES, authzenTodoData, authzenTodoPermissions, authzenTodoPolicy, authzenTodoUsers, authzenTodoVectors, describePolicy, expectTypeOf, jwtFixtureAudience, jwtFixtureIssuer, jwtFixtureJwks, jwtFixtureTokens, policyMatrix, seedRows, snapshotFixture, supabaseClaimFixtures, supabaseClaimVectors, supabaseHookManifestFixture, supabaseMembershipsBudget, testAccessReviewStore, testAgentAdapter, testAgentRuntime, testApprovalDelegationSource, testApprovalPolicySource, testApprovalStore, testApprovalWaiter, testAuthzen, testAutomationSource, testClientParity, testClientStore, testCloudApi, testCredentialVerifier, testCustomRoleSource, testDecisionProvider, testDecisionSink, testDeliveryTransport, testDirectoryStore, testEntitlementSource, testHttpAdapter, testIdempotencyStore, testLegacyParity, testLimitStore, testMembershipSource, testOrmParity, testPolicySource, testPrincipalSource, testRelationSource, testReplayStore, testRevocationFeed, testRlsParity, testSetQueue, testSettingsSource, testSnapshotSource, testSnapshotStorage, testSsfStreamStore, testSubjectResolver, testSupportSessionSource, testTokenSigner, testTokenVerifier, testWhereCompiler };
|
|
6588
|
+
export { AGENT_THROWING_ROW, AGENT_THROWING_USER, PROBLEM_EXAMPLES, authzenTodoData, authzenTodoPermissions, authzenTodoPolicy, authzenTodoUsers, authzenTodoVectors, describePolicy, expectTypeOf, jwtFixtureAudience, jwtFixtureIssuer, jwtFixtureJwks, jwtFixtureTokens, policyMatrix, seedRows, snapshotFixture, supabaseClaimFixtures, supabaseClaimVectors, supabaseHookManifestFixture, supabaseMembershipsBudget, testAccessReviewStore, testAgentAdapter, testAgentRuntime, testApprovalDelegationSource, testApprovalPolicySource, testApprovalStore, testApprovalWaiter, testAuthzen, testAutomationSource, testClientParity, testClientStore, testCloudApi, testCredentialVerifier, testCustomRoleSource, testDecisionProvider, testDecisionSink, testDeliveryTransport, testDirectoryStore, testEntitlementSource, testHttpAdapter, testIdempotencyStore, testLegacyParity, testLimitStore, testMembershipSource, testOrmParity, testPolicySource, testPrincipalSource, testRelationSource, testReplayStore, testRevocationFeed, testRlsParity, testSetQueue, testSettingsSource, testSnapshotSource, testSnapshotStorage, testSsfStreamStore, testSubjectResolver, testSupportSessionSource, testTokenSigner, testTokenVerifier, testVersionCache, testWhereCompiler };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Wt as Instant, et as LimitStore, fr as Membership, hr as Subject, lr as Delegation, ot as RelationSource, pr as Principal, rr as Actor, sr as CustomRole } from "../../policy-types-DGIO_gxq.js";
|
|
2
2
|
import { u as Permission } from "../../permission-types-CAY-GU7e.js";
|
|
3
|
-
import { o as PermDockOptions } from "../../permdock-
|
|
3
|
+
import { o as PermDockOptions } from "../../permdock-CprAPN3w.js";
|
|
4
4
|
import { a as SaasProject, c as saasPlans, i as SaasFolderSchema, l as saasRoles, n as SaasDocSchema, o as SaasProjectSchema, r as SaasFolder, s as saasPermissions, t as SaasDoc, u as saasTenantRoleNames } from "../../permissions-Bx6UI8n1.js";
|
|
5
|
-
import { n as saasPolicy, t as SAAS_API_KEY_LIMIT } from "../../policy-
|
|
5
|
+
import { n as saasPolicy, t as SAAS_API_KEY_LIMIT } from "../../policy-BycVKnXv.js";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
7
7
|
//#region src/testing/saas/schema.d.ts
|
|
8
8
|
type FieldKind = "string" | "boolean" | "nullable-string";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as saasPlans, c as rowSchema, i as saasPermissions, n as SaasFolderSchema, o as saasRoles, r as SaasProjectSchema, s as saasTenantRoleNames, t as SaasDocSchema } from "../../permissions-
|
|
2
|
-
import { C as saasOrg, D as saasUsers, E as saasSeed, O as SAAS_API_KEY_LIMIT, S as saasMemberships, T as saasRelations, _ as verifySaasToken, a as saasProject, b as SAAS_EXPIRED_AT, c as saasUser, d as saasIssuer, f as saasJwks, g as verifySaasSession, h as signSaasToken, i as saasLimitStore, k as saasPolicy, l as SAAS_TOKEN_TTL_SECONDS, m as saasPublicJwk, n as saasFolder, o as saasScenarioOptions, p as saasPrivateJwk, r as saasFolderScenarios, s as saasScenarios, t as saasDoc, u as saasAudience, v as saasSchemaSql, w as saasPrincipal, x as saasCustomRoles, y as saasSeedSql } from "../../saas-
|
|
1
|
+
import { a as saasPlans, c as rowSchema, i as saasPermissions, n as SaasFolderSchema, o as saasRoles, r as SaasProjectSchema, s as saasTenantRoleNames, t as SaasDocSchema } from "../../permissions-CYcHj_w7.js";
|
|
2
|
+
import { C as saasOrg, D as saasUsers, E as saasSeed, O as SAAS_API_KEY_LIMIT, S as saasMemberships, T as saasRelations, _ as verifySaasToken, a as saasProject, b as SAAS_EXPIRED_AT, c as saasUser, d as saasIssuer, f as saasJwks, g as verifySaasSession, h as signSaasToken, i as saasLimitStore, k as saasPolicy, l as SAAS_TOKEN_TTL_SECONDS, m as saasPublicJwk, n as saasFolder, o as saasScenarioOptions, p as saasPrivateJwk, r as saasFolderScenarios, s as saasScenarios, t as saasDoc, u as saasAudience, v as saasSchemaSql, w as saasPrincipal, x as saasCustomRoles, y as saasSeedSql } from "../../saas-DK4V-3Is.js";
|
|
3
3
|
export { SAAS_API_KEY_LIMIT, SAAS_EXPIRED_AT, SAAS_TOKEN_TTL_SECONDS, SaasDocSchema, SaasFolderSchema, SaasProjectSchema, rowSchema, saasAudience, saasCustomRoles, saasDoc, saasFolder, saasFolderScenarios, saasIssuer, saasJwks, saasLimitStore, saasMemberships, saasOrg, saasPermissions, saasPlans, saasPolicy, saasPrincipal, saasPrivateJwk, saasProject, saasPublicJwk, saasRelations, saasRoles, saasScenarioOptions, saasScenarios, saasSchemaSql, saasSeed, saasSeedSql, saasTenantRoleNames, saasUser, saasUsers, signSaasToken, verifySaasSession, verifySaasToken };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as SaasDocSchema, n as SaasFolderSchema, r as SaasProjectSchema, i as saasPermissions, a as saasPlans, o as saasRoles, s as saasTenantRoleNames } from "../../permissions-
|
|
1
|
+
export { t as SaasDocSchema, n as SaasFolderSchema, r as SaasProjectSchema, i as saasPermissions, a as saasPlans, o as saasRoles, s as saasTenantRoleNames } from "../../permissions-CYcHj_w7.js";
|
package/dist/trpc/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { T as Policy,
|
|
1
|
+
import { T as Policy, pr as Principal } from "../policy-types-DGIO_gxq.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
|
-
import { a as PermDock } from "../permdock-
|
|
3
|
+
import { a as PermDock } from "../permdock-CprAPN3w.js";
|
|
4
4
|
import { n as RevocationFeed } from "../revocations-BaUXHM1N.js";
|
|
5
|
-
import { D as ConnectionOptions, T as Connection, i as OpenApiHooks } from "../server-types-
|
|
6
|
-
import { t as ServerAdapterOptions } from "../bind-
|
|
7
|
-
import { t as StreamProtectOptions } from "../stream-
|
|
5
|
+
import { D as ConnectionOptions, T as Connection, i as OpenApiHooks } from "../server-types-CyRN0-Cd.js";
|
|
6
|
+
import { t as ServerAdapterOptions } from "../bind-YYjvfpB9.js";
|
|
7
|
+
import { t as StreamProtectOptions } from "../stream-9y9qw51m.js";
|
|
8
8
|
import { AnyTRPCMiddlewareFunction } from "@trpc/server";
|
|
9
9
|
//#region src/trpc/create.d.ts
|
|
10
10
|
type TrpcMiddlewareOpts<TCtx = object, TInput = unknown> = {
|
package/dist/trpc/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as problemMessage } from "../http-DKLXrFGk.js";
|
|
2
2
|
import { t as problemFromError } from "../map-error-pasIGqMT.js";
|
|
3
|
-
import { n as attached } from "../bind-
|
|
3
|
+
import { n as attached } from "../bind-BNQA9JK9.js";
|
|
4
4
|
import { i as isAsyncIterable, o as reloadAfter } from "../stream-CDvF0sJm.js";
|
|
5
|
-
import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-
|
|
5
|
+
import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-vHIwyXCp.js";
|
|
6
6
|
import { TRPCError, isTrackedEnvelope } from "@trpc/server";
|
|
7
7
|
//#region src/trpc/create.ts
|
|
8
8
|
const PROBLEM = Symbol.for("permdock.problem");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bn as ScopeNames, j as PolicyVocabulary } from "./policy-types-DGIO_gxq.js";
|
|
2
2
|
import { k as POLICY_SCOPES, u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
3
|
import { n as PlanTree } from "./vocabulary-DEJ5j4mR.js";
|
|
4
4
|
import { o as OperationMap } from "./operations-Ci_rT6Uo.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Sn as Approver } from "./policy-types-DGIO_gxq.js";
|
|
2
2
|
//#region src/approvals/access-reviews/types.d.ts
|
|
3
3
|
type AccessReviewStatus = "open" | "closed";
|
|
4
4
|
type AccessReviewItemStatus = "pending" | "kept" | "revoked";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as PermDock } from "./permdock-
|
|
1
|
+
import { j as PolicyVocabulary, on as DecisionEvent } from "./policy-types-DGIO_gxq.js";
|
|
2
|
+
import { a as PermDock } from "./permdock-CprAPN3w.js";
|
|
3
3
|
//#region src/otel/types.d.ts
|
|
4
4
|
declare const GENAI_SEMCONV_PIN = "1.37.0";
|
|
5
5
|
declare const GEN_AI_TOOL_NAME = "gen_ai.tool.name";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as PolicySource } from "./hosted-
|
|
3
|
-
import { m as ApprovalStore, u as ApprovalRequest } from "./types-
|
|
1
|
+
import { J as DecisionSink, ct as SnapshotSource, hr as Subject, ht as TokenVerifier, mt as TokenSigner } from "./policy-types-DGIO_gxq.js";
|
|
2
|
+
import { s as PolicySource } from "./hosted-DVxlLZMe.js";
|
|
3
|
+
import { m as ApprovalStore, u as ApprovalRequest } from "./types-DLvhVm1r.js";
|
|
4
4
|
import { a as CatalogDocument } from "./types-ZzRGoViD.js";
|
|
5
|
-
import { a as CatalogFinding } from "./sink-
|
|
5
|
+
import { a as CatalogFinding } from "./sink-B5zoUW_O.js";
|
|
6
6
|
//#region src/cloud/types.d.ts
|
|
7
7
|
type CloudEndpointOptions = {
|
|
8
8
|
readonly url?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { pr as Principal, rn as AuthEvent } from "./policy-types-DGIO_gxq.js";
|
|
2
2
|
import { t as ClaimsMap } from "./claims-map-D1Pb5oRq.js";
|
|
3
3
|
import { t as ClientNames } from "./clients-C_NOET3z.js";
|
|
4
4
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Hn as ApprovalRequiredDecision, Un as Decision, Yn as GrantedDecision, Zt as Snapshot, ht as TokenVerifier } from "./policy-types-DGIO_gxq.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { a as PermDock } from "./permdock-
|
|
3
|
+
import { a as PermDock } from "./permdock-CprAPN3w.js";
|
|
4
4
|
import { t as PermissionBoundaryState } from "./boundary-C9ck-3uK.js";
|
|
5
|
-
import { t as ActionResult } from "./action-result-
|
|
6
|
-
import { d as ProtectedActionView, f as ProviderOptionsBase, g as ClientStore, l as PermissionState } from "./types-
|
|
5
|
+
import { t as ActionResult } from "./action-result-BcudBQOF.js";
|
|
6
|
+
import { d as ProtectedActionView, f as ProviderOptionsBase, g as ClientStore, l as PermissionState } from "./types-tQB2CEnY.js";
|
|
7
7
|
import { Snippet } from "svelte";
|
|
8
8
|
import { Readable } from "svelte/store";
|
|
9
9
|
//#region src/client/views.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { s as CloudEvent } from "./sink-
|
|
3
|
-
import { t as ApprovalPrompt } from "./approval-prompt-
|
|
1
|
+
import { Yn as GrantedDecision, cn as DeliveryEvent, dn as EmailCategory, ln as DeliveryFailureCause, sn as DeliveryChannel } from "./policy-types-DGIO_gxq.js";
|
|
2
|
+
import { s as CloudEvent } from "./sink-B5zoUW_O.js";
|
|
3
|
+
import { t as ApprovalPrompt } from "./approval-prompt-3BqWczTt.js";
|
|
4
4
|
//#region src/delivery/types.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Who a delivery goes to. `{ principal }` names an app principal and the
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as DescribeMessages } from "./describe-
|
|
3
|
-
import { _ as ClientStoreOptions } from "./types-
|
|
4
|
-
import { t as PermDockDefaults } from "./types-
|
|
1
|
+
import { Zt as Snapshot, ct as SnapshotSource, ht as TokenVerifier } from "./policy-types-DGIO_gxq.js";
|
|
2
|
+
import { n as DescribeMessages } from "./describe-BbFPBSms.js";
|
|
3
|
+
import { _ as ClientStoreOptions } from "./types-tQB2CEnY.js";
|
|
4
|
+
import { t as PermDockDefaults } from "./types-rCRV4Ge-.js";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
//#region src/react-native/types.d.ts
|
|
7
7
|
type SnapshotStorage = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as RoleMap, r as RoleThrough } from "./types-
|
|
2
|
-
import { s as SqlMembershipSource } from "./sources-
|
|
1
|
+
import { n as RoleMap, r as RoleThrough } from "./types-BMVDHvI0.js";
|
|
2
|
+
import { s as SqlMembershipSource } from "./sources-CWG32C0G.js";
|
|
3
3
|
//#region src/cli/core/errors.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* 0 success, 1 failure, 2 usage, 3 action required, 130 interrupted (SIGINT or
|
|
@@ -408,7 +408,9 @@ type RlsConfig = {
|
|
|
408
408
|
*/
|
|
409
409
|
readonly helpersOnly?: boolean;
|
|
410
410
|
/**
|
|
411
|
-
* Emit `permitted_<resource>_rows(p_permission)
|
|
411
|
+
* Emit `permitted_<resource>_rows(p_permission)`, its `_for` form,
|
|
412
|
+
* `permitted_<resource>_rows(p_permission, p_ids)` limited to candidate ids
|
|
413
|
+
* and the row-valued `permitted_<resource>_row(p_row, p_permission)` for
|
|
412
414
|
* these resources, or for every resource a grant reaches with `true`: the row
|
|
413
415
|
* ids the caller may act on, as the generated policies decide them.
|
|
414
416
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Nn as RelationGrantee, Sn as Approver, Wt as Instant, fr as Membership, gn as WireDelegation, hr as Subject, o as ApprovalStage, r as ApprovalMode, vr as AdapterId } from "./policy-types-DGIO_gxq.js";
|
|
2
2
|
import { M as AppData } from "./permission-types-CAY-GU7e.js";
|
|
3
3
|
//#region src/approvals/types.d.ts
|
|
4
4
|
type ApprovalStatus = "pending" | "approved" | "rejected" | "expired";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Jn as ExplainedDecision, T as Policy, Un as Decision, fr as Membership, hr as Subject, j as PolicyVocabulary, pr as Principal } from "./policy-types-DGIO_gxq.js";
|
|
2
2
|
import { f as PermissionTree, u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { C as PermissionCheck, a as PermDock, f as WhereResult, l as SimulateOptions, n as DecideOptions, o as PermDockOptions, r as DeriveOptions } from "./permdock-
|
|
3
|
+
import { C as PermissionCheck, a as PermDock, f as WhereResult, l as SimulateOptions, n as DecideOptions, o as PermDockOptions, r as DeriveOptions } from "./permdock-CprAPN3w.js";
|
|
4
4
|
//#region src/pdp/types.d.ts
|
|
5
5
|
type RemotePdpAuth = {
|
|
6
6
|
readonly bearer: string | (() => string | Promise<string>);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { m as ApprovalStore } from "./types-
|
|
1
|
+
import { Z as JwtClaims, hr as Subject, ht as TokenVerifier, nt as MembershipSource, pr as Principal, pt as TokenFailureCause, rn as AuthEvent, rr as Actor } from "./policy-types-DGIO_gxq.js";
|
|
2
|
+
import { m as ApprovalStore } from "./types-DLvhVm1r.js";
|
|
3
3
|
import { n as RevocationFeed } from "./revocations-BaUXHM1N.js";
|
|
4
4
|
import { t as ClaimsMap } from "./claims-map-D1Pb5oRq.js";
|
|
5
5
|
import { t as ClientNames } from "./clients-C_NOET3z.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Hn as ApprovalRequiredDecision, Un as Decision, Yn as GrantedDecision, Zt as Snapshot, ht as TokenVerifier } from "./policy-types-DGIO_gxq.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { s as RowData } from "./permdock-
|
|
4
|
-
import { n as DescribeMessages } from "./describe-
|
|
5
|
-
import { _ as ClientStoreOptions } from "./types-
|
|
3
|
+
import { s as RowData } from "./permdock-CprAPN3w.js";
|
|
4
|
+
import { n as DescribeMessages } from "./describe-BbFPBSms.js";
|
|
5
|
+
import { _ as ClientStoreOptions } from "./types-tQB2CEnY.js";
|
|
6
6
|
import { ReactNode } from "react";
|
|
7
7
|
//#region src/react/types.d.ts
|
|
8
8
|
type PermDockProviderProps = ({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Un as Decision, Zt as Snapshot, ht as TokenVerifier, j as PolicyVocabulary, lr as Delegation, pr as Principal, rr as Actor } from "./policy-types-DGIO_gxq.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { a as PermDock } from "./permdock-
|
|
4
|
-
import { n as DescribeMessages, t as DecisionDescription } from "./describe-
|
|
5
|
-
import { t as ActionResult } from "./action-result-
|
|
3
|
+
import { a as PermDock } from "./permdock-CprAPN3w.js";
|
|
4
|
+
import { n as DescribeMessages, t as DecisionDescription } from "./describe-BbFPBSms.js";
|
|
5
|
+
import { t as ActionResult } from "./action-result-BcudBQOF.js";
|
|
6
6
|
//#region src/client/refresh-on.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* Calls `refresh` when the snapshot may be out of date (a membership event, a
|
package/dist/unplugin/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as PermDockPluginOptions } from "../types-
|
|
1
|
+
import { s as PermDockPluginOptions } from "../types-CzOeVvcC.js";
|
|
2
2
|
import { createUnplugin } from "unplugin";
|
|
3
3
|
//#region src/unplugin/index.d.ts
|
|
4
4
|
type CreateUnplugin = typeof createUnplugin<PermDockPluginOptions | undefined>;
|
package/dist/unplugin/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as createCollectScheduler, r as report } from "../watch-
|
|
1
|
+
import { n as createCollectScheduler, r as report } from "../watch-BFDKqmUa.js";
|
|
2
2
|
import { r as peerHint } from "../peer-Q0fuZ6hx.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
//#region src/unplugin/index.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as runUsage } from "./usage-B9EtHWLa.js";
|
|
@@ -4,10 +4,10 @@ import { a as rel, r as listSourceFiles } from "./files-BSjrtIHw.js";
|
|
|
4
4
|
import { o as USAGE_REPORT_SCHEMA } from "./version-DMQ0dnN5.js";
|
|
5
5
|
import { c as jsonSchemaOf } from "./catalog-doc-DjMKzJp9.js";
|
|
6
6
|
import { a as loadModule, n as asPolicy, s as pickNamed } from "./load-DjSU5KXO.js";
|
|
7
|
-
import { r as runCollect } from "./collect-
|
|
7
|
+
import { r as runCollect } from "./collect-WCl8cJQV.js";
|
|
8
8
|
import { t as beforeFirst } from "./text-BMFRfBqc.js";
|
|
9
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
10
|
-
import { r as findingOf } from "./output-
|
|
9
|
+
import { t as DOCS_BASE } from "./manifest-B2QPh19C.js";
|
|
10
|
+
import { r as findingOf } from "./output-DV5dwOTs.js";
|
|
11
11
|
import { existsSync, readFileSync, realpathSync } from "node:fs";
|
|
12
12
|
import { dirname, resolve } from "node:path";
|
|
13
13
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as sole, r as isRecord } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { l as isConditionRef, o as hasConditionOp } from "./refs-C8BKxc_e.js";
|
|
3
|
-
import {
|
|
3
|
+
import { j as memoryCustomRoleSource, x as memoryRelationSource } from "./src-C_pi2Rnh.js";
|
|
4
4
|
import { c as listPermissions, h as formerKeys, n as findPermission } from "./permission-registry-B8tYxPIt.js";
|
|
5
5
|
import { c as isEdgeRelation, l as isFieldRelation, u as isPrincipalRelation } from "./resource-relations-8-pCScBO.js";
|
|
6
6
|
import { f as nowMillis, u as isoAt } from "./time-nR1JesoH.js";
|
|
@@ -10,8 +10,8 @@ import { o as requiresStandIn } from "./delegation-CDB6_keF.js";
|
|
|
10
10
|
import { p as scopeField } from "./tenancy-5d1zVBvK.js";
|
|
11
11
|
import { l as policyLevels, t as coveredLevels } from "./policy-CLQ8__GF.js";
|
|
12
12
|
import { t as requiresApproval } from "./approval-required-TzNB9oQA.js";
|
|
13
|
-
import { c as andWhere, m as customRoleScope, v as leveled, y as membershipsClaim } from "./evaluate-
|
|
14
|
-
import { t as getPermDock } from "./permdock-
|
|
13
|
+
import { c as andWhere, m as customRoleScope, v as leveled, y as membershipsClaim } from "./evaluate-BAmf_AQd.js";
|
|
14
|
+
import { t as getPermDock } from "./permdock-BvjivVb9.js";
|
|
15
15
|
import { a as describeError, i as configError, u as usageResult } from "./errors-Vpu6rKHl.js";
|
|
16
16
|
import { t as policyRowConditionKeys } from "./row-conditions-BAGHOmVq.js";
|
|
17
17
|
import { s as writeFileEnsuringDir } from "./files-BSjrtIHw.js";
|
|
@@ -22,11 +22,11 @@ import { a as scopeMembershipTable, i as scopeColumn } from "./compile-EzEMB-7v.
|
|
|
22
22
|
import "./budget-BELja5A9.js";
|
|
23
23
|
import "./sources-CMAM-2A3.js";
|
|
24
24
|
import { t as beforeFirst } from "./text-BMFRfBqc.js";
|
|
25
|
-
import { t as DOCS_BASE } from "./manifest-
|
|
25
|
+
import { t as DOCS_BASE } from "./manifest-B2QPh19C.js";
|
|
26
26
|
import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-A1_sp_tR.js";
|
|
27
27
|
import { A as quoteQualified, N as arrayColumnsOf, O as quoteIdent, P as columnTypesOf, _ as subjectClaimJsonSql, a as customRolesOn, j as quoteTable, k as quoteLiteral, r as HELPERS, v as subjectClaimSql } from "./shared-Afctg7B0.js";
|
|
28
|
-
import { C as accessSql, D as tokenScopeAllowsCall, S as requiresSql, ht as scopeTable, k as capabilityAccessSql, n as tableNameOf, o as graphPlan, q as apiKeyAllowsCall, r as tableNames } from "./tables-
|
|
29
|
-
import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./ownership-
|
|
28
|
+
import { C as accessSql, D as tokenScopeAllowsCall, S as requiresSql, ht as scopeTable, k as capabilityAccessSql, n as tableNameOf, o as graphPlan, q as apiKeyAllowsCall, r as tableNames } from "./tables-BqrxBCir.js";
|
|
29
|
+
import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./ownership-DA5YdYTm.js";
|
|
30
30
|
import { t as membershipSourcesOf } from "./sources-qoIJQrJv.js";
|
|
31
31
|
import { n as pgConnector, t as connectPgPool } from "./pg-DQTqRrou.js";
|
|
32
32
|
import { _ as wrapSql, g as validitySql, m as andSql, s as viewName, t as FIELD_VIEWS } from "./fields-D0vUI6dq.js";
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Hn as ApprovalRequiredDecision, Un as Decision, Zt as Snapshot, fr as Membership, ht as TokenVerifier, j as PolicyVocabulary } from "../policy-types-DGIO_gxq.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
3
|
import { r as Role } from "../vocabulary-DEJ5j4mR.js";
|
|
4
|
-
import { d as UncheckedData, s as RowData } from "../permdock-
|
|
5
|
-
import { c as requiredPlans } from "../errors-
|
|
6
|
-
import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-
|
|
4
|
+
import { d as UncheckedData, s as RowData } from "../permdock-CprAPN3w.js";
|
|
5
|
+
import { c as requiredPlans } from "../errors-BIM4MFsJ.js";
|
|
6
|
+
import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-BbFPBSms.js";
|
|
7
7
|
import { t as PermissionBoundaryState } from "../boundary-C9ck-3uK.js";
|
|
8
|
-
import { n as ProtectedAction, t as ActionResult } from "../action-result-
|
|
8
|
+
import { n as ProtectedAction, t as ActionResult } from "../action-result-BcudBQOF.js";
|
|
9
9
|
import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
|
|
10
|
-
import { a as FilterResult, b as eventSourceRefresh, c as PermissionSet, d as ProtectedActionView, f as ProviderOptionsBase, h as TenantView, i as ClientStatus, l as PermissionState, m as SubjectView, n as ApprovalState, o as GateMode, p as RolesOptions, r as ClientPermDock, s as GateView, t as ApprovalHandle, v as EventSourceRefreshOptions, y as RefreshTrigger } from "../types-
|
|
10
|
+
import { a as FilterResult, b as eventSourceRefresh, c as PermissionSet, d as ProtectedActionView, f as ProviderOptionsBase, h as TenantView, i as ClientStatus, l as PermissionState, m as SubjectView, n as ApprovalState, o as GateMode, p as RolesOptions, r as ClientPermDock, s as GateView, t as ApprovalHandle, v as EventSourceRefreshOptions, y as RefreshTrigger } from "../types-tQB2CEnY.js";
|
|
11
11
|
import { ComputedRef, DefineComponent, MaybeRefOrGetter, Plugin, VNode } from "vue";
|
|
12
12
|
//#region src/vue/types.d.ts
|
|
13
13
|
type PermDockPluginOptions = ProviderOptionsBase & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { m as ApprovalStore } from "./types-
|
|
1
|
+
import { Wt as Instant } from "./policy-types-DGIO_gxq.js";
|
|
2
|
+
import { m as ApprovalStore } from "./types-DLvhVm1r.js";
|
|
3
3
|
//#region src/workflow/waiter.d.ts
|
|
4
4
|
type ApprovalWaitOptions = {
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as dateAt } from "./time-nR1JesoH.js";
|
|
2
2
|
import { a as describeError } from "./errors-Vpu6rKHl.js";
|
|
3
3
|
import { t as defaultSrcPath } from "./files-BSjrtIHw.js";
|
|
4
|
-
import { r as runCollect } from "./collect-
|
|
4
|
+
import { r as runCollect } from "./collect-WCl8cJQV.js";
|
|
5
5
|
import { n as isConfigFile, r as loadConfig } from "./config-BwPBfN0t.js";
|
|
6
6
|
import { watch } from "node:fs";
|
|
7
7
|
import { basename, dirname, relative, resolve, sep } from "node:path";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { i as watchCollect } from "./watch-BFDKqmUa.js";
|
package/dist/webmcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Un as Decision, Zt as Snapshot } from "../policy-types-DGIO_gxq.js";
|
|
2
2
|
import { f as PermissionTree, u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
3
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
4
4
|
//#region src/webmcp/types.d.ts
|
|
@@ -10,7 +10,7 @@ import { o as flattenGrantee } from "./grantee-Dke-9rd1.js";
|
|
|
10
10
|
import { t as byCodePoint } from "./compare-DTfyUunF.js";
|
|
11
11
|
import { r as relationCondition } from "./grantee-conditions-BrYPe-w0.js";
|
|
12
12
|
import { c as nowSeconds, p as scopeField } from "./tenancy-5d1zVBvK.js";
|
|
13
|
-
import { D as emptyListeners, t as evaluate } from "./evaluate-
|
|
13
|
+
import { D as emptyListeners, t as evaluate } from "./evaluate-BAmf_AQd.js";
|
|
14
14
|
import { n as relationId, t as pendingRelations } from "./relations-BxvRvDHK.js";
|
|
15
15
|
import { t as relationWalk } from "./relation-walk-DK_gkgL7.js";
|
|
16
16
|
//#region src/core/who-can.ts
|