drizzle-kit 0.20.17-2132ef8 → 0.20.17-2923a0f

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,15 +24,15 @@ export declare const preparePgPush: (schemaPath: string | string[], snapshot: Pg
24
24
  tables: Record<string, {
25
25
  name: string;
26
26
  columns: Record<string, {
27
+ name: string;
28
+ type: string;
29
+ primaryKey: boolean;
30
+ notNull: boolean;
27
31
  isUnique?: any;
28
32
  default?: any;
29
33
  typeSchema?: string | undefined;
30
34
  uniqueName?: string | undefined;
31
35
  nullsNotDistinct?: boolean | undefined;
32
- name: string;
33
- type: string;
34
- primaryKey: boolean;
35
- notNull: boolean;
36
36
  }>;
37
37
  indexes: Record<string, string>;
38
38
  foreignKeys: Record<string, string>;
@@ -53,15 +53,15 @@ export declare const preparePgPush: (schemaPath: string | string[], snapshot: Pg
53
53
  tables: Record<string, {
54
54
  name: string;
55
55
  columns: Record<string, {
56
+ name: string;
57
+ type: string;
58
+ primaryKey: boolean;
59
+ notNull: boolean;
56
60
  isUnique?: any;
57
61
  default?: any;
58
62
  typeSchema?: string | undefined;
59
63
  uniqueName?: string | undefined;
60
64
  nullsNotDistinct?: boolean | undefined;
61
- name: string;
62
- type: string;
63
- primaryKey: boolean;
64
- notNull: boolean;
65
65
  }>;
66
66
  indexes: Record<string, string>;
67
67
  foreignKeys: Record<string, string>;
@@ -83,40 +83,33 @@ export declare const prepareMySQLPush: (schemaPath: string | string[], snapshot:
83
83
  sqlStatements: string[];
84
84
  statements: import("../../jsonStatements").JsonStatement[];
85
85
  validatedCur: {
86
- internal?: {
87
- tables: Record<string, {
88
- columns: Record<string, {
89
- isDefaultAnExpression?: boolean | undefined;
90
- } | undefined>;
91
- } | undefined>;
92
- } | undefined;
93
86
  tables: Record<string, {
94
87
  name: string;
95
88
  columns: Record<string, {
96
- default?: any;
97
- onUpdate?: any;
98
- autoincrement?: boolean | undefined;
99
89
  name: string;
100
90
  type: string;
101
91
  primaryKey: boolean;
102
92
  notNull: boolean;
93
+ default?: any;
94
+ onUpdate?: any;
95
+ autoincrement?: boolean | undefined;
103
96
  }>;
104
97
  indexes: Record<string, {
105
- using?: "btree" | "hash" | undefined;
106
- algorithm?: "default" | "inplace" | "copy" | undefined;
107
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
108
98
  name: string;
109
99
  columns: string[];
110
100
  isUnique: boolean;
101
+ using?: "btree" | "hash" | undefined;
102
+ algorithm?: "default" | "inplace" | "copy" | undefined;
103
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
111
104
  }>;
112
105
  foreignKeys: Record<string, {
113
- onUpdate?: string | undefined;
114
- onDelete?: string | undefined;
115
106
  name: string;
116
107
  tableFrom: string;
117
108
  columnsFrom: string[];
118
109
  tableTo: string;
119
110
  columnsTo: string[];
111
+ onUpdate?: string | undefined;
112
+ onDelete?: string | undefined;
120
113
  }>;
121
114
  compositePrimaryKeys: Record<string, {
122
115
  name: string;
@@ -135,8 +128,6 @@ export declare const prepareMySQLPush: (schemaPath: string | string[], snapshot:
135
128
  columns: Record<string, string>;
136
129
  tables: Record<string, string>;
137
130
  };
138
- };
139
- validatedPrev: {
140
131
  internal?: {
141
132
  tables: Record<string, {
142
133
  columns: Record<string, {
@@ -144,33 +135,35 @@ export declare const prepareMySQLPush: (schemaPath: string | string[], snapshot:
144
135
  } | undefined>;
145
136
  } | undefined>;
146
137
  } | undefined;
138
+ };
139
+ validatedPrev: {
147
140
  tables: Record<string, {
148
141
  name: string;
149
142
  columns: Record<string, {
150
- default?: any;
151
- onUpdate?: any;
152
- autoincrement?: boolean | undefined;
153
143
  name: string;
154
144
  type: string;
155
145
  primaryKey: boolean;
156
146
  notNull: boolean;
147
+ default?: any;
148
+ onUpdate?: any;
149
+ autoincrement?: boolean | undefined;
157
150
  }>;
158
151
  indexes: Record<string, {
159
- using?: "btree" | "hash" | undefined;
160
- algorithm?: "default" | "inplace" | "copy" | undefined;
161
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
162
152
  name: string;
163
153
  columns: string[];
164
154
  isUnique: boolean;
155
+ using?: "btree" | "hash" | undefined;
156
+ algorithm?: "default" | "inplace" | "copy" | undefined;
157
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
165
158
  }>;
166
159
  foreignKeys: Record<string, {
167
- onUpdate?: string | undefined;
168
- onDelete?: string | undefined;
169
160
  name: string;
170
161
  tableFrom: string;
171
162
  columnsFrom: string[];
172
163
  tableTo: string;
173
164
  columnsTo: string[];
165
+ onUpdate?: string | undefined;
166
+ onDelete?: string | undefined;
174
167
  }>;
175
168
  compositePrimaryKeys: Record<string, {
176
169
  name: string;
@@ -189,6 +182,13 @@ export declare const prepareMySQLPush: (schemaPath: string | string[], snapshot:
189
182
  columns: Record<string, string>;
190
183
  tables: Record<string, string>;
191
184
  };
185
+ internal?: {
186
+ tables: Record<string, {
187
+ columns: Record<string, {
188
+ isDefaultAnExpression?: boolean | undefined;
189
+ } | undefined>;
190
+ } | undefined>;
191
+ } | undefined;
192
192
  };
193
193
  }>;
194
194
  export declare const prepareAndMigrateMysql: (config: GenerateConfig) => Promise<void>;
@@ -197,16 +197,15 @@ export declare const prepareSQLitePush: (schemaPath: string | string[], snapshot
197
197
  sqlStatements: string[];
198
198
  statements: import("../../jsonStatements").JsonStatement[];
199
199
  squashedPrev: {
200
- enums?: any;
201
200
  tables: Record<string, {
202
201
  name: string;
203
202
  columns: Record<string, {
204
- default?: any;
205
- autoincrement?: boolean | undefined;
206
203
  name: string;
207
204
  type: string;
208
205
  primaryKey: boolean;
209
206
  notNull: boolean;
207
+ default?: any;
208
+ autoincrement?: boolean | undefined;
210
209
  }>;
211
210
  indexes: Record<string, string>;
212
211
  foreignKeys: Record<string, string>;
@@ -215,18 +214,18 @@ export declare const prepareSQLitePush: (schemaPath: string | string[], snapshot
215
214
  }>;
216
215
  version: "5";
217
216
  dialect: "sqlite";
217
+ enums?: any;
218
218
  };
219
219
  squashedCur: {
220
- enums?: any;
221
220
  tables: Record<string, {
222
221
  name: string;
223
222
  columns: Record<string, {
224
- default?: any;
225
- autoincrement?: boolean | undefined;
226
223
  name: string;
227
224
  type: string;
228
225
  primaryKey: boolean;
229
226
  notNull: boolean;
227
+ default?: any;
228
+ autoincrement?: boolean | undefined;
230
229
  }>;
231
230
  indexes: Record<string, string>;
232
231
  foreignKeys: Record<string, string>;
@@ -235,6 +234,7 @@ export declare const prepareSQLitePush: (schemaPath: string | string[], snapshot
235
234
  }>;
236
235
  version: "5";
237
236
  dialect: "sqlite";
237
+ enums?: any;
238
238
  };
239
239
  meta: {
240
240
  schemas: {};
@@ -4,30 +4,30 @@ export declare const mysqlPushIntrospect: (db: DB, databaseName: string, filters
4
4
  tables: Record<string, {
5
5
  name: string;
6
6
  columns: Record<string, {
7
- default?: any;
8
- onUpdate?: any;
9
- autoincrement?: boolean | undefined;
10
7
  name: string;
11
8
  type: string;
12
9
  primaryKey: boolean;
13
10
  notNull: boolean;
11
+ default?: any;
12
+ onUpdate?: any;
13
+ autoincrement?: boolean | undefined;
14
14
  }>;
15
15
  indexes: Record<string, {
16
- using?: "btree" | "hash" | undefined;
17
- algorithm?: "default" | "inplace" | "copy" | undefined;
18
- lock?: "default" | "none" | "shared" | "exclusive" | undefined;
19
16
  name: string;
20
17
  columns: string[];
21
18
  isUnique: boolean;
19
+ using?: "btree" | "hash" | undefined;
20
+ algorithm?: "default" | "inplace" | "copy" | undefined;
21
+ lock?: "default" | "none" | "shared" | "exclusive" | undefined;
22
22
  }>;
23
23
  foreignKeys: Record<string, {
24
- onUpdate?: string | undefined;
25
- onDelete?: string | undefined;
26
24
  name: string;
27
25
  tableFrom: string;
28
26
  columnsFrom: string[];
29
27
  tableTo: string;
30
28
  columnsTo: string[];
29
+ onUpdate?: string | undefined;
30
+ onDelete?: string | undefined;
31
31
  }>;
32
32
  compositePrimaryKeys: Record<string, {
33
33
  name: string;
@@ -4,15 +4,15 @@ export declare const pgPushIntrospect: (db: DB, filters: string[], schemaFilters
4
4
  tables: Record<string, {
5
5
  name: string;
6
6
  columns: Record<string, {
7
+ name: string;
8
+ type: string;
9
+ primaryKey: boolean;
10
+ notNull: boolean;
7
11
  isUnique?: any;
8
12
  default?: any;
9
13
  typeSchema?: string | undefined;
10
14
  uniqueName?: string | undefined;
11
15
  nullsNotDistinct?: boolean | undefined;
12
- name: string;
13
- type: string;
14
- primaryKey: boolean;
15
- notNull: boolean;
16
16
  }>;
17
17
  indexes: Record<string, {
18
18
  name: string;
@@ -20,14 +20,14 @@ export declare const pgPushIntrospect: (db: DB, filters: string[], schemaFilters
20
20
  isUnique: boolean;
21
21
  }>;
22
22
  foreignKeys: Record<string, {
23
- onUpdate?: string | undefined;
24
- onDelete?: string | undefined;
25
- schemaTo?: string | undefined;
26
23
  name: string;
27
24
  tableFrom: string;
28
25
  columnsFrom: string[];
29
26
  tableTo: string;
30
27
  columnsTo: string[];
28
+ onUpdate?: string | undefined;
29
+ onDelete?: string | undefined;
30
+ schemaTo?: string | undefined;
31
31
  }>;
32
32
  schema: string;
33
33
  compositePrimaryKeys: Record<string, {
@@ -6,31 +6,31 @@ export declare const sqliteIntrospect: (credentials: SqliteCredentials, filters:
6
6
  tables: Record<string, {
7
7
  name: string;
8
8
  columns: Record<string, {
9
- default?: any;
10
- autoincrement?: boolean | undefined;
11
9
  name: string;
12
10
  type: string;
13
11
  primaryKey: boolean;
14
12
  notNull: boolean;
13
+ default?: any;
14
+ autoincrement?: boolean | undefined;
15
15
  }>;
16
16
  indexes: Record<string, {
17
- where?: string | undefined;
18
17
  name: string;
19
18
  columns: string[];
20
19
  isUnique: boolean;
20
+ where?: string | undefined;
21
21
  }>;
22
22
  foreignKeys: Record<string, {
23
- onUpdate?: string | undefined;
24
- onDelete?: string | undefined;
25
23
  name: string;
26
24
  tableFrom: string;
27
25
  columnsFrom: string[];
28
26
  tableTo: string;
29
27
  columnsTo: string[];
28
+ onUpdate?: string | undefined;
29
+ onDelete?: string | undefined;
30
30
  }>;
31
31
  compositePrimaryKeys: Record<string, {
32
- name?: string | undefined;
33
32
  columns: string[];
33
+ name?: string | undefined;
34
34
  }>;
35
35
  uniqueConstraints: Record<string, {
36
36
  name: string;
@@ -59,31 +59,31 @@ export declare const sqlitePushIntrospect: (db: SQLiteDB, filters: string[]) =>
59
59
  tables: Record<string, {
60
60
  name: string;
61
61
  columns: Record<string, {
62
- default?: any;
63
- autoincrement?: boolean | undefined;
64
62
  name: string;
65
63
  type: string;
66
64
  primaryKey: boolean;
67
65
  notNull: boolean;
66
+ default?: any;
67
+ autoincrement?: boolean | undefined;
68
68
  }>;
69
69
  indexes: Record<string, {
70
- where?: string | undefined;
71
70
  name: string;
72
71
  columns: string[];
73
72
  isUnique: boolean;
73
+ where?: string | undefined;
74
74
  }>;
75
75
  foreignKeys: Record<string, {
76
- onUpdate?: string | undefined;
77
- onDelete?: string | undefined;
78
76
  name: string;
79
77
  tableFrom: string;
80
78
  columnsFrom: string[];
81
79
  tableTo: string;
82
80
  columnsTo: string[];
81
+ onUpdate?: string | undefined;
82
+ onDelete?: string | undefined;
83
83
  }>;
84
84
  compositePrimaryKeys: Record<string, {
85
- name?: string | undefined;
86
85
  columns: string[];
86
+ name?: string | undefined;
87
87
  }>;
88
88
  uniqueConstraints: Record<string, {
89
89
  name: string;
@@ -2,7 +2,7 @@ import { MysqlCredentials } from "../validations/mysql";
2
2
  import { PostgresCredentials } from "../validations/pg";
3
3
  import { SqliteCredentials } from "../validations/sqlite";
4
4
  import { Casing, CliConfig } from "../validations/common";
5
- import type { Dialect } from "../../schemaValidator";
5
+ import { type Dialect } from "../../schemaValidator";
6
6
  import { CliCheckConfig, CliConfigGenerate } from "../validations/cli";
7
7
  export declare const safeRegister: () => Promise<{
8
8
  unregister: () => void;
@@ -50,6 +50,128 @@ export declare const preparePullConfig: (options: Record<string, unknown>) => Pr
50
50
  tablesFilter: string[];
51
51
  schemasFilter: string[];
52
52
  }>;
53
+ export declare const prepareStudioConfig: (options: Record<string, unknown>) => Promise<{
54
+ dialect: "postgresql";
55
+ schema: string | string[];
56
+ host: string;
57
+ port: number;
58
+ credentials: {
59
+ host: string;
60
+ user: string;
61
+ database: string;
62
+ port?: number | undefined;
63
+ password?: string | undefined;
64
+ ssl?: boolean | undefined;
65
+ } | {
66
+ url: string;
67
+ } | {
68
+ database: string;
69
+ driver: "aws-data-api";
70
+ secretArn: string;
71
+ resourceArn: string;
72
+ };
73
+ } | {
74
+ dialect: "mysql";
75
+ schema: string | string[];
76
+ host: string;
77
+ port: number;
78
+ credentials: {
79
+ host: string;
80
+ user: string;
81
+ database: string;
82
+ port?: number | undefined;
83
+ password?: string | undefined;
84
+ } | {
85
+ url: string;
86
+ };
87
+ } | {
88
+ dialect: "sqlite";
89
+ schema: string | string[];
90
+ host: string;
91
+ port: number;
92
+ credentials: {
93
+ url: string;
94
+ driver: "turso";
95
+ authToken: string;
96
+ } | {
97
+ url: string;
98
+ };
99
+ }>;
100
+ export declare const migrateConfig: import("zod").ZodObject<{
101
+ dialect: import("zod").ZodEnum<["postgresql", "mysql", "sqlite"]>;
102
+ out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
103
+ migrations: import("zod").ZodOptional<import("zod").ZodObject<{
104
+ table: import("zod").ZodOptional<import("zod").ZodString>;
105
+ schema: import("zod").ZodOptional<import("zod").ZodString>;
106
+ }, "strip", import("zod").ZodTypeAny, {
107
+ schema?: string | undefined;
108
+ table?: string | undefined;
109
+ }, {
110
+ schema?: string | undefined;
111
+ table?: string | undefined;
112
+ }>>;
113
+ }, "strip", import("zod").ZodTypeAny, {
114
+ dialect: "mysql" | "postgresql" | "sqlite";
115
+ out: string;
116
+ migrations?: {
117
+ schema?: string | undefined;
118
+ table?: string | undefined;
119
+ } | undefined;
120
+ }, {
121
+ dialect: "mysql" | "postgresql" | "sqlite";
122
+ out?: string | undefined;
123
+ migrations?: {
124
+ schema?: string | undefined;
125
+ table?: string | undefined;
126
+ } | undefined;
127
+ }>;
128
+ export declare const prepareMigrateConfig: (options: Record<string, unknown>) => Promise<{
129
+ dialect: "postgresql";
130
+ out: string;
131
+ credentials: {
132
+ host: string;
133
+ user: string;
134
+ database: string;
135
+ port?: number | undefined;
136
+ password?: string | undefined;
137
+ ssl?: boolean | undefined;
138
+ } | {
139
+ url: string;
140
+ } | {
141
+ database: string;
142
+ driver: "aws-data-api";
143
+ secretArn: string;
144
+ resourceArn: string;
145
+ };
146
+ schema: string | undefined;
147
+ table: string | undefined;
148
+ } | {
149
+ dialect: "mysql";
150
+ out: string;
151
+ credentials: {
152
+ host: string;
153
+ user: string;
154
+ database: string;
155
+ port?: number | undefined;
156
+ password?: string | undefined;
157
+ } | {
158
+ url: string;
159
+ };
160
+ schema: string | undefined;
161
+ table: string | undefined;
162
+ } | {
163
+ dialect: "sqlite";
164
+ out: string;
165
+ credentials: {
166
+ url: string;
167
+ driver: "turso";
168
+ authToken: string;
169
+ } | {
170
+ url: string;
171
+ };
172
+ schema: string | undefined;
173
+ table: string | undefined;
174
+ }>;
53
175
  export declare const assertOutFolder: (it: CliCheckConfig) => Promise<{
54
176
  out: string;
55
177
  dialect: Dialect;
@@ -1,13 +1,18 @@
1
1
  import type { DB, Proxy, SQLiteDB, SqliteProxy } from "../utils";
2
2
  import type { PostgresCredentials } from "./validations/pg";
3
3
  import type { MysqlCredentials } from "./validations/mysql";
4
- import { SqliteCredentials } from "./validations/sqlite";
4
+ import type { SqliteCredentials } from "./validations/sqlite";
5
+ import type { MigrationConfig } from "drizzle-orm/migrator";
5
6
  export declare const preparePostgresDB: (credentials: PostgresCredentials) => Promise<DB & {
6
7
  proxy: Proxy;
8
+ migrate: (config: string | MigrationConfig) => Promise<void>;
7
9
  }>;
8
10
  export declare const connectToMySQL: (it: MysqlCredentials) => Promise<{
9
11
  db: DB;
10
12
  proxy: Proxy;
11
13
  database: string;
14
+ migrate: (config: MigrationConfig) => Promise<void>;
15
+ }>;
16
+ export declare const connectToSQLite: (credentials: SqliteCredentials) => Promise<SQLiteDB & SqliteProxy & {
17
+ migrate: (config: MigrationConfig) => Promise<void>;
12
18
  }>;
13
- export declare const connectToSQLite: (credentials: SqliteCredentials) => Promise<SQLiteDB & SqliteProxy>;
@@ -8,13 +8,13 @@ export declare const cliConfigGenerate: import("zod").ZodObject<{
8
8
  breakpoints: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
9
9
  custom: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
10
10
  }, "strict", import("zod").ZodTypeAny, {
11
+ custom: boolean;
12
+ out: string;
13
+ breakpoints: boolean;
11
14
  name?: string | undefined;
12
15
  schema?: string | string[] | undefined;
13
16
  dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
14
17
  config?: string | undefined;
15
- custom: boolean;
16
- out: string;
17
- breakpoints: boolean;
18
18
  }, {
19
19
  name?: string | undefined;
20
20
  custom?: boolean | undefined;
@@ -44,6 +44,8 @@ export declare const pushParams: import("zod").ZodObject<{
44
44
  verbose: import("zod").ZodOptional<import("zod").ZodBoolean>;
45
45
  strict: import("zod").ZodOptional<import("zod").ZodBoolean>;
46
46
  }, "strip", import("zod").ZodTypeAny, {
47
+ dialect: "mysql" | "postgresql" | "sqlite";
48
+ schemaFilter: string | string[];
47
49
  strict?: boolean | undefined;
48
50
  schema?: string | string[] | undefined;
49
51
  url?: string | undefined;
@@ -59,9 +61,8 @@ export declare const pushParams: import("zod").ZodObject<{
59
61
  authToken?: string | undefined;
60
62
  tablesFilter?: string | string[] | undefined;
61
63
  verbose?: boolean | undefined;
62
- dialect: "mysql" | "postgresql" | "sqlite";
63
- schemaFilter: string | string[];
64
64
  }, {
65
+ dialect: "mysql" | "postgresql" | "sqlite";
65
66
  strict?: boolean | undefined;
66
67
  schema?: string | string[] | undefined;
67
68
  url?: string | undefined;
@@ -78,7 +79,6 @@ export declare const pushParams: import("zod").ZodObject<{
78
79
  tablesFilter?: string | string[] | undefined;
79
80
  schemaFilter?: string | string[] | undefined;
80
81
  verbose?: boolean | undefined;
81
- dialect: "mysql" | "postgresql" | "sqlite";
82
82
  }>;
83
83
  export type PushParams = TypeOf<typeof pushParams>;
84
84
  export declare const pullParams: import("zod").ZodObject<{
@@ -100,45 +100,45 @@ export declare const pullParams: import("zod").ZodObject<{
100
100
  authToken: import("zod").ZodOptional<import("zod").ZodString>;
101
101
  introspectCasing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
102
102
  breakpoints: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
103
- }, "strip", import("zod").ZodTypeAny, {
104
- dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
105
- url?: string | undefined;
106
- host?: string | undefined;
107
- port?: string | undefined;
108
- user?: string | undefined;
109
- password?: string | undefined;
110
- database?: string | undefined;
111
- uri?: string | undefined;
112
- driver?: string | undefined;
113
- connectionString?: string | undefined;
114
- ssl?: string | undefined;
115
- authToken?: string | undefined;
116
- config?: string | undefined;
117
- tablesFilter?: string | string[] | undefined;
118
- out: string;
119
- breakpoints: boolean;
120
- schemaFilter: string | string[];
121
- introspectCasing: "camel" | "preserve";
122
- }, {
123
- dialect?: "mysql" | "postgresql" | "sqlite" | undefined;
124
- url?: string | undefined;
125
- host?: string | undefined;
126
- port?: string | undefined;
127
- user?: string | undefined;
128
- password?: string | undefined;
129
- database?: string | undefined;
130
- uri?: string | undefined;
131
- driver?: string | undefined;
132
- connectionString?: string | undefined;
133
- ssl?: string | undefined;
134
- authToken?: string | undefined;
135
- config?: string | undefined;
136
- out?: string | undefined;
137
- breakpoints?: boolean | undefined;
138
- tablesFilter?: string | string[] | undefined;
139
- schemaFilter?: string | string[] | undefined;
140
- introspectCasing?: "camel" | "preserve" | undefined;
141
- }>;
103
+ }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
104
+ config: import("zod").ZodOptional<import("zod").ZodString>;
105
+ dialect: import("zod").ZodOptional<import("zod").ZodEnum<["postgresql", "mysql", "sqlite"]>>;
106
+ out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
107
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
108
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
109
+ driver: import("zod").ZodOptional<import("zod").ZodString>;
110
+ connectionString: import("zod").ZodOptional<import("zod").ZodString>;
111
+ uri: import("zod").ZodOptional<import("zod").ZodString>;
112
+ host: import("zod").ZodOptional<import("zod").ZodString>;
113
+ port: import("zod").ZodOptional<import("zod").ZodString>;
114
+ user: import("zod").ZodOptional<import("zod").ZodString>;
115
+ password: import("zod").ZodOptional<import("zod").ZodString>;
116
+ database: import("zod").ZodOptional<import("zod").ZodString>;
117
+ ssl: import("zod").ZodOptional<import("zod").ZodString>;
118
+ url: import("zod").ZodOptional<import("zod").ZodString>;
119
+ authToken: import("zod").ZodOptional<import("zod").ZodString>;
120
+ introspectCasing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
121
+ breakpoints: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
122
+ }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
123
+ config: import("zod").ZodOptional<import("zod").ZodString>;
124
+ dialect: import("zod").ZodOptional<import("zod").ZodEnum<["postgresql", "mysql", "sqlite"]>>;
125
+ out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
126
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
127
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>>;
128
+ driver: import("zod").ZodOptional<import("zod").ZodString>;
129
+ connectionString: import("zod").ZodOptional<import("zod").ZodString>;
130
+ uri: import("zod").ZodOptional<import("zod").ZodString>;
131
+ host: import("zod").ZodOptional<import("zod").ZodString>;
132
+ port: import("zod").ZodOptional<import("zod").ZodString>;
133
+ user: import("zod").ZodOptional<import("zod").ZodString>;
134
+ password: import("zod").ZodOptional<import("zod").ZodString>;
135
+ database: import("zod").ZodOptional<import("zod").ZodString>;
136
+ ssl: import("zod").ZodOptional<import("zod").ZodString>;
137
+ url: import("zod").ZodOptional<import("zod").ZodString>;
138
+ authToken: import("zod").ZodOptional<import("zod").ZodString>;
139
+ introspectCasing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
140
+ breakpoints: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
141
+ }, import("zod").ZodTypeAny, "passthrough">>;
142
142
  export type PullParams = TypeOf<typeof pullParams>;
143
143
  export declare const configCheck: import("zod").ZodObject<{
144
144
  dialect: import("zod").ZodOptional<import("zod").ZodEnum<["postgresql", "mysql", "sqlite"]>>;