drizzle-kit 1.0.0-beta.9-c26fd2f → 1.0.0-beta.9-40889e5
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.
- package/api-mysql.d.mts +23 -23
- package/api-mysql.d.ts +23 -23
- package/api-mysql.js +1 -1
- package/api-postgres.d.mts +130 -130
- package/api-postgres.d.ts +92 -92
- package/api-postgres.js +1 -1
- package/api-sqlite.js +1 -1
- package/{connections-ClgahPQV.js → connections-3BY1F1sW.js} +3 -3
- package/{dist-cjs-B9UsuYCY.js → dist-cjs-B-GnoOa6.js} +1 -0
- package/{dist-cjs-RfeMj_TG.js → dist-cjs-B0aRrr7i.js} +2 -2
- package/{dist-cjs-B0azHwSt.js → dist-cjs-B3w4mv3S.js} +4 -4
- package/{dist-cjs-CQCc4bni.js → dist-cjs-BpEO118q.js} +3 -3
- package/{dist-cjs-BRrAwDG_.js → dist-cjs-CkGeK2g2.js} +4 -4
- package/{multipart-parser-BIHEgf6v.js → multipart-parser-C3ZS0ZVz.js} +1 -1
- package/package.json +1 -1
- package/{signin-CC7OIM_f.js → signin-C7D4OStK.js} +1 -1
- package/{sso-oidc-C---moSr.js → sso-oidc-Dyjpw77b.js} +1 -1
- package/{sts-DO-EJLRz.js → sts-BoNcQhEL.js} +1 -1
- package/{sts-DKrc-wsf.js → sts-C4wSdILt.js} +2 -2
- package/{studio-DGVnFKZ0.js → studio-BHX68F3z.js} +3 -3
package/api-postgres.d.mts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as CasingType } from "./common-Bc72_W-g.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as zod3327 from "zod";
|
|
3
3
|
import { TypeOf } from "zod";
|
|
4
4
|
import { PGlite } from "@electric-sql/pglite";
|
|
5
5
|
import { PgAsyncDatabase } from "drizzle-orm/pg-core/async";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/validations/cli.d.ts
|
|
8
8
|
declare const entitiesParams: {
|
|
9
|
-
tablesFilter:
|
|
10
|
-
schemaFilter:
|
|
11
|
-
extensionsFilters:
|
|
12
|
-
entities:
|
|
13
|
-
roles:
|
|
14
|
-
provider:
|
|
15
|
-
include:
|
|
16
|
-
exclude:
|
|
17
|
-
}, "strip",
|
|
9
|
+
tablesFilter: zod3327.ZodOptional<zod3327.ZodUnion<[zod3327.ZodString, zod3327.ZodArray<zod3327.ZodString, "many">]>>;
|
|
10
|
+
schemaFilter: zod3327.ZodOptional<zod3327.ZodUnion<[zod3327.ZodString, zod3327.ZodArray<zod3327.ZodString, "many">]>>;
|
|
11
|
+
extensionsFilters: zod3327.ZodOptional<zod3327.ZodArray<zod3327.ZodLiteral<"postgis">, "many">>;
|
|
12
|
+
entities: zod3327.ZodOptional<zod3327.ZodObject<{
|
|
13
|
+
roles: zod3327.ZodDefault<zod3327.ZodOptional<zod3327.ZodUnion<[zod3327.ZodBoolean, zod3327.ZodObject<{
|
|
14
|
+
provider: zod3327.ZodOptional<zod3327.ZodString>;
|
|
15
|
+
include: zod3327.ZodOptional<zod3327.ZodArray<zod3327.ZodString, "many">>;
|
|
16
|
+
exclude: zod3327.ZodOptional<zod3327.ZodArray<zod3327.ZodString, "many">>;
|
|
17
|
+
}, "strip", zod3327.ZodTypeAny, {
|
|
18
18
|
provider?: string | undefined;
|
|
19
19
|
include?: string[] | undefined;
|
|
20
20
|
exclude?: string[] | undefined;
|
|
@@ -23,7 +23,7 @@ declare const entitiesParams: {
|
|
|
23
23
|
include?: string[] | undefined;
|
|
24
24
|
exclude?: string[] | undefined;
|
|
25
25
|
}>]>>>;
|
|
26
|
-
}, "strip",
|
|
26
|
+
}, "strip", zod3327.ZodTypeAny, {
|
|
27
27
|
roles: boolean | {
|
|
28
28
|
provider?: string | undefined;
|
|
29
29
|
include?: string[] | undefined;
|
|
@@ -49,50 +49,50 @@ type EntitiesFilterConfig = {
|
|
|
49
49
|
};
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region src/cli/validations/postgres.d.ts
|
|
52
|
-
declare const postgresCredentials:
|
|
53
|
-
driver:
|
|
54
|
-
host:
|
|
55
|
-
port:
|
|
56
|
-
user:
|
|
57
|
-
password:
|
|
58
|
-
database:
|
|
59
|
-
ssl:
|
|
60
|
-
}, "strip",
|
|
52
|
+
declare const postgresCredentials: zod3327.ZodUnion<[zod3327.ZodEffects<zod3327.ZodObject<{
|
|
53
|
+
driver: zod3327.ZodUndefined;
|
|
54
|
+
host: zod3327.ZodString;
|
|
55
|
+
port: zod3327.ZodOptional<zod3327.ZodNumber>;
|
|
56
|
+
user: zod3327.ZodOptional<zod3327.ZodString>;
|
|
57
|
+
password: zod3327.ZodOptional<zod3327.ZodString>;
|
|
58
|
+
database: zod3327.ZodString;
|
|
59
|
+
ssl: zod3327.ZodOptional<zod3327.ZodUnion<[zod3327.ZodLiteral<"require">, zod3327.ZodLiteral<"allow">, zod3327.ZodLiteral<"prefer">, zod3327.ZodLiteral<"verify-full">, zod3327.ZodBoolean, zod3327.ZodObject<{}, "passthrough", zod3327.ZodTypeAny, zod3327.objectOutputType<{}, zod3327.ZodTypeAny, "passthrough">, zod3327.objectInputType<{}, zod3327.ZodTypeAny, "passthrough">>]>>;
|
|
60
|
+
}, "strip", zod3327.ZodTypeAny, {
|
|
61
61
|
host: string;
|
|
62
62
|
database: string;
|
|
63
|
-
password?: string | undefined;
|
|
64
|
-
driver?: undefined;
|
|
65
63
|
port?: number | undefined;
|
|
66
64
|
user?: string | undefined;
|
|
67
|
-
|
|
65
|
+
password?: string | undefined;
|
|
66
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3327.objectOutputType<{}, zod3327.ZodTypeAny, "passthrough"> | undefined;
|
|
67
|
+
driver?: undefined;
|
|
68
68
|
}, {
|
|
69
69
|
host: string;
|
|
70
70
|
database: string;
|
|
71
|
-
password?: string | undefined;
|
|
72
|
-
driver?: undefined;
|
|
73
71
|
port?: number | undefined;
|
|
74
72
|
user?: string | undefined;
|
|
75
|
-
|
|
73
|
+
password?: string | undefined;
|
|
74
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3327.objectInputType<{}, zod3327.ZodTypeAny, "passthrough"> | undefined;
|
|
75
|
+
driver?: undefined;
|
|
76
76
|
}>, Omit<{
|
|
77
77
|
host: string;
|
|
78
78
|
database: string;
|
|
79
|
-
password?: string | undefined;
|
|
80
|
-
driver?: undefined;
|
|
81
79
|
port?: number | undefined;
|
|
82
80
|
user?: string | undefined;
|
|
83
|
-
|
|
81
|
+
password?: string | undefined;
|
|
82
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3327.objectOutputType<{}, zod3327.ZodTypeAny, "passthrough"> | undefined;
|
|
83
|
+
driver?: undefined;
|
|
84
84
|
}, "driver">, {
|
|
85
85
|
host: string;
|
|
86
86
|
database: string;
|
|
87
|
-
password?: string | undefined;
|
|
88
|
-
driver?: undefined;
|
|
89
87
|
port?: number | undefined;
|
|
90
88
|
user?: string | undefined;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
driver
|
|
94
|
-
|
|
95
|
-
|
|
89
|
+
password?: string | undefined;
|
|
90
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3327.objectInputType<{}, zod3327.ZodTypeAny, "passthrough"> | undefined;
|
|
91
|
+
driver?: undefined;
|
|
92
|
+
}>, zod3327.ZodEffects<zod3327.ZodObject<{
|
|
93
|
+
driver: zod3327.ZodUndefined;
|
|
94
|
+
url: zod3327.ZodString;
|
|
95
|
+
}, "strip", zod3327.ZodTypeAny, {
|
|
96
96
|
url: string;
|
|
97
97
|
driver?: undefined;
|
|
98
98
|
}, {
|
|
@@ -103,30 +103,30 @@ declare const postgresCredentials: zod3015.ZodUnion<[zod3015.ZodEffects<zod3015.
|
|
|
103
103
|
}, {
|
|
104
104
|
url: string;
|
|
105
105
|
driver?: undefined;
|
|
106
|
-
}>,
|
|
107
|
-
driver:
|
|
108
|
-
database:
|
|
109
|
-
secretArn:
|
|
110
|
-
resourceArn:
|
|
111
|
-
}, "strip",
|
|
112
|
-
driver: "aws-data-api";
|
|
106
|
+
}>, zod3327.ZodObject<{
|
|
107
|
+
driver: zod3327.ZodLiteral<"aws-data-api">;
|
|
108
|
+
database: zod3327.ZodString;
|
|
109
|
+
secretArn: zod3327.ZodString;
|
|
110
|
+
resourceArn: zod3327.ZodString;
|
|
111
|
+
}, "strip", zod3327.ZodTypeAny, {
|
|
113
112
|
database: string;
|
|
113
|
+
driver: "aws-data-api";
|
|
114
114
|
secretArn: string;
|
|
115
115
|
resourceArn: string;
|
|
116
116
|
}, {
|
|
117
|
-
driver: "aws-data-api";
|
|
118
117
|
database: string;
|
|
118
|
+
driver: "aws-data-api";
|
|
119
119
|
secretArn: string;
|
|
120
120
|
resourceArn: string;
|
|
121
|
-
}>,
|
|
122
|
-
driver:
|
|
123
|
-
url:
|
|
124
|
-
}, "strip",
|
|
125
|
-
driver: "pglite";
|
|
121
|
+
}>, zod3327.ZodObject<{
|
|
122
|
+
driver: zod3327.ZodLiteral<"pglite">;
|
|
123
|
+
url: zod3327.ZodString;
|
|
124
|
+
}, "strip", zod3327.ZodTypeAny, {
|
|
126
125
|
url: string;
|
|
127
|
-
}, {
|
|
128
126
|
driver: "pglite";
|
|
127
|
+
}, {
|
|
129
128
|
url: string;
|
|
129
|
+
driver: "pglite";
|
|
130
130
|
}>]>;
|
|
131
131
|
type PostgresCredentials = TypeOf<typeof postgresCredentials>;
|
|
132
132
|
//#endregion
|
|
@@ -718,6 +718,10 @@ declare const createDDL: () => {
|
|
|
718
718
|
schema: string;
|
|
719
719
|
table: string;
|
|
720
720
|
name: string;
|
|
721
|
+
with?: {
|
|
722
|
+
from: string;
|
|
723
|
+
to: string;
|
|
724
|
+
} | undefined;
|
|
721
725
|
columns?: {
|
|
722
726
|
from: {
|
|
723
727
|
value: string;
|
|
@@ -740,10 +744,6 @@ declare const createDDL: () => {
|
|
|
740
744
|
} | null;
|
|
741
745
|
}[];
|
|
742
746
|
} | undefined;
|
|
743
|
-
with?: {
|
|
744
|
-
from: string;
|
|
745
|
-
to: string;
|
|
746
|
-
} | undefined;
|
|
747
747
|
nameExplicit?: {
|
|
748
748
|
from: boolean;
|
|
749
749
|
to: boolean;
|
|
@@ -1019,6 +1019,10 @@ declare const createDDL: () => {
|
|
|
1019
1019
|
$diffType: "alter";
|
|
1020
1020
|
entityType: "roles";
|
|
1021
1021
|
name: string;
|
|
1022
|
+
password?: {
|
|
1023
|
+
from: string | null;
|
|
1024
|
+
to: string | null;
|
|
1025
|
+
} | undefined;
|
|
1022
1026
|
superuser?: {
|
|
1023
1027
|
from: boolean | null;
|
|
1024
1028
|
to: boolean | null;
|
|
@@ -1051,10 +1055,6 @@ declare const createDDL: () => {
|
|
|
1051
1055
|
from: number | null;
|
|
1052
1056
|
to: number | null;
|
|
1053
1057
|
} | undefined;
|
|
1054
|
-
password?: {
|
|
1055
|
-
from: string | null;
|
|
1056
|
-
to: string | null;
|
|
1057
|
-
} | undefined;
|
|
1058
1058
|
validUntil?: {
|
|
1059
1059
|
from: string | null;
|
|
1060
1060
|
to: string | null;
|
|
@@ -1488,6 +1488,10 @@ declare const createDDL: () => {
|
|
|
1488
1488
|
schema: string;
|
|
1489
1489
|
table: string;
|
|
1490
1490
|
name: string;
|
|
1491
|
+
with?: {
|
|
1492
|
+
from: string;
|
|
1493
|
+
to: string;
|
|
1494
|
+
} | undefined;
|
|
1491
1495
|
columns?: {
|
|
1492
1496
|
from: {
|
|
1493
1497
|
value: string;
|
|
@@ -1510,10 +1514,6 @@ declare const createDDL: () => {
|
|
|
1510
1514
|
} | null;
|
|
1511
1515
|
}[];
|
|
1512
1516
|
} | undefined;
|
|
1513
|
-
with?: {
|
|
1514
|
-
from: string;
|
|
1515
|
-
to: string;
|
|
1516
|
-
} | undefined;
|
|
1517
1517
|
nameExplicit?: {
|
|
1518
1518
|
from: boolean;
|
|
1519
1519
|
to: boolean;
|
|
@@ -1783,6 +1783,10 @@ declare const createDDL: () => {
|
|
|
1783
1783
|
$diffType: "alter";
|
|
1784
1784
|
entityType: "roles";
|
|
1785
1785
|
name: string;
|
|
1786
|
+
password?: {
|
|
1787
|
+
from: string | null;
|
|
1788
|
+
to: string | null;
|
|
1789
|
+
} | undefined;
|
|
1786
1790
|
superuser?: {
|
|
1787
1791
|
from: boolean | null;
|
|
1788
1792
|
to: boolean | null;
|
|
@@ -1815,10 +1819,6 @@ declare const createDDL: () => {
|
|
|
1815
1819
|
from: number | null;
|
|
1816
1820
|
to: number | null;
|
|
1817
1821
|
} | undefined;
|
|
1818
|
-
password?: {
|
|
1819
|
-
from: string | null;
|
|
1820
|
-
to: string | null;
|
|
1821
|
-
} | undefined;
|
|
1822
1822
|
validUntil?: {
|
|
1823
1823
|
from: string | null;
|
|
1824
1824
|
to: string | null;
|
|
@@ -2134,6 +2134,7 @@ declare const createDDL: () => {
|
|
|
2134
2134
|
schema: string;
|
|
2135
2135
|
table: string;
|
|
2136
2136
|
name: string;
|
|
2137
|
+
with: string;
|
|
2137
2138
|
columns: {
|
|
2138
2139
|
value: string;
|
|
2139
2140
|
isExpression: boolean;
|
|
@@ -2144,7 +2145,6 @@ declare const createDDL: () => {
|
|
|
2144
2145
|
default: boolean;
|
|
2145
2146
|
} | null;
|
|
2146
2147
|
}[];
|
|
2147
|
-
with: string;
|
|
2148
2148
|
nameExplicit: boolean;
|
|
2149
2149
|
isUnique: boolean;
|
|
2150
2150
|
where: string | null;
|
|
@@ -2208,6 +2208,7 @@ declare const createDDL: () => {
|
|
|
2208
2208
|
$diffType: "create";
|
|
2209
2209
|
entityType: "roles";
|
|
2210
2210
|
name: string;
|
|
2211
|
+
password: string | null;
|
|
2211
2212
|
superuser: boolean | null;
|
|
2212
2213
|
createDb: boolean | null;
|
|
2213
2214
|
createRole: boolean | null;
|
|
@@ -2216,7 +2217,6 @@ declare const createDDL: () => {
|
|
|
2216
2217
|
replication: boolean | null;
|
|
2217
2218
|
bypassRls: boolean | null;
|
|
2218
2219
|
connLimit: number | null;
|
|
2219
|
-
password: string | null;
|
|
2220
2220
|
validUntil: string | null;
|
|
2221
2221
|
};
|
|
2222
2222
|
privileges: {
|
|
@@ -2323,6 +2323,7 @@ declare const createDDL: () => {
|
|
|
2323
2323
|
schema: string;
|
|
2324
2324
|
table: string;
|
|
2325
2325
|
name: string;
|
|
2326
|
+
with: string;
|
|
2326
2327
|
columns: {
|
|
2327
2328
|
value: string;
|
|
2328
2329
|
isExpression: boolean;
|
|
@@ -2333,7 +2334,6 @@ declare const createDDL: () => {
|
|
|
2333
2334
|
default: boolean;
|
|
2334
2335
|
} | null;
|
|
2335
2336
|
}[];
|
|
2336
|
-
with: string;
|
|
2337
2337
|
nameExplicit: boolean;
|
|
2338
2338
|
isUnique: boolean;
|
|
2339
2339
|
where: string | null;
|
|
@@ -2391,6 +2391,7 @@ declare const createDDL: () => {
|
|
|
2391
2391
|
$diffType: "create";
|
|
2392
2392
|
entityType: "roles";
|
|
2393
2393
|
name: string;
|
|
2394
|
+
password: string | null;
|
|
2394
2395
|
superuser: boolean | null;
|
|
2395
2396
|
createDb: boolean | null;
|
|
2396
2397
|
createRole: boolean | null;
|
|
@@ -2399,7 +2400,6 @@ declare const createDDL: () => {
|
|
|
2399
2400
|
replication: boolean | null;
|
|
2400
2401
|
bypassRls: boolean | null;
|
|
2401
2402
|
connLimit: number | null;
|
|
2402
|
-
password: string | null;
|
|
2403
2403
|
validUntil: string | null;
|
|
2404
2404
|
} | {
|
|
2405
2405
|
$diffType: "create";
|
|
@@ -2509,6 +2509,7 @@ declare const createDDL: () => {
|
|
|
2509
2509
|
schema: string;
|
|
2510
2510
|
table: string;
|
|
2511
2511
|
name: string;
|
|
2512
|
+
with: string;
|
|
2512
2513
|
columns: {
|
|
2513
2514
|
value: string;
|
|
2514
2515
|
isExpression: boolean;
|
|
@@ -2519,7 +2520,6 @@ declare const createDDL: () => {
|
|
|
2519
2520
|
default: boolean;
|
|
2520
2521
|
} | null;
|
|
2521
2522
|
}[];
|
|
2522
|
-
with: string;
|
|
2523
2523
|
nameExplicit: boolean;
|
|
2524
2524
|
isUnique: boolean;
|
|
2525
2525
|
where: string | null;
|
|
@@ -2583,6 +2583,7 @@ declare const createDDL: () => {
|
|
|
2583
2583
|
$diffType: "drop";
|
|
2584
2584
|
entityType: "roles";
|
|
2585
2585
|
name: string;
|
|
2586
|
+
password: string | null;
|
|
2586
2587
|
superuser: boolean | null;
|
|
2587
2588
|
createDb: boolean | null;
|
|
2588
2589
|
createRole: boolean | null;
|
|
@@ -2591,7 +2592,6 @@ declare const createDDL: () => {
|
|
|
2591
2592
|
replication: boolean | null;
|
|
2592
2593
|
bypassRls: boolean | null;
|
|
2593
2594
|
connLimit: number | null;
|
|
2594
|
-
password: string | null;
|
|
2595
2595
|
validUntil: string | null;
|
|
2596
2596
|
};
|
|
2597
2597
|
privileges: {
|
|
@@ -2698,6 +2698,7 @@ declare const createDDL: () => {
|
|
|
2698
2698
|
schema: string;
|
|
2699
2699
|
table: string;
|
|
2700
2700
|
name: string;
|
|
2701
|
+
with: string;
|
|
2701
2702
|
columns: {
|
|
2702
2703
|
value: string;
|
|
2703
2704
|
isExpression: boolean;
|
|
@@ -2708,7 +2709,6 @@ declare const createDDL: () => {
|
|
|
2708
2709
|
default: boolean;
|
|
2709
2710
|
} | null;
|
|
2710
2711
|
}[];
|
|
2711
|
-
with: string;
|
|
2712
2712
|
nameExplicit: boolean;
|
|
2713
2713
|
isUnique: boolean;
|
|
2714
2714
|
where: string | null;
|
|
@@ -2766,6 +2766,7 @@ declare const createDDL: () => {
|
|
|
2766
2766
|
$diffType: "drop";
|
|
2767
2767
|
entityType: "roles";
|
|
2768
2768
|
name: string;
|
|
2769
|
+
password: string | null;
|
|
2769
2770
|
superuser: boolean | null;
|
|
2770
2771
|
createDb: boolean | null;
|
|
2771
2772
|
createRole: boolean | null;
|
|
@@ -2774,7 +2775,6 @@ declare const createDDL: () => {
|
|
|
2774
2775
|
replication: boolean | null;
|
|
2775
2776
|
bypassRls: boolean | null;
|
|
2776
2777
|
connLimit: number | null;
|
|
2777
|
-
password: string | null;
|
|
2778
2778
|
validUntil: string | null;
|
|
2779
2779
|
} | {
|
|
2780
2780
|
$diffType: "drop";
|
|
@@ -2925,6 +2925,7 @@ declare const createDDL: () => {
|
|
|
2925
2925
|
schema: string;
|
|
2926
2926
|
table: string;
|
|
2927
2927
|
name: string;
|
|
2928
|
+
with: string;
|
|
2928
2929
|
columns: {
|
|
2929
2930
|
value: string;
|
|
2930
2931
|
isExpression: boolean;
|
|
@@ -2935,7 +2936,6 @@ declare const createDDL: () => {
|
|
|
2935
2936
|
default: boolean;
|
|
2936
2937
|
} | null;
|
|
2937
2938
|
}[];
|
|
2938
|
-
with: string;
|
|
2939
2939
|
nameExplicit: boolean;
|
|
2940
2940
|
isUnique: boolean;
|
|
2941
2941
|
where: string | null;
|
|
@@ -2947,6 +2947,7 @@ declare const createDDL: () => {
|
|
|
2947
2947
|
schema: string;
|
|
2948
2948
|
table: string;
|
|
2949
2949
|
name: string;
|
|
2950
|
+
with: string;
|
|
2950
2951
|
columns: {
|
|
2951
2952
|
value: string;
|
|
2952
2953
|
isExpression: boolean;
|
|
@@ -2957,7 +2958,6 @@ declare const createDDL: () => {
|
|
|
2957
2958
|
default: boolean;
|
|
2958
2959
|
} | null;
|
|
2959
2960
|
}[];
|
|
2960
|
-
with: string;
|
|
2961
2961
|
nameExplicit: boolean;
|
|
2962
2962
|
isUnique: boolean;
|
|
2963
2963
|
where: string | null;
|
|
@@ -3069,6 +3069,7 @@ declare const createDDL: () => {
|
|
|
3069
3069
|
$diffType: "create";
|
|
3070
3070
|
entityType: "roles";
|
|
3071
3071
|
name: string;
|
|
3072
|
+
password: string | null;
|
|
3072
3073
|
superuser: boolean | null;
|
|
3073
3074
|
createDb: boolean | null;
|
|
3074
3075
|
createRole: boolean | null;
|
|
@@ -3077,12 +3078,12 @@ declare const createDDL: () => {
|
|
|
3077
3078
|
replication: boolean | null;
|
|
3078
3079
|
bypassRls: boolean | null;
|
|
3079
3080
|
connLimit: number | null;
|
|
3080
|
-
password: string | null;
|
|
3081
3081
|
validUntil: string | null;
|
|
3082
3082
|
} | {
|
|
3083
3083
|
$diffType: "drop";
|
|
3084
3084
|
entityType: "roles";
|
|
3085
3085
|
name: string;
|
|
3086
|
+
password: string | null;
|
|
3086
3087
|
superuser: boolean | null;
|
|
3087
3088
|
createDb: boolean | null;
|
|
3088
3089
|
createRole: boolean | null;
|
|
@@ -3091,7 +3092,6 @@ declare const createDDL: () => {
|
|
|
3091
3092
|
replication: boolean | null;
|
|
3092
3093
|
bypassRls: boolean | null;
|
|
3093
3094
|
connLimit: number | null;
|
|
3094
|
-
password: string | null;
|
|
3095
3095
|
validUntil: string | null;
|
|
3096
3096
|
};
|
|
3097
3097
|
privileges: {
|
|
@@ -3252,6 +3252,7 @@ declare const createDDL: () => {
|
|
|
3252
3252
|
schema: string;
|
|
3253
3253
|
table: string;
|
|
3254
3254
|
name: string;
|
|
3255
|
+
with: string;
|
|
3255
3256
|
columns: {
|
|
3256
3257
|
value: string;
|
|
3257
3258
|
isExpression: boolean;
|
|
@@ -3262,7 +3263,6 @@ declare const createDDL: () => {
|
|
|
3262
3263
|
default: boolean;
|
|
3263
3264
|
} | null;
|
|
3264
3265
|
}[];
|
|
3265
|
-
with: string;
|
|
3266
3266
|
nameExplicit: boolean;
|
|
3267
3267
|
isUnique: boolean;
|
|
3268
3268
|
where: string | null;
|
|
@@ -3320,6 +3320,7 @@ declare const createDDL: () => {
|
|
|
3320
3320
|
$diffType: "create";
|
|
3321
3321
|
entityType: "roles";
|
|
3322
3322
|
name: string;
|
|
3323
|
+
password: string | null;
|
|
3323
3324
|
superuser: boolean | null;
|
|
3324
3325
|
createDb: boolean | null;
|
|
3325
3326
|
createRole: boolean | null;
|
|
@@ -3328,7 +3329,6 @@ declare const createDDL: () => {
|
|
|
3328
3329
|
replication: boolean | null;
|
|
3329
3330
|
bypassRls: boolean | null;
|
|
3330
3331
|
connLimit: number | null;
|
|
3331
|
-
password: string | null;
|
|
3332
3332
|
validUntil: string | null;
|
|
3333
3333
|
} | {
|
|
3334
3334
|
$diffType: "create";
|
|
@@ -3431,6 +3431,7 @@ declare const createDDL: () => {
|
|
|
3431
3431
|
schema: string;
|
|
3432
3432
|
table: string;
|
|
3433
3433
|
name: string;
|
|
3434
|
+
with: string;
|
|
3434
3435
|
columns: {
|
|
3435
3436
|
value: string;
|
|
3436
3437
|
isExpression: boolean;
|
|
@@ -3441,7 +3442,6 @@ declare const createDDL: () => {
|
|
|
3441
3442
|
default: boolean;
|
|
3442
3443
|
} | null;
|
|
3443
3444
|
}[];
|
|
3444
|
-
with: string;
|
|
3445
3445
|
nameExplicit: boolean;
|
|
3446
3446
|
isUnique: boolean;
|
|
3447
3447
|
where: string | null;
|
|
@@ -3499,6 +3499,7 @@ declare const createDDL: () => {
|
|
|
3499
3499
|
$diffType: "drop";
|
|
3500
3500
|
entityType: "roles";
|
|
3501
3501
|
name: string;
|
|
3502
|
+
password: string | null;
|
|
3502
3503
|
superuser: boolean | null;
|
|
3503
3504
|
createDb: boolean | null;
|
|
3504
3505
|
createRole: boolean | null;
|
|
@@ -3507,7 +3508,6 @@ declare const createDDL: () => {
|
|
|
3507
3508
|
replication: boolean | null;
|
|
3508
3509
|
bypassRls: boolean | null;
|
|
3509
3510
|
connLimit: number | null;
|
|
3510
|
-
password: string | null;
|
|
3511
3511
|
validUntil: string | null;
|
|
3512
3512
|
} | {
|
|
3513
3513
|
$diffType: "drop";
|
|
@@ -6018,7 +6018,7 @@ declare const createDDL: () => {
|
|
|
6018
6018
|
materialized: boolean;
|
|
6019
6019
|
name: string;
|
|
6020
6020
|
entityType: "views";
|
|
6021
|
-
}, uniques?: "name"[] | ("schema" | "name" | "isRlsEnabled")[] | ("
|
|
6021
|
+
}, 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) => {
|
|
6022
6022
|
status: "OK" | "CONFLICT";
|
|
6023
6023
|
data: {
|
|
6024
6024
|
name: string;
|
|
@@ -6917,9 +6917,9 @@ declare const createDDL: () => {
|
|
|
6917
6917
|
} | undefined;
|
|
6918
6918
|
} | {
|
|
6919
6919
|
set: {
|
|
6920
|
+
values?: string[] | ((item: string) => string) | undefined;
|
|
6920
6921
|
schema?: string | ((item: string) => string) | undefined;
|
|
6921
6922
|
name?: string | ((item: string) => string) | undefined;
|
|
6922
|
-
values?: string[] | ((item: string) => string) | undefined;
|
|
6923
6923
|
};
|
|
6924
6924
|
where?: {
|
|
6925
6925
|
schema?: string | undefined;
|
|
@@ -6931,10 +6931,10 @@ declare const createDDL: () => {
|
|
|
6931
6931
|
} | undefined;
|
|
6932
6932
|
} | {
|
|
6933
6933
|
set: {
|
|
6934
|
+
type?: string | ((item: string) => string) | undefined;
|
|
6934
6935
|
schema?: string | ((item: string) => string) | undefined;
|
|
6935
6936
|
table?: string | ((item: string) => string) | undefined;
|
|
6936
6937
|
name?: string | ((item: string) => string) | undefined;
|
|
6937
|
-
type?: string | ((item: string) => string) | undefined;
|
|
6938
6938
|
typeSchema?: string | ((item: string | null) => string | null) | null | undefined;
|
|
6939
6939
|
notNull?: boolean | ((item: boolean) => boolean) | undefined;
|
|
6940
6940
|
dimensions?: number | ((item: number) => number) | undefined;
|
|
@@ -7005,6 +7005,7 @@ declare const createDDL: () => {
|
|
|
7005
7005
|
} | undefined;
|
|
7006
7006
|
} | {
|
|
7007
7007
|
set: {
|
|
7008
|
+
with?: string | ((item: string) => string) | undefined;
|
|
7008
7009
|
schema?: string | ((item: string) => string) | undefined;
|
|
7009
7010
|
table?: string | ((item: string) => string) | undefined;
|
|
7010
7011
|
name?: string | ((item: string) => string) | undefined;
|
|
@@ -7036,7 +7037,6 @@ declare const createDDL: () => {
|
|
|
7036
7037
|
default: boolean;
|
|
7037
7038
|
} | null;
|
|
7038
7039
|
}) | undefined;
|
|
7039
|
-
with?: string | ((item: string) => string) | undefined;
|
|
7040
7040
|
nameExplicit?: boolean | ((item: boolean) => boolean) | undefined;
|
|
7041
7041
|
isUnique?: boolean | ((item: boolean) => boolean) | undefined;
|
|
7042
7042
|
where?: string | ((item: string | null) => string | null) | null | undefined;
|
|
@@ -7146,10 +7146,10 @@ declare const createDDL: () => {
|
|
|
7146
7146
|
} | undefined;
|
|
7147
7147
|
} | {
|
|
7148
7148
|
set: {
|
|
7149
|
+
value?: string | ((item: string) => string) | undefined;
|
|
7149
7150
|
schema?: string | ((item: string) => string) | undefined;
|
|
7150
7151
|
table?: string | ((item: string) => string) | undefined;
|
|
7151
7152
|
name?: string | ((item: string) => string) | undefined;
|
|
7152
|
-
value?: string | ((item: string) => string) | undefined;
|
|
7153
7153
|
};
|
|
7154
7154
|
where?: {
|
|
7155
7155
|
schema?: string | undefined;
|
|
@@ -7182,6 +7182,7 @@ declare const createDDL: () => {
|
|
|
7182
7182
|
} | undefined;
|
|
7183
7183
|
} | {
|
|
7184
7184
|
set: {
|
|
7185
|
+
password?: string | ((item: string | null) => string | null) | null | undefined;
|
|
7185
7186
|
name?: string | ((item: string) => string) | undefined;
|
|
7186
7187
|
superuser?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
7187
7188
|
createDb?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
@@ -7191,7 +7192,6 @@ declare const createDDL: () => {
|
|
|
7191
7192
|
replication?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
7192
7193
|
bypassRls?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
7193
7194
|
connLimit?: number | ((item: number | null) => number | null) | null | undefined;
|
|
7194
|
-
password?: string | ((item: string | null) => string | null) | null | undefined;
|
|
7195
7195
|
validUntil?: string | ((item: string | null) => string | null) | null | undefined;
|
|
7196
7196
|
};
|
|
7197
7197
|
where?: {
|
|
@@ -7210,10 +7210,10 @@ declare const createDDL: () => {
|
|
|
7210
7210
|
} | undefined;
|
|
7211
7211
|
} | {
|
|
7212
7212
|
set: {
|
|
7213
|
+
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;
|
|
7213
7214
|
schema?: string | ((item: string) => string) | undefined;
|
|
7214
7215
|
table?: string | ((item: string) => string) | undefined;
|
|
7215
7216
|
name?: string | ((item: string) => string) | undefined;
|
|
7216
|
-
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;
|
|
7217
7217
|
grantor?: string | ((item: string) => string) | undefined;
|
|
7218
7218
|
grantee?: string | ((item: string) => string) | undefined;
|
|
7219
7219
|
isGrantable?: boolean | ((item: boolean) => boolean) | undefined;
|
|
@@ -7254,8 +7254,6 @@ declare const createDDL: () => {
|
|
|
7254
7254
|
} | undefined;
|
|
7255
7255
|
} | {
|
|
7256
7256
|
set: {
|
|
7257
|
-
schema?: string | ((item: string) => string) | undefined;
|
|
7258
|
-
name?: string | ((item: string) => string) | undefined;
|
|
7259
7257
|
with?: {
|
|
7260
7258
|
checkOption: "local" | "cascaded" | null;
|
|
7261
7259
|
securityBarrier: boolean | null;
|
|
@@ -7323,6 +7321,8 @@ declare const createDDL: () => {
|
|
|
7323
7321
|
logAutovacuumMinDuration: number | null;
|
|
7324
7322
|
userCatalogTable: boolean | null;
|
|
7325
7323
|
} | null) | null | undefined;
|
|
7324
|
+
schema?: string | ((item: string) => string) | undefined;
|
|
7325
|
+
name?: string | ((item: string) => string) | undefined;
|
|
7326
7326
|
using?: string | ((item: string | null) => string | null) | null | undefined;
|
|
7327
7327
|
definition?: string | ((item: string | null) => string | null) | null | undefined;
|
|
7328
7328
|
withNoData?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
@@ -8219,6 +8219,10 @@ declare const createDDL: () => {
|
|
|
8219
8219
|
schema: string;
|
|
8220
8220
|
table: string;
|
|
8221
8221
|
name: string;
|
|
8222
|
+
with?: {
|
|
8223
|
+
from: string;
|
|
8224
|
+
to: string;
|
|
8225
|
+
} | undefined;
|
|
8222
8226
|
columns?: {
|
|
8223
8227
|
from: {
|
|
8224
8228
|
value: string;
|
|
@@ -8241,10 +8245,6 @@ declare const createDDL: () => {
|
|
|
8241
8245
|
} | null;
|
|
8242
8246
|
}[];
|
|
8243
8247
|
} | undefined;
|
|
8244
|
-
with?: {
|
|
8245
|
-
from: string;
|
|
8246
|
-
to: string;
|
|
8247
|
-
} | undefined;
|
|
8248
8248
|
nameExplicit?: {
|
|
8249
8249
|
from: boolean;
|
|
8250
8250
|
to: boolean;
|
|
@@ -8514,6 +8514,10 @@ declare const createDDL: () => {
|
|
|
8514
8514
|
$diffType: "alter";
|
|
8515
8515
|
entityType: "roles";
|
|
8516
8516
|
name: string;
|
|
8517
|
+
password?: {
|
|
8518
|
+
from: string | null;
|
|
8519
|
+
to: string | null;
|
|
8520
|
+
} | undefined;
|
|
8517
8521
|
superuser?: {
|
|
8518
8522
|
from: boolean | null;
|
|
8519
8523
|
to: boolean | null;
|
|
@@ -8546,10 +8550,6 @@ declare const createDDL: () => {
|
|
|
8546
8550
|
from: number | null;
|
|
8547
8551
|
to: number | null;
|
|
8548
8552
|
} | undefined;
|
|
8549
|
-
password?: {
|
|
8550
|
-
from: string | null;
|
|
8551
|
-
to: string | null;
|
|
8552
|
-
} | undefined;
|
|
8553
8553
|
validUntil?: {
|
|
8554
8554
|
from: string | null;
|
|
8555
8555
|
to: string | null;
|
|
@@ -8976,10 +8976,10 @@ declare const createDDL: () => {
|
|
|
8976
8976
|
};
|
|
8977
8977
|
enums: {
|
|
8978
8978
|
push: (input: {
|
|
8979
|
+
values: string[];
|
|
8979
8980
|
schema: string;
|
|
8980
8981
|
name: string;
|
|
8981
|
-
|
|
8982
|
-
}, uniques?: ("schema" | "name" | "values")[] | undefined) => {
|
|
8982
|
+
}, uniques?: ("values" | "schema" | "name")[] | undefined) => {
|
|
8983
8983
|
status: "OK" | "CONFLICT";
|
|
8984
8984
|
data: {
|
|
8985
8985
|
schema: string;
|
|
@@ -9016,9 +9016,9 @@ declare const createDDL: () => {
|
|
|
9016
9016
|
} | null;
|
|
9017
9017
|
update: (config: {
|
|
9018
9018
|
set: {
|
|
9019
|
+
values?: string[] | ((item: string) => string) | undefined;
|
|
9019
9020
|
schema?: string | ((item: string) => string) | undefined;
|
|
9020
9021
|
name?: string | ((item: string) => string) | undefined;
|
|
9021
|
-
values?: string[] | ((item: string) => string) | undefined;
|
|
9022
9022
|
};
|
|
9023
9023
|
where?: {
|
|
9024
9024
|
schema?: string | undefined;
|
|
@@ -9081,10 +9081,10 @@ declare const createDDL: () => {
|
|
|
9081
9081
|
};
|
|
9082
9082
|
columns: {
|
|
9083
9083
|
push: (input: {
|
|
9084
|
+
type: string;
|
|
9084
9085
|
schema: string;
|
|
9085
9086
|
table: string;
|
|
9086
9087
|
name: string;
|
|
9087
|
-
type: string;
|
|
9088
9088
|
typeSchema: string | null | undefined;
|
|
9089
9089
|
notNull: boolean;
|
|
9090
9090
|
dimensions: number;
|
|
@@ -9103,7 +9103,7 @@ declare const createDDL: () => {
|
|
|
9103
9103
|
cache: number | null;
|
|
9104
9104
|
cycle: boolean | null;
|
|
9105
9105
|
} | null | undefined;
|
|
9106
|
-
}, uniques?: ("
|
|
9106
|
+
}, uniques?: ("type" | "schema" | "table" | "name" | "typeSchema" | "notNull" | "dimensions" | "default" | "generated" | "identity")[] | undefined) => {
|
|
9107
9107
|
status: "OK" | "CONFLICT";
|
|
9108
9108
|
data: {
|
|
9109
9109
|
schema: string;
|
|
@@ -9231,10 +9231,10 @@ declare const createDDL: () => {
|
|
|
9231
9231
|
} | null;
|
|
9232
9232
|
update: (config: {
|
|
9233
9233
|
set: {
|
|
9234
|
+
type?: string | ((item: string) => string) | undefined;
|
|
9234
9235
|
schema?: string | ((item: string) => string) | undefined;
|
|
9235
9236
|
table?: string | ((item: string) => string) | undefined;
|
|
9236
9237
|
name?: string | ((item: string) => string) | undefined;
|
|
9237
|
-
type?: string | ((item: string) => string) | undefined;
|
|
9238
9238
|
typeSchema?: string | ((item: string | null) => string | null) | null | undefined;
|
|
9239
9239
|
notNull?: boolean | ((item: boolean) => boolean) | undefined;
|
|
9240
9240
|
dimensions?: number | ((item: number) => number) | undefined;
|
|
@@ -9517,6 +9517,7 @@ declare const createDDL: () => {
|
|
|
9517
9517
|
};
|
|
9518
9518
|
indexes: {
|
|
9519
9519
|
push: (input: {
|
|
9520
|
+
with: string;
|
|
9520
9521
|
schema: string;
|
|
9521
9522
|
table: string;
|
|
9522
9523
|
name: string;
|
|
@@ -9530,13 +9531,12 @@ declare const createDDL: () => {
|
|
|
9530
9531
|
default: boolean;
|
|
9531
9532
|
} | null;
|
|
9532
9533
|
}[];
|
|
9533
|
-
with: string;
|
|
9534
9534
|
nameExplicit: boolean;
|
|
9535
9535
|
isUnique: boolean;
|
|
9536
9536
|
where: string | null | undefined;
|
|
9537
9537
|
method: string;
|
|
9538
9538
|
concurrently: boolean;
|
|
9539
|
-
}, uniques?: ("
|
|
9539
|
+
}, uniques?: ("with" | "schema" | "table" | "name" | "columns" | "nameExplicit" | "isUnique" | "where" | "method" | "concurrently")[] | undefined) => {
|
|
9540
9540
|
status: "OK" | "CONFLICT";
|
|
9541
9541
|
data: {
|
|
9542
9542
|
schema: string;
|
|
@@ -9671,6 +9671,7 @@ declare const createDDL: () => {
|
|
|
9671
9671
|
} | null;
|
|
9672
9672
|
update: (config: {
|
|
9673
9673
|
set: {
|
|
9674
|
+
with?: string | ((item: string) => string) | undefined;
|
|
9674
9675
|
schema?: string | ((item: string) => string) | undefined;
|
|
9675
9676
|
table?: string | ((item: string) => string) | undefined;
|
|
9676
9677
|
name?: string | ((item: string) => string) | undefined;
|
|
@@ -9702,7 +9703,6 @@ declare const createDDL: () => {
|
|
|
9702
9703
|
default: boolean;
|
|
9703
9704
|
} | null;
|
|
9704
9705
|
}) | undefined;
|
|
9705
|
-
with?: string | ((item: string) => string) | undefined;
|
|
9706
9706
|
nameExplicit?: boolean | ((item: boolean) => boolean) | undefined;
|
|
9707
9707
|
isUnique?: boolean | ((item: boolean) => boolean) | undefined;
|
|
9708
9708
|
where?: string | ((item: string | null) => string | null) | null | undefined;
|
|
@@ -9849,6 +9849,10 @@ declare const createDDL: () => {
|
|
|
9849
9849
|
schema: string;
|
|
9850
9850
|
table: string;
|
|
9851
9851
|
name: string;
|
|
9852
|
+
with?: {
|
|
9853
|
+
from: string;
|
|
9854
|
+
to: string;
|
|
9855
|
+
} | undefined;
|
|
9852
9856
|
columns?: {
|
|
9853
9857
|
from: {
|
|
9854
9858
|
value: string;
|
|
@@ -9871,10 +9875,6 @@ declare const createDDL: () => {
|
|
|
9871
9875
|
} | null;
|
|
9872
9876
|
}[];
|
|
9873
9877
|
} | undefined;
|
|
9874
|
-
with?: {
|
|
9875
|
-
from: string;
|
|
9876
|
-
to: string;
|
|
9877
|
-
} | undefined;
|
|
9878
9878
|
nameExplicit?: {
|
|
9879
9879
|
from: boolean;
|
|
9880
9880
|
to: boolean;
|
|
@@ -10473,11 +10473,11 @@ declare const createDDL: () => {
|
|
|
10473
10473
|
};
|
|
10474
10474
|
checks: {
|
|
10475
10475
|
push: (input: {
|
|
10476
|
+
value: string;
|
|
10476
10477
|
schema: string;
|
|
10477
10478
|
table: string;
|
|
10478
10479
|
name: string;
|
|
10479
|
-
|
|
10480
|
-
}, uniques?: ("schema" | "table" | "name" | "value")[] | undefined) => {
|
|
10480
|
+
}, uniques?: ("value" | "schema" | "table" | "name")[] | undefined) => {
|
|
10481
10481
|
status: "OK" | "CONFLICT";
|
|
10482
10482
|
data: {
|
|
10483
10483
|
schema: string;
|
|
@@ -10515,10 +10515,10 @@ declare const createDDL: () => {
|
|
|
10515
10515
|
} | null;
|
|
10516
10516
|
update: (config: {
|
|
10517
10517
|
set: {
|
|
10518
|
+
value?: string | ((item: string) => string) | undefined;
|
|
10518
10519
|
schema?: string | ((item: string) => string) | undefined;
|
|
10519
10520
|
table?: string | ((item: string) => string) | undefined;
|
|
10520
10521
|
name?: string | ((item: string) => string) | undefined;
|
|
10521
|
-
value?: string | ((item: string) => string) | undefined;
|
|
10522
10522
|
};
|
|
10523
10523
|
where?: {
|
|
10524
10524
|
schema?: string | undefined;
|
|
@@ -10772,6 +10772,7 @@ declare const createDDL: () => {
|
|
|
10772
10772
|
};
|
|
10773
10773
|
roles: {
|
|
10774
10774
|
push: (input: {
|
|
10775
|
+
password: string | null | undefined;
|
|
10775
10776
|
name: string;
|
|
10776
10777
|
superuser: boolean | null | undefined;
|
|
10777
10778
|
createDb: boolean | null | undefined;
|
|
@@ -10781,9 +10782,8 @@ declare const createDDL: () => {
|
|
|
10781
10782
|
replication: boolean | null | undefined;
|
|
10782
10783
|
bypassRls: boolean | null | undefined;
|
|
10783
10784
|
connLimit: number | null | undefined;
|
|
10784
|
-
password: string | null | undefined;
|
|
10785
10785
|
validUntil: string | null | undefined;
|
|
10786
|
-
}, uniques?: ("name" | "superuser" | "createDb" | "createRole" | "inherit" | "canLogin" | "replication" | "bypassRls" | "connLimit" | "
|
|
10786
|
+
}, uniques?: ("password" | "name" | "superuser" | "createDb" | "createRole" | "inherit" | "canLogin" | "replication" | "bypassRls" | "connLimit" | "validUntil")[] | undefined) => {
|
|
10787
10787
|
status: "OK" | "CONFLICT";
|
|
10788
10788
|
data: {
|
|
10789
10789
|
superuser: boolean | null;
|
|
@@ -10856,6 +10856,7 @@ declare const createDDL: () => {
|
|
|
10856
10856
|
} | null;
|
|
10857
10857
|
update: (config: {
|
|
10858
10858
|
set: {
|
|
10859
|
+
password?: string | ((item: string | null) => string | null) | null | undefined;
|
|
10859
10860
|
name?: string | ((item: string) => string) | undefined;
|
|
10860
10861
|
superuser?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
10861
10862
|
createDb?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
@@ -10865,7 +10866,6 @@ declare const createDDL: () => {
|
|
|
10865
10866
|
replication?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
10866
10867
|
bypassRls?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
10867
10868
|
connLimit?: number | ((item: number | null) => number | null) | null | undefined;
|
|
10868
|
-
password?: string | ((item: string | null) => string | null) | null | undefined;
|
|
10869
10869
|
validUntil?: string | ((item: string | null) => string | null) | null | undefined;
|
|
10870
10870
|
};
|
|
10871
10871
|
where?: {
|
|
@@ -10944,6 +10944,10 @@ declare const createDDL: () => {
|
|
|
10944
10944
|
$diffType: "alter";
|
|
10945
10945
|
entityType: "roles";
|
|
10946
10946
|
name: string;
|
|
10947
|
+
password?: {
|
|
10948
|
+
from: string | null;
|
|
10949
|
+
to: string | null;
|
|
10950
|
+
} | undefined;
|
|
10947
10951
|
superuser?: {
|
|
10948
10952
|
from: boolean | null;
|
|
10949
10953
|
to: boolean | null;
|
|
@@ -10976,10 +10980,6 @@ declare const createDDL: () => {
|
|
|
10976
10980
|
from: number | null;
|
|
10977
10981
|
to: number | null;
|
|
10978
10982
|
} | undefined;
|
|
10979
|
-
password?: {
|
|
10980
|
-
from: string | null;
|
|
10981
|
-
to: string | null;
|
|
10982
|
-
} | undefined;
|
|
10983
10983
|
validUntil?: {
|
|
10984
10984
|
from: string | null;
|
|
10985
10985
|
to: string | null;
|
|
@@ -11016,14 +11016,14 @@ declare const createDDL: () => {
|
|
|
11016
11016
|
};
|
|
11017
11017
|
privileges: {
|
|
11018
11018
|
push: (input: {
|
|
11019
|
+
type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER";
|
|
11019
11020
|
schema: string;
|
|
11020
11021
|
table: string;
|
|
11021
11022
|
name: string;
|
|
11022
|
-
type: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | "TRUNCATE" | "REFERENCES" | "TRIGGER";
|
|
11023
11023
|
grantor: string;
|
|
11024
11024
|
grantee: string;
|
|
11025
11025
|
isGrantable: boolean;
|
|
11026
|
-
}, uniques?: ("
|
|
11026
|
+
}, uniques?: ("type" | "schema" | "table" | "name" | "grantor" | "grantee" | "isGrantable")[] | undefined) => {
|
|
11027
11027
|
status: "OK" | "CONFLICT";
|
|
11028
11028
|
data: {
|
|
11029
11029
|
grantor: string;
|
|
@@ -11076,10 +11076,10 @@ declare const createDDL: () => {
|
|
|
11076
11076
|
} | null;
|
|
11077
11077
|
update: (config: {
|
|
11078
11078
|
set: {
|
|
11079
|
+
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;
|
|
11079
11080
|
schema?: string | ((item: string) => string) | undefined;
|
|
11080
11081
|
table?: string | ((item: string) => string) | undefined;
|
|
11081
11082
|
name?: string | ((item: string) => string) | undefined;
|
|
11082
|
-
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;
|
|
11083
11083
|
grantor?: string | ((item: string) => string) | undefined;
|
|
11084
11084
|
grantee?: string | ((item: string) => string) | undefined;
|
|
11085
11085
|
isGrantable?: boolean | ((item: boolean) => boolean) | undefined;
|
|
@@ -11374,8 +11374,6 @@ declare const createDDL: () => {
|
|
|
11374
11374
|
};
|
|
11375
11375
|
views: {
|
|
11376
11376
|
push: (input: {
|
|
11377
|
-
schema: string;
|
|
11378
|
-
name: string;
|
|
11379
11377
|
with: {
|
|
11380
11378
|
checkOption: "local" | "cascaded" | null;
|
|
11381
11379
|
securityBarrier: boolean | null;
|
|
@@ -11399,12 +11397,14 @@ declare const createDDL: () => {
|
|
|
11399
11397
|
logAutovacuumMinDuration: number | null;
|
|
11400
11398
|
userCatalogTable: boolean | null;
|
|
11401
11399
|
} | null | undefined;
|
|
11400
|
+
schema: string;
|
|
11401
|
+
name: string;
|
|
11402
11402
|
using: string | null | undefined;
|
|
11403
11403
|
definition: string | null | undefined;
|
|
11404
11404
|
withNoData: boolean | null | undefined;
|
|
11405
11405
|
tablespace: string | null | undefined;
|
|
11406
11406
|
materialized: boolean;
|
|
11407
|
-
}, uniques?: ("
|
|
11407
|
+
}, uniques?: ("with" | "schema" | "name" | "using" | "definition" | "withNoData" | "tablespace" | "materialized")[] | undefined) => {
|
|
11408
11408
|
status: "OK" | "CONFLICT";
|
|
11409
11409
|
data: {
|
|
11410
11410
|
schema: string;
|
|
@@ -11572,8 +11572,6 @@ declare const createDDL: () => {
|
|
|
11572
11572
|
} | null;
|
|
11573
11573
|
update: (config: {
|
|
11574
11574
|
set: {
|
|
11575
|
-
schema?: string | ((item: string) => string) | undefined;
|
|
11576
|
-
name?: string | ((item: string) => string) | undefined;
|
|
11577
11575
|
with?: {
|
|
11578
11576
|
checkOption: "local" | "cascaded" | null;
|
|
11579
11577
|
securityBarrier: boolean | null;
|
|
@@ -11641,6 +11639,8 @@ declare const createDDL: () => {
|
|
|
11641
11639
|
logAutovacuumMinDuration: number | null;
|
|
11642
11640
|
userCatalogTable: boolean | null;
|
|
11643
11641
|
} | null) | null | undefined;
|
|
11642
|
+
schema?: string | ((item: string) => string) | undefined;
|
|
11643
|
+
name?: string | ((item: string) => string) | undefined;
|
|
11644
11644
|
using?: string | ((item: string | null) => string | null) | null | undefined;
|
|
11645
11645
|
definition?: string | ((item: string | null) => string | null) | null | undefined;
|
|
11646
11646
|
withNoData?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|