@sequenceholdings/orm 2.6.0 → 2.6.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.
@@ -102,8 +102,8 @@ type CanonicalFetchShape = z.infer<typeof canonicalFetchShapeSchema>;
102
102
  declare const canonicalResolvedSourceSchema: z.ZodObject<{
103
103
  name: z.ZodString;
104
104
  kind: z.ZodEnum<{
105
- manual: "manual";
106
105
  prefetch: "prefetch";
106
+ manual: "manual";
107
107
  etl: "etl";
108
108
  }>;
109
109
  table: z.ZodString;
@@ -160,8 +160,8 @@ declare const canonicalResolvedSchema: z.ZodObject<{
160
160
  sources: z.ZodArray<z.ZodObject<{
161
161
  name: z.ZodString;
162
162
  kind: z.ZodEnum<{
163
- manual: "manual";
164
163
  prefetch: "prefetch";
164
+ manual: "manual";
165
165
  etl: "etl";
166
166
  }>;
167
167
  table: z.ZodString;
@@ -325,13 +325,13 @@ declare const canonicalColumnSchema: z.ZodObject<{
325
325
  bigint: "bigint";
326
326
  boolean: "boolean";
327
327
  date: "date";
328
- text: "text";
329
- timestamptz: "timestamptz";
330
- jsonb: "jsonb";
331
328
  uuid: "uuid";
329
+ text: "text";
332
330
  integer: "integer";
333
331
  numeric: "numeric";
334
332
  double: "double";
333
+ timestamptz: "timestamptz";
334
+ jsonb: "jsonb";
335
335
  }>, z.ZodObject<{
336
336
  enum: z.ZodString;
337
337
  }, z.core.$strip>]>;
@@ -353,10 +353,10 @@ declare const canonicalColumnSchema: z.ZodObject<{
353
353
  of: z.ZodString;
354
354
  part: z.ZodEnum<{
355
355
  at: "at";
356
- by: "by";
357
- rev: "rev";
358
356
  source: "source";
357
+ by: "by";
359
358
  conflicts: "conflicts";
359
+ rev: "rev";
360
360
  }>;
361
361
  }, z.core.$strict>>;
362
362
  }, z.core.$strip>;
@@ -460,21 +460,21 @@ declare const canonicalActionSchema: z.ZodObject<{
460
460
  bigint: "bigint";
461
461
  boolean: "boolean";
462
462
  date: "date";
463
- text: "text";
464
- timestamptz: "timestamptz";
465
- jsonb: "jsonb";
466
463
  uuid: "uuid";
464
+ text: "text";
467
465
  integer: "integer";
468
466
  numeric: "numeric";
469
467
  double: "double";
468
+ timestamptz: "timestamptz";
469
+ jsonb: "jsonb";
470
470
  }>;
471
471
  nullable: z.ZodDefault<z.ZodBoolean>;
472
472
  }, z.core.$strip>>>;
473
473
  executes: z.ZodString;
474
474
  returns: z.ZodDefault<z.ZodEnum<{
475
475
  rows: "rows";
476
- rowsAffected: "rowsAffected";
477
476
  scalar: "scalar";
477
+ rowsAffected: "rowsAffected";
478
478
  }>>;
479
479
  audit: z.ZodOptional<z.ZodObject<{
480
480
  action: z.ZodString;
@@ -540,13 +540,13 @@ declare const canonicalTableSchema: z.ZodObject<{
540
540
  bigint: "bigint";
541
541
  boolean: "boolean";
542
542
  date: "date";
543
- text: "text";
544
- timestamptz: "timestamptz";
545
- jsonb: "jsonb";
546
543
  uuid: "uuid";
544
+ text: "text";
547
545
  integer: "integer";
548
546
  numeric: "numeric";
549
547
  double: "double";
548
+ timestamptz: "timestamptz";
549
+ jsonb: "jsonb";
550
550
  }>, z.ZodObject<{
551
551
  enum: z.ZodString;
552
552
  }, z.core.$strip>]>;
@@ -568,10 +568,10 @@ declare const canonicalTableSchema: z.ZodObject<{
568
568
  of: z.ZodString;
569
569
  part: z.ZodEnum<{
570
570
  at: "at";
571
- by: "by";
572
- rev: "rev";
573
571
  source: "source";
572
+ by: "by";
574
573
  conflicts: "conflicts";
574
+ rev: "rev";
575
575
  }>;
576
576
  }, z.core.$strict>>;
