drizzle-kit 0.20.17-d1b2821 → 0.20.17-dc2e9cd
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +16185 -15197
- package/cli/commands/migrate.d.ts +39 -39
- package/cli/commands/mysqlIntrospect.d.ts +8 -8
- package/cli/commands/pgIntrospect.d.ts +7 -7
- package/cli/commands/sqliteIntrospect.d.ts +12 -12
- package/cli/commands/utils.d.ts +123 -1
- package/cli/connections.d.ts +7 -2
- package/cli/validations/cli.d.ts +54 -54
- package/cli/validations/common.d.ts +33 -33
- package/cli/validations/mysql.d.ts +4 -4
- package/cli/validations/pg.d.ts +6 -6
- package/cli/validations/studio.d.ts +92 -0
- package/cli/views.d.ts +6 -0
- package/index.d.mts +18 -12
- package/index.d.ts +18 -12
- package/package.json +2 -2
- package/payload.js +1097 -431
- package/payload.mjs +900 -234
- package/schemaValidator.d.ts +215 -215
- package/serializer/mysqlSchema.d.ts +892 -892
- package/serializer/pgSchema.d.ts +734 -734
- package/serializer/sqliteSchema.d.ts +457 -457
- package/serializer/studio.d.ts +3 -1
- package/snapshotsDiffer.d.ts +314 -314
- package/utils-studio.js +943 -835
- package/utils-studio.mjs +916 -808
- package/utils.js +839 -214
- package/utils.mjs +814 -189
package/snapshotsDiffer.d.ts
CHANGED
@@ -7,120 +7,120 @@ import { Named } from "./cli/commands/migrate";
|
|
7
7
|
export declare const makePatched: <T extends ZodTypeAny>(schema: T) => import("zod").ZodUnion<[import("zod").ZodObject<{
|
8
8
|
type: import("zod").ZodLiteral<"added">;
|
9
9
|
value: T;
|
10
|
-
}, "strip", ZodTypeAny, { [
|
11
|
-
type: "added"
|
12
|
-
value: T
|
13
|
-
}>]: import("zod").objectUtil.addQuestionMarks<{
|
14
|
-
type: "added"
|
15
|
-
value: T
|
16
|
-
}>[
|
17
|
-
type: "added"
|
18
|
-
value: T
|
19
|
-
}>]: import("zod").
|
20
|
-
type: "added"
|
21
|
-
value: T
|
22
|
-
}>[
|
10
|
+
}, "strip", ZodTypeAny, { [k in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
11
|
+
type: import("zod").ZodLiteral<"added">;
|
12
|
+
value: T;
|
13
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
14
|
+
type: import("zod").ZodLiteral<"added">;
|
15
|
+
value: T;
|
16
|
+
}>, any>[k]; }, { [k_1 in keyof import("zod").baseObjectInputType<{
|
17
|
+
type: import("zod").ZodLiteral<"added">;
|
18
|
+
value: T;
|
19
|
+
}>]: import("zod").baseObjectInputType<{
|
20
|
+
type: import("zod").ZodLiteral<"added">;
|
21
|
+
value: T;
|
22
|
+
}>[k_1]; }>, import("zod").ZodObject<{
|
23
|
+
type: import("zod").ZodLiteral<"deleted">;
|
24
|
+
value: T;
|
25
|
+
}, "strip", ZodTypeAny, { [k_2 in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
26
|
+
type: import("zod").ZodLiteral<"deleted">;
|
27
|
+
value: T;
|
28
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
29
|
+
type: import("zod").ZodLiteral<"deleted">;
|
30
|
+
value: T;
|
31
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof import("zod").baseObjectInputType<{
|
32
|
+
type: import("zod").ZodLiteral<"deleted">;
|
33
|
+
value: T;
|
34
|
+
}>]: import("zod").baseObjectInputType<{
|
23
35
|
type: import("zod").ZodLiteral<"deleted">;
|
24
36
|
value: T;
|
25
|
-
}
|
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<{
|
37
|
+
}>[k_1_1]; }>, import("zod").ZodObject<{
|
38
38
|
type: import("zod").ZodLiteral<"changed">;
|
39
39
|
old: T;
|
40
40
|
new: T;
|
41
|
-
}, "strip", ZodTypeAny, { [
|
42
|
-
type: "changed"
|
43
|
-
old: T
|
44
|
-
new: T
|
45
|
-
}>]: import("zod").objectUtil.addQuestionMarks<{
|
46
|
-
type: "changed"
|
47
|
-
old: T
|
48
|
-
new: T
|
49
|
-
}>[
|
50
|
-
type: "changed"
|
51
|
-
old: T
|
52
|
-
new: T
|
53
|
-
}>]: import("zod").
|
54
|
-
type: "changed"
|
55
|
-
old: T
|
56
|
-
new: T
|
57
|
-
}>[
|
41
|
+
}, "strip", ZodTypeAny, { [k_3 in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
42
|
+
type: import("zod").ZodLiteral<"changed">;
|
43
|
+
old: T;
|
44
|
+
new: T;
|
45
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
46
|
+
type: import("zod").ZodLiteral<"changed">;
|
47
|
+
old: T;
|
48
|
+
new: T;
|
49
|
+
}>, any>[k_3]; }, { [k_1_2 in keyof import("zod").baseObjectInputType<{
|
50
|
+
type: import("zod").ZodLiteral<"changed">;
|
51
|
+
old: T;
|
52
|
+
new: T;
|
53
|
+
}>]: import("zod").baseObjectInputType<{
|
54
|
+
type: import("zod").ZodLiteral<"changed">;
|
55
|
+
old: T;
|
56
|
+
new: T;
|
57
|
+
}>[k_1_2]; }>]>;
|
58
58
|
export declare const makeSelfOrPatched: <T extends ZodTypeAny>(schema: T) => import("zod").ZodUnion<[import("zod").ZodObject<{
|
59
59
|
type: import("zod").ZodLiteral<"none">;
|
60
60
|
value: T;
|
61
|
-
}, "strip", ZodTypeAny, { [
|
62
|
-
type: "none"
|
63
|
-
value: T
|
64
|
-
}>]: import("zod").objectUtil.addQuestionMarks<{
|
65
|
-
type: "none"
|
66
|
-
value: T
|
67
|
-
}>[
|
68
|
-
type: "none"
|
69
|
-
value: T
|
70
|
-
}>]: import("zod").
|
71
|
-
type: "none"
|
72
|
-
value: T
|
73
|
-
}>[
|
61
|
+
}, "strip", ZodTypeAny, { [k in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
62
|
+
type: import("zod").ZodLiteral<"none">;
|
63
|
+
value: T;
|
64
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
65
|
+
type: import("zod").ZodLiteral<"none">;
|
66
|
+
value: T;
|
67
|
+
}>, any>[k]; }, { [k_1 in keyof import("zod").baseObjectInputType<{
|
68
|
+
type: import("zod").ZodLiteral<"none">;
|
69
|
+
value: T;
|
70
|
+
}>]: import("zod").baseObjectInputType<{
|
71
|
+
type: import("zod").ZodLiteral<"none">;
|
72
|
+
value: T;
|
73
|
+
}>[k_1]; }>, import("zod").ZodObject<{
|
74
|
+
type: import("zod").ZodLiteral<"added">;
|
75
|
+
value: T;
|
76
|
+
}, "strip", ZodTypeAny, { [k_2 in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
77
|
+
type: import("zod").ZodLiteral<"added">;
|
78
|
+
value: T;
|
79
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
80
|
+
type: import("zod").ZodLiteral<"added">;
|
81
|
+
value: T;
|
82
|
+
}>, any>[k_2]; }, { [k_1_1 in keyof import("zod").baseObjectInputType<{
|
83
|
+
type: import("zod").ZodLiteral<"added">;
|
84
|
+
value: T;
|
85
|
+
}>]: import("zod").baseObjectInputType<{
|
74
86
|
type: import("zod").ZodLiteral<"added">;
|
75
87
|
value: T;
|
76
|
-
}
|
77
|
-
type: "
|
78
|
-
value: T
|
79
|
-
}
|
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<{
|
88
|
+
}>[k_1_1]; }>, import("zod").ZodObject<{
|
89
|
+
type: import("zod").ZodLiteral<"deleted">;
|
90
|
+
value: T;
|
91
|
+
}, "strip", ZodTypeAny, { [k_3 in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
89
92
|
type: import("zod").ZodLiteral<"deleted">;
|
90
93
|
value: T;
|
91
|
-
}
|
92
|
-
type: "deleted"
|
93
|
-
value: T
|
94
|
-
}>]
|
95
|
-
type: "deleted"
|
96
|
-
value: T
|
97
|
-
}>
|
98
|
-
type: "deleted"
|
99
|
-
value: T
|
100
|
-
}>]
|
101
|
-
type: "
|
102
|
-
|
103
|
-
|
94
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
95
|
+
type: import("zod").ZodLiteral<"deleted">;
|
96
|
+
value: T;
|
97
|
+
}>, any>[k_3]; }, { [k_1_2 in keyof import("zod").baseObjectInputType<{
|
98
|
+
type: import("zod").ZodLiteral<"deleted">;
|
99
|
+
value: T;
|
100
|
+
}>]: import("zod").baseObjectInputType<{
|
101
|
+
type: import("zod").ZodLiteral<"deleted">;
|
102
|
+
value: T;
|
103
|
+
}>[k_1_2]; }>, import("zod").ZodObject<{
|
104
|
+
type: import("zod").ZodLiteral<"changed">;
|
105
|
+
old: T;
|
106
|
+
new: T;
|
107
|
+
}, "strip", ZodTypeAny, { [k_4 in keyof import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
108
|
+
type: import("zod").ZodLiteral<"changed">;
|
109
|
+
old: T;
|
110
|
+
new: T;
|
111
|
+
}>, any>]: import("zod").objectUtil.addQuestionMarks<import("zod").baseObjectOutputType<{
|
112
|
+
type: import("zod").ZodLiteral<"changed">;
|
113
|
+
old: T;
|
114
|
+
new: T;
|
115
|
+
}>, any>[k_4]; }, { [k_1_3 in keyof import("zod").baseObjectInputType<{
|
116
|
+
type: import("zod").ZodLiteral<"changed">;
|
117
|
+
old: T;
|
118
|
+
new: T;
|
119
|
+
}>]: import("zod").baseObjectInputType<{
|
104
120
|
type: import("zod").ZodLiteral<"changed">;
|
105
121
|
old: T;
|
106
122
|
new: T;
|
107
|
-
}
|
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]; }>]>;
|
123
|
+
}>[k_1_3]; }>]>;
|
124
124
|
declare const columnSchema: import("zod").ZodObject<{
|
125
125
|
name: import("zod").ZodString;
|
126
126
|
type: import("zod").ZodString;
|
@@ -134,6 +134,8 @@ declare const columnSchema: import("zod").ZodObject<{
|
|
134
134
|
uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
|
135
135
|
nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
136
136
|
}, "strict", ZodTypeAny, {
|
137
|
+
name: string;
|
138
|
+
type: string;
|
137
139
|
isUnique?: any;
|
138
140
|
default?: any;
|
139
141
|
onUpdate?: boolean | undefined;
|
@@ -143,9 +145,9 @@ declare const columnSchema: import("zod").ZodObject<{
|
|
143
145
|
typeSchema?: string | undefined;
|
144
146
|
uniqueName?: string | undefined;
|
145
147
|
nullsNotDistinct?: boolean | undefined;
|
148
|
+
}, {
|
146
149
|
name: string;
|
147
150
|
type: string;
|
148
|
-
}, {
|
149
151
|
isUnique?: any;
|
150
152
|
default?: any;
|
151
153
|
onUpdate?: boolean | undefined;
|
@@ -155,8 +157,6 @@ declare const columnSchema: import("zod").ZodObject<{
|
|
155
157
|
typeSchema?: string | undefined;
|
156
158
|
uniqueName?: string | undefined;
|
157
159
|
nullsNotDistinct?: boolean | undefined;
|
158
|
-
name: string;
|
159
|
-
type: string;
|
160
160
|
}>;
|
161
161
|
declare const alteredColumnSchema: import("zod").ZodObject<{
|
162
162
|
name: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
|
@@ -189,32 +189,32 @@ declare const alteredColumnSchema: import("zod").ZodObject<{
|
|
189
189
|
type: import("zod").ZodLiteral<"added">;
|
190
190
|
value: import("zod").ZodAny;
|
191
191
|
}, "strip", ZodTypeAny, {
|
192
|
-
value?: any;
|
193
192
|
type: "added";
|
194
|
-
}, {
|
195
193
|
value?: any;
|
194
|
+
}, {
|
196
195
|
type: "added";
|
196
|
+
value?: any;
|
197
197
|
}>, import("zod").ZodObject<{
|
198
198
|
type: import("zod").ZodLiteral<"deleted">;
|
199
199
|
value: import("zod").ZodAny;
|
200
200
|
}, "strip", ZodTypeAny, {
|
201
|
-
value?: any;
|
202
201
|
type: "deleted";
|
203
|
-
}, {
|
204
202
|
value?: any;
|
203
|
+
}, {
|
205
204
|
type: "deleted";
|
205
|
+
value?: any;
|
206
206
|
}>, import("zod").ZodObject<{
|
207
207
|
type: import("zod").ZodLiteral<"changed">;
|
208
208
|
old: import("zod").ZodAny;
|
209
209
|
new: import("zod").ZodAny;
|
210
210
|
}, "strip", ZodTypeAny, {
|
211
|
+
type: "changed";
|
211
212
|
old?: any;
|
212
213
|
new?: any;
|
213
|
-
type: "changed";
|
214
214
|
}, {
|
215
|
+
type: "changed";
|
215
216
|
old?: any;
|
216
217
|
new?: any;
|
217
|
-
type: "changed";
|
218
218
|
}>]>>;
|
219
219
|
primaryKey: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
220
220
|
type: import("zod").ZodLiteral<"added">;
|
@@ -372,16 +372,21 @@ declare const alteredColumnSchema: import("zod").ZodObject<{
|
|
372
372
|
new: boolean;
|
373
373
|
}>]>>;
|
374
374
|
}, "strict", ZodTypeAny, {
|
375
|
+
name: string | {
|
376
|
+
type: "changed";
|
377
|
+
old: string;
|
378
|
+
new: string;
|
379
|
+
};
|
375
380
|
default?: {
|
376
|
-
value?: any;
|
377
381
|
type: "added";
|
378
|
-
} | {
|
379
382
|
value?: any;
|
383
|
+
} | {
|
380
384
|
type: "deleted";
|
385
|
+
value?: any;
|
381
386
|
} | {
|
387
|
+
type: "changed";
|
382
388
|
old?: any;
|
383
389
|
new?: any;
|
384
|
-
type: "changed";
|
385
390
|
} | undefined;
|
386
391
|
type?: {
|
387
392
|
type: "changed";
|
@@ -443,22 +448,22 @@ declare const alteredColumnSchema: import("zod").ZodObject<{
|
|
443
448
|
old: string;
|
444
449
|
new: string;
|
445
450
|
} | undefined;
|
451
|
+
}, {
|
446
452
|
name: string | {
|
447
453
|
type: "changed";
|
448
454
|
old: string;
|
449
455
|
new: string;
|
450
456
|
};
|
451
|
-
}, {
|
452
457
|
default?: {
|
453
|
-
value?: any;
|
454
458
|
type: "added";
|
455
|
-
} | {
|
456
459
|
value?: any;
|
460
|
+
} | {
|
457
461
|
type: "deleted";
|
462
|
+
value?: any;
|
458
463
|
} | {
|
464
|
+
type: "changed";
|
459
465
|
old?: any;
|
460
466
|
new?: any;
|
461
|
-
type: "changed";
|
462
467
|
} | undefined;
|
463
468
|
type?: {
|
464
469
|
type: "changed";
|
@@ -520,11 +525,6 @@ declare const alteredColumnSchema: import("zod").ZodObject<{
|
|
520
525
|
old: string;
|
521
526
|
new: string;
|
522
527
|
} | undefined;
|
523
|
-
name: string | {
|
524
|
-
type: "changed";
|
525
|
-
old: string;
|
526
|
-
new: string;
|
527
|
-
};
|
528
528
|
}>;
|
529
529
|
declare const enumSchema: import("zod").ZodObject<{
|
530
530
|
name: import("zod").ZodString;
|
@@ -555,6 +555,8 @@ declare const tableScheme: import("zod").ZodObject<{
|
|
555
555
|
uniqueName: import("zod").ZodOptional<import("zod").ZodString>;
|
556
556
|
nullsNotDistinct: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
557
557
|
}, "strict", ZodTypeAny, {
|
558
|
+
name: string;
|
559
|
+
type: string;
|
558
560
|
isUnique?: any;
|
559
561
|
default?: any;
|
560
562
|
onUpdate?: boolean | undefined;
|
@@ -564,9 +566,9 @@ declare const tableScheme: import("zod").ZodObject<{
|
|
564
566
|
typeSchema?: string | undefined;
|
565
567
|
uniqueName?: string | undefined;
|
566
568
|
nullsNotDistinct?: boolean | undefined;
|
569
|
+
}, {
|
567
570
|
name: string;
|
568
571
|
type: string;
|
569
|
-
}, {
|
570
572
|
isUnique?: any;
|
571
573
|
default?: any;
|
572
574
|
onUpdate?: boolean | undefined;
|
@@ -576,8 +578,6 @@ declare const tableScheme: import("zod").ZodObject<{
|
|
576
578
|
typeSchema?: string | undefined;
|
577
579
|
uniqueName?: string | undefined;
|
578
580
|
nullsNotDistinct?: boolean | undefined;
|
579
|
-
name: string;
|
580
|
-
type: string;
|
581
581
|
}>>;
|
582
582
|
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
583
583
|
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
@@ -586,6 +586,8 @@ declare const tableScheme: import("zod").ZodObject<{
|
|
586
586
|
}, "strict", ZodTypeAny, {
|
587
587
|
name: string;
|
588
588
|
columns: Record<string, {
|
589
|
+
name: string;
|
590
|
+
type: string;
|
589
591
|
isUnique?: any;
|
590
592
|
default?: any;
|
591
593
|
onUpdate?: boolean | undefined;
|
@@ -595,8 +597,6 @@ declare const tableScheme: import("zod").ZodObject<{
|
|
595
597
|
typeSchema?: string | undefined;
|
596
598
|
uniqueName?: string | undefined;
|
597
599
|
nullsNotDistinct?: boolean | undefined;
|
598
|
-
name: string;
|
599
|
-
type: string;
|
600
600
|
}>;
|
601
601
|
indexes: Record<string, string>;
|
602
602
|
foreignKeys: Record<string, string>;
|
@@ -604,11 +604,10 @@ declare const tableScheme: import("zod").ZodObject<{
|
|
604
604
|
compositePrimaryKeys: Record<string, string>;
|
605
605
|
uniqueConstraints: Record<string, string>;
|
606
606
|
}, {
|
607
|
-
schema?: string | undefined;
|
608
|
-
compositePrimaryKeys?: Record<string, string> | undefined;
|
609
|
-
uniqueConstraints?: Record<string, string> | undefined;
|
610
607
|
name: string;
|
611
608
|
columns: Record<string, {
|
609
|
+
name: string;
|
610
|
+
type: string;
|
612
611
|
isUnique?: any;
|
613
612
|
default?: any;
|
614
613
|
onUpdate?: boolean | undefined;
|
@@ -618,11 +617,12 @@ declare const tableScheme: import("zod").ZodObject<{
|
|
618
617
|
typeSchema?: string | undefined;
|
619
618
|
uniqueName?: string | undefined;
|
620
619
|
nullsNotDistinct?: boolean | undefined;
|
621
|
-
name: string;
|
622
|
-
type: string;
|
623
620
|
}>;
|
624
621
|
indexes: Record<string, string>;
|
625
622
|
foreignKeys: Record<string, string>;
|
623
|
+
schema?: string | undefined;
|
624
|
+
compositePrimaryKeys?: Record<string, string> | undefined;
|
625
|
+
uniqueConstraints?: Record<string, string> | undefined;
|
626
626
|
}>;
|
627
627
|
export declare const alteredTableScheme: import("zod").ZodObject<{
|
628
628
|
name: import("zod").ZodString;
|
@@ -658,32 +658,32 @@ export declare const alteredTableScheme: import("zod").ZodObject<{
|
|
658
658
|
type: import("zod").ZodLiteral<"added">;
|
659
659
|
value: import("zod").ZodAny;
|
660
660
|
}, "strip", ZodTypeAny, {
|
661
|
-
value?: any;
|
662
661
|
type: "added";
|
663
|
-
}, {
|
664
662
|
value?: any;
|
663
|
+
}, {
|
665
664
|
type: "added";
|
665
|
+
value?: any;
|
666
666
|
}>, import("zod").ZodObject<{
|
667
667
|
type: import("zod").ZodLiteral<"deleted">;
|
668
668
|
value: import("zod").ZodAny;
|
669
669
|
}, "strip", ZodTypeAny, {
|
670
|
-
value?: any;
|
671
670
|
type: "deleted";
|
672
|
-
}, {
|
673
671
|
value?: any;
|
672
|
+
}, {
|
674
673
|
type: "deleted";
|
674
|
+
value?: any;
|
675
675
|
}>, import("zod").ZodObject<{
|
676
676
|
type: import("zod").ZodLiteral<"changed">;
|
677
677
|
old: import("zod").ZodAny;
|
678
678
|
new: import("zod").ZodAny;
|
679
679
|
}, "strip", ZodTypeAny, {
|
680
|
+
type: "changed";
|
680
681
|
old?: any;
|
681
682
|
new?: any;
|
682
|
-
type: "changed";
|
683
683
|
}, {
|
684
|
+
type: "changed";
|
684
685
|
old?: any;
|
685
686
|
new?: any;
|
686
|
-
type: "changed";
|
687
687
|
}>]>>;
|
688
688
|
primaryKey: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
689
689
|
type: import("zod").ZodLiteral<"added">;
|
@@ -841,16 +841,21 @@ export declare const alteredTableScheme: import("zod").ZodObject<{
|
|
841
841
|
new: boolean;
|
842
842
|
}>]>>;
|
843
843
|
}, "strict", ZodTypeAny, {
|
844
|
+
name: string | {
|
845
|
+
type: "changed";
|
846
|
+
old: string;
|
847
|
+
new: string;
|
848
|
+
};
|
844
849
|
default?: {
|
845
|
-
value?: any;
|
846
850
|
type: "added";
|
847
|
-
} | {
|
848
851
|
value?: any;
|
852
|
+
} | {
|
849
853
|
type: "deleted";
|
854
|
+
value?: any;
|
850
855
|
} | {
|
856
|
+
type: "changed";
|
851
857
|
old?: any;
|
852
858
|
new?: any;
|
853
|
-
type: "changed";
|
854
859
|
} | undefined;
|
855
860
|
type?: {
|
856
861
|
type: "changed";
|
@@ -912,22 +917,22 @@ export declare const alteredTableScheme: import("zod").ZodObject<{
|
|
912
917
|
old: string;
|
913
918
|
new: string;
|
914
919
|
} | undefined;
|
920
|
+
}, {
|
915
921
|
name: string | {
|
916
922
|
type: "changed";
|
917
923
|
old: string;
|
918
924
|
new: string;
|
919
925
|
};
|
920
|
-
}, {
|
921
926
|
default?: {
|
922
|
-
value?: any;
|
923
927
|
type: "added";
|
924
|
-
} | {
|
925
928
|
value?: any;
|
929
|
+
} | {
|
926
930
|
type: "deleted";
|
931
|
+
value?: any;
|
927
932
|
} | {
|
933
|
+
type: "changed";
|
928
934
|
old?: any;
|
929
935
|
new?: any;
|
930
|
-
type: "changed";
|
931
936
|
} | undefined;
|
932
937
|
type?: {
|
933
938
|
type: "changed";
|
@@ -989,11 +994,6 @@ export declare const alteredTableScheme: import("zod").ZodObject<{
|
|
989
994
|
old: string;
|
990
995
|
new: string;
|
991
996
|
} | undefined;
|
992
|
-
name: string | {
|
993
|
-
type: "changed";
|
994
|
-
old: string;
|
995
|
-
new: string;
|
996
|
-
};
|
997
997
|
}>, "many">;
|
998
998
|
addedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
999
999
|
deletedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
@@ -1047,16 +1047,21 @@ export declare const alteredTableScheme: import("zod").ZodObject<{
|
|
1047
1047
|
name: string;
|
1048
1048
|
schema: string;
|
1049
1049
|
altered: {
|
1050
|
+
name: string | {
|
1051
|
+
type: "changed";
|
1052
|
+
old: string;
|
1053
|
+
new: string;
|
1054
|
+
};
|
1050
1055
|
default?: {
|
1051
|
-
value?: any;
|
1052
1056
|
type: "added";
|
1053
|
-
} | {
|
1054
1057
|
value?: any;
|
1058
|
+
} | {
|
1055
1059
|
type: "deleted";
|
1060
|
+
value?: any;
|
1056
1061
|
} | {
|
1062
|
+
type: "changed";
|
1057
1063
|
old?: any;
|
1058
1064
|
new?: any;
|
1059
|
-
type: "changed";
|
1060
1065
|
} | undefined;
|
1061
1066
|
type?: {
|
1062
1067
|
type: "changed";
|
@@ -1118,11 +1123,6 @@ export declare const alteredTableScheme: import("zod").ZodObject<{
|
|
1118
1123
|
old: string;
|
1119
1124
|
new: string;
|
1120
1125
|
} | undefined;
|
1121
|
-
name: string | {
|
1122
|
-
type: "changed";
|
1123
|
-
old: string;
|
1124
|
-
new: string;
|
1125
|
-
};
|
1126
1126
|
}[];
|
1127
1127
|
addedIndexes: Record<string, string>;
|
1128
1128
|
deletedIndexes: Record<string, string>;
|
@@ -1152,16 +1152,21 @@ export declare const alteredTableScheme: import("zod").ZodObject<{
|
|
1152
1152
|
name: string;
|
1153
1153
|
schema: string;
|
1154
1154
|
altered: {
|
1155
|
+
name: string | {
|
1156
|
+
type: "changed";
|
1157
|
+
old: string;
|
1158
|
+
new: string;
|
1159
|
+
};
|
1155
1160
|
default?: {
|
1156
|
-
value?: any;
|
1157
1161
|
type: "added";
|
1158
|
-
} | {
|
1159
1162
|
value?: any;
|
1163
|
+
} | {
|
1160
1164
|
type: "deleted";
|
1165
|
+
value?: any;
|
1161
1166
|
} | {
|
1167
|
+
type: "changed";
|
1162
1168
|
old?: any;
|
1163
1169
|
new?: any;
|
1164
|
-
type: "changed";
|
1165
1170
|
} | undefined;
|
1166
1171
|
type?: {
|
1167
1172
|
type: "changed";
|
@@ -1223,11 +1228,6 @@ export declare const alteredTableScheme: import("zod").ZodObject<{
|
|
1223
1228
|
old: string;
|
1224
1229
|
new: string;
|
1225
1230
|
} | undefined;
|
1226
|
-
name: string | {
|
1227
|
-
type: "changed";
|
1228
|
-
old: string;
|
1229
|
-
new: string;
|
1230
|
-
};
|
1231
1231
|
}[];
|
1232
1232
|
addedIndexes: Record<string, string>;
|
1233
1233
|
deletedIndexes: Record<string, string>;
|
@@ -1289,32 +1289,32 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
1289
1289
|
type: import("zod").ZodLiteral<"added">;
|
1290
1290
|
value: import("zod").ZodAny;
|
1291
1291
|
}, "strip", ZodTypeAny, {
|
1292
|
-
value?: any;
|
1293
1292
|
type: "added";
|
1294
|
-
}, {
|
1295
1293
|
value?: any;
|
1294
|
+
}, {
|
1296
1295
|
type: "added";
|
1296
|
+
value?: any;
|
1297
1297
|
}>, import("zod").ZodObject<{
|
1298
1298
|
type: import("zod").ZodLiteral<"deleted">;
|
1299
1299
|
value: import("zod").ZodAny;
|
1300
1300
|
}, "strip", ZodTypeAny, {
|
1301
|
-
value?: any;
|
1302
1301
|
type: "deleted";
|
1303
|
-
}, {
|
1304
1302
|
value?: any;
|
1303
|
+
}, {
|
1305
1304
|
type: "deleted";
|
1305
|
+
value?: any;
|
1306
1306
|
}>, import("zod").ZodObject<{
|
1307
1307
|
type: import("zod").ZodLiteral<"changed">;
|
1308
1308
|
old: import("zod").ZodAny;
|
1309
1309
|
new: import("zod").ZodAny;
|
1310
1310
|
}, "strip", ZodTypeAny, {
|
1311
|
+
type: "changed";
|
1311
1312
|
old?: any;
|
1312
1313
|
new?: any;
|
1313
|
-
type: "changed";
|
1314
1314
|
}, {
|
1315
|
+
type: "changed";
|
1315
1316
|
old?: any;
|
1316
1317
|
new?: any;
|
1317
|
-
type: "changed";
|
1318
1318
|
}>]>>;
|
1319
1319
|
primaryKey: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
1320
1320
|
type: import("zod").ZodLiteral<"added">;
|
@@ -1472,16 +1472,21 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
1472
1472
|
new: boolean;
|
1473
1473
|
}>]>>;
|
1474
1474
|
}, "strict", ZodTypeAny, {
|
1475
|
+
name: string | {
|
1476
|
+
type: "changed";
|
1477
|
+
old: string;
|
1478
|
+
new: string;
|
1479
|
+
};
|
1475
1480
|
default?: {
|
1476
|
-
value?: any;
|
1477
1481
|
type: "added";
|
1478
|
-
} | {
|
1479
1482
|
value?: any;
|
1483
|
+
} | {
|
1480
1484
|
type: "deleted";
|
1485
|
+
value?: any;
|
1481
1486
|
} | {
|
1487
|
+
type: "changed";
|
1482
1488
|
old?: any;
|
1483
1489
|
new?: any;
|
1484
|
-
type: "changed";
|
1485
1490
|
} | undefined;
|
1486
1491
|
type?: {
|
1487
1492
|
type: "changed";
|
@@ -1543,22 +1548,22 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
1543
1548
|
old: string;
|
1544
1549
|
new: string;
|
1545
1550
|
} | undefined;
|
1551
|
+
}, {
|
1546
1552
|
name: string | {
|
1547
1553
|
type: "changed";
|
1548
1554
|
old: string;
|
1549
1555
|
new: string;
|
1550
1556
|
};
|
1551
|
-
}, {
|
1552
1557
|
default?: {
|
1553
|
-
value?: any;
|
1554
1558
|
type: "added";
|
1555
|
-
} | {
|
1556
1559
|
value?: any;
|
1560
|
+
} | {
|
1557
1561
|
type: "deleted";
|
1562
|
+
value?: any;
|
1558
1563
|
} | {
|
1564
|
+
type: "changed";
|
1559
1565
|
old?: any;
|
1560
1566
|
new?: any;
|
1561
|
-
type: "changed";
|
1562
1567
|
} | undefined;
|
1563
1568
|
type?: {
|
1564
1569
|
type: "changed";
|
@@ -1620,11 +1625,6 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
1620
1625
|
old: string;
|
1621
1626
|
new: string;
|
1622
1627
|
} | undefined;
|
1623
|
-
name: string | {
|
1624
|
-
type: "changed";
|
1625
|
-
old: string;
|
1626
|
-
new: string;
|
1627
|
-
};
|
1628
1628
|
}>, "many">;
|
1629
1629
|
addedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
1630
1630
|
deletedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
@@ -1678,16 +1678,21 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
1678
1678
|
name: string;
|
1679
1679
|
schema: string;
|
1680
1680
|
altered: {
|
1681
|
+
name: string | {
|
1682
|
+
type: "changed";
|
1683
|
+
old: string;
|
1684
|
+
new: string;
|
1685
|
+
};
|
1681
1686
|
default?: {
|
1682
|
-
value?: any;
|
1683
1687
|
type: "added";
|
1684
|
-
} | {
|
1685
1688
|
value?: any;
|
1689
|
+
} | {
|
1686
1690
|
type: "deleted";
|
1691
|
+
value?: any;
|
1687
1692
|
} | {
|
1693
|
+
type: "changed";
|
1688
1694
|
old?: any;
|
1689
1695
|
new?: any;
|
1690
|
-
type: "changed";
|
1691
1696
|
} | undefined;
|
1692
1697
|
type?: {
|
1693
1698
|
type: "changed";
|
@@ -1749,11 +1754,6 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
1749
1754
|
old: string;
|
1750
1755
|
new: string;
|
1751
1756
|
} | undefined;
|
1752
|
-
name: string | {
|
1753
|
-
type: "changed";
|
1754
|
-
old: string;
|
1755
|
-
new: string;
|
1756
|
-
};
|
1757
1757
|
}[];
|
1758
1758
|
addedIndexes: Record<string, string>;
|
1759
1759
|
deletedIndexes: Record<string, string>;
|
@@ -1783,16 +1783,21 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
1783
1783
|
name: string;
|
1784
1784
|
schema: string;
|
1785
1785
|
altered: {
|
1786
|
+
name: string | {
|
1787
|
+
type: "changed";
|
1788
|
+
old: string;
|
1789
|
+
new: string;
|
1790
|
+
};
|
1786
1791
|
default?: {
|
1787
|
-
value?: any;
|
1788
1792
|
type: "added";
|
1789
|
-
} | {
|
1790
1793
|
value?: any;
|
1794
|
+
} | {
|
1791
1795
|
type: "deleted";
|
1796
|
+
value?: any;
|
1792
1797
|
} | {
|
1798
|
+
type: "changed";
|
1793
1799
|
old?: any;
|
1794
1800
|
new?: any;
|
1795
|
-
type: "changed";
|
1796
1801
|
} | undefined;
|
1797
1802
|
type?: {
|
1798
1803
|
type: "changed";
|
@@ -1854,11 +1859,6 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
1854
1859
|
old: string;
|
1855
1860
|
new: string;
|
1856
1861
|
} | undefined;
|
1857
|
-
name: string | {
|
1858
|
-
type: "changed";
|
1859
|
-
old: string;
|
1860
|
-
new: string;
|
1861
|
-
};
|
1862
1862
|
}[];
|
1863
1863
|
addedIndexes: Record<string, string>;
|
1864
1864
|
deletedIndexes: Record<string, string>;
|
@@ -1921,16 +1921,21 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
1921
1921
|
name: string;
|
1922
1922
|
schema: string;
|
1923
1923
|
altered: {
|
1924
|
+
name: string | {
|
1925
|
+
type: "changed";
|
1926
|
+
old: string;
|
1927
|
+
new: string;
|
1928
|
+
};
|
1924
1929
|
default?: {
|
1925
|
-
value?: any;
|
1926
1930
|
type: "added";
|
1927
|
-
} | {
|
1928
1931
|
value?: any;
|
1932
|
+
} | {
|
1929
1933
|
type: "deleted";
|
1934
|
+
value?: any;
|
1930
1935
|
} | {
|
1936
|
+
type: "changed";
|
1931
1937
|
old?: any;
|
1932
1938
|
new?: any;
|
1933
|
-
type: "changed";
|
1934
1939
|
} | undefined;
|
1935
1940
|
type?: {
|
1936
1941
|
type: "changed";
|
@@ -1992,11 +1997,6 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
1992
1997
|
old: string;
|
1993
1998
|
new: string;
|
1994
1999
|
} | undefined;
|
1995
|
-
name: string | {
|
1996
|
-
type: "changed";
|
1997
|
-
old: string;
|
1998
|
-
new: string;
|
1999
|
-
};
|
2000
2000
|
}[];
|
2001
2001
|
addedIndexes: Record<string, string>;
|
2002
2002
|
deletedIndexes: Record<string, string>;
|
@@ -2037,16 +2037,21 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
2037
2037
|
name: string;
|
2038
2038
|
schema: string;
|
2039
2039
|
altered: {
|
2040
|
+
name: string | {
|
2041
|
+
type: "changed";
|
2042
|
+
old: string;
|
2043
|
+
new: string;
|
2044
|
+
};
|
2040
2045
|
default?: {
|
2041
|
-
value?: any;
|
2042
2046
|
type: "added";
|
2043
|
-
} | {
|
2044
2047
|
value?: any;
|
2048
|
+
} | {
|
2045
2049
|
type: "deleted";
|
2050
|
+
value?: any;
|
2046
2051
|
} | {
|
2052
|
+
type: "changed";
|
2047
2053
|
old?: any;
|
2048
2054
|
new?: any;
|
2049
|
-
type: "changed";
|
2050
2055
|
} | undefined;
|
2051
2056
|
type?: {
|
2052
2057
|
type: "changed";
|
@@ -2108,11 +2113,6 @@ export declare const diffResultScheme: import("zod").ZodObject<{
|
|
2108
2113
|
old: string;
|
2109
2114
|
new: string;
|
2110
2115
|
} | undefined;
|
2111
|
-
name: string | {
|
2112
|
-
type: "changed";
|
2113
|
-
old: string;
|
2114
|
-
new: string;
|
2115
|
-
};
|
2116
2116
|
}[];
|
2117
2117
|
addedIndexes: Record<string, string>;
|
2118
2118
|
deletedIndexes: Record<string, string>;
|
@@ -2184,32 +2184,32 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2184
2184
|
type: import("zod").ZodLiteral<"added">;
|
2185
2185
|
value: import("zod").ZodAny;
|
2186
2186
|
}, "strip", ZodTypeAny, {
|
2187
|
-
value?: any;
|
2188
2187
|
type: "added";
|
2189
|
-
}, {
|
2190
2188
|
value?: any;
|
2189
|
+
}, {
|
2191
2190
|
type: "added";
|
2191
|
+
value?: any;
|
2192
2192
|
}>, import("zod").ZodObject<{
|
2193
2193
|
type: import("zod").ZodLiteral<"deleted">;
|
2194
2194
|
value: import("zod").ZodAny;
|
2195
2195
|
}, "strip", ZodTypeAny, {
|
2196
|
-
value?: any;
|
2197
2196
|
type: "deleted";
|
2198
|
-
}, {
|
2199
2197
|
value?: any;
|
2198
|
+
}, {
|
2200
2199
|
type: "deleted";
|
2200
|
+
value?: any;
|
2201
2201
|
}>, import("zod").ZodObject<{
|
2202
2202
|
type: import("zod").ZodLiteral<"changed">;
|
2203
2203
|
old: import("zod").ZodAny;
|
2204
2204
|
new: import("zod").ZodAny;
|
2205
2205
|
}, "strip", ZodTypeAny, {
|
2206
|
+
type: "changed";
|
2206
2207
|
old?: any;
|
2207
2208
|
new?: any;
|
2208
|
-
type: "changed";
|
2209
2209
|
}, {
|
2210
|
+
type: "changed";
|
2210
2211
|
old?: any;
|
2211
2212
|
new?: any;
|
2212
|
-
type: "changed";
|
2213
2213
|
}>]>>;
|
2214
2214
|
primaryKey: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
2215
2215
|
type: import("zod").ZodLiteral<"added">;
|
@@ -2367,16 +2367,21 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2367
2367
|
new: boolean;
|
2368
2368
|
}>]>>;
|
2369
2369
|
}, "strict", ZodTypeAny, {
|
2370
|
+
name: string | {
|
2371
|
+
type: "changed";
|
2372
|
+
old: string;
|
2373
|
+
new: string;
|
2374
|
+
};
|
2370
2375
|
default?: {
|
2371
|
-
value?: any;
|
2372
2376
|
type: "added";
|
2373
|
-
} | {
|
2374
2377
|
value?: any;
|
2378
|
+
} | {
|
2375
2379
|
type: "deleted";
|
2380
|
+
value?: any;
|
2376
2381
|
} | {
|
2382
|
+
type: "changed";
|
2377
2383
|
old?: any;
|
2378
2384
|
new?: any;
|
2379
|
-
type: "changed";
|
2380
2385
|
} | undefined;
|
2381
2386
|
type?: {
|
2382
2387
|
type: "changed";
|
@@ -2438,22 +2443,22 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2438
2443
|
old: string;
|
2439
2444
|
new: string;
|
2440
2445
|
} | undefined;
|
2446
|
+
}, {
|
2441
2447
|
name: string | {
|
2442
2448
|
type: "changed";
|
2443
2449
|
old: string;
|
2444
2450
|
new: string;
|
2445
2451
|
};
|
2446
|
-
}, {
|
2447
2452
|
default?: {
|
2448
|
-
value?: any;
|
2449
2453
|
type: "added";
|
2450
|
-
} | {
|
2451
2454
|
value?: any;
|
2455
|
+
} | {
|
2452
2456
|
type: "deleted";
|
2457
|
+
value?: any;
|
2453
2458
|
} | {
|
2459
|
+
type: "changed";
|
2454
2460
|
old?: any;
|
2455
2461
|
new?: any;
|
2456
|
-
type: "changed";
|
2457
2462
|
} | undefined;
|
2458
2463
|
type?: {
|
2459
2464
|
type: "changed";
|
@@ -2515,11 +2520,6 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2515
2520
|
old: string;
|
2516
2521
|
new: string;
|
2517
2522
|
} | undefined;
|
2518
|
-
name: string | {
|
2519
|
-
type: "changed";
|
2520
|
-
old: string;
|
2521
|
-
new: string;
|
2522
|
-
};
|
2523
2523
|
}>, "many">;
|
2524
2524
|
addedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
2525
2525
|
deletedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
@@ -2573,16 +2573,21 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2573
2573
|
name: string;
|
2574
2574
|
schema: string;
|
2575
2575
|
altered: {
|
2576
|
+
name: string | {
|
2577
|
+
type: "changed";
|
2578
|
+
old: string;
|
2579
|
+
new: string;
|
2580
|
+
};
|
2576
2581
|
default?: {
|
2577
|
-
value?: any;
|
2578
2582
|
type: "added";
|
2579
|
-
} | {
|
2580
2583
|
value?: any;
|
2584
|
+
} | {
|
2581
2585
|
type: "deleted";
|
2586
|
+
value?: any;
|
2582
2587
|
} | {
|
2588
|
+
type: "changed";
|
2583
2589
|
old?: any;
|
2584
2590
|
new?: any;
|
2585
|
-
type: "changed";
|
2586
2591
|
} | undefined;
|
2587
2592
|
type?: {
|
2588
2593
|
type: "changed";
|
@@ -2644,11 +2649,6 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2644
2649
|
old: string;
|
2645
2650
|
new: string;
|
2646
2651
|
} | undefined;
|
2647
|
-
name: string | {
|
2648
|
-
type: "changed";
|
2649
|
-
old: string;
|
2650
|
-
new: string;
|
2651
|
-
};
|
2652
2652
|
}[];
|
2653
2653
|
addedIndexes: Record<string, string>;
|
2654
2654
|
deletedIndexes: Record<string, string>;
|
@@ -2678,16 +2678,21 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2678
2678
|
name: string;
|
2679
2679
|
schema: string;
|
2680
2680
|
altered: {
|
2681
|
+
name: string | {
|
2682
|
+
type: "changed";
|
2683
|
+
old: string;
|
2684
|
+
new: string;
|
2685
|
+
};
|
2681
2686
|
default?: {
|
2682
|
-
value?: any;
|
2683
2687
|
type: "added";
|
2684
|
-
} | {
|
2685
2688
|
value?: any;
|
2689
|
+
} | {
|
2686
2690
|
type: "deleted";
|
2691
|
+
value?: any;
|
2687
2692
|
} | {
|
2693
|
+
type: "changed";
|
2688
2694
|
old?: any;
|
2689
2695
|
new?: any;
|
2690
|
-
type: "changed";
|
2691
2696
|
} | undefined;
|
2692
2697
|
type?: {
|
2693
2698
|
type: "changed";
|
@@ -2749,11 +2754,6 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2749
2754
|
old: string;
|
2750
2755
|
new: string;
|
2751
2756
|
} | undefined;
|
2752
|
-
name: string | {
|
2753
|
-
type: "changed";
|
2754
|
-
old: string;
|
2755
|
-
new: string;
|
2756
|
-
};
|
2757
2757
|
}[];
|
2758
2758
|
addedIndexes: Record<string, string>;
|
2759
2759
|
deletedIndexes: Record<string, string>;
|
@@ -2786,16 +2786,21 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2786
2786
|
name: string;
|
2787
2787
|
schema: string;
|
2788
2788
|
altered: {
|
2789
|
+
name: string | {
|
2790
|
+
type: "changed";
|
2791
|
+
old: string;
|
2792
|
+
new: string;
|
2793
|
+
};
|
2789
2794
|
default?: {
|
2790
|
-
value?: any;
|
2791
2795
|
type: "added";
|
2792
|
-
} | {
|
2793
2796
|
value?: any;
|
2797
|
+
} | {
|
2794
2798
|
type: "deleted";
|
2799
|
+
value?: any;
|
2795
2800
|
} | {
|
2801
|
+
type: "changed";
|
2796
2802
|
old?: any;
|
2797
2803
|
new?: any;
|
2798
|
-
type: "changed";
|
2799
2804
|
} | undefined;
|
2800
2805
|
type?: {
|
2801
2806
|
type: "changed";
|
@@ -2857,11 +2862,6 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2857
2862
|
old: string;
|
2858
2863
|
new: string;
|
2859
2864
|
} | undefined;
|
2860
|
-
name: string | {
|
2861
|
-
type: "changed";
|
2862
|
-
old: string;
|
2863
|
-
new: string;
|
2864
|
-
};
|
2865
2865
|
}[];
|
2866
2866
|
addedIndexes: Record<string, string>;
|
2867
2867
|
deletedIndexes: Record<string, string>;
|
@@ -2894,16 +2894,21 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2894
2894
|
name: string;
|
2895
2895
|
schema: string;
|
2896
2896
|
altered: {
|
2897
|
+
name: string | {
|
2898
|
+
type: "changed";
|
2899
|
+
old: string;
|
2900
|
+
new: string;
|
2901
|
+
};
|
2897
2902
|
default?: {
|
2898
|
-
value?: any;
|
2899
2903
|
type: "added";
|
2900
|
-
} | {
|
2901
2904
|
value?: any;
|
2905
|
+
} | {
|
2902
2906
|
type: "deleted";
|
2907
|
+
value?: any;
|
2903
2908
|
} | {
|
2909
|
+
type: "changed";
|
2904
2910
|
old?: any;
|
2905
2911
|
new?: any;
|
2906
|
-
type: "changed";
|
2907
2912
|
} | undefined;
|
2908
2913
|
type?: {
|
2909
2914
|
type: "changed";
|
@@ -2965,11 +2970,6 @@ export declare const diffResultSchemeMysql: import("zod").ZodObject<{
|
|
2965
2970
|
old: string;
|
2966
2971
|
new: string;
|
2967
2972
|
} | undefined;
|
2968
|
-
name: string | {
|
2969
|
-
type: "changed";
|
2970
|
-
old: string;
|
2971
|
-
new: string;
|
2972
|
-
};
|
2973
2973
|
}[];
|
2974
2974
|
addedIndexes: Record<string, string>;
|
2975
2975
|
deletedIndexes: Record<string, string>;
|
@@ -3033,32 +3033,32 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3033
3033
|
type: import("zod").ZodLiteral<"added">;
|
3034
3034
|
value: import("zod").ZodAny;
|
3035
3035
|
}, "strip", ZodTypeAny, {
|
3036
|
-
value?: any;
|
3037
3036
|
type: "added";
|
3038
|
-
}, {
|
3039
3037
|
value?: any;
|
3038
|
+
}, {
|
3040
3039
|
type: "added";
|
3040
|
+
value?: any;
|
3041
3041
|
}>, import("zod").ZodObject<{
|
3042
3042
|
type: import("zod").ZodLiteral<"deleted">;
|
3043
3043
|
value: import("zod").ZodAny;
|
3044
3044
|
}, "strip", ZodTypeAny, {
|
3045
|
-
value?: any;
|
3046
3045
|
type: "deleted";
|
3047
|
-
}, {
|
3048
3046
|
value?: any;
|
3047
|
+
}, {
|
3049
3048
|
type: "deleted";
|
3049
|
+
value?: any;
|
3050
3050
|
}>, import("zod").ZodObject<{
|
3051
3051
|
type: import("zod").ZodLiteral<"changed">;
|
3052
3052
|
old: import("zod").ZodAny;
|
3053
3053
|
new: import("zod").ZodAny;
|
3054
3054
|
}, "strip", ZodTypeAny, {
|
3055
|
+
type: "changed";
|
3055
3056
|
old?: any;
|
3056
3057
|
new?: any;
|
3057
|
-
type: "changed";
|
3058
3058
|
}, {
|
3059
|
+
type: "changed";
|
3059
3060
|
old?: any;
|
3060
3061
|
new?: any;
|
3061
|
-
type: "changed";
|
3062
3062
|
}>]>>;
|
3063
3063
|
primaryKey: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
3064
3064
|
type: import("zod").ZodLiteral<"added">;
|
@@ -3216,16 +3216,21 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3216
3216
|
new: boolean;
|
3217
3217
|
}>]>>;
|
3218
3218
|
}, "strict", ZodTypeAny, {
|
3219
|
+
name: string | {
|
3220
|
+
type: "changed";
|
3221
|
+
old: string;
|
3222
|
+
new: string;
|
3223
|
+
};
|
3219
3224
|
default?: {
|
3220
|
-
value?: any;
|
3221
3225
|
type: "added";
|
3222
|
-
} | {
|
3223
3226
|
value?: any;
|
3227
|
+
} | {
|
3224
3228
|
type: "deleted";
|
3229
|
+
value?: any;
|
3225
3230
|
} | {
|
3231
|
+
type: "changed";
|
3226
3232
|
old?: any;
|
3227
3233
|
new?: any;
|
3228
|
-
type: "changed";
|
3229
3234
|
} | undefined;
|
3230
3235
|
type?: {
|
3231
3236
|
type: "changed";
|
@@ -3287,22 +3292,22 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3287
3292
|
old: string;
|
3288
3293
|
new: string;
|
3289
3294
|
} | undefined;
|
3295
|
+
}, {
|
3290
3296
|
name: string | {
|
3291
3297
|
type: "changed";
|
3292
3298
|
old: string;
|
3293
3299
|
new: string;
|
3294
3300
|
};
|
3295
|
-
}, {
|
3296
3301
|
default?: {
|
3297
|
-
value?: any;
|
3298
3302
|
type: "added";
|
3299
|
-
} | {
|
3300
3303
|
value?: any;
|
3304
|
+
} | {
|
3301
3305
|
type: "deleted";
|
3306
|
+
value?: any;
|
3302
3307
|
} | {
|
3308
|
+
type: "changed";
|
3303
3309
|
old?: any;
|
3304
3310
|
new?: any;
|
3305
|
-
type: "changed";
|
3306
3311
|
} | undefined;
|
3307
3312
|
type?: {
|
3308
3313
|
type: "changed";
|
@@ -3364,11 +3369,6 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3364
3369
|
old: string;
|
3365
3370
|
new: string;
|
3366
3371
|
} | undefined;
|
3367
|
-
name: string | {
|
3368
|
-
type: "changed";
|
3369
|
-
old: string;
|
3370
|
-
new: string;
|
3371
|
-
};
|
3372
3372
|
}>, "many">;
|
3373
3373
|
addedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
3374
3374
|
deletedIndexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
@@ -3422,16 +3422,21 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3422
3422
|
name: string;
|
3423
3423
|
schema: string;
|
3424
3424
|
altered: {
|
3425
|
+
name: string | {
|
3426
|
+
type: "changed";
|
3427
|
+
old: string;
|
3428
|
+
new: string;
|
3429
|
+
};
|
3425
3430
|
default?: {
|
3426
|
-
value?: any;
|
3427
3431
|
type: "added";
|
3428
|
-
} | {
|
3429
3432
|
value?: any;
|
3433
|
+
} | {
|
3430
3434
|
type: "deleted";
|
3435
|
+
value?: any;
|
3431
3436
|
} | {
|
3437
|
+
type: "changed";
|
3432
3438
|
old?: any;
|
3433
3439
|
new?: any;
|
3434
|
-
type: "changed";
|
3435
3440
|
} | undefined;
|
3436
3441
|
type?: {
|
3437
3442
|
type: "changed";
|
@@ -3493,11 +3498,6 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3493
3498
|
old: string;
|
3494
3499
|
new: string;
|
3495
3500
|
} | undefined;
|
3496
|
-
name: string | {
|
3497
|
-
type: "changed";
|
3498
|
-
old: string;
|
3499
|
-
new: string;
|
3500
|
-
};
|
3501
3501
|
}[];
|
3502
3502
|
addedIndexes: Record<string, string>;
|
3503
3503
|
deletedIndexes: Record<string, string>;
|
@@ -3527,16 +3527,21 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3527
3527
|
name: string;
|
3528
3528
|
schema: string;
|
3529
3529
|
altered: {
|
3530
|
+
name: string | {
|
3531
|
+
type: "changed";
|
3532
|
+
old: string;
|
3533
|
+
new: string;
|
3534
|
+
};
|
3530
3535
|
default?: {
|
3531
|
-
value?: any;
|
3532
3536
|
type: "added";
|
3533
|
-
} | {
|
3534
3537
|
value?: any;
|
3538
|
+
} | {
|
3535
3539
|
type: "deleted";
|
3540
|
+
value?: any;
|
3536
3541
|
} | {
|
3542
|
+
type: "changed";
|
3537
3543
|
old?: any;
|
3538
3544
|
new?: any;
|
3539
|
-
type: "changed";
|
3540
3545
|
} | undefined;
|
3541
3546
|
type?: {
|
3542
3547
|
type: "changed";
|
@@ -3598,11 +3603,6 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3598
3603
|
old: string;
|
3599
3604
|
new: string;
|
3600
3605
|
} | undefined;
|
3601
|
-
name: string | {
|
3602
|
-
type: "changed";
|
3603
|
-
old: string;
|
3604
|
-
new: string;
|
3605
|
-
};
|
3606
3606
|
}[];
|
3607
3607
|
addedIndexes: Record<string, string>;
|
3608
3608
|
deletedIndexes: Record<string, string>;
|
@@ -3635,16 +3635,21 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3635
3635
|
name: string;
|
3636
3636
|
schema: string;
|
3637
3637
|
altered: {
|
3638
|
+
name: string | {
|
3639
|
+
type: "changed";
|
3640
|
+
old: string;
|
3641
|
+
new: string;
|
3642
|
+
};
|
3638
3643
|
default?: {
|
3639
|
-
value?: any;
|
3640
3644
|
type: "added";
|
3641
|
-
} | {
|
3642
3645
|
value?: any;
|
3646
|
+
} | {
|
3643
3647
|
type: "deleted";
|
3648
|
+
value?: any;
|
3644
3649
|
} | {
|
3650
|
+
type: "changed";
|
3645
3651
|
old?: any;
|
3646
3652
|
new?: any;
|
3647
|
-
type: "changed";
|
3648
3653
|
} | undefined;
|
3649
3654
|
type?: {
|
3650
3655
|
type: "changed";
|
@@ -3706,11 +3711,6 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3706
3711
|
old: string;
|
3707
3712
|
new: string;
|
3708
3713
|
} | undefined;
|
3709
|
-
name: string | {
|
3710
|
-
type: "changed";
|
3711
|
-
old: string;
|
3712
|
-
new: string;
|
3713
|
-
};
|
3714
3714
|
}[];
|
3715
3715
|
addedIndexes: Record<string, string>;
|
3716
3716
|
deletedIndexes: Record<string, string>;
|
@@ -3743,16 +3743,21 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3743
3743
|
name: string;
|
3744
3744
|
schema: string;
|
3745
3745
|
altered: {
|
3746
|
+
name: string | {
|
3747
|
+
type: "changed";
|
3748
|
+
old: string;
|
3749
|
+
new: string;
|
3750
|
+
};
|
3746
3751
|
default?: {
|
3747
|
-
value?: any;
|
3748
3752
|
type: "added";
|
3749
|
-
} | {
|
3750
3753
|
value?: any;
|
3754
|
+
} | {
|
3751
3755
|
type: "deleted";
|
3756
|
+
value?: any;
|
3752
3757
|
} | {
|
3758
|
+
type: "changed";
|
3753
3759
|
old?: any;
|
3754
3760
|
new?: any;
|
3755
|
-
type: "changed";
|
3756
3761
|
} | undefined;
|
3757
3762
|
type?: {
|
3758
3763
|
type: "changed";
|
@@ -3814,11 +3819,6 @@ export declare const diffResultSchemeSQLite: import("zod").ZodObject<{
|
|
3814
3819
|
old: string;
|
3815
3820
|
new: string;
|
3816
3821
|
} | undefined;
|
3817
|
-
name: string | {
|
3818
|
-
type: "changed";
|
3819
|
-
old: string;
|
3820
|
-
new: string;
|
3821
|
-
};
|
3822
3822
|
}[];
|
3823
3823
|
addedIndexes: Record<string, string>;
|
3824
3824
|
deletedIndexes: Record<string, string>;
|