drizzle-kit 0.20.17-c8aaf94 → 0.20.17-cab52ad

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. package/bin.cjs +24253 -16292
  2. package/index.d.mts +28 -14
  3. package/index.d.ts +28 -14
  4. package/package.json +5 -16
  5. package/payload.d.mts +987 -18
  6. package/payload.d.ts +987 -18
  7. package/payload.js +19792 -16899
  8. package/payload.mjs +19866 -16948
  9. package/utils-studio.js +943 -835
  10. package/utils-studio.mjs +916 -808
  11. package/utils.js +839 -214
  12. package/utils.mjs +814 -189
  13. package/@types/utils.d.ts +0 -13
  14. package/cli/commands/migrate.d.ts +0 -287
  15. package/cli/commands/mysqlIntrospect.d.ts +0 -50
  16. package/cli/commands/mysqlPushUtils.d.ts +0 -14
  17. package/cli/commands/pgIntrospect.d.ts +0 -59
  18. package/cli/commands/pgPushUtils.d.ts +0 -11
  19. package/cli/commands/sqliteIntrospect.d.ts +0 -103
  20. package/cli/commands/sqlitePushUtils.d.ts +0 -15
  21. package/cli/commands/utils.d.ts +0 -58
  22. package/cli/connections.d.ts +0 -13
  23. package/cli/selector-ui.d.ts +0 -13
  24. package/cli/utils.d.ts +0 -13
  25. package/cli/validations/cli.d.ts +0 -169
  26. package/cli/validations/common.d.ts +0 -214
  27. package/cli/validations/mysql.d.ts +0 -29
  28. package/cli/validations/outputs.d.ts +0 -41
  29. package/cli/validations/pg.d.ts +0 -46
  30. package/cli/validations/sqlite.d.ts +0 -22
  31. package/cli/views.d.ts +0 -64
  32. package/global.d.ts +0 -6
  33. package/introspect-sqlite.d.ts +0 -10
  34. package/jsonDiffer.d.ts +0 -61
  35. package/jsonStatements.d.ts +0 -376
  36. package/migrationPreparator.d.ts +0 -35
  37. package/schemaValidator.d.ts +0 -1316
  38. package/serializer/index.d.ts +0 -9
  39. package/serializer/mysqlImports.d.ts +0 -7
  40. package/serializer/mysqlSchema.d.ts +0 -4650
  41. package/serializer/mysqlSerializer.d.ts +0 -7
  42. package/serializer/pgImports.d.ts +0 -11
  43. package/serializer/pgSchema.d.ts +0 -4792
  44. package/serializer/pgSerializer.d.ts +0 -7
  45. package/serializer/schemaToDrizzle.d.ts +0 -7
  46. package/serializer/sqliteImports.d.ts +0 -7
  47. package/serializer/sqliteSchema.d.ts +0 -2801
  48. package/serializer/sqliteSerializer.d.ts +0 -6
  49. package/serializer/studio.d.ts +0 -51
  50. package/snapshotsDiffer.d.ts +0 -3936
  51. package/sqlgenerator.d.ts +0 -33
  52. package/utils/words.d.ts +0 -7
  53. package/utils-studio.d.mts +0 -4
  54. package/utils-studio.d.ts +0 -4
  55. package/utils.d.ts +0 -78