577
577
  }, z.core.$strip>>>;
@@ -655,21 +655,21 @@ declare const canonicalTableSchema: z.ZodObject<{
655
655
  bigint: "bigint";
656
656
  boolean: "boolean";
657
657
  date: "date";
658
- text: "text";
659
- timestamptz: "timestamptz";
660
- jsonb: "jsonb";
661
658
  uuid: "uuid";
659
+ text: "text";
662
660
  integer: "integer";
663
661
  numeric: "numeric";
664
662
  double: "double";
663
+ timestamptz: "timestamptz";
664
+ jsonb: "jsonb";
665
665
  }>;
666
666
  nullable: z.ZodDefault<z.ZodBoolean>;
667
667
  }, z.core.$strip>>>;
668
668
  executes: z.ZodString;
669
669
  returns: z.ZodDefault<z.ZodEnum<{
670
670
  rows: "rows";
671
- rowsAffected: "rowsAffected";
672
671
  scalar: "scalar";
672
+ rowsAffected: "rowsAffected";
673
673
  }>>;
674
674
  audit: z.ZodOptional<z.ZodObject<{
675
675
  action: z.ZodString;
@@ -726,13 +726,13 @@ declare const canonicalViewSchema: z.ZodObject<{
726
726
  bigint: "bigint";
727
727
  boolean: "boolean";
728
728
  date: "date";
729
- text: "text";
730
- timestamptz: "timestamptz";
731
- jsonb: "jsonb";
732
729
  uuid: "uuid";
730
+ text: "text";
733
731
  integer: "integer";
734
732
  numeric: "numeric";
735
733
  double: "double";
734
+ timestamptz: "timestamptz";
735
+ jsonb: "jsonb";
736
736
  }>, z.ZodObject<{
737
737
  enum: z.ZodString;
738
738
  }, z.core.$strip>]>;
@@ -754,10 +754,10 @@ declare const canonicalViewSchema: z.ZodObject<{
754
754
  of: z.ZodString;
755
755
  part: z.ZodEnum<{
756
756
  at: "at";
757
- by: "by";
758
- rev: "rev";
759
757
  source: "source";
758
+ by: "by";
760
759
  conflicts: "conflicts";
760
+ rev: "rev";
761
761
  }>;
762
762
  }, z.core.$strict>>;
763
763
  }, z.core.$strip>>;
@@ -806,8 +806,8 @@ declare const canonicalViewSchema: z.ZodObject<{
806
806
  sources: z.ZodArray<z.ZodObject<{
807
807
  name: z.ZodString;
808
808
  kind: z.ZodEnum<{
809
- manual: "manual";
810
809
  prefetch: "prefetch";
810
+ manual: "manual";
811
811
  etl: "etl";
812
812
  }>;
813
813
  table: z.ZodString;
@@ -947,13 +947,13 @@ declare const localDefinitionSchema: z.ZodObject<{
947
947
  bigint: "bigint";
948
948
  boolean: "boolean";
949
949
  date: "date";
950
- text: "text";
951
- timestamptz: "timestamptz";
952
- jsonb: "jsonb";
953
950
  uuid: "uuid";
951
+ text: "text";
954
952
  integer: "integer";
955
953
  numeric: "numeric";
956
954
  double: "double";
955
+ timestamptz: "timestamptz";
956
+ jsonb: "jsonb";
957
957
  }>, z.ZodObject<{
958
958
  enum: z.ZodString;
959
959
  }, z.core.$strip>]>;
@@ -975,10 +975,10 @@ declare const localDefinitionSchema: z.ZodObject<{
975
975
  of: z.ZodString;
976
976
  part: z.ZodEnum<{
977
977
  at: "at";
978
- by: "by";
979
- rev: "rev";
980
978
  source: "source";
979
+ by: "by";
981
980
  conflicts: "conflicts";
981
+ rev: "rev";
982
982
  }>;
983
983
  }, z.core.$strict>>;
984
984
  }, z.core.$strip>>>;
@@ -1062,21 +1062,21 @@ declare const localDefinitionSchema: z.ZodObject<{
1062
1062
  bigint: "bigint";
1063
1063
  boolean: "boolean";
1064
1064
  date: "date";
1065
- text: "text";
1066
- timestamptz: "timestamptz";
1067
- jsonb: "jsonb";
1068
1065
  uuid: "uuid";
1066
+ text: "text";
1069
1067
  integer: "integer";
1070
1068
  numeric: "numeric";
1071
1069
  double: "double";
1070
+ timestamptz: "timestamptz";
1071
+ jsonb: "jsonb";
1072
1072
  }>;
