@prisma/orm-extension-supabase 8.0.0-rc.19 → 8.0.0-rc.19-dev.3

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.
@@ -26,7 +26,7 @@ import { SqlExecutionPlan, SqlQueryPlan } from "@prisma/orm-family-sql/relationa
26
26
  declare const supabaseRuntimeDescriptor: SqlRuntimeExtensionDescriptor<'postgres'>;
27
27
  //#endregion
28
28
  //#region src/contract/contract.d.ts
29
- type StorageHash = StorageHashBase<'292489649ae6d6928de98a32b544bd9caf6b7d49718c10fe2720b83545a4b5a2'>;
29
+ type StorageHash = StorageHashBase<'110ad99e1e466691bdb0a4349a17365561e76ad017f58beb272f4496b05b8e9e'>;
30
30
  type ProfileHash = ProfileHashBase<'3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2'>;
31
31
  type CodecTypes$1 = CodecTypes;
32
32
  type QueryOperationTypes$1 = QueryOperationTypes<CodecTypes$1>;
@@ -703,14 +703,12 @@ type ContractBase = Omit<Contract<{
703
703
  readonly dataType: 'pg/uuid';
704
704
  readonly codecId: 'pg/uuid@1';
705
705
  readonly nullable: false;
706
- readonly typeRef: 'Id';
707
706
  readonly many: false;
708
707
  };
709
708
  readonly instance_id: {
710
709
  readonly dataType: 'pg/uuid';
711
710
  readonly codecId: 'pg/uuid@1';
712
711
  readonly nullable: true;
713
- readonly typeRef: 'Id';
714
712
  readonly many: false;
715
713
  };
716
714
  readonly ip_address: {
@@ -721,14 +719,15 @@ type ContractBase = Omit<Contract<{
721
719
  readonly kind: 'literal';
722
720
  readonly value: DefaultLiteralValue<'sql/varchar@1', ''>;
723
721
  };
724
- readonly typeRef: 'IpAddress2';
722
+ readonly typeParams: {
723
+ readonly length: 64;
724
+ };
725
725
  readonly many: false;
726
726
  };
727
727
  readonly payload: {
728
728
  readonly dataType: 'pg/json';
729
729
  readonly codecId: 'pg/json@1';
730
730
  readonly nullable: true;
731
- readonly typeRef: 'Payload';
732
731
  readonly many: false;
733
732
  };
734
733
  };
@@ -852,7 +851,6 @@ type ContractBase = Omit<Contract<{
852
851
  readonly kind: 'function';
853
852
  readonly expression: 'gen_random_uuid()';
854
853
  };
855
- readonly typeRef: 'Id';
856
854
  readonly many: false;
857
855
  };
