drizzle-kit 1.0.0-beta.9-40889e5 → 1.0.0-beta.9-635dfc2
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-postgres.d.mts +130 -130
- package/api-postgres.d.ts +130 -130
- package/api-postgres.mjs +0 -1
- package/api-sqlite.mjs +1 -0
- package/package.json +1 -1
package/api-postgres.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as CasingType } from "./common-C4PhmYTg.js";
|
|
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
|
-
port?: number | undefined;
|
|
64
|
-
user?: string | undefined;
|
|
65
63
|
password?: string | undefined;
|
|
66
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3015.objectOutputType<{}, zod3015.ZodTypeAny, "passthrough"> | undefined;
|
|
67
64
|
driver?: undefined;
|
|
65
|
+
port?: number | undefined;
|
|
66
|
+
user?: string | undefined;
|
|
67
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3327.objectOutputType<{}, zod3327.ZodTypeAny, "passthrough"> | undefined;
|
|
68
68
|
}, {
|
|
69
69
|
host: string;
|
|
70
70
|
database: string;
|
|
71
|
-
port?: number | undefined;
|
|
72
|
-
user?: string | undefined;
|
|
73
71
|
password?: string | undefined;
|
|
74
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3015.objectInputType<{}, zod3015.ZodTypeAny, "passthrough"> | undefined;
|
|
75
72
|
driver?: undefined;
|
|
73
|
+
port?: number | undefined;
|
|
74
|
+
user?: string | undefined;
|
|
75
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3327.objectInputType<{}, zod3327.ZodTypeAny, "passthrough"> | undefined;
|
|
76
76
|
}>, Omit<{
|
|
77
77
|
host: string;
|
|
78
78
|
database: string;
|
|
79
|
-
port?: number | undefined;
|
|
80
|
-
user?: string | undefined;
|
|
81
79
|
password?: string | undefined;
|
|
82
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3015.objectOutputType<{}, zod3015.ZodTypeAny, "passthrough"> | undefined;
|
|
83
80
|
driver?: undefined;
|
|
81
|
+
port?: number | undefined;
|
|
82
|
+
user?: string | undefined;
|
|
83
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3327.objectOutputType<{}, zod3327.ZodTypeAny, "passthrough"> | undefined;
|
|
84
84
|
}, "driver">, {
|
|
85
85
|
host: string;
|
|
86
86
|
database: string;
|
|
87
|
-
port?: number | undefined;
|
|
88
|
-
user?: string | undefined;
|
|
89
87
|
password?: string | undefined;
|
|
90
|
-
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3015.objectInputType<{}, zod3015.ZodTypeAny, "passthrough"> | undefined;
|
|
91
88
|
driver?: undefined;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
89
|
+
port?: number | undefined;
|
|
90
|
+
user?: string | undefined;
|
|
91
|
+
ssl?: boolean | "require" | "allow" | "prefer" | "verify-full" | zod3327.objectInputType<{}, zod3327.ZodTypeAny, "passthrough"> | 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
|
-
database: string;
|
|
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
|
driver: "aws-data-api";
|
|
113
|
+
database: string;
|
|
114
114
|
secretArn: string;
|
|
115
115
|
resourceArn: string;
|
|
116
116
|
}, {
|
|
117
|
-
database: string;
|
|
118
117
|
driver: "aws-data-api";
|
|
118
|
+
database: string;
|
|
119
119
|
secretArn: string;
|
|
120
120
|
resourceArn: string;
|
|
121
|
-
}>,
|
|
122
|
-
driver:
|
|
123
|
-
url:
|
|
124
|
-
}, "strip",
|
|
125
|
-
url: string;
|
|
121
|
+
}>, zod3327.ZodObject<{
|
|
122
|
+
driver: zod3327.ZodLiteral<"pglite">;
|
|
123
|
+
url: zod3327.ZodString;
|
|
124
|
+
}, "strip", zod3327.ZodTypeAny, {
|
|
126
125
|
driver: "pglite";
|
|
127
|
-
}, {
|
|
128
126
|
url: string;
|
|
127
|
+
}, {
|
|
129
128
|
driver: "pglite";
|
|
129
|
+
url: string;
|
|
130
130
|
}>]>;
|
|
131
131
|
type PostgresCredentials = TypeOf<typeof postgresCredentials>;
|
|
132
132
|
//#endregion
|
|
@@ -718,10 +718,6 @@ 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;
|
|
725
721
|
columns?: {
|
|
726
722
|
from: {
|
|
727
723
|
value: string;
|
|
@@ -744,6 +740,10 @@ declare const createDDL: () => {
|
|
|
744
740
|
} | null;
|
|
745
741
|
}[];
|
|
746
742
|
} | undefined;
|
|
743
|
+
with?: {
|
|
744
|
+
from: string;
|
|
745
|
+
to: string;
|
|
746
|
+
} | undefined;
|
|
747
747
|
nameExplicit?: {
|
|
748
748
|
from: boolean;
|
|
749
749
|
to: boolean;
|
|
@@ -1019,10 +1019,6 @@ 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;
|
|
1026
1022
|
superuser?: {
|
|
1027
1023
|
from: boolean | null;
|
|
1028
1024
|
to: boolean | null;
|
|
@@ -1055,6 +1051,10 @@ declare const createDDL: () => {
|
|
|
1055
1051
|
from: number | null;
|
|
1056
1052
|
to: number | null;
|
|
1057
1053
|
} | 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,10 +1488,6 @@ 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;
|
|
1495
1491
|
columns?: {
|
|
1496
1492
|
from: {
|
|
1497
1493
|
value: string;
|
|
@@ -1514,6 +1510,10 @@ declare const createDDL: () => {
|
|
|
1514
1510
|
} | null;
|
|
1515
1511
|
}[];
|
|
1516
1512
|
} | undefined;
|
|
1513
|
+
with?: {
|
|
1514
|
+
from: string;
|
|
1515
|
+
to: string;
|
|
1516
|
+
} | undefined;
|
|
1517
1517
|
nameExplicit?: {
|
|
1518
1518
|
from: boolean;
|
|
1519
1519
|
to: boolean;
|
|
@@ -1783,10 +1783,6 @@ 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;
|
|
1790
1786
|
superuser?: {
|
|
1791
1787
|
from: boolean | null;
|
|
1792
1788
|
to: boolean | null;
|
|
@@ -1819,6 +1815,10 @@ declare const createDDL: () => {
|
|
|
1819
1815
|
from: number | null;
|
|
1820
1816
|
to: number | null;
|
|
1821
1817
|
} | 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,7 +2134,6 @@ declare const createDDL: () => {
|
|
|
2134
2134
|
schema: string;
|
|
2135
2135
|
table: string;
|
|
2136
2136
|
name: string;
|
|
2137
|
-
with: string;
|
|
2138
2137
|
columns: {
|
|
2139
2138
|
value: string;
|
|
2140
2139
|
isExpression: boolean;
|
|
@@ -2145,6 +2144,7 @@ declare const createDDL: () => {
|
|
|
2145
2144
|
default: boolean;
|
|
2146
2145
|
} | null;
|
|
2147
2146
|
}[];
|
|
2147
|
+
with: string;
|
|
2148
2148
|
nameExplicit: boolean;
|
|
2149
2149
|
isUnique: boolean;
|
|
2150
2150
|
where: string | null;
|
|
@@ -2208,7 +2208,6 @@ declare const createDDL: () => {
|
|
|
2208
2208
|
$diffType: "create";
|
|
2209
2209
|
entityType: "roles";
|
|
2210
2210
|
name: string;
|
|
2211
|
-
password: string | null;
|
|
2212
2211
|
superuser: boolean | null;
|
|
2213
2212
|
createDb: boolean | null;
|
|
2214
2213
|
createRole: boolean | null;
|
|
@@ -2217,6 +2216,7 @@ declare const createDDL: () => {
|
|
|
2217
2216
|
replication: boolean | null;
|
|
2218
2217
|
bypassRls: boolean | null;
|
|
2219
2218
|
connLimit: number | null;
|
|
2219
|
+
password: string | null;
|
|
2220
2220
|
validUntil: string | null;
|
|
2221
2221
|
};
|
|
2222
2222
|
privileges: {
|
|
@@ -2323,7 +2323,6 @@ declare const createDDL: () => {
|
|
|
2323
2323
|
schema: string;
|
|
2324
2324
|
table: string;
|
|
2325
2325
|
name: string;
|
|
2326
|
-
with: string;
|
|
2327
2326
|
columns: {
|
|
2328
2327
|
value: string;
|
|
2329
2328
|
isExpression: boolean;
|
|
@@ -2334,6 +2333,7 @@ declare const createDDL: () => {
|
|
|
2334
2333
|
default: boolean;
|
|
2335
2334
|
} | null;
|
|
2336
2335
|
}[];
|
|
2336
|
+
with: string;
|
|
2337
2337
|
nameExplicit: boolean;
|
|
2338
2338
|
isUnique: boolean;
|
|
2339
2339
|
where: string | null;
|
|
@@ -2391,7 +2391,6 @@ declare const createDDL: () => {
|
|
|
2391
2391
|
$diffType: "create";
|
|
2392
2392
|
entityType: "roles";
|
|
2393
2393
|
name: string;
|
|
2394
|
-
password: string | null;
|
|
2395
2394
|
superuser: boolean | null;
|
|
2396
2395
|
createDb: boolean | null;
|
|
2397
2396
|
createRole: boolean | null;
|
|
@@ -2400,6 +2399,7 @@ declare const createDDL: () => {
|
|
|
2400
2399
|
replication: boolean | null;
|
|
2401
2400
|
bypassRls: boolean | null;
|
|
2402
2401
|
connLimit: number | null;
|
|
2402
|
+
password: string | null;
|
|
2403
2403
|
validUntil: string | null;
|
|
2404
2404
|
} | {
|
|
2405
2405
|
$diffType: "create";
|
|
@@ -2509,7 +2509,6 @@ declare const createDDL: () => {
|
|
|
2509
2509
|
schema: string;
|
|
2510
2510
|
table: string;
|
|
2511
2511
|
name: string;
|
|
2512
|
-
with: string;
|
|
2513
2512
|
columns: {
|
|
2514
2513
|
value: string;
|
|
2515
2514
|
isExpression: boolean;
|
|
@@ -2520,6 +2519,7 @@ declare const createDDL: () => {
|
|
|
2520
2519
|
default: boolean;
|
|
2521
2520
|
} | null;
|
|
2522
2521
|
}[];
|
|
2522
|
+
with: string;
|
|
2523
2523
|
nameExplicit: boolean;
|
|
2524
2524
|
isUnique: boolean;
|
|
2525
2525
|
where: string | null;
|
|
@@ -2583,7 +2583,6 @@ declare const createDDL: () => {
|
|
|
2583
2583
|
$diffType: "drop";
|
|
2584
2584
|
entityType: "roles";
|
|
2585
2585
|
name: string;
|
|
2586
|
-
password: string | null;
|
|
2587
2586
|
superuser: boolean | null;
|
|
2588
2587
|
createDb: boolean | null;
|
|
2589
2588
|
createRole: boolean | null;
|
|
@@ -2592,6 +2591,7 @@ declare const createDDL: () => {
|
|
|
2592
2591
|
replication: boolean | null;
|
|
2593
2592
|
bypassRls: boolean | null;
|
|
2594
2593
|
connLimit: number | null;
|
|
2594
|
+
password: string | null;
|
|
2595
2595
|
validUntil: string | null;
|
|
2596
2596
|
};
|
|
2597
2597
|
privileges: {
|
|
@@ -2698,7 +2698,6 @@ declare const createDDL: () => {
|
|
|
2698
2698
|
schema: string;
|
|
2699
2699
|
table: string;
|
|
2700
2700
|
name: string;
|
|
2701
|
-
with: string;
|
|
2702
2701
|
columns: {
|
|
2703
2702
|
value: string;
|
|
2704
2703
|
isExpression: boolean;
|
|
@@ -2709,6 +2708,7 @@ declare const createDDL: () => {
|
|
|
2709
2708
|
default: boolean;
|
|
2710
2709
|
} | null;
|
|
2711
2710
|
}[];
|
|
2711
|
+
with: string;
|
|
2712
2712
|
nameExplicit: boolean;
|
|
2713
2713
|
isUnique: boolean;
|
|
2714
2714
|
where: string | null;
|
|
@@ -2766,7 +2766,6 @@ declare const createDDL: () => {
|
|
|
2766
2766
|
$diffType: "drop";
|
|
2767
2767
|
entityType: "roles";
|
|
2768
2768
|
name: string;
|
|
2769
|
-
password: string | null;
|
|
2770
2769
|
superuser: boolean | null;
|
|
2771
2770
|
createDb: boolean | null;
|
|
2772
2771
|
createRole: boolean | null;
|
|
@@ -2775,6 +2774,7 @@ declare const createDDL: () => {
|
|
|
2775
2774
|
replication: boolean | null;
|
|
2776
2775
|
bypassRls: boolean | null;
|
|
2777
2776
|
connLimit: number | null;
|
|
2777
|
+
password: string | null;
|
|
2778
2778
|
validUntil: string | null;
|
|
2779
2779
|
} | {
|
|
2780
2780
|
$diffType: "drop";
|
|
@@ -2925,7 +2925,6 @@ declare const createDDL: () => {
|
|
|
2925
2925
|
schema: string;
|
|
2926
2926
|
table: string;
|
|
2927
2927
|
name: string;
|
|
2928
|
-
with: string;
|
|
2929
2928
|
columns: {
|
|
2930
2929
|
value: string;
|
|
2931
2930
|
isExpression: boolean;
|
|
@@ -2936,6 +2935,7 @@ declare const createDDL: () => {
|
|
|
2936
2935
|
default: boolean;
|
|
2937
2936
|
} | null;
|
|
2938
2937
|
}[];
|
|
2938
|
+
with: string;
|
|
2939
2939
|
nameExplicit: boolean;
|
|
2940
2940
|
isUnique: boolean;
|
|
2941
2941
|
where: string | null;
|
|
@@ -2947,7 +2947,6 @@ declare const createDDL: () => {
|
|
|
2947
2947
|
schema: string;
|
|
2948
2948
|
table: string;
|
|
2949
2949
|
name: string;
|
|
2950
|
-
with: string;
|
|
2951
2950
|
columns: {
|
|
2952
2951
|
value: string;
|
|
2953
2952
|
isExpression: boolean;
|
|
@@ -2958,6 +2957,7 @@ declare const createDDL: () => {
|
|
|
2958
2957
|
default: boolean;
|
|
2959
2958
|
} | null;
|
|
2960
2959
|
}[];
|
|
2960
|
+
with: string;
|
|
2961
2961
|
nameExplicit: boolean;
|
|
2962
2962
|
isUnique: boolean;
|
|
2963
2963
|
where: string | null;
|
|
@@ -3069,7 +3069,6 @@ declare const createDDL: () => {
|
|
|
3069
3069
|
$diffType: "create";
|
|
3070
3070
|
entityType: "roles";
|
|
3071
3071
|
name: string;
|
|
3072
|
-
password: string | null;
|
|
3073
3072
|
superuser: boolean | null;
|
|
3074
3073
|
createDb: boolean | null;
|
|
3075
3074
|
createRole: boolean | null;
|
|
@@ -3078,12 +3077,12 @@ declare const createDDL: () => {
|
|
|
3078
3077
|
replication: boolean | null;
|
|
3079
3078
|
bypassRls: boolean | null;
|
|
3080
3079
|
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;
|
|
3087
3086
|
superuser: boolean | null;
|
|
3088
3087
|
createDb: boolean | null;
|
|
3089
3088
|
createRole: boolean | null;
|
|
@@ -3092,6 +3091,7 @@ declare const createDDL: () => {
|
|
|
3092
3091
|
replication: boolean | null;
|
|
3093
3092
|
bypassRls: boolean | null;
|
|
3094
3093
|
connLimit: number | null;
|
|
3094
|
+
password: string | null;
|
|
3095
3095
|
validUntil: string | null;
|
|
3096
3096
|
};
|
|
3097
3097
|
privileges: {
|
|
@@ -3252,7 +3252,6 @@ declare const createDDL: () => {
|
|
|
3252
3252
|
schema: string;
|
|
3253
3253
|
table: string;
|
|
3254
3254
|
name: string;
|
|
3255
|
-
with: string;
|
|
3256
3255
|
columns: {
|
|
3257
3256
|
value: string;
|
|
3258
3257
|
isExpression: boolean;
|
|
@@ -3263,6 +3262,7 @@ declare const createDDL: () => {
|
|
|
3263
3262
|
default: boolean;
|
|
3264
3263
|
} | null;
|
|
3265
3264
|
}[];
|
|
3265
|
+
with: string;
|
|
3266
3266
|
nameExplicit: boolean;
|
|
3267
3267
|
isUnique: boolean;
|
|
3268
3268
|
where: string | null;
|
|
@@ -3320,7 +3320,6 @@ declare const createDDL: () => {
|
|
|
3320
3320
|
$diffType: "create";
|
|
3321
3321
|
entityType: "roles";
|
|
3322
3322
|
name: string;
|
|
3323
|
-
password: string | null;
|
|
3324
3323
|
superuser: boolean | null;
|
|
3325
3324
|
createDb: boolean | null;
|
|
3326
3325
|
createRole: boolean | null;
|
|
@@ -3329,6 +3328,7 @@ declare const createDDL: () => {
|
|
|
3329
3328
|
replication: boolean | null;
|
|
3330
3329
|
bypassRls: boolean | null;
|
|
3331
3330
|
connLimit: number | null;
|
|
3331
|
+
password: string | null;
|
|
3332
3332
|
validUntil: string | null;
|
|
3333
3333
|
} | {
|
|
3334
3334
|
$diffType: "create";
|
|
@@ -3431,7 +3431,6 @@ declare const createDDL: () => {
|
|
|
3431
3431
|
schema: string;
|
|
3432
3432
|
table: string;
|
|
3433
3433
|
name: string;
|
|
3434
|
-
with: string;
|
|
3435
3434
|
columns: {
|
|
3436
3435
|
value: string;
|
|
3437
3436
|
isExpression: boolean;
|
|
@@ -3442,6 +3441,7 @@ declare const createDDL: () => {
|
|
|
3442
3441
|
default: boolean;
|
|
3443
3442
|
} | null;
|
|
3444
3443
|
}[];
|
|
3444
|
+
with: string;
|
|
3445
3445
|
nameExplicit: boolean;
|
|
3446
3446
|
isUnique: boolean;
|
|
3447
3447
|
where: string | null;
|
|
@@ -3499,7 +3499,6 @@ declare const createDDL: () => {
|
|
|
3499
3499
|
$diffType: "drop";
|
|
3500
3500
|
entityType: "roles";
|
|
3501
3501
|
name: string;
|
|
3502
|
-
password: string | null;
|
|
3503
3502
|
superuser: boolean | null;
|
|
3504
3503
|
createDb: boolean | null;
|
|
3505
3504
|
createRole: boolean | null;
|
|
@@ -3508,6 +3507,7 @@ declare const createDDL: () => {
|
|
|
3508
3507
|
replication: boolean | null;
|
|
3509
3508
|
bypassRls: boolean | null;
|
|
3510
3509
|
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")[] | ("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) => {
|
|
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;
|
|
6921
6920
|
schema?: string | ((item: string) => string) | undefined;
|
|
6922
6921
|
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;
|
|
6935
6934
|
schema?: string | ((item: string) => string) | undefined;
|
|
6936
6935
|
table?: string | ((item: string) => string) | undefined;
|
|
6937
6936
|
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,7 +7005,6 @@ declare const createDDL: () => {
|
|
|
7005
7005
|
} | undefined;
|
|
7006
7006
|
} | {
|
|
7007
7007
|
set: {
|
|
7008
|
-
with?: string | ((item: string) => string) | undefined;
|
|
7009
7008
|
schema?: string | ((item: string) => string) | undefined;
|
|
7010
7009
|
table?: string | ((item: string) => string) | undefined;
|
|
7011
7010
|
name?: string | ((item: string) => string) | undefined;
|
|
@@ -7037,6 +7036,7 @@ declare const createDDL: () => {
|
|
|
7037
7036
|
default: boolean;
|
|
7038
7037
|
} | null;
|
|
7039
7038
|
}) | 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;
|
|
7150
7149
|
schema?: string | ((item: string) => string) | undefined;
|
|
7151
7150
|
table?: string | ((item: string) => string) | undefined;
|
|
7152
7151
|
name?: string | ((item: string) => string) | undefined;
|
|
7152
|
+
value?: string | ((item: string) => string) | undefined;
|
|
7153
7153
|
};
|
|
7154
7154
|
where?: {
|
|
7155
7155
|
schema?: string | undefined;
|
|
@@ -7182,7 +7182,6 @@ declare const createDDL: () => {
|
|
|
7182
7182
|
} | undefined;
|
|
7183
7183
|
} | {
|
|
7184
7184
|
set: {
|
|
7185
|
-
password?: string | ((item: string | null) => string | null) | null | undefined;
|
|
7186
7185
|
name?: string | ((item: string) => string) | undefined;
|
|
7187
7186
|
superuser?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
7188
7187
|
createDb?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
@@ -7192,6 +7191,7 @@ declare const createDDL: () => {
|
|
|
7192
7191
|
replication?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
7193
7192
|
bypassRls?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
7194
7193
|
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;
|
|
7214
7213
|
schema?: string | ((item: string) => string) | undefined;
|
|
7215
7214
|
table?: string | ((item: string) => string) | undefined;
|
|
7216
7215
|
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,6 +7254,8 @@ 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;
|
|
7257
7259
|
with?: {
|
|
7258
7260
|
checkOption: "local" | "cascaded" | null;
|
|
7259
7261
|
securityBarrier: boolean | null;
|
|
@@ -7321,8 +7323,6 @@ declare const createDDL: () => {
|
|
|
7321
7323
|
logAutovacuumMinDuration: number | null;
|
|
7322
7324
|
userCatalogTable: boolean | null;
|
|
7323
7325
|
} | 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,10 +8219,6 @@ 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;
|
|
8226
8222
|
columns?: {
|
|
8227
8223
|
from: {
|
|
8228
8224
|
value: string;
|
|
@@ -8245,6 +8241,10 @@ declare const createDDL: () => {
|
|
|
8245
8241
|
} | null;
|
|
8246
8242
|
}[];
|
|
8247
8243
|
} | undefined;
|
|
8244
|
+
with?: {
|
|
8245
|
+
from: string;
|
|
8246
|
+
to: string;
|
|
8247
|
+
} | undefined;
|
|
8248
8248
|
nameExplicit?: {
|
|
8249
8249
|
from: boolean;
|
|
8250
8250
|
to: boolean;
|
|
@@ -8514,10 +8514,6 @@ 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;
|
|
8521
8517
|
superuser?: {
|
|
8522
8518
|
from: boolean | null;
|
|
8523
8519
|
to: boolean | null;
|
|
@@ -8550,6 +8546,10 @@ declare const createDDL: () => {
|
|
|
8550
8546
|
from: number | null;
|
|
8551
8547
|
to: number | null;
|
|
8552
8548
|
} | 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[];
|
|
8980
8979
|
schema: string;
|
|
8981
8980
|
name: string;
|
|
8982
|
-
|
|
8981
|
+
values: string[];
|
|
8982
|
+
}, uniques?: ("schema" | "name" | "values")[] | 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;
|
|
9020
9019
|
schema?: string | ((item: string) => string) | undefined;
|
|
9021
9020
|
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;
|
|
9085
9084
|
schema: string;
|
|
9086
9085
|
table: string;
|
|
9087
9086
|
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?: ("schema" | "table" | "name" | "type" | "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;
|
|
9235
9234
|
schema?: string | ((item: string) => string) | undefined;
|
|
9236
9235
|
table?: string | ((item: string) => string) | undefined;
|
|
9237
9236
|
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,7 +9517,6 @@ declare const createDDL: () => {
|
|
|
9517
9517
|
};
|
|
9518
9518
|
indexes: {
|
|
9519
9519
|
push: (input: {
|
|
9520
|
-
with: string;
|
|
9521
9520
|
schema: string;
|
|
9522
9521
|
table: string;
|
|
9523
9522
|
name: string;
|
|
@@ -9531,12 +9530,13 @@ declare const createDDL: () => {
|
|
|
9531
9530
|
default: boolean;
|
|
9532
9531
|
} | null;
|
|
9533
9532
|
}[];
|
|
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?: ("schema" | "table" | "name" | "columns" | "with" | "nameExplicit" | "isUnique" | "where" | "method" | "concurrently")[] | undefined) => {
|
|
9540
9540
|
status: "OK" | "CONFLICT";
|
|
9541
9541
|
data: {
|
|
9542
9542
|
schema: string;
|
|
@@ -9671,7 +9671,6 @@ declare const createDDL: () => {
|
|
|
9671
9671
|
} | null;
|
|
9672
9672
|
update: (config: {
|
|
9673
9673
|
set: {
|
|
9674
|
-
with?: string | ((item: string) => string) | undefined;
|
|
9675
9674
|
schema?: string | ((item: string) => string) | undefined;
|
|
9676
9675
|
table?: string | ((item: string) => string) | undefined;
|
|
9677
9676
|
name?: string | ((item: string) => string) | undefined;
|
|
@@ -9703,6 +9702,7 @@ declare const createDDL: () => {
|
|
|
9703
9702
|
default: boolean;
|
|
9704
9703
|
} | null;
|
|
9705
9704
|
}) | 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,10 +9849,6 @@ 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;
|
|
9856
9852
|
columns?: {
|
|
9857
9853
|
from: {
|
|
9858
9854
|
value: string;
|
|
@@ -9875,6 +9871,10 @@ declare const createDDL: () => {
|
|
|
9875
9871
|
} | null;
|
|
9876
9872
|
}[];
|
|
9877
9873
|
} | 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;
|
|
10477
10476
|
schema: string;
|
|
10478
10477
|
table: string;
|
|
10479
10478
|
name: string;
|
|
10480
|
-
|
|
10479
|
+
value: string;
|
|
10480
|
+
}, uniques?: ("schema" | "table" | "name" | "value")[] | 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;
|
|
10519
10518
|
schema?: string | ((item: string) => string) | undefined;
|
|
10520
10519
|
table?: string | ((item: string) => string) | undefined;
|
|
10521
10520
|
name?: string | ((item: string) => string) | undefined;
|
|
10521
|
+
value?: string | ((item: string) => string) | undefined;
|
|
10522
10522
|
};
|
|
10523
10523
|
where?: {
|
|
10524
10524
|
schema?: string | undefined;
|
|
@@ -10772,7 +10772,6 @@ declare const createDDL: () => {
|
|
|
10772
10772
|
};
|
|
10773
10773
|
roles: {
|
|
10774
10774
|
push: (input: {
|
|
10775
|
-
password: string | null | undefined;
|
|
10776
10775
|
name: string;
|
|
10777
10776
|
superuser: boolean | null | undefined;
|
|
10778
10777
|
createDb: boolean | null | undefined;
|
|
@@ -10782,8 +10781,9 @@ declare const createDDL: () => {
|
|
|
10782
10781
|
replication: boolean | null | undefined;
|
|
10783
10782
|
bypassRls: boolean | null | undefined;
|
|
10784
10783
|
connLimit: number | null | undefined;
|
|
10784
|
+
password: string | null | undefined;
|
|
10785
10785
|
validUntil: string | null | undefined;
|
|
10786
|
-
}, uniques?: ("
|
|
10786
|
+
}, uniques?: ("name" | "superuser" | "createDb" | "createRole" | "inherit" | "canLogin" | "replication" | "bypassRls" | "connLimit" | "password" | "validUntil")[] | undefined) => {
|
|
10787
10787
|
status: "OK" | "CONFLICT";
|
|
10788
10788
|
data: {
|
|
10789
10789
|
superuser: boolean | null;
|
|
@@ -10856,7 +10856,6 @@ declare const createDDL: () => {
|
|
|
10856
10856
|
} | null;
|
|
10857
10857
|
update: (config: {
|
|
10858
10858
|
set: {
|
|
10859
|
-
password?: string | ((item: string | null) => string | null) | null | undefined;
|
|
10860
10859
|
name?: string | ((item: string) => string) | undefined;
|
|
10861
10860
|
superuser?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
10862
10861
|
createDb?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
@@ -10866,6 +10865,7 @@ declare const createDDL: () => {
|
|
|
10866
10865
|
replication?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
10867
10866
|
bypassRls?: boolean | ((item: boolean | null) => boolean | null) | null | undefined;
|
|
10868
10867
|
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,10 +10944,6 @@ 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;
|
|
10951
10947
|
superuser?: {
|
|
10952
10948
|
from: boolean | null;
|
|
10953
10949
|
to: boolean | null;
|
|
@@ -10980,6 +10976,10 @@ declare const createDDL: () => {
|
|
|
10980
10976
|
from: number | null;
|
|
10981
10977
|
to: number | null;
|
|
10982
10978
|
} | 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";
|
|
11020
11019
|
schema: string;
|
|
11021
11020
|
table: string;
|
|
11022
11021
|
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?: ("schema" | "table" | "name" | "type" | "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;
|
|
11080
11079
|
schema?: string | ((item: string) => string) | undefined;
|
|
11081
11080
|
table?: string | ((item: string) => string) | undefined;
|
|
11082
11081
|
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,6 +11374,8 @@ declare const createDDL: () => {
|
|
|
11374
11374
|
};
|
|
11375
11375
|
views: {
|
|
11376
11376
|
push: (input: {
|
|
11377
|
+
schema: string;
|
|
11378
|
+
name: string;
|
|
11377
11379
|
with: {
|
|
11378
11380
|
checkOption: "local" | "cascaded" | null;
|
|
11379
11381
|
securityBarrier: boolean | null;
|
|
@@ -11397,14 +11399,12 @@ declare const createDDL: () => {
|
|
|
11397
11399
|
logAutovacuumMinDuration: number | null;
|
|
11398
11400
|
userCatalogTable: boolean | null;
|
|
11399
11401
|
} | 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?: ("schema" | "name" | "with" | "using" | "definition" | "withNoData" | "tablespace" | "materialized")[] | undefined) => {
|
|
11408
11408
|
status: "OK" | "CONFLICT";
|
|
11409
11409
|
data: {
|
|
11410
11410
|
schema: string;
|
|
@@ -11572,6 +11572,8 @@ 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;
|
|
11575
11577
|
with?: {
|
|
11576
11578
|
checkOption: "local" | "cascaded" | null;
|
|
11577
11579
|
securityBarrier: boolean | null;
|
|
@@ -11639,8 +11641,6 @@ declare const createDDL: () => {
|
|
|
11639
11641
|
logAutovacuumMinDuration: number | null;
|
|
11640
11642
|
userCatalogTable: boolean | null;
|
|
11641
11643
|
} | 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;
|