1073
1073
  nullable: z.ZodDefault<z.ZodBoolean>;
1074
1074
  }, z.core.$strip>>>;
1075
1075
  executes: z.ZodString;
1076
1076
  returns: z.ZodDefault<z.ZodEnum<{
1077
1077
  rows: "rows";
1078
- rowsAffected: "rowsAffected";
1079
1078
  scalar: "scalar";
1079
+ rowsAffected: "rowsAffected";
1080
1080
  }>>;
1081
1081
  audit: z.ZodOptional<z.ZodObject<{
1082
1082
  action: z.ZodString;
@@ -1132,13 +1132,13 @@ declare const localDefinitionSchema: z.ZodObject<{
1132
1132
  bigint: "bigint";
1133
1133
  boolean: "boolean";
1134
1134
  date: "date";
1135
- text: "text";
1136
- timestamptz: "timestamptz";
1137
- jsonb: "jsonb";
1138
1135
  uuid: "uuid";
1136
+ text: "text";
1139
1137
  integer: "integer";
1140
1138
  numeric: "numeric";
1141
1139
  double: "double";
1140
+ timestamptz: "timestamptz";
1141
+ jsonb: "jsonb";
1142
1142
  }>, z.ZodObject<{
1143
1143
  enum: z.ZodString;
1144
1144
  }, z.core.$strip>]>;
@@ -1160,10 +1160,10 @@ declare const localDefinitionSchema: z.ZodObject<{
1160
1160
  of: z.ZodString;
1161
1161
  part: z.ZodEnum<{
1162
1162
  at: "at";
1163
- by: "by";
1164
- rev: "rev";
1165
1163
  source: "source";
1164
+ by: "by";
1166
1165
  conflicts: "conflicts";
1166
+ rev: "rev";
1167
1167
  }>;
1168
1168
  }, z.core.$strict>>;
1169
1169
  }, z.core.$strip>>;
@@ -1212,8 +1212,8 @@ declare const localDefinitionSchema: z.ZodObject<{
1212
1212
  sources: z.ZodArray<z.ZodObject<{
1213
1213
  name: z.ZodString;
1214
1214
  kind: z.ZodEnum<{
1215
- manual: "manual";
1216
1215
  prefetch: "prefetch";
1216
+ manual: "manual";
1217
1217
  etl: "etl";
1218
1218
  }>;
1219
1219
  table: z.ZodString;
@@ -1336,13 +1336,13 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1336
1336
  bigint: "bigint";
1337
1337
  boolean: "boolean";
1338
1338
  date: "date";
1339
- text: "text";
1340
- timestamptz: "timestamptz";
1341
- jsonb: "jsonb";
1342
1339
  uuid: "uuid";
1340
+ text: "text";
1343
1341
  integer: "integer";
1344
1342
  numeric: "numeric";
1345
1343
  double: "double";
1344
+ timestamptz: "timestamptz";
1345
+ jsonb: "jsonb";
1346
1346
  }>, z.ZodObject<{
1347
1347
  enum: z.ZodString;
1348
1348
  }, z.core.$strip>]>;
@@ -1364,10 +1364,10 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1364
1364
  of: z.ZodString;
1365
1365
  part: z.ZodEnum<{
1366
1366
  at: "at";
1367
- by: "by";
1368
- rev: "rev";
1369
1367
  source: "source";
1368
+ by: "by";
1370
1369
  conflicts: "conflicts";
1370
+ rev: "rev";
1371
1371
  }>;
1372
1372
  }, z.core.$strict>>;
1373
1373
  }, z.core.$strip>>>;
@@ -1451,21 +1451,21 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1451
1451
  bigint: "bigint";
1452
1452
  boolean: "boolean";
1453
1453
  date: "date";
1454
- text: "text";
1455
- timestamptz: "timestamptz";
1456
- jsonb: "jsonb";
1457
1454
  uuid: "uuid";
1455
+ text: "text";
1458
1456
  integer: "integer";
1459
1457
  numeric: "numeric";
1460
1458
  double: "double";
1459
+ timestamptz: "timestamptz";
1460
+ jsonb: "jsonb";
1461
1461
  }>;
1462
1462
  nullable: z.ZodDefault<z.ZodBoolean>;