858
856
  readonly identifier: {
@@ -1022,7 +1020,6 @@ type ContractBase = Omit<Contract<{
1022
1020
  readonly dataType: 'pg/uuid';
1023
1021
  readonly codecId: 'pg/uuid@1';
1024
1022
  readonly nullable: false;
1025
- readonly typeRef: 'Id';
1026
1023
  readonly many: false;
1027
1024
  };
1028
1025
  readonly invite_token: {
@@ -1035,14 +1032,12 @@ type ContractBase = Omit<Contract<{
1035
1032
  readonly dataType: 'pg/uuid';
1036
1033
  readonly codecId: 'pg/uuid@1';
1037
1034
  readonly nullable: true;
1038
- readonly typeRef: 'Id';
1039
1035
  readonly many: false;
1040
1036
  };
1041
1037
  readonly oauth_client_state_id: {
1042
1038
  readonly dataType: 'pg/uuid';
1043
1039
  readonly codecId: 'pg/uuid@1';
1044
1040
  readonly nullable: true;
1045
- readonly typeRef: 'Id';
1046
1041
  readonly many: false;
1047
1042
  };
1048
1043
  readonly provider_access_token: {
@@ -1079,7 +1074,6 @@ type ContractBase = Omit<Contract<{
1079
1074
  readonly dataType: 'pg/uuid';
1080
1075
  readonly codecId: 'pg/uuid@1';
1081
1076
  readonly nullable: true;
1082
- readonly typeRef: 'Id';
1083
1077
  readonly many: false;
1084
1078
  };
1085
1079
  };
@@ -1125,7 +1119,6 @@ type ContractBase = Omit<Contract<{
1125
1119
  readonly kind: 'function';
1126
1120
  readonly expression: 'gen_random_uuid()';
1127
1121
  };
1128
- readonly typeRef: 'Id';
1129
1122
  readonly many: false;
1130
1123
  };
1131
1124
  readonly identity_data: {
@@ -1162,7 +1155,6 @@ type ContractBase = Omit<Contract<{
1162
1155
  readonly dataType: 'pg/uuid';
1163
1156
  readonly codecId: 'pg/uuid@1';
1164
1157
  readonly nullable: false;
1165
- readonly typeRef: 'Id';
1166
1158
  readonly many: false;
1167
1159
  };
1168
1160
  };
@@ -1209,7 +1201,6 @@ type ContractBase = Omit<Contract<{
1209
1201
  readonly dataType: 'pg/uuid';
1210
1202
  readonly codecId: 'pg/uuid@1';
1211
1203
  readonly nullable: false;
1212
- readonly typeRef: 'Id';
1213
1204
  readonly many: false;
1214
1205
  };
1215
1206
  readonly raw_base_config: {
@@ -1228,7 +1219,6 @@ type ContractBase = Omit<Contract<{
1228
1219
  readonly dataType: 'pg/uuid';
1229
1220
  readonly codecId: 'pg/uuid@1';
1230
1221
  readonly nullable: true;
1231
- readonly typeRef: 'Id';
1232
1222
  readonly many: false;
1233
1223
  };
1234
1224
  };
@@ -1258,14 +1248,12 @@ type ContractBase = Omit<Contract<{
1258
1248
  readonly dataType: 'pg/uuid';
1259
1249
  readonly codecId: 'pg/uuid@1';
1260
1250
  readonly nullable: false;
1261
- readonly typeRef: 'Id';
1262
1251
  readonly many: false;
1263
1252
  };
1264
1253
  readonly session_id: {
1265
1254
  readonly dataType: 'pg/uuid';
1266
1255
  readonly codecId: 'pg/uuid@1';
1267
1256
  readonly nullable: false;
1268
- readonly typeRef: 'Id';
1269
1257
  readonly many: false;
1270
1258
  };
1271
1259
  readonly updated_at: {
@@ -1310,21 +1298,18 @@ type ContractBase = Omit<Contract<{
1310
1298
  readonly dataType: 'pg/uuid';
1311
1299
  readonly codecId: 'pg/uuid@1';
1312
1300
  readonly nullable: false;
1313
- readonly typeRef: 'Id';
1314
1301
  readonly many: false;
1315
1302
  };
1316
1303
  readonly id: {
1317
1304
  readonly dataType: 'pg/uuid';
1318
1305
  readonly codecId: 'pg/uuid@1';
1319
1306
  readonly nullable: false;
1320
- readonly typeRef: 'Id';
1321
1307
  readonly many: false;
1322
1308
  };
1323
1309
  readonly ip_address: {
1324
1310
  readonly dataType: 'pg/inet';
1325
1311
  readonly codecId: 'pg/inet@1';
1326
1312
  readonly nullable: false;
1327
- readonly typeRef: 'IpAddress';
1328
1313
  readonly many: false;
1329
1314
  };
1330
1315
  readonly otp_code: {
@@ -1397,7 +1382,6 @@ type ContractBase = Omit<Contract<{
1397
1382
  readonly dataType: 'pg/uuid';
1398
1383
  readonly codecId: 'pg/uuid@1';
1399
1384
  readonly nullable: false;
1400
- readonly typeRef: 'Id';
1401
1385
  readonly many: false;
1402
1386
  };
1403
1387
  readonly last_challenged_at: {
@@ -1443,14 +1427,12 @@ type ContractBase = Omit<Contract<{
1443
1427
  readonly dataType: 'pg/uuid';
1444
1428
  readonly codecId: 'pg/uuid@1';
1445
1429
  readonly nullable: false;
1446
- readonly typeRef: 'Id';
1447
1430
  readonly many: false;
1448
1431
  };
1449
1432
  readonly web_authn_aaguid: {
1450
1433
  readonly dataType: 'pg/uuid';
1451
1434
  readonly codecId: 'pg/uuid@1';
1452
1435
  readonly nullable: true;
1453
- readonly typeRef: 'Id';
1454
1436
  readonly many: false;
1455
1437
  };
1456
1438
  readonly web_authn_credential: {
@@ -1524,7 +1506,6 @@ type ContractBase = Omit<Contract<{
1524
1506
  readonly dataType: 'pg/uuid';
1525
1507
  readonly codecId: 'pg/uuid@1';
1526
1508
  readonly nullable: false;
1527
- readonly typeRef: 'Id';
1528
1509
  readonly many: false;
1529
1510
  };
1530
1511
  readonly code_challenge: {
@@ -1566,7 +1547,6 @@ type ContractBase = Omit<Contract<{
1566
1547
  readonly dataType: 'pg/uuid';
1567
1548
  readonly codecId: 'pg/uuid@1';
1568
1549
  readonly nullable: false;
1569
- readonly typeRef: 'Id';
1570
1550
  readonly many: false;
1571
1551
  };
1572
1552
  readonly nonce: {
@@ -1629,7 +1609,6 @@ type ContractBase = Omit<Contract<{
1629
1609
  readonly dataType: 'pg/uuid';
1630
1610
  readonly codecId: 'pg/uuid@1';
1631
1611
  readonly nullable: true;
1632
- readonly typeRef: 'Id';
1633
1612
  readonly many: false;
1634
1613
  };
1635
1614
  };
@@ -1694,7 +1673,6 @@ type ContractBase = Omit<Contract<{
1694
1673
  readonly dataType: 'pg/uuid';
1695
1674
  readonly codecId: 'pg/uuid@1';
1696
1675
  readonly nullable: false;
1697
- readonly typeRef: 'Id';
1698
1676
  readonly many: false;
1699
1677
  };
1700
1678
  readonly provider_type: {
@@ -1775,7 +1753,6 @@ type ContractBase = Omit<Contract<{
1775
1753
  readonly dataType: 'pg/uuid';
1776
1754
  readonly codecId: 'pg/uuid@1';
1777
1755
  readonly nullable: false;
1778
- readonly typeRef: 'Id';
1779
1756
  readonly many: false;
1780
1757
  };
1781
1758
  readonly logo_uri: {
@@ -1834,7 +1811,6 @@ type ContractBase = Omit<Contract<{
1834
1811
  readonly dataType: 'pg/uuid';
1835
1812
  readonly codecId: 'pg/uuid@1';
1836
1813
  readonly nullable: false;
1837
- readonly typeRef: 'Id';
1838
1814
  readonly many: false;
1839
1815
  };
1840
1816
  readonly granted_at: {
@@ -1851,7 +1827,6 @@ type ContractBase = Omit<Contract<{
1851
1827
  readonly dataType: 'pg/uuid';
1852
1828
  readonly codecId: 'pg/uuid@1';
1853
1829
  readonly nullable: false;
1854
- readonly typeRef: 'Id';
1855
1830
  readonly many: false;
1856
1831
  };
1857
1832
  readonly revoked_at: {
@@ -1870,7 +1845,6 @@ type ContractBase = Omit<Contract<{
1870
1845
  readonly dataType: 'pg/uuid';
1871
1846
  readonly codecId: 'pg/uuid@1';
1872
1847
  readonly nullable: false;
1873
- readonly typeRef: 'Id';
1874
1848
  readonly many: false;
1875
1849
  };
1876
1850
  };
@@ -1933,14 +1907,12 @@ type ContractBase = Omit<Contract<{
1933
1907
  readonly kind: 'function';
1934
1908
  readonly expression: 'now()';
1935
1909
  };
1936
- readonly typeRef: 'CreatedAt';
1937
1910
  readonly many: false;
1938
1911
  };
1939
1912
  readonly id: {
1940
1913
  readonly dataType: 'pg/uuid';
1941
1914
  readonly codecId: 'pg/uuid@1';
1942
1915
  readonly nullable: false;
1943
- readonly typeRef: 'Id';
1944
1916
  readonly many: false;
1945
1917
  };
1946
1918
  readonly relates_to: {
@@ -1972,14 +1944,12 @@ type ContractBase = Omit<Contract<{
1972
1944
  readonly kind: 'function';
1973
1945
  readonly expression: 'now()';
1974
1946
  };
1975
- readonly typeRef: 'CreatedAt';
1976
1947
  readonly many: false;
1977
1948
  };
1978
1949
  readonly user_id: {
1979
1950
  readonly dataType: 'pg/uuid';
1980
1951
  readonly codecId: 'pg/uuid@1';
1981
1952
  readonly nullable: false;
1982
- readonly typeRef: 'Id';
1983
1953
  readonly many: false;
1984
1954
  };
1985
1955
  };
@@ -2039,14 +2009,15 @@ type ContractBase = Omit<Contract<{
2039
2009
  readonly dataType: 'pg/uuid';
2040
2010
  readonly codecId: 'pg/uuid@1';
2041
2011
  readonly nullable: true;
2042
- readonly typeRef: 'Id';
2043
2012
  readonly many: false;
2044
2013
  };
2045
2014
  readonly parent: {
2046
2015
  readonly dataType: 'pg/varchar';
2047
2016
  readonly codecId: 'sql/varchar@1';
2048
2017
  readonly nullable: true;
2049
- readonly typeRef: 'Parent';
2018
+ readonly typeParams: {
2019
+ readonly length: 255;
2020
+ };
2050
2021
  readonly many: false;
2051
2022
  };
2052
2023
  readonly revoked: {
@@ -2059,14 +2030,15 @@ type ContractBase = Omit<Contract<{
2059
2030
  readonly dataType: 'pg/uuid';
2060
2031
  readonly codecId: 'pg/uuid@1';
2061
2032
  readonly nullable: true;
2062
- readonly typeRef: 'Id';
2063
2033
  readonly many: false;
2064
2034
  };
2065
2035
  readonly token: {
2066
2036
  readonly dataType: 'pg/varchar';
2067
2037
  readonly codecId: 'sql/varchar@1';
2068
2038
  readonly nullable: true;
2069
- readonly typeRef: 'Parent';
2039
+ readonly typeParams: {
2040
+ readonly length: 255;
2041
+ };
2070
2042
  readonly many: false;
2071
2043
  };
2072
2044
  readonly updated_at: {
@@ -2079,7 +2051,9 @@ type ContractBase = Omit<Contract<{
2079
2051
  readonly dataType: 'pg/varchar';
2080
2052
  readonly codecId: 'sql/varchar@1';
2081
2053
  readonly nullable: true;
2082
- readonly typeRef: 'Parent';
2054
+ readonly typeParams: {
2055
+ readonly length: 255;
2056
+ };
2083
2057
  readonly many: false;
2084
2058
  };
2085
2059
  };
@@ -2150,7 +2124,6 @@ type ContractBase = Omit<Contract<{
2150
2124
  readonly dataType: 'pg/uuid';
2151
2125
  readonly codecId: 'pg/uuid@1';
2152
2126
  readonly nullable: false;
2153
- readonly typeRef: 'Id';
2154
2127
  readonly many: false;
2155
2128
  };
2156
2129
  readonly metadata_url: {
@@ -2175,7 +2148,6 @@ type ContractBase = Omit<Contract<{
2175
2148
  readonly dataType: 'pg/uuid';
2176
2149
  readonly codecId: 'pg/uuid@1';
2177
2150
  readonly nullable: false;
2178
- readonly typeRef: 'Id';
2179
2151
  readonly many: false;
2180
2152
  };
2181
2153
  readonly updated_at: {
@@ -2224,7 +2196,6 @@ type ContractBase = Omit<Contract<{
2224
2196
  readonly dataType: 'pg/uuid';
2225
2197
  readonly codecId: 'pg/uuid@1';
2226
2198
  readonly nullable: true;
2227
- readonly typeRef: 'Id';
2228
2199
  readonly many: false;
2229
2200
  };
2230
2201
  readonly for_email: {
@@ -2237,7 +2208,6 @@ type ContractBase = Omit<Contract<{
2237
2208
  readonly dataType: 'pg/uuid';
2238
2209
  readonly codecId: 'pg/uuid@1';
2239
2210
  readonly nullable: false;
2240
- readonly typeRef: 'Id';
2241
2211
  readonly many: false;
2242
2212
  };
2243
2213
  readonly redirect_to: {
@@ -2256,7 +2226,6 @@ type ContractBase = Omit<Contract<{
2256
2226
  readonly dataType: 'pg/uuid';
2257
2227
  readonly codecId: 'pg/uuid@1';
2258
2228
  readonly nullable: false;
2259
- readonly typeRef: 'Id';
2260
2229
  readonly many: false;
2261
2230
  };
2262
2231
  readonly updated_at: {
@@ -2316,7 +2285,9 @@ type ContractBase = Omit<Contract<{
2316
2285
  readonly dataType: 'pg/varchar';
2317
2286
  readonly codecId: 'sql/varchar@1';
2318
2287
  readonly nullable: false;
2319
- readonly typeRef: 'Parent';
2288
+ readonly typeParams: {
2289
+ readonly length: 255;
2290
+ };
2320
2291
  readonly many: false;
2321
2292
  };
2322
2293
  };
@@ -2349,21 +2320,18 @@ type ContractBase = Omit<Contract<{
2349
2320
  readonly dataType: 'pg/uuid';
2350
2321
  readonly codecId: 'pg/uuid@1';
2351
2322
  readonly nullable: true;
2352
- readonly typeRef: 'Id';
2353
2323
  readonly many: false;
2354
2324
  };
2355
2325
  readonly id: {
2356
2326
  readonly dataType: 'pg/uuid';
2357
2327
  readonly codecId: 'pg/uuid@1';
2358
2328
  readonly nullable: false;
2359
- readonly typeRef: 'Id';
2360
2329
  readonly many: false;
2361
2330
  };
2362
2331
  readonly ip: {
2363
2332
  readonly dataType: 'pg/inet';
2364
2333
  readonly codecId: 'pg/inet@1';
2365
2334
  readonly nullable: true;
2366
- readonly typeRef: 'IpAddress';
2367
2335
  readonly many: false;
2368
2336
  };
2369
2337
  readonly not_after: {
@@ -2376,7 +2344,6 @@ type ContractBase = Omit<Contract<{
2376
2344
  readonly dataType: 'pg/uuid';
2377
2345
  readonly codecId: 'pg/uuid@1';
2378
2346
  readonly nullable: true;
2379
- readonly typeRef: 'Id';
2380
2347
  readonly many: false;
2381
2348
  };
2382
2349
  readonly refresh_token_counter: {
@@ -2395,7 +2362,6 @@ type ContractBase = Omit<Contract<{
2395
2362
  readonly dataType: 'pg/timestamp';
2396
2363
  readonly codecId: 'pg/timestamp-temporal@1';
2397
2364
  readonly nullable: true;
2398
- readonly typeRef: 'CreatedAt';
2399
2365
  readonly many: false;
2400
2366
  };
2401
2367
  readonly scopes: {
@@ -2426,7 +2392,6 @@ type ContractBase = Omit<Contract<{
2426
2392
  readonly dataType: 'pg/uuid';
2427
2393
  readonly codecId: 'pg/uuid@1';
2428
2394
  readonly nullable: false;
2429
- readonly typeRef: 'Id';
2430
2395
  readonly many: false;
2431
2396
  };
2432
2397
  };
@@ -2496,14 +2461,12 @@ type ContractBase = Omit<Contract<{
2496
2461
  readonly dataType: 'pg/uuid';
2497
2462
  readonly codecId: 'pg/uuid@1';
2498
2463
  readonly nullable: false;
2499
- readonly typeRef: 'Id';
2500
2464
  readonly many: false;
2501
2465
  };
2502
2466
  readonly sso_provider_id: {
2503
2467
  readonly dataType: 'pg/uuid';
2504
2468
  readonly codecId: 'pg/uuid@1';
2505
2469
  readonly nullable: false;
2506
- readonly typeRef: 'Id';
2507
2470
  readonly many: false;
2508
2471
  };
2509
2472
  readonly updated_at: {
@@ -2559,7 +2522,6 @@ type ContractBase = Omit<Contract<{
2559
2522
  readonly dataType: 'pg/uuid';
2560
2523
  readonly codecId: 'pg/uuid@1';
2561
2524
  readonly nullable: false;
2562
- readonly typeRef: 'Id';
2563
2525
  readonly many: false;
2564
2526
  };
2565
2527
  readonly resource_id: {
@@ -2597,7 +2559,9 @@ type ContractBase = Omit<Contract<{
2597
2559
  readonly dataType: 'pg/varchar';
2598
2560
  readonly codecId: 'sql/varchar@1';
2599
2561
  readonly nullable: true;
2600
- readonly typeRef: 'Parent';
2562
+ readonly typeParams: {
2563
+ readonly length: 255;
2564
+ };
2601
2565
  readonly many: false;
2602
2566
  };
2603
2567
  readonly banned_until: {
@@ -2616,7 +2580,9 @@ type ContractBase = Omit<Contract<{
2616
2580
  readonly dataType: 'pg/varchar';
2617
2581
  readonly codecId: 'sql/varchar@1';
2618
2582
  readonly nullable: true;
2619
- readonly typeRef: 'Parent';
2583
+ readonly typeParams: {
2584
+ readonly length: 255;
2585
+ };
2620
2586
  readonly many: false;
2621
2587
  };
2622
2588
  readonly confirmed_at: {
@@ -2641,14 +2607,18 @@ type ContractBase = Omit<Contract<{
2641
2607
  readonly dataType: 'pg/varchar';
2642
2608
  readonly codecId: 'sql/varchar@1';
2643
2609
  readonly nullable: true;
2644
- readonly typeRef: 'Parent';
2610
+ readonly typeParams: {
2611
+ readonly length: 255;
2612
+ };
2645
2613
  readonly many: false;
2646
2614
  };
2647
2615
  readonly email_change: {
2648
2616
  readonly dataType: 'pg/varchar';
2649
2617
  readonly codecId: 'sql/varchar@1';
2650
2618
  readonly nullable: true;
2651
- readonly typeRef: 'Parent';
2619
+ readonly typeParams: {
2620
+ readonly length: 255;
2621
+ };
2652
2622
  readonly many: false;
2653
2623
  };
2654
2624
  readonly email_change_confirm_status: {
@@ -2659,7 +2629,6 @@ type ContractBase = Omit<Contract<{
2659
2629
  readonly kind: 'literal';
2660
2630
  readonly value: DefaultLiteralValue<'pg/int2@1', 0>;
2661
2631
  };
2662
- readonly typeRef: 'EmailChangeConfirmStatus';
2663
2632
  readonly many: false;
2664
2633
  };
2665
2634
  readonly email_change_sent_at: {
@@ -2676,14 +2645,18 @@ type ContractBase = Omit<Contract<{
2676
2645
  readonly kind: 'literal';
2677
2646
  readonly value: DefaultLiteralValue<'sql/varchar@1', ''>;
2678
2647
  };
2679
- readonly typeRef: 'Parent';
2648
+ readonly typeParams: {
2649
+ readonly length: 255;
2650
+ };
2680
2651
  readonly many: false;
2681
2652
  };
2682
2653
  readonly email_change_token_new: {
2683
2654
  readonly dataType: 'pg/varchar';
2684
2655
  readonly codecId: 'sql/varchar@1';
2685
2656
  readonly nullable: true;
2686
- readonly typeRef: 'Parent';
2657
+ readonly typeParams: {
2658
+ readonly length: 255;
2659
+ };
2687
2660
  readonly many: false;
2688
2661
  };
2689
2662
  readonly email_confirmed_at: {
@@ -2696,21 +2669,21 @@ type ContractBase = Omit<Contract<{
2696
2669
  readonly dataType: 'pg/varchar';
2697
2670
  readonly codecId: 'sql/varchar@1';
2698
2671
  readonly nullable: true;
2699
- readonly typeRef: 'Parent';
2672
+ readonly typeParams: {
2673
+ readonly length: 255;
2674
+ };
2700
2675
  readonly many: false;
2701
2676
  };
2702
2677
  readonly id: {
2703
2678
  readonly dataType: 'pg/uuid';
2704
2679
  readonly codecId: 'pg/uuid@1';
2705
2680
  readonly nullable: false;
2706
- readonly typeRef: 'Id';
2707
2681
  readonly many: false;
2708
2682
  };
2709
2683
  readonly instance_id: {
2710
2684
  readonly dataType: 'pg/uuid';
2711
2685
  readonly codecId: 'pg/uuid@1';
2712
2686
  readonly nullable: true;
2713
- readonly typeRef: 'Id';
2714
2687
  readonly many: false;
2715
2688
  };
2716
2689
  readonly invited_at: {
@@ -2781,7 +2754,9 @@ type ContractBase = Omit<Contract<{
2781
2754
  readonly kind: 'literal';
2782
2755
  readonly value: DefaultLiteralValue<'sql/varchar@1', ''>;
2783
2756
  };
2784
- readonly typeRef: 'Parent';
2757
+ readonly typeParams: {
2758
+ readonly length: 255;
2759
+ };
2785
2760
  readonly many: false;
2786
2761
  };
2787
2762
  readonly phone_confirmed_at: {
@@ -2816,7 +2791,9 @@ type ContractBase = Omit<Contract<{
2816
2791
  readonly kind: 'literal';
2817
2792
  readonly value: DefaultLiteralValue<'sql/varchar@1', ''>;
2818
2793
  };
2819
- readonly typeRef: 'Parent';
2794
+ readonly typeParams: {
2795
+ readonly length: 255;
2796
+ };
2820
2797
  readonly many: false;
2821
2798
  };
2822
2799
  readonly recovery_sent_at: {
@@ -2829,14 +2806,18 @@ type ContractBase = Omit<Contract<{
2829
2806
  readonly dataType: 'pg/varchar';
2830
2807
  readonly codecId: 'sql/varchar@1';
2831
2808
  readonly nullable: true;
2832
- readonly typeRef: 'Parent';
2809
+ readonly typeParams: {
2810
+ readonly length: 255;
2811
+ };
2833
2812
  readonly many: false;
2834
2813
  };
2835
2814
  readonly role: {
2836
2815
  readonly dataType: 'pg/varchar';
2837
2816
  readonly codecId: 'sql/varchar@1';
2838
2817
  readonly nullable: true;
2839
- readonly typeRef: 'Parent';
2818
+ readonly typeParams: {
2819
+ readonly length: 255;
2820
+ };
2840
2821
  readonly many: false;
2841
2822
  };
2842
2823
  readonly updated_at: {
@@ -2931,7 +2912,6 @@ type ContractBase = Omit<Contract<{
2931
2912
  readonly kind: 'function';
2932
2913
  readonly expression: 'gen_random_uuid()';
2933
2914
  };
2934
- readonly typeRef: 'Id';
2935
2915
  readonly many: false;
2936
2916
  };
2937
2917
  readonly session_data: {
@@ -2944,7 +2924,6 @@ type ContractBase = Omit<Contract<{
2944
2924
  readonly dataType: 'pg/uuid';
2945
2925
  readonly codecId: 'pg/uuid@1';
2946
2926
  readonly nullable: true;
2947
- readonly typeRef: 'Id';
2948
2927
  readonly many: false;
2949
2928
  };
2950
2929
  };
@@ -2982,7 +2961,6 @@ type ContractBase = Omit<Contract<{
2982
2961
  readonly dataType: 'pg/uuid';
2983
2962
  readonly codecId: 'pg/uuid@1';
2984
2963
  readonly nullable: true;
2985
- readonly typeRef: 'Id';
2986
2964
  readonly many: false;
2987
2965
  };
2988
2966
  readonly attestation_type: {
@@ -3049,7 +3027,6 @@ type ContractBase = Omit<Contract<{
3049
3027
  readonly kind: 'function';
3050
3028
  readonly expression: 'gen_random_uuid()';
3051
3029
  };
3052
- readonly typeRef: 'Id';
3053
3030
  readonly many: false;
3054
3031
  };
3055
3032
  readonly last_used_at: {
@@ -3098,7 +3075,6 @@ type ContractBase = Omit<Contract<{
3098
3075
  readonly dataType: 'pg/uuid';
3099
3076
  readonly codecId: 'pg/uuid@1';
3100
3077
  readonly nullable: false;
3101
- readonly typeRef: 'Id';
3102
3078
  readonly many: false;
3103
3079
  };
3104
3080
  };
@@ -3235,7 +3211,6 @@ type ContractBase = Omit<Contract<{
3235
3211
  readonly dataType: 'pg/uuid';
3236
3212
  readonly codecId: 'pg/uuid@1';
3237
3213
  readonly nullable: true;
3238
- readonly typeRef: 'Id';
3239
3214
  readonly many: false;
3240
3215
  };
3241
3216
  readonly owner_id: {
@@ -3326,7 +3301,6 @@ type ContractBase = Omit<Contract<{
3326
3301
  readonly kind: 'function';
3327
3302
  readonly expression: 'gen_random_uuid()';
3328
3303
  };
3329
- readonly typeRef: 'Id';
3330
3304
  readonly many: false;
3331
3305
  };
3332
3306
  readonly name: {
@@ -3434,7 +3408,6 @@ type ContractBase = Omit<Contract<{
3434
3408
  readonly dataType: 'pg/uuid';
3435
3409
  readonly codecId: 'pg/uuid@1';
3436
3410
  readonly nullable: false;
3437
- readonly typeRef: 'Id';
3438
3411
  readonly many: false;
3439
3412
  };
3440
3413
  readonly created_at: {
@@ -3455,7 +3428,6 @@ type ContractBase = Omit<Contract<{
3455
3428
  readonly kind: 'function';
3456
3429
  readonly expression: 'gen_random_uuid()';
3457
3430
  };
3458
- readonly typeRef: 'Id';
3459
3431
  readonly many: false;
3460
3432
  };
3461
3433
  readonly metadata: {
@@ -3521,7 +3493,6 @@ type ContractBase = Omit<Contract<{
3521
3493
  readonly dataType: 'pg/uuid';
3522
3494
  readonly codecId: 'pg/uuid@1';
3523
3495
  readonly nullable: false;
3524
- readonly typeRef: 'Id';
3525
3496
  readonly many: false;
3526
3497
  };
3527
3498
  readonly created_at: {
@@ -3542,7 +3513,6 @@ type ContractBase = Omit<Contract<{
3542
3513
  readonly kind: 'function';
3543
3514
  readonly expression: 'gen_random_uuid()';
3544
3515
  };
3545
- readonly typeRef: 'Id';
3546
3516
  readonly many: false;
3547
3517
  };
3548
3518
  readonly location: {
@@ -3561,7 +3531,6 @@ type ContractBase = Omit<Contract<{
3561
3531
  readonly dataType: 'pg/uuid';
3562
3532
  readonly codecId: 'pg/uuid@1';
3563
3533
  readonly nullable: false;
3564
- readonly typeRef: 'Id';
3565
3534
  readonly many: false;
3566
3535
  };
3567
3536
  readonly remote_table_id: {
@@ -3643,14 +3612,15 @@ type ContractBase = Omit<Contract<{
3643
3612
  readonly kind: 'function';
3644
3613
  readonly expression: 'now()';
3645
3614
  };
3646
- readonly typeRef: 'CreatedAt';
3647
3615
  readonly many: false;
3648
3616
  };
3649
3617
  readonly hash: {
3650
3618
  readonly dataType: 'pg/varchar';
3651
3619
  readonly codecId: 'sql/varchar@1';
3652
3620
  readonly nullable: false;
3653
- readonly typeRef: 'Hash';
3621
+ readonly typeParams: {
3622
+ readonly length: 40;
3623
+ };
3654
3624
  readonly many: false;
3655
3625
  };
3656
3626
  readonly id: {
@@ -3663,7 +3633,9 @@ type ContractBase = Omit<Contract<{
3663
3633
  readonly dataType: 'pg/varchar';
3664
3634
  readonly codecId: 'sql/varchar@1';
3665
3635
  readonly nullable: false;
3666
- readonly typeRef: 'Name';
3636
+ readonly typeParams: {
3637
+ readonly length: 100;
3638
+ };
3667
3639
  readonly many: false;
3668
3640
  };
3669
3641
  };
@@ -3704,7 +3676,6 @@ type ContractBase = Omit<Contract<{
3704
3676
  readonly kind: 'function';
3705
3677
  readonly expression: 'gen_random_uuid()';
3706
3678
  };
3707
- readonly typeRef: 'Id';
3708
3679
  readonly many: false;
3709
3680
  };
3710
3681
  readonly last_accessed_at: {
@@ -3733,7 +3704,6 @@ type ContractBase = Omit<Contract<{
3733
3704
  readonly dataType: 'pg/uuid';
3734
3705
  readonly codecId: 'pg/uuid@1';
3735
3706
  readonly nullable: true;
3736
- readonly typeRef: 'Id';
3737
3707
  readonly many: false;
3738
3708
  };
3739
3709
  readonly owner_id: {
@@ -3936,7 +3906,6 @@ type ContractBase = Omit<Contract<{
3936
3906
  readonly kind: 'function';
3937
3907
  readonly expression: 'gen_random_uuid()';
3938
3908
  };
3939
- readonly typeRef: 'Id';
3940
3909
  readonly many: false;
3941
3910
  };
3942
3911
  readonly key: {
@@ -4115,70 +4084,6 @@ type ContractBase = Omit<Contract<{
4115
4084
  };
4116
4085
  };
4117
4086
  };
4118
- readonly types: {
4119
- readonly CreatedAt: {
4120
- readonly kind: 'codec-instance';
4121
- readonly codecId: 'pg/timestamp-temporal@1';
4122
- readonly dataType: 'pg/timestamp';
4123
- readonly typeParams: Record<string, never>;
4124
- };
4125
- readonly EmailChangeConfirmStatus: {
4126
- readonly kind: 'codec-instance';
4127
- readonly codecId: 'pg/int2@1';
4128
- readonly dataType: 'pg/int2';
4129
- readonly typeParams: Record<string, never>;
4130
- };
4131
- readonly Hash: {
4132
- readonly kind: 'codec-instance';
4133
- readonly codecId: 'sql/varchar@1';
4134
- readonly dataType: 'pg/varchar';
4135
- readonly typeParams: {
4136
- readonly length: 40;
4137
- };
4138
- };
4139
- readonly Id: {
4140
- readonly kind: 'codec-instance';
4141
- readonly codecId: 'pg/uuid@1';
4142
- readonly dataType: 'pg/uuid';
4143
- readonly typeParams: Record<string, never>;
4144
- };
4145
- readonly IpAddress: {
4146
- readonly kind: 'codec-instance';
4147
- readonly codecId: 'pg/inet@1';
4148
- readonly dataType: 'pg/inet';
4149
- readonly typeParams: Record<string, never>;
4150
- };
4151
- readonly IpAddress2: {
4152
- readonly kind: 'codec-instance';
4153
- readonly codecId: 'sql/varchar@1';
4154
- readonly dataType: 'pg/varchar';
4155
- readonly typeParams: {
4156
- readonly length: 64;
4157
- };
4158
- };
4159
- readonly Name: {
4160
- readonly kind: 'codec-instance';
4161
- readonly codecId: 'sql/varchar@1';
4162
- readonly dataType: 'pg/varchar';
4163
- readonly typeParams: {
4164
- readonly length: 100;
4165
- };
4166
- };
4167
- readonly Parent: {
4168
- readonly kind: 'codec-instance';
4169
- readonly codecId: 'sql/varchar@1';
4170
- readonly dataType: 'pg/varchar';
4171
- readonly typeParams: {
4172
- readonly length: 255;
4173
- };
4174
- };
4175
- readonly Payload: {
4176
- readonly kind: 'codec-instance';
4177
- readonly codecId: 'pg/json@1';
4178
- readonly dataType: 'pg/json';
4179
- readonly typeParams: Record<string, never>;
4180
- };
4181
- };
4182
4087
  readonly storageHash: StorageHash;
4183
4088
  }>, 'roots' | 'domain'> & {
4184
4089
  readonly target: 'postgres';