@@ -1,3936 +0,0 @@
1
- import { TypeOf, ZodTypeAny } from "zod";
2
- import { JsonStatement } from "./jsonStatements";
3
- import { SQLiteSchemaSquashed } from "./serializer/sqliteSchema";
4
- import { MySqlSchema, MySqlSchemaSquashed } from "./serializer/mysqlSchema";
5
- import { PgSchema, PgSchemaSquashed } from "./serializer/pgSchema";
6
- import { Named } from "./cli/commands/migrate";
7
- export declare const makePatched: <T extends ZodTypeAny>(schema: T) => import("zod").ZodUnion<[import("zod").ZodObject<{
8
- type: import("zod").ZodLiteral<"added">;
9
- value: T;
10
- }, "strip", ZodTypeAny, { [k_1 in keyof import("zod").objectUtil.addQuestionMarks<{
11
- type: "added";
12
- value: T["_output"];
13
- }>]: import("zod").objectUtil.addQuestionMarks<{
14
- type: "added";
15
- value: T["_output"];
16
- }>[k_1]; }, { [k_3 in keyof import("zod").objectUtil.addQuestionMarks<{
17
- type: "added";
18
- value: T["_input"];
19
- }>]: import("zod").objectUtil.addQuestionMarks<{
20
- type: "added";
21
- value: T["_input"];
22
- }>[k_3]; }>, import("zod").ZodObject<{
23
- type: import("zod").ZodLiteral<"deleted">;
24
- value: T;
25
- }, "strip", ZodTypeAny, { [k_1_1 in keyof import("zod").objectUtil.addQuestionMarks<{
26
- type: "deleted";
27
- value: T["_output"];
28
- }>]: import("zod").objectUtil.addQuestionMarks<{
29
- type: "deleted";
30
- value: T["_output"];
31
- }>[k_1_1]; }, { [k_3_1 in keyof import("zod").objectUtil.addQuestionMarks<{
32
- type: "deleted";
33
- value: T["_input"];
34
- }>]: import("zod").objectUtil.addQuestionMarks<{
35
- type: "deleted";
36
- value: T["_input"];
37
- }>[k_3_1]; }>, import("zod").ZodObject<{
38
- type: import("zod").ZodLiteral<"changed">;
39
- old: T;
40
- new: T;
41
- }, "strip", ZodTypeAny, { [k_1_2 in keyof import("zod").objectUtil.addQuestionMarks<{
42
- type: "changed";
43
- old: T["_output"];
44
- new: T["_output"];
45
- }>]: import("zod").objectUtil.addQuestionMarks<{
46
- type: "changed";
47
- old: T["_output"];
48
- new: T["_output"];
49
- }>[k_1_2]; }, { [k_3_2 in keyof import("zod").objectUtil.addQuestionMarks<{
50
- type: "changed";
51
- old: T["_input"];
52
- new: T["_input"];
53
- }>]: import("zod").objectUtil.addQuestionMarks<{
54
- type: "changed";
55
- old: T["_input"];
56
- new: T["_input"];
57
- }>[k_3_2]; }>]>;
58
- export declare const makeSelfOrPatched: <T extends ZodTypeAny>(schema: T) => import("zod").ZodUnion<[import("zod").ZodObject<{
59
- type: import("zod").ZodLiteral<"none">;
60
- value: T;
61
- }, "strip", ZodTypeAny, { [k_1 in keyof import("zod").objectUtil.addQuestionMarks<{
62
- type: "none";
63
- value: T["_output"];
64
- }>]: import("zod").objectUtil.addQuestionMarks<{
65
- type: "none";
66
- value: T["_output"];
67
- }>[k_1]; }, { [k_3 in keyof import("zod").objectUtil.addQuestionMarks<{
68
- type: "none";
69
- value: T["_input"];
70
- }>]: import("zod").objectUtil.addQuestionMarks<{
71
- type: "none";
72
- value: T["_input"];
73
- }>[k_3]; }>, import("zod").ZodObject<{
74
- type: import("zod").ZodLiteral<"added">;
75
- value: T;
76
- }, "strip", ZodTypeAny, { [k_1_1 in keyof import("zod").objectUtil.addQuestionMarks<{
77
- type: "added";
78
- value: T["_output"];
79
- }>]: import("zod").objectUtil.addQuestionMarks<{
80
- type: "added";
81
- value: T["_output"];
82
- }>[k_1_1]; }, { [k_3_1 in keyof import("zod").objectUtil.addQuestionMarks<{
83
- type: "added";
84
- value: T["_input"];
85
- }>]: import("zod").objectUtil.addQuestionMarks<{
86
- type: "added";
87
- value: T["_input"];
88
- }>[k_3_1]; }>, import("zod").ZodObject<{
89
- type: import("zod").ZodLiteral<"deleted">;
90
- value: T;
91
- }, "strip", ZodTypeAny, { [k_1_2 in keyof import("zod").objectUtil.addQuestionMarks<{
92
- type: "deleted";
93
- value: T["_output"];
94
- }>]: import("zod").objectUtil.addQuestionMarks<{
95
- type: "deleted";
96
- value: T["_output"];
97
- }>[k_1_2]; }, { [k_3_2 in keyof import("zod").objectUtil.addQuestionMarks<{
98
- type: "deleted";
99
- value: T["_input"];
100
- }>]: import("zod").objectUtil.addQuestionMarks<{
101
- type: "deleted";
102
- value: T["_input"];
103
- }>[k_3_2]; }>, import("zod").ZodObject<{
104
- type: import("zod").ZodLiteral<"changed">;
105
- old: T;
106
- new: T;
107
- }, "strip", ZodTypeAny, { [k_1_3 in keyof import("zod").objectUtil.addQuestionMarks<{
108
- type: "changed";
109
- old: T["_output"];
110
- new: T["_output"];
111
- }>]: import("zod").objectUtil.addQuestionMarks<{
112
- type: "changed";
113
- old: T["_output"];
114
- new: T["_output"];
115
- }>[k_1_3]; }, { [k_3_3 in keyof import("zod").objectUtil.addQuestionMarks<{
116
- type: "changed";
117
- old: T["_input"];
118
- new: T["_input"];
119
- }>]: import("zod").objectUtil.addQuestionMarks<{
120
- type: "changed";
121
- old: T["_input"];
122
- new: T["_input"];
123
- }>[k_3_3]; }>]>;
124
- declare const columnSchema: import("zod").ZodObject<{
125
- name: import("zod").ZodString;
126
- type: import("zod").ZodString;
127
- typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
128
- primaryKey: import("zod").ZodOptional<import("zod").ZodBoolean>;
129
- default: import("zod").ZodOptional<import("zod").ZodAny>;
130
- notNull: import("zod").ZodOptional<import("zod").ZodBoolean>;
131
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
132
- onUpdate: import("zod").ZodOptional<import("zod").ZodBoolean>;
133
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
134
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
135
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
136
- }, "strict", ZodTypeAny, {
137
- isUnique?: any;
138
- default?: any;
139
- onUpdate?: boolean | undefined;
140
- primaryKey?: boolean | undefined;
141
- notNull?: boolean | undefined;
142
- autoincrement?: boolean | undefined;
143
- typeSchema?: string | undefined;
144
- uniqueName?: string | undefined;
145
- nullsNotDistinct?: boolean | undefined;
146
- name: string;
147
- type: string;
148
- }, {
149
- isUnique?: any;
150
- default?: any;
151
- onUpdate?: boolean | undefined;
152
- primaryKey?: boolean | undefined;
153
- notNull?: boolean | undefined;
154
- autoincrement?: boolean | undefined;
155
- typeSchema?: string | undefined;
156
- uniqueName?: string | undefined;
157
- nullsNotDistinct?: boolean | undefined;
158
- name: string;
159
- type: string;
160
- }>;
161
- declare const alteredColumnSchema: import("zod").ZodObject<{
162
- name: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
163
- type: import("zod").ZodEnum<["changed"]>;
164
- old: import("zod").ZodString;
165
- new: import("zod").ZodString;
166
- }, "strip", ZodTypeAny, {
167
- type: "changed";
168
- old: string;
169
- new: string;
170
- }, {
171
- type: "changed";
172
- old: string;
173
- new: string;
174
- }>]>;
175
- type: import("zod").ZodOptional<import("zod").ZodObject<{
176
- type: import("zod").ZodEnum<["changed"]>;
177
- old: import("zod").ZodString;
178
- new: import("zod").ZodString;
179
- }, "strip", ZodTypeAny, {
180
- type: "changed";
181
- old: string;
182
- new: string;
183
- }, {
184
- type: "changed";
185
- old: string;
186
- new: string;
187
- }>>;
188
- default: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
189
- type: import("zod").ZodLiteral<"added">;
190
- value: import("zod").ZodAny;
191
- }, "strip", ZodTypeAny, {
192
- value?: any;
193
- type: "added";
194
- }, {
195
- value?: any;
196
- type: "added";
197
- }>, import("zod").ZodObject<{
198
- type: import("zod").ZodLiteral<"deleted">;
199
- value: import("zod").ZodAny;
200
- }, "strip", ZodTypeAny, {
201
- value?: any;
202
- type: "deleted";
203
- }, {
204
- value?: any;
205
- type: "deleted";
206
- }>, import("zod").ZodObject<{
207
- type: import("zod").ZodLiteral<"changed">;
208
- old: import("zod").ZodAny;
209
- new: import("zod").ZodAny;
210
- }, "strip", ZodTypeAny, {
211
- old?: any;
212
- new?: any;
213
- type: "changed";
214
- }, {
215
- old?: any;
216
- new?: any;
217
- type: "changed";
218
- }>]>>;
219
- primaryKey: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
220
- type: import("zod").ZodLiteral<"added">;
221
- value: import("zod").ZodBoolean;
222
- }, "strip", ZodTypeAny, {
223
- type: "added";
224
- value: boolean;
225
- }, {
226
- type: "added";
227
- value: boolean;
228
- }>, import("zod").ZodObject<{
229
- type: import("zod").ZodLiteral<"deleted">;
230
- value: import("zod").ZodBoolean;
231
- }, "strip", ZodTypeAny, {
232
- type: "deleted";
233
- value: boolean;
234
- }, {
235
- type: "deleted";
236
- value: boolean;
237
- }>, import("zod").ZodObject<{
238
- type: import("zod").ZodLiteral<"changed">;
239
- old: import("zod").ZodBoolean;
240
- new: import("zod").ZodBoolean;
241
- }, "strip", ZodTypeAny, {
242
- type: "changed";
243
- old: boolean;
244
- new: boolean;
245
- }, {
246
- type: "changed";
247
- old: boolean;
248
- new: boolean;
249
- }>]>>;
250
- notNull: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
251
- type: import("zod").ZodLiteral<"added">;
252
- value: import("zod").ZodBoolean;
253
- }, "strip", ZodTypeAny, {
254
- type: "added";
255
- value: boolean;
256
- }, {
257
- type: "added";
258
- value: boolean;
259
- }>, import("zod").ZodObject<{
260
- type: import("zod").ZodLiteral<"deleted">;
261
- value: import("zod").ZodBoolean;
262
- }, "strip", ZodTypeAny, {
263
- type: "deleted";
264
- value: boolean;
265
- }, {
266
- type: "deleted";
267
- value: boolean;
268
- }>, import("zod").ZodObject<{
269
- type: import("zod").ZodLiteral<"changed">;
270
- old: import("zod").ZodBoolean;
271
- new: import("zod").ZodBoolean;
272
- }, "strip", ZodTypeAny, {
273
- type: "changed";
274
- old: boolean;
275
- new: boolean;
276
- }, {
277
- type: "changed";
278
- old: boolean;
279
- new: boolean;
280
- }>]>>;
281
- typeSchema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
282
- type: import("zod").ZodLiteral<"added">;
283
- value: import("zod").ZodString;
284
- }, "strip", ZodTypeAny, {
285
- type: "added";
286
- value: string;
287
- }, {
288
- type: "added";
289
- value: string;
290
- }>, import("zod").ZodObject<{
291
- type: import("zod").ZodLiteral<"deleted">;
292
- value: import("zod").ZodString;
293
- }, "strip", ZodTypeAny, {
294
- type: "deleted";
295
- value: string;
296
- }, {
297
- type: "deleted";
298
- value: string;
299
- }>, import("zod").ZodObject<{
300
- type: import("zod").ZodLiteral<"changed">;
301
- old: import("zod").ZodString;
302
- new: import("zod").ZodString;
303
- }, "strip", ZodTypeAny, {
304
- type: "changed";
305
- old: string;
306
- new: string;
307
- }, {
308
- type: "changed";
309
- old: string;
310
- new: string;
311
- }>]>>;
312
- onUpdate: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
313
- type: import("zod").ZodLiteral<"added">;
314
- value: import("zod").ZodBoolean;
315
- }, "strip", ZodTypeAny, {
316
- type: "added";
317
- value: boolean;
318
- }, {
319
- type: "added";
320
- value: boolean;
321
- }>, import("zod").ZodObject<{
322
- type: import("zod").ZodLiteral<"deleted">;
323
- value: import("zod").ZodBoolean;
324
- }, "strip", ZodTypeAny, {
325
- type: "deleted";
326
- value: boolean;
327
- }, {
328
- type: "deleted";
329
- value: boolean;
330
- }>, import("zod").ZodObject<{
331
- type: import("zod").ZodLiteral<"changed">;
332
- old: import("zod").ZodBoolean;
333
- new: import("zod").ZodBoolean;
334
- }, "strip", ZodTypeAny, {
335
- type: "changed";
336
- old: boolean;
337
- new: boolean;
338
- }, {
339
- type: "changed";
340
- old: boolean;
341
- new: boolean;
342
- }>]>>;
343
- autoincrement: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
344
- type: import("zod").ZodLiteral<"added">;
345
- value: import("zod").ZodBoolean;
346
- }, "strip", ZodTypeAny, {
347
- type: "added";
348
- value: boolean;
349
- }, {
350
- type: "added";
351
- value: boolean;
352
- }>, import("zod").ZodObject<{
353
- type: import("zod").ZodLiteral<"deleted">;
354
- value: import("zod").ZodBoolean;
355
- }, "strip", ZodTypeAny, {
356
- type: "deleted";
357
- value: boolean;
358
- }, {
359
- type: "deleted";
360
- value: boolean;
361
- }>, import("zod").ZodObject<{
362
- type: import("zod").ZodLiteral<"changed">;
363
- old: import("zod").ZodBoolean;
364
- new: import("zod").ZodBoolean;
365
- }, "strip", ZodTypeAny, {
366
- type: "changed";
367
- old: boolean;
368
- new: boolean;
369
- }, {
370
- type: "changed";
371
- old: boolean;
372
- new: boolean;
373
- }>]>>;
374
- }, "strict", ZodTypeAny, {
375
- default?: {
376
- value?: any;
377
- type: "added";
378
- } | {
379
- value?: any;
380
- type: "deleted";
381
- } | {
382
- old?: any;
383
- new?: any;
384
- type: "changed";
385
- } | undefined;
386
- type?: {
387
- type: "changed";
388
- old: string;
389
- new: string;
390
- } | undefined;
391
- onUpdate?: {
392
- type: "added";
393
- value: boolean;
394
- } | {
395
- type: "deleted";
396
- value: boolean;
397
- } | {
398
- type: "changed";
399
- old: boolean;
400
- new: boolean;
401
- } | undefined;
402
- primaryKey?: {
403
- type: "added";
404
- value: boolean;
405
- } | {
406
- type: "deleted";
407
- value: boolean;
408
- } | {
409
- type: "changed";
410
- old: boolean;
411
- new: boolean;
412
- } | undefined;
413
- notNull?: {
414
- type: "added";
415
- value: boolean;
416
- } | {
417
- type: "deleted";
418
- value: boolean;
419
- } | {
420
- type: "changed";
421
- old: boolean;
422
- new: boolean;
423
- } | undefined;
424
- autoincrement?: {
425
- type: "added";
426
- value: boolean;
427
- } | {
428
- type: "deleted";
429
- value: boolean;
430
- } | {
431
- type: "changed";
432
- old: boolean;
433
- new: boolean;
434
- } | undefined;
435
- typeSchema?: {
436
- type: "added";
437
- value: string;
438
- } | {
439
- type: "deleted";
440
- value: string;
441
- } | {
442
- type: "changed";
443
- old: string;
444
- new: string;
445
- } | undefined;
446
- name: string | {
447
- type: "changed";
448
- old: string;
449
- new: string;
450
- };
451
- }, {
452
- default?: {
453
- value?: any;
454
- type: "added";
455
- } | {
456
- value?: any;
457
- type: "deleted";
458
- } | {
459
- old?: any;
460
- new?: any;
461
- type: "changed";
462
- } | undefined;
463
- type?: {
464
- type: "changed";
465
- old: string;
466
- new: string;
467
- } | undefined;
468
- onUpdate?: {
469
- type: "added";
470
- value: boolean;
471
- } | {
472
- type: "deleted";
473
- value: boolean;
474
- } | {
475
- type: "changed";
476
- old: boolean;
477
- new: boolean;
478
- } | undefined;
479
- primaryKey?: {
480
- type: "added";
481
- value: boolean;
482
- } | {
483
- type: "deleted";
484
- value: boolean;
485
- } | {
486
- type: "changed";
487
- old: boolean;
488
- new: boolean;
489
- } | undefined;
490
- notNull?: {
491
- type: "added";
492
- value: boolean;
493
- } | {
494
- type: "deleted";
495
- value: boolean;
496
- } | {
497
- type: "changed";
498
- old: boolean;
499
- new: boolean;
500
- } | undefined;
501
- autoincrement?: {
502
- type: "added";
503
- value: boolean;
504
- } | {
505
- type: "deleted";
506
- value: boolean;
507
- } | {
508
- type: "changed";
509
- old: boolean;
510
- new: boolean;
511
- } | undefined;
512
- typeSchema?: {
513
- type: "added";
514
- value: string;
515
- } | {
516
- type: "deleted";
517
- value: string;
518
- } | {
519
- type: "changed";
520
- old: string;
521
- new: string;
522
- } | undefined;
523
- name: string | {
524
- type: "changed";
525
- old: string;
526
- new: string;
527
- };
528
- }>;
529
- declare const enumSchema: import("zod").ZodObject<{
530
- name: import("zod").ZodString;
531
- schema: import("zod").ZodString;
532
- values: import("zod").ZodArray<import("zod").ZodString, "many">;
533
- }, "strict", ZodTypeAny, {
534
- name: string;
535
- values: string[];
536
- schema: string;
537
- }, {
538
- name: string;
539
- values: string[];
540
- schema: string;
541
- }>;
542
- declare const tableScheme: import("zod").ZodObject<{
543
- name: import("zod").ZodString;
544
- schema: import("zod").ZodDefault<import("zod").ZodString>;
545
- columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
546
- name: import("zod").ZodString;
547
- type: import("zod").ZodString;
548
- typeSchema: import("zod").ZodOptional<import("zod").ZodString>;
549
- primaryKey: import("zod").ZodOptional<import("zod").ZodBoolean>;
550
- default: import("zod").ZodOptional<import("zod").ZodAny>;
551
- notNull: import("zod").ZodOptional<import("zod").ZodBoolean>;
552
- autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
553
- onUpdate: import("zod").ZodOptional<import("zod").ZodBoolean>;
554
- isUnique: import("zod").ZodOptional<import("zod").ZodAny>;
555
- uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
556
- nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
557
- }, "strict", ZodTypeAny, {
558
- isUnique?: any;
559
- default?: any;
560
- onUpdate?: boolean | undefined;
561
- primaryKey?: boolean | undefined;
562
- notNull?: boolean | undefined;
563
- autoincrement?: boolean | undefined;
564
- typeSchema?: string | undefined;
565
- uniqueName?: string | undefined;
566
- nullsNotDistinct?: boolean | undefined;
567
- name: string;
568
- type: string;
569
- }, {
570
- isUnique?: any;
571
- default?: any;
572
- onUpdate?: boolean | undefined;
573
- primaryKey?: boolean | undefined;
574
- notNull?: boolean | undefined;
575
- autoincrement?: boolean | undefined;
576
- typeSchema?: string | undefined;
577
- uniqueName?: string | undefined;
578
- nullsNotDistinct?: boolean | undefined;
579
- name: string;
580
- type: string;
581
- }>>;
582
- indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
583
- foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
584
- compositePrimaryKeys: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
585
- uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
586
- }, "strict", ZodTypeAny, {
587
- name: string;
588
- columns: Record<string, {
589
- isUnique?: any;
590
- default?: any;
591
- onUpdate?: boolean | undefined;
592
- primaryKey?: boolean | undefined;
593
- notNull?: boolean | undefined;
594
- autoincrement?: boolean | undefined;
595
- typeSchema?: string | undefined;
596
- uniqueName?: string | undefined;
597
- nullsNotDistinct?: boolean | undefined;
598
- name: string;
599
- type: string;
600
- }>;
601
- indexes: Record<string, string>;
602
- foreignKeys: Record<string, string>;
603
- schema: string;
604
- compositePrimaryKeys: Record<string, string>;
605
- uniqueConstraints: Record<string, string>;
606
- }, {
607
- schema?: string | undefined;
608
- compositePrimaryKeys?: Record<string, string> | undefined;
609
- uniqueConstraints?: Record<string, string> | undefined;
610
- name: string;
611
- columns: Record<string, {
612
- isUnique?: any;
613
- default?: any;
614
- onUpdate?: boolean | undefined;
615
- primaryKey?: boolean | undefined;
616
- notNull?: boolean | undefined;
617
- autoincrement?: boolean | undefined;
618
- typeSchema?: string | undefined;
619
- uniqueName?: string | undefined;
620
- nullsNotDistinct?: boolean | undefined;
621
- name: string;
622
- type: string;
623
- }>;
624
- indexes: Record<string, string>;
625
- foreignKeys: Record<string, string>;
626
- }>;
627
- export declare const alteredTableScheme: import("zod").ZodObject<{
628
- name: import("zod").ZodString;
629
- schema: import("zod").ZodString;
630
- altered: import("zod").ZodArray<import("zod").ZodObject<{
631
- name: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
632
- type: import("zod").ZodEnum<["changed"]>;
633
- old: import("zod").ZodString;
634
- new: import("zod").ZodString;
635
- }, "strip", ZodTypeAny, {
636
- type: "changed";
637
- old: string;
638
- new: string;
639
- }, {
640
- type: "changed";
641
- old: string;
642
- new: string;
643
- }>]>;
644
- type: import("zod").ZodOptional<import("zod").ZodObject<{
645
- type: import("zod").ZodEnum<["changed"]>;
646
- old: import("zod").ZodString;
647
- new: import("zod").ZodString;
648
- }, "strip", ZodTypeAny, {
649
- type: "changed";
650
- old: string;
651
- new: string;
652
- }, {
653
- type: "changed";
654
- old: string;
655
- new: string;
656
- }>>;
657
- default: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
658
- type: import("zod").ZodLiteral<"added">;
659
- value: import("zod").ZodAny;
660
- }, "strip", ZodTypeAny, {
661
- value?: any;
662
- type: "added";
663
- }, {
664
- value?: any;
665
- type: "added";
666
- }>, import("zod").ZodObject<{
667
- type: import("zod").ZodLiteral<"deleted">;
668
- value: import("zod").ZodAny;
669
- }, "strip", ZodTypeAny, {
670
- value?: any;
671
- type: "deleted";
672
- }, {
673
- value?: any;
674
- type: "deleted";
675
- }>, import("zod").ZodObject<{
676
- type: import("zod").ZodLiteral<"changed">;
677
- old: import("zod").ZodAny;
678
- new: import("zod").ZodAny;
679
- }, "strip", ZodTypeAny, {
680
- old?: any;
681
- new?: any;
682
- type: "changed";
683
- }, {
684
- old?: any;
685
- new?: any;
686
- type: "changed";
687
- }>]>>;
688
- primaryKey: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
689
- type: import("zod").ZodLiteral<"added">;
690
- value: import("zod").ZodBoolean;
691
- }, "strip", ZodTypeAny, {
692
- type: "added";
693
- value: boolean;
694
- }, {
695
- type: "added";
696
- value: boolean;
697
- }>, import("zod").ZodObject<{
698
- type: import("zod").ZodLiteral<"deleted">;
699
- value: import("zod").ZodBoolean;
700
- }, "strip", ZodTypeAny, {
701
- type: "deleted";
702
- value: boolean;
703
- }, {
704
- type: "deleted";
705
- value: boolean;
706
- }>, import("zod").ZodObject<{
707
- type: import("zod").ZodLiteral<"changed">;
708
- old: import("zod").ZodBoolean;
709
- new: import("zod").ZodBoolean;
710
- }, "strip", ZodTypeAny, {
711
- type: "changed";
712
- old: boolean;
713
- new: boolean;
714
- }, {
715
- type: "changed";
716
- old: boolean;
717
- new: boolean;
718
- }>]>>;
719
- notNull: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
720
- type: import("zod").ZodLiteral<"added">;
721
- value: import("zod").ZodBoolean;
722
- }, "strip", ZodTypeAny, {
723
- type: "added";
724
- value: boolean;
725
- }, {
726
- type: "added";
727
- value: boolean;
728
- }>, import("zod").ZodObject<{
729
- type: import("zod").ZodLiteral<"deleted">;
730
- value: import("zod").ZodBoolean;
731
- }, "strip", ZodTypeAny, {
732
- type: "deleted";
733
- value: boolean;
734
- }, {
735
- type: "deleted";
736
- value: boolean;
737
- }>, import("zod").ZodObject<{
738
- type: import("zod").ZodLiteral<"changed">;
739
- old: import("zod").ZodBoolean;
740
- new: import("zod").ZodBoolean;
741
- }, "strip", ZodTypeAny, {
742
- type: "changed";
743
- old: boolean;
744
- new: boolean;
745
- }, {
746
- type: "changed";
747
- old: boolean;
748
- new: boolean;
749
- }>]>>;
750
- typeSchema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
751
- type: import("zod").ZodLiteral<"added">;
752
- value: import("zod").ZodString;
753
- }, "strip", ZodTypeAny, {
754
- type: "added";
755
- value: string;
756
- }, {
757
- type: "added";
758
- value: string;
759
- }>, import("zod").ZodObject<{
760
- type: import("zod").ZodLiteral<"deleted">;
761
- value: import("zod").ZodString;
762
- }, "strip", ZodTypeAny, {
763
- type: "deleted";
764
- value: string;
765
- }, {
766
- type: "deleted";
767
- value: string;
768
- }>, import("zod").ZodObject<{
769
- type: import("zod").ZodLiteral<"changed">;
770
- old: import("zod").ZodString;
771
- new: import("zod").ZodString;
772
- }, "strip", ZodTypeAny, {
773
- type: "changed";
774
- old: string;
775
- new: string;
776
- }, {
777
- type: "changed";
778
- old: string;
779
- new: string;
780
- }>]>>;
781
- onUpdate: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
782
- type: import("zod").ZodLiteral<"added">;
783
- value: import("zod").ZodBoolean;
784
- }, "strip", ZodTypeAny, {
785
- type: "added";
786
- value: boolean;
787
- }, {
788
- type: "added";
789
- value: boolean;
790
- }>, import("zod").ZodObject<{
791
- type: import("zod").ZodLiteral<"deleted">;
792
- value: import("zod").ZodBoolean;
793
- }, "strip", ZodTypeAny, {
794
- type: "deleted";
795
- value: boolean;
796
- }, {
797
- type: "deleted";
798
- value: boolean;
799
- }>, import("zod").ZodObject<{
800
- type: import("zod").ZodLiteral<"changed">;
801
- old: import("zod").ZodBoolean;
802
- new: import("zod").ZodBoolean;
803
- }, "strip", ZodTypeAny, {
804
- type: "changed";
805
- old: boolean;
806
- new: boolean;
807
- }, {
808
- type: "changed";
809
- old: boolean;
810
- new: boolean;
811
- }>]>>;
812
- autoincrement: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
813
- type: import("zod").ZodLiteral<"added">;
814
- value: import("zod").ZodBoolean;
815
- }, "strip", ZodTypeAny, {
816
- type: "added";
817
- value: boolean;
818
- }, {
819
- type: "added";
820
- value: boolean;
821
- }>, import("zod").ZodObject<{
822
- type: import("zod").ZodLiteral<"deleted">;
823
- value: import("zod").ZodBoolean;
824
- }, "strip", ZodTypeAny, {
825
- type: "deleted";
826
- value: boolean;
827
- }, {
828
- type: "deleted";
829
- value: boolean;
830
- }>, import("zod").ZodObject<{
831
- type: import("zod").ZodLiteral<"changed">;
832
- old: import("zod").ZodBoolean;
833
- new: import("zod").ZodBoolean;
834
- }, "strip", ZodTypeAny, {
835
- type: "changed";
836
- old: boolean;
837
- new: boolean;
838
- }, {
839
- type: "changed";
840
- old: boolean;
841
- new: boolean;
842
- }>]>>;
843
- }, "strict", ZodTypeAny, {
844
- default?: {
845
- value?: any;
846
- type: "added";
847
- } | {
848
- value?: any;
849
- type: "deleted";
850
- } | {
851
- old?: any;
852
- new?: any;
853
- type: "changed";
854
- } | undefined;
855
- type?: {
856
- type: "changed";
857
- old: string;
858
- new: string;
859
- } | undefined;
860
- onUpdate?: {
861
- type: "added";
862
- value: boolean;
863
- } | {
864
- type: "deleted";
865
- value: boolean;
866
- } | {
867
- type: "changed";
868
- old: boolean;
869
- new: boolean;
870
- } | undefined;
871
- primaryKey?: {
872
- type: "added";
873
- value: boolean;
874
- } | {
875
- type: "deleted";
876
- value: boolean;
877
- } | {
878
- type: "changed";
879
- old: boolean;
880
- new: boolean;
881
- } | undefined;
882
- notNull?: {
883
- type: "added";
884
- value: boolean;
885
- } | {
886
- type: "deleted";
887
- value: boolean;
888
- } | {
889
- type: "changed";
890
- old: boolean;
891
- new: boolean;
892
- } | undefined;
893
- autoincrement?: {
894
- type: "added";
895
- value: boolean;
896
- } | {
897
- type: "deleted";
898
- value: boolean;
899
- } | {
900
- type: "changed";
901
- old: boolean;
902
- new: boolean;
903
- } | undefined;
904
- typeSchema?: {
905
- type: "added";
906
- value: string;
907
- } | {
908
- type: "deleted";
909
- value: string;
910
- } | {
911
- type: "changed";
912
- old: string;
913
- new: string;
914
- } | undefined;
915
- name: string | {
916
- type: "changed";
917
- old: string;
918
- new: string;
919
- };
920
- }, {
921
- default?: {
922
- value?: any;
923
- type: "added";
924
- } | {
925
- value?: any;
926
- type: "deleted";
927
- } | {
928
- old?: any;
929
- new?: any;
930
- type: "changed";
931
- } | undefined;
932
- type?: {
933
- type: "changed";
934
- old: string;
935
- new: string;
936
- } | undefined;
937
- onUpdate?: {
938
- type: "added";
939
- value: boolean;
940
- } | {
941
- type: "deleted";
942
- value: boolean;
943
- } | {
944
- type: "changed";
945
- old: boolean;
946
- new: boolean;
947
- } | undefined;
948
- primaryKey?: {
949
- type: "added";
950
- value: boolean;
951
- } | {
952
- type: "deleted";
953
- value: boolean;
954
- } | {
955
- type: "changed";
956
- old: boolean;
957
- new: boolean;
958
- } | undefined;
959
- notNull?: {
960
- type: "added";
961
- value: boolean;
962
- } | {
963
- type: "deleted";
964
- value: boolean;
965
- } | {
966
- type: "changed";
967
- old: boolean;
968
- new: boolean;
969
- } | undefined;
970
- autoincrement?: {
971
- type: "added";
972
- value: boolean;
973
- } | {
974
- type: "deleted";
975
- value: boolean;
976
- } | {
977
- type: "changed";
978
- old: boolean;
979
- new: boolean;
980
- } | undefined;
981
- typeSchema?: {
982
- type: "added";
983
- value: string;
984
- } | {
985
- type: "deleted";
986
- value: string;
987
- } | {
988
- type: "changed";
989
- old: string;
990
- new: string;
991
- } | undefined;
992
- name: string | {
993
- type: "changed";
994
- old: string;
995
- new: string;
996
- };
997
- }>, "many">;
998
- addedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
999
- deletedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1000
- alteredIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1001
- __new: import("zod").ZodString;
1002
- __old: import("zod").ZodString;
1003
- }, "strict", ZodTypeAny, {
1004
- __old: string;
1005
- __new: string;
1006
- }, {
1007
- __old: string;
1008
- __new: string;
1009
- }>>;
1010
- addedForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1011
- deletedForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1012
- alteredForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1013
- __new: import("zod").ZodString;
1014
- __old: import("zod").ZodString;
1015
- }, "strict", ZodTypeAny, {
1016
- __old: string;
1017
- __new: string;
1018
- }, {
1019
- __old: string;
1020
- __new: string;
1021
- }>>;
1022
- addedCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1023
- deletedCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1024
- alteredCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1025
- __new: import("zod").ZodString;
1026
- __old: import("zod").ZodString;
1027
- }, "strip", ZodTypeAny, {
1028
- __old: string;
1029
- __new: string;
1030
- }, {
1031
- __old: string;
1032
- __new: string;
1033
- }>>;
1034
- addedUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1035
- deletedUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1036
- alteredUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1037
- __new: import("zod").ZodString;
1038
- __old: import("zod").ZodString;
1039
- }, "strip", ZodTypeAny, {
1040
- __old: string;
1041
- __new: string;
1042
- }, {
1043
- __old: string;
1044
- __new: string;
1045
- }>>;
1046
- }, "strict", ZodTypeAny, {
1047
- name: string;
1048
- schema: string;
1049
- altered: {
1050
- default?: {
1051
- value?: any;
1052
- type: "added";
1053
- } | {
1054
- value?: any;
1055
- type: "deleted";
1056
- } | {
1057
- old?: any;
1058
- new?: any;
1059
- type: "changed";
1060
- } | undefined;
1061
- type?: {
1062
- type: "changed";
1063
- old: string;
1064
- new: string;
1065
- } | undefined;
1066
- onUpdate?: {
1067
- type: "added";
1068
- value: boolean;
1069
- } | {
1070
- type: "deleted";
1071
- value: boolean;
1072
- } | {
1073
- type: "changed";
1074
- old: boolean;
1075
- new: boolean;
1076
- } | undefined;
1077
- primaryKey?: {
1078
- type: "added";
1079
- value: boolean;
1080
- } | {
1081
- type: "deleted";
1082
- value: boolean;
1083
- } | {
1084
- type: "changed";
1085
- old: boolean;
1086
- new: boolean;
1087
- } | undefined;
1088
- notNull?: {
1089
- type: "added";
1090
- value: boolean;
1091
- } | {
1092
- type: "deleted";
1093
- value: boolean;
1094
- } | {
1095
- type: "changed";
1096
- old: boolean;
1097
- new: boolean;
1098
- } | undefined;
1099
- autoincrement?: {
1100
- type: "added";
1101
- value: boolean;
1102
- } | {
1103
- type: "deleted";
1104
- value: boolean;
1105
- } | {
1106
- type: "changed";
1107
- old: boolean;
1108
- new: boolean;
1109
- } | undefined;
1110
- typeSchema?: {
1111
- type: "added";
1112
- value: string;
1113
- } | {
1114
- type: "deleted";
1115
- value: string;
1116
- } | {
1117
- type: "changed";
1118
- old: string;
1119
- new: string;
1120
- } | undefined;
1121
- name: string | {
1122
- type: "changed";
1123
- old: string;
1124
- new: string;
1125
- };
1126
- }[];
1127
- addedIndexes: Record<string, string>;
1128
- deletedIndexes: Record<string, string>;
1129
- alteredIndexes: Record<string, {
1130
- __old: string;
1131
- __new: string;
1132
- }>;
1133
- addedForeignKeys: Record<string, string>;
1134
- deletedForeignKeys: Record<string, string>;
1135
- alteredForeignKeys: Record<string, {
1136
- __old: string;
1137
- __new: string;
1138
- }>;
1139
- addedCompositePKs: Record<string, string>;
1140
- deletedCompositePKs: Record<string, string>;
1141
- alteredCompositePKs: Record<string, {
1142
- __old: string;
1143
- __new: string;
1144
- }>;
1145
- addedUniqueConstraints: Record<string, string>;
1146
- deletedUniqueConstraints: Record<string, string>;
1147
- alteredUniqueConstraints: Record<string, {
1148
- __old: string;
1149
- __new: string;
1150
- }>;
1151
- }, {
1152
- name: string;
1153
- schema: string;
1154
- altered: {
1155
- default?: {
1156
- value?: any;
1157
- type: "added";
1158
- } | {
1159
- value?: any;
1160
- type: "deleted";
1161
- } | {
1162
- old?: any;
1163
- new?: any;
1164
- type: "changed";
1165
- } | undefined;
1166
- type?: {
1167
- type: "changed";
1168
- old: string;
1169
- new: string;
1170
- } | undefined;
1171
- onUpdate?: {
1172
- type: "added";
1173
- value: boolean;
1174
- } | {
1175
- type: "deleted";
1176
- value: boolean;
1177
- } | {
1178
- type: "changed";
1179
- old: boolean;
1180
- new: boolean;
1181
- } | undefined;
1182
- primaryKey?: {
1183
- type: "added";
1184
- value: boolean;
1185
- } | {
1186
- type: "deleted";
1187
- value: boolean;
1188
- } | {
1189
- type: "changed";
1190
- old: boolean;
1191
- new: boolean;
1192
- } | undefined;
1193
- notNull?: {
1194
- type: "added";
1195
- value: boolean;
1196
- } | {
1197
- type: "deleted";
1198
- value: boolean;
1199
- } | {
1200
- type: "changed";
1201
- old: boolean;
1202
- new: boolean;
1203
- } | undefined;
1204
- autoincrement?: {
1205
- type: "added";
1206
- value: boolean;
1207
- } | {
1208
- type: "deleted";
1209
- value: boolean;
1210
- } | {
1211
- type: "changed";
1212
- old: boolean;
1213
- new: boolean;
1214
- } | undefined;
1215
- typeSchema?: {
1216
- type: "added";
1217
- value: string;
1218
- } | {
1219
- type: "deleted";
1220
- value: string;
1221
- } | {
1222
- type: "changed";
1223
- old: string;
1224
- new: string;
1225
- } | undefined;
1226
- name: string | {
1227
- type: "changed";
1228
- old: string;
1229
- new: string;
1230
- };
1231
- }[];
1232
- addedIndexes: Record<string, string>;
1233
- deletedIndexes: Record<string, string>;
1234
- alteredIndexes: Record<string, {
1235
- __old: string;
1236
- __new: string;
1237
- }>;
1238
- addedForeignKeys: Record<string, string>;
1239
- deletedForeignKeys: Record<string, string>;
1240
- alteredForeignKeys: Record<string, {
1241
- __old: string;
1242
- __new: string;
1243
- }>;
1244
- addedCompositePKs: Record<string, string>;
1245
- deletedCompositePKs: Record<string, string>;
1246
- alteredCompositePKs: Record<string, {
1247
- __old: string;
1248
- __new: string;
1249
- }>;
1250
- addedUniqueConstraints: Record<string, string>;
1251
- deletedUniqueConstraints: Record<string, string>;
1252
- alteredUniqueConstraints: Record<string, {
1253
- __old: string;
1254
- __new: string;
1255
- }>;
1256
- }>;
1257
- export declare const diffResultScheme: import("zod").ZodObject<{
1258
- alteredTablesWithColumns: import("zod").ZodArray<import("zod").ZodObject<{
1259
- name: import("zod").ZodString;
1260
- schema: import("zod").ZodString;
1261
- altered: import("zod").ZodArray<import("zod").ZodObject<{
1262
- name: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
1263
- type: import("zod").ZodEnum<["changed"]>;
1264
- old: import("zod").ZodString;
1265
- new: import("zod").ZodString;
1266
- }, "strip", ZodTypeAny, {
1267
- type: "changed";
1268
- old: string;
1269
- new: string;
1270
- }, {
1271
- type: "changed";
1272
- old: string;
1273
- new: string;
1274
- }>]>;
1275
- type: import("zod").ZodOptional<import("zod").ZodObject<{
1276
- type: import("zod").ZodEnum<["changed"]>;
1277
- old: import("zod").ZodString;
1278
- new: import("zod").ZodString;
1279
- }, "strip", ZodTypeAny, {
1280
- type: "changed";
1281
- old: string;
1282
- new: string;
1283
- }, {
1284
- type: "changed";
1285
- old: string;
1286
- new: string;
1287
- }>>;
1288
- default: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
1289
- type: import("zod").ZodLiteral<"added">;
1290
- value: import("zod").ZodAny;
1291
- }, "strip", ZodTypeAny, {
1292
- value?: any;
1293
- type: "added";
1294
- }, {
1295
- value?: any;
1296
- type: "added";
1297
- }>, import("zod").ZodObject<{
1298
- type: import("zod").ZodLiteral<"deleted">;
1299
- value: import("zod").ZodAny;
1300
- }, "strip", ZodTypeAny, {
1301
- value?: any;
1302
- type: "deleted";
1303
- }, {
1304
- value?: any;
1305
- type: "deleted";
1306
- }>, import("zod").ZodObject<{
1307
- type: import("zod").ZodLiteral<"changed">;
1308
- old: import("zod").ZodAny;
1309
- new: import("zod").ZodAny;
1310
- }, "strip", ZodTypeAny, {
1311
- old?: any;
1312
- new?: any;
1313
- type: "changed";
1314
- }, {
1315
- old?: any;
1316
- new?: any;
1317
- type: "changed";
1318
- }>]>>;
1319
- primaryKey: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
1320
- type: import("zod").ZodLiteral<"added">;
1321
- value: import("zod").ZodBoolean;
1322
- }, "strip", ZodTypeAny, {
1323
- type: "added";
1324
- value: boolean;
1325
- }, {
1326
- type: "added";
1327
- value: boolean;
1328
- }>, import("zod").ZodObject<{
1329
- type: import("zod").ZodLiteral<"deleted">;
1330
- value: import("zod").ZodBoolean;
1331
- }, "strip", ZodTypeAny, {
1332
- type: "deleted";
1333
- value: boolean;
1334
- }, {
1335
- type: "deleted";
1336
- value: boolean;
1337
- }>, import("zod").ZodObject<{
1338
- type: import("zod").ZodLiteral<"changed">;
1339
- old: import("zod").ZodBoolean;
1340
- new: import("zod").ZodBoolean;
1341
- }, "strip", ZodTypeAny, {
1342
- type: "changed";
1343
- old: boolean;
1344
- new: boolean;
1345
- }, {
1346
- type: "changed";
1347
- old: boolean;
1348
- new: boolean;
1349
- }>]>>;
1350
- notNull: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
1351
- type: import("zod").ZodLiteral<"added">;
1352
- value: import("zod").ZodBoolean;
1353
- }, "strip", ZodTypeAny, {
1354
- type: "added";
1355
- value: boolean;
1356
- }, {
1357
- type: "added";
1358
- value: boolean;
1359
- }>, import("zod").ZodObject<{
1360
- type: import("zod").ZodLiteral<"deleted">;
1361
- value: import("zod").ZodBoolean;
1362
- }, "strip", ZodTypeAny, {
1363
- type: "deleted";
1364
- value: boolean;
1365
- }, {
1366
- type: "deleted";
1367
- value: boolean;
1368
- }>, import("zod").ZodObject<{
1369
- type: import("zod").ZodLiteral<"changed">;
1370
- old: import("zod").ZodBoolean;
1371
- new: import("zod").ZodBoolean;
1372
- }, "strip", ZodTypeAny, {
1373
- type: "changed";
1374
- old: boolean;
1375
- new: boolean;
1376
- }, {
1377
- type: "changed";
1378
- old: boolean;
1379
- new: boolean;
1380
- }>]>>;
1381
- typeSchema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
1382
- type: import("zod").ZodLiteral<"added">;
1383
- value: import("zod").ZodString;
1384
- }, "strip", ZodTypeAny, {
1385
- type: "added";
1386
- value: string;
1387
- }, {
1388
- type: "added";
1389
- value: string;
1390
- }>, import("zod").ZodObject<{
1391
- type: import("zod").ZodLiteral<"deleted">;
1392
- value: import("zod").ZodString;
1393
- }, "strip", ZodTypeAny, {
1394
- type: "deleted";
1395
- value: string;
1396
- }, {
1397
- type: "deleted";
1398
- value: string;
1399
- }>, import("zod").ZodObject<{
1400
- type: import("zod").ZodLiteral<"changed">;
1401
- old: import("zod").ZodString;
1402
- new: import("zod").ZodString;
1403
- }, "strip", ZodTypeAny, {
1404
- type: "changed";
1405
- old: string;
1406
- new: string;
1407
- }, {
1408
- type: "changed";
1409
- old: string;
1410
- new: string;
1411
- }>]>>;
1412
- onUpdate: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
1413
- type: import("zod").ZodLiteral<"added">;
1414
- value: import("zod").ZodBoolean;
1415
- }, "strip", ZodTypeAny, {
1416
- type: "added";
1417
- value: boolean;
1418
- }, {
1419
- type: "added";
1420
- value: boolean;
1421
- }>, import("zod").ZodObject<{
1422
- type: import("zod").ZodLiteral<"deleted">;
1423
- value: import("zod").ZodBoolean;
1424
- }, "strip", ZodTypeAny, {
1425
- type: "deleted";
1426
- value: boolean;
1427
- }, {
1428
- type: "deleted";
1429
- value: boolean;
1430
- }>, import("zod").ZodObject<{
1431
- type: import("zod").ZodLiteral<"changed">;
1432
- old: import("zod").ZodBoolean;
1433
- new: import("zod").ZodBoolean;
1434
- }, "strip", ZodTypeAny, {
1435
- type: "changed";
1436
- old: boolean;
1437
- new: boolean;
1438
- }, {
1439
- type: "changed";
1440
- old: boolean;
1441
- new: boolean;
1442
- }>]>>;
1443
- autoincrement: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
1444
- type: import("zod").ZodLiteral<"added">;
1445
- value: import("zod").ZodBoolean;
1446
- }, "strip", ZodTypeAny, {
1447
- type: "added";
1448
- value: boolean;
1449
- }, {
1450
- type: "added";
1451
- value: boolean;
1452
- }>, import("zod").ZodObject<{
1453
- type: import("zod").ZodLiteral<"deleted">;
1454
- value: import("zod").ZodBoolean;
1455
- }, "strip", ZodTypeAny, {
1456
- type: "deleted";
1457
- value: boolean;
1458
- }, {
1459
- type: "deleted";
1460
- value: boolean;
1461
- }>, import("zod").ZodObject<{
1462
- type: import("zod").ZodLiteral<"changed">;
1463
- old: import("zod").ZodBoolean;
1464
- new: import("zod").ZodBoolean;
1465
- }, "strip", ZodTypeAny, {
1466
- type: "changed";
1467
- old: boolean;
1468
- new: boolean;
1469
- }, {
1470
- type: "changed";
1471
- old: boolean;
1472
- new: boolean;
1473
- }>]>>;
1474
- }, "strict", ZodTypeAny, {
1475
- default?: {
1476
- value?: any;
1477
- type: "added";
1478
- } | {
1479
- value?: any;
1480
- type: "deleted";
1481
- } | {
1482
- old?: any;
1483
- new?: any;
1484
- type: "changed";
1485
- } | undefined;
1486
- type?: {
1487
- type: "changed";
1488
- old: string;
1489
- new: string;
1490
- } | undefined;
1491
- onUpdate?: {
1492
- type: "added";
1493
- value: boolean;
1494
- } | {
1495
- type: "deleted";
1496
- value: boolean;
1497
- } | {
1498
- type: "changed";
1499
- old: boolean;
1500
- new: boolean;
1501
- } | undefined;
1502
- primaryKey?: {
1503
- type: "added";
1504
- value: boolean;
1505
- } | {
1506
- type: "deleted";
1507
- value: boolean;
1508
- } | {
1509
- type: "changed";
1510
- old: boolean;
1511
- new: boolean;
1512
- } | undefined;
1513
- notNull?: {
1514
- type: "added";
1515
- value: boolean;
1516
- } | {
1517
- type: "deleted";
1518
- value: boolean;
1519
- } | {
1520
- type: "changed";
1521
- old: boolean;
1522
- new: boolean;
1523
- } | undefined;
1524
- autoincrement?: {
1525
- type: "added";
1526
- value: boolean;
1527
- } | {
1528
- type: "deleted";
1529
- value: boolean;
1530
- } | {
1531
- type: "changed";
1532
- old: boolean;
1533
- new: boolean;
1534
- } | undefined;
1535
- typeSchema?: {
1536
- type: "added";
1537
- value: string;
1538
- } | {
1539
- type: "deleted";
1540
- value: string;
1541
- } | {
1542
- type: "changed";
1543
- old: string;
1544
- new: string;
1545
- } | undefined;
1546
- name: string | {
1547
- type: "changed";
1548
- old: string;
1549
- new: string;
1550
- };
1551
- }, {
1552
- default?: {
1553
- value?: any;
1554
- type: "added";
1555
- } | {
1556
- value?: any;
1557
- type: "deleted";
1558
- } | {
1559
- old?: any;
1560
- new?: any;
1561
- type: "changed";
1562
- } | undefined;
1563
- type?: {
1564
- type: "changed";
1565
- old: string;
1566
- new: string;
1567
- } | undefined;
1568
- onUpdate?: {
1569
- type: "added";
1570
- value: boolean;
1571
- } | {
1572
- type: "deleted";
1573
- value: boolean;
1574
- } | {
1575
- type: "changed";
1576
- old: boolean;
1577
- new: boolean;
1578
- } | undefined;
1579
- primaryKey?: {
1580
- type: "added";
1581
- value: boolean;
1582
- } | {
1583
- type: "deleted";
1584
- value: boolean;
1585
- } | {
1586
- type: "changed";
1587
- old: boolean;
1588
- new: boolean;
1589
- } | undefined;
1590
- notNull?: {
1591
- type: "added";
1592
- value: boolean;
1593
- } | {
1594
- type: "deleted";
1595
- value: boolean;
1596
- } | {
1597
- type: "changed";
1598
- old: boolean;
1599
- new: boolean;
1600
- } | undefined;
1601
- autoincrement?: {
1602
- type: "added";
1603
- value: boolean;
1604
- } | {
1605
- type: "deleted";
1606
- value: boolean;
1607
- } | {
1608
- type: "changed";
1609
- old: boolean;
1610
- new: boolean;
1611
- } | undefined;
1612
- typeSchema?: {
1613
- type: "added";
1614
- value: string;
1615
- } | {
1616
- type: "deleted";
1617
- value: string;
1618
- } | {
1619
- type: "changed";
1620
- old: string;
1621
- new: string;
1622
- } | undefined;
1623
- name: string | {
1624
- type: "changed";
1625
- old: string;
1626
- new: string;
1627
- };
1628
- }>, "many">;
1629
- addedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1630
- deletedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1631
- alteredIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1632
- __new: import("zod").ZodString;
1633
- __old: import("zod").ZodString;
1634
- }, "strict", ZodTypeAny, {
1635
- __old: string;
1636
- __new: string;
1637
- }, {
1638
- __old: string;
1639
- __new: string;
1640
- }>>;
1641
- addedForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1642
- deletedForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1643
- alteredForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1644
- __new: import("zod").ZodString;
1645
- __old: import("zod").ZodString;
1646
- }, "strict", ZodTypeAny, {
1647
- __old: string;
1648
- __new: string;
1649
- }, {
1650
- __old: string;
1651
- __new: string;
1652
- }>>;
1653
- addedCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1654
- deletedCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1655
- alteredCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1656
- __new: import("zod").ZodString;
1657
- __old: import("zod").ZodString;
1658
- }, "strip", ZodTypeAny, {
1659
- __old: string;
1660
- __new: string;
1661
- }, {
1662
- __old: string;
1663
- __new: string;
1664
- }>>;
1665
- addedUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1666
- deletedUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
1667
- alteredUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
1668
- __new: import("zod").ZodString;
1669
- __old: import("zod").ZodString;
1670
- }, "strip", ZodTypeAny, {
1671
- __old: string;
1672
- __new: string;
1673
- }, {
1674
- __old: string;
1675
- __new: string;
1676
- }>>;
1677
- }, "strict", ZodTypeAny, {
1678
- name: string;
1679
- schema: string;
1680
- altered: {
1681
- default?: {
1682
- value?: any;
1683
- type: "added";
1684
- } | {
1685
- value?: any;
1686
- type: "deleted";
1687
- } | {
1688
- old?: any;
1689
- new?: any;
1690
- type: "changed";
1691
- } | undefined;
1692
- type?: {
1693
- type: "changed";
1694
- old: string;
1695
- new: string;
1696
- } | undefined;
1697
- onUpdate?: {
1698
- type: "added";
1699
- value: boolean;
1700
- } | {
1701
- type: "deleted";
1702
- value: boolean;
1703
- } | {
1704
- type: "changed";
1705
- old: boolean;
1706
- new: boolean;
1707
- } | undefined;
1708
- primaryKey?: {
1709
- type: "added";
1710
- value: boolean;
1711
- } | {
1712
- type: "deleted";
1713
- value: boolean;
1714
- } | {
1715
- type: "changed";
1716
- old: boolean;
1717
- new: boolean;
1718
- } | undefined;
1719
- notNull?: {
1720
- type: "added";
1721
- value: boolean;
1722
- } | {
1723
- type: "deleted";
1724
- value: boolean;
1725
- } | {
1726
- type: "changed";
1727
- old: boolean;
1728
- new: boolean;
1729
- } | undefined;
1730
- autoincrement?: {
1731
- type: "added";
1732
- value: boolean;
1733
- } | {
1734
- type: "deleted";
1735
- value: boolean;
1736
- } | {
1737
- type: "changed";
1738
- old: boolean;
1739
- new: boolean;
1740
- } | undefined;
1741
- typeSchema?: {
1742
- type: "added";
1743
- value: string;
1744
- } | {
1745
- type: "deleted";
1746
- value: string;
1747
- } | {
1748
- type: "changed";
1749
- old: string;
1750
- new: string;
1751
- } | undefined;
1752
- name: string | {
1753
- type: "changed";
1754
- old: string;
1755
- new: string;
1756
- };
1757
- }[];
1758
- addedIndexes: Record<string, string>;
1759
- deletedIndexes: Record<string, string>;
1760
- alteredIndexes: Record<string, {
1761
- __old: string;
1762
- __new: string;
1763
- }>;
1764
- addedForeignKeys: Record<string, string>;
1765
- deletedForeignKeys: Record<string, string>;
1766
- alteredForeignKeys: Record<string, {
1767
- __old: string;
1768
- __new: string;
1769
- }>;
1770
- addedCompositePKs: Record<string, string>;
1771
- deletedCompositePKs: Record<string, string>;
1772
- alteredCompositePKs: Record<string, {
1773
- __old: string;
1774
- __new: string;
1775
- }>;
1776
- addedUniqueConstraints: Record<string, string>;
1777
- deletedUniqueConstraints: Record<string, string>;
1778
- alteredUniqueConstraints: Record<string, {
1779
- __old: string;
1780
- __new: string;
1781
- }>;
1782
- }, {
1783
- name: string;
1784
- schema: string;
1785
- altered: {
1786
- default?: {
1787
- value?: any;
1788
- type: "added";
1789
- } | {
1790
- value?: any;
1791
- type: "deleted";
1792
- } | {
1793
- old?: any;
1794
- new?: any;
1795
- type: "changed";
1796
- } | undefined;
1797
- type?: {
1798
- type: "changed";
1799
- old: string;
1800
- new: string;
1801
- } | undefined;
1802
- onUpdate?: {
1803
- type: "added";
1804
- value: boolean;
1805
- } | {
1806
- type: "deleted";
1807
- value: boolean;
1808
- } | {
1809
- type: "changed";
1810
- old: boolean;
1811
- new: boolean;
1812
- } | undefined;
1813
- primaryKey?: {
1814
- type: "added";
1815
- value: boolean;
1816
- } | {
1817
- type: "deleted";
1818
- value: boolean;
1819
- } | {
1820
- type: "changed";
1821
- old: boolean;
1822
- new: boolean;
1823
- } | undefined;
1824
- notNull?: {
1825
- type: "added";
1826
- value: boolean;
1827
- } | {
1828
- type: "deleted";
1829
- value: boolean;
1830
- } | {
1831
- type: "changed";
1832
- old: boolean;
1833
- new: boolean;
1834
- } | undefined;
1835
- autoincrement?: {
1836
- type: "added";
1837
- value: boolean;
1838
- } | {
1839
- type: "deleted";
1840
- value: boolean;
1841
- } | {
1842
- type: "changed";
1843
- old: boolean;
1844
- new: boolean;
1845
- } | undefined;
1846
- typeSchema?: {
1847
- type: "added";
1848
- value: string;
1849
- } | {
1850
- type: "deleted";
1851
- value: string;
1852
- } | {
1853
- type: "changed";
1854
- old: string;
1855
- new: string;
1856
- } | undefined;
1857
- name: string | {
1858
- type: "changed";
1859
- old: string;
1860
- new: string;
1861
- };
1862
- }[];
1863
- addedIndexes: Record<string, string>;
1864
- deletedIndexes: Record<string, string>;
1865
- alteredIndexes: Record<string, {
1866
- __old: string;
1867
- __new: string;
1868
- }>;
1869
- addedForeignKeys: Record<string, string>;
1870
- deletedForeignKeys: Record<string, string>;
1871
- alteredForeignKeys: Record<string, {
1872
- __old: string;
1873
- __new: string;
1874
- }>;
1875
- addedCompositePKs: Record<string, string>;
1876
- deletedCompositePKs: Record<string, string>;
1877
- alteredCompositePKs: Record<string, {
1878
- __old: string;
1879
- __new: string;
1880
- }>;
1881
- addedUniqueConstraints: Record<string, string>;
1882
- deletedUniqueConstraints: Record<string, string>;
1883
- alteredUniqueConstraints: Record<string, {
1884
- __old: string;
1885
- __new: string;
1886
- }>;
1887
- }>, "many">;
1888
- alteredEnums: import("zod").ZodArray<import("zod").ZodObject<{
1889
- name: import("zod").ZodString;
1890
- schema: import("zod").ZodString;
1891
- addedValues: import("zod").ZodArray<import("zod").ZodObject<{
1892
- before: import("zod").ZodString;
1893
- value: import("zod").ZodString;
1894
- }, "strip", ZodTypeAny, {
1895
- value: string;
1896
- before: string;
1897
- }, {
1898
- value: string;
1899
- before: string;
1900
- }>, "many">;
1901
- deletedValues: import("zod").ZodArray<import("zod").ZodString, "many">;
1902
- }, "strict", ZodTypeAny, {
1903
- name: string;
1904
- schema: string;
1905
- addedValues: {
1906
- value: string;
1907
- before: string;
1908
- }[];
1909
- deletedValues: string[];
1910
- }, {
1911
- name: string;
1912
- schema: string;
1913
- addedValues: {
1914
- value: string;
1915
- before: string;
1916
- }[];
1917
- deletedValues: string[];
1918
- }>, "many">;
1919
- }, "strict", ZodTypeAny, {
1920
- alteredTablesWithColumns: {
1921
- name: string;
1922
- schema: string;
1923
- altered: {
1924
- default?: {
1925
- value?: any;
1926
- type: "added";
1927
- } | {
1928
- value?: any;
1929
- type: "deleted";
1930
- } | {
1931
- old?: any;
1932
- new?: any;
1933
- type: "changed";
1934
- } | undefined;
1935
- type?: {
1936
- type: "changed";
1937
- old: string;
1938
- new: string;
1939
- } | undefined;
1940
- onUpdate?: {
1941
- type: "added";
1942
- value: boolean;
1943
- } | {
1944
- type: "deleted";
1945
- value: boolean;
1946
- } | {
1947
- type: "changed";
1948
- old: boolean;
1949
- new: boolean;
1950
- } | undefined;
1951
- primaryKey?: {
1952
- type: "added";
1953
- value: boolean;
1954
- } | {
1955
- type: "deleted";
1956
- value: boolean;
1957
- } | {
1958
- type: "changed";
1959
- old: boolean;
1960
- new: boolean;
1961
- } | undefined;
1962
- notNull?: {
1963
- type: "added";
1964
- value: boolean;
1965
- } | {
1966
- type: "deleted";
1967
- value: boolean;
1968
- } | {
1969
- type: "changed";
1970
- old: boolean;
1971
- new: boolean;
1972
- } | undefined;
1973
- autoincrement?: {
1974
- type: "added";
1975
- value: boolean;
1976
- } | {
1977
- type: "deleted";
1978
- value: boolean;
1979
- } | {
1980
- type: "changed";
1981
- old: boolean;
1982
- new: boolean;
1983
- } | undefined;
1984
- typeSchema?: {
1985
- type: "added";
1986
- value: string;
1987
- } | {
1988
- type: "deleted";
1989
- value: string;
1990
- } | {
1991
- type: "changed";
1992
- old: string;
1993
- new: string;
1994
- } | undefined;
1995
- name: string | {
1996
- type: "changed";
1997
- old: string;
1998
- new: string;
1999
- };
2000
- }[];
2001
- addedIndexes: Record<string, string>;
2002
- deletedIndexes: Record<string, string>;
2003
- alteredIndexes: Record<string, {
2004
- __old: string;
2005
- __new: string;
2006
- }>;
2007
- addedForeignKeys: Record<string, string>;
2008
- deletedForeignKeys: Record<string, string>;
2009
- alteredForeignKeys: Record<string, {
2010
- __old: string;
2011
- __new: string;
2012
- }>;
2013
- addedCompositePKs: Record<string, string>;
2014
- deletedCompositePKs: Record<string, string>;
2015
- alteredCompositePKs: Record<string, {
2016
- __old: string;
2017
- __new: string;
2018
- }>;
2019
- addedUniqueConstraints: Record<string, string>;
2020
- deletedUniqueConstraints: Record<string, string>;
2021
- alteredUniqueConstraints: Record<string, {
2022
- __old: string;
2023
- __new: string;
2024
- }>;
2025
- }[];
2026
- alteredEnums: {
2027
- name: string;
2028
- schema: string;
2029
- addedValues: {
2030
- value: string;
2031
- before: string;
2032
- }[];
2033
- deletedValues: string[];
2034
- }[];
2035
- }, {
2036
- alteredTablesWithColumns: {
2037
- name: string;
2038
- schema: string;
2039
- altered: {
2040
- default?: {
2041
- value?: any;
2042
- type: "added";
2043
- } | {
2044
- value?: any;
2045
- type: "deleted";
2046
- } | {
2047
- old?: any;
2048
- new?: any;
2049
- type: "changed";
2050
- } | undefined;
2051
- type?: {
2052
- type: "changed";
2053
- old: string;
2054
- new: string;
2055
- } | undefined;
2056
- onUpdate?: {
2057
- type: "added";
2058
- value: boolean;
2059
- } | {
2060
- type: "deleted";
2061
- value: boolean;
2062
- } | {
2063
- type: "changed";
2064
- old: boolean;
2065
- new: boolean;
2066
- } | undefined;
2067
- primaryKey?: {
2068
- type: "added";
2069
- value: boolean;
2070
- } | {
2071
- type: "deleted";
2072
- value: boolean;
2073
- } | {
2074
- type: "changed";
2075
- old: boolean;
2076
- new: boolean;
2077
- } | undefined;
2078
- notNull?: {
2079
- type: "added";
2080
- value: boolean;
2081
- } | {
2082
- type: "deleted";
2083
- value: boolean;
2084
- } | {
2085
- type: "changed";
2086
- old: boolean;
2087
- new: boolean;
2088
- } | undefined;
2089
- autoincrement?: {
2090
- type: "added";
2091
- value: boolean;
2092
- } | {
2093
- type: "deleted";
2094
- value: boolean;
2095
- } | {
2096
- type: "changed";
2097
- old: boolean;
2098
- new: boolean;
2099
- } | undefined;
2100
- typeSchema?: {
2101
- type: "added";
2102
- value: string;
2103
- } | {
2104
- type: "deleted";
2105
- value: string;
2106
- } | {
2107
- type: "changed";
2108
- old: string;
2109
- new: string;
2110
- } | undefined;
2111
- name: string | {
2112
- type: "changed";
2113
- old: string;
2114
- new: string;
2115
- };
2116
- }[];
2117
- addedIndexes: Record<string, string>;
2118
- deletedIndexes: Record<string, string>;
2119
- alteredIndexes: Record<string, {
2120
- __old: string;
2121
- __new: string;
2122
- }>;
2123
- addedForeignKeys: Record<string, string>;
2124
- deletedForeignKeys: Record<string, string>;
2125
- alteredForeignKeys: Record<string, {
2126
- __old: string;
2127
- __new: string;
2128
- }>;
2129
- addedCompositePKs: Record<string, string>;
2130
- deletedCompositePKs: Record<string, string>;
2131
- alteredCompositePKs: Record<string, {
2132
- __old: string;
2133
- __new: string;
2134
- }>;
2135
- addedUniqueConstraints: Record<string, string>;
2136
- deletedUniqueConstraints: Record<string, string>;
2137
- alteredUniqueConstraints: Record<string, {
2138
- __old: string;
2139
- __new: string;
2140
- }>;
2141
- }[];
2142
- alteredEnums: {
2143
- name: string;
2144
- schema: string;
2145
- addedValues: {
2146
- value: string;
2147
- before: string;
2148
- }[];
2149
- deletedValues: string[];
2150
- }[];
2151
- }>;
2152
- export declare const diffResultSchemeMysql: import("zod").ZodObject<{
2153
- alteredTablesWithColumns: import("zod").ZodArray<import("zod").ZodObject<{
2154
- name: import("zod").ZodString;
2155
- schema: import("zod").ZodString;
2156
- altered: import("zod").ZodArray<import("zod").ZodObject<{
2157
- name: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
2158
- type: import("zod").ZodEnum<["changed"]>;
2159
- old: import("zod").ZodString;
2160
- new: import("zod").ZodString;
2161
- }, "strip", ZodTypeAny, {
2162
- type: "changed";
2163
- old: string;
2164
- new: string;
2165
- }, {
2166
- type: "changed";
2167
- old: string;
2168
- new: string;
2169
- }>]>;
2170
- type: import("zod").ZodOptional<import("zod").ZodObject<{
2171
- type: import("zod").ZodEnum<["changed"]>;
2172
- old: import("zod").ZodString;
2173
- new: import("zod").ZodString;
2174
- }, "strip", ZodTypeAny, {
2175
- type: "changed";
2176
- old: string;
2177
- new: string;
2178
- }, {
2179
- type: "changed";
2180
- old: string;
2181
- new: string;
2182
- }>>;
2183
- default: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
2184
- type: import("zod").ZodLiteral<"added">;
2185
- value: import("zod").ZodAny;
2186
- }, "strip", ZodTypeAny, {
2187
- value?: any;
2188
- type: "added";
2189
- }, {
2190
- value?: any;
2191
- type: "added";
2192
- }>, import("zod").ZodObject<{
2193
- type: import("zod").ZodLiteral<"deleted">;
2194
- value: import("zod").ZodAny;
2195
- }, "strip", ZodTypeAny, {
2196
- value?: any;
2197
- type: "deleted";
2198
- }, {
2199
- value?: any;
2200
- type: "deleted";
2201
- }>, import("zod").ZodObject<{
2202
- type: import("zod").ZodLiteral<"changed">;
2203
- old: import("zod").ZodAny;
2204
- new: import("zod").ZodAny;
2205
- }, "strip", ZodTypeAny, {
2206
- old?: any;
2207
- new?: any;
2208
- type: "changed";
2209
- }, {
2210
- old?: any;
2211
- new?: any;
2212
- type: "changed";
2213
- }>]>>;
2214
- primaryKey: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
2215
- type: import("zod").ZodLiteral<"added">;
2216
- value: import("zod").ZodBoolean;
2217
- }, "strip", ZodTypeAny, {
2218
- type: "added";
2219
- value: boolean;
2220
- }, {
2221
- type: "added";
2222
- value: boolean;
2223
- }>, import("zod").ZodObject<{
2224
- type: import("zod").ZodLiteral<"deleted">;
2225
- value: import("zod").ZodBoolean;
2226
- }, "strip", ZodTypeAny, {
2227
- type: "deleted";
2228
- value: boolean;
2229
- }, {
2230
- type: "deleted";
2231
- value: boolean;
2232
- }>, import("zod").ZodObject<{
2233
- type: import("zod").ZodLiteral<"changed">;
2234
- old: import("zod").ZodBoolean;
2235
- new: import("zod").ZodBoolean;
2236
- }, "strip", ZodTypeAny, {
2237
- type: "changed";
2238
- old: boolean;
2239
- new: boolean;
2240
- }, {
2241
- type: "changed";
2242
- old: boolean;
2243
- new: boolean;
2244
- }>]>>;
2245
- notNull: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
2246
- type: import("zod").ZodLiteral<"added">;
2247
- value: import("zod").ZodBoolean;
2248
- }, "strip", ZodTypeAny, {
2249
- type: "added";
2250
- value: boolean;
2251
- }, {
2252
- type: "added";
2253
- value: boolean;
2254
- }>, import("zod").ZodObject<{
2255
- type: import("zod").ZodLiteral<"deleted">;
2256
- value: import("zod").ZodBoolean;
2257
- }, "strip", ZodTypeAny, {
2258
- type: "deleted";
2259
- value: boolean;
2260
- }, {
2261
- type: "deleted";
2262
- value: boolean;
2263
- }>, import("zod").ZodObject<{
2264
- type: import("zod").ZodLiteral<"changed">;
2265
- old: import("zod").ZodBoolean;
2266
- new: import("zod").ZodBoolean;
2267
- }, "strip", ZodTypeAny, {
2268
- type: "changed";
2269
- old: boolean;
2270
- new: boolean;
2271
- }, {
2272
- type: "changed";
2273
- old: boolean;
2274
- new: boolean;
2275
- }>]>>;
2276
- typeSchema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
2277
- type: import("zod").ZodLiteral<"added">;
2278
- value: import("zod").ZodString;
2279
- }, "strip", ZodTypeAny, {
2280
- type: "added";
2281
- value: string;
2282
- }, {
2283
- type: "added";
2284
- value: string;
2285
- }>, import("zod").ZodObject<{
2286
- type: import("zod").ZodLiteral<"deleted">;
2287
- value: import("zod").ZodString;
2288
- }, "strip", ZodTypeAny, {
2289
- type: "deleted";
2290
- value: string;
2291
- }, {
2292
- type: "deleted";
2293
- value: string;
2294
- }>, import("zod").ZodObject<{
2295
- type: import("zod").ZodLiteral<"changed">;
2296
- old: import("zod").ZodString;
2297
- new: import("zod").ZodString;
2298
- }, "strip", ZodTypeAny, {
2299
- type: "changed";
2300
- old: string;
2301
- new: string;
2302
- }, {
2303
- type: "changed";
2304
- old: string;
2305
- new: string;
2306
- }>]>>;
2307
- onUpdate: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
2308
- type: import("zod").ZodLiteral<"added">;
2309
- value: import("zod").ZodBoolean;
2310
- }, "strip", ZodTypeAny, {
2311
- type: "added";
2312
- value: boolean;
2313
- }, {
2314
- type: "added";
2315
- value: boolean;
2316
- }>, import("zod").ZodObject<{
2317
- type: import("zod").ZodLiteral<"deleted">;
2318
- value: import("zod").ZodBoolean;
2319
- }, "strip", ZodTypeAny, {
2320
- type: "deleted";
2321
- value: boolean;
2322
- }, {
2323
- type: "deleted";
2324
- value: boolean;
2325
- }>, import("zod").ZodObject<{
2326
- type: import("zod").ZodLiteral<"changed">;
2327
- old: import("zod").ZodBoolean;
2328
- new: import("zod").ZodBoolean;
2329
- }, "strip", ZodTypeAny, {
2330
- type: "changed";
2331
- old: boolean;
2332
- new: boolean;
2333
- }, {
2334
- type: "changed";
2335
- old: boolean;
2336
- new: boolean;
2337
- }>]>>;
2338
- autoincrement: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
2339
- type: import("zod").ZodLiteral<"added">;
2340
- value: import("zod").ZodBoolean;
2341
- }, "strip", ZodTypeAny, {
2342
- type: "added";
2343
- value: boolean;
2344
- }, {
2345
- type: "added";
2346
- value: boolean;
2347
- }>, import("zod").ZodObject<{
2348
- type: import("zod").ZodLiteral<"deleted">;
2349
- value: import("zod").ZodBoolean;
2350
- }, "strip", ZodTypeAny, {
2351
- type: "deleted";
2352
- value: boolean;
2353
- }, {
2354
- type: "deleted";
2355
- value: boolean;
2356
- }>, import("zod").ZodObject<{
2357
- type: import("zod").ZodLiteral<"changed">;
2358
- old: import("zod").ZodBoolean;
2359
- new: import("zod").ZodBoolean;
2360
- }, "strip", ZodTypeAny, {
2361
- type: "changed";
2362
- old: boolean;
2363
- new: boolean;
2364
- }, {
2365
- type: "changed";
2366
- old: boolean;
2367
- new: boolean;
2368
- }>]>>;
2369
- }, "strict", ZodTypeAny, {
2370
- default?: {
2371
- value?: any;
2372
- type: "added";
2373
- } | {
2374
- value?: any;
2375
- type: "deleted";
2376
- } | {
2377
- old?: any;
2378
- new?: any;
2379
- type: "changed";
2380
- } | undefined;
2381
- type?: {
2382
- type: "changed";
2383
- old: string;
2384
- new: string;
2385
- } | undefined;
2386
- onUpdate?: {
2387
- type: "added";
2388
- value: boolean;
2389
- } | {
2390
- type: "deleted";
2391
- value: boolean;
2392
- } | {
2393
- type: "changed";
2394
- old: boolean;
2395
- new: boolean;
2396
- } | undefined;
2397
- primaryKey?: {
2398
- type: "added";
2399
- value: boolean;
2400
- } | {
2401
- type: "deleted";
2402
- value: boolean;
2403
- } | {
2404
- type: "changed";
2405
- old: boolean;
2406
- new: boolean;
2407
- } | undefined;
2408
- notNull?: {
2409
- type: "added";
2410
- value: boolean;
2411
- } | {
2412
- type: "deleted";
2413
- value: boolean;
2414
- } | {
2415
- type: "changed";
2416
- old: boolean;
2417
- new: boolean;
2418
- } | undefined;
2419
- autoincrement?: {
2420
- type: "added";
2421
- value: boolean;
2422
- } | {
2423
- type: "deleted";
2424
- value: boolean;
2425
- } | {
2426
- type: "changed";
2427
- old: boolean;
2428
- new: boolean;
2429
- } | undefined;
2430
- typeSchema?: {
2431
- type: "added";
2432
- value: string;
2433
- } | {
2434
- type: "deleted";
2435
- value: string;
2436
- } | {
2437
- type: "changed";
2438
- old: string;
2439
- new: string;
2440
- } | undefined;
2441
- name: string | {
2442
- type: "changed";
2443
- old: string;
2444
- new: string;
2445
- };
2446
- }, {
2447
- default?: {
2448
- value?: any;
2449
- type: "added";
2450
- } | {
2451
- value?: any;
2452
- type: "deleted";
2453
- } | {
2454
- old?: any;
2455
- new?: any;
2456
- type: "changed";
2457
- } | undefined;
2458
- type?: {
2459
- type: "changed";
2460
- old: string;
2461
- new: string;
2462
- } | undefined;
2463
- onUpdate?: {
2464
- type: "added";
2465
- value: boolean;
2466
- } | {
2467
- type: "deleted";
2468
- value: boolean;
2469
- } | {
2470
- type: "changed";
2471
- old: boolean;
2472
- new: boolean;
2473
- } | undefined;
2474
- primaryKey?: {
2475
- type: "added";
2476
- value: boolean;
2477
- } | {
2478
- type: "deleted";
2479
- value: boolean;
2480
- } | {
2481
- type: "changed";
2482
- old: boolean;
2483
- new: boolean;
2484
- } | undefined;
2485
- notNull?: {
2486
- type: "added";
2487
- value: boolean;
2488
- } | {
2489
- type: "deleted";
2490
- value: boolean;
2491
- } | {
2492
- type: "changed";
2493
- old: boolean;
2494
- new: boolean;
2495
- } | undefined;
2496
- autoincrement?: {
2497
- type: "added";
2498
- value: boolean;
2499
- } | {
2500
- type: "deleted";
2501
- value: boolean;
2502
- } | {
2503
- type: "changed";
2504
- old: boolean;
2505
- new: boolean;
2506
- } | undefined;
2507
- typeSchema?: {
2508
- type: "added";
2509
- value: string;
2510
- } | {
2511
- type: "deleted";
2512
- value: string;
2513
- } | {
2514
- type: "changed";
2515
- old: string;
2516
- new: string;
2517
- } | undefined;
2518
- name: string | {
2519
- type: "changed";
2520
- old: string;
2521
- new: string;
2522
- };
2523
- }>, "many">;
2524
- addedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2525
- deletedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2526
- alteredIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2527
- __new: import("zod").ZodString;
2528
- __old: import("zod").ZodString;
2529
- }, "strict", ZodTypeAny, {
2530
- __old: string;
2531
- __new: string;
2532
- }, {
2533
- __old: string;
2534
- __new: string;
2535
- }>>;
2536
- addedForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2537
- deletedForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2538
- alteredForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2539
- __new: import("zod").ZodString;
2540
- __old: import("zod").ZodString;
2541
- }, "strict", ZodTypeAny, {
2542
- __old: string;
2543
- __new: string;
2544
- }, {
2545
- __old: string;
2546
- __new: string;
2547
- }>>;
2548
- addedCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2549
- deletedCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2550
- alteredCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2551
- __new: import("zod").ZodString;
2552
- __old: import("zod").ZodString;
2553
- }, "strip", ZodTypeAny, {
2554
- __old: string;
2555
- __new: string;
2556
- }, {
2557
- __old: string;
2558
- __new: string;
2559
- }>>;
2560
- addedUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2561
- deletedUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
2562
- alteredUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
2563
- __new: import("zod").ZodString;
2564
- __old: import("zod").ZodString;
2565
- }, "strip", ZodTypeAny, {
2566
- __old: string;
2567
- __new: string;
2568
- }, {
2569
- __old: string;
2570
- __new: string;
2571
- }>>;
2572
- }, "strict", ZodTypeAny, {
2573
- name: string;
2574
- schema: string;
2575
- altered: {
2576
- default?: {
2577
- value?: any;
2578
- type: "added";
2579
- } | {
2580
- value?: any;
2581
- type: "deleted";
2582
- } | {
2583
- old?: any;
2584
- new?: any;
2585
- type: "changed";
2586
- } | undefined;
2587
- type?: {
2588
- type: "changed";
2589
- old: string;
2590
- new: string;
2591
- } | undefined;
2592
- onUpdate?: {
2593
- type: "added";
2594
- value: boolean;
2595
- } | {
2596
- type: "deleted";
2597
- value: boolean;
2598
- } | {
2599
- type: "changed";
2600
- old: boolean;
2601
- new: boolean;
2602
- } | undefined;
2603
- primaryKey?: {
2604
- type: "added";
2605
- value: boolean;
2606
- } | {
2607
- type: "deleted";
2608
- value: boolean;
2609
- } | {
2610
- type: "changed";
2611
- old: boolean;
2612
- new: boolean;
2613
- } | undefined;
2614
- notNull?: {
2615
- type: "added";
2616
- value: boolean;
2617
- } | {
2618
- type: "deleted";
2619
- value: boolean;
2620
- } | {
2621
- type: "changed";
2622
- old: boolean;
2623
- new: boolean;
2624
- } | undefined;
2625
- autoincrement?: {
2626
- type: "added";
2627
- value: boolean;
2628
- } | {
2629
- type: "deleted";
2630
- value: boolean;
2631
- } | {
2632
- type: "changed";
2633
- old: boolean;
2634
- new: boolean;
2635
- } | undefined;
2636
- typeSchema?: {
2637
- type: "added";
2638
- value: string;
2639
- } | {
2640
- type: "deleted";
2641
- value: string;
2642
- } | {
2643
- type: "changed";
2644
- old: string;
2645
- new: string;
2646
- } | undefined;
2647
- name: string | {
2648
- type: "changed";
2649
- old: string;
2650
- new: string;
2651
- };
2652
- }[];
2653
- addedIndexes: Record<string, string>;
2654
- deletedIndexes: Record<string, string>;
2655
- alteredIndexes: Record<string, {
2656
- __old: string;
2657
- __new: string;
2658
- }>;
2659
- addedForeignKeys: Record<string, string>;
2660
- deletedForeignKeys: Record<string, string>;
2661
- alteredForeignKeys: Record<string, {
2662
- __old: string;
2663
- __new: string;
2664
- }>;
2665
- addedCompositePKs: Record<string, string>;
2666
- deletedCompositePKs: Record<string, string>;
2667
- alteredCompositePKs: Record<string, {
2668
- __old: string;
2669
- __new: string;
2670
- }>;
2671
- addedUniqueConstraints: Record<string, string>;
2672
- deletedUniqueConstraints: Record<string, string>;
2673
- alteredUniqueConstraints: Record<string, {
2674
- __old: string;
2675
- __new: string;
2676
- }>;
2677
- }, {
2678
- name: string;
2679
- schema: string;
2680
- altered: {
2681
- default?: {
2682
- value?: any;
2683
- type: "added";
2684
- } | {
2685
- value?: any;
2686
- type: "deleted";
2687
- } | {
2688
- old?: any;
2689
- new?: any;
2690
- type: "changed";
2691
- } | undefined;
2692
- type?: {
2693
- type: "changed";
2694
- old: string;
2695
- new: string;
2696
- } | undefined;
2697
- onUpdate?: {
2698
- type: "added";
2699
- value: boolean;
2700
- } | {
2701
- type: "deleted";
2702
- value: boolean;
2703
- } | {
2704
- type: "changed";
2705
- old: boolean;
2706
- new: boolean;
2707
- } | undefined;
2708
- primaryKey?: {
2709
- type: "added";
2710
- value: boolean;
2711
- } | {
2712
- type: "deleted";
2713
- value: boolean;
2714
- } | {
2715
- type: "changed";
2716
- old: boolean;
2717
- new: boolean;
2718
- } | undefined;
2719
- notNull?: {
2720
- type: "added";
2721
- value: boolean;
2722
- } | {
2723
- type: "deleted";
2724
- value: boolean;
2725
- } | {
2726
- type: "changed";
2727
- old: boolean;
2728
- new: boolean;
2729
- } | undefined;
2730
- autoincrement?: {
2731
- type: "added";
2732
- value: boolean;
2733
- } | {
2734
- type: "deleted";
2735
- value: boolean;
2736
- } | {
2737
- type: "changed";
2738
- old: boolean;
2739
- new: boolean;
2740
- } | undefined;
2741
- typeSchema?: {
2742
- type: "added";
2743
- value: string;
2744
- } | {
2745
- type: "deleted";
2746
- value: string;
2747
- } | {
2748
- type: "changed";
2749
- old: string;
2750
- new: string;
2751
- } | undefined;
2752
- name: string | {
2753
- type: "changed";
2754
- old: string;
2755
- new: string;
2756
- };
2757
- }[];
2758
- addedIndexes: Record<string, string>;
2759
- deletedIndexes: Record<string, string>;
2760
- alteredIndexes: Record<string, {
2761
- __old: string;
2762
- __new: string;
2763
- }>;
2764
- addedForeignKeys: Record<string, string>;
2765
- deletedForeignKeys: Record<string, string>;
2766
- alteredForeignKeys: Record<string, {
2767
- __old: string;
2768
- __new: string;
2769
- }>;
2770
- addedCompositePKs: Record<string, string>;
2771
- deletedCompositePKs: Record<string, string>;
2772
- alteredCompositePKs: Record<string, {
2773
- __old: string;
2774
- __new: string;
2775
- }>;
2776
- addedUniqueConstraints: Record<string, string>;
2777
- deletedUniqueConstraints: Record<string, string>;
2778
- alteredUniqueConstraints: Record<string, {
2779
- __old: string;
2780
- __new: string;
2781
- }>;
2782
- }>, "many">;
2783
- alteredEnums: import("zod").ZodArray<import("zod").ZodNever, "many">;
2784
- }, "strict", ZodTypeAny, {
2785
- alteredTablesWithColumns: {
2786
- name: string;
2787
- schema: string;
2788
- altered: {
2789
- default?: {
2790
- value?: any;
2791
- type: "added";
2792
- } | {
2793
- value?: any;
2794
- type: "deleted";
2795
- } | {
2796
- old?: any;
2797
- new?: any;
2798
- type: "changed";
2799
- } | undefined;
2800
- type?: {
2801
- type: "changed";
2802
- old: string;
2803
- new: string;
2804
- } | undefined;
2805
- onUpdate?: {
2806
- type: "added";
2807
- value: boolean;
2808
- } | {
2809
- type: "deleted";
2810
- value: boolean;
2811
- } | {
2812
- type: "changed";
2813
- old: boolean;
2814
- new: boolean;
2815
- } | undefined;
2816
- primaryKey?: {
2817
- type: "added";
2818
- value: boolean;
2819
- } | {
2820
- type: "deleted";
2821
- value: boolean;
2822
- } | {
2823
- type: "changed";
2824
- old: boolean;
2825
- new: boolean;
2826
- } | undefined;
2827
- notNull?: {
2828
- type: "added";
2829
- value: boolean;
2830
- } | {
2831
- type: "deleted";
2832
- value: boolean;
2833
- } | {
2834
- type: "changed";
2835
- old: boolean;
2836
- new: boolean;
2837
- } | undefined;
2838
- autoincrement?: {
2839
- type: "added";
2840
- value: boolean;
2841
- } | {
2842
- type: "deleted";
2843
- value: boolean;
2844
- } | {
2845
- type: "changed";
2846
- old: boolean;
2847
- new: boolean;
2848
- } | undefined;
2849
- typeSchema?: {
2850
- type: "added";
2851
- value: string;
2852
- } | {
2853
- type: "deleted";
2854
- value: string;
2855
- } | {
2856
- type: "changed";
2857
- old: string;
2858
- new: string;
2859
- } | undefined;
2860
- name: string | {
2861
- type: "changed";
2862
- old: string;
2863
- new: string;
2864
- };
2865
- }[];
2866
- addedIndexes: Record<string, string>;
2867
- deletedIndexes: Record<string, string>;
2868
- alteredIndexes: Record<string, {
2869
- __old: string;
2870
- __new: string;
2871
- }>;
2872
- addedForeignKeys: Record<string, string>;
2873
- deletedForeignKeys: Record<string, string>;
2874
- alteredForeignKeys: Record<string, {
2875
- __old: string;
2876
- __new: string;
2877
- }>;
2878
- addedCompositePKs: Record<string, string>;
2879
- deletedCompositePKs: Record<string, string>;
2880
- alteredCompositePKs: Record<string, {
2881
- __old: string;
2882
- __new: string;
2883
- }>;
2884
- addedUniqueConstraints: Record<string, string>;
2885
- deletedUniqueConstraints: Record<string, string>;
2886
- alteredUniqueConstraints: Record<string, {
2887
- __old: string;
2888
- __new: string;
2889
- }>;
2890
- }[];
2891
- alteredEnums: never[];
2892
- }, {
2893
- alteredTablesWithColumns: {
2894
- name: string;
2895
- schema: string;
2896
- altered: {
2897
- default?: {
2898
- value?: any;
2899
- type: "added";
2900
- } | {
2901
- value?: any;
2902
- type: "deleted";
2903
- } | {
2904
- old?: any;
2905
- new?: any;
2906
- type: "changed";
2907
- } | undefined;
2908
- type?: {
2909
- type: "changed";
2910
- old: string;
2911
- new: string;
2912
- } | undefined;
2913
- onUpdate?: {
2914
- type: "added";
2915
- value: boolean;
2916
- } | {
2917
- type: "deleted";
2918
- value: boolean;
2919
- } | {
2920
- type: "changed";
2921
- old: boolean;
2922
- new: boolean;
2923
- } | undefined;
2924
- primaryKey?: {
2925
- type: "added";
2926
- value: boolean;
2927
- } | {
2928
- type: "deleted";
2929
- value: boolean;
2930
- } | {
2931
- type: "changed";
2932
- old: boolean;
2933
- new: boolean;
2934
- } | undefined;
2935
- notNull?: {
2936
- type: "added";
2937
- value: boolean;
2938
- } | {
2939
- type: "deleted";
2940
- value: boolean;
2941
- } | {
2942
- type: "changed";
2943
- old: boolean;
2944
- new: boolean;
2945
- } | undefined;
2946
- autoincrement?: {
2947
- type: "added";
2948
- value: boolean;
2949
- } | {
2950
- type: "deleted";
2951
- value: boolean;
2952
- } | {
2953
- type: "changed";
2954
- old: boolean;
2955
- new: boolean;
2956
- } | undefined;
2957
- typeSchema?: {
2958
- type: "added";
2959
- value: string;
2960
- } | {
2961
- type: "deleted";
2962
- value: string;
2963
- } | {
2964
- type: "changed";
2965
- old: string;
2966
- new: string;
2967
- } | undefined;
2968
- name: string | {
2969
- type: "changed";
2970
- old: string;
2971
- new: string;
2972
- };
2973
- }[];
2974
- addedIndexes: Record<string, string>;
2975
- deletedIndexes: Record<string, string>;
2976
- alteredIndexes: Record<string, {
2977
- __old: string;
2978
- __new: string;
2979
- }>;
2980
- addedForeignKeys: Record<string, string>;
2981
- deletedForeignKeys: Record<string, string>;
2982
- alteredForeignKeys: Record<string, {
2983
- __old: string;
2984
- __new: string;
2985
- }>;
2986
- addedCompositePKs: Record<string, string>;
2987
- deletedCompositePKs: Record<string, string>;
2988
- alteredCompositePKs: Record<string, {
2989
- __old: string;
2990
- __new: string;
2991
- }>;
2992
- addedUniqueConstraints: Record<string, string>;
2993
- deletedUniqueConstraints: Record<string, string>;
2994
- alteredUniqueConstraints: Record<string, {
2995
- __old: string;
2996
- __new: string;
2997
- }>;
2998
- }[];
2999
- alteredEnums: never[];
3000
- }>;
3001
- export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
3002
- alteredTablesWithColumns: import("zod").ZodArray<import("zod").ZodObject<{
3003
- name: import("zod").ZodString;
3004
- schema: import("zod").ZodString;
3005
- altered: import("zod").ZodArray<import("zod").ZodObject<{
3006
- name: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
3007
- type: import("zod").ZodEnum<["changed"]>;
3008
- old: import("zod").ZodString;
3009
- new: import("zod").ZodString;
3010
- }, "strip", ZodTypeAny, {
3011
- type: "changed";
3012
- old: string;
3013
- new: string;
3014
- }, {
3015
- type: "changed";
3016
- old: string;
3017
- new: string;
3018
- }>]>;
3019
- type: import("zod").ZodOptional<import("zod").ZodObject<{
3020
- type: import("zod").ZodEnum<["changed"]>;
3021
- old: import("zod").ZodString;
3022
- new: import("zod").ZodString;
3023
- }, "strip", ZodTypeAny, {
3024
- type: "changed";
3025
- old: string;
3026
- new: string;
3027
- }, {
3028
- type: "changed";
3029
- old: string;
3030
- new: string;
3031
- }>>;
3032
- default: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
3033
- type: import("zod").ZodLiteral<"added">;
3034
- value: import("zod").ZodAny;
3035
- }, "strip", ZodTypeAny, {
3036
- value?: any;
3037
- type: "added";
3038
- }, {
3039
- value?: any;
3040
- type: "added";
3041
- }>, import("zod").ZodObject<{
3042
- type: import("zod").ZodLiteral<"deleted">;
3043
- value: import("zod").ZodAny;
3044
- }, "strip", ZodTypeAny, {
3045
- value?: any;
3046
- type: "deleted";
3047
- }, {
3048
- value?: any;
3049
- type: "deleted";
3050
- }>, import("zod").ZodObject<{
3051
- type: import("zod").ZodLiteral<"changed">;
3052
- old: import("zod").ZodAny;
3053
- new: import("zod").ZodAny;
3054
- }, "strip", ZodTypeAny, {
3055
- old?: any;
3056
- new?: any;
3057
- type: "changed";
3058
- }, {
3059
- old?: any;
3060
- new?: any;
3061
- type: "changed";
3062
- }>]>>;
3063
- primaryKey: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
3064
- type: import("zod").ZodLiteral<"added">;
3065
- value: import("zod").ZodBoolean;
3066
- }, "strip", ZodTypeAny, {
3067
- type: "added";
3068
- value: boolean;
3069
- }, {
3070
- type: "added";
3071
- value: boolean;
3072
- }>, import("zod").ZodObject<{
3073
- type: import("zod").ZodLiteral<"deleted">;
3074
- value: import("zod").ZodBoolean;
3075
- }, "strip", ZodTypeAny, {
3076
- type: "deleted";
3077
- value: boolean;
3078
- }, {
3079
- type: "deleted";
3080
- value: boolean;
3081
- }>, import("zod").ZodObject<{
3082
- type: import("zod").ZodLiteral<"changed">;
3083
- old: import("zod").ZodBoolean;
3084
- new: import("zod").ZodBoolean;
3085
- }, "strip", ZodTypeAny, {
3086
- type: "changed";
3087
- old: boolean;
3088
- new: boolean;
3089
- }, {
3090
- type: "changed";
3091
- old: boolean;
3092
- new: boolean;
3093
- }>]>>;
3094
- notNull: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
3095
- type: import("zod").ZodLiteral<"added">;
3096
- value: import("zod").ZodBoolean;
3097
- }, "strip", ZodTypeAny, {
3098
- type: "added";
3099
- value: boolean;
3100
- }, {
3101
- type: "added";
3102
- value: boolean;
3103
- }>, import("zod").ZodObject<{
3104
- type: import("zod").ZodLiteral<"deleted">;
3105
- value: import("zod").ZodBoolean;
3106
- }, "strip", ZodTypeAny, {
3107
- type: "deleted";
3108
- value: boolean;
3109
- }, {
3110
- type: "deleted";
3111
- value: boolean;
3112
- }>, import("zod").ZodObject<{
3113
- type: import("zod").ZodLiteral<"changed">;
3114
- old: import("zod").ZodBoolean;
3115
- new: import("zod").ZodBoolean;
3116
- }, "strip", ZodTypeAny, {
3117
- type: "changed";
3118
- old: boolean;
3119
- new: boolean;
3120
- }, {
3121
- type: "changed";
3122
- old: boolean;
3123
- new: boolean;
3124
- }>]>>;
3125
- typeSchema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
3126
- type: import("zod").ZodLiteral<"added">;
3127
- value: import("zod").ZodString;
3128
- }, "strip", ZodTypeAny, {
3129
- type: "added";
3130
- value: string;
3131
- }, {
3132
- type: "added";
3133
- value: string;
3134
- }>, import("zod").ZodObject<{
3135
- type: import("zod").ZodLiteral<"deleted">;
3136
- value: import("zod").ZodString;
3137
- }, "strip", ZodTypeAny, {
3138
- type: "deleted";
3139
- value: string;
3140
- }, {
3141
- type: "deleted";
3142
- value: string;
3143
- }>, import("zod").ZodObject<{
3144
- type: import("zod").ZodLiteral<"changed">;
3145
- old: import("zod").ZodString;
3146
- new: import("zod").ZodString;
3147
- }, "strip", ZodTypeAny, {
3148
- type: "changed";
3149
- old: string;
3150
- new: string;
3151
- }, {
3152
- type: "changed";
3153
- old: string;
3154
- new: string;
3155
- }>]>>;
3156
- onUpdate: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
3157
- type: import("zod").ZodLiteral<"added">;
3158
- value: import("zod").ZodBoolean;
3159
- }, "strip", ZodTypeAny, {
3160
- type: "added";
3161
- value: boolean;
3162
- }, {
3163
- type: "added";
3164
- value: boolean;
3165
- }>, import("zod").ZodObject<{
3166
- type: import("zod").ZodLiteral<"deleted">;
3167
- value: import("zod").ZodBoolean;
3168
- }, "strip", ZodTypeAny, {
3169
- type: "deleted";
3170
- value: boolean;
3171
- }, {
3172
- type: "deleted";
3173
- value: boolean;
3174
- }>, import("zod").ZodObject<{
3175
- type: import("zod").ZodLiteral<"changed">;
3176
- old: import("zod").ZodBoolean;
3177
- new: import("zod").ZodBoolean;
3178
- }, "strip", ZodTypeAny, {
3179
- type: "changed";
3180
- old: boolean;
3181
- new: boolean;
3182
- }, {
3183
- type: "changed";
3184
- old: boolean;
3185
- new: boolean;
3186
- }>]>>;
3187
- autoincrement: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
3188
- type: import("zod").ZodLiteral<"added">;
3189
- value: import("zod").ZodBoolean;
3190
- }, "strip", ZodTypeAny, {
3191
- type: "added";
3192
- value: boolean;
3193
- }, {
3194
- type: "added";
3195
- value: boolean;
3196
- }>, import("zod").ZodObject<{
3197
- type: import("zod").ZodLiteral<"deleted">;
3198
- value: import("zod").ZodBoolean;
3199
- }, "strip", ZodTypeAny, {
3200
- type: "deleted";
3201
- value: boolean;
3202
- }, {
3203
- type: "deleted";
3204
- value: boolean;
3205
- }>, import("zod").ZodObject<{
3206
- type: import("zod").ZodLiteral<"changed">;
3207
- old: import("zod").ZodBoolean;
3208
- new: import("zod").ZodBoolean;
3209
- }, "strip", ZodTypeAny, {
3210
- type: "changed";
3211
- old: boolean;
3212
- new: boolean;
3213
- }, {
3214
- type: "changed";
3215
- old: boolean;
3216
- new: boolean;
3217
- }>]>>;
3218
- }, "strict", ZodTypeAny, {
3219
- default?: {
3220
- value?: any;
3221
- type: "added";
3222
- } | {
3223
- value?: any;
3224
- type: "deleted";
3225
- } | {
3226
- old?: any;
3227
- new?: any;
3228
- type: "changed";
3229
- } | undefined;
3230
- type?: {
3231
- type: "changed";
3232
- old: string;
3233
- new: string;
3234
- } | undefined;
3235
- onUpdate?: {
3236
- type: "added";
3237
- value: boolean;
3238
- } | {
3239
- type: "deleted";
3240
- value: boolean;
3241
- } | {
3242
- type: "changed";
3243
- old: boolean;
3244
- new: boolean;
3245
- } | undefined;
3246
- primaryKey?: {
3247
- type: "added";
3248
- value: boolean;
3249
- } | {
3250
- type: "deleted";
3251
- value: boolean;
3252
- } | {
3253
- type: "changed";
3254
- old: boolean;
3255
- new: boolean;
3256
- } | undefined;
3257
- notNull?: {
3258
- type: "added";
3259
- value: boolean;
3260
- } | {
3261
- type: "deleted";
3262
- value: boolean;
3263
- } | {
3264
- type: "changed";
3265
- old: boolean;
3266
- new: boolean;
3267
- } | undefined;
3268
- autoincrement?: {
3269
- type: "added";
3270
- value: boolean;
3271
- } | {
3272
- type: "deleted";
3273
- value: boolean;
3274
- } | {
3275
- type: "changed";
3276
- old: boolean;
3277
- new: boolean;
3278
- } | undefined;
3279
- typeSchema?: {
3280
- type: "added";
3281
- value: string;
3282
- } | {
3283
- type: "deleted";
3284
- value: string;
3285
- } | {
3286
- type: "changed";
3287
- old: string;
3288
- new: string;
3289
- } | undefined;
3290
- name: string | {
3291
- type: "changed";
3292
- old: string;
3293
- new: string;
3294
- };
3295
- }, {
3296
- default?: {
3297
- value?: any;
3298
- type: "added";
3299
- } | {
3300
- value?: any;
3301
- type: "deleted";
3302
- } | {
3303
- old?: any;
3304
- new?: any;
3305
- type: "changed";
3306
- } | undefined;
3307
- type?: {
3308
- type: "changed";
3309
- old: string;
3310
- new: string;
3311
- } | undefined;
3312
- onUpdate?: {
3313
- type: "added";
3314
- value: boolean;
3315
- } | {
3316
- type: "deleted";
3317
- value: boolean;
3318
- } | {
3319
- type: "changed";
3320
- old: boolean;
3321
- new: boolean;
3322
- } | undefined;
3323
- primaryKey?: {
3324
- type: "added";
3325
- value: boolean;
3326
- } | {
3327
- type: "deleted";
3328
- value: boolean;
3329
- } | {
3330
- type: "changed";
3331
- old: boolean;
3332
- new: boolean;
3333
- } | undefined;
3334
- notNull?: {
3335
- type: "added";
3336
- value: boolean;
3337
- } | {
3338
- type: "deleted";
3339
- value: boolean;
3340
- } | {
3341
- type: "changed";
3342
- old: boolean;
3343
- new: boolean;
3344
- } | undefined;
3345
- autoincrement?: {
3346
- type: "added";
3347
- value: boolean;
3348
- } | {
3349
- type: "deleted";
3350
- value: boolean;
3351
- } | {
3352
- type: "changed";
3353
- old: boolean;
3354
- new: boolean;
3355
- } | undefined;
3356
- typeSchema?: {
3357
- type: "added";
3358
- value: string;
3359
- } | {
3360
- type: "deleted";
3361
- value: string;
3362
- } | {
3363
- type: "changed";
3364
- old: string;
3365
- new: string;
3366
- } | undefined;
3367
- name: string | {
3368
- type: "changed";
3369
- old: string;
3370
- new: string;
3371
- };
3372
- }>, "many">;
3373
- addedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3374
- deletedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3375
- alteredIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3376
- __new: import("zod").ZodString;
3377
- __old: import("zod").ZodString;
3378
- }, "strict", ZodTypeAny, {
3379
- __old: string;
3380
- __new: string;
3381
- }, {
3382
- __old: string;
3383
- __new: string;
3384
- }>>;
3385
- addedForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3386
- deletedForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3387
- alteredForeignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3388
- __new: import("zod").ZodString;
3389
- __old: import("zod").ZodString;
3390
- }, "strict", ZodTypeAny, {
3391
- __old: string;
3392
- __new: string;
3393
- }, {
3394
- __old: string;
3395
- __new: string;
3396
- }>>;
3397
- addedCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3398
- deletedCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3399
- alteredCompositePKs: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3400
- __new: import("zod").ZodString;
3401
- __old: import("zod").ZodString;
3402
- }, "strip", ZodTypeAny, {
3403
- __old: string;
3404
- __new: string;
3405
- }, {
3406
- __old: string;
3407
- __new: string;
3408
- }>>;
3409
- addedUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3410
- deletedUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
3411
- alteredUniqueConstraints: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
3412
- __new: import("zod").ZodString;
3413
- __old: import("zod").ZodString;
3414
- }, "strip", ZodTypeAny, {
3415
- __old: string;
3416
- __new: string;
3417
- }, {
3418
- __old: string;
3419
- __new: string;
3420
- }>>;
3421
- }, "strict", ZodTypeAny, {
3422
- name: string;
3423
- schema: string;
3424
- altered: {
3425
- default?: {
3426
- value?: any;
3427
- type: "added";
3428
- } | {
3429
- value?: any;
3430
- type: "deleted";
3431
- } | {
3432
- old?: any;
3433
- new?: any;
3434
- type: "changed";
3435
- } | undefined;
3436
- type?: {
3437
- type: "changed";
3438
- old: string;
3439
- new: string;
3440
- } | undefined;
3441
- onUpdate?: {
3442
- type: "added";
3443
- value: boolean;
3444
- } | {
3445
- type: "deleted";
3446
- value: boolean;
3447
- } | {
3448
- type: "changed";
3449
- old: boolean;
3450
- new: boolean;
3451
- } | undefined;
3452
- primaryKey?: {
3453
- type: "added";
3454
- value: boolean;
3455
- } | {
3456
- type: "deleted";
3457
- value: boolean;
3458
- } | {
3459
- type: "changed";
3460
- old: boolean;
3461
- new: boolean;
3462
- } | undefined;
3463
- notNull?: {
3464
- type: "added";
3465
- value: boolean;
3466
- } | {
3467
- type: "deleted";
3468
- value: boolean;
3469
- } | {
3470
- type: "changed";
3471
- old: boolean;
3472
- new: boolean;
3473
- } | undefined;
3474
- autoincrement?: {
3475
- type: "added";
3476
- value: boolean;
3477
- } | {
3478
- type: "deleted";
3479
- value: boolean;
3480
- } | {
3481
- type: "changed";
3482
- old: boolean;
3483
- new: boolean;
3484
- } | undefined;
3485
- typeSchema?: {
3486
- type: "added";
3487
- value: string;
3488
- } | {
3489
- type: "deleted";
3490
- value: string;
3491
- } | {
3492
- type: "changed";
3493
- old: string;
3494
- new: string;
3495
- } | undefined;
3496
- name: string | {
3497
- type: "changed";
3498
- old: string;
3499
- new: string;
3500
- };
3501
- }[];
3502
- addedIndexes: Record<string, string>;
3503
- deletedIndexes: Record<string, string>;
3504
- alteredIndexes: Record<string, {
3505
- __old: string;
3506
- __new: string;
3507
- }>;
3508
- addedForeignKeys: Record<string, string>;
3509
- deletedForeignKeys: Record<string, string>;
3510
- alteredForeignKeys: Record<string, {
3511
- __old: string;
3512
- __new: string;
3513
- }>;
3514
- addedCompositePKs: Record<string, string>;
3515
- deletedCompositePKs: Record<string, string>;
3516
- alteredCompositePKs: Record<string, {
3517
- __old: string;
3518
- __new: string;
3519
- }>;
3520
- addedUniqueConstraints: Record<string, string>;
3521
- deletedUniqueConstraints: Record<string, string>;
3522
- alteredUniqueConstraints: Record<string, {
3523
- __old: string;
3524
- __new: string;
3525
- }>;
3526
- }, {
3527
- name: string;
3528
- schema: string;
3529
- altered: {
3530
- default?: {
3531
- value?: any;
3532
- type: "added";
3533
- } | {
3534
- value?: any;
3535
- type: "deleted";
3536
- } | {
3537
- old?: any;
3538
- new?: any;
3539
- type: "changed";
3540
- } | undefined;
3541
- type?: {
3542
- type: "changed";
3543
- old: string;
3544
- new: string;
3545
- } | undefined;
3546
- onUpdate?: {
3547
- type: "added";
3548
- value: boolean;
3549
- } | {
3550
- type: "deleted";
3551
- value: boolean;
3552
- } | {
3553
- type: "changed";
3554
- old: boolean;
3555
- new: boolean;
3556
- } | undefined;
3557
- primaryKey?: {
3558
- type: "added";
3559
- value: boolean;
3560
- } | {
3561
- type: "deleted";
3562
- value: boolean;
3563
- } | {
3564
- type: "changed";
3565
- old: boolean;
3566
- new: boolean;
3567
- } | undefined;
3568
- notNull?: {
3569
- type: "added";
3570
- value: boolean;
3571
- } | {
3572
- type: "deleted";
3573
- value: boolean;
3574
- } | {
3575
- type: "changed";
3576
- old: boolean;
3577
- new: boolean;
3578
- } | undefined;
3579
- autoincrement?: {
3580
- type: "added";
3581
- value: boolean;
3582
- } | {
3583
- type: "deleted";
3584
- value: boolean;
3585
- } | {
3586
- type: "changed";
3587
- old: boolean;
3588
- new: boolean;
3589
- } | undefined;
3590
- typeSchema?: {
3591
- type: "added";
3592
- value: string;
3593
- } | {
3594
- type: "deleted";
3595
- value: string;
3596
- } | {
3597
- type: "changed";
3598
- old: string;
3599
- new: string;
3600
- } | undefined;
3601
- name: string | {
3602
- type: "changed";
3603
- old: string;
3604
- new: string;
3605
- };
3606
- }[];
3607
- addedIndexes: Record<string, string>;
3608
- deletedIndexes: Record<string, string>;
3609
- alteredIndexes: Record<string, {
3610
- __old: string;
3611
- __new: string;
3612
- }>;
3613
- addedForeignKeys: Record<string, string>;
3614
- deletedForeignKeys: Record<string, string>;
3615
- alteredForeignKeys: Record<string, {
3616
- __old: string;
3617
- __new: string;
3618
- }>;
3619
- addedCompositePKs: Record<string, string>;
3620
- deletedCompositePKs: Record<string, string>;
3621
- alteredCompositePKs: Record<string, {
3622
- __old: string;
3623
- __new: string;
3624
- }>;
3625
- addedUniqueConstraints: Record<string, string>;
3626
- deletedUniqueConstraints: Record<string, string>;
3627
- alteredUniqueConstraints: Record<string, {
3628
- __old: string;
3629
- __new: string;
3630
- }>;
3631
- }>, "many">;
3632
- alteredEnums: import("zod").ZodArray<import("zod").ZodNever, "many">;
3633
- }, "strict", ZodTypeAny, {
3634
- alteredTablesWithColumns: {
3635
- name: string;
3636
- schema: string;
3637
- altered: {
3638
- default?: {
3639
- value?: any;
3640
- type: "added";
3641
- } | {
3642
- value?: any;
3643
- type: "deleted";
3644
- } | {
3645
- old?: any;
3646
- new?: any;
3647
- type: "changed";
3648
- } | undefined;
3649
- type?: {
3650
- type: "changed";
3651
- old: string;
3652
- new: string;
3653
- } | undefined;
3654
- onUpdate?: {
3655
- type: "added";
3656
- value: boolean;
3657
- } | {
3658
- type: "deleted";
3659
- value: boolean;
3660
- } | {
3661
- type: "changed";
3662
- old: boolean;
3663
- new: boolean;
3664
- } | undefined;
3665
- primaryKey?: {
3666
- type: "added";
3667
- value: boolean;
3668
- } | {
3669
- type: "deleted";
3670
- value: boolean;
3671
- } | {
3672
- type: "changed";
3673
- old: boolean;
3674
- new: boolean;
3675
- } | undefined;
3676
- notNull?: {
3677
- type: "added";
3678
- value: boolean;
3679
- } | {
3680
- type: "deleted";
3681
- value: boolean;
3682
- } | {
3683
- type: "changed";
3684
- old: boolean;
3685
- new: boolean;
3686
- } | undefined;
3687
- autoincrement?: {
3688
- type: "added";
3689
- value: boolean;
3690
- } | {
3691
- type: "deleted";
3692
- value: boolean;
3693
- } | {
3694
- type: "changed";
3695
- old: boolean;
3696
- new: boolean;
3697
- } | undefined;
3698
- typeSchema?: {
3699
- type: "added";
3700
- value: string;
3701
- } | {
3702
- type: "deleted";
3703
- value: string;
3704
- } | {
3705
- type: "changed";
3706
- old: string;
3707
- new: string;
3708
- } | undefined;
3709
- name: string | {
3710
- type: "changed";
3711
- old: string;
3712
- new: string;
3713
- };
3714
- }[];
3715
- addedIndexes: Record<string, string>;
3716
- deletedIndexes: Record<string, string>;
3717
- alteredIndexes: Record<string, {
3718
- __old: string;
3719
- __new: string;
3720
- }>;
3721
- addedForeignKeys: Record<string, string>;
3722
- deletedForeignKeys: Record<string, string>;
3723
- alteredForeignKeys: Record<string, {
3724
- __old: string;
3725
- __new: string;
3726
- }>;
3727
- addedCompositePKs: Record<string, string>;
3728
- deletedCompositePKs: Record<string, string>;
3729
- alteredCompositePKs: Record<string, {
3730
- __old: string;
3731
- __new: string;
3732
- }>;
3733
- addedUniqueConstraints: Record<string, string>;
3734
- deletedUniqueConstraints: Record<string, string>;
3735
- alteredUniqueConstraints: Record<string, {
3736
- __old: string;
3737
- __new: string;
3738
- }>;
3739
- }[];
3740
- alteredEnums: never[];
3741
- }, {
3742
- alteredTablesWithColumns: {
3743
- name: string;
3744
- schema: string;
3745
- altered: {
3746
- default?: {
3747
- value?: any;
3748
- type: "added";
3749
- } | {
3750
- value?: any;
3751
- type: "deleted";
3752
- } | {
3753
- old?: any;
3754
- new?: any;
3755
- type: "changed";
3756
- } | undefined;
3757
- type?: {
3758
- type: "changed";
3759
- old: string;
3760
- new: string;
3761
- } | undefined;
3762
- onUpdate?: {
3763
- type: "added";
3764
- value: boolean;
3765
- } | {
3766
- type: "deleted";
3767
- value: boolean;
3768
- } | {
3769
- type: "changed";
3770
- old: boolean;
3771
- new: boolean;
3772
- } | undefined;
3773
- primaryKey?: {
3774
- type: "added";
3775
- value: boolean;
3776
- } | {
3777
- type: "deleted";
3778
- value: boolean;
3779
- } | {
3780
- type: "changed";
3781
- old: boolean;
3782
- new: boolean;
3783
- } | undefined;
3784
- notNull?: {
3785
- type: "added";
3786
- value: boolean;
3787
- } | {
3788
- type: "deleted";
3789
- value: boolean;
3790
- } | {
3791
- type: "changed";
3792
- old: boolean;
3793
- new: boolean;
3794
- } | undefined;
3795
- autoincrement?: {
3796
- type: "added";
3797
- value: boolean;
3798
- } | {
3799
- type: "deleted";
3800
- value: boolean;
3801
- } | {
3802
- type: "changed";
3803
- old: boolean;
3804
- new: boolean;
3805
- } | undefined;
3806
- typeSchema?: {
3807
- type: "added";
3808
- value: string;
3809
- } | {
3810
- type: "deleted";
3811
- value: string;
3812
- } | {
3813
- type: "changed";
3814
- old: string;
3815
- new: string;
3816
- } | undefined;
3817
- name: string | {
3818
- type: "changed";
3819
- old: string;
3820
- new: string;
3821
- };
3822
- }[];
3823
- addedIndexes: Record<string, string>;
3824
- deletedIndexes: Record<string, string>;
3825
- alteredIndexes: Record<string, {
3826
- __old: string;
3827
- __new: string;
3828
- }>;
3829
- addedForeignKeys: Record<string, string>;
3830
- deletedForeignKeys: Record<string, string>;
3831
- alteredForeignKeys: Record<string, {
3832
- __old: string;
3833
- __new: string;
3834
- }>;
3835
- addedCompositePKs: Record<string, string>;
3836
- deletedCompositePKs: Record<string, string>;
3837
- alteredCompositePKs: Record<string, {
3838
- __old: string;
3839
- __new: string;
3840
- }>;
3841
- addedUniqueConstraints: Record<string, string>;
3842
- deletedUniqueConstraints: Record<string, string>;
3843
- alteredUniqueConstraints: Record<string, {
3844
- __old: string;
3845
- __new: string;
3846
- }>;
3847
- }[];
3848
- alteredEnums: never[];
3849
- }>;
3850
- export type Column = TypeOf<typeof columnSchema>;
3851
- export type AlteredColumn = TypeOf<typeof alteredColumnSchema>;
3852
- export type Enum = TypeOf<typeof enumSchema>;
3853
- export type Table = TypeOf<typeof tableScheme>;
3854
- export type AlteredTable = TypeOf<typeof alteredTableScheme>;
3855
- export type DiffResult = TypeOf<typeof diffResultScheme>;
3856
- export type DiffResultMysql = TypeOf<typeof diffResultSchemeMysql>;
3857
- export type DiffResultSQLite = TypeOf<typeof diffResultSchemeSQLite>;
3858
- export interface ResolverInput<T extends {
3859
- name: string;
3860
- }> {
3861
- created: T[];
3862
- deleted: T[];
3863
- }
3864
- export interface ResolverOutput<T extends {
3865
- name: string;
3866
- }> {
3867
- created: T[];
3868
- renamed: {
3869
- from: T;
3870
- to: T;
3871
- }[];
3872
- deleted: T[];
3873
- }
3874
- export interface ResolverOutputWithMoved<T extends {
3875
- name: string;
3876
- }> {
3877
- created: T[];
3878
- moved: {
3879
- name: string;
3880
- schemaFrom: string;
3881
- schemaTo: string;
3882
- }[];
3883
- renamed: {
3884
- from: T;
3885
- to: T;
3886
- }[];
3887
- deleted: T[];
3888
- }
3889
- export interface ColumnsResolverInput<T extends {
3890
- name: string;
3891
- }> {
3892
- tableName: string;
3893
- schema: string;
3894
- created: T[];
3895
- deleted: T[];
3896
- }
3897
- export interface ColumnsResolverOutput<T extends {
3898
- name: string;
3899
- }> {
3900
- tableName: string;
3901
- schema: string;
3902
- created: T[];
3903
- renamed: {
3904
- from: T;
3905
- to: T;
3906
- }[];
3907
- deleted: T[];
3908
- }
3909
- export declare const applyPgSnapshotsDiff: (json1: PgSchemaSquashed, json2: PgSchemaSquashed, schemasResolver: (input: ResolverInput<Named>) => Promise<ResolverOutput<Named>>, enumsResolver: (input: ResolverInput<Enum>) => Promise<ResolverOutputWithMoved<Enum>>, tablesResolver: (input: ResolverInput<Table>) => Promise<ResolverOutputWithMoved<Table>>, columnsResolver: (input: ColumnsResolverInput<Column>) => Promise<ColumnsResolverOutput<Column>>, prevFull: PgSchema, curFull: PgSchema) => Promise<{
3910
- statements: JsonStatement[];
3911
- sqlStatements: string[];
3912
- _meta: {
3913
- schemas: {};
3914
- tables: {};
3915
- columns: {};
3916
- } | undefined;
3917
- }>;
3918
- export declare const applyMysqlSnapshotsDiff: (json1: MySqlSchemaSquashed, json2: MySqlSchemaSquashed, tablesResolver: (input: ResolverInput<Table>) => Promise<ResolverOutputWithMoved<Table>>, columnsResolver: (input: ColumnsResolverInput<Column>) => Promise<ColumnsResolverOutput<Column>>, prevFull: MySqlSchema, curFull: MySqlSchema) => Promise<{
3919
- statements: JsonStatement[];
3920
- sqlStatements: string[];
3921
- _meta: {
3922
- schemas: {};
3923
- tables: {};
3924
- columns: {};
3925
- } | undefined;
3926
- }>;
3927
- export declare const applySqliteSnapshotsDiff: (json1: SQLiteSchemaSquashed, json2: SQLiteSchemaSquashed, tablesResolver: (input: ResolverInput<Table>) => Promise<ResolverOutputWithMoved<Table>>, columnsResolver: (input: ColumnsResolverInput<Column>) => Promise<ColumnsResolverOutput<Column>>) => Promise<{
3928
- statements: JsonStatement[];
3929
- sqlStatements: string[];
3930
- _meta: {
3931
- schemas: {};
3932
- tables: {};
3933
- columns: {};
3934
- } | undefined;
3935
- }>;
3936
- export {};