1463
1463
  }, z.core.$strip>>>;
1464
1464
  executes: z.ZodString;
1465
1465
  returns: z.ZodDefault<z.ZodEnum<{
1466
1466
  rows: "rows";
1467
- rowsAffected: "rowsAffected";
1468
1467
  scalar: "scalar";
1468
+ rowsAffected: "rowsAffected";
1469
1469
  }>>;
1470
1470
  audit: z.ZodOptional<z.ZodObject<{
1471
1471
  action: z.ZodString;
@@ -1521,13 +1521,13 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1521
1521
  bigint: "bigint";
1522
1522
  boolean: "boolean";
1523
1523
  date: "date";
1524
- text: "text";
1525
- timestamptz: "timestamptz";
1526
- jsonb: "jsonb";
1527
1524
  uuid: "uuid";
1525
+ text: "text";
1528
1526
  integer: "integer";
1529
1527
  numeric: "numeric";
1530
1528
  double: "double";
1529
+ timestamptz: "timestamptz";
1530
+ jsonb: "jsonb";
1531
1531
  }>, z.ZodObject<{
1532
1532
  enum: z.ZodString;
1533
1533
  }, z.core.$strip>]>;
@@ -1549,10 +1549,10 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1549
1549
  of: z.ZodString;
1550
1550
  part: z.ZodEnum<{
1551
1551
  at: "at";
1552
- by: "by";
1553
- rev: "rev";
1554
1552
  source: "source";
1553
+ by: "by";
1555
1554
  conflicts: "conflicts";
1555
+ rev: "rev";
1556
1556
  }>;
1557
1557
  }, z.core.$strict>>;
1558
1558
  }, z.core.$strip>>;
@@ -1601,8 +1601,8 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1601
1601
  sources: z.ZodArray<z.ZodObject<{
1602
1602
  name: z.ZodString;
1603
1603
  kind: z.ZodEnum<{
1604
- manual: "manual";
1605
1604
  prefetch: "prefetch";
1605
+ manual: "manual";
1606
1606
  etl: "etl";
1607
1607
  }>;
1608
1608
  table: z.ZodString;
@@ -1724,13 +1724,13 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1724
1724
  bigint: "bigint";
1725
1725
  boolean: "boolean";
1726
1726
  date: "date";
1727
- text: "text";
1728
- timestamptz: "timestamptz";
1729
- jsonb: "jsonb";
1730
1727
  uuid: "uuid";
1728
+ text: "text";
1731
1729
  integer: "integer";
1732
1730
  numeric: "numeric";
1733
1731
  double: "double";
1732
+ timestamptz: "timestamptz";
1733
+ jsonb: "jsonb";
1734
1734
  }>, z.ZodObject<{
1735
1735
  enum: z.ZodString;
1736
1736
  }, z.core.$strip>]>;
@@ -1752,10 +1752,10 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1752
1752
  of: z.ZodString;
1753
1753
  part: z.ZodEnum<{
1754
1754
  at: "at";
1755
- by: "by";
1756
- rev: "rev";
1757
1755
  source: "source";
1756
+ by: "by";
1758
1757
  conflicts: "conflicts";
1758
+ rev: "rev";
1759
1759
  }>;
1760
1760
  }, z.core.$strict>>;
1761
1761
  }, z.core.$strip>>>;
@@ -1839,21 +1839,21 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1839
1839
  bigint: "bigint";
1840
1840
  boolean: "boolean";
1841
1841
  date: "date";
1842
- text: "text";
1843
- timestamptz: "timestamptz";
1844
- jsonb: "jsonb";
1845
1842
  uuid: "uuid";
1843
+ text: "text";
1846
1844
  integer: "integer";
1847
1845
  numeric: "numeric";
1848
1846
  double: "double";
1847
+ timestamptz: "timestamptz";
1848
+ jsonb: "jsonb";
1849
1849
  }>;
1850
1850
  nullable: z.ZodDefault<z.ZodBoolean>;
1851
1851
  }, z.core.$strip>>>;
1852
1852
  executes: z.ZodString;
1853
1853
  returns: z.ZodDefault<z.ZodEnum<{
1854
1854
  rows: "rows";
1855
- rowsAffected: "rowsAffected";
1856
1855
  scalar: "scalar";
1856
+ rowsAffected: "rowsAffected";
1857
1857
  }>>;
