drizzle-kit 1.0.0-beta.22-c07a16e → 1.0.0-beta.22-eaa25cd

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.
@@ -58,35 +58,35 @@ declare const postgresCredentials: ZodUnion<[ZodEffects<ZodObject<{
58
58
  }, "strip", ZodTypeAny, {
59
59
  host: string;
60
60
  database: string;
61
+ password?: string | undefined;
62
+ driver?: undefined;
61
63
  port?: number | undefined;
62
64
  user?: string | undefined;
63
- password?: string | undefined;
64
65
  ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | objectOutputType<{}, ZodTypeAny, "passthrough"> | undefined;
65
- driver?: undefined;
66
66
  }, {
67
67
  host: string;
68
68
  database: string;
69
+ password?: string | undefined;
70
+ driver?: undefined;
69
71
  port?: number | undefined;
70
72
  user?: string | undefined;
71
- password?: string | undefined;
72
73
  ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | objectInputType<{}, ZodTypeAny, "passthrough"> | undefined;
73
- driver?: undefined;
74
74
  }>, Omit<{
75
75
  host: string;
76
76
  database: string;
77
+ password?: string | undefined;
78
+ driver?: undefined;
77
79
  port?: number | undefined;
78
80
  user?: string | undefined;
79
- password?: string | undefined;
80
81
  ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | objectOutputType<{}, ZodTypeAny, "passthrough"> | undefined;
81
- driver?: undefined;
82
82
  }, "driver">, {
83
83
  host: string;
84
84
  database: string;
85
+ password?: string | undefined;
86
+ driver?: undefined;
85
87
  port?: number | undefined;
86
88
  user?: string | undefined;
87
- password?: string | undefined;
88
89
  ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | objectInputType<{}, ZodTypeAny, "passthrough"> | undefined;
89
- driver?: undefined;
90
90
  }>, ZodEffects<ZodObject<{
91
91
  driver: ZodUndefined;
92
92
  url: ZodString;
@@ -107,24 +107,24 @@ declare const postgresCredentials: ZodUnion<[ZodEffects<ZodObject<{
107
107
  secretArn: ZodString;
108
108
  resourceArn: ZodString;
109
109
  }, "strip", ZodTypeAny, {
110
- database: string;
111
110
  driver: "aws-data-api";
111
+ database: string;
112
112
  secretArn: string;
113
113
  resourceArn: string;
114
114
  }, {
115
- database: string;
116
115
  driver: "aws-data-api";
116
+ database: string;
117
117
  secretArn: string;
118
118
  resourceArn: string;
119
119
  }>, ZodObject<{
120
120
  driver: ZodLiteral<"pglite">;
121
121
  url: ZodString;
122
122
  }, "strip", ZodTypeAny, {
123
- url: string;
124
123
  driver: "pglite";
125
- }, {
126
124
  url: string;
125
+ }, {
127
126
  driver: "pglite";
127
+ url: string;
128
128
  }>]>;
129
129
  type PostgresCredentials = TypeOf<typeof postgresCredentials>;
130
130
  //#endregion
@@ -716,10 +716,6 @@ declare const createDDL: () => {
716
716
  schema: string;
717
717
  table: string;
718
718
  name: string;
719
- with?: {
720
- from: string;
721
- to: string;
722
- } | undefined;
723
719
  columns?: {
724
720
  from: {
725
721
  value: string;
@@ -742,6 +738,10 @@ declare const createDDL: () => {
742
738
  } | null;
743
739
  }[];
744
740
  } | undefined;
741
+ with?: {
742
+ from: string;
743
+ to: string;
744
+ } | undefined;
745
745
  nameExplicit?: {
746
746
  from: boolean;
747
747
  to: boolean;
@@ -1017,10 +1017,6 @@ declare const createDDL: () => {
1017
1017
  $diffType: "alter";
1018
1018
  entityType: "roles";
1019
1019
  name: string;
1020
- password?: {
1021
- from: string | null;
1022
- to: string | null;
1023
- } | undefined;
1024
1020
  superuser?: {
1025
1021
  from: boolean | null;
1026
1022
  to: boolean | null;
@@ -1053,6 +1049,10 @@ declare const createDDL: () => {
1053
1049
  from: number | null;
1054
1050
  to: number | null;
1055
1051
  } | undefined;
1052
+ password?: {
1053
+ from: string | null;
1054
+ to: string | null;
1055
+ } | undefined;
1056
1056
  validUntil?: {
1057
1057
  from: string | null;
1058
1058
  to: string | null;
@@ -1486,10 +1486,6 @@ declare const createDDL: () => {
1486
1486
  schema: string;
1487
1487
  table: string;
1488
1488
  name: string;
1489
- with?: {
1490
- from: string;
1491
- to: string;
1492
- } | undefined;
1493
1489
  columns?: {
1494
1490
  from: {
1495
1491
  value: string;
@@ -1512,6 +1508,10 @@ declare const createDDL: () => {
1512
1508
  } | null;
1513
1509
  }[];
1514
1510
  } | undefined;
1511
+ with?: {
1512
+ from: string;
1513
+ to: string;
1514
+ } | undefined;
1515
1515
  nameExplicit?: {
1516
1516
  from: boolean;
1517
1517
  to: boolean;
@@ -1781,10 +1781,6 @@ declare const createDDL: () => {
1781
1781
  $diffType: "alter";
1782
1782
  entityType: "roles";
1783
1783
  name: string;
1784
- password?: {
1785
- from: string | null;
1786
- to: string | null;
1787
- } | undefined;
1788
1784
  superuser?: {
1789
1785
  from: boolean | null;
1790
1786
  to: boolean | null;
@@ -1817,6 +1813,10 @@ declare const createDDL: () => {
1817
1813
  from: number | null;
1818
1814
  to: number | null;
1819
1815
  } | undefined;
1816
+ password?: {
1817
+ from: string | null;
1818
+ to: string | null;
1819
+ } | undefined;
1820
1820
  validUntil?: {
1821
1821
  from: string | null;
1822
1822
  to: string | null;
@@ -2132,7 +2132,6 @@ declare const createDDL: () => {
2132
2132
  schema: string;
2133
2133
  table: string;
2134
2134
  name: string;
2135
- with: string;
2136
2135
  columns: {
2137
2136
  value: string;
2138
2137
  isExpression: boolean;
@@ -2143,6 +2142,7 @@ declare const createDDL: () => {
2143
2142
  default: boolean;
2144
2143
  } | null;
2145
2144
  }[];
2145
+ with: string;
2146
2146
  nameExplicit: boolean;
2147
2147
  isUnique: boolean;
2148
2148
  where: string | null;
@@ -2206,7 +2206,6 @@ declare const createDDL: () => {
2206
2206
  $diffType: "create";
2207
2207
  entityType: "roles";
2208
2208
  name: string;
2209
- password: string | null;
2210
2209
  superuser: boolean | null;
2211
2210
  createDb: boolean | null;
2212
2211
  createRole: boolean | null;
@@ -2215,6 +2214,7 @@ declare const createDDL: () => {
2215
2214
  replication: boolean | null;
2216
2215
  bypassRls: boolean | null;
2217
2216
  connLimit: number | null;
2217
+ password: string | null;
2218
2218
  validUntil: string | null;
2219
2219
  };
2220
2220
  privileges: {
@@ -2321,7 +2321,6 @@ declare const createDDL: () => {
2321
2321
  schema: string;
2322
2322
  table: string;
2323
2323
  name: string;
2324
- with: string;
2325
2324
  columns: {
2326
2325
  value: string;
2327
2326
  isExpression: boolean;
@@ -2332,6 +2331,7 @@ declare const createDDL: () => {
2332
2331
  default: boolean;
2333
2332
  } | null;
2334
2333
  }[];
2334
+ with: string;
2335
2335
  nameExplicit: boolean;
2336
2336
  isUnique: boolean;
2337
2337
  where: string | null;
@@ -2389,7 +2389,6 @@ declare const createDDL: () => {
2389
2389
  $diffType: "create";
2390
2390
  entityType: "roles";
2391
2391
  name: string;
2392
- password: string | null;
2393
2392
  superuser: boolean | null;
2394
2393
  createDb: boolean | null;
2395
2394
  createRole: boolean | null;
@@ -2398,6 +2397,7 @@ declare const createDDL: () => {
2398
2397
  replication: boolean | null;
2399
2398
  bypassRls: boolean | null;
2400
2399
  connLimit: number | null;
2400
+ password: string | null;
2401
2401
  validUntil: string | null;
2402
2402
  } | {
2403
2403
  $diffType: "create";
@@ -2507,7 +2507,6 @@ declare const createDDL: () => {
2507
2507
  schema: string;
2508
2508
  table: string;
2509
2509
  name: string;
2510
- with: string;
2511
2510
  columns: {
2512
2511
  value: string;
2513
2512
  isExpression: boolean;
@@ -2518,6 +2517,7 @@ declare const createDDL: () => {
2518
2517
  default: boolean;
2519
2518
  } | null;
2520
2519
  }[];
2520
+ with: string;
2521
2521
  nameExplicit: boolean;
2522
2522
  isUnique: boolean;
2523
2523
  where: string | null;
@@ -2581,7 +2581,6 @@ declare const createDDL: () => {
2581
2581
  $diffType: "drop";
2582
2582
  entityType: "roles";
2583
2583
  name: string;
2584
- password: string | null;
2585
2584
  superuser: boolean | null;
2586
2585
  createDb: boolean | null;
2587
2586
  createRole: boolean | null;
@@ -2590,6 +2589,7 @@ declare const createDDL: () => {
2590
2589
  replication: boolean | null;
2591
2590
  bypassRls: boolean | null;
2592
2591
  connLimit: number | null;
2592
+ password: string | null;
2593
2593
  validUntil: string | null;
2594
2594
  };
2595
2595
  privileges: {
@@ -2696,7 +2696,6 @@ declare const createDDL: () => {
2696
2696
  schema: string;
2697
2697
  table: string;
2698
2698
  name: string;
2699
- with: string;
2700
2699
  columns: {
2701
2700
  value: string;
2702
2701
  isExpression: boolean;
@@ -2707,6 +2706,7 @@ declare const createDDL: () => {
2707
2706
  default: boolean;
2708
2707
  } | null;
2709
2708
  }[];
2709
+ with: string;
2710
2710
  nameExplicit: boolean;
2711
2711
  isUnique: boolean;
2712
2712
  where: string | null;
@@ -2764,7 +2764,6 @@ declare const createDDL: () => {
2764
2764
  $diffType: "drop";
2765
2765
  entityType: "roles";
2766
2766
  name: string;
2767
- password: string | null;
2768
2767
  superuser: boolean | null;
2769
2768
  createDb: boolean | null;
2770
2769
  createRole: boolean | null;
@@ -2773,6 +2772,7 @@ declare const createDDL: () => {
2773
2772
  replication: boolean | null;
2774
2773
  bypassRls: boolean | null;
2775
2774
  connLimit: number | null;
2775
+ password: string | null;
2776
2776
  validUntil: string | null;
2777
2777
  } | {
2778
2778
  $diffType: "drop";
@@ -2923,7 +2923,6 @@ declare const createDDL: () => {
2923
2923
  schema: string;
2924
2924
  table: string;
2925
2925
  name: string;
2926
- with: string;
2927
2926
  columns: {
2928
2927
  value: string;
2929
2928
  isExpression: boolean;
@@ -2934,6 +2933,7 @@ declare const createDDL: () => {
2934
2933
  default: boolean;
2935
2934
  } | null;
2936
2935
  }[];
2936
+ with: string;
2937
2937
  nameExplicit: boolean;
2938
2938
  isUnique: boolean;
2939
2939
  where: string | null;
@@ -2945,7 +2945,6 @@ declare const createDDL: () => {
2945
2945
  schema: string;
2946
2946
  table: string;
2947
2947
  name: string;
2948
- with: string;
2949
2948
  columns: {
2950
2949
  value: string;
2951
2950
  isExpression: boolean;
@@ -2956,6 +2955,7 @@ declare const createDDL: () => {
2956
2955
  default: boolean;
2957
2956
  } | null;
2958
2957
  }[];
2958
+ with: string;
2959
2959
  nameExplicit: boolean;
2960
2960
  isUnique: boolean;
2961
2961
  where: string | null;
@@ -3067,7 +3067,6 @@ declare const createDDL: () => {
3067
3067
  $diffType: "create";
3068
3068
  entityType: "roles";
3069
3069
  name: string;
3070
- password: string | null;
3071
3070
  superuser: boolean | null;
3072
3071
  createDb: boolean | null;
3073
3072
  createRole: boolean | null;
@@ -3076,12 +3075,12 @@ declare const createDDL: () => {
3076
3075
  replication: boolean | null;
3077
3076
  bypassRls: boolean | null;
3078
3077
  connLimit: number | null;
3078
+ password: string | null;
3079
3079
  validUntil: string | null;
3080
3080
  } | {
3081
3081
  $diffType: "drop";
3082
3082
  entityType: "roles";
3083
3083
  name: string;
3084
- password: string | null;
3085
3084
  superuser: boolean | null;
3086
3085
  createDb: boolean | null;
3087
3086
  createRole: boolean | null;
@@ -3090,6 +3089,7 @@ declare const createDDL: () => {
3090
3089
  replication: boolean | null;
3091
3090
  bypassRls: boolean | null;
3092
3091
  connLimit: number | null;
3092
+ password: string | null;
3093
3093
  validUntil: string | null;
3094
3094
  };
3095
3095
  privileges: {
@@ -3250,7 +3250,6 @@ declare const createDDL: () => {
3250
3250
  schema: string;
3251
3251
  table: string;
3252
3252
  name: string;
3253
- with: string;
3254
3253
  columns: {
3255
3254
  value: string;
3256
3255
  isExpression: boolean;
@@ -3261,6 +3260,7 @@ declare const createDDL: () => {
3261
3260
  default: boolean;
3262
3261
  } | null;
3263
3262
  }[];
3263
+ with: string;
3264
3264
  nameExplicit: boolean;
3265
3265
  isUnique: boolean;
3266
3266
  where: string | null;
@@ -3318,7 +3318,6 @@ declare const createDDL: () => {
3318
3318
  $diffType: "create";
3319
3319
  entityType: "roles";
3320
3320
  name: string;
3321
- password: string | null;
3322
3321
  superuser: boolean | null;
3323
3322
  createDb: boolean | null;
3324
3323
  createRole: boolean | null;
@@ -3327,6 +3326,7 @@ declare const createDDL: () => {
3327
3326
  replication: boolean | null;
3328
3327
  bypassRls: boolean | null;
3329
3328
  connLimit: number | null;
3329
+ password: string | null;
3330
3330
  validUntil: string | null;
3331
3331
  } | {
3332
3332
  $diffType: "create";
@@ -3429,7 +3429,6 @@ declare const createDDL: () => {
3429
3429
  schema: string;
3430
3430
  table: string;
3431
3431
  name: string;
3432
- with: string;
3433
3432
  columns: {
3434
3433
  value: string;
3435
3434
  isExpression: boolean;
@@ -3440,6 +3439,7 @@ declare const createDDL: () => {
3440
3439
  default: boolean;
3441
3440
  } | null;
3442
3441
  }[];
3442
+ with: string;
3443
3443
  nameExplicit: boolean;
3444
3444
  isUnique: boolean;
3445
3445
  where: string | null;
@@ -3497,7 +3497,6 @@ declare const createDDL: () => {
3497
3497
  $diffType: "drop";
3498
3498
  entityType: "roles";
3499
3499
  name: string;
3500
- password: string | null;
3501
3500
  superuser: boolean | null;
3502
3501
  createDb: boolean | null;
3503
3502
  createRole: boolean | null;
@@ -3506,6 +3505,7 @@ declare const createDDL: () => {
3506
3505
  replication: boolean | null;
3507
3506
  bypassRls: boolean | null;
3508
3507
  connLimit: number | null;
3508
+ password: string | null;
3509
3509
  validUntil: string | null;
3510
3510
  } | {
3511
3511
  $diffType: "drop";
@@ -6016,7 +6016,7 @@ declare const createDDL: () => {
6016
6016
  materialized: boolean;
6017
6017
  name: string;
6018
6018
  entityType: "views";
6019
- }, uniques?: "name"[] | ("schema" | "name" | "isRlsEnabled")[] | ("values" | "schema" | "name")[] | ("type" | "schema" | "table" | "name" | "typeSchema" | "notNull" | "dimensions" | "default" | "generated" | "identity")[] | ("with" | "schema" | "table" | "name" | "columns" | "nameExplicit" | "isUnique" | "where" | "method" | "concurrently")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit" | "schemaTo" | "tableTo" | "columnsTo" | "onUpdate" | "onDelete")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit" | "nullsNotDistinct")[] | ("value" | "schema" | "table" | "name")[] | ("schema" | "name" | "minValue" | "maxValue" | "startWith" | "cycle" | "incrementBy" | "cacheSize")[] | ("password" | "name" | "superuser" | "createDb" | "createRole" | "inherit" | "canLogin" | "replication" | "bypassRls" | "connLimit" | "validUntil")[] | ("type" | "schema" | "table" | "name" | "grantor" | "grantee" | "isGrantable")[] | ("schema" | "table" | "name" | "as" | "roles" | "for" | "using" | "withCheck")[] | ("with" | "schema" | "name" | "using" | "definition" | "withNoData" | "tablespace" | "materialized")[] | undefined) => {
6019
+ }, uniques?: "name"[] | ("schema" | "name" | "isRlsEnabled")[] | ("schema" | "name" | "values")[] | ("schema" | "table" | "name" | "type" | "typeSchema" | "notNull" | "dimensions" | "default" | "generated" | "identity")[] | ("schema" | "table" | "name" | "columns" | "with" | "nameExplicit" | "isUnique" | "where" | "method" | "concurrently")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit" | "schemaTo" | "tableTo" | "columnsTo" | "onUpdate" | "onDelete")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit")[] | ("schema" | "table" | "name" | "columns" | "nameExplicit" | "nullsNotDistinct")[] | ("schema" | "table" | "name" | "value")[] | ("schema" | "name" | "minValue" | "maxValue" | "startWith" | "cycle" | "incrementBy" | "cacheSize")[] | ("name" | "superuser" | "createDb" | "createRole" | "inherit" | "canLogin" | "replication" | "bypassRls" | "connLimit" | "password" | "validUntil")[] | ("schema" | "table" | "name" | "type" | "grantor" | "grantee" | "isGrantable")[] | ("schema" | "table" | "name" | "as" | "roles" | "for" | "using" | "withCheck")[] | ("schema" | "name" | "with" | "using" | "definition" | "withNoData" | "tablespace" | "materialized")[] | undefined) => {
6020
6020
  status: "OK" | "CONFLICT";
6021
6021
  data: {
6022
6022
  name: string;
@@ -6915,9 +6915,9 @@ declare const createDDL: () => {
6915
6915
  } | undefined;
6916
6916
  } | {
6917
6917
  set: {
6918
- values?: string[] | ((item: string) => string) | undefined;
6919
6918
  schema?: string | ((item: string) => string) | undefined;
6920
6919
  name?: string | ((item: string) => string) | undefined;
6920
+ values?: string[] | ((item: string) => string) | undefined;
6921
6921
  };
6922
6922
  where?: {
6923
6923
  schema?: string | undefined;
@@ -6929,10 +6929,10 @@ declare const createDDL: () => {
6929
6929
  } | undefined;
6930
6930
  } | {
6931
6931
  set: {
6932
- type?: string | ((item: string) => string) | undefined;
6933
6932
  schema?: string | ((item: string) => string) | undefined;
6934
6933
  table?: string | ((item: string) => string) | undefined;
6935
6934
  name?: string | ((item: string) => string) | undefined;
6935
+ type?: string | ((item: string) => string) | undefined;
6936
6936
  typeSchema?: string | ((item: string | null) => string | null) | null | undefined;
6937
6937
  notNull?: boolean | ((item: boolean) => boolean) | undefined;
6938
6938
  dimensions?: number | ((item: number) => number) | undefined;
@@ -7003,7 +7003,6 @@ declare const createDDL: () => {
7003
7003
  } | undefined;
7004
7004
  } | {
7005
7005
  set: {
7006
- with?: string | ((item: string) => string) | undefined;
7007
7006
  schema?: string | ((item: string) => string) | undefined;
7008
7007
  table?: string | ((item: string) => string) | undefined;
7009
7008
  name?: string | ((item: string) => string) | undefined;
@@ -7035,6 +7034,7 @@ declare const createDDL: () => {
7035
7034
  default: boolean;
7036
7035
  } | null;
7037
7036
  }) | undefined;
7037
+ with?: string | ((item: string) => string) | undefined;
7038
7038
  nameExplicit?: boolean | ((item: boolean) => boolean) | undefined;
7039
7039
  isUnique?: boolean | ((item: boolean) => boolean) | undefined;
7040
7040
  where?: string | ((item: string | null) => string | null) | null | undefined;
@@ -7144,10 +7144,10 @@ declare const createDDL: () => {
7144
7144
  } | undefined;
7145
7145
  } | {
7146
7146
  set: {
7147
- value?: string | ((item: string) => string) | undefined;
7148
7147
  schema?: string | ((item: string) => string) | undefined;
7149
7148
  table?: string | ((item: string) => string) | undefined;
7150
7149
  name?: string | ((item: string) => string) | undefined;
7150
+ value?: string | ((item: string) => string) | undefined;
7151
7151
  };
7152
7152
  where?: {
7153
7153
  schema?: string | undefined;
@@ -7180,7 +7180,6 @@ declare const createDDL: () => {
7180
7180
  } | undefined;
7181
7181
  } | {
7182
7182
  set: {
7183
- password?: string | ((item: string | null) => string | null) | null | undefined;
7184
7183
  name?: string | ((item: string) => string) | undefined;
7185
7184
  superuser?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
7186
7185
  createDb?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
@@ -7190,6 +7189,7 @@ declare const createDDL: () => {
7190
7189
  replication?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
7191
7190
  bypassRls?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
7192
7191
  connLimit?: number | ((item: number | null) => number | null) | null | undefined;
7192
+ password?: string | ((item: string | null) => string | null) | null | undefined;
7193
7193
  validUntil?: string | ((item: string | null) => string | null) | null | undefined;
7194
7194
  };
7195
7195
  where?: {
@@ -7208,10 +7208,10 @@ declare const createDDL: () => {
7208
7208
  } | undefined;
7209
7209
  } | {
7210
7210
  set: {
7211
- type?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER" | ((item: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") => "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") | undefined;
7212
7211
  schema?: string | ((item: string) => string) | undefined;
7213
7212
  table?: string | ((item: string) => string) | undefined;
7214
7213
  name?: string | ((item: string) => string) | undefined;
7214
+ type?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER" | ((item: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") => "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") | undefined;
7215
7215
  grantor?: string | ((item: string) => string) | undefined;
7216
7216
  grantee?: string | ((item: string) => string) | undefined;
7217
7217
  isGrantable?: boolean | ((item: boolean) => boolean) | undefined;
@@ -7252,6 +7252,8 @@ declare const createDDL: () => {
7252
7252
  } | undefined;
7253
7253
  } | {
7254
7254
  set: {
7255
+ schema?: string | ((item: string) => string) | undefined;
7256
+ name?: string | ((item: string) => string) | undefined;
7255
7257
  with?: {
7256
7258
  checkOption: "local" | "cascaded" | null;
7257
7259
  securityBarrier: boolean | null;
@@ -7319,8 +7321,6 @@ declare const createDDL: () => {
7319
7321
  logAutovacuumMinDuration: number | null;
7320
7322
  userCatalogTable: boolean | null;
7321
7323
  } | null) | null | undefined;
7322
- schema?: string | ((item: string) => string) | undefined;
7323
- name?: string | ((item: string) => string) | undefined;
7324
7324
  using?: string | ((item: string | null) => string | null) | null | undefined;
7325
7325
  definition?: string | ((item: string | null) => string | null) | null | undefined;
7326
7326
  withNoData?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
@@ -8217,10 +8217,6 @@ declare const createDDL: () => {
8217
8217
  schema: string;
8218
8218
  table: string;
8219
8219
  name: string;
8220
- with?: {
8221
- from: string;
8222
- to: string;
8223
- } | undefined;
8224
8220
  columns?: {
8225
8221
  from: {
8226
8222
  value: string;
@@ -8243,6 +8239,10 @@ declare const createDDL: () => {
8243
8239
  } | null;
8244
8240
  }[];
8245
8241
  } | undefined;
8242
+ with?: {
8243
+ from: string;
8244
+ to: string;
8245
+ } | undefined;
8246
8246
  nameExplicit?: {
8247
8247
  from: boolean;
8248
8248
  to: boolean;
@@ -8512,10 +8512,6 @@ declare const createDDL: () => {
8512
8512
  $diffType: "alter";
8513
8513
  entityType: "roles";
8514
8514
  name: string;
8515
- password?: {
8516
- from: string | null;
8517
- to: string | null;
8518
- } | undefined;
8519
8515
  superuser?: {
8520
8516
  from: boolean | null;
8521
8517
  to: boolean | null;
@@ -8548,6 +8544,10 @@ declare const createDDL: () => {
8548
8544
  from: number | null;
8549
8545
  to: number | null;
8550
8546
  } | undefined;
8547
+ password?: {
8548
+ from: string | null;
8549
+ to: string | null;
8550
+ } | undefined;
8551
8551
  validUntil?: {
8552
8552
  from: string | null;
8553
8553
  to: string | null;
@@ -8974,10 +8974,10 @@ declare const createDDL: () => {
8974
8974
  };
8975
8975
  enums: {
8976
8976
  push: (input: {
8977
- values: string[];
8978
8977
  schema: string;
8979
8978
  name: string;
8980
- }, uniques?: ("values" | "schema" | "name")[] | undefined) => {
8979
+ values: string[];
8980
+ }, uniques?: ("schema" | "name" | "values")[] | undefined) => {
8981
8981
  status: "OK" | "CONFLICT";
8982
8982
  data: {
8983
8983
  schema: string;
@@ -9014,9 +9014,9 @@ declare const createDDL: () => {
9014
9014
  } | null;
9015
9015
  update: (config: {
9016
9016
  set: {
9017
- values?: string[] | ((item: string) => string) | undefined;
9018
9017
  schema?: string | ((item: string) => string) | undefined;
9019
9018
  name?: string | ((item: string) => string) | undefined;
9019
+ values?: string[] | ((item: string) => string) | undefined;
9020
9020
  };
9021
9021
  where?: {
9022
9022
  schema?: string | undefined;
@@ -9079,10 +9079,10 @@ declare const createDDL: () => {
9079
9079
  };
9080
9080
  columns: {
9081
9081
  push: (input: {
9082
- type: string;
9083
9082
  schema: string;
9084
9083
  table: string;
9085
9084
  name: string;
9085
+ type: string;
9086
9086
  typeSchema: string | null | undefined;
9087
9087
  notNull: boolean;
9088
9088
  dimensions: number;
@@ -9101,7 +9101,7 @@ declare const createDDL: () => {
9101
9101
  cache: number | null;
9102
9102
  cycle: boolean | null;
9103
9103
  } | null | undefined;
9104
- }, uniques?: ("type" | "schema" | "table" | "name" | "typeSchema" | "notNull" | "dimensions" | "default" | "generated" | "identity")[] | undefined) => {
9104
+ }, uniques?: ("schema" | "table" | "name" | "type" | "typeSchema" | "notNull" | "dimensions" | "default" | "generated" | "identity")[] | undefined) => {
9105
9105
  status: "OK" | "CONFLICT";
9106
9106
  data: {
9107
9107
  schema: string;
@@ -9229,10 +9229,10 @@ declare const createDDL: () => {
9229
9229
  } | null;
9230
9230
  update: (config: {
9231
9231
  set: {
9232
- type?: string | ((item: string) => string) | undefined;
9233
9232
  schema?: string | ((item: string) => string) | undefined;
9234
9233
  table?: string | ((item: string) => string) | undefined;
9235
9234
  name?: string | ((item: string) => string) | undefined;
9235
+ type?: string | ((item: string) => string) | undefined;
9236
9236
  typeSchema?: string | ((item: string | null) => string | null) | null | undefined;
9237
9237
  notNull?: boolean | ((item: boolean) => boolean) | undefined;
9238
9238
  dimensions?: number | ((item: number) => number) | undefined;
@@ -9515,7 +9515,6 @@ declare const createDDL: () => {
9515
9515
  };
9516
9516
  indexes: {
9517
9517
  push: (input: {
9518
- with: string;
9519
9518
  schema: string;
9520
9519
  table: string;
9521
9520
  name: string;
@@ -9529,12 +9528,13 @@ declare const createDDL: () => {
9529
9528
  default: boolean;
9530
9529
  } | null;
9531
9530
  }[];
9531
+ with: string;
9532
9532
  nameExplicit: boolean;
9533
9533
  isUnique: boolean;
9534
9534
  where: string | null | undefined;
9535
9535
  method: string;
9536
9536
  concurrently: boolean;
9537
- }, uniques?: ("with" | "schema" | "table" | "name" | "columns" | "nameExplicit" | "isUnique" | "where" | "method" | "concurrently")[] | undefined) => {
9537
+ }, uniques?: ("schema" | "table" | "name" | "columns" | "with" | "nameExplicit" | "isUnique" | "where" | "method" | "concurrently")[] | undefined) => {
9538
9538
  status: "OK" | "CONFLICT";
9539
9539
  data: {
9540
9540
  schema: string;
@@ -9669,7 +9669,6 @@ declare const createDDL: () => {
9669
9669
  } | null;
9670
9670
  update: (config: {
9671
9671
  set: {
9672
- with?: string | ((item: string) => string) | undefined;
9673
9672
  schema?: string | ((item: string) => string) | undefined;
9674
9673
  table?: string | ((item: string) => string) | undefined;
9675
9674
  name?: string | ((item: string) => string) | undefined;
@@ -9701,6 +9700,7 @@ declare const createDDL: () => {
9701
9700
  default: boolean;
9702
9701
  } | null;
9703
9702
  }) | undefined;
9703
+ with?: string | ((item: string) => string) | undefined;
9704
9704
  nameExplicit?: boolean | ((item: boolean) => boolean) | undefined;
9705
9705
  isUnique?: boolean | ((item: boolean) => boolean) | undefined;
9706
9706
  where?: string | ((item: string | null) => string | null) | null | undefined;
@@ -9847,10 +9847,6 @@ declare const createDDL: () => {
9847
9847
  schema: string;
9848
9848
  table: string;
9849
9849
  name: string;
9850
- with?: {
9851
- from: string;
9852
- to: string;
9853
- } | undefined;
9854
9850
  columns?: {
9855
9851
  from: {
9856
9852
  value: string;
@@ -9873,6 +9869,10 @@ declare const createDDL: () => {
9873
9869
  } | null;
9874
9870
  }[];
9875
9871
  } | undefined;
9872
+ with?: {
9873
+ from: string;
9874
+ to: string;
9875
+ } | undefined;
9876
9876
  nameExplicit?: {
9877
9877
  from: boolean;
9878
9878
  to: boolean;
@@ -10471,11 +10471,11 @@ declare const createDDL: () => {
10471
10471
  };
10472
10472
  checks: {
10473
10473
  push: (input: {
10474
- value: string;
10475
10474
  schema: string;
10476
10475
  table: string;
10477
10476
  name: string;
10478
- }, uniques?: ("value" | "schema" | "table" | "name")[] | undefined) => {
10477
+ value: string;
10478
+ }, uniques?: ("schema" | "table" | "name" | "value")[] | undefined) => {
10479
10479
  status: "OK" | "CONFLICT";
10480
10480
  data: {
10481
10481
  schema: string;
@@ -10513,10 +10513,10 @@ declare const createDDL: () => {
10513
10513
  } | null;
10514
10514
  update: (config: {
10515
10515
  set: {
10516
- value?: string | ((item: string) => string) | undefined;
10517
10516
  schema?: string | ((item: string) => string) | undefined;
10518
10517
  table?: string | ((item: string) => string) | undefined;
10519
10518
  name?: string | ((item: string) => string) | undefined;
10519
+ value?: string | ((item: string) => string) | undefined;
10520
10520
  };
10521
10521
  where?: {
10522
10522
  schema?: string | undefined;
@@ -10770,7 +10770,6 @@ declare const createDDL: () => {
10770
10770
  };
10771
10771
  roles: {
10772
10772
  push: (input: {
10773
- password: string | null | undefined;
10774
10773
  name: string;
10775
10774
  superuser: boolean | null | undefined;
10776
10775
  createDb: boolean | null | undefined;
@@ -10780,8 +10779,9 @@ declare const createDDL: () => {
10780
10779
  replication: boolean | null | undefined;
10781
10780
  bypassRls: boolean | null | undefined;
10782
10781
  connLimit: number | null | undefined;
10782
+ password: string | null | undefined;
10783
10783
  validUntil: string | null | undefined;
10784
- }, uniques?: ("password" | "name" | "superuser" | "createDb" | "createRole" | "inherit" | "canLogin" | "replication" | "bypassRls" | "connLimit" | "validUntil")[] | undefined) => {
10784
+ }, uniques?: ("name" | "superuser" | "createDb" | "createRole" | "inherit" | "canLogin" | "replication" | "bypassRls" | "connLimit" | "password" | "validUntil")[] | undefined) => {
10785
10785
  status: "OK" | "CONFLICT";
10786
10786
  data: {
10787
10787
  superuser: boolean | null;
@@ -10854,7 +10854,6 @@ declare const createDDL: () => {
10854
10854
  } | null;
10855
10855
  update: (config: {
10856
10856
  set: {
10857
- password?: string | ((item: string | null) => string | null) | null | undefined;
10858
10857
  name?: string | ((item: string) => string) | undefined;
10859
10858
  superuser?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
10860
10859
  createDb?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
@@ -10864,6 +10863,7 @@ declare const createDDL: () => {
10864
10863
  replication?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
10865
10864
  bypassRls?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
10866
10865
  connLimit?: number | ((item: number | null) => number | null) | null | undefined;
10866
+ password?: string | ((item: string | null) => string | null) | null | undefined;
10867
10867
  validUntil?: string | ((item: string | null) => string | null) | null | undefined;
10868
10868
  };
10869
10869
  where?: {
@@ -10942,10 +10942,6 @@ declare const createDDL: () => {
10942
10942
  $diffType: "alter";
10943
10943
  entityType: "roles";
10944
10944
  name: string;
10945
- password?: {
10946
- from: string | null;
10947
- to: string | null;
10948
- } | undefined;
10949
10945
  superuser?: {
10950
10946
  from: boolean | null;
10951
10947
  to: boolean | null;
@@ -10978,6 +10974,10 @@ declare const createDDL: () => {
10978
10974
  from: number | null;
10979
10975
  to: number | null;
10980
10976
  } | undefined;
10977
+ password?: {
10978
+ from: string | null;
10979
+ to: string | null;
10980
+ } | undefined;
10981
10981
  validUntil?: {
10982
10982
  from: string | null;
10983
10983
  to: string | null;
@@ -11014,14 +11014,14 @@ declare const createDDL: () => {
11014
11014
  };
11015
11015
  privileges: {
11016
11016
  push: (input: {
11017
- type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER";
11018
11017
  schema: string;
11019
11018
  table: string;
11020
11019
  name: string;
11020
+ type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER";
11021
11021
  grantor: string;
11022
11022
  grantee: string;
11023
11023
  isGrantable: boolean;
11024
- }, uniques?: ("type" | "schema" | "table" | "name" | "grantor" | "grantee" | "isGrantable")[] | undefined) => {
11024
+ }, uniques?: ("schema" | "table" | "name" | "type" | "grantor" | "grantee" | "isGrantable")[] | undefined) => {
11025
11025
  status: "OK" | "CONFLICT";
11026
11026
  data: {
11027
11027
  grantor: string;
@@ -11074,10 +11074,10 @@ declare const createDDL: () => {
11074
11074
  } | null;
11075
11075
  update: (config: {
11076
11076
  set: {
11077
- type?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER" | ((item: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") => "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") | undefined;
11078
11077
  schema?: string | ((item: string) => string) | undefined;
11079
11078
  table?: string | ((item: string) => string) | undefined;
11080
11079
  name?: string | ((item: string) => string) | undefined;
11080
+ type?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER" | ((item: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") => "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER") | undefined;
11081
11081
  grantor?: string | ((item: string) => string) | undefined;
11082
11082
  grantee?: string | ((item: string) => string) | undefined;
11083
11083
  isGrantable?: boolean | ((item: boolean) => boolean) | undefined;
@@ -11372,6 +11372,8 @@ declare const createDDL: () => {
11372
11372
  };
11373
11373
  views: {
11374
11374
  push: (input: {
11375
+ schema: string;
11376
+ name: string;
11375
11377
  with: {
11376
11378
  checkOption: "local" | "cascaded" | null;
11377
11379
  securityBarrier: boolean | null;
@@ -11395,14 +11397,12 @@ declare const createDDL: () => {
11395
11397
  logAutovacuumMinDuration: number | null;
11396
11398
  userCatalogTable: boolean | null;
11397
11399
  } | null | undefined;
11398
- schema: string;
11399
- name: string;
11400
11400
  using: string | null | undefined;
11401
11401
  definition: string | null | undefined;
11402
11402
  withNoData: boolean | null | undefined;
11403
11403
  tablespace: string | null | undefined;
11404
11404
  materialized: boolean;
11405
- }, uniques?: ("with" | "schema" | "name" | "using" | "definition" | "withNoData" | "tablespace" | "materialized")[] | undefined) => {
11405
+ }, uniques?: ("schema" | "name" | "with" | "using" | "definition" | "withNoData" | "tablespace" | "materialized")[] | undefined) => {
11406
11406
  status: "OK" | "CONFLICT";
11407
11407
  data: {
11408
11408
  schema: string;
@@ -11570,6 +11570,8 @@ declare const createDDL: () => {
11570
11570
  } | null;
11571
11571
  update: (config: {
11572
11572
  set: {
11573
+ schema?: string | ((item: string) => string) | undefined;
11574
+ name?: string | ((item: string) => string) | undefined;
11573
11575
  with?: {
11574
11576
  checkOption: "local" | "cascaded" | null;
11575
11577
  securityBarrier: boolean | null;
@@ -11637,8 +11639,6 @@ declare const createDDL: () => {
11637
11639
  logAutovacuumMinDuration: number | null;
11638
11640
  userCatalogTable: boolean | null;
11639
11641
  } | null) | null | undefined;
11640
- schema?: string | ((item: string) => string) | undefined;
11641
- name?: string | ((item: string) => string) | undefined;
11642
11642
  using?: string | ((item: string | null) => string | null) | null | undefined;
11643
11643
  definition?: string | ((item: string | null) => string | null) | null | undefined;
11644
11644
  withNoData?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;