permdock 0.22.0 → 0.22.1

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.
Files changed (72) hide show
  1. package/dist/{adoption-scan-_bHLMnVQ.js → adoption-scan-DzX5Gqcg.js} +1 -1
  2. package/dist/{arazzo-BXD-VJU_.js → arazzo-BkjyGVF0.js} +1 -1
  3. package/dist/{arazzo-Ct0PGblq.js → arazzo-CTx11zFc.js} +1 -1
  4. package/dist/better-supabase/index.d.ts +1 -1
  5. package/dist/better-supabase/index.js +13 -7
  6. package/dist/{casbin-imBS3UIf.js → casbin-BFOuRptJ.js} +1 -1
  7. package/dist/{casbin-D5evU3lX.js → casbin-BpS9ABSO.js} +1 -1
  8. package/dist/cli/bin.js +1 -1
  9. package/dist/cli/index.d.ts +1 -1
  10. package/dist/cli/index.js +1 -1
  11. package/dist/{cloud-DWCeStPH.js → cloud-DXcQXWDi.js} +2 -2
  12. package/dist/{codemod-BaPmaCYQ.js → codemod-CxyKuniX.js} +1 -1
  13. package/dist/{codemod-B7QKJ_ak.js → codemod-DJ0WqXWk.js} +2 -2
  14. package/dist/{completion-DOUMyCwa.js → completion-BHVvAJ6Q.js} +1 -1
  15. package/dist/{config-DRp-E8Ly.js → config-2grt3oll.js} +1 -1
  16. package/dist/{config-report-Bh_nLdAE.js → config-report-Cg5Y5j0h.js} +1 -1
  17. package/dist/{doctor-BBMW5ZT_.js → doctor-DaRoSPT0.js} +9 -9
  18. package/dist/{doctor-DhqSiPkq.js → doctor-iIbdUK8F.js} +2 -2
  19. package/dist/{gen-WdycZ_-b.js → gen-Cw8goef4.js} +1 -1
  20. package/dist/{gen-DXXoFjyf.js → gen-DFpWGJWF.js} +1 -1
  21. package/dist/{import-BE5sDazm.js → import-DDegvwDI.js} +1 -1
  22. package/dist/{init-CqGHcvyR.js → init-D_T_zgFg.js} +1 -1
  23. package/dist/{init-B_S8Xdz1.js → init-Dz552ZPp.js} +3 -3
  24. package/dist/{login-CzwlsBEO.js → login-B2usNw0X.js} +1 -1
  25. package/dist/{login-DoLxv1s5.js → login-DIVe6QdP.js} +3 -3
  26. package/dist/{manifest-B5yF3CIq.d.ts → manifest-C6eFl3Vo.d.ts} +1 -0
  27. package/dist/{manifest-BAf7cgRx.js → manifest-CbHnl4I_.js} +32 -32
  28. package/dist/{manifest-BdzBobNK.js → manifest-D44OkoLk.js} +1 -1
  29. package/dist/{manifest-schema-CsFsYLF-.js → manifest-schema-DUheHWcp.js} +4 -0
  30. package/dist/next/plugin.d.ts +1 -1
  31. package/dist/{openapi-EmvKwuWj.js → openapi-5moP9sTG.js} +1 -1
  32. package/dist/{openapi-DroBcLJZ.js → openapi-DcvNnLFa.js} +2 -2
  33. package/dist/{output-CYgfpT6o.js → output-RIUEs3_S.js} +1 -1
  34. package/dist/{powersync-Dpa5AnnN.js → powersync-BUO5uQve.js} +1 -1
  35. package/dist/{powersync-BeI0VmEK.js → powersync-C5_aFFaU.js} +2 -2
  36. package/dist/powersync-DhspazC8.js +1 -0
  37. package/dist/{pull-3tkn25ll.js → pull-BkT7tTKb.js} +2 -2
  38. package/dist/pull-COPm1W-l.js +1 -0
  39. package/dist/{push-dMyKdlEm.js → push-CEPcWdTJ.js} +1 -1
  40. package/dist/{resolve-names-BnGJU88N.js → resolve-names-bzYlAXRt.js} +8 -3
  41. package/dist/{rls-qrehUPf_.js → rls-DTf8X__h.js} +6 -6
  42. package/dist/{rls-DIYSRnDZ.js → rls-v6V75yf_.js} +1 -1
  43. package/dist/{run-oNqBe0gc.js → run-CgSQS9RF.js} +2 -2
  44. package/dist/run-ItR_bQGz.js +1 -0
  45. package/dist/{scan-BYXqcgON.js → scan-BY3Pp1PS.js} +1 -1
  46. package/dist/{schema-Wf-SvlHG.js → schema-B_HsJKm2.js} +1 -1
  47. package/dist/{skills-B9U465B7.js → skills-Bj2wk38p.js} +1 -1
  48. package/dist/{skills-417bOj4o.js → skills-Clo4qYLn.js} +1 -1
  49. package/dist/{sources-BfTza0zT.d.ts → sources-CdYZBVcW.d.ts} +1 -1
  50. package/dist/supabase/index.d.ts +2 -2
  51. package/dist/supabase/index.js +1 -1
  52. package/dist/{supabase-D0J99yqL.js → supabase-CJv6K3iz.js} +2 -2
  53. package/dist/{supabase-hook-Bh5syR9N.js → supabase-hook-DLQMugW8.js} +1 -1
  54. package/dist/supabase-hook-vZADjjfN.js +1 -0
  55. package/dist/{supautils-ChXR-4Or.js → supautils-BHKsP7l-.js} +3 -3
  56. package/dist/testing/fixtures/index.d.ts +1 -1
  57. package/dist/testing/fixtures/index.js +1 -1
  58. package/dist/testing/index.d.ts +1 -1
  59. package/dist/testing/index.js +1 -1
  60. package/dist/{types-CS1DI_Ke.d.ts → types-cNZhj0UF.d.ts} +1 -1
  61. package/dist/unplugin/index.d.ts +1 -1
  62. package/dist/{usage-Bl-BkXEq.js → usage-BUUXeKwk.js} +1 -1
  63. package/dist/{usage-0wsl83uw.js → usage-DlOllyPi.js} +2 -2
  64. package/dist/usage-NmH5QXKC.js +1 -0
  65. package/dist/{verify-BSLotSa0.js → verify-CfmvQjVw.js} +1 -1
  66. package/package.json +1 -1
  67. package/schemas/supabase-manifest-v1.json +6 -0
  68. package/dist/powersync-BdoR7nwS.js +0 -1
  69. package/dist/pull-D90HqWNP.js +0 -1
  70. package/dist/run-elFdnSZx.js +0 -1
  71. package/dist/supabase-hook-CVAenq-w.js +0 -1
  72. package/dist/usage-CmyGbo4e.js +0 -1
