permdock 0.20.0 → 0.21.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 +3 -3
- package/dist/{adoption-scan-BWL5H82_.js → adoption-scan-UkQisAqe.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/approvals/index.d.ts +1 -1
- package/dist/{arazzo-B_CPVseu.js → arazzo-BC3uLIZy.js} +2 -2
- package/dist/{arazzo-C8u26FUA.js → arazzo-CUthH61H.js} +1 -1
- package/dist/astro/index.d.ts +3 -3
- package/dist/astro/index.js +1 -1
- package/dist/authzen/index.d.ts +2 -2
- package/dist/authzen/index.js +1 -1
- package/dist/better-supabase/index.d.ts +2 -2
- package/dist/better-supabase/index.js +3 -3
- package/dist/{bind-gwEbe9hL.js → bind-CJf7S-Jd.js} +3 -3
- package/dist/{bind-CW7nsZ86.d.ts → bind-XvnD_SUz.d.ts} +5 -5
- package/dist/{build-instance-DaBdCRiz.js → build-instance-CkRKgjSj.js} +1 -1
- package/dist/{casbin-JWZGKqzy.js → casbin-BOZN1P2Y.js} +1 -1
- package/dist/{casbin-DaY-CWOr.js → casbin-v9Xo_XPa.js} +1 -1
- package/dist/catalog/index.js +2 -2
- 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/index.js +2 -2
- package/dist/{cloud-pEhjaPNs.js → cloud-CB0btByh.js} +2 -2
- package/dist/{codemod-Cv0-7Ogj.js → codemod-B-duJDFD.js} +1 -1
- package/dist/{codemod-BUhreN8m.js → codemod-C3a3Iz_w.js} +2 -2
- package/dist/compile/index.d.ts +1 -1
- package/dist/{compile-DZftFfXc.d.ts → compile-DonvwG9x.d.ts} +1 -1
- package/dist/{completion-BG1wcLJ3.js → completion-6IshPaPd.js} +1 -1
- package/dist/{config-Di9kWoLY.js → config-C45X7mpm.js} +1 -1
- package/dist/{config-report-B0IyW7EQ.js → config-report-Bmo62RRr.js} +1 -1
- package/dist/convex/index.d.ts +2 -2
- package/dist/convex/index.js +2 -2
- package/dist/{core-BOeGWbcR.d.ts → core-9KbhurkH.d.ts} +1 -1
- package/dist/{core-BwVkrpsi.js → core-Dxkwz4xR.js} +2 -2
- package/dist/{create-DMCC5ZOi.d.ts → create-BQOQkYYg.d.ts} +4 -4
- package/dist/{create-DDUFG1ul.js → create-BRiRVNUO.js} +5 -4
- package/dist/{create-DYSYYiLr.d.ts → create-BzgDDamI.d.ts} +1 -1
- package/dist/{create-BezeYFcT.d.ts → create-DH4ZD0A7.d.ts} +2 -2
- package/dist/{create-C0R8omeF.js → create-Q0wF9Elt.js} +3 -3
- package/dist/delivery/index.d.ts +1 -1
- package/dist/{diff-DXRNcjpg.js → diff-3fpwo3UD.js} +1 -1
- package/dist/{diff-Bd1-VCe5.js → diff-BJv7I3GR.js} +2 -2
- package/dist/{doctor-DpD4nHMS.js → doctor-Bz7s3JYD.js} +13 -13
- package/dist/{doctor-Bp3xspBi.js → doctor-keoa9DpH.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-BgxEfPL7.d.ts → evaluations-OCm_Z-8V.d.ts} +1 -1
- package/dist/eve/index.d.ts +2 -2
- package/dist/eve/index.js +2 -2
- 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-acq4dPX3.js → fetch-adapter-4EB3cLgB.js} +3 -2
- package/dist/{fetch-adapter-DCQ4pZxf.d.ts → fetch-adapter-BlL-ZhHq.d.ts} +2 -2
- package/dist/{fields-COvJbUva.js → fields-D_TfExiI.js} +1 -1
- package/dist/{gen-CKr1Vfiz.js → gen-Cf7nQsOb.js} +1 -1
- package/dist/{gen-B2O9T25-.js → gen-DYF4LKUP.js} +1 -1
- package/dist/h3/index.d.ts +3 -3
- package/dist/h3/index.js +2 -2
- package/dist/hono/index.d.ts +3 -3
- package/dist/hono/index.js +1 -1
- package/dist/{import-DVI_1tO_.js → import-C2ExjVvv.js} +2 -2
- package/dist/{import-DG6uswAo.js → import-CQ_kH_Ny.js} +1 -1
- package/dist/{index-Bt37QovT.d.ts → index-BqzpT-90.d.ts} +1 -1
- package/dist/{index-CruReRkB.d.ts → index-Do7FqHEr.d.ts} +1 -1
- package/dist/{index-B_I6N8Ju.d.ts → index-DuOF7OqS.d.ts} +2 -2
- package/dist/{index-D7xGi1LS.d.ts → index-tuR-kZoJ.d.ts} +4 -3
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/{init-C-cgOvCl.js → init-DvkvbvZ_.js} +1 -1
- package/dist/{init-DAPbdjcX.js → init-kTFkEu8S.js} +3 -3
- package/dist/{instance-options-VPsNQsTH.d.ts → instance-options-Cq66kEeR.d.ts} +1 -1
- package/dist/{instance-snapshot-SX8zH_1t.js → instance-snapshot-Bi4-dJk0.js} +1 -1
- package/dist/{kernel-_QEUOSU0.js → kernel-CLEzDmbv.js} +3 -3
- package/dist/kysely/index.d.ts +2 -2
- package/dist/{login-Cgix5FgG.js → login-9ycIcJZH.js} +1 -1
- package/dist/{login-CQGjpkuo.js → login-CM_etiLM.js} +3 -3
- package/dist/{manifest-CMu1IE0R.js → manifest-CCd-xrM3.js} +33 -33
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +3 -3
- package/dist/{migrate-BbY5-Khy.js → migrate-CkLHdwuH.js} +1 -1
- package/dist/nest/index.d.ts +3 -3
- package/dist/nest/index.js +1 -1
- package/dist/next/index.d.ts +9 -6
- package/dist/next/index.js +6 -4
- 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-FVeCoh97.js → openapi-DA7FVG2F.js} +1 -1
- package/dist/{openapi-lsf1gEtr.js → openapi-QnnU2A1c.js} +2 -2
- 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-DZQCr2lP.js → output-KT0a3B3H.js} +1 -1
- package/dist/{ownership-CBuIjxKh.js → ownership-CeNOtQMV.js} +2 -2
- package/dist/pdp/index.d.ts +2 -2
- package/dist/pdp/index.js +1 -1
- package/dist/{permdock-D4F2p5J8.d.ts → permdock-CsrvbzHk.d.ts} +5 -0
- package/dist/{permdock-C1DN_7a-.js → permdock-DbAq8_Fp.js} +2 -1
- package/dist/{permissions-8N2yFsUM.js → permissions-Dz79qsFw.js} +1 -1
- package/dist/{policy-from-catalog-CUNlpgz0.js → policy-from-catalog-BtqfxytV.js} +1 -1
- package/dist/powersync-CWCirKAJ.js +1 -0
- package/dist/{powersync-CRtuJXVB.js → powersync-CWsN-QaK.js} +2 -2
- package/dist/{powersync-Dz4H1FLs.js → powersync-DiqY3VBG.js} +6 -6
- package/dist/prisma/index.d.ts +1 -1
- package/dist/{protected-action-ua0cx5cW.d.ts → protected-action-CuG0xz4P.d.ts} +3 -3
- package/dist/{provider-D_hgjZRa.d.ts → provider-ihxuJbMi.d.ts} +1 -1
- package/dist/{pull-DnhBA9pf.js → pull-B4EhSqOG.js} +1 -1
- package/dist/pull-VzcECZ-R.js +1 -0
- package/dist/{push-D2SsRW0U.js → push-DYOI4bPf.js} +1 -1
- package/dist/{pushed-policy-BERO0x9O.js → pushed-policy-Dszouliu.js} +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/provider-client.d.ts +1 -1
- package/dist/react-native/index.d.ts +4 -4
- package/dist/{request-context-BPTi68z5.js → request-context-VjeXst1z.js} +1 -1
- package/dist/{resolve-names-CDnxNqNb.js → resolve-names-BIHnWL_L.js} +3 -3
- package/dist/{rls-CHZi5SUK.js → rls-C7qXye9M.js} +1 -1
- package/dist/{rls-CbDKv6GP.js → rls-CMFZWosz.js} +13 -13
- package/dist/{rpc-DdkbQVlT.js → rpc-BNIQwEB6.js} +1 -1
- package/dist/{rpc-D2LnFELm.d.ts → rpc-CYXICjM1.d.ts} +1 -1
- package/dist/{run-Bnm5VZ8m.js → run-CMJX9x7b.js} +2 -2
- package/dist/run-D2e1tybu.js +1 -0
- package/dist/{run-ticket-94DOS9Cd.d.ts → run-ticket-BXYqQ9dy.d.ts} +1 -1
- package/dist/{saas-BEXnrH9H.js → saas-DHFfthXv.js} +2 -2
- package/dist/{scan-VKkU4Ix9.js → scan-CSOkcNdl.js} +1 -1
- package/dist/{schema-5onstWlb.js → schema-7pXCaRYB.js} +1 -1
- package/dist/server/index.d.ts +4 -4
- package/dist/server/index.js +1 -1
- package/dist/{server-types-ChzXWU4Y.d.ts → server-types-Bfl-IrzZ.d.ts} +6 -5
- package/dist/{shared-DyYVEjKC.js → shared-sW3VYchq.js} +2 -1
- package/dist/{skills-Yz3LfoAZ.js → skills-DAjg-rgF.js} +1 -1
- package/dist/{skills-B6sLqv4E.js → skills-DrX83QBK.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-B8SQNsvw.js → src-Cop53_X1.js} +3 -2
- package/dist/{store-Dpg_fSNQ.d.ts → store-CRQ5VrWR.d.ts} +1 -1
- package/dist/{stores-C2A6KsxE.d.ts → stores-pEBMy94l.d.ts} +3 -3
- package/dist/supabase/middleware.d.ts +4 -4
- package/dist/supabase/middleware.js +4 -4
- package/dist/{supabase-CWpADE8k.js → supabase-Cbl2orB2.js} +2 -2
- package/dist/{supabase-hook-bDeWbKee.js → supabase-hook-BUcu3vPM.js} +11 -6
- package/dist/supabase-hook-QWphWBnG.js +1 -0
- package/dist/{supautils-0RrdsFT3.js → supautils-a_253u1X.js} +67 -8
- 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/{tables-C53U2zrN.js → tables-XrvffTMj.js} +329 -68
- package/dist/tanstack-start/index.d.ts +3 -3
- package/dist/tanstack-start/index.js +1 -1
- 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/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-C5p2hoBR.d.ts → types-C3C9ien9.d.ts} +2 -2
- package/dist/{types-Drs3OOAy.d.ts → types-DjGZAU64.d.ts} +2 -2
- package/dist/{types-D8JVDWOr.d.ts → types-DotXrris.d.ts} +1 -1
- package/dist/{types-DnzRZjEu.d.ts → types-MixnvXQ5.d.ts} +2 -2
- package/dist/{types-CMclYgSk.d.ts → types-zh4WGQcP.d.ts} +1 -1
- package/dist/{usage-BFMCEgJp.js → usage-DHsqp4lN.js} +1 -1
- package/dist/{usage-B6gmS634.js → usage-DPbdI3Vi.js} +2 -2
- package/dist/usage-dmSjKx-Z.js +1 -0
- package/dist/{verify-DFruUfZg.js → verify-C0jGJrmb.js} +7 -7
- package/dist/vue/index.d.ts +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-CE5lxje7.d.ts → wrap-EQ6Or2Hi.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/powersync-BV68Jh-T.js +0 -1
- package/dist/pull-AOmtUo8V.js +0 -1
- package/dist/run-D6U-Gwok.js +0 -1
- package/dist/supabase-hook-Clczf4iF.js +0 -1
- package/dist/usage-Csu-M5jC.js +0 -1
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-C5AgaC1x.js";
|
|
5
|
-
import { A as memoryCustomRoleSource, C as limits, D as approvalPoliciesFor, d as snapshotFor, w as memoryLimitStore } from "../src-
|
|
5
|
+
import { A as memoryCustomRoleSource, C as limits, D as approvalPoliciesFor, d as snapshotFor, w as memoryLimitStore } from "../src-Cop53_X1.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";
|
|
@@ -18,7 +18,7 @@ import { i as rootMembershipId } from "../subject-C7RddW0G.js";
|
|
|
18
18
|
import { T as validateCustomRole } from "../evaluate-Dcq_U2TV.js";
|
|
19
19
|
import { n as parseSnapshot } from "../snapshot-DHPih65J.js";
|
|
20
20
|
import { n as fromSnapshot } from "../from-snapshot-DHnb8Fh4.js";
|
|
21
|
-
import { t as getPermDock } from "../permdock-
|
|
21
|
+
import { t as getPermDock } from "../permdock-DbAq8_Fp.js";
|
|
22
22
|
import { t as APPROVAL_HEADER } from "../types-CcUXciSj.js";
|
|
23
23
|
import { i as memoryApprovalStore } from "../store-CSOsXd5s.js";
|
|
24
24
|
import { t as definePermissions } from "../permissions-BaoLxy66.js";
|
|
@@ -36,10 +36,10 @@ import { l as sha256Hex, n as scimHandler, t as directoryMembershipSource } from
|
|
|
36
36
|
import { c as quoteSqlTable, o as quoteSqlIdent } from "../sql-0WjxIp9g.js";
|
|
37
37
|
import { i as cloudEndpoints, n as cloud, s as approverHeaders, t as bearerChallenge } from "../challenge-DbkpCx_v.js";
|
|
38
38
|
import { t as supabaseManifestSchema } from "../manifest-schema-CsFsYLF-.js";
|
|
39
|
-
import { t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-
|
|
40
|
-
import { i as policyMatrixLayout, n as testRlsParity, r as policyMatrix, t as testOrmParity } from "../core-
|
|
41
|
-
import { i as saasPermissions } from "../permissions-
|
|
42
|
-
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-
|
|
39
|
+
import { t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-Dszouliu.js";
|
|
40
|
+
import { i as policyMatrixLayout, n as testRlsParity, r as policyMatrix, t as testOrmParity } from "../core-Dxkwz4xR.js";
|
|
41
|
+
import { i as saasPermissions } from "../permissions-Dz79qsFw.js";
|
|
42
|
+
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-DHFfthXv.js";
|
|
43
43
|
import { t as POLICY_NOT_PUBLISHED } from "../problem-types-DSsRfONQ.js";
|
|
44
44
|
import { t as require__2020 } from "../2020-CJbO8Bvz.js";
|
|
45
45
|
import { afterAll, assert, beforeAll, describe, expect, expectTypeOf, it, vi } from "vitest";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ct as RelationSource, hr as Delegation, lr as Actor, nt as LimitStore, pr as CustomRole, qt as Instant, vr as Membership, xr as Subject, yr as Principal } from "../../policy-types-BI9C5Sp5.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-CsrvbzHk.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
5
|
import { n as saasPolicy, t as SAAS_API_KEY_LIMIT } from "../../policy-Dh9WVSVz.js";
|
|
6
6
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
@@ -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-Dz79qsFw.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-DHFfthXv.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-Dz79qsFw.js";
|
package/dist/trpc/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { D as Policy, yr as Principal } from "../policy-types-BI9C5Sp5.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-CsrvbzHk.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 RpcProtectOptions } from "../rpc-
|
|
5
|
+
import { D as ConnectionOptions, T as Connection, i as OpenApiHooks } from "../server-types-Bfl-IrzZ.js";
|
|
6
|
+
import { t as ServerAdapterOptions } from "../bind-XvnD_SUz.js";
|
|
7
|
+
import { t as RpcProtectOptions } from "../rpc-CYXICjM1.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,9 +1,9 @@
|
|
|
1
1
|
import { o as problemMessage } from "../http-DKLXrFGk.js";
|
|
2
2
|
import { r as permissionList } from "../decide-set-DXEPepY1.js";
|
|
3
3
|
import { t as problemFromError } from "../map-error-EOhahOVA.js";
|
|
4
|
-
import { n as attached } from "../bind-
|
|
4
|
+
import { n as attached } from "../bind-CJf7S-Jd.js";
|
|
5
5
|
import { i as isAsyncIterable, o as reloadAfter } from "../stream-DQ3rbO3J.js";
|
|
6
|
-
import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-
|
|
6
|
+
import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-BNIQwEB6.js";
|
|
7
7
|
import { TRPCError, isTrackedEnvelope } from "@trpc/server";
|
|
8
8
|
//#region src/trpc/create.ts
|
|
9
9
|
const PROBLEM = Symbol.for("permdock.problem");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Jn as ApprovalRequiredDecision, Yn as Decision, en as Snapshot, tr as GrantedDecision, vt as TokenVerifier } from "./policy-types-BI9C5Sp5.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-CsrvbzHk.js";
|
|
4
4
|
import { t as PermissionBoundaryState } from "./boundary-C9ck-3uK.js";
|
|
5
|
-
import { d as PermissionState, m as ProviderOptionsBase, p as ProtectedActionView, t as ClientStore, v as ActionResult } from "./store-
|
|
5
|
+
import { d as PermissionState, m as ProviderOptionsBase, p as ProtectedActionView, t as ClientStore, v as ActionResult } from "./store-CRQ5VrWR.js";
|
|
6
6
|
import { Snippet } from "svelte";
|
|
7
7
|
import { Readable } from "svelte/store";
|
|
8
8
|
//#region src/client/views.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { en as Snapshot, ut as SnapshotSource, vt as TokenVerifier } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { n as DescribeMessages } from "./describe-DibQM6g-.js";
|
|
3
|
-
import { n as ClientStoreOptions } from "./store-
|
|
4
|
-
import { t as PermDockDefaults } from "./types-
|
|
3
|
+
import { n as ClientStoreOptions } from "./store-CRQ5VrWR.js";
|
|
4
|
+
import { t as PermDockDefaults } from "./types-MixnvXQ5.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
1
|
import { N as PolicyVocabulary, un as DecisionEvent } from "./policy-types-BI9C5Sp5.js";
|
|
2
|
-
import { a as PermDock } from "./permdock-
|
|
2
|
+
import { a as PermDock } from "./permdock-CsrvbzHk.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
1
|
import { Jn as ApprovalRequiredDecision, Yn as Decision, en as Snapshot, tr as GrantedDecision, vt as TokenVerifier } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { s as RowData } from "./permdock-
|
|
3
|
+
import { s as RowData } from "./permdock-CsrvbzHk.js";
|
|
4
4
|
import { n as DescribeMessages } from "./describe-DibQM6g-.js";
|
|
5
|
-
import { n as ClientStoreOptions } from "./store-
|
|
5
|
+
import { n as ClientStoreOptions } from "./store-CRQ5VrWR.js";
|
|
6
6
|
import { ReactNode } from "react";
|
|
7
7
|
//#region src/react/types.d.ts
|
|
8
8
|
type PermDockProviderProps = ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as Policy, N as PolicyVocabulary, Yn as Decision, er as ExplainedDecision, vr as Membership, xr as Subject, yr as Principal } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { f as PermissionTree, u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { a as PermDock, f as WhereResult, k as PermissionCheck, l as SimulateOptions, n as DecideOptions, o as PermDockOptions, r as DeriveOptions } from "./permdock-
|
|
3
|
+
import { a as PermDock, f as WhereResult, k as PermissionCheck, l as SimulateOptions, n as DecideOptions, o as PermDockOptions, r as DeriveOptions } from "./permdock-CsrvbzHk.js";
|
|
4
4
|
//#region src/pdp/types.d.ts
|
|
5
5
|
type RemotePdpAuth = {
|
|
6
6
|
readonly bearer: string | (() => string | Promise<string>);
|
|
@@ -6,8 +6,8 @@ import { c as jsonSchemaOf } from "./catalog-doc-nrgfbh8I.js";
|
|
|
6
6
|
import { a as loadModule, n as asPolicy, s as pickNamed } from "./load-BaEamml-.js";
|
|
7
7
|
import { r as runCollect } from "./collect-DN_x7hvV.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-CCd-xrM3.js";
|
|
10
|
+
import { r as findingOf } from "./output-KT0a3B3H.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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as runUsage } from "./usage-DPbdI3Vi.js";
|
|
@@ -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 { A as memoryCustomRoleSource, S as memoryRelationSource } from "./src-
|
|
3
|
+
import { A as memoryCustomRoleSource, S as memoryRelationSource } from "./src-Cop53_X1.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";
|
|
@@ -11,7 +11,7 @@ import { p as scopeField } from "./tenancy-DvOHHk3-.js";
|
|
|
11
11
|
import { l as policyLevels, t as coveredLevels } from "./policy-CaAME-Rh.js";
|
|
12
12
|
import { t as requiresApproval } from "./approval-required-TzNB9oQA.js";
|
|
13
13
|
import { c as andWhere, m as customRoleScope, v as leveled, y as membershipsClaim } from "./evaluate-Dcq_U2TV.js";
|
|
14
|
-
import { t as getPermDock } from "./permdock-
|
|
14
|
+
import { t as getPermDock } from "./permdock-DbAq8_Fp.js";
|
|
15
15
|
import { a as describeError, i as configError, u as usageResult } from "./errors-BhRkoNS7.js";
|
|
16
16
|
import { t as policyRowConditionKeys } from "./row-conditions-BAGHOmVq.js";
|
|
17
17
|
import { s as writeFileEnsuringDir } from "./files-BSjrtIHw.js";
|
|
@@ -22,14 +22,14 @@ import { i as qualifySqlTable, n as defaultSqlCommand, t as SQL_IDENT } from "./
|
|
|
22
22
|
import { a as scopeMembershipTable, i as scopeColumn } from "./compile-B_oJqmIg.js";
|
|
23
23
|
import "./sources-C4vkzZJV.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-CCd-xrM3.js";
|
|
26
26
|
import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-Cemqurt8.js";
|
|
27
27
|
import { n as pgConnector, t as connectPgPool } from "./pg-Ddxsd5ZB.js";
|
|
28
|
-
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-
|
|
29
|
-
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-
|
|
30
|
-
import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./ownership-
|
|
28
|
+
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-sW3VYchq.js";
|
|
29
|
+
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-XrvffTMj.js";
|
|
30
|
+
import { c as breakGlassKey, f as compileConditionSql, l as collectGrants, m as sqlFunctionNames, p as contextRefs, s as breakGlassHolder } from "./ownership-CeNOtQMV.js";
|
|
31
31
|
import { t as membershipSourcesOf } from "./sources-qoIJQrJv.js";
|
|
32
|
-
import { _ as wrapSql, g as validitySql, m as andSql, s as viewName, t as FIELD_VIEWS } from "./fields-
|
|
32
|
+
import { _ as wrapSql, g as validitySql, m as andSql, s as viewName, t as FIELD_VIEWS } from "./fields-D_TfExiI.js";
|
|
33
33
|
import { resolve } from "node:path";
|
|
34
34
|
import { createHash, randomUUID } from "node:crypto";
|
|
35
35
|
//#region src/cli/core/ignores.ts
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Jn as ApprovalRequiredDecision, N as PolicyVocabulary, Yn as Decision, en as Snapshot, vr as Membership, vt as TokenVerifier } from "../policy-types-BI9C5Sp5.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-
|
|
4
|
+
import { d as UncheckedData, s as RowData } from "../permdock-CsrvbzHk.js";
|
|
5
5
|
import { c as requiredPlans } from "../errors-OTE9u4Wk.js";
|
|
6
6
|
import { i as describe, r as DescribeOptions, t as DecisionDescription } from "../describe-DibQM6g-.js";
|
|
7
7
|
import { t as PermissionBoundaryState } from "../boundary-C9ck-3uK.js";
|
|
8
|
-
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, m as ProviderOptionsBase, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-
|
|
8
|
+
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, m as ProviderOptionsBase, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-CRQ5VrWR.js";
|
|
9
9
|
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-L9UOwATg.js";
|
|
10
10
|
import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
|
|
11
11
|
import { ComputedRef, DefineComponent, MaybeRefOrGetter, Plugin, VNode } from "vue";
|
package/dist/workflow/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as AutomationSource, i as AutomationRequest, l as memoryAutomationSource, n as AutomationDecision, r as AutomationMode, s as MemoryAutomationSource, t as Automation, u as parseAutomation } from "../automation-CpOk7Tlu.js";
|
|
2
2
|
import { i as pollingApprovalWaiter, n as ApprovalWaiter, r as PollingApprovalWaiterOptions, t as ApprovalWaitOptions } from "../waiter-BjVI_Byg.js";
|
|
3
|
-
import { a as WorkflowPermDockOptions, i as WorkflowPermDock, n as AwaitApprovalOptions, o as createPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create-
|
|
3
|
+
import { a as WorkflowPermDockOptions, i as WorkflowPermDock, n as AwaitApprovalOptions, o as createPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create-DH4ZD0A7.js";
|
|
4
4
|
import "../index-CaxrMD1A.js";
|
|
5
5
|
export { type ApprovalWaitOptions, type ApprovalWaiter, type Automation, type AutomationDecision, type AutomationMode, type AutomationOptions, type AutomationRequest, type AutomationSource, type AwaitApprovalOptions, type MemoryAutomationSource, type PollingApprovalWaiterOptions, type StartAutomationResult, type WorkflowPermDock, type WorkflowPermDockOptions, createPermDock, memoryAutomationSource, parseAutomation, pollingApprovalWaiter };
|
package/dist/workflow/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { a as isId } from "../expiry-6XByK0dm.js";
|
|
|
4
4
|
import { n as findPermission } from "../permission-registry-B8tYxPIt.js";
|
|
5
5
|
import { n as isThenable } from "../thenable-BNSM1U2R.js";
|
|
6
6
|
import { n as memoryAutomationSource, r as parseAutomation } from "../automation-x3KEUusw.js";
|
|
7
|
-
import { l as withApp, t as getPermDock } from "../permdock-
|
|
7
|
+
import { l as withApp, t as getPermDock } from "../permdock-DbAq8_Fp.js";
|
|
8
8
|
import { o as automationEvent } from "../sink-D9_vh372.js";
|
|
9
9
|
import { a as requestApproval, s as resumeDecision } from "../helpers-D-MXwkOF.js";
|
|
10
10
|
import { i as subjectFromRunTicket, r as signRunTicket } from "../run-ticket-CjvXr6wj.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Yn as Decision } from "../policy-types-BI9C5Sp5.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-CsrvbzHk.js";
|
|
4
4
|
import { n as ApprovalWaiter } from "../waiter-BjVI_Byg.js";
|
|
5
|
-
import { i as WorkflowPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create-
|
|
5
|
+
import { i as WorkflowPermDock, r as StartAutomationResult, t as AutomationOptions } from "../create-DH4ZD0A7.js";
|
|
6
6
|
//#region src/workflow-sdk/index.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* The part of a Workflow SDK `Hook` the waiter reads: awaiting it suspends the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { N as PolicyVocabulary } from "./policy-types-BI9C5Sp5.js";
|
|
2
|
-
import { a as PermDock } from "./permdock-
|
|
2
|
+
import { a as PermDock } from "./permdock-CsrvbzHk.js";
|
|
3
3
|
//#region src/core/wrap.d.ts
|
|
4
4
|
/** A wrapper an adapter applies to each instance it builds, as `withOtel` does. */
|
|
5
5
|
type PermDockWrap = <V extends PolicyVocabulary>(permdock: PermDock<V>) => PermDock<V>;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { n as runPowerSync } from "./powersync-Dz4H1FLs.js";
|
package/dist/pull-AOmtUo8V.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { n as runCloudPull } from "./pull-DnhBA9pf.js";
|
package/dist/run-D6U-Gwok.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as run } from "./run-Bnm5VZ8m.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { i as runSupabase } from "./supabase-hook-bDeWbKee.js";
|
package/dist/usage-Csu-M5jC.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { t as runUsage } from "./usage-B6gmS634.js";
|