permdock 0.20.1 → 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-BTG9Noyy.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-D4mKdaWI.js → arazzo-BC3uLIZy.js} +2 -2
- package/dist/{arazzo-CDXfX4u0.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-COUi09Ti.js → casbin-BOZN1P2Y.js} +1 -1
- package/dist/{casbin-BXlRcCdU.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-BW7JKfrF.js → cloud-CB0btByh.js} +2 -2
- package/dist/{codemod-CR9EQBVd.js → codemod-B-duJDFD.js} +1 -1
- package/dist/{codemod-6CBQaT0x.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-CYRlOJzv.js → completion-6IshPaPd.js} +1 -1
- package/dist/{config-6iLK155o.js → config-C45X7mpm.js} +1 -1
- package/dist/{config-report-BLroaWCe.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-CJcS0Mrq.js → doctor-Bz7s3JYD.js} +11 -11
- package/dist/{doctor-DYTgibLC.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/{gen-CH50v9VI.js → gen-Cf7nQsOb.js} +1 -1
- package/dist/{gen-gv_WHBIG.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-BlwuuZkr.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-B62H9Kyx.js → init-DvkvbvZ_.js} +1 -1
- package/dist/{init-CalppFAI.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-dDb_8muO.js → login-9ycIcJZH.js} +1 -1
- package/dist/{login-MxQV1BLh.js → login-CM_etiLM.js} +3 -3
- package/dist/{manifest-DvDzxhy6.js → manifest-CCd-xrM3.js} +33 -33
- package/dist/mcp/index.d.ts +3 -3
- package/dist/mcp/index.js +3 -3
- 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-DKePsnln.js → openapi-DA7FVG2F.js} +1 -1
- package/dist/{openapi-BkGtE5kX.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-B2h-2g3F.js → output-KT0a3B3H.js} +1 -1
- package/dist/{ownership-MGHa5vfX.js → ownership-CeNOtQMV.js} +1 -1
- 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-Deim9O47.js → powersync-CWsN-QaK.js} +2 -2
- package/dist/{powersync-CB8RwcB4.js → powersync-DiqY3VBG.js} +5 -5
- 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-BxqVL4Es.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-BZQZRnMH.js → resolve-names-BIHnWL_L.js} +1 -1
- package/dist/{rls-DpoJ5gCg.js → rls-C7qXye9M.js} +1 -1
- package/dist/{rls-OPorg_2G.js → rls-CMFZWosz.js} +9 -9
- 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-YCpANf1B.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-COvn7ZjN.js → scan-CSOkcNdl.js} +1 -1
- package/dist/{schema-BfSDo7Xj.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/{skills-N2Hd8KN8.js → skills-DAjg-rgF.js} +1 -1
- package/dist/{skills-Ce4C2dq1.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-zL7PC3RG.js → supabase-Cbl2orB2.js} +2 -2
- package/dist/{supabase-hook-BCSwK5x-.js → supabase-hook-BUcu3vPM.js} +3 -3
- package/dist/supabase-hook-QWphWBnG.js +1 -0
- package/dist/{supautils-7UES0i4a.js → supautils-a_253u1X.js} +5 -5
- 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-DSX_Ma_n.js → tables-XrvffTMj.js} +1 -1
- 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-BcAqmjkj.js → usage-DHsqp4lN.js} +1 -1
- package/dist/{usage-CUnw73Y-.js → usage-DPbdI3Vi.js} +2 -2
- package/dist/usage-dmSjKx-Z.js +1 -0
- package/dist/{verify-V08pirDB.js → verify-C0jGJrmb.js} +5 -5
- 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-Cs1E04s6.js +0 -1
- package/dist/pull-BLT25Y5C.js +0 -1
- package/dist/run-CW0QsyA9.js +0 -1
- package/dist/supabase-hook-7XxWGHQF.js +0 -1
- package/dist/usage-BdIS9NfN.js +0 -1
|
@@ -14,7 +14,7 @@ const generate = defineLeaf({
|
|
|
14
14
|
async run(ctx, { flags }) {
|
|
15
15
|
const out = fileOut("powersync", flags.out);
|
|
16
16
|
const from = given(flags.policy);
|
|
17
|
-
const { runPowerSync } = await import("./powersync-
|
|
17
|
+
const { runPowerSync } = await import("./powersync-CWCirKAJ.js");
|
|
18
18
|
return runPowerSync({
|
|
19
19
|
cwd: ctx.cwd,
|
|
20
20
|
config: ctx.config,
|
|
@@ -45,7 +45,7 @@ const verify = defineLeaf({
|
|
|
45
45
|
const db = await dbUrl(ctx, flags, { required: true });
|
|
46
46
|
const fixtures = given(flags.fixtures);
|
|
47
47
|
const from = given(flags.policy);
|
|
48
|
-
const { runPowerSync } = await import("./powersync-
|
|
48
|
+
const { runPowerSync } = await import("./powersync-CWCirKAJ.js");
|
|
49
49
|
return runPowerSync({
|
|
50
50
|
cwd: ctx.cwd,
|
|
51
51
|
config: ctx.config,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as isRecord, t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { c as isConditionDate, l as isConditionRef, o as hasConditionOp } from "./refs-C8BKxc_e.js";
|
|
3
|
-
import { A as memoryCustomRoleSource, g as localSnapshotManifest } from "./src-
|
|
3
|
+
import { A as memoryCustomRoleSource, g as localSnapshotManifest } from "./src-Cop53_X1.js";
|
|
4
4
|
import { n as findPermission } from "./permission-registry-B8tYxPIt.js";
|
|
5
5
|
import { d as scopeList, s as resolveScope } from "./scopes-BSdYaGHs.js";
|
|
6
6
|
import { l as policyLevels } from "./policy-CaAME-Rh.js";
|
|
7
7
|
import { t as requiresApproval } from "./approval-required-TzNB9oQA.js";
|
|
8
|
-
import { t as getPermDock } from "./permdock-
|
|
8
|
+
import { t as getPermDock } from "./permdock-DbAq8_Fp.js";
|
|
9
9
|
import { u as usageResult } from "./errors-BhRkoNS7.js";
|
|
10
10
|
import { c as requirePolicy } from "./load-BaEamml-.js";
|
|
11
11
|
import { s as quoteSqlLiteral, t as SQL_IDENT } from "./sql-0WjxIp9g.js";
|
|
@@ -16,10 +16,10 @@ import { i as fileDrift } from "./output-files-CM0BnH05.js";
|
|
|
16
16
|
import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-Cemqurt8.js";
|
|
17
17
|
import { n as pgConnector } from "./pg-Ddxsd5ZB.js";
|
|
18
18
|
import { A as quoteQualified, O as quoteIdent, a as customRolesOn, t as CUSTOM_ROLES } from "./shared-sW3VYchq.js";
|
|
19
|
-
import { n as tableNameOf, r as tableNames } from "./tables-
|
|
20
|
-
import { d as andConditions, l as collectGrants, o as assignableRoles, p as contextRefs, t as ownershipRules, u as roleNames } from "./ownership-
|
|
19
|
+
import { n as tableNameOf, r as tableNames } from "./tables-XrvffTMj.js";
|
|
20
|
+
import { d as andConditions, l as collectGrants, o as assignableRoles, p as contextRefs, t as ownershipRules, u as roleNames } from "./ownership-CeNOtQMV.js";
|
|
21
21
|
import { t as membershipSourcesOf } from "./sources-qoIJQrJv.js";
|
|
22
|
-
import { m as tableFor, t as canFixture } from "./verify-
|
|
22
|
+
import { m as tableFor, t as canFixture } from "./verify-C0jGJrmb.js";
|
|
23
23
|
import { resolve } from "node:path";
|
|
24
24
|
//#region src/cli/powersync/claims.ts
|
|
25
25
|
/** The `/docs` section that explains why a claim stream needs a reconnect. */
|
package/dist/prisma/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Er as Condition, qt as Instant, xr as Subject } from "../policy-types-BI9C5Sp5.js";
|
|
2
|
-
import { f as WhereResult } from "../permdock-
|
|
2
|
+
import { f as WhereResult } from "../permdock-CsrvbzHk.js";
|
|
3
3
|
import { r as RelationsMapping } from "../graph-sql-BwFC4Qjs.js";
|
|
4
4
|
import { n as RowCheck, t as WithSubjectOptions } from "../subject-settings-vNW8qmUH.js";
|
|
5
5
|
//#region src/prisma/model-fields.d.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { N as PolicyVocabulary, Yn as Decision, vr as Membership } 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 { r as DescribeOptions, t as DecisionDescription } from "./describe-DibQM6g-.js";
|
|
6
|
-
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, l as GateView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, y as ProtectedAction } from "./store-
|
|
6
|
+
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, l as GateView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, y as ProtectedAction } from "./store-CRQ5VrWR.js";
|
|
7
7
|
import { r as RefreshTrigger } from "./refresh-on-L9UOwATg.js";
|
|
8
|
-
import { r as ProtectedProps } from "./types-
|
|
8
|
+
import { r as ProtectedProps } from "./types-MixnvXQ5.js";
|
|
9
9
|
import { ReactNode } from "react";
|
|
10
10
|
//#region src/react/hooks.d.ts
|
|
11
11
|
declare function usePermDock<V extends PolicyVocabulary = PolicyVocabulary>(): ClientPermDock<V>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PermDockProviderProps } from "./types-
|
|
1
|
+
import { n as PermDockProviderProps } from "./types-MixnvXQ5.js";
|
|
2
2
|
import { ReactElement } from "react";
|
|
3
3
|
//#region src/react/provider.d.ts
|
|
4
4
|
declare function PermDockProvider(props: PermDockProviderProps): ReactElement;
|
|
@@ -7,7 +7,7 @@ import { o as formatCatalogJson } from "./catalog-doc-nrgfbh8I.js";
|
|
|
7
7
|
import { t as catalogPath } from "./catalog-path-CnI0XTFK.js";
|
|
8
8
|
import { n as parseSupabaseManifest } from "./manifest-BdzBobNK.js";
|
|
9
9
|
import { t as parseCatalog } from "./parse-CXTT7hBq.js";
|
|
10
|
-
import { a as nonEmptyOr } from "./output-
|
|
10
|
+
import { a as nonEmptyOr } from "./output-KT0a3B3H.js";
|
|
11
11
|
import { t as POLICY_NOT_PUBLISHED } from "./problem-types-DSsRfONQ.js";
|
|
12
12
|
import { n as httpRequest, t as authFailure } from "./http-DhMWeB_h.js";
|
|
13
13
|
import { l as cloudUrl, n as cliRuntime, o as readAuth } from "./auth-j3Eu-j4h.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { n as runCloudPull } from "./pull-B4EhSqOG.js";
|
|
@@ -6,7 +6,7 @@ import { s as cliVersion } from "./version-DMQ0dnN5.js";
|
|
|
6
6
|
import { i as loadConfiguredPolicy } from "./load-BaEamml-.js";
|
|
7
7
|
import { n as parseSupabaseManifest } from "./manifest-BdzBobNK.js";
|
|
8
8
|
import { t as parseCatalog } from "./parse-CXTT7hBq.js";
|
|
9
|
-
import { r as pushedPolicy } from "./pushed-policy-
|
|
9
|
+
import { r as pushedPolicy } from "./pushed-policy-Dszouliu.js";
|
|
10
10
|
import { n as runCatalog } from "./catalog-s0waIrfY.js";
|
|
11
11
|
import { n as httpRequest, t as authFailure } from "./http-DhMWeB_h.js";
|
|
12
12
|
import { a as pushAuth, l as cloudUrl, n as cliRuntime, u as firstNonEmpty } from "./auth-j3Eu-j4h.js";
|
|
@@ -3,7 +3,7 @@ import { n as freezeDeep } from "./freeze-jjan0lCv.js";
|
|
|
3
3
|
import { n as PermDockValidationError } from "./validation-error-CYg2kJEw.js";
|
|
4
4
|
import { n as RFC3339_PATTERN } from "./time-nR1JesoH.js";
|
|
5
5
|
import { i as wireValidity } from "./validity-Buc7w8E9.js";
|
|
6
|
-
import { n as snapshotScopes } from "./instance-snapshot-
|
|
6
|
+
import { n as snapshotScopes } from "./instance-snapshot-Bi4-dJk0.js";
|
|
7
7
|
import { n as copyJson, r as forbiddenKeyPath, t as checkSchema } from "./json-schema-BPGa-RjQ.js";
|
|
8
8
|
//#region src/catalog/pushed-policy.ts
|
|
9
9
|
const strings = {
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as requiredPlans } from "../errors-OTE9u4Wk.js";
|
|
2
2
|
import { i as describe } from "../describe-DibQM6g-.js";
|
|
3
|
-
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-
|
|
3
|
+
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, 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";
|
|
4
4
|
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";
|
|
5
|
-
import { n as PermDockProviderProps, r as ProtectedProps, t as PermDockDefaults } from "../types-
|
|
5
|
+
import { n as PermDockProviderProps, r as ProtectedProps, t as PermDockDefaults } from "../types-MixnvXQ5.js";
|
|
6
6
|
import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
|
|
7
|
-
import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, p as useRefreshOn, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-
|
|
8
|
-
import { t as PermDockProvider } from "../provider-
|
|
7
|
+
import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, p as useRefreshOn, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-CuG0xz4P.js";
|
|
8
|
+
import { t as PermDockProvider } from "../provider-ihxuJbMi.js";
|
|
9
9
|
export { type ActionResult, type ApprovalHandle, type ApprovalState, type AuthzChangeRefresh, type ClientPermDock, type ClientStatus, type EventSourceRefreshOptions, type FilterResult, type GateMode, type GateView, type PermDockDefaults, PermDockProvider, type PermDockProviderProps, type PermissionSet, type PermissionState, Protected, type ProtectedAction, type ProtectedActionHandle, type ProtectedActionView, type ProtectedProps, type RefreshTrigger, type RolesOptions, type SubjectView, type TenantView, approvalHeaders, authzChangeRefresh, broadcastChannelRefresh, describe, eventSourceRefresh, focusRefresh, requiredPlans, useApproval, useAssignablePermissions, useAssignableRoles, useDescribe, useFilter, useGate, useMemberships, usePermDock, usePermission, usePermissions, useProtectedAction, useRefreshOn, useRoles, useSubject, useTenant, visibilityRefresh };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PermDockProvider } from "../provider-
|
|
1
|
+
import { t as PermDockProvider } from "../provider-ihxuJbMi.js";
|
|
2
2
|
export { PermDockProvider };
|
|
@@ -3,13 +3,13 @@ import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
|
3
3
|
import { c as requiredPlans } from "../errors-OTE9u4Wk.js";
|
|
4
4
|
import { i as describe } from "../describe-DibQM6g-.js";
|
|
5
5
|
import { t as parseLocalSnapshotManifest } from "../parse-local-manifest-CE4tgFsj.js";
|
|
6
|
-
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, t as ClientStore, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-
|
|
6
|
+
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, f as ProtectedActionHandle, g as SubjectView, h as RolesOptions, i as ApprovalState, l as GateView, o as ClientStatus, p as ProtectedActionView, r as ApprovalHandle, s as FilterResult, t as ClientStore, u as PermissionSet, v as ActionResult, y as ProtectedAction } from "../store-CRQ5VrWR.js";
|
|
7
7
|
import { i as authzChangeRefresh, n as EventSourceRefreshOptions, o as eventSourceRefresh, r as RefreshTrigger, t as AuthzChangeRefresh } from "../refresh-on-L9UOwATg.js";
|
|
8
|
-
import { r as ProtectedProps, t as PermDockDefaults } from "../types-
|
|
8
|
+
import { r as ProtectedProps, t as PermDockDefaults } from "../types-MixnvXQ5.js";
|
|
9
9
|
import { t as approvalHeaders } from "../headers-B9jQxjtW.js";
|
|
10
|
-
import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-
|
|
10
|
+
import { a as useAssignableRoles, c as useGate, d as usePermission, f as usePermissions, g as useTenant, h as useSubject, i as useAssignablePermissions, l as useMemberships, m as useRoles, n as Protected, o as useDescribe, r as useApproval, s as useFilter, t as useProtectedAction, u as usePermDock } from "../protected-action-CuG0xz4P.js";
|
|
11
11
|
import { n as RealtimeRefreshClient, t as RealtimeRefreshChannel } from "../client-JK504UCq.js";
|
|
12
|
-
import { a as SubscribeOnline, i as SubscribeForeground, n as ReactNativePermDockProviderProps, r as SnapshotStorage, t as NativeRevalidate } from "../types-
|
|
12
|
+
import { a as SubscribeOnline, i as SubscribeForeground, n as ReactNativePermDockProviderProps, r as SnapshotStorage, t as NativeRevalidate } from "../types-DjGZAU64.js";
|
|
13
13
|
import { ReactElement } from "react";
|
|
14
14
|
//#region src/react-native/guards.d.ts
|
|
15
15
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as assertAppData } from "./app-data-UNNm07jV.js";
|
|
2
2
|
import { n as wrapPermDock } from "./wrap-C5PWzgkq.js";
|
|
3
|
-
import { t as buildInstance } from "./build-instance-
|
|
3
|
+
import { t as buildInstance } from "./build-instance-CkRKgjSj.js";
|
|
4
4
|
//#region src/core/request-context.ts
|
|
5
5
|
/**
|
|
6
6
|
* Errors an adapter raises around one instance (a `context` hook that threw, an
|
|
@@ -5,7 +5,7 @@ import { i as configError } from "./errors-BhRkoNS7.js";
|
|
|
5
5
|
import "./budget-BBCPDOGP.js";
|
|
6
6
|
import "./sources-C4vkzZJV.js";
|
|
7
7
|
import { A as quoteQualified, D as qualified, I as scopeTypeOf, O as quoteIdent } from "./shared-sW3VYchq.js";
|
|
8
|
-
import { F as globalRoleRows, Q as graphSqlName, Z as graphHelper, _ as PERMISSION_HELPERS, at as memberForHelper, c as holderSources, ct as memberIdsHelper, dt as permittedForHelper, ft as permittedIdsHelper, ht as scopeTable, lt as memberOfHelper, nt as inheritedRowsHelper, o as graphPlan, pt as restrictedHelper, r as tableNames, rt as isTeamScope, tt as hasPermittedUsers, v as checkName, x as permittedByPermissionHelper } from "./tables-
|
|
8
|
+
import { F as globalRoleRows, Q as graphSqlName, Z as graphHelper, _ as PERMISSION_HELPERS, at as memberForHelper, c as holderSources, ct as memberIdsHelper, dt as permittedForHelper, ft as permittedIdsHelper, ht as scopeTable, lt as memberOfHelper, nt as inheritedRowsHelper, o as graphPlan, pt as restrictedHelper, r as tableNames, rt as isTeamScope, tt as hasPermittedUsers, v as checkName, x as permittedByPermissionHelper } from "./tables-XrvffTMj.js";
|
|
9
9
|
import { t as FIELD_VIEWS } from "./fields-D_TfExiI.js";
|
|
10
10
|
//#region src/cli/rls/permission-holders.ts
|
|
11
11
|
/**
|
|
@@ -192,7 +192,7 @@ async function rlsInput(ctx, verb, shape, options) {
|
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
194
|
async function runRls(input) {
|
|
195
|
-
return (await import("./rls-
|
|
195
|
+
return (await import("./rls-CMFZWosz.js")).runRls(input);
|
|
196
196
|
}
|
|
197
197
|
const generate = defineLeaf({
|
|
198
198
|
flags: {
|
|
@@ -8,25 +8,25 @@ import { o as sqlFiles } from "./files-BSjrtIHw.js";
|
|
|
8
8
|
import { c as requirePolicy } from "./load-BaEamml-.js";
|
|
9
9
|
import { i as qualifySqlTable, r as escapeSqlIdent } from "./sql-0WjxIp9g.js";
|
|
10
10
|
import "./sources-C4vkzZJV.js";
|
|
11
|
-
import { t as policyFromCatalog } from "./policy-from-catalog-
|
|
11
|
+
import { t as policyFromCatalog } from "./policy-from-catalog-BtqfxytV.js";
|
|
12
12
|
import { t as beforeFirst } from "./text-BMFRfBqc.js";
|
|
13
13
|
import { i as INDEXES_MARKER, n as GRANTS_MARKER, o as SEEDS_MARKER, t as BACKFILL_MARKER } from "./markers-BeHZ4x9Q.js";
|
|
14
|
-
import { a as nonEmptyOr } from "./output-
|
|
14
|
+
import { a as nonEmptyOr } from "./output-KT0a3B3H.js";
|
|
15
15
|
import { i as requirePeer, n as packageManagerOf, t as addLine } from "./peer-BuK9F53f.js";
|
|
16
16
|
import { t as POLICY_NOT_PUBLISHED } from "./problem-types-DSsRfONQ.js";
|
|
17
|
-
import { t as fetchProjectPolicy } from "./pull-
|
|
17
|
+
import { t as fetchProjectPolicy } from "./pull-B4EhSqOG.js";
|
|
18
18
|
import { n as MIGRATION_DIRS } from "./constants-DcJABbLW.js";
|
|
19
19
|
import { a as isSeedsDirectory, c as parseSplit, d as seedsMigration, f as writeOutputFiles, l as partPath, n as dataMigrationFile, r as driftOf, u as pgDeltaPath } from "./output-files-CM0BnH05.js";
|
|
20
20
|
import { t as connectPgPool } from "./pg-Ddxsd5ZB.js";
|
|
21
|
-
import { b as rbacScaffold, d as resolveSchemas, f as schemasRefusal, o as supabaseHookSql, p as declarativeSql, s as approvalsSql, t as grantsLabel, u as isSupabaseSchemas, y as parseRbacAuthorize } from "./supabase-hook-
|
|
21
|
+
import { b as rbacScaffold, d as resolveSchemas, f as schemasRefusal, o as supabaseHookSql, p as declarativeSql, s as approvalsSql, t as grantsLabel, u as isSupabaseSchemas, y as parseRbacAuthorize } from "./supabase-hook-BUcu3vPM.js";
|
|
22
22
|
import { A as quoteQualified, D as qualified$1, I as scopeTypeOf, O as quoteIdent$1, _ as subjectClaimJsonSql, c as SESSION_LIVE_HELPER, g as sessionLiveHelperSql, j as quoteTable, k as quoteLiteral, r as HELPERS, t as CUSTOM_ROLES, y as subjectIdSql } from "./shared-sW3VYchq.js";
|
|
23
|
-
import { C as accessSql, G as byKey, T as seedSql, Z as graphHelper, ct as memberIdsHelper, ft as permittedIdsHelper, ht as scopeTable, mt as scopeSources, r as tableNames, s as graphSql, w as helpersSql, x as permittedByPermissionHelper, y as permissionHelpersSql } from "./tables-
|
|
24
|
-
import { c as breakGlassKey, i as assignmentSql, l as collectGrants, n as ownershipSql, s as breakGlassHolder } from "./ownership-
|
|
23
|
+
import { C as accessSql, G as byKey, T as seedSql, Z as graphHelper, ct as memberIdsHelper, ft as permittedIdsHelper, ht as scopeTable, mt as scopeSources, r as tableNames, s as graphSql, w as helpersSql, x as permittedByPermissionHelper, y as permissionHelpersSql } from "./tables-XrvffTMj.js";
|
|
24
|
+
import { c as breakGlassKey, i as assignmentSql, l as collectGrants, n as ownershipSql, s as breakGlassHolder } from "./ownership-CeNOtQMV.js";
|
|
25
25
|
import { a as splitUndiffed } from "./deciding-columns-NB4wcyBf.js";
|
|
26
26
|
import { a as fieldViewsSql, c as ACTOR_MAY_WRITE, f as readOnlyActorKinds, i as fieldViews, l as actorMayWriteSql, n as columnGrantSql, o as rowBranches, p as readOnlyActorPolicies, r as columnRevokeSql, u as assemblePolicies } from "./fields-D_TfExiI.js";
|
|
27
|
-
import { n as permissionHoldersSql } from "./resolve-names-
|
|
28
|
-
import { _ as indexTargets, a as verifyResult, b as readTableIndexFacts, c as callsHelper, g as INDEX_COLUMNS_SQL, h as COLUMNS_SQL, i as verifyIgnores, l as helperCallKeys, m as tableFor, n as runRlsVerify, o as HELPER_TABLES, p as compileGrants, r as rlsFinding, v as indexesSql, y as pruneIndexTargets } from "./verify-
|
|
29
|
-
import { a as buildContext, c as levelKeys, d as rebuildPlan, i as splitsPart, l as rowHelpersSql, n as generateOptions, o as CANDIDATES, r as isRefusal, s as inheritTargets, t as supautilsRejections, u as DROPPED_LIST } from "./supautils-
|
|
27
|
+
import { n as permissionHoldersSql } from "./resolve-names-BIHnWL_L.js";
|
|
28
|
+
import { _ as indexTargets, a as verifyResult, b as readTableIndexFacts, c as callsHelper, g as INDEX_COLUMNS_SQL, h as COLUMNS_SQL, i as verifyIgnores, l as helperCallKeys, m as tableFor, n as runRlsVerify, o as HELPER_TABLES, p as compileGrants, r as rlsFinding, v as indexesSql, y as pruneIndexTargets } from "./verify-C0jGJrmb.js";
|
|
29
|
+
import { a as buildContext, c as levelKeys, d as rebuildPlan, i as splitsPart, l as rowHelpersSql, n as generateOptions, o as CANDIDATES, r as isRefusal, s as inheritTargets, t as supautilsRejections, u as DROPPED_LIST } from "./supautils-a_253u1X.js";
|
|
30
30
|
import { readFileSync } from "node:fs";
|
|
31
31
|
import { basename, delimiter, join } from "node:path";
|
|
32
32
|
import { spawn } from "node:child_process";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as compact } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { s as requestFromContext } from "./http-DKLXrFGk.js";
|
|
3
3
|
import { n as tenantScope } from "./adapter-context-OHikyRqV.js";
|
|
4
|
-
import { t as adapterKernel } from "./bind-
|
|
4
|
+
import { t as adapterKernel } from "./bind-CJf7S-Jd.js";
|
|
5
5
|
import { r as guardIterable } from "./stream-DQ3rbO3J.js";
|
|
6
6
|
//#region src/server/rpc.ts
|
|
7
7
|
/** The tRPC and oRPC error code for a Problem Details status. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
2
|
-
import { o as ProtectOptions } from "./server-types-
|
|
2
|
+
import { o as ProtectOptions } from "./server-types-Bfl-IrzZ.js";
|
|
3
3
|
//#region src/server/stream.d.ts
|
|
4
4
|
type StreamProtectOptions = ProtectOptions & {
|
|
5
5
|
/**
|
|
@@ -5,9 +5,9 @@ import { a as resolveCwd, i as readConfig } from "./config-D2oXUwos.js";
|
|
|
5
5
|
import { t as beforeFirst } from "./text-BMFRfBqc.js";
|
|
6
6
|
import { a as GLOBAL_FLAGS, i as suggestion, n as parseFlags, r as parseLeaf } from "./args-iafbHiXn.js";
|
|
7
7
|
import { r as progressReporter, t as redact } from "./credentials-dkycUsY3.js";
|
|
8
|
-
import { a as resolve, i as leaves, n as ROOT, r as SECTIONS, t as DOCS_BASE } from "./manifest-
|
|
8
|
+
import { a as resolve, i as leaves, n as ROOT, r as SECTIONS, t as DOCS_BASE } from "./manifest-CCd-xrM3.js";
|
|
9
9
|
import { t as createStyle } from "./style-Ds11Hmk4.js";
|
|
10
|
-
import { i as githubAnnotations, n as envelope, o as sarifLog, t as dataOf } from "./output-
|
|
10
|
+
import { i as githubAnnotations, n as envelope, o as sarifLog, t as dataOf } from "./output-KT0a3B3H.js";
|
|
11
11
|
import { stripVTControlCharacters } from "node:util";
|
|
12
12
|
import { existsSync, statSync } from "node:fs";
|
|
13
13
|
import { createHash } from "node:crypto";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as run } from "./run-CMJX9x7b.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _t as TokenSigner, dr as AuthorizationDetail, gt as TokenFailureCause, hr as Delegation, lr as Actor, qt as Instant, sn as AuthEvent, vt as TokenVerifier, xr as Subject, yr as Principal } from "./policy-types-BI9C5Sp5.js";
|
|
2
|
-
import { _ as PrincipalSource } from "./permdock-
|
|
2
|
+
import { _ as PrincipalSource } from "./permdock-CsrvbzHk.js";
|
|
3
3
|
//#region src/server/run-ticket.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* What started the run: a saved automation, a background job, or a caller's own
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { i as principal } from "./refs-C8BKxc_e.js";
|
|
3
3
|
import { a as deny, n as role, r as allow } from "./role-builder-C5AgaC1x.js";
|
|
4
|
-
import { A as memoryCustomRoleSource, C as limits, S as memoryRelationSource, w as memoryLimitStore } from "./src-
|
|
4
|
+
import { A as memoryCustomRoleSource, C as limits, S as memoryRelationSource, w as memoryLimitStore } from "./src-Cop53_X1.js";
|
|
5
5
|
import { h as secondsAt } from "./time-nR1JesoH.js";
|
|
6
6
|
import { l as relation, n as anyone } from "./grantee-Dke-9rd1.js";
|
|
7
7
|
import { r as definePolicy } from "./policy-CaAME-Rh.js";
|
|
8
8
|
import { s as quoteSqlLiteral } from "./sql-0WjxIp9g.js";
|
|
9
|
-
import { a as saasPlans, i as saasPermissions, o as saasRoles } from "./permissions-
|
|
9
|
+
import { a as saasPlans, i as saasPermissions, o as saasRoles } from "./permissions-Dz79qsFw.js";
|
|
10
10
|
//#region src/testing/saas/policy.ts
|
|
11
11
|
function isSubject(user) {
|
|
12
12
|
return user !== null && "context" in user && "principal" in user;
|
|
@@ -16,7 +16,7 @@ const scan = defineLeaf({
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
async run(ctx, { flags }) {
|
|
19
|
-
const { runAdoptionScan } = await import("./adoption-scan-
|
|
19
|
+
const { runAdoptionScan } = await import("./adoption-scan-UkQisAqe.js");
|
|
20
20
|
return runAdoptionScan({
|
|
21
21
|
cwd: ctx.cwd,
|
|
22
22
|
srcPath: flags.src.length > 0 ? flags.src : ctx.config.collect?.srcPath ?? ["src"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isRecord } from "./compact-CAf557ZB.js";
|
|
2
2
|
import { l as packageRoot } from "./version-DMQ0dnN5.js";
|
|
3
3
|
import { t as DRAFT_PINS } from "./pins-nqarl3oE.js";
|
|
4
|
-
import { a as nonEmptyOr } from "./output-
|
|
4
|
+
import { a as nonEmptyOr } from "./output-KT0a3B3H.js";
|
|
5
5
|
import { t as require__2020 } from "./2020-CJbO8Bvz.js";
|
|
6
6
|
import { readFileSync } from "node:fs";
|
|
7
7
|
import { join } from "node:path";
|
package/dist/server/index.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import { n as PermDockValidationError, t as PROBLEM_BASE } from "../validation-e
|
|
|
2
2
|
import { i as PermDockRevokedError, n as PermDockApprovalRequiredError, r as PermDockDeniedError, t as ApprovalHint } from "../errors-OTE9u4Wk.js";
|
|
3
3
|
import { t as RequestContext } from "../request-context-C2_1lchh.js";
|
|
4
4
|
import { i as memoryRevocationFeed, n as RevocationFeed, t as RevocationEvent } from "../revocations-BaUXHM1N.js";
|
|
5
|
-
import { C as TenantScope, D as ConnectionOptions, E as ConnectionData, S as TenantOption, T as Connection, _ as WebBotAuthVerifier, a as OperationScopes, b as invalidSignatureResponse, c as ServerPermDock, d as DiscoverViaSignatureAgentOptions, f as InvalidSignatureError, g as WebBotAuthOptions, h as WebBotAuthKeys, i as OpenApiHooks, l as ServerPermDockOptions, m as WebBotAuthKeyLookup, n as DeniedResponseEvent, o as ProtectOptions, p as WebBotAuthJwk, r as Guard, s as ScopeGuard, t as DeniedResponse, u as SnapshotQuery, v as discoverViaSignatureAgent, w as tenantScope, x as webBotAuthVerifier, y as invalidSignatureProblem } from "../server-types-
|
|
6
|
-
import { i as evaluationsHandler } from "../evaluations-
|
|
7
|
-
import { C as subjectFromApiKey, E as createPermDock, S as parseFeedKey, T as problemFromError, _ as generateApiKey, a as SupportSessionContext, b as memoryCredentialStore, c as SupportSessionSubjectOptions, d as ApiKeyFailureCause, f as ApiKeyParts, g as apiKeyVerifier, h as StoredCredential, i as wwwAuthenticate, l as signSupportSession, m as MemoryCredentialStore, n as problemResponse, o as SupportSessionFailureCause, p as ApiKeySubjectOptions, r as validationProblem, s as SupportSessionSource, t as problemFromDecision, u as subjectFromSupportSession, v as generateFeedKey, w as ProblemFromErrorOptions, x as parseApiKey, y as hashApiKey } from "../index-
|
|
5
|
+
import { C as TenantScope, D as ConnectionOptions, E as ConnectionData, S as TenantOption, T as Connection, _ as WebBotAuthVerifier, a as OperationScopes, b as invalidSignatureResponse, c as ServerPermDock, d as DiscoverViaSignatureAgentOptions, f as InvalidSignatureError, g as WebBotAuthOptions, h as WebBotAuthKeys, i as OpenApiHooks, l as ServerPermDockOptions, m as WebBotAuthKeyLookup, n as DeniedResponseEvent, o as ProtectOptions, p as WebBotAuthJwk, r as Guard, s as ScopeGuard, t as DeniedResponse, u as SnapshotQuery, v as discoverViaSignatureAgent, w as tenantScope, x as webBotAuthVerifier, y as invalidSignatureProblem } from "../server-types-Bfl-IrzZ.js";
|
|
6
|
+
import { i as evaluationsHandler } from "../evaluations-OCm_Z-8V.js";
|
|
7
|
+
import { C as subjectFromApiKey, E as createPermDock, S as parseFeedKey, T as problemFromError, _ as generateApiKey, a as SupportSessionContext, b as memoryCredentialStore, c as SupportSessionSubjectOptions, d as ApiKeyFailureCause, f as ApiKeyParts, g as apiKeyVerifier, h as StoredCredential, i as wwwAuthenticate, l as signSupportSession, m as MemoryCredentialStore, n as problemResponse, o as SupportSessionFailureCause, p as ApiKeySubjectOptions, r as validationProblem, s as SupportSessionSource, t as problemFromDecision, u as subjectFromSupportSession, v as generateFeedKey, w as ProblemFromErrorOptions, x as parseApiKey, y as hashApiKey } from "../index-DuOF7OqS.js";
|
|
8
8
|
import { l as ReplayStore } from "../types-DBVSljAx.js";
|
|
9
9
|
import { a as WebhookInput, c as WebhookMessage, d as WebhookSigningKey, f as WebhookVerifier, h as webhookVerifier, i as WebhookHeaders, l as WebhookSigner, m as webhookSigner, n as WebhookAlgorithm, o as WebhookJwk, p as WebhookVerifierOptions, r as WebhookFailureCause, s as WebhookJwks, t as VerifiedWebhookMessage, u as WebhookSignerOptions } from "../standard-webhooks-CFZIYtBF.js";
|
|
10
10
|
import { t as memoryReplayStore } from "../replay-DYXI4gRN.js";
|
|
11
11
|
import { a as snapshotHeaders, i as cacheLifeFor, n as SnapshotHeaders, o as snapshotKey, r as SnapshotHeadersOptions, s as snapshotTag, t as CacheLifeForOptions } from "../snapshot-cache-MPinwwgZ.js";
|
|
12
|
-
import { _ as subjectFromRunTicket, a as RunContext, c as RunResource, d as RunTicketFailureCause, f as RunTicketInput, g as signRunTicket, h as parseRunTicket, i as RunBinding, l as RunTicket, m as RunTicketSubjectOptions, n as RunActClaim, o as RunKind, p as RunTicketOptions, r as RunAutomation, s as RunPrincipal, t as RUN_TICKET_CLAIMS, u as RunTicketAutomations } from "../run-ticket-
|
|
12
|
+
import { _ as subjectFromRunTicket, a as RunContext, c as RunResource, d as RunTicketFailureCause, f as RunTicketInput, g as signRunTicket, h as parseRunTicket, i as RunBinding, l as RunTicket, m as RunTicketSubjectOptions, n as RunActClaim, o as RunKind, p as RunTicketOptions, r as RunAutomation, s as RunPrincipal, t as RUN_TICKET_CLAIMS, u as RunTicketAutomations } from "../run-ticket-BXYqQ9dy.js";
|
|
13
13
|
export { type ApiKeyFailureCause, type ApiKeyParts, type ApiKeySubjectOptions, type ApprovalHint, type CacheLifeForOptions, type Connection, type ConnectionData, type ConnectionOptions, type DeniedResponse, type DeniedResponseEvent, type DiscoverViaSignatureAgentOptions, type Guard, InvalidSignatureError, type MemoryCredentialStore, type OpenApiHooks, type OperationScopes, PROBLEM_BASE, PermDockApprovalRequiredError, PermDockDeniedError, PermDockRevokedError, PermDockValidationError, type ProblemFromErrorOptions, type ProtectOptions, RUN_TICKET_CLAIMS, type ReplayStore, type RequestContext, type RevocationEvent, type RevocationFeed, type RunActClaim, type RunAutomation, type RunBinding, type RunContext, type RunKind, type RunPrincipal, type RunResource, type RunTicket, type RunTicketAutomations, type RunTicketFailureCause, type RunTicketInput, type RunTicketOptions, type RunTicketSubjectOptions, type ScopeGuard, type ServerPermDock, type ServerPermDockOptions, type SnapshotHeaders, type SnapshotHeadersOptions, type SnapshotQuery, type StoredCredential, type SupportSessionContext, type SupportSessionFailureCause, type SupportSessionSource, type SupportSessionSubjectOptions, type TenantOption, type TenantScope, type VerifiedWebhookMessage, type WebBotAuthJwk, type WebBotAuthKeyLookup, type WebBotAuthKeys, type WebBotAuthOptions, type WebBotAuthVerifier, type WebhookAlgorithm, type WebhookFailureCause, type WebhookHeaders, type WebhookInput, type WebhookJwk, type WebhookJwks, type WebhookMessage, type WebhookSigner, type WebhookSignerOptions, type WebhookSigningKey, type WebhookVerifier, type WebhookVerifierOptions, apiKeyVerifier, cacheLifeFor, createPermDock, discoverViaSignatureAgent, evaluationsHandler, generateApiKey, generateFeedKey, hashApiKey, invalidSignatureProblem, invalidSignatureResponse, memoryCredentialStore, memoryReplayStore, memoryRevocationFeed, parseApiKey, parseFeedKey, parseRunTicket, problemFromDecision, problemFromError, problemResponse, signRunTicket, signSupportSession, snapshotHeaders, snapshotKey, snapshotTag, subjectFromApiKey, subjectFromRunTicket, subjectFromSupportSession, tenantScope, validationProblem, webBotAuthVerifier, webhookSigner, webhookVerifier, wwwAuthenticate };
|
package/dist/server/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { t as memoryReplayStore } from "../replay-BU09ad4L.js";
|
|
|
6
6
|
import { i as snapshotTag, n as snapshotHeaders, r as snapshotKey, t as cacheLifeFor } from "../snapshot-cache-B66h7FBK.js";
|
|
7
7
|
import { d as invalidSignatureProblem, f as invalidSignatureResponse, l as InvalidSignatureError, o as evaluationsHandler, p as webBotAuthVerifier, u as discoverViaSignatureAgent } from "../evaluations-CNMVJVD6.js";
|
|
8
8
|
import { n as tenantScope } from "../adapter-context-OHikyRqV.js";
|
|
9
|
-
import { t as createPermDock } from "../create-
|
|
9
|
+
import { t as createPermDock } from "../create-BRiRVNUO.js";
|
|
10
10
|
import { a as generateFeedKey, c as parseApiKey, i as generateApiKey, l as parseFeedKey, n as subjectFromSupportSession, o as hashApiKey, r as apiKeyVerifier, s as memoryCredentialStore, t as signSupportSession, u as subjectFromApiKey } from "../server-D0PW6ZCw.js";
|
|
11
11
|
import { i as subjectFromRunTicket, n as parseRunTicket, r as signRunTicket, t as RUN_TICKET_CLAIMS } from "../run-ticket-CjvXr6wj.js";
|
|
12
12
|
import { t as problemFromError } from "../map-error-EOhahOVA.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { N as PolicyVocabulary, Q as Intent, Yn as Decision, _r as JsonWebKeyLike, an as SnapshotTenants, en as Snapshot, lr as Actor, qt as Instant, xr as Subject } from "./policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "./permission-types-CAY-GU7e.js";
|
|
3
|
-
import { a as PermDock, u as SnapshotOptions } from "./permdock-
|
|
3
|
+
import { a as PermDock, u as SnapshotOptions } from "./permdock-CsrvbzHk.js";
|
|
4
4
|
import { m as ApprovalStore } from "./types-BzxA2OAD.js";
|
|
5
5
|
import { a as ProblemDetails, t as ApprovalHint } from "./errors-OTE9u4Wk.js";
|
|
6
|
-
import { t as InstanceOptions } from "./instance-options-
|
|
6
|
+
import { t as InstanceOptions } from "./instance-options-Cq66kEeR.js";
|
|
7
7
|
import { t as RequestContext } from "./request-context-C2_1lchh.js";
|
|
8
|
-
import { n as PermDockWrap } from "./wrap-
|
|
8
|
+
import { n as PermDockWrap } from "./wrap-EQ6Or2Hi.js";
|
|
9
9
|
import { n as RevocationFeed } from "./revocations-BaUXHM1N.js";
|
|
10
|
-
import { r as PdpFactory } from "./types-
|
|
11
|
-
import { i as evaluationsHandler } from "./evaluations-
|
|
10
|
+
import { r as PdpFactory } from "./types-zh4WGQcP.js";
|
|
11
|
+
import { i as evaluationsHandler } from "./evaluations-OCm_Z-8V.js";
|
|
12
12
|
//#region src/server/connection.d.ts
|
|
13
13
|
type ConnectionData<T> = T | (() => T | null | undefined | Promise<T | null | undefined>);
|
|
14
14
|
type ConnectionOptions<T = unknown> = {
|
|
@@ -283,6 +283,7 @@ type SnapshotQuery = {
|
|
|
283
283
|
readonly tenant?: string;
|
|
284
284
|
readonly include?: SnapshotOptions["include"];
|
|
285
285
|
readonly tenants?: SnapshotTenants;
|
|
286
|
+
readonly omitAssignable?: SnapshotOptions["omitAssignable"];
|
|
286
287
|
};
|
|
287
288
|
/**
|
|
288
289
|
* What `createPermDock` from `permdock/server` returns. Every member takes an
|
|
@@ -2,7 +2,7 @@ import { t as byCodePoint } from "./compare-DTfyUunF.js";
|
|
|
2
2
|
import { i as readJsonFile } from "./files-BSjrtIHw.js";
|
|
3
3
|
import { l as packageRoot } from "./version-DMQ0dnN5.js";
|
|
4
4
|
import { t as didYouMean } from "./args-iafbHiXn.js";
|
|
5
|
-
import { a as nonEmptyOr } from "./output-
|
|
5
|
+
import { a as nonEmptyOr } from "./output-KT0a3B3H.js";
|
|
6
6
|
import { cpSync, existsSync, lstatSync, mkdirSync, readFileSync, readdirSync, readlinkSync, realpathSync, writeFileSync } from "node:fs";
|
|
7
7
|
import { basename, dirname, join, relative, resolve } from "node:path";
|
|
8
8
|
import { pathToFileURL } from "node:url";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as defineLeaf } from "./command-L8EstFNm.js";
|
|
2
2
|
import { t as checkFlag } from "./flags-BlmpmXoY.js";
|
|
3
3
|
import { r as pick, t as CANCELLED } from "./prompt-BYc6drYW.js";
|
|
4
|
-
import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-
|
|
4
|
+
import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-DAjg-rgF.js";
|
|
5
5
|
//#region src/cli/commands/skills.ts
|
|
6
6
|
const forFlag = { for: {
|
|
7
7
|
type: "string",
|
package/dist/solid/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Jn as ApprovalRequiredDecision, N as PolicyVocabulary, Yn as Decision, en as Snapshot, tr as GrantedDecision, 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 { Accessor, Accessor as Accessor$1, JSX } from "solid-js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { D as Policy, N as PolicyVocabulary, en as Snapshot, yr as Principal } from "../policy-types-BI9C5Sp5.js";
|
|
2
2
|
import { u as Permission } from "../permission-types-CAY-GU7e.js";
|
|
3
3
|
import { a as OperationInput, t as Operation } from "../operations-Ci_rT6Uo.js";
|
|
4
|
-
import { a as PermDock } from "../permdock-
|
|
5
|
-
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-
|
|
6
|
-
import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-
|
|
4
|
+
import { a as PermDock } from "../permdock-CsrvbzHk.js";
|
|
5
|
+
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-Bfl-IrzZ.js";
|
|
6
|
+
import { a as ProtectTarget, n as FetchAdapterOptions, t as ContextReader } from "../fetch-adapter-BlL-ZhHq.js";
|
|
7
7
|
import { APIEvent, FetchEvent } from "@solidjs/start/server";
|
|
8
8
|
//#region src/solid-start/create.d.ts
|
|
9
9
|
/** The h3 event under every SolidStart request; `subject` and `scope` read it. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as InvalidSignatureError, p as webBotAuthVerifier, u as discoverViaSignatureAgent } from "../evaluations-CNMVJVD6.js";
|
|
2
|
-
import { i as decorate } from "../bind-
|
|
3
|
-
import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-
|
|
2
|
+
import { i as decorate } from "../bind-CJf7S-Jd.js";
|
|
3
|
+
import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-4EB3cLgB.js";
|
|
4
4
|
//#region src/solid-start/create.ts
|
|
5
5
|
/**
|
|
6
6
|
* `event.locals`. Its type, `App.RequestEventLocals`, is declared by
|
|
@@ -20,11 +20,11 @@ import { o as isPortableCondition } from "./hosted-C2Pmhy2x.js";
|
|
|
20
20
|
import { n as isOperationRisk } from "./operation-risks-BKOcTv8J.js";
|
|
21
21
|
import { n as isOperationEffect } from "./operations-Bm9HFecz.js";
|
|
22
22
|
import { C as tenantCustomRoles, S as roleAllowKeys, f as customRoleId, l as ceilingGrants, m as customRoleScope, p as customRoleOf, x as resolveCustomRole } from "./evaluate-Dcq_U2TV.js";
|
|
23
|
-
import { a as heldLevels, f as bindingOf, h as usesAssigns, m as roleMeta, n as snapshotScopes, o as collectSnapshotGrants, p as rankRoles, r as assignableCandidates, t as snapshotOf } from "./instance-snapshot-
|
|
23
|
+
import { a as heldLevels, f as bindingOf, h as usesAssigns, m as roleMeta, n as snapshotScopes, o as collectSnapshotGrants, p as rankRoles, r as assignableCandidates, t as snapshotOf } from "./instance-snapshot-Bi4-dJk0.js";
|
|
24
24
|
import { n as relationId } from "./relations-BxvRvDHK.js";
|
|
25
25
|
import { i as snapshotGrant, r as plainPermission, t as buildSnapshot } from "./snapshot-DHPih65J.js";
|
|
26
26
|
import { n as LOCAL_CUSTOM_ROLE } from "./parse-local-manifest-Ce2N-Opr.js";
|
|
27
|
-
import { c as APP, r as resolveSubject } from "./permdock-
|
|
27
|
+
import { c as APP, r as resolveSubject } from "./permdock-DbAq8_Fp.js";
|
|
28
28
|
import { i as memoryApprovalStore } from "./store-CSOsXd5s.js";
|
|
29
29
|
import { n as wrapPermDock } from "./wrap-C5PWzgkq.js";
|
|
30
30
|
//#region src/conditions/sql-function.ts
|
|
@@ -1785,6 +1785,7 @@ function snapshotFor(policy, user, options = {}) {
|
|
|
1785
1785
|
assignable,
|
|
1786
1786
|
include: options.include,
|
|
1787
1787
|
tenants: options.tenants,
|
|
1788
|
+
omitAssignable: options.omitAssignable,
|
|
1788
1789
|
now: options.now === void 0 ? void 0 : nowSeconds(options.now)
|
|
1789
1790
|
}));
|
|
1790
1791
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { N as PolicyVocabulary, Yn as Decision, en as Snapshot, hr as Delegation, lr as Actor, vt as TokenVerifier, 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 { a as ProblemDetails } from "./errors-OTE9u4Wk.js";
|
|
5
5
|
import { n as DescribeMessages, t as DecisionDescription } from "./describe-DibQM6g-.js";
|
|
6
6
|
import { r as RefreshTrigger } from "./refresh-on-L9UOwATg.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { N as PolicyVocabulary, Yn as Decision, vr as Membership } 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 { r as DescribeOptions, t as DecisionDescription } from "./describe-DibQM6g-.js";
|
|
6
|
-
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, g as SubjectView, h as RolesOptions, l as GateView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, y as ProtectedAction } from "./store-
|
|
7
|
-
import { n as ProtectedActionReadable, r as SveltePermDockOptions } from "./types-
|
|
6
|
+
import { _ as TenantView, a as ClientPermDock, c as GateMode, d as PermissionState, g as SubjectView, h as RolesOptions, l as GateView, r as ApprovalHandle, s as FilterResult, u as PermissionSet, y as ProtectedAction } from "./store-CRQ5VrWR.js";
|
|
7
|
+
import { n as ProtectedActionReadable, r as SveltePermDockOptions } from "./types-C3C9ien9.js";
|
|
8
8
|
import { Readable } from "svelte/store";
|
|
9
9
|
//#region src/svelte/stores.d.ts
|
|
10
10
|
declare function setPermDock(options: SveltePermDockOptions): ClientPermDock;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { D as Policy, N as PolicyVocabulary, 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 { a as PermDock } from "../permdock-
|
|
4
|
-
import { t as InstanceOptions } from "../instance-options-
|
|
3
|
+
import { a as PermDock } from "../permdock-CsrvbzHk.js";
|
|
4
|
+
import { t as InstanceOptions } from "../instance-options-Cq66kEeR.js";
|
|
5
5
|
import { t as RequestContext } from "../request-context-C2_1lchh.js";
|
|
6
|
-
import { i as OpenApiHooks } from "../server-types-
|
|
7
|
-
import { n as ServerAdapterServices } from "../bind-
|
|
6
|
+
import { i as OpenApiHooks } from "../server-types-Bfl-IrzZ.js";
|
|
7
|
+
import { n as ServerAdapterServices } from "../bind-XvnD_SUz.js";
|
|
8
8
|
import { FetchHandler, Middleware } from "@supabase/middleware";
|
|
9
9
|
//#region src/supabase/middleware.d.ts
|
|
10
10
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as compact } from "../compact-CAf557ZB.js";
|
|
2
|
-
import { l as withApp } from "../permdock-
|
|
2
|
+
import { l as withApp } from "../permdock-DbAq8_Fp.js";
|
|
3
3
|
import { t as composeWraps } from "../wrap-C5PWzgkq.js";
|
|
4
4
|
import { r as credentialSubject } from "../credential-B3Hj4puZ.js";
|
|
5
5
|
import { o as methodNotAllowed } from "../problem-BWP1l86g.js";
|
|
6
|
-
import { r as instanceOptions } from "../build-instance-
|
|
7
|
-
import { t as createPermDock$1 } from "../create-
|
|
8
|
-
import { n as attached } from "../bind-
|
|
6
|
+
import { r as instanceOptions } from "../build-instance-CkRKgjSj.js";
|
|
7
|
+
import { t as createPermDock$1 } from "../create-BRiRVNUO.js";
|
|
8
|
+
import { n as attached } from "../bind-CJf7S-Jd.js";
|
|
9
9
|
import { defineMiddleware } from "@supabase/middleware";
|
|
10
10
|
//#region src/supabase/middleware.ts
|
|
11
11
|
const SECRET_KEY_NAME = /^[A-Za-z0-9_-]+$/u;
|
|
@@ -47,7 +47,7 @@ const hookGenerate = defineLeaf({
|
|
|
47
47
|
const budget = given(flags.budget);
|
|
48
48
|
const schema = given(flags.schema);
|
|
49
49
|
const grantsOut = given(flags["grants-out"]);
|
|
50
|
-
const { runSupabase } = await import("./supabase-hook-
|
|
50
|
+
const { runSupabase } = await import("./supabase-hook-QWphWBnG.js");
|
|
51
51
|
return runSupabase({
|
|
52
52
|
cwd: ctx.cwd,
|
|
53
53
|
config: ctx.config,
|
|
@@ -76,7 +76,7 @@ const inspect = defineLeaf({
|
|
|
76
76
|
},
|
|
77
77
|
async run(ctx, { flags }) {
|
|
78
78
|
const out = flags.out === "" ? true : flags.out === "-" ? void 0 : flags.out;
|
|
79
|
-
const { runSupabase } = await import("./supabase-hook-
|
|
79
|
+
const { runSupabase } = await import("./supabase-hook-QWphWBnG.js");
|
|
80
80
|
return runSupabase({
|
|
81
81
|
cwd: ctx.cwd,
|
|
82
82
|
config: ctx.config,
|
|
@@ -20,12 +20,12 @@ import { n as MIGRATION_DIRS } from "./constants-DcJABbLW.js";
|
|
|
20
20
|
import { f as writeOutputFiles, l as partPath, r as driftOf, u as pgDeltaPath } from "./output-files-CM0BnH05.js";
|
|
21
21
|
import { n as pgConnector } from "./pg-Ddxsd5ZB.js";
|
|
22
22
|
import { A as quoteQualified, D as qualified, F as firstScopeType, I as scopeTypeOf, O as quoteIdent, R as tenantTypeOf, a as customRolesOn, j as quoteTable, k as quoteLiteral, l as USER_ID_HELPER, r as HELPERS, y as subjectIdSql } from "./shared-sW3VYchq.js";
|
|
23
|
-
import { E as TOKEN_SCOPE_ALLOWS, J as apiKeyFields, K as API_KEY_ALLOWS, R as globalRoleSource, _ as PERMISSION_HELPERS, at as memberForHelper, b as permissionKeysForHelper, bt as checkSuspension, ct as memberIdsHelper, dt as permittedForHelper, et as hasMemberFor, ft as permittedIdsHelper, g as OWNERSHIP, h as ASSIGNMENTS, lt as memberOfHelper, ot as memberForSources, rt as isTeamScope, st as memberForTable, tt as hasPermittedUsers, ut as memberRoleOf, v as checkName, vt as activeRowSql, x as permittedByPermissionHelper } from "./tables-
|
|
24
|
-
import { a as guardedTables, t as ownershipRules, u as roleNames } from "./ownership-
|
|
23
|
+
import { E as TOKEN_SCOPE_ALLOWS, J as apiKeyFields, K as API_KEY_ALLOWS, R as globalRoleSource, _ as PERMISSION_HELPERS, at as memberForHelper, b as permissionKeysForHelper, bt as checkSuspension, ct as memberIdsHelper, dt as permittedForHelper, et as hasMemberFor, ft as permittedIdsHelper, g as OWNERSHIP, h as ASSIGNMENTS, lt as memberOfHelper, ot as memberForSources, rt as isTeamScope, st as memberForTable, tt as hasPermittedUsers, ut as memberRoleOf, v as checkName, vt as activeRowSql, x as permittedByPermissionHelper } from "./tables-XrvffTMj.js";
|
|
24
|
+
import { a as guardedTables, t as ownershipRules, u as roleNames } from "./ownership-CeNOtQMV.js";
|
|
25
25
|
import { t as membershipSourcesOf } from "./sources-qoIJQrJv.js";
|
|
26
26
|
import { a as splitUndiffed, r as tableKey, t as decidingColumns } from "./deciding-columns-NB4wcyBf.js";
|
|
27
27
|
import { c as ACTOR_MAY_WRITE, f as readOnlyActorKinds } from "./fields-D_TfExiI.js";
|
|
28
|
-
import { r as permittedUsersHelper, t as resolveNames } from "./resolve-names-
|
|
28
|
+
import { r as permittedUsersHelper, t as resolveNames } from "./resolve-names-BIHnWL_L.js";
|
|
29
29
|
import { existsSync, readFileSync, readdirSync } from "node:fs";
|
|
30
30
|
import { dirname, join, posix, resolve } from "node:path";
|
|
31
31
|
//#region ../../node_modules/.pnpm/smol-toml@1.9.1/node_modules/smol-toml/dist/error.js
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { i as runSupabase } from "./supabase-hook-BUcu3vPM.js";
|