@@ -2,7 +2,7 @@ import { rt as MemberEntry } from "../../policy-types-rNfz7t0M.js";
2
2
  import { r as SubjectRecord } from "../../subject-cache-d_Z4KAnm.js";
3
3
  import { i as SupabaseRpcClient } from "../../postgrest-Cn0Res25.js";
4
4
  import { a as CatalogDocument } from "../../types-DAyp592k.js";
5
- import { i as SupabaseManifest } from "../../manifest-B5yF3CIq.js";
5
+ import { i as SupabaseManifest } from "../../manifest-C6eFl3Vo.js";
6
6
  //#region src/testing/fixtures/postgrest.d.ts
7
7
  type PostgrestFixtureOptions = {
8
8
  /** The users `subject_for` knows, by id. An unknown user answers `null`. */
@@ -1,4 +1,4 @@
1
- import { n as parseSupabaseManifest } from "../../manifest-BdzBobNK.js";
1
+ import { n as parseSupabaseManifest } from "../../manifest-D44OkoLk.js";
2
2
  import { t as parseCatalog } from "../../parse-CORUNcCo.js";
3
3
  //#region src/testing/fixtures/better-supabase.catalog.json
4
4
  var better_supabase_catalog_default = {
@@ -12,7 +12,7 @@ import { c as AccessReviewStore } from "../types-BSNZMp5b.js";
12
12
  import { R as IdempotencyStore } from "../index-C_8uxAlv.js";
13
13
  import { n as RevocationFeed } from "../revocations-BaUXHM1N.js";
14
14
  import { s as SupportSessionSource } from "../index-BcS8c_2S.js";
15
- import { r as SupabaseHookManifest } from "../manifest-B5yF3CIq.js";
15
+ import { r as SupabaseHookManifest } from "../manifest-C6eFl3Vo.js";
16
16
  import { t as supabaseMembershipsBudget } from "../budget-CNLsV2SL.js";
17
17
  import { a as AutomationSource, t as Automation } from "../automation-B20_8UoT.js";
18
18
  import { c as DeliveryTransport, g as TransportMessages } from "../types-B9F0EZAF.js";
@@ -37,7 +37,7 @@ import { t as CONNECTOR_SCHEMA } from "../connector-schema-CYLQNMYq.js";
37
37
  import { l as sha256Hex, n as scimHandler, t as directoryMembershipSource } from "../scim-BG6uPUeW.js";
38
38
  import { c as quoteSqlTable, o as quoteSqlIdent } from "../sql-0WjxIp9g.js";
39
39
  import { i as cloudEndpoints, n as cloud, s as approverHeaders, t as bearerChallenge } from "../challenge-B__LcNve.js";
40
- import { t as supabaseManifestSchema } from "../manifest-schema-CsFsYLF-.js";
40
+ import { t as supabaseManifestSchema } from "../manifest-schema-DUheHWcp.js";
41
41
  import { t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-Bi5-il4C.js";
42
42
  import { i as policyMatrixLayout, n as testRlsParity, r as policyMatrix, t as testOrmParity } from "../core-CUjhfz0W.js";
43
43
  import { i as saasPermissions } from "../permissions-COpRGKt7.js";
@@ -1,4 +1,4 @@
1
- import { h as RoleThrough, m as RoleMap, s as SqlMembershipSource } from "./sources-BfTza0zT.js";
1
+ import { h as RoleThrough, m as RoleMap, s as SqlMembershipSource } from "./sources-CdYZBVcW.js";
2
2
  //#region src/cli/core/errors.d.ts
3
3
  /**
4
4
  * 0 success, 1 failure, 2 usage, 3 action required, 130 interrupted (SIGINT or
@@ -1,4 +1,4 @@
1
- import { s as PermDockPluginOptions } from "../types-CS1DI_Ke.js";
1
+ import { s as PermDockPluginOptions } from "../types-cNZhj0UF.js";
2
2
  import { createUnplugin } from "unplugin";
3
3
  //#region src/unplugin/index.d.ts
4
4
  type CreateUnplugin = typeof createUnplugin<PermDockPluginOptions | undefined>;
@@ -16,7 +16,7 @@ const usage = defineLeaf({
16
16
  }
17
17
  },
18
18
  async run(ctx, { flags }) {
19
- return (await import("./usage-CmyGbo4e.js")).runUsage({
19
+ return (await import("./usage-NmH5QXKC.js")).runUsage({
20
20
  cwd: ctx.cwd,
21
21
  config: ctx.config,
22
22
  ignore: flags.ignore,
@@ -7,8 +7,8 @@ import { n as jiti, r as parseSync, t as createVisitor } from "./optional-8TKc-0
7
7
  import { a as loadModule, n as asPolicy, s as pickNamed } from "./load-C4p4VgwR.js";
8
8
  import { r as runCollect } from "./collect-Cr71JA7z.js";
9
9
  import { t as beforeFirst } from "./text-BMFRfBqc.js";
10
- import { t as DOCS_BASE } from "./manifest-BAf7cgRx.js";
11
- import { r as findingOf } from "./output-CYgfpT6o.js";
10
+ import { t as DOCS_BASE } from "./manifest-CbHnl4I_.js";
11
+ import { r as findingOf } from "./output-RIUEs3_S.js";
12
12
  import { existsSync, readFileSync, realpathSync } from "node:fs";
13
13
  import { dirname, resolve } from "node:path";
14
14
  import { fileURLToPath, pathToFileURL } from "node:url";
@@ -0,0 +1 @@
1
+ export { t as runUsage } from "./usage-DlOllyPi.js";
@@ -22,7 +22,7 @@ import { i as qualifySqlTable, n as defaultSqlCommand, t as SQL_IDENT } from "./
22
22
  import { a as scopeMembershipTable, i as scopeColumn } from "./compile-Cvru58id.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-BAf7cgRx.js";
25
+ import { t as DOCS_BASE } from "./manifest-CbHnl4I_.js";
26
26
  import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-BVZc7OCF.js";
27
27
  import { n as pgConnector, t as connectPgPool } from "./pg-Ddxsd5ZB.js";
28
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-DfaIWvIJ.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "permdock",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "Typed permissions for TypeScript apps, APIs, databases, and AI agents, with the permdock CLI and test runners.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -377,6 +377,12 @@
377
377
  "type": "object",
378
378
  "additionalProperties": {
379
379
  "type": "object",
380
+ "properties": {
381
+ "idType": {
382
+ "description": "The id type the rls.rowHelpers pair rows and row take and return, with rows. Absent from a manifest written before 0.22.1, read as uuid.",
383
+ "type": "string"
384
+ }
385
+ },
380
386
  "additionalProperties": { "type": "string" }
381
387
  }
382
388
  }
@@ -1 +0,0 @@
1
- export { n as runPowerSync } from "./powersync-Dpa5AnnN.js";
@@ -1 +0,0 @@
1
- export { n as runCloudPull } from "./pull-3tkn25ll.js";
@@ -1 +0,0 @@
1
- export { t as run } from "./run-oNqBe0gc.js";
@@ -1 +0,0 @@
1
- export { i as runSupabase } from "./supabase-hook-Bh5syR9N.js";
@@ -1 +0,0 @@
1
- export { t as runUsage } from "./usage-0wsl83uw.js";