1858
1858
  audit: z.ZodOptional<z.ZodObject<{
1859
1859
  action: z.ZodString;
@@ -1909,13 +1909,13 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1909
1909
  bigint: "bigint";
1910
1910
  boolean: "boolean";
1911
1911
  date: "date";
1912
- text: "text";
1913
- timestamptz: "timestamptz";
1914
- jsonb: "jsonb";
1915
1912
  uuid: "uuid";
1913
+ text: "text";
1916
1914
  integer: "integer";
1917
1915
  numeric: "numeric";
1918
1916
  double: "double";
1917
+ timestamptz: "timestamptz";
1918
+ jsonb: "jsonb";
1919
1919
  }>, z.ZodObject<{
1920
1920
  enum: z.ZodString;
1921
1921
  }, z.core.$strip>]>;
@@ -1937,10 +1937,10 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1937
1937
  of: z.ZodString;
1938
1938
  part: z.ZodEnum<{
1939
1939
  at: "at";
1940
- by: "by";
1941
- rev: "rev";
1942
1940
  source: "source";
1941
+ by: "by";
1943
1942
  conflicts: "conflicts";
1943
+ rev: "rev";
1944
1944
  }>;
1945
1945
  }, z.core.$strict>>;
1946
1946
  }, z.core.$strip>>;
@@ -1989,8 +1989,8 @@ declare const canonicalDefinitionSchema: z.ZodObject<{
1989
1989
  sources: z.ZodArray<z.ZodObject<{
1990
1990
  name: z.ZodString;
1991
1991
  kind: z.ZodEnum<{
1992
- manual: "manual";
1993
1992
  prefetch: "prefetch";
1993
+ manual: "manual";
1994
1994
  etl: "etl";
1995
1995
  }>;
1996
1996
  table: z.ZodString;
@@ -5,7 +5,7 @@ export { DynamicInputIssue, DynamicInputResult, NormalizedBoolExp, NormalizedOnC
5
5
  export { CompilePolicyInput, CompilePredicateInput, POLICY_COMPARE_OPS, POLICY_MAX_LINK_DEPTH, ParsedPolicy, PolicyAccess, PolicyColumnInfo, PolicyCompareOp, PolicyCompileError, PolicyCompileErrorCode, PolicyLinkInfo, PolicyNode, PolicyOperand, PolicyParseError, PolicyResolver, PolicyTableInfo, assertClaimsOnlyWhen, compilePolicy, compilePredicateV2, parsePolicy, walkPolicy } from './predicate-v2.cjs';
6
6
  import { z } from 'zod';
7
7
  export { P as PLATFORM_USER_TYPENAME, c as camelCase, g as enumTypeName, p as pascalCase } from './naming-CU9ThP_E.cjs';
8
- export { S as SqlOperationDefinition, d as defineOperation, s as sqlOperationDefinitionSchema } from './definition-DjfC7Lll.cjs';
8
+ export { S as SqlOperationDefinition, d as defineOperation, s as sqlOperationDefinitionSchema } from './definition-B99BsOAO.cjs';
9
9
  import './constants-Dou1RkTo.cjs';
10
10
  import './policy-1iZbGnZZ.cjs';
11
11
 
@@ -5,7 +5,7 @@ export { DynamicInputIssue, DynamicInputResult, NormalizedBoolExp, NormalizedOnC
5
5
  export { CompilePolicyInput, CompilePredicateInput, POLICY_COMPARE_OPS, POLICY_MAX_LINK_DEPTH, ParsedPolicy, PolicyAccess, PolicyColumnInfo, PolicyCompareOp, PolicyCompileError, PolicyCompileErrorCode, PolicyLinkInfo, PolicyNode, PolicyOperand, PolicyParseError, PolicyResolver, PolicyTableInfo, assertClaimsOnlyWhen, compilePolicy, compilePredicateV2, parsePolicy, walkPolicy } from './predicate-v2.js';
6
6
  import { z } from 'zod';
7
7
  export { P as PLATFORM_USER_TYPENAME, c as camelCase, g as enumTypeName, p as pascalCase } from './naming-CPfx7EfF.js';
8
- export { S as SqlOperationDefinition, d as defineOperation, s as sqlOperationDefinitionSchema } from './definition-DjfC7Lll.js';
8
+ export { S as SqlOperationDefinition, d as defineOperation, s as sqlOperationDefinitionSchema } from './definition-B99BsOAO.js';
9
9
  import './constants-Dou1RkTo.js';
10
10
  import './policy-1iZbGnZZ.js';
11
11