@sequenceholdings/orm 2.8.3 → 2.8.4

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 (52) hide show
  1. package/dist/authoring.cjs +31 -8
  2. package/dist/authoring.cjs.map +1 -1
  3. package/dist/authoring.d.cts +8 -2
  4. package/dist/authoring.d.ts +8 -2
  5. package/dist/authoring.js +31 -8
  6. package/dist/authoring.js.map +1 -1
  7. package/dist/canonical.cjs +1 -1
  8. package/dist/canonical.cjs.map +1 -1
  9. package/dist/canonical.d.cts +1 -1
  10. package/dist/canonical.d.ts +1 -1
  11. package/dist/canonical.js +1 -1
  12. package/dist/canonical.js.map +1 -1
  13. package/dist/cli.cjs +1 -1
  14. package/dist/cli.cjs.map +1 -1
  15. package/dist/cli.js +1 -1
  16. package/dist/cli.js.map +1 -1
  17. package/dist/compiler.cjs +1 -1
  18. package/dist/compiler.cjs.map +1 -1
  19. package/dist/compiler.d.cts +4 -4
  20. package/dist/compiler.d.ts +4 -4
  21. package/dist/compiler.js +1 -1
  22. package/dist/compiler.js.map +1 -1
  23. package/dist/index.cjs +31 -8
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +7 -9
  26. package/dist/index.d.ts +7 -9
  27. package/dist/index.js +31 -8
  28. package/dist/index.js.map +1 -1
  29. package/dist/ir.cjs +1 -1
  30. package/dist/ir.cjs.map +1 -1
  31. package/dist/ir.d.cts +2 -2
  32. package/dist/ir.d.ts +2 -2
  33. package/dist/ir.js +1 -1
  34. package/dist/ir.js.map +1 -1
  35. package/dist/{naming-CU9ThP_E.d.cts → naming-BMZKFO0W.d.cts} +1 -2
  36. package/dist/{naming-CPfx7EfF.d.ts → naming-DUk7AcXs.d.ts} +1 -2
  37. package/dist/predicate-v2.cjs +1 -1
  38. package/dist/predicate-v2.cjs.map +1 -1
  39. package/dist/predicate-v2.d.cts +3 -3
  40. package/dist/predicate-v2.d.ts +3 -3
  41. package/dist/predicate-v2.js +1 -1
  42. package/dist/predicate-v2.js.map +1 -1
  43. package/dist/sdl.cjs +1 -1
  44. package/dist/sdl.cjs.map +1 -1
  45. package/dist/sdl.d.cts +2 -2
  46. package/dist/sdl.d.ts +2 -2
  47. package/dist/sdl.js +1 -1
  48. package/dist/sdl.js.map +1 -1
  49. package/package.json +1 -1
  50. package/src/codegen-gql/apollo-hooks.cjs +1 -1
  51. package/src/codegen-gql/server-fns.cjs +1 -1
  52. package/templates/orm-namespace/graphql/example/queries.ts +1 -1
@@ -104,9 +104,9 @@ declare function parsePolicy(source: string): ParsedPolicy;
104
104
  * - a comparison must reference exactly ONE column side (column↔column and
105
105
  * claims↔literal comparisons have no PredIr shape in v2.0);
106
106
  * - `col = null` / `col != null` normalize to the isNull operator;
107
- * - verified-borrower claims (`claim('ext_subject')`, `claim('ext_email')`)
107
+ * - verified external-principal claims (`claim('ext_subject')`, `claim('ext_email')`)
108
108
  * are text: they compare to a text column with `=` only, never under
109
- * not(), so no negation, ordering or pattern can widen a borrower's rows;
109
+ * not(), so no negation, ordering or pattern can widen a principal's rows;
110
110
  * - variant `when` guards are claims-only: capability()/role() under
111
111
  * and/or/not. (claim() comparisons in `when` are not representable in the
112
112
  * v2.0 IR — a targeted error says so.)
@@ -123,7 +123,7 @@ interface PolicyColumnInfo {
123
123
  readonly columnName: string;
124
124
  /**
125
125
  * The column's IR type when the resolver knows it (TableMetaIr always does).
126
- * Required for a verified-borrower claim comparison: unknown is refused.
126
+ * Required for a verified external-principal claim comparison: unknown is refused.
127
127
  */
128
128
  readonly type?: unknown;
129
129
  }
@@ -104,9 +104,9 @@ declare function parsePolicy(source: string): ParsedPolicy;
104
104
  * - a comparison must reference exactly ONE column side (column↔column and
105
105
  * claims↔literal comparisons have no PredIr shape in v2.0);
106
106
  * - `col = null` / `col != null` normalize to the isNull operator;
107
- * - verified-borrower claims (`claim('ext_subject')`, `claim('ext_email')`)
107
+ * - verified external-principal claims (`claim('ext_subject')`, `claim('ext_email')`)
108
108
  * are text: they compare to a text column with `=` only, never under
109
- * not(), so no negation, ordering or pattern can widen a borrower's rows;
109
+ * not(), so no negation, ordering or pattern can widen a principal's rows;
110
110
  * - variant `when` guards are claims-only: capability()/role() under
111
111
  * and/or/not. (claim() comparisons in `when` are not representable in the
112
112
  * v2.0 IR — a targeted error says so.)
@@ -123,7 +123,7 @@ interface PolicyColumnInfo {
123
123
  readonly columnName: string;
124
124
  /**
125
125
  * The column's IR type when the resolver knows it (TableMetaIr always does).
126
- * Required for a verified-borrower claim comparison: unknown is refused.
126
+ * Required for a verified external-principal claim comparison: unknown is refused.
127
127
  */
128
128
  readonly type?: unknown;
129
129
  }
@@ -670,7 +670,7 @@ var canonicalTableSchema = z.object({
670
670
  table: identifier2,
671
671
  displayName: z.string().trim().min(1).max(120).optional(),
672
672
  description: z.string().max(2e3).optional(),
673
- /** Table-level rename hint (new in v2). */
673
+ /** Table-level rename hint. */
674
674
  renamedFrom: identifier2.optional(),
675
675
  /** Synced/reflected read-only tables (`source: schema.table`) — v1 semantics. */
676
676
  source: z.string().regex(QUALIFIED_TABLE_PATTERN).optional(),