drizzle-kit 0.20.17-56cc78f → 0.20.17-57f44bf
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +24454 -16512
- package/index.d.mts +28 -14
- package/index.d.ts +28 -14
- package/package.json +5 -16
- package/payload.d.mts +987 -18
- package/payload.d.ts +987 -18
- package/payload.js +19804 -16879
- package/payload.mjs +19843 -16892
- package/utils-studio.js +949 -822
- package/utils-studio.mjs +922 -795
- package/utils.js +859 -218
- package/utils.mjs +834 -193
- package/@types/utils.d.ts +0 -12
- package/cli/commands/migrate.d.ts +0 -287
- package/cli/commands/mysqlIntrospect.d.ts +0 -50
- package/cli/commands/mysqlPushUtils.d.ts +0 -14
- package/cli/commands/pgIntrospect.d.ts +0 -59
- package/cli/commands/pgPushUtils.d.ts +0 -11
- package/cli/commands/sqliteIntrospect.d.ts +0 -103
- package/cli/commands/sqlitePushUtils.d.ts +0 -15
- package/cli/commands/utils.d.ts +0 -58
- package/cli/connections.d.ts +0 -13
- package/cli/selector-ui.d.ts +0 -13
- package/cli/utils.d.ts +0 -13
- package/cli/validations/cli.d.ts +0 -169
- package/cli/validations/common.d.ts +0 -214
- package/cli/validations/mysql.d.ts +0 -29
- package/cli/validations/outputs.d.ts +0 -41
- package/cli/validations/pg.d.ts +0 -46
- package/cli/validations/sqlite.d.ts +0 -22
- package/cli/views.d.ts +0 -63
- package/global.d.ts +0 -6
- package/introspect-sqlite.d.ts +0 -10
- package/jsonDiffer.d.ts +0 -61
- package/jsonStatements.d.ts +0 -376
- package/migrationPreparator.d.ts +0 -35
- package/schemaValidator.d.ts +0 -1316
- package/serializer/index.d.ts +0 -9
- package/serializer/mysqlImports.d.ts +0 -7
- package/serializer/mysqlSchema.d.ts +0 -4650
- package/serializer/mysqlSerializer.d.ts +0 -7
- package/serializer/pgImports.d.ts +0 -11
- package/serializer/pgSchema.d.ts +0 -4792
- package/serializer/pgSerializer.d.ts +0 -7
- package/serializer/schemaToDrizzle.d.ts +0 -7
- package/serializer/sqliteImports.d.ts +0 -7
- package/serializer/sqliteSchema.d.ts +0 -2801
- package/serializer/sqliteSerializer.d.ts +0 -6
- package/serializer/studio.d.ts +0 -51
- package/snapshotsDiffer.d.ts +0 -3936
- package/sqlgenerator.d.ts +0 -33
- package/utils/words.d.ts +0 -7
- package/utils-studio.d.mts +0 -4
- package/utils-studio.d.ts +0 -4
- package/utils.d.ts +0 -78
@@ -1,2801 +0,0 @@
|
|
1
|
-
import { TypeOf } from "zod";
|
2
|
-
declare const index: import("zod").ZodObject<{
|
3
|
-
name: import("zod").ZodString;
|
4
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
5
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
6
|
-
isUnique: import("zod").ZodBoolean;
|
7
|
-
}, "strict", import("zod").ZodTypeAny, {
|
8
|
-
where?: string | undefined;
|
9
|
-
name: string;
|
10
|
-
columns: string[];
|
11
|
-
isUnique: boolean;
|
12
|
-
}, {
|
13
|
-
where?: string | undefined;
|
14
|
-
name: string;
|
15
|
-
columns: string[];
|
16
|
-
isUnique: boolean;
|
17
|
-
}>;
|
18
|
-
declare const fk: import("zod").ZodObject<{
|
19
|
-
name: import("zod").ZodString;
|
20
|
-
tableFrom: import("zod").ZodString;
|
21
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
22
|
-
tableTo: import("zod").ZodString;
|
23
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
24
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
25
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
26
|
-
}, "strict", import("zod").ZodTypeAny, {
|
27
|
-
onUpdate?: string | undefined;
|
28
|
-
onDelete?: string | undefined;
|
29
|
-
name: string;
|
30
|
-
tableFrom: string;
|
31
|
-
columnsFrom: string[];
|
32
|
-
tableTo: string;
|
33
|
-
columnsTo: string[];
|
34
|
-
}, {
|
35
|
-
onUpdate?: string | undefined;
|
36
|
-
onDelete?: string | undefined;
|
37
|
-
name: string;
|
38
|
-
tableFrom: string;
|
39
|
-
columnsFrom: string[];
|
40
|
-
tableTo: string;
|
41
|
-
columnsTo: string[];
|
42
|
-
}>;
|
43
|
-
declare const compositePK: import("zod").ZodObject<{
|
44
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
45
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
46
|
-
}, "strict", import("zod").ZodTypeAny, {
|
47
|
-
name?: string | undefined;
|
48
|
-
columns: string[];
|
49
|
-
}, {
|
50
|
-
name?: string | undefined;
|
51
|
-
columns: string[];
|
52
|
-
}>;
|
53
|
-
declare const column: import("zod").ZodObject<{
|
54
|
-
name: import("zod").ZodString;
|
55
|
-
type: import("zod").ZodString;
|
56
|
-
primaryKey: import("zod").ZodBoolean;
|
57
|
-
notNull: import("zod").ZodBoolean;
|
58
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
59
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
60
|
-
}, "strict", import("zod").ZodTypeAny, {
|
61
|
-
default?: any;
|
62
|
-
autoincrement?: boolean | undefined;
|
63
|
-
name: string;
|
64
|
-
type: string;
|
65
|
-
primaryKey: boolean;
|
66
|
-
notNull: boolean;
|
67
|
-
}, {
|
68
|
-
default?: any;
|
69
|
-
autoincrement?: boolean | undefined;
|
70
|
-
name: string;
|
71
|
-
type: string;
|
72
|
-
primaryKey: boolean;
|
73
|
-
notNull: boolean;
|
74
|
-
}>;
|
75
|
-
declare const uniqueConstraint: import("zod").ZodObject<{
|
76
|
-
name: import("zod").ZodString;
|
77
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
78
|
-
}, "strict", import("zod").ZodTypeAny, {
|
79
|
-
name: string;
|
80
|
-
columns: string[];
|
81
|
-
}, {
|
82
|
-
name: string;
|
83
|
-
columns: string[];
|
84
|
-
}>;
|
85
|
-
declare const table: import("zod").ZodObject<{
|
86
|
-
name: import("zod").ZodString;
|
87
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
88
|
-
name: import("zod").ZodString;
|
89
|
-
type: import("zod").ZodString;
|
90
|
-
primaryKey: import("zod").ZodBoolean;
|
91
|
-
notNull: import("zod").ZodBoolean;
|
92
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
93
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
94
|
-
}, "strict", import("zod").ZodTypeAny, {
|
95
|
-
default?: any;
|
96
|
-
autoincrement?: boolean | undefined;
|
97
|
-
name: string;
|
98
|
-
type: string;
|
99
|
-
primaryKey: boolean;
|
100
|
-
notNull: boolean;
|
101
|
-
}, {
|
102
|
-
default?: any;
|
103
|
-
autoincrement?: boolean | undefined;
|
104
|
-
name: string;
|
105
|
-
type: string;
|
106
|
-
primaryKey: boolean;
|
107
|
-
notNull: boolean;
|
108
|
-
}>>;
|
109
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
110
|
-
name: import("zod").ZodString;
|
111
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
112
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
113
|
-
isUnique: import("zod").ZodBoolean;
|
114
|
-
}, "strict", import("zod").ZodTypeAny, {
|
115
|
-
where?: string | undefined;
|
116
|
-
name: string;
|
117
|
-
columns: string[];
|
118
|
-
isUnique: boolean;
|
119
|
-
}, {
|
120
|
-
where?: string | undefined;
|
121
|
-
name: string;
|
122
|
-
columns: string[];
|
123
|
-
isUnique: boolean;
|
124
|
-
}>>;
|
125
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
126
|
-
name: import("zod").ZodString;
|
127
|
-
tableFrom: import("zod").ZodString;
|
128
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
129
|
-
tableTo: import("zod").ZodString;
|
130
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
131
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
132
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
133
|
-
}, "strict", import("zod").ZodTypeAny, {
|
134
|
-
onUpdate?: string | undefined;
|
135
|
-
onDelete?: string | undefined;
|
136
|
-
name: string;
|
137
|
-
tableFrom: string;
|
138
|
-
columnsFrom: string[];
|
139
|
-
tableTo: string;
|
140
|
-
columnsTo: string[];
|
141
|
-
}, {
|
142
|
-
onUpdate?: string | undefined;
|
143
|
-
onDelete?: string | undefined;
|
144
|
-
name: string;
|
145
|
-
tableFrom: string;
|
146
|
-
columnsFrom: string[];
|
147
|
-
tableTo: string;
|
148
|
-
columnsTo: string[];
|
149
|
-
}>>;
|
150
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
151
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
152
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
153
|
-
}, "strict", import("zod").ZodTypeAny, {
|
154
|
-
name?: string | undefined;
|
155
|
-
columns: string[];
|
156
|
-
}, {
|
157
|
-
name?: string | undefined;
|
158
|
-
columns: string[];
|
159
|
-
}>>;
|
160
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
161
|
-
name: import("zod").ZodString;
|
162
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
163
|
-
}, "strict", import("zod").ZodTypeAny, {
|
164
|
-
name: string;
|
165
|
-
columns: string[];
|
166
|
-
}, {
|
167
|
-
name: string;
|
168
|
-
columns: string[];
|
169
|
-
}>>>;
|
170
|
-
}, "strict", import("zod").ZodTypeAny, {
|
171
|
-
name: string;
|
172
|
-
columns: Record<string, {
|
173
|
-
default?: any;
|
174
|
-
autoincrement?: boolean | undefined;
|
175
|
-
name: string;
|
176
|
-
type: string;
|
177
|
-
primaryKey: boolean;
|
178
|
-
notNull: boolean;
|
179
|
-
}>;
|
180
|
-
indexes: Record<string, {
|
181
|
-
where?: string | undefined;
|
182
|
-
name: string;
|
183
|
-
columns: string[];
|
184
|
-
isUnique: boolean;
|
185
|
-
}>;
|
186
|
-
foreignKeys: Record<string, {
|
187
|
-
onUpdate?: string | undefined;
|
188
|
-
onDelete?: string | undefined;
|
189
|
-
name: string;
|
190
|
-
tableFrom: string;
|
191
|
-
columnsFrom: string[];
|
192
|
-
tableTo: string;
|
193
|
-
columnsTo: string[];
|
194
|
-
}>;
|
195
|
-
compositePrimaryKeys: Record<string, {
|
196
|
-
name?: string | undefined;
|
197
|
-
columns: string[];
|
198
|
-
}>;
|
199
|
-
uniqueConstraints: Record<string, {
|
200
|
-
name: string;
|
201
|
-
columns: string[];
|
202
|
-
}>;
|
203
|
-
}, {
|
204
|
-
uniqueConstraints?: Record<string, {
|
205
|
-
name: string;
|
206
|
-
columns: string[];
|
207
|
-
}> | undefined;
|
208
|
-
name: string;
|
209
|
-
columns: Record<string, {
|
210
|
-
default?: any;
|
211
|
-
autoincrement?: boolean | undefined;
|
212
|
-
name: string;
|
213
|
-
type: string;
|
214
|
-
primaryKey: boolean;
|
215
|
-
notNull: boolean;
|
216
|
-
}>;
|
217
|
-
indexes: Record<string, {
|
218
|
-
where?: string | undefined;
|
219
|
-
name: string;
|
220
|
-
columns: string[];
|
221
|
-
isUnique: boolean;
|
222
|
-
}>;
|
223
|
-
foreignKeys: Record<string, {
|
224
|
-
onUpdate?: string | undefined;
|
225
|
-
onDelete?: string | undefined;
|
226
|
-
name: string;
|
227
|
-
tableFrom: string;
|
228
|
-
columnsFrom: string[];
|
229
|
-
tableTo: string;
|
230
|
-
columnsTo: string[];
|
231
|
-
}>;
|
232
|
-
compositePrimaryKeys: Record<string, {
|
233
|
-
name?: string | undefined;
|
234
|
-
columns: string[];
|
235
|
-
}>;
|
236
|
-
}>;
|
237
|
-
declare const dialect: import("zod").ZodEnum<["sqlite"]>;
|
238
|
-
export declare const schemaInternalV3: import("zod").ZodObject<{
|
239
|
-
version: import("zod").ZodLiteral<"3">;
|
240
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
241
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
242
|
-
name: import("zod").ZodString;
|
243
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
244
|
-
name: import("zod").ZodString;
|
245
|
-
type: import("zod").ZodString;
|
246
|
-
primaryKey: import("zod").ZodBoolean;
|
247
|
-
notNull: import("zod").ZodBoolean;
|
248
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
249
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
250
|
-
}, "strict", import("zod").ZodTypeAny, {
|
251
|
-
default?: any;
|
252
|
-
autoincrement?: boolean | undefined;
|
253
|
-
name: string;
|
254
|
-
type: string;
|
255
|
-
primaryKey: boolean;
|
256
|
-
notNull: boolean;
|
257
|
-
}, {
|
258
|
-
default?: any;
|
259
|
-
autoincrement?: boolean | undefined;
|
260
|
-
name: string;
|
261
|
-
type: string;
|
262
|
-
primaryKey: boolean;
|
263
|
-
notNull: boolean;
|
264
|
-
}>>;
|
265
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
266
|
-
name: import("zod").ZodString;
|
267
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
268
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
269
|
-
isUnique: import("zod").ZodBoolean;
|
270
|
-
}, "strict", import("zod").ZodTypeAny, {
|
271
|
-
where?: string | undefined;
|
272
|
-
name: string;
|
273
|
-
columns: string[];
|
274
|
-
isUnique: boolean;
|
275
|
-
}, {
|
276
|
-
where?: string | undefined;
|
277
|
-
name: string;
|
278
|
-
columns: string[];
|
279
|
-
isUnique: boolean;
|
280
|
-
}>>;
|
281
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
282
|
-
name: import("zod").ZodString;
|
283
|
-
tableFrom: import("zod").ZodString;
|
284
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
285
|
-
tableTo: import("zod").ZodString;
|
286
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
287
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
288
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
289
|
-
}, "strict", import("zod").ZodTypeAny, {
|
290
|
-
onUpdate?: string | undefined;
|
291
|
-
onDelete?: string | undefined;
|
292
|
-
name: string;
|
293
|
-
tableFrom: string;
|
294
|
-
columnsFrom: string[];
|
295
|
-
tableTo: string;
|
296
|
-
columnsTo: string[];
|
297
|
-
}, {
|
298
|
-
onUpdate?: string | undefined;
|
299
|
-
onDelete?: string | undefined;
|
300
|
-
name: string;
|
301
|
-
tableFrom: string;
|
302
|
-
columnsFrom: string[];
|
303
|
-
tableTo: string;
|
304
|
-
columnsTo: string[];
|
305
|
-
}>>;
|
306
|
-
}, "strict", import("zod").ZodTypeAny, {
|
307
|
-
name: string;
|
308
|
-
columns: Record<string, {
|
309
|
-
default?: any;
|
310
|
-
autoincrement?: boolean | undefined;
|
311
|
-
name: string;
|
312
|
-
type: string;
|
313
|
-
primaryKey: boolean;
|
314
|
-
notNull: boolean;
|
315
|
-
}>;
|
316
|
-
indexes: Record<string, {
|
317
|
-
where?: string | undefined;
|
318
|
-
name: string;
|
319
|
-
columns: string[];
|
320
|
-
isUnique: boolean;
|
321
|
-
}>;
|
322
|
-
foreignKeys: Record<string, {
|
323
|
-
onUpdate?: string | undefined;
|
324
|
-
onDelete?: string | undefined;
|
325
|
-
name: string;
|
326
|
-
tableFrom: string;
|
327
|
-
columnsFrom: string[];
|
328
|
-
tableTo: string;
|
329
|
-
columnsTo: string[];
|
330
|
-
}>;
|
331
|
-
}, {
|
332
|
-
name: string;
|
333
|
-
columns: Record<string, {
|
334
|
-
default?: any;
|
335
|
-
autoincrement?: boolean | undefined;
|
336
|
-
name: string;
|
337
|
-
type: string;
|
338
|
-
primaryKey: boolean;
|
339
|
-
notNull: boolean;
|
340
|
-
}>;
|
341
|
-
indexes: Record<string, {
|
342
|
-
where?: string | undefined;
|
343
|
-
name: string;
|
344
|
-
columns: string[];
|
345
|
-
isUnique: boolean;
|
346
|
-
}>;
|
347
|
-
foreignKeys: Record<string, {
|
348
|
-
onUpdate?: string | undefined;
|
349
|
-
onDelete?: string | undefined;
|
350
|
-
name: string;
|
351
|
-
tableFrom: string;
|
352
|
-
columnsFrom: string[];
|
353
|
-
tableTo: string;
|
354
|
-
columnsTo: string[];
|
355
|
-
}>;
|
356
|
-
}>>;
|
357
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
358
|
-
}, "strict", import("zod").ZodTypeAny, {
|
359
|
-
tables: Record<string, {
|
360
|
-
name: string;
|
361
|
-
columns: Record<string, {
|
362
|
-
default?: any;
|
363
|
-
autoincrement?: boolean | undefined;
|
364
|
-
name: string;
|
365
|
-
type: string;
|
366
|
-
primaryKey: boolean;
|
367
|
-
notNull: boolean;
|
368
|
-
}>;
|
369
|
-
indexes: Record<string, {
|
370
|
-
where?: string | undefined;
|
371
|
-
name: string;
|
372
|
-
columns: string[];
|
373
|
-
isUnique: boolean;
|
374
|
-
}>;
|
375
|
-
foreignKeys: Record<string, {
|
376
|
-
onUpdate?: string | undefined;
|
377
|
-
onDelete?: string | undefined;
|
378
|
-
name: string;
|
379
|
-
tableFrom: string;
|
380
|
-
columnsFrom: string[];
|
381
|
-
tableTo: string;
|
382
|
-
columnsTo: string[];
|
383
|
-
}>;
|
384
|
-
}>;
|
385
|
-
version: "3";
|
386
|
-
dialect: "sqlite";
|
387
|
-
enums: {};
|
388
|
-
}, {
|
389
|
-
tables: Record<string, {
|
390
|
-
name: string;
|
391
|
-
columns: Record<string, {
|
392
|
-
default?: any;
|
393
|
-
autoincrement?: boolean | undefined;
|
394
|
-
name: string;
|
395
|
-
type: string;
|
396
|
-
primaryKey: boolean;
|
397
|
-
notNull: boolean;
|
398
|
-
}>;
|
399
|
-
indexes: Record<string, {
|
400
|
-
where?: string | undefined;
|
401
|
-
name: string;
|
402
|
-
columns: string[];
|
403
|
-
isUnique: boolean;
|
404
|
-
}>;
|
405
|
-
foreignKeys: Record<string, {
|
406
|
-
onUpdate?: string | undefined;
|
407
|
-
onDelete?: string | undefined;
|
408
|
-
name: string;
|
409
|
-
tableFrom: string;
|
410
|
-
columnsFrom: string[];
|
411
|
-
tableTo: string;
|
412
|
-
columnsTo: string[];
|
413
|
-
}>;
|
414
|
-
}>;
|
415
|
-
version: "3";
|
416
|
-
dialect: "sqlite";
|
417
|
-
enums: {};
|
418
|
-
}>;
|
419
|
-
export declare const schemaInternalV4: import("zod").ZodObject<{
|
420
|
-
version: import("zod").ZodLiteral<"4">;
|
421
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
422
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
423
|
-
name: import("zod").ZodString;
|
424
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
425
|
-
name: import("zod").ZodString;
|
426
|
-
type: import("zod").ZodString;
|
427
|
-
primaryKey: import("zod").ZodBoolean;
|
428
|
-
notNull: import("zod").ZodBoolean;
|
429
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
430
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
431
|
-
}, "strict", import("zod").ZodTypeAny, {
|
432
|
-
default?: any;
|
433
|
-
autoincrement?: boolean | undefined;
|
434
|
-
name: string;
|
435
|
-
type: string;
|
436
|
-
primaryKey: boolean;
|
437
|
-
notNull: boolean;
|
438
|
-
}, {
|
439
|
-
default?: any;
|
440
|
-
autoincrement?: boolean | undefined;
|
441
|
-
name: string;
|
442
|
-
type: string;
|
443
|
-
primaryKey: boolean;
|
444
|
-
notNull: boolean;
|
445
|
-
}>>;
|
446
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
447
|
-
name: import("zod").ZodString;
|
448
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
449
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
450
|
-
isUnique: import("zod").ZodBoolean;
|
451
|
-
}, "strict", import("zod").ZodTypeAny, {
|
452
|
-
where?: string | undefined;
|
453
|
-
name: string;
|
454
|
-
columns: string[];
|
455
|
-
isUnique: boolean;
|
456
|
-
}, {
|
457
|
-
where?: string | undefined;
|
458
|
-
name: string;
|
459
|
-
columns: string[];
|
460
|
-
isUnique: boolean;
|
461
|
-
}>>;
|
462
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
463
|
-
name: import("zod").ZodString;
|
464
|
-
tableFrom: import("zod").ZodString;
|
465
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
466
|
-
tableTo: import("zod").ZodString;
|
467
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
468
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
469
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
470
|
-
}, "strict", import("zod").ZodTypeAny, {
|
471
|
-
onUpdate?: string | undefined;
|
472
|
-
onDelete?: string | undefined;
|
473
|
-
name: string;
|
474
|
-
tableFrom: string;
|
475
|
-
columnsFrom: string[];
|
476
|
-
tableTo: string;
|
477
|
-
columnsTo: string[];
|
478
|
-
}, {
|
479
|
-
onUpdate?: string | undefined;
|
480
|
-
onDelete?: string | undefined;
|
481
|
-
name: string;
|
482
|
-
tableFrom: string;
|
483
|
-
columnsFrom: string[];
|
484
|
-
tableTo: string;
|
485
|
-
columnsTo: string[];
|
486
|
-
}>>;
|
487
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
488
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
489
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
490
|
-
}, "strict", import("zod").ZodTypeAny, {
|
491
|
-
name?: string | undefined;
|
492
|
-
columns: string[];
|
493
|
-
}, {
|
494
|
-
name?: string | undefined;
|
495
|
-
columns: string[];
|
496
|
-
}>>;
|
497
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
498
|
-
name: import("zod").ZodString;
|
499
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
500
|
-
}, "strict", import("zod").ZodTypeAny, {
|
501
|
-
name: string;
|
502
|
-
columns: string[];
|
503
|
-
}, {
|
504
|
-
name: string;
|
505
|
-
columns: string[];
|
506
|
-
}>>>;
|
507
|
-
}, "strict", import("zod").ZodTypeAny, {
|
508
|
-
name: string;
|
509
|
-
columns: Record<string, {
|
510
|
-
default?: any;
|
511
|
-
autoincrement?: boolean | undefined;
|
512
|
-
name: string;
|
513
|
-
type: string;
|
514
|
-
primaryKey: boolean;
|
515
|
-
notNull: boolean;
|
516
|
-
}>;
|
517
|
-
indexes: Record<string, {
|
518
|
-
where?: string | undefined;
|
519
|
-
name: string;
|
520
|
-
columns: string[];
|
521
|
-
isUnique: boolean;
|
522
|
-
}>;
|
523
|
-
foreignKeys: Record<string, {
|
524
|
-
onUpdate?: string | undefined;
|
525
|
-
onDelete?: string | undefined;
|
526
|
-
name: string;
|
527
|
-
tableFrom: string;
|
528
|
-
columnsFrom: string[];
|
529
|
-
tableTo: string;
|
530
|
-
columnsTo: string[];
|
531
|
-
}>;
|
532
|
-
compositePrimaryKeys: Record<string, {
|
533
|
-
name?: string | undefined;
|
534
|
-
columns: string[];
|
535
|
-
}>;
|
536
|
-
uniqueConstraints: Record<string, {
|
537
|
-
name: string;
|
538
|
-
columns: string[];
|
539
|
-
}>;
|
540
|
-
}, {
|
541
|
-
uniqueConstraints?: Record<string, {
|
542
|
-
name: string;
|
543
|
-
columns: string[];
|
544
|
-
}> | undefined;
|
545
|
-
name: string;
|
546
|
-
columns: Record<string, {
|
547
|
-
default?: any;
|
548
|
-
autoincrement?: boolean | undefined;
|
549
|
-
name: string;
|
550
|
-
type: string;
|
551
|
-
primaryKey: boolean;
|
552
|
-
notNull: boolean;
|
553
|
-
}>;
|
554
|
-
indexes: Record<string, {
|
555
|
-
where?: string | undefined;
|
556
|
-
name: string;
|
557
|
-
columns: string[];
|
558
|
-
isUnique: boolean;
|
559
|
-
}>;
|
560
|
-
foreignKeys: Record<string, {
|
561
|
-
onUpdate?: string | undefined;
|
562
|
-
onDelete?: string | undefined;
|
563
|
-
name: string;
|
564
|
-
tableFrom: string;
|
565
|
-
columnsFrom: string[];
|
566
|
-
tableTo: string;
|
567
|
-
columnsTo: string[];
|
568
|
-
}>;
|
569
|
-
compositePrimaryKeys: Record<string, {
|
570
|
-
name?: string | undefined;
|
571
|
-
columns: string[];
|
572
|
-
}>;
|
573
|
-
}>>;
|
574
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
575
|
-
}, "strict", import("zod").ZodTypeAny, {
|
576
|
-
tables: Record<string, {
|
577
|
-
name: string;
|
578
|
-
columns: Record<string, {
|
579
|
-
default?: any;
|
580
|
-
autoincrement?: boolean | undefined;
|
581
|
-
name: string;
|
582
|
-
type: string;
|
583
|
-
primaryKey: boolean;
|
584
|
-
notNull: boolean;
|
585
|
-
}>;
|
586
|
-
indexes: Record<string, {
|
587
|
-
where?: string | undefined;
|
588
|
-
name: string;
|
589
|
-
columns: string[];
|
590
|
-
isUnique: boolean;
|
591
|
-
}>;
|
592
|
-
foreignKeys: Record<string, {
|
593
|
-
onUpdate?: string | undefined;
|
594
|
-
onDelete?: string | undefined;
|
595
|
-
name: string;
|
596
|
-
tableFrom: string;
|
597
|
-
columnsFrom: string[];
|
598
|
-
tableTo: string;
|
599
|
-
columnsTo: string[];
|
600
|
-
}>;
|
601
|
-
compositePrimaryKeys: Record<string, {
|
602
|
-
name?: string | undefined;
|
603
|
-
columns: string[];
|
604
|
-
}>;
|
605
|
-
uniqueConstraints: Record<string, {
|
606
|
-
name: string;
|
607
|
-
columns: string[];
|
608
|
-
}>;
|
609
|
-
}>;
|
610
|
-
version: "4";
|
611
|
-
dialect: "sqlite";
|
612
|
-
enums: {};
|
613
|
-
}, {
|
614
|
-
tables: Record<string, {
|
615
|
-
uniqueConstraints?: Record<string, {
|
616
|
-
name: string;
|
617
|
-
columns: string[];
|
618
|
-
}> | undefined;
|
619
|
-
name: string;
|
620
|
-
columns: Record<string, {
|
621
|
-
default?: any;
|
622
|
-
autoincrement?: boolean | undefined;
|
623
|
-
name: string;
|
624
|
-
type: string;
|
625
|
-
primaryKey: boolean;
|
626
|
-
notNull: boolean;
|
627
|
-
}>;
|
628
|
-
indexes: Record<string, {
|
629
|
-
where?: string | undefined;
|
630
|
-
name: string;
|
631
|
-
columns: string[];
|
632
|
-
isUnique: boolean;
|
633
|
-
}>;
|
634
|
-
foreignKeys: Record<string, {
|
635
|
-
onUpdate?: string | undefined;
|
636
|
-
onDelete?: string | undefined;
|
637
|
-
name: string;
|
638
|
-
tableFrom: string;
|
639
|
-
columnsFrom: string[];
|
640
|
-
tableTo: string;
|
641
|
-
columnsTo: string[];
|
642
|
-
}>;
|
643
|
-
compositePrimaryKeys: Record<string, {
|
644
|
-
name?: string | undefined;
|
645
|
-
columns: string[];
|
646
|
-
}>;
|
647
|
-
}>;
|
648
|
-
version: "4";
|
649
|
-
dialect: "sqlite";
|
650
|
-
enums: {};
|
651
|
-
}>;
|
652
|
-
export declare const schemaInternal: import("zod").ZodObject<{
|
653
|
-
version: import("zod").ZodLiteral<"5">;
|
654
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
655
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
656
|
-
name: import("zod").ZodString;
|
657
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
658
|
-
name: import("zod").ZodString;
|
659
|
-
type: import("zod").ZodString;
|
660
|
-
primaryKey: import("zod").ZodBoolean;
|
661
|
-
notNull: import("zod").ZodBoolean;
|
662
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
663
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
664
|
-
}, "strict", import("zod").ZodTypeAny, {
|
665
|
-
default?: any;
|
666
|
-
autoincrement?: boolean | undefined;
|
667
|
-
name: string;
|
668
|
-
type: string;
|
669
|
-
primaryKey: boolean;
|
670
|
-
notNull: boolean;
|
671
|
-
}, {
|
672
|
-
default?: any;
|
673
|
-
autoincrement?: boolean | undefined;
|
674
|
-
name: string;
|
675
|
-
type: string;
|
676
|
-
primaryKey: boolean;
|
677
|
-
notNull: boolean;
|
678
|
-
}>>;
|
679
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
680
|
-
name: import("zod").ZodString;
|
681
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
682
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
683
|
-
isUnique: import("zod").ZodBoolean;
|
684
|
-
}, "strict", import("zod").ZodTypeAny, {
|
685
|
-
where?: string | undefined;
|
686
|
-
name: string;
|
687
|
-
columns: string[];
|
688
|
-
isUnique: boolean;
|
689
|
-
}, {
|
690
|
-
where?: string | undefined;
|
691
|
-
name: string;
|
692
|
-
columns: string[];
|
693
|
-
isUnique: boolean;
|
694
|
-
}>>;
|
695
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
696
|
-
name: import("zod").ZodString;
|
697
|
-
tableFrom: import("zod").ZodString;
|
698
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
699
|
-
tableTo: import("zod").ZodString;
|
700
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
701
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
702
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
703
|
-
}, "strict", import("zod").ZodTypeAny, {
|
704
|
-
onUpdate?: string | undefined;
|
705
|
-
onDelete?: string | undefined;
|
706
|
-
name: string;
|
707
|
-
tableFrom: string;
|
708
|
-
columnsFrom: string[];
|
709
|
-
tableTo: string;
|
710
|
-
columnsTo: string[];
|
711
|
-
}, {
|
712
|
-
onUpdate?: string | undefined;
|
713
|
-
onDelete?: string | undefined;
|
714
|
-
name: string;
|
715
|
-
tableFrom: string;
|
716
|
-
columnsFrom: string[];
|
717
|
-
tableTo: string;
|
718
|
-
columnsTo: string[];
|
719
|
-
}>>;
|
720
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
721
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
722
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
723
|
-
}, "strict", import("zod").ZodTypeAny, {
|
724
|
-
name?: string | undefined;
|
725
|
-
columns: string[];
|
726
|
-
}, {
|
727
|
-
name?: string | undefined;
|
728
|
-
columns: string[];
|
729
|
-
}>>;
|
730
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
731
|
-
name: import("zod").ZodString;
|
732
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
733
|
-
}, "strict", import("zod").ZodTypeAny, {
|
734
|
-
name: string;
|
735
|
-
columns: string[];
|
736
|
-
}, {
|
737
|
-
name: string;
|
738
|
-
columns: string[];
|
739
|
-
}>>>;
|
740
|
-
}, "strict", import("zod").ZodTypeAny, {
|
741
|
-
name: string;
|
742
|
-
columns: Record<string, {
|
743
|
-
default?: any;
|
744
|
-
autoincrement?: boolean | undefined;
|
745
|
-
name: string;
|
746
|
-
type: string;
|
747
|
-
primaryKey: boolean;
|
748
|
-
notNull: boolean;
|
749
|
-
}>;
|
750
|
-
indexes: Record<string, {
|
751
|
-
where?: string | undefined;
|
752
|
-
name: string;
|
753
|
-
columns: string[];
|
754
|
-
isUnique: boolean;
|
755
|
-
}>;
|
756
|
-
foreignKeys: Record<string, {
|
757
|
-
onUpdate?: string | undefined;
|
758
|
-
onDelete?: string | undefined;
|
759
|
-
name: string;
|
760
|
-
tableFrom: string;
|
761
|
-
columnsFrom: string[];
|
762
|
-
tableTo: string;
|
763
|
-
columnsTo: string[];
|
764
|
-
}>;
|
765
|
-
compositePrimaryKeys: Record<string, {
|
766
|
-
name?: string | undefined;
|
767
|
-
columns: string[];
|
768
|
-
}>;
|
769
|
-
uniqueConstraints: Record<string, {
|
770
|
-
name: string;
|
771
|
-
columns: string[];
|
772
|
-
}>;
|
773
|
-
}, {
|
774
|
-
uniqueConstraints?: Record<string, {
|
775
|
-
name: string;
|
776
|
-
columns: string[];
|
777
|
-
}> | undefined;
|
778
|
-
name: string;
|
779
|
-
columns: Record<string, {
|
780
|
-
default?: any;
|
781
|
-
autoincrement?: boolean | undefined;
|
782
|
-
name: string;
|
783
|
-
type: string;
|
784
|
-
primaryKey: boolean;
|
785
|
-
notNull: boolean;
|
786
|
-
}>;
|
787
|
-
indexes: Record<string, {
|
788
|
-
where?: string | undefined;
|
789
|
-
name: string;
|
790
|
-
columns: string[];
|
791
|
-
isUnique: boolean;
|
792
|
-
}>;
|
793
|
-
foreignKeys: Record<string, {
|
794
|
-
onUpdate?: string | undefined;
|
795
|
-
onDelete?: string | undefined;
|
796
|
-
name: string;
|
797
|
-
tableFrom: string;
|
798
|
-
columnsFrom: string[];
|
799
|
-
tableTo: string;
|
800
|
-
columnsTo: string[];
|
801
|
-
}>;
|
802
|
-
compositePrimaryKeys: Record<string, {
|
803
|
-
name?: string | undefined;
|
804
|
-
columns: string[];
|
805
|
-
}>;
|
806
|
-
}>>;
|
807
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
808
|
-
_meta: import("zod").ZodObject<{
|
809
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
810
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
811
|
-
}, "strip", import("zod").ZodTypeAny, {
|
812
|
-
columns: Record<string, string>;
|
813
|
-
tables: Record<string, string>;
|
814
|
-
}, {
|
815
|
-
columns: Record<string, string>;
|
816
|
-
tables: Record<string, string>;
|
817
|
-
}>;
|
818
|
-
}, "strict", import("zod").ZodTypeAny, {
|
819
|
-
tables: Record<string, {
|
820
|
-
name: string;
|
821
|
-
columns: Record<string, {
|
822
|
-
default?: any;
|
823
|
-
autoincrement?: boolean | undefined;
|
824
|
-
name: string;
|
825
|
-
type: string;
|
826
|
-
primaryKey: boolean;
|
827
|
-
notNull: boolean;
|
828
|
-
}>;
|
829
|
-
indexes: Record<string, {
|
830
|
-
where?: string | undefined;
|
831
|
-
name: string;
|
832
|
-
columns: string[];
|
833
|
-
isUnique: boolean;
|
834
|
-
}>;
|
835
|
-
foreignKeys: Record<string, {
|
836
|
-
onUpdate?: string | undefined;
|
837
|
-
onDelete?: string | undefined;
|
838
|
-
name: string;
|
839
|
-
tableFrom: string;
|
840
|
-
columnsFrom: string[];
|
841
|
-
tableTo: string;
|
842
|
-
columnsTo: string[];
|
843
|
-
}>;
|
844
|
-
compositePrimaryKeys: Record<string, {
|
845
|
-
name?: string | undefined;
|
846
|
-
columns: string[];
|
847
|
-
}>;
|
848
|
-
uniqueConstraints: Record<string, {
|
849
|
-
name: string;
|
850
|
-
columns: string[];
|
851
|
-
}>;
|
852
|
-
}>;
|
853
|
-
version: "5";
|
854
|
-
dialect: "sqlite";
|
855
|
-
_meta: {
|
856
|
-
columns: Record<string, string>;
|
857
|
-
tables: Record<string, string>;
|
858
|
-
};
|
859
|
-
enums: {};
|
860
|
-
}, {
|
861
|
-
tables: Record<string, {
|
862
|
-
uniqueConstraints?: Record<string, {
|
863
|
-
name: string;
|
864
|
-
columns: string[];
|
865
|
-
}> | undefined;
|
866
|
-
name: string;
|
867
|
-
columns: Record<string, {
|
868
|
-
default?: any;
|
869
|
-
autoincrement?: boolean | undefined;
|
870
|
-
name: string;
|
871
|
-
type: string;
|
872
|
-
primaryKey: boolean;
|
873
|
-
notNull: boolean;
|
874
|
-
}>;
|
875
|
-
indexes: Record<string, {
|
876
|
-
where?: string | undefined;
|
877
|
-
name: string;
|
878
|
-
columns: string[];
|
879
|
-
isUnique: boolean;
|
880
|
-
}>;
|
881
|
-
foreignKeys: Record<string, {
|
882
|
-
onUpdate?: string | undefined;
|
883
|
-
onDelete?: string | undefined;
|
884
|
-
name: string;
|
885
|
-
tableFrom: string;
|
886
|
-
columnsFrom: string[];
|
887
|
-
tableTo: string;
|
888
|
-
columnsTo: string[];
|
889
|
-
}>;
|
890
|
-
compositePrimaryKeys: Record<string, {
|
891
|
-
name?: string | undefined;
|
892
|
-
columns: string[];
|
893
|
-
}>;
|
894
|
-
}>;
|
895
|
-
version: "5";
|
896
|
-
dialect: "sqlite";
|
897
|
-
_meta: {
|
898
|
-
columns: Record<string, string>;
|
899
|
-
tables: Record<string, string>;
|
900
|
-
};
|
901
|
-
enums: {};
|
902
|
-
}>;
|
903
|
-
export declare const schemaV3: import("zod").ZodObject<import("zod").extendShape<{
|
904
|
-
version: import("zod").ZodLiteral<"3">;
|
905
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
906
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
907
|
-
name: import("zod").ZodString;
|
908
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
909
|
-
name: import("zod").ZodString;
|
910
|
-
type: import("zod").ZodString;
|
911
|
-
primaryKey: import("zod").ZodBoolean;
|
912
|
-
notNull: import("zod").ZodBoolean;
|
913
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
914
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
915
|
-
}, "strict", import("zod").ZodTypeAny, {
|
916
|
-
default?: any;
|
917
|
-
autoincrement?: boolean | undefined;
|
918
|
-
name: string;
|
919
|
-
type: string;
|
920
|
-
primaryKey: boolean;
|
921
|
-
notNull: boolean;
|
922
|
-
}, {
|
923
|
-
default?: any;
|
924
|
-
autoincrement?: boolean | undefined;
|
925
|
-
name: string;
|
926
|
-
type: string;
|
927
|
-
primaryKey: boolean;
|
928
|
-
notNull: boolean;
|
929
|
-
}>>;
|
930
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
931
|
-
name: import("zod").ZodString;
|
932
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
933
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
934
|
-
isUnique: import("zod").ZodBoolean;
|
935
|
-
}, "strict", import("zod").ZodTypeAny, {
|
936
|
-
where?: string | undefined;
|
937
|
-
name: string;
|
938
|
-
columns: string[];
|
939
|
-
isUnique: boolean;
|
940
|
-
}, {
|
941
|
-
where?: string | undefined;
|
942
|
-
name: string;
|
943
|
-
columns: string[];
|
944
|
-
isUnique: boolean;
|
945
|
-
}>>;
|
946
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
947
|
-
name: import("zod").ZodString;
|
948
|
-
tableFrom: import("zod").ZodString;
|
949
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
950
|
-
tableTo: import("zod").ZodString;
|
951
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
952
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
953
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
954
|
-
}, "strict", import("zod").ZodTypeAny, {
|
955
|
-
onUpdate?: string | undefined;
|
956
|
-
onDelete?: string | undefined;
|
957
|
-
name: string;
|
958
|
-
tableFrom: string;
|
959
|
-
columnsFrom: string[];
|
960
|
-
tableTo: string;
|
961
|
-
columnsTo: string[];
|
962
|
-
}, {
|
963
|
-
onUpdate?: string | undefined;
|
964
|
-
onDelete?: string | undefined;
|
965
|
-
name: string;
|
966
|
-
tableFrom: string;
|
967
|
-
columnsFrom: string[];
|
968
|
-
tableTo: string;
|
969
|
-
columnsTo: string[];
|
970
|
-
}>>;
|
971
|
-
}, "strict", import("zod").ZodTypeAny, {
|
972
|
-
name: string;
|
973
|
-
columns: Record<string, {
|
974
|
-
default?: any;
|
975
|
-
autoincrement?: boolean | undefined;
|
976
|
-
name: string;
|
977
|
-
type: string;
|
978
|
-
primaryKey: boolean;
|
979
|
-
notNull: boolean;
|
980
|
-
}>;
|
981
|
-
indexes: Record<string, {
|
982
|
-
where?: string | undefined;
|
983
|
-
name: string;
|
984
|
-
columns: string[];
|
985
|
-
isUnique: boolean;
|
986
|
-
}>;
|
987
|
-
foreignKeys: Record<string, {
|
988
|
-
onUpdate?: string | undefined;
|
989
|
-
onDelete?: string | undefined;
|
990
|
-
name: string;
|
991
|
-
tableFrom: string;
|
992
|
-
columnsFrom: string[];
|
993
|
-
tableTo: string;
|
994
|
-
columnsTo: string[];
|
995
|
-
}>;
|
996
|
-
}, {
|
997
|
-
name: string;
|
998
|
-
columns: Record<string, {
|
999
|
-
default?: any;
|
1000
|
-
autoincrement?: boolean | undefined;
|
1001
|
-
name: string;
|
1002
|
-
type: string;
|
1003
|
-
primaryKey: boolean;
|
1004
|
-
notNull: boolean;
|
1005
|
-
}>;
|
1006
|
-
indexes: Record<string, {
|
1007
|
-
where?: string | undefined;
|
1008
|
-
name: string;
|
1009
|
-
columns: string[];
|
1010
|
-
isUnique: boolean;
|
1011
|
-
}>;
|
1012
|
-
foreignKeys: Record<string, {
|
1013
|
-
onUpdate?: string | undefined;
|
1014
|
-
onDelete?: string | undefined;
|
1015
|
-
name: string;
|
1016
|
-
tableFrom: string;
|
1017
|
-
columnsFrom: string[];
|
1018
|
-
tableTo: string;
|
1019
|
-
columnsTo: string[];
|
1020
|
-
}>;
|
1021
|
-
}>>;
|
1022
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
1023
|
-
}, {
|
1024
|
-
id: import("zod").ZodString;
|
1025
|
-
prevId: import("zod").ZodString;
|
1026
|
-
}>, "strict", import("zod").ZodTypeAny, {
|
1027
|
-
tables: Record<string, {
|
1028
|
-
name: string;
|
1029
|
-
columns: Record<string, {
|
1030
|
-
default?: any;
|
1031
|
-
autoincrement?: boolean | undefined;
|
1032
|
-
name: string;
|
1033
|
-
type: string;
|
1034
|
-
primaryKey: boolean;
|
1035
|
-
notNull: boolean;
|
1036
|
-
}>;
|
1037
|
-
indexes: Record<string, {
|
1038
|
-
where?: string | undefined;
|
1039
|
-
name: string;
|
1040
|
-
columns: string[];
|
1041
|
-
isUnique: boolean;
|
1042
|
-
}>;
|
1043
|
-
foreignKeys: Record<string, {
|
1044
|
-
onUpdate?: string | undefined;
|
1045
|
-
onDelete?: string | undefined;
|
1046
|
-
name: string;
|
1047
|
-
tableFrom: string;
|
1048
|
-
columnsFrom: string[];
|
1049
|
-
tableTo: string;
|
1050
|
-
columnsTo: string[];
|
1051
|
-
}>;
|
1052
|
-
}>;
|
1053
|
-
id: string;
|
1054
|
-
prevId: string;
|
1055
|
-
version: "3";
|
1056
|
-
dialect: "sqlite";
|
1057
|
-
enums: {};
|
1058
|
-
}, {
|
1059
|
-
tables: Record<string, {
|
1060
|
-
name: string;
|
1061
|
-
columns: Record<string, {
|
1062
|
-
default?: any;
|
1063
|
-
autoincrement?: boolean | undefined;
|
1064
|
-
name: string;
|
1065
|
-
type: string;
|
1066
|
-
primaryKey: boolean;
|
1067
|
-
notNull: boolean;
|
1068
|
-
}>;
|
1069
|
-
indexes: Record<string, {
|
1070
|
-
where?: string | undefined;
|
1071
|
-
name: string;
|
1072
|
-
columns: string[];
|
1073
|
-
isUnique: boolean;
|
1074
|
-
}>;
|
1075
|
-
foreignKeys: Record<string, {
|
1076
|
-
onUpdate?: string | undefined;
|
1077
|
-
onDelete?: string | undefined;
|
1078
|
-
name: string;
|
1079
|
-
tableFrom: string;
|
1080
|
-
columnsFrom: string[];
|
1081
|
-
tableTo: string;
|
1082
|
-
columnsTo: string[];
|
1083
|
-
}>;
|
1084
|
-
}>;
|
1085
|
-
id: string;
|
1086
|
-
prevId: string;
|
1087
|
-
version: "3";
|
1088
|
-
dialect: "sqlite";
|
1089
|
-
enums: {};
|
1090
|
-
}>;
|
1091
|
-
export declare const schemaV4: import("zod").ZodObject<import("zod").extendShape<{
|
1092
|
-
version: import("zod").ZodLiteral<"4">;
|
1093
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
1094
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1095
|
-
name: import("zod").ZodString;
|
1096
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1097
|
-
name: import("zod").ZodString;
|
1098
|
-
type: import("zod").ZodString;
|
1099
|
-
primaryKey: import("zod").ZodBoolean;
|
1100
|
-
notNull: import("zod").ZodBoolean;
|
1101
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
1102
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
1103
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1104
|
-
default?: any;
|
1105
|
-
autoincrement?: boolean | undefined;
|
1106
|
-
name: string;
|
1107
|
-
type: string;
|
1108
|
-
primaryKey: boolean;
|
1109
|
-
notNull: boolean;
|
1110
|
-
}, {
|
1111
|
-
default?: any;
|
1112
|
-
autoincrement?: boolean | undefined;
|
1113
|
-
name: string;
|
1114
|
-
type: string;
|
1115
|
-
primaryKey: boolean;
|
1116
|
-
notNull: boolean;
|
1117
|
-
}>>;
|
1118
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1119
|
-
name: import("zod").ZodString;
|
1120
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1121
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
1122
|
-
isUnique: import("zod").ZodBoolean;
|
1123
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1124
|
-
where?: string | undefined;
|
1125
|
-
name: string;
|
1126
|
-
columns: string[];
|
1127
|
-
isUnique: boolean;
|
1128
|
-
}, {
|
1129
|
-
where?: string | undefined;
|
1130
|
-
name: string;
|
1131
|
-
columns: string[];
|
1132
|
-
isUnique: boolean;
|
1133
|
-
}>>;
|
1134
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1135
|
-
name: import("zod").ZodString;
|
1136
|
-
tableFrom: import("zod").ZodString;
|
1137
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1138
|
-
tableTo: import("zod").ZodString;
|
1139
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1140
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
1141
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
1142
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1143
|
-
onUpdate?: string | undefined;
|
1144
|
-
onDelete?: string | undefined;
|
1145
|
-
name: string;
|
1146
|
-
tableFrom: string;
|
1147
|
-
columnsFrom: string[];
|
1148
|
-
tableTo: string;
|
1149
|
-
columnsTo: string[];
|
1150
|
-
}, {
|
1151
|
-
onUpdate?: string | undefined;
|
1152
|
-
onDelete?: string | undefined;
|
1153
|
-
name: string;
|
1154
|
-
tableFrom: string;
|
1155
|
-
columnsFrom: string[];
|
1156
|
-
tableTo: string;
|
1157
|
-
columnsTo: string[];
|
1158
|
-
}>>;
|
1159
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1160
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1161
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
1162
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1163
|
-
name?: string | undefined;
|
1164
|
-
columns: string[];
|
1165
|
-
}, {
|
1166
|
-
name?: string | undefined;
|
1167
|
-
columns: string[];
|
1168
|
-
}>>;
|
1169
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1170
|
-
name: import("zod").ZodString;
|
1171
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1172
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1173
|
-
name: string;
|
1174
|
-
columns: string[];
|
1175
|
-
}, {
|
1176
|
-
name: string;
|
1177
|
-
columns: string[];
|
1178
|
-
}>>>;
|
1179
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1180
|
-
name: string;
|
1181
|
-
columns: Record<string, {
|
1182
|
-
default?: any;
|
1183
|
-
autoincrement?: boolean | undefined;
|
1184
|
-
name: string;
|
1185
|
-
type: string;
|
1186
|
-
primaryKey: boolean;
|
1187
|
-
notNull: boolean;
|
1188
|
-
}>;
|
1189
|
-
indexes: Record<string, {
|
1190
|
-
where?: string | undefined;
|
1191
|
-
name: string;
|
1192
|
-
columns: string[];
|
1193
|
-
isUnique: boolean;
|
1194
|
-
}>;
|
1195
|
-
foreignKeys: Record<string, {
|
1196
|
-
onUpdate?: string | undefined;
|
1197
|
-
onDelete?: string | undefined;
|
1198
|
-
name: string;
|
1199
|
-
tableFrom: string;
|
1200
|
-
columnsFrom: string[];
|
1201
|
-
tableTo: string;
|
1202
|
-
columnsTo: string[];
|
1203
|
-
}>;
|
1204
|
-
compositePrimaryKeys: Record<string, {
|
1205
|
-
name?: string | undefined;
|
1206
|
-
columns: string[];
|
1207
|
-
}>;
|
1208
|
-
uniqueConstraints: Record<string, {
|
1209
|
-
name: string;
|
1210
|
-
columns: string[];
|
1211
|
-
}>;
|
1212
|
-
}, {
|
1213
|
-
uniqueConstraints?: Record<string, {
|
1214
|
-
name: string;
|
1215
|
-
columns: string[];
|
1216
|
-
}> | undefined;
|
1217
|
-
name: string;
|
1218
|
-
columns: Record<string, {
|
1219
|
-
default?: any;
|
1220
|
-
autoincrement?: boolean | undefined;
|
1221
|
-
name: string;
|
1222
|
-
type: string;
|
1223
|
-
primaryKey: boolean;
|
1224
|
-
notNull: boolean;
|
1225
|
-
}>;
|
1226
|
-
indexes: Record<string, {
|
1227
|
-
where?: string | undefined;
|
1228
|
-
name: string;
|
1229
|
-
columns: string[];
|
1230
|
-
isUnique: boolean;
|
1231
|
-
}>;
|
1232
|
-
foreignKeys: Record<string, {
|
1233
|
-
onUpdate?: string | undefined;
|
1234
|
-
onDelete?: string | undefined;
|
1235
|
-
name: string;
|
1236
|
-
tableFrom: string;
|
1237
|
-
columnsFrom: string[];
|
1238
|
-
tableTo: string;
|
1239
|
-
columnsTo: string[];
|
1240
|
-
}>;
|
1241
|
-
compositePrimaryKeys: Record<string, {
|
1242
|
-
name?: string | undefined;
|
1243
|
-
columns: string[];
|
1244
|
-
}>;
|
1245
|
-
}>>;
|
1246
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
1247
|
-
}, {
|
1248
|
-
id: import("zod").ZodString;
|
1249
|
-
prevId: import("zod").ZodString;
|
1250
|
-
}>, "strict", import("zod").ZodTypeAny, {
|
1251
|
-
tables: Record<string, {
|
1252
|
-
name: string;
|
1253
|
-
columns: Record<string, {
|
1254
|
-
default?: any;
|
1255
|
-
autoincrement?: boolean | undefined;
|
1256
|
-
name: string;
|
1257
|
-
type: string;
|
1258
|
-
primaryKey: boolean;
|
1259
|
-
notNull: boolean;
|
1260
|
-
}>;
|
1261
|
-
indexes: Record<string, {
|
1262
|
-
where?: string | undefined;
|
1263
|
-
name: string;
|
1264
|
-
columns: string[];
|
1265
|
-
isUnique: boolean;
|
1266
|
-
}>;
|
1267
|
-
foreignKeys: Record<string, {
|
1268
|
-
onUpdate?: string | undefined;
|
1269
|
-
onDelete?: string | undefined;
|
1270
|
-
name: string;
|
1271
|
-
tableFrom: string;
|
1272
|
-
columnsFrom: string[];
|
1273
|
-
tableTo: string;
|
1274
|
-
columnsTo: string[];
|
1275
|
-
}>;
|
1276
|
-
compositePrimaryKeys: Record<string, {
|
1277
|
-
name?: string | undefined;
|
1278
|
-
columns: string[];
|
1279
|
-
}>;
|
1280
|
-
uniqueConstraints: Record<string, {
|
1281
|
-
name: string;
|
1282
|
-
columns: string[];
|
1283
|
-
}>;
|
1284
|
-
}>;
|
1285
|
-
id: string;
|
1286
|
-
prevId: string;
|
1287
|
-
version: "4";
|
1288
|
-
dialect: "sqlite";
|
1289
|
-
enums: {};
|
1290
|
-
}, {
|
1291
|
-
tables: Record<string, {
|
1292
|
-
uniqueConstraints?: Record<string, {
|
1293
|
-
name: string;
|
1294
|
-
columns: string[];
|
1295
|
-
}> | undefined;
|
1296
|
-
name: string;
|
1297
|
-
columns: Record<string, {
|
1298
|
-
default?: any;
|
1299
|
-
autoincrement?: boolean | undefined;
|
1300
|
-
name: string;
|
1301
|
-
type: string;
|
1302
|
-
primaryKey: boolean;
|
1303
|
-
notNull: boolean;
|
1304
|
-
}>;
|
1305
|
-
indexes: Record<string, {
|
1306
|
-
where?: string | undefined;
|
1307
|
-
name: string;
|
1308
|
-
columns: string[];
|
1309
|
-
isUnique: boolean;
|
1310
|
-
}>;
|
1311
|
-
foreignKeys: Record<string, {
|
1312
|
-
onUpdate?: string | undefined;
|
1313
|
-
onDelete?: string | undefined;
|
1314
|
-
name: string;
|
1315
|
-
tableFrom: string;
|
1316
|
-
columnsFrom: string[];
|
1317
|
-
tableTo: string;
|
1318
|
-
columnsTo: string[];
|
1319
|
-
}>;
|
1320
|
-
compositePrimaryKeys: Record<string, {
|
1321
|
-
name?: string | undefined;
|
1322
|
-
columns: string[];
|
1323
|
-
}>;
|
1324
|
-
}>;
|
1325
|
-
id: string;
|
1326
|
-
prevId: string;
|
1327
|
-
version: "4";
|
1328
|
-
dialect: "sqlite";
|
1329
|
-
enums: {};
|
1330
|
-
}>;
|
1331
|
-
export declare const schema: import("zod").ZodObject<import("zod").extendShape<{
|
1332
|
-
version: import("zod").ZodLiteral<"5">;
|
1333
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
1334
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1335
|
-
name: import("zod").ZodString;
|
1336
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1337
|
-
name: import("zod").ZodString;
|
1338
|
-
type: import("zod").ZodString;
|
1339
|
-
primaryKey: import("zod").ZodBoolean;
|
1340
|
-
notNull: import("zod").ZodBoolean;
|
1341
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
1342
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
1343
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1344
|
-
default?: any;
|
1345
|
-
autoincrement?: boolean | undefined;
|
1346
|
-
name: string;
|
1347
|
-
type: string;
|
1348
|
-
primaryKey: boolean;
|
1349
|
-
notNull: boolean;
|
1350
|
-
}, {
|
1351
|
-
default?: any;
|
1352
|
-
autoincrement?: boolean | undefined;
|
1353
|
-
name: string;
|
1354
|
-
type: string;
|
1355
|
-
primaryKey: boolean;
|
1356
|
-
notNull: boolean;
|
1357
|
-
}>>;
|
1358
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1359
|
-
name: import("zod").ZodString;
|
1360
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1361
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
1362
|
-
isUnique: import("zod").ZodBoolean;
|
1363
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1364
|
-
where?: string | undefined;
|
1365
|
-
name: string;
|
1366
|
-
columns: string[];
|
1367
|
-
isUnique: boolean;
|
1368
|
-
}, {
|
1369
|
-
where?: string | undefined;
|
1370
|
-
name: string;
|
1371
|
-
columns: string[];
|
1372
|
-
isUnique: boolean;
|
1373
|
-
}>>;
|
1374
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1375
|
-
name: import("zod").ZodString;
|
1376
|
-
tableFrom: import("zod").ZodString;
|
1377
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1378
|
-
tableTo: import("zod").ZodString;
|
1379
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1380
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
1381
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
1382
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1383
|
-
onUpdate?: string | undefined;
|
1384
|
-
onDelete?: string | undefined;
|
1385
|
-
name: string;
|
1386
|
-
tableFrom: string;
|
1387
|
-
columnsFrom: string[];
|
1388
|
-
tableTo: string;
|
1389
|
-
columnsTo: string[];
|
1390
|
-
}, {
|
1391
|
-
onUpdate?: string | undefined;
|
1392
|
-
onDelete?: string | undefined;
|
1393
|
-
name: string;
|
1394
|
-
tableFrom: string;
|
1395
|
-
columnsFrom: string[];
|
1396
|
-
tableTo: string;
|
1397
|
-
columnsTo: string[];
|
1398
|
-
}>>;
|
1399
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1400
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1401
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
1402
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1403
|
-
name?: string | undefined;
|
1404
|
-
columns: string[];
|
1405
|
-
}, {
|
1406
|
-
name?: string | undefined;
|
1407
|
-
columns: string[];
|
1408
|
-
}>>;
|
1409
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1410
|
-
name: import("zod").ZodString;
|
1411
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1412
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1413
|
-
name: string;
|
1414
|
-
columns: string[];
|
1415
|
-
}, {
|
1416
|
-
name: string;
|
1417
|
-
columns: string[];
|
1418
|
-
}>>>;
|
1419
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1420
|
-
name: string;
|
1421
|
-
columns: Record<string, {
|
1422
|
-
default?: any;
|
1423
|
-
autoincrement?: boolean | undefined;
|
1424
|
-
name: string;
|
1425
|
-
type: string;
|
1426
|
-
primaryKey: boolean;
|
1427
|
-
notNull: boolean;
|
1428
|
-
}>;
|
1429
|
-
indexes: Record<string, {
|
1430
|
-
where?: string | undefined;
|
1431
|
-
name: string;
|
1432
|
-
columns: string[];
|
1433
|
-
isUnique: boolean;
|
1434
|
-
}>;
|
1435
|
-
foreignKeys: Record<string, {
|
1436
|
-
onUpdate?: string | undefined;
|
1437
|
-
onDelete?: string | undefined;
|
1438
|
-
name: string;
|
1439
|
-
tableFrom: string;
|
1440
|
-
columnsFrom: string[];
|
1441
|
-
tableTo: string;
|
1442
|
-
columnsTo: string[];
|
1443
|
-
}>;
|
1444
|
-
compositePrimaryKeys: Record<string, {
|
1445
|
-
name?: string | undefined;
|
1446
|
-
columns: string[];
|
1447
|
-
}>;
|
1448
|
-
uniqueConstraints: Record<string, {
|
1449
|
-
name: string;
|
1450
|
-
columns: string[];
|
1451
|
-
}>;
|
1452
|
-
}, {
|
1453
|
-
uniqueConstraints?: Record<string, {
|
1454
|
-
name: string;
|
1455
|
-
columns: string[];
|
1456
|
-
}> | undefined;
|
1457
|
-
name: string;
|
1458
|
-
columns: Record<string, {
|
1459
|
-
default?: any;
|
1460
|
-
autoincrement?: boolean | undefined;
|
1461
|
-
name: string;
|
1462
|
-
type: string;
|
1463
|
-
primaryKey: boolean;
|
1464
|
-
notNull: boolean;
|
1465
|
-
}>;
|
1466
|
-
indexes: Record<string, {
|
1467
|
-
where?: string | undefined;
|
1468
|
-
name: string;
|
1469
|
-
columns: string[];
|
1470
|
-
isUnique: boolean;
|
1471
|
-
}>;
|
1472
|
-
foreignKeys: Record<string, {
|
1473
|
-
onUpdate?: string | undefined;
|
1474
|
-
onDelete?: string | undefined;
|
1475
|
-
name: string;
|
1476
|
-
tableFrom: string;
|
1477
|
-
columnsFrom: string[];
|
1478
|
-
tableTo: string;
|
1479
|
-
columnsTo: string[];
|
1480
|
-
}>;
|
1481
|
-
compositePrimaryKeys: Record<string, {
|
1482
|
-
name?: string | undefined;
|
1483
|
-
columns: string[];
|
1484
|
-
}>;
|
1485
|
-
}>>;
|
1486
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
1487
|
-
_meta: import("zod").ZodObject<{
|
1488
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
1489
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
1490
|
-
}, "strip", import("zod").ZodTypeAny, {
|
1491
|
-
columns: Record<string, string>;
|
1492
|
-
tables: Record<string, string>;
|
1493
|
-
}, {
|
1494
|
-
columns: Record<string, string>;
|
1495
|
-
tables: Record<string, string>;
|
1496
|
-
}>;
|
1497
|
-
}, {
|
1498
|
-
id: import("zod").ZodString;
|
1499
|
-
prevId: import("zod").ZodString;
|
1500
|
-
}>, "strict", import("zod").ZodTypeAny, {
|
1501
|
-
tables: Record<string, {
|
1502
|
-
name: string;
|
1503
|
-
columns: Record<string, {
|
1504
|
-
default?: any;
|
1505
|
-
autoincrement?: boolean | undefined;
|
1506
|
-
name: string;
|
1507
|
-
type: string;
|
1508
|
-
primaryKey: boolean;
|
1509
|
-
notNull: boolean;
|
1510
|
-
}>;
|
1511
|
-
indexes: Record<string, {
|
1512
|
-
where?: string | undefined;
|
1513
|
-
name: string;
|
1514
|
-
columns: string[];
|
1515
|
-
isUnique: boolean;
|
1516
|
-
}>;
|
1517
|
-
foreignKeys: Record<string, {
|
1518
|
-
onUpdate?: string | undefined;
|
1519
|
-
onDelete?: string | undefined;
|
1520
|
-
name: string;
|
1521
|
-
tableFrom: string;
|
1522
|
-
columnsFrom: string[];
|
1523
|
-
tableTo: string;
|
1524
|
-
columnsTo: string[];
|
1525
|
-
}>;
|
1526
|
-
compositePrimaryKeys: Record<string, {
|
1527
|
-
name?: string | undefined;
|
1528
|
-
columns: string[];
|
1529
|
-
}>;
|
1530
|
-
uniqueConstraints: Record<string, {
|
1531
|
-
name: string;
|
1532
|
-
columns: string[];
|
1533
|
-
}>;
|
1534
|
-
}>;
|
1535
|
-
id: string;
|
1536
|
-
prevId: string;
|
1537
|
-
version: "5";
|
1538
|
-
dialect: "sqlite";
|
1539
|
-
_meta: {
|
1540
|
-
columns: Record<string, string>;
|
1541
|
-
tables: Record<string, string>;
|
1542
|
-
};
|
1543
|
-
enums: {};
|
1544
|
-
}, {
|
1545
|
-
tables: Record<string, {
|
1546
|
-
uniqueConstraints?: Record<string, {
|
1547
|
-
name: string;
|
1548
|
-
columns: string[];
|
1549
|
-
}> | undefined;
|
1550
|
-
name: string;
|
1551
|
-
columns: Record<string, {
|
1552
|
-
default?: any;
|
1553
|
-
autoincrement?: boolean | undefined;
|
1554
|
-
name: string;
|
1555
|
-
type: string;
|
1556
|
-
primaryKey: boolean;
|
1557
|
-
notNull: boolean;
|
1558
|
-
}>;
|
1559
|
-
indexes: Record<string, {
|
1560
|
-
where?: string | undefined;
|
1561
|
-
name: string;
|
1562
|
-
columns: string[];
|
1563
|
-
isUnique: boolean;
|
1564
|
-
}>;
|
1565
|
-
foreignKeys: Record<string, {
|
1566
|
-
onUpdate?: string | undefined;
|
1567
|
-
onDelete?: string | undefined;
|
1568
|
-
name: string;
|
1569
|
-
tableFrom: string;
|
1570
|
-
columnsFrom: string[];
|
1571
|
-
tableTo: string;
|
1572
|
-
columnsTo: string[];
|
1573
|
-
}>;
|
1574
|
-
compositePrimaryKeys: Record<string, {
|
1575
|
-
name?: string | undefined;
|
1576
|
-
columns: string[];
|
1577
|
-
}>;
|
1578
|
-
}>;
|
1579
|
-
id: string;
|
1580
|
-
prevId: string;
|
1581
|
-
version: "5";
|
1582
|
-
dialect: "sqlite";
|
1583
|
-
_meta: {
|
1584
|
-
columns: Record<string, string>;
|
1585
|
-
tables: Record<string, string>;
|
1586
|
-
};
|
1587
|
-
enums: {};
|
1588
|
-
}>;
|
1589
|
-
export declare const schemaSquashed: import("zod").ZodObject<{
|
1590
|
-
version: import("zod").ZodLiteral<"5">;
|
1591
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
1592
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1593
|
-
name: import("zod").ZodString;
|
1594
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1595
|
-
name: import("zod").ZodString;
|
1596
|
-
type: import("zod").ZodString;
|
1597
|
-
primaryKey: import("zod").ZodBoolean;
|
1598
|
-
notNull: import("zod").ZodBoolean;
|
1599
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
1600
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
1601
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1602
|
-
default?: any;
|
1603
|
-
autoincrement?: boolean | undefined;
|
1604
|
-
name: string;
|
1605
|
-
type: string;
|
1606
|
-
primaryKey: boolean;
|
1607
|
-
notNull: boolean;
|
1608
|
-
}, {
|
1609
|
-
default?: any;
|
1610
|
-
autoincrement?: boolean | undefined;
|
1611
|
-
name: string;
|
1612
|
-
type: string;
|
1613
|
-
primaryKey: boolean;
|
1614
|
-
notNull: boolean;
|
1615
|
-
}>>;
|
1616
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
1617
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
1618
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
1619
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
1620
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1621
|
-
name: string;
|
1622
|
-
columns: Record<string, {
|
1623
|
-
default?: any;
|
1624
|
-
autoincrement?: boolean | undefined;
|
1625
|
-
name: string;
|
1626
|
-
type: string;
|
1627
|
-
primaryKey: boolean;
|
1628
|
-
notNull: boolean;
|
1629
|
-
}>;
|
1630
|
-
indexes: Record<string, string>;
|
1631
|
-
foreignKeys: Record<string, string>;
|
1632
|
-
compositePrimaryKeys: Record<string, string>;
|
1633
|
-
uniqueConstraints: Record<string, string>;
|
1634
|
-
}, {
|
1635
|
-
uniqueConstraints?: Record<string, string> | undefined;
|
1636
|
-
name: string;
|
1637
|
-
columns: Record<string, {
|
1638
|
-
default?: any;
|
1639
|
-
autoincrement?: boolean | undefined;
|
1640
|
-
name: string;
|
1641
|
-
type: string;
|
1642
|
-
primaryKey: boolean;
|
1643
|
-
notNull: boolean;
|
1644
|
-
}>;
|
1645
|
-
indexes: Record<string, string>;
|
1646
|
-
foreignKeys: Record<string, string>;
|
1647
|
-
compositePrimaryKeys: Record<string, string>;
|
1648
|
-
}>>;
|
1649
|
-
enums: import("zod").ZodAny;
|
1650
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1651
|
-
enums?: any;
|
1652
|
-
tables: Record<string, {
|
1653
|
-
name: string;
|
1654
|
-
columns: Record<string, {
|
1655
|
-
default?: any;
|
1656
|
-
autoincrement?: boolean | undefined;
|
1657
|
-
name: string;
|
1658
|
-
type: string;
|
1659
|
-
primaryKey: boolean;
|
1660
|
-
notNull: boolean;
|
1661
|
-
}>;
|
1662
|
-
indexes: Record<string, string>;
|
1663
|
-
foreignKeys: Record<string, string>;
|
1664
|
-
compositePrimaryKeys: Record<string, string>;
|
1665
|
-
uniqueConstraints: Record<string, string>;
|
1666
|
-
}>;
|
1667
|
-
version: "5";
|
1668
|
-
dialect: "sqlite";
|
1669
|
-
}, {
|
1670
|
-
enums?: any;
|
1671
|
-
tables: Record<string, {
|
1672
|
-
uniqueConstraints?: Record<string, string> | undefined;
|
1673
|
-
name: string;
|
1674
|
-
columns: Record<string, {
|
1675
|
-
default?: any;
|
1676
|
-
autoincrement?: boolean | undefined;
|
1677
|
-
name: string;
|
1678
|
-
type: string;
|
1679
|
-
primaryKey: boolean;
|
1680
|
-
notNull: boolean;
|
1681
|
-
}>;
|
1682
|
-
indexes: Record<string, string>;
|
1683
|
-
foreignKeys: Record<string, string>;
|
1684
|
-
compositePrimaryKeys: Record<string, string>;
|
1685
|
-
}>;
|
1686
|
-
version: "5";
|
1687
|
-
dialect: "sqlite";
|
1688
|
-
}>;
|
1689
|
-
export type Dialect = TypeOf<typeof dialect>;
|
1690
|
-
export type Column = TypeOf<typeof column>;
|
1691
|
-
export type Table = TypeOf<typeof table>;
|
1692
|
-
export type SQLiteSchema = TypeOf<typeof schema>;
|
1693
|
-
export type SQLiteSchemaV3 = TypeOf<typeof schemaV3>;
|
1694
|
-
export type SQLiteSchemaV4 = TypeOf<typeof schemaV4>;
|
1695
|
-
export type SQLiteSchemaInternal = TypeOf<typeof schemaInternal>;
|
1696
|
-
export type SQLiteSchemaSquashed = TypeOf<typeof schemaSquashed>;
|
1697
|
-
export type Index = TypeOf<typeof index>;
|
1698
|
-
export type ForeignKey = TypeOf<typeof fk>;
|
1699
|
-
export type PrimaryKey = TypeOf<typeof compositePK>;
|
1700
|
-
export type UniqueConstraint = TypeOf<typeof uniqueConstraint>;
|
1701
|
-
export declare const SQLiteSquasher: {
|
1702
|
-
squashIdx: (idx: Index) => string;
|
1703
|
-
unsquashIdx: (input: string) => Index;
|
1704
|
-
squashUnique: (unq: UniqueConstraint) => string;
|
1705
|
-
unsquashUnique: (unq: string) => UniqueConstraint;
|
1706
|
-
squashFK: (fk: ForeignKey) => string;
|
1707
|
-
unsquashFK: (input: string) => ForeignKey;
|
1708
|
-
squashPK: (pk: PrimaryKey) => string;
|
1709
|
-
unsquashPK: (pk: string) => string[];
|
1710
|
-
};
|
1711
|
-
export declare const squashSqliteScheme: (json: SQLiteSchema | SQLiteSchemaV4) => SQLiteSchemaSquashed;
|
1712
|
-
export declare const drySQLite: {
|
1713
|
-
tables: Record<string, {
|
1714
|
-
name: string;
|
1715
|
-
columns: Record<string, {
|
1716
|
-
default?: any;
|
1717
|
-
autoincrement?: boolean | undefined;
|
1718
|
-
name: string;
|
1719
|
-
type: string;
|
1720
|
-
primaryKey: boolean;
|
1721
|
-
notNull: boolean;
|
1722
|
-
}>;
|
1723
|
-
indexes: Record<string, {
|
1724
|
-
where?: string | undefined;
|
1725
|
-
name: string;
|
1726
|
-
columns: string[];
|
1727
|
-
isUnique: boolean;
|
1728
|
-
}>;
|
1729
|
-
foreignKeys: Record<string, {
|
1730
|
-
onUpdate?: string | undefined;
|
1731
|
-
onDelete?: string | undefined;
|
1732
|
-
name: string;
|
1733
|
-
tableFrom: string;
|
1734
|
-
columnsFrom: string[];
|
1735
|
-
tableTo: string;
|
1736
|
-
columnsTo: string[];
|
1737
|
-
}>;
|
1738
|
-
compositePrimaryKeys: Record<string, {
|
1739
|
-
name?: string | undefined;
|
1740
|
-
columns: string[];
|
1741
|
-
}>;
|
1742
|
-
uniqueConstraints: Record<string, {
|
1743
|
-
name: string;
|
1744
|
-
columns: string[];
|
1745
|
-
}>;
|
1746
|
-
}>;
|
1747
|
-
id: string;
|
1748
|
-
prevId: string;
|
1749
|
-
version: "5";
|
1750
|
-
dialect: "sqlite";
|
1751
|
-
_meta: {
|
1752
|
-
columns: Record<string, string>;
|
1753
|
-
tables: Record<string, string>;
|
1754
|
-
};
|
1755
|
-
enums: {};
|
1756
|
-
};
|
1757
|
-
export declare const sqliteSchemaV3: import("zod").ZodObject<import("zod").extendShape<{
|
1758
|
-
version: import("zod").ZodLiteral<"3">;
|
1759
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
1760
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1761
|
-
name: import("zod").ZodString;
|
1762
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1763
|
-
name: import("zod").ZodString;
|
1764
|
-
type: import("zod").ZodString;
|
1765
|
-
primaryKey: import("zod").ZodBoolean;
|
1766
|
-
notNull: import("zod").ZodBoolean;
|
1767
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
1768
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
1769
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1770
|
-
default?: any;
|
1771
|
-
autoincrement?: boolean | undefined;
|
1772
|
-
name: string;
|
1773
|
-
type: string;
|
1774
|
-
primaryKey: boolean;
|
1775
|
-
notNull: boolean;
|
1776
|
-
}, {
|
1777
|
-
default?: any;
|
1778
|
-
autoincrement?: boolean | undefined;
|
1779
|
-
name: string;
|
1780
|
-
type: string;
|
1781
|
-
primaryKey: boolean;
|
1782
|
-
notNull: boolean;
|
1783
|
-
}>>;
|
1784
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1785
|
-
name: import("zod").ZodString;
|
1786
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1787
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
1788
|
-
isUnique: import("zod").ZodBoolean;
|
1789
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1790
|
-
where?: string | undefined;
|
1791
|
-
name: string;
|
1792
|
-
columns: string[];
|
1793
|
-
isUnique: boolean;
|
1794
|
-
}, {
|
1795
|
-
where?: string | undefined;
|
1796
|
-
name: string;
|
1797
|
-
columns: string[];
|
1798
|
-
isUnique: boolean;
|
1799
|
-
}>>;
|
1800
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1801
|
-
name: import("zod").ZodString;
|
1802
|
-
tableFrom: import("zod").ZodString;
|
1803
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1804
|
-
tableTo: import("zod").ZodString;
|
1805
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1806
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
1807
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
1808
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1809
|
-
onUpdate?: string | undefined;
|
1810
|
-
onDelete?: string | undefined;
|
1811
|
-
name: string;
|
1812
|
-
tableFrom: string;
|
1813
|
-
columnsFrom: string[];
|
1814
|
-
tableTo: string;
|
1815
|
-
columnsTo: string[];
|
1816
|
-
}, {
|
1817
|
-
onUpdate?: string | undefined;
|
1818
|
-
onDelete?: string | undefined;
|
1819
|
-
name: string;
|
1820
|
-
tableFrom: string;
|
1821
|
-
columnsFrom: string[];
|
1822
|
-
tableTo: string;
|
1823
|
-
columnsTo: string[];
|
1824
|
-
}>>;
|
1825
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1826
|
-
name: string;
|
1827
|
-
columns: Record<string, {
|
1828
|
-
default?: any;
|
1829
|
-
autoincrement?: boolean | undefined;
|
1830
|
-
name: string;
|
1831
|
-
type: string;
|
1832
|
-
primaryKey: boolean;
|
1833
|
-
notNull: boolean;
|
1834
|
-
}>;
|
1835
|
-
indexes: Record<string, {
|
1836
|
-
where?: string | undefined;
|
1837
|
-
name: string;
|
1838
|
-
columns: string[];
|
1839
|
-
isUnique: boolean;
|
1840
|
-
}>;
|
1841
|
-
foreignKeys: Record<string, {
|
1842
|
-
onUpdate?: string | undefined;
|
1843
|
-
onDelete?: string | undefined;
|
1844
|
-
name: string;
|
1845
|
-
tableFrom: string;
|
1846
|
-
columnsFrom: string[];
|
1847
|
-
tableTo: string;
|
1848
|
-
columnsTo: string[];
|
1849
|
-
}>;
|
1850
|
-
}, {
|
1851
|
-
name: string;
|
1852
|
-
columns: Record<string, {
|
1853
|
-
default?: any;
|
1854
|
-
autoincrement?: boolean | undefined;
|
1855
|
-
name: string;
|
1856
|
-
type: string;
|
1857
|
-
primaryKey: boolean;
|
1858
|
-
notNull: boolean;
|
1859
|
-
}>;
|
1860
|
-
indexes: Record<string, {
|
1861
|
-
where?: string | undefined;
|
1862
|
-
name: string;
|
1863
|
-
columns: string[];
|
1864
|
-
isUnique: boolean;
|
1865
|
-
}>;
|
1866
|
-
foreignKeys: Record<string, {
|
1867
|
-
onUpdate?: string | undefined;
|
1868
|
-
onDelete?: string | undefined;
|
1869
|
-
name: string;
|
1870
|
-
tableFrom: string;
|
1871
|
-
columnsFrom: string[];
|
1872
|
-
tableTo: string;
|
1873
|
-
columnsTo: string[];
|
1874
|
-
}>;
|
1875
|
-
}>>;
|
1876
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
1877
|
-
}, {
|
1878
|
-
id: import("zod").ZodString;
|
1879
|
-
prevId: import("zod").ZodString;
|
1880
|
-
}>, "strict", import("zod").ZodTypeAny, {
|
1881
|
-
tables: Record<string, {
|
1882
|
-
name: string;
|
1883
|
-
columns: Record<string, {
|
1884
|
-
default?: any;
|
1885
|
-
autoincrement?: boolean | undefined;
|
1886
|
-
name: string;
|
1887
|
-
type: string;
|
1888
|
-
primaryKey: boolean;
|
1889
|
-
notNull: boolean;
|
1890
|
-
}>;
|
1891
|
-
indexes: Record<string, {
|
1892
|
-
where?: string | undefined;
|
1893
|
-
name: string;
|
1894
|
-
columns: string[];
|
1895
|
-
isUnique: boolean;
|
1896
|
-
}>;
|
1897
|
-
foreignKeys: Record<string, {
|
1898
|
-
onUpdate?: string | undefined;
|
1899
|
-
onDelete?: string | undefined;
|
1900
|
-
name: string;
|
1901
|
-
tableFrom: string;
|
1902
|
-
columnsFrom: string[];
|
1903
|
-
tableTo: string;
|
1904
|
-
columnsTo: string[];
|
1905
|
-
}>;
|
1906
|
-
}>;
|
1907
|
-
id: string;
|
1908
|
-
prevId: string;
|
1909
|
-
version: "3";
|
1910
|
-
dialect: "sqlite";
|
1911
|
-
enums: {};
|
1912
|
-
}, {
|
1913
|
-
tables: Record<string, {
|
1914
|
-
name: string;
|
1915
|
-
columns: Record<string, {
|
1916
|
-
default?: any;
|
1917
|
-
autoincrement?: boolean | undefined;
|
1918
|
-
name: string;
|
1919
|
-
type: string;
|
1920
|
-
primaryKey: boolean;
|
1921
|
-
notNull: boolean;
|
1922
|
-
}>;
|
1923
|
-
indexes: Record<string, {
|
1924
|
-
where?: string | undefined;
|
1925
|
-
name: string;
|
1926
|
-
columns: string[];
|
1927
|
-
isUnique: boolean;
|
1928
|
-
}>;
|
1929
|
-
foreignKeys: Record<string, {
|
1930
|
-
onUpdate?: string | undefined;
|
1931
|
-
onDelete?: string | undefined;
|
1932
|
-
name: string;
|
1933
|
-
tableFrom: string;
|
1934
|
-
columnsFrom: string[];
|
1935
|
-
tableTo: string;
|
1936
|
-
columnsTo: string[];
|
1937
|
-
}>;
|
1938
|
-
}>;
|
1939
|
-
id: string;
|
1940
|
-
prevId: string;
|
1941
|
-
version: "3";
|
1942
|
-
dialect: "sqlite";
|
1943
|
-
enums: {};
|
1944
|
-
}>;
|
1945
|
-
export declare const sqliteSchemaV4: import("zod").ZodObject<import("zod").extendShape<{
|
1946
|
-
version: import("zod").ZodLiteral<"4">;
|
1947
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
1948
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1949
|
-
name: import("zod").ZodString;
|
1950
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1951
|
-
name: import("zod").ZodString;
|
1952
|
-
type: import("zod").ZodString;
|
1953
|
-
primaryKey: import("zod").ZodBoolean;
|
1954
|
-
notNull: import("zod").ZodBoolean;
|
1955
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
1956
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
1957
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1958
|
-
default?: any;
|
1959
|
-
autoincrement?: boolean | undefined;
|
1960
|
-
name: string;
|
1961
|
-
type: string;
|
1962
|
-
primaryKey: boolean;
|
1963
|
-
notNull: boolean;
|
1964
|
-
}, {
|
1965
|
-
default?: any;
|
1966
|
-
autoincrement?: boolean | undefined;
|
1967
|
-
name: string;
|
1968
|
-
type: string;
|
1969
|
-
primaryKey: boolean;
|
1970
|
-
notNull: boolean;
|
1971
|
-
}>>;
|
1972
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1973
|
-
name: import("zod").ZodString;
|
1974
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1975
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
1976
|
-
isUnique: import("zod").ZodBoolean;
|
1977
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1978
|
-
where?: string | undefined;
|
1979
|
-
name: string;
|
1980
|
-
columns: string[];
|
1981
|
-
isUnique: boolean;
|
1982
|
-
}, {
|
1983
|
-
where?: string | undefined;
|
1984
|
-
name: string;
|
1985
|
-
columns: string[];
|
1986
|
-
isUnique: boolean;
|
1987
|
-
}>>;
|
1988
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
1989
|
-
name: import("zod").ZodString;
|
1990
|
-
tableFrom: import("zod").ZodString;
|
1991
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1992
|
-
tableTo: import("zod").ZodString;
|
1993
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
1994
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
1995
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
1996
|
-
}, "strict", import("zod").ZodTypeAny, {
|
1997
|
-
onUpdate?: string | undefined;
|
1998
|
-
onDelete?: string | undefined;
|
1999
|
-
name: string;
|
2000
|
-
tableFrom: string;
|
2001
|
-
columnsFrom: string[];
|
2002
|
-
tableTo: string;
|
2003
|
-
columnsTo: string[];
|
2004
|
-
}, {
|
2005
|
-
onUpdate?: string | undefined;
|
2006
|
-
onDelete?: string | undefined;
|
2007
|
-
name: string;
|
2008
|
-
tableFrom: string;
|
2009
|
-
columnsFrom: string[];
|
2010
|
-
tableTo: string;
|
2011
|
-
columnsTo: string[];
|
2012
|
-
}>>;
|
2013
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2014
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2015
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
2016
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2017
|
-
name?: string | undefined;
|
2018
|
-
columns: string[];
|
2019
|
-
}, {
|
2020
|
-
name?: string | undefined;
|
2021
|
-
columns: string[];
|
2022
|
-
}>>;
|
2023
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2024
|
-
name: import("zod").ZodString;
|
2025
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2026
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2027
|
-
name: string;
|
2028
|
-
columns: string[];
|
2029
|
-
}, {
|
2030
|
-
name: string;
|
2031
|
-
columns: string[];
|
2032
|
-
}>>>;
|
2033
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2034
|
-
name: string;
|
2035
|
-
columns: Record<string, {
|
2036
|
-
default?: any;
|
2037
|
-
autoincrement?: boolean | undefined;
|
2038
|
-
name: string;
|
2039
|
-
type: string;
|
2040
|
-
primaryKey: boolean;
|
2041
|
-
notNull: boolean;
|
2042
|
-
}>;
|
2043
|
-
indexes: Record<string, {
|
2044
|
-
where?: string | undefined;
|
2045
|
-
name: string;
|
2046
|
-
columns: string[];
|
2047
|
-
isUnique: boolean;
|
2048
|
-
}>;
|
2049
|
-
foreignKeys: Record<string, {
|
2050
|
-
onUpdate?: string | undefined;
|
2051
|
-
onDelete?: string | undefined;
|
2052
|
-
name: string;
|
2053
|
-
tableFrom: string;
|
2054
|
-
columnsFrom: string[];
|
2055
|
-
tableTo: string;
|
2056
|
-
columnsTo: string[];
|
2057
|
-
}>;
|
2058
|
-
compositePrimaryKeys: Record<string, {
|
2059
|
-
name?: string | undefined;
|
2060
|
-
columns: string[];
|
2061
|
-
}>;
|
2062
|
-
uniqueConstraints: Record<string, {
|
2063
|
-
name: string;
|
2064
|
-
columns: string[];
|
2065
|
-
}>;
|
2066
|
-
}, {
|
2067
|
-
uniqueConstraints?: Record<string, {
|
2068
|
-
name: string;
|
2069
|
-
columns: string[];
|
2070
|
-
}> | undefined;
|
2071
|
-
name: string;
|
2072
|
-
columns: Record<string, {
|
2073
|
-
default?: any;
|
2074
|
-
autoincrement?: boolean | undefined;
|
2075
|
-
name: string;
|
2076
|
-
type: string;
|
2077
|
-
primaryKey: boolean;
|
2078
|
-
notNull: boolean;
|
2079
|
-
}>;
|
2080
|
-
indexes: Record<string, {
|
2081
|
-
where?: string | undefined;
|
2082
|
-
name: string;
|
2083
|
-
columns: string[];
|
2084
|
-
isUnique: boolean;
|
2085
|
-
}>;
|
2086
|
-
foreignKeys: Record<string, {
|
2087
|
-
onUpdate?: string | undefined;
|
2088
|
-
onDelete?: string | undefined;
|
2089
|
-
name: string;
|
2090
|
-
tableFrom: string;
|
2091
|
-
columnsFrom: string[];
|
2092
|
-
tableTo: string;
|
2093
|
-
columnsTo: string[];
|
2094
|
-
}>;
|
2095
|
-
compositePrimaryKeys: Record<string, {
|
2096
|
-
name?: string | undefined;
|
2097
|
-
columns: string[];
|
2098
|
-
}>;
|
2099
|
-
}>>;
|
2100
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
2101
|
-
}, {
|
2102
|
-
id: import("zod").ZodString;
|
2103
|
-
prevId: import("zod").ZodString;
|
2104
|
-
}>, "strict", import("zod").ZodTypeAny, {
|
2105
|
-
tables: Record<string, {
|
2106
|
-
name: string;
|
2107
|
-
columns: Record<string, {
|
2108
|
-
default?: any;
|
2109
|
-
autoincrement?: boolean | undefined;
|
2110
|
-
name: string;
|
2111
|
-
type: string;
|
2112
|
-
primaryKey: boolean;
|
2113
|
-
notNull: boolean;
|
2114
|
-
}>;
|
2115
|
-
indexes: Record<string, {
|
2116
|
-
where?: string | undefined;
|
2117
|
-
name: string;
|
2118
|
-
columns: string[];
|
2119
|
-
isUnique: boolean;
|
2120
|
-
}>;
|
2121
|
-
foreignKeys: Record<string, {
|
2122
|
-
onUpdate?: string | undefined;
|
2123
|
-
onDelete?: string | undefined;
|
2124
|
-
name: string;
|
2125
|
-
tableFrom: string;
|
2126
|
-
columnsFrom: string[];
|
2127
|
-
tableTo: string;
|
2128
|
-
columnsTo: string[];
|
2129
|
-
}>;
|
2130
|
-
compositePrimaryKeys: Record<string, {
|
2131
|
-
name?: string | undefined;
|
2132
|
-
columns: string[];
|
2133
|
-
}>;
|
2134
|
-
uniqueConstraints: Record<string, {
|
2135
|
-
name: string;
|
2136
|
-
columns: string[];
|
2137
|
-
}>;
|
2138
|
-
}>;
|
2139
|
-
id: string;
|
2140
|
-
prevId: string;
|
2141
|
-
version: "4";
|
2142
|
-
dialect: "sqlite";
|
2143
|
-
enums: {};
|
2144
|
-
}, {
|
2145
|
-
tables: Record<string, {
|
2146
|
-
uniqueConstraints?: Record<string, {
|
2147
|
-
name: string;
|
2148
|
-
columns: string[];
|
2149
|
-
}> | undefined;
|
2150
|
-
name: string;
|
2151
|
-
columns: Record<string, {
|
2152
|
-
default?: any;
|
2153
|
-
autoincrement?: boolean | undefined;
|
2154
|
-
name: string;
|
2155
|
-
type: string;
|
2156
|
-
primaryKey: boolean;
|
2157
|
-
notNull: boolean;
|
2158
|
-
}>;
|
2159
|
-
indexes: Record<string, {
|
2160
|
-
where?: string | undefined;
|
2161
|
-
name: string;
|
2162
|
-
columns: string[];
|
2163
|
-
isUnique: boolean;
|
2164
|
-
}>;
|
2165
|
-
foreignKeys: Record<string, {
|
2166
|
-
onUpdate?: string | undefined;
|
2167
|
-
onDelete?: string | undefined;
|
2168
|
-
name: string;
|
2169
|
-
tableFrom: string;
|
2170
|
-
columnsFrom: string[];
|
2171
|
-
tableTo: string;
|
2172
|
-
columnsTo: string[];
|
2173
|
-
}>;
|
2174
|
-
compositePrimaryKeys: Record<string, {
|
2175
|
-
name?: string | undefined;
|
2176
|
-
columns: string[];
|
2177
|
-
}>;
|
2178
|
-
}>;
|
2179
|
-
id: string;
|
2180
|
-
prevId: string;
|
2181
|
-
version: "4";
|
2182
|
-
dialect: "sqlite";
|
2183
|
-
enums: {};
|
2184
|
-
}>;
|
2185
|
-
export declare const sqliteSchema: import("zod").ZodObject<import("zod").extendShape<{
|
2186
|
-
version: import("zod").ZodLiteral<"5">;
|
2187
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
2188
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2189
|
-
name: import("zod").ZodString;
|
2190
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2191
|
-
name: import("zod").ZodString;
|
2192
|
-
type: import("zod").ZodString;
|
2193
|
-
primaryKey: import("zod").ZodBoolean;
|
2194
|
-
notNull: import("zod").ZodBoolean;
|
2195
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
2196
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
2197
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2198
|
-
default?: any;
|
2199
|
-
autoincrement?: boolean | undefined;
|
2200
|
-
name: string;
|
2201
|
-
type: string;
|
2202
|
-
primaryKey: boolean;
|
2203
|
-
notNull: boolean;
|
2204
|
-
}, {
|
2205
|
-
default?: any;
|
2206
|
-
autoincrement?: boolean | undefined;
|
2207
|
-
name: string;
|
2208
|
-
type: string;
|
2209
|
-
primaryKey: boolean;
|
2210
|
-
notNull: boolean;
|
2211
|
-
}>>;
|
2212
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2213
|
-
name: import("zod").ZodString;
|
2214
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2215
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
2216
|
-
isUnique: import("zod").ZodBoolean;
|
2217
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2218
|
-
where?: string | undefined;
|
2219
|
-
name: string;
|
2220
|
-
columns: string[];
|
2221
|
-
isUnique: boolean;
|
2222
|
-
}, {
|
2223
|
-
where?: string | undefined;
|
2224
|
-
name: string;
|
2225
|
-
columns: string[];
|
2226
|
-
isUnique: boolean;
|
2227
|
-
}>>;
|
2228
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2229
|
-
name: import("zod").ZodString;
|
2230
|
-
tableFrom: import("zod").ZodString;
|
2231
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2232
|
-
tableTo: import("zod").ZodString;
|
2233
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2234
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
2235
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
2236
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2237
|
-
onUpdate?: string | undefined;
|
2238
|
-
onDelete?: string | undefined;
|
2239
|
-
name: string;
|
2240
|
-
tableFrom: string;
|
2241
|
-
columnsFrom: string[];
|
2242
|
-
tableTo: string;
|
2243
|
-
columnsTo: string[];
|
2244
|
-
}, {
|
2245
|
-
onUpdate?: string | undefined;
|
2246
|
-
onDelete?: string | undefined;
|
2247
|
-
name: string;
|
2248
|
-
tableFrom: string;
|
2249
|
-
columnsFrom: string[];
|
2250
|
-
tableTo: string;
|
2251
|
-
columnsTo: string[];
|
2252
|
-
}>>;
|
2253
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2254
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2255
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
2256
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2257
|
-
name?: string | undefined;
|
2258
|
-
columns: string[];
|
2259
|
-
}, {
|
2260
|
-
name?: string | undefined;
|
2261
|
-
columns: string[];
|
2262
|
-
}>>;
|
2263
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2264
|
-
name: import("zod").ZodString;
|
2265
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2266
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2267
|
-
name: string;
|
2268
|
-
columns: string[];
|
2269
|
-
}, {
|
2270
|
-
name: string;
|
2271
|
-
columns: string[];
|
2272
|
-
}>>>;
|
2273
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2274
|
-
name: string;
|
2275
|
-
columns: Record<string, {
|
2276
|
-
default?: any;
|
2277
|
-
autoincrement?: boolean | undefined;
|
2278
|
-
name: string;
|
2279
|
-
type: string;
|
2280
|
-
primaryKey: boolean;
|
2281
|
-
notNull: boolean;
|
2282
|
-
}>;
|
2283
|
-
indexes: Record<string, {
|
2284
|
-
where?: string | undefined;
|
2285
|
-
name: string;
|
2286
|
-
columns: string[];
|
2287
|
-
isUnique: boolean;
|
2288
|
-
}>;
|
2289
|
-
foreignKeys: Record<string, {
|
2290
|
-
onUpdate?: string | undefined;
|
2291
|
-
onDelete?: string | undefined;
|
2292
|
-
name: string;
|
2293
|
-
tableFrom: string;
|
2294
|
-
columnsFrom: string[];
|
2295
|
-
tableTo: string;
|
2296
|
-
columnsTo: string[];
|
2297
|
-
}>;
|
2298
|
-
compositePrimaryKeys: Record<string, {
|
2299
|
-
name?: string | undefined;
|
2300
|
-
columns: string[];
|
2301
|
-
}>;
|
2302
|
-
uniqueConstraints: Record<string, {
|
2303
|
-
name: string;
|
2304
|
-
columns: string[];
|
2305
|
-
}>;
|
2306
|
-
}, {
|
2307
|
-
uniqueConstraints?: Record<string, {
|
2308
|
-
name: string;
|
2309
|
-
columns: string[];
|
2310
|
-
}> | undefined;
|
2311
|
-
name: string;
|
2312
|
-
columns: Record<string, {
|
2313
|
-
default?: any;
|
2314
|
-
autoincrement?: boolean | undefined;
|
2315
|
-
name: string;
|
2316
|
-
type: string;
|
2317
|
-
primaryKey: boolean;
|
2318
|
-
notNull: boolean;
|
2319
|
-
}>;
|
2320
|
-
indexes: Record<string, {
|
2321
|
-
where?: string | undefined;
|
2322
|
-
name: string;
|
2323
|
-
columns: string[];
|
2324
|
-
isUnique: boolean;
|
2325
|
-
}>;
|
2326
|
-
foreignKeys: Record<string, {
|
2327
|
-
onUpdate?: string | undefined;
|
2328
|
-
onDelete?: string | undefined;
|
2329
|
-
name: string;
|
2330
|
-
tableFrom: string;
|
2331
|
-
columnsFrom: string[];
|
2332
|
-
tableTo: string;
|
2333
|
-
columnsTo: string[];
|
2334
|
-
}>;
|
2335
|
-
compositePrimaryKeys: Record<string, {
|
2336
|
-
name?: string | undefined;
|
2337
|
-
columns: string[];
|
2338
|
-
}>;
|
2339
|
-
}>>;
|
2340
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
2341
|
-
_meta: import("zod").ZodObject<{
|
2342
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
2343
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
2344
|
-
}, "strip", import("zod").ZodTypeAny, {
|
2345
|
-
columns: Record<string, string>;
|
2346
|
-
tables: Record<string, string>;
|
2347
|
-
}, {
|
2348
|
-
columns: Record<string, string>;
|
2349
|
-
tables: Record<string, string>;
|
2350
|
-
}>;
|
2351
|
-
}, {
|
2352
|
-
id: import("zod").ZodString;
|
2353
|
-
prevId: import("zod").ZodString;
|
2354
|
-
}>, "strict", import("zod").ZodTypeAny, {
|
2355
|
-
tables: Record<string, {
|
2356
|
-
name: string;
|
2357
|
-
columns: Record<string, {
|
2358
|
-
default?: any;
|
2359
|
-
autoincrement?: boolean | undefined;
|
2360
|
-
name: string;
|
2361
|
-
type: string;
|
2362
|
-
primaryKey: boolean;
|
2363
|
-
notNull: boolean;
|
2364
|
-
}>;
|
2365
|
-
indexes: Record<string, {
|
2366
|
-
where?: string | undefined;
|
2367
|
-
name: string;
|
2368
|
-
columns: string[];
|
2369
|
-
isUnique: boolean;
|
2370
|
-
}>;
|
2371
|
-
foreignKeys: Record<string, {
|
2372
|
-
onUpdate?: string | undefined;
|
2373
|
-
onDelete?: string | undefined;
|
2374
|
-
name: string;
|
2375
|
-
tableFrom: string;
|
2376
|
-
columnsFrom: string[];
|
2377
|
-
tableTo: string;
|
2378
|
-
columnsTo: string[];
|
2379
|
-
}>;
|
2380
|
-
compositePrimaryKeys: Record<string, {
|
2381
|
-
name?: string | undefined;
|
2382
|
-
columns: string[];
|
2383
|
-
}>;
|
2384
|
-
uniqueConstraints: Record<string, {
|
2385
|
-
name: string;
|
2386
|
-
columns: string[];
|
2387
|
-
}>;
|
2388
|
-
}>;
|
2389
|
-
id: string;
|
2390
|
-
prevId: string;
|
2391
|
-
version: "5";
|
2392
|
-
dialect: "sqlite";
|
2393
|
-
_meta: {
|
2394
|
-
columns: Record<string, string>;
|
2395
|
-
tables: Record<string, string>;
|
2396
|
-
};
|
2397
|
-
enums: {};
|
2398
|
-
}, {
|
2399
|
-
tables: Record<string, {
|
2400
|
-
uniqueConstraints?: Record<string, {
|
2401
|
-
name: string;
|
2402
|
-
columns: string[];
|
2403
|
-
}> | undefined;
|
2404
|
-
name: string;
|
2405
|
-
columns: Record<string, {
|
2406
|
-
default?: any;
|
2407
|
-
autoincrement?: boolean | undefined;
|
2408
|
-
name: string;
|
2409
|
-
type: string;
|
2410
|
-
primaryKey: boolean;
|
2411
|
-
notNull: boolean;
|
2412
|
-
}>;
|
2413
|
-
indexes: Record<string, {
|
2414
|
-
where?: string | undefined;
|
2415
|
-
name: string;
|
2416
|
-
columns: string[];
|
2417
|
-
isUnique: boolean;
|
2418
|
-
}>;
|
2419
|
-
foreignKeys: Record<string, {
|
2420
|
-
onUpdate?: string | undefined;
|
2421
|
-
onDelete?: string | undefined;
|
2422
|
-
name: string;
|
2423
|
-
tableFrom: string;
|
2424
|
-
columnsFrom: string[];
|
2425
|
-
tableTo: string;
|
2426
|
-
columnsTo: string[];
|
2427
|
-
}>;
|
2428
|
-
compositePrimaryKeys: Record<string, {
|
2429
|
-
name?: string | undefined;
|
2430
|
-
columns: string[];
|
2431
|
-
}>;
|
2432
|
-
}>;
|
2433
|
-
id: string;
|
2434
|
-
prevId: string;
|
2435
|
-
version: "5";
|
2436
|
-
dialect: "sqlite";
|
2437
|
-
_meta: {
|
2438
|
-
columns: Record<string, string>;
|
2439
|
-
tables: Record<string, string>;
|
2440
|
-
};
|
2441
|
-
enums: {};
|
2442
|
-
}>;
|
2443
|
-
export declare const SQLiteSchemaSquashed: import("zod").ZodObject<{
|
2444
|
-
version: import("zod").ZodLiteral<"5">;
|
2445
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
2446
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2447
|
-
name: import("zod").ZodString;
|
2448
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2449
|
-
name: import("zod").ZodString;
|
2450
|
-
type: import("zod").ZodString;
|
2451
|
-
primaryKey: import("zod").ZodBoolean;
|
2452
|
-
notNull: import("zod").ZodBoolean;
|
2453
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
2454
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
2455
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2456
|
-
default?: any;
|
2457
|
-
autoincrement?: boolean | undefined;
|
2458
|
-
name: string;
|
2459
|
-
type: string;
|
2460
|
-
primaryKey: boolean;
|
2461
|
-
notNull: boolean;
|
2462
|
-
}, {
|
2463
|
-
default?: any;
|
2464
|
-
autoincrement?: boolean | undefined;
|
2465
|
-
name: string;
|
2466
|
-
type: string;
|
2467
|
-
primaryKey: boolean;
|
2468
|
-
notNull: boolean;
|
2469
|
-
}>>;
|
2470
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
2471
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
2472
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
2473
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
2474
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2475
|
-
name: string;
|
2476
|
-
columns: Record<string, {
|
2477
|
-
default?: any;
|
2478
|
-
autoincrement?: boolean | undefined;
|
2479
|
-
name: string;
|
2480
|
-
type: string;
|
2481
|
-
primaryKey: boolean;
|
2482
|
-
notNull: boolean;
|
2483
|
-
}>;
|
2484
|
-
indexes: Record<string, string>;
|
2485
|
-
foreignKeys: Record<string, string>;
|
2486
|
-
compositePrimaryKeys: Record<string, string>;
|
2487
|
-
uniqueConstraints: Record<string, string>;
|
2488
|
-
}, {
|
2489
|
-
uniqueConstraints?: Record<string, string> | undefined;
|
2490
|
-
name: string;
|
2491
|
-
columns: Record<string, {
|
2492
|
-
default?: any;
|
2493
|
-
autoincrement?: boolean | undefined;
|
2494
|
-
name: string;
|
2495
|
-
type: string;
|
2496
|
-
primaryKey: boolean;
|
2497
|
-
notNull: boolean;
|
2498
|
-
}>;
|
2499
|
-
indexes: Record<string, string>;
|
2500
|
-
foreignKeys: Record<string, string>;
|
2501
|
-
compositePrimaryKeys: Record<string, string>;
|
2502
|
-
}>>;
|
2503
|
-
enums: import("zod").ZodAny;
|
2504
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2505
|
-
enums?: any;
|
2506
|
-
tables: Record<string, {
|
2507
|
-
name: string;
|
2508
|
-
columns: Record<string, {
|
2509
|
-
default?: any;
|
2510
|
-
autoincrement?: boolean | undefined;
|
2511
|
-
name: string;
|
2512
|
-
type: string;
|
2513
|
-
primaryKey: boolean;
|
2514
|
-
notNull: boolean;
|
2515
|
-
}>;
|
2516
|
-
indexes: Record<string, string>;
|
2517
|
-
foreignKeys: Record<string, string>;
|
2518
|
-
compositePrimaryKeys: Record<string, string>;
|
2519
|
-
uniqueConstraints: Record<string, string>;
|
2520
|
-
}>;
|
2521
|
-
version: "5";
|
2522
|
-
dialect: "sqlite";
|
2523
|
-
}, {
|
2524
|
-
enums?: any;
|
2525
|
-
tables: Record<string, {
|
2526
|
-
uniqueConstraints?: Record<string, string> | undefined;
|
2527
|
-
name: string;
|
2528
|
-
columns: Record<string, {
|
2529
|
-
default?: any;
|
2530
|
-
autoincrement?: boolean | undefined;
|
2531
|
-
name: string;
|
2532
|
-
type: string;
|
2533
|
-
primaryKey: boolean;
|
2534
|
-
notNull: boolean;
|
2535
|
-
}>;
|
2536
|
-
indexes: Record<string, string>;
|
2537
|
-
foreignKeys: Record<string, string>;
|
2538
|
-
compositePrimaryKeys: Record<string, string>;
|
2539
|
-
}>;
|
2540
|
-
version: "5";
|
2541
|
-
dialect: "sqlite";
|
2542
|
-
}>;
|
2543
|
-
export declare const backwardCompatibleSqliteSchema: import("zod").ZodObject<import("zod").extendShape<{
|
2544
|
-
version: import("zod").ZodLiteral<"5">;
|
2545
|
-
dialect: import("zod").ZodEnum<["sqlite"]>;
|
2546
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2547
|
-
name: import("zod").ZodString;
|
2548
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2549
|
-
name: import("zod").ZodString;
|
2550
|
-
type: import("zod").ZodString;
|
2551
|
-
primaryKey: import("zod").ZodBoolean;
|
2552
|
-
notNull: import("zod").ZodBoolean;
|
2553
|
-
autoincrement: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
2554
|
-
default: import("zod").ZodOptional<import("zod").ZodAny>;
|
2555
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2556
|
-
default?: any;
|
2557
|
-
autoincrement?: boolean | undefined;
|
2558
|
-
name: string;
|
2559
|
-
type: string;
|
2560
|
-
primaryKey: boolean;
|
2561
|
-
notNull: boolean;
|
2562
|
-
}, {
|
2563
|
-
default?: any;
|
2564
|
-
autoincrement?: boolean | undefined;
|
2565
|
-
name: string;
|
2566
|
-
type: string;
|
2567
|
-
primaryKey: boolean;
|
2568
|
-
notNull: boolean;
|
2569
|
-
}>>;
|
2570
|
-
indexes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2571
|
-
name: import("zod").ZodString;
|
2572
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2573
|
-
where: import("zod").ZodOptional<import("zod").ZodString>;
|
2574
|
-
isUnique: import("zod").ZodBoolean;
|
2575
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2576
|
-
where?: string | undefined;
|
2577
|
-
name: string;
|
2578
|
-
columns: string[];
|
2579
|
-
isUnique: boolean;
|
2580
|
-
}, {
|
2581
|
-
where?: string | undefined;
|
2582
|
-
name: string;
|
2583
|
-
columns: string[];
|
2584
|
-
isUnique: boolean;
|
2585
|
-
}>>;
|
2586
|
-
foreignKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2587
|
-
name: import("zod").ZodString;
|
2588
|
-
tableFrom: import("zod").ZodString;
|
2589
|
-
columnsFrom: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2590
|
-
tableTo: import("zod").ZodString;
|
2591
|
-
columnsTo: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2592
|
-
onUpdate: import("zod").ZodOptional<import("zod").ZodString>;
|
2593
|
-
onDelete: import("zod").ZodOptional<import("zod").ZodString>;
|
2594
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2595
|
-
onUpdate?: string | undefined;
|
2596
|
-
onDelete?: string | undefined;
|
2597
|
-
name: string;
|
2598
|
-
tableFrom: string;
|
2599
|
-
columnsFrom: string[];
|
2600
|
-
tableTo: string;
|
2601
|
-
columnsTo: string[];
|
2602
|
-
}, {
|
2603
|
-
onUpdate?: string | undefined;
|
2604
|
-
onDelete?: string | undefined;
|
2605
|
-
name: string;
|
2606
|
-
tableFrom: string;
|
2607
|
-
columnsFrom: string[];
|
2608
|
-
tableTo: string;
|
2609
|
-
columnsTo: string[];
|
2610
|
-
}>>;
|
2611
|
-
compositePrimaryKeys: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2612
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2613
|
-
name: import("zod").ZodOptional<import("zod").ZodString>;
|
2614
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2615
|
-
name?: string | undefined;
|
2616
|
-
columns: string[];
|
2617
|
-
}, {
|
2618
|
-
name?: string | undefined;
|
2619
|
-
columns: string[];
|
2620
|
-
}>>;
|
2621
|
-
uniqueConstraints: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
2622
|
-
name: import("zod").ZodString;
|
2623
|
-
columns: import("zod").ZodArray<import("zod").ZodString, "many">;
|
2624
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2625
|
-
name: string;
|
2626
|
-
columns: string[];
|
2627
|
-
}, {
|
2628
|
-
name: string;
|
2629
|
-
columns: string[];
|
2630
|
-
}>>>;
|
2631
|
-
}, "strict", import("zod").ZodTypeAny, {
|
2632
|
-
name: string;
|
2633
|
-
columns: Record<string, {
|
2634
|
-
default?: any;
|
2635
|
-
autoincrement?: boolean | undefined;
|
2636
|
-
name: string;
|
2637
|
-
type: string;
|
2638
|
-
primaryKey: boolean;
|
2639
|
-
notNull: boolean;
|
2640
|
-
}>;
|
2641
|
-
indexes: Record<string, {
|
2642
|
-
where?: string | undefined;
|
2643
|
-
name: string;
|
2644
|
-
columns: string[];
|
2645
|
-
isUnique: boolean;
|
2646
|
-
}>;
|
2647
|
-
foreignKeys: Record<string, {
|
2648
|
-
onUpdate?: string | undefined;
|
2649
|
-
onDelete?: string | undefined;
|
2650
|
-
name: string;
|
2651
|
-
tableFrom: string;
|
2652
|
-
columnsFrom: string[];
|
2653
|
-
tableTo: string;
|
2654
|
-
columnsTo: string[];
|
2655
|
-
}>;
|
2656
|
-
compositePrimaryKeys: Record<string, {
|
2657
|
-
name?: string | undefined;
|
2658
|
-
columns: string[];
|
2659
|
-
}>;
|
2660
|
-
uniqueConstraints: Record<string, {
|
2661
|
-
name: string;
|
2662
|
-
columns: string[];
|
2663
|
-
}>;
|
2664
|
-
}, {
|
2665
|
-
uniqueConstraints?: Record<string, {
|
2666
|
-
name: string;
|
2667
|
-
columns: string[];
|
2668
|
-
}> | undefined;
|
2669
|
-
name: string;
|
2670
|
-
columns: Record<string, {
|
2671
|
-
default?: any;
|
2672
|
-
autoincrement?: boolean | undefined;
|
2673
|
-
name: string;
|
2674
|
-
type: string;
|
2675
|
-
primaryKey: boolean;
|
2676
|
-
notNull: boolean;
|
2677
|
-
}>;
|
2678
|
-
indexes: Record<string, {
|
2679
|
-
where?: string | undefined;
|
2680
|
-
name: string;
|
2681
|
-
columns: string[];
|
2682
|
-
isUnique: boolean;
|
2683
|
-
}>;
|
2684
|
-
foreignKeys: Record<string, {
|
2685
|
-
onUpdate?: string | undefined;
|
2686
|
-
onDelete?: string | undefined;
|
2687
|
-
name: string;
|
2688
|
-
tableFrom: string;
|
2689
|
-
columnsFrom: string[];
|
2690
|
-
tableTo: string;
|
2691
|
-
columnsTo: string[];
|
2692
|
-
}>;
|
2693
|
-
compositePrimaryKeys: Record<string, {
|
2694
|
-
name?: string | undefined;
|
2695
|
-
columns: string[];
|
2696
|
-
}>;
|
2697
|
-
}>>;
|
2698
|
-
enums: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
2699
|
-
_meta: import("zod").ZodObject<{
|
2700
|
-
tables: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
2701
|
-
columns: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
2702
|
-
}, "strip", import("zod").ZodTypeAny, {
|
2703
|
-
columns: Record<string, string>;
|
2704
|
-
tables: Record<string, string>;
|
2705
|
-
}, {
|
2706
|
-
columns: Record<string, string>;
|
2707
|
-
tables: Record<string, string>;
|
2708
|
-
}>;
|
2709
|
-
}, {
|
2710
|
-
id: import("zod").ZodString;
|
2711
|
-
prevId: import("zod").ZodString;
|
2712
|
-
}>, "strict", import("zod").ZodTypeAny, {
|
2713
|
-
tables: Record<string, {
|
2714
|
-
name: string;
|
2715
|
-
columns: Record<string, {
|
2716
|
-
default?: any;
|
2717
|
-
autoincrement?: boolean | undefined;
|
2718
|
-
name: string;
|
2719
|
-
type: string;
|
2720
|
-
primaryKey: boolean;
|
2721
|
-
notNull: boolean;
|
2722
|
-
}>;
|
2723
|
-
indexes: Record<string, {
|
2724
|
-
where?: string | undefined;
|
2725
|
-
name: string;
|
2726
|
-
columns: string[];
|
2727
|
-
isUnique: boolean;
|
2728
|
-
}>;
|
2729
|
-
foreignKeys: Record<string, {
|
2730
|
-
onUpdate?: string | undefined;
|
2731
|
-
onDelete?: string | undefined;
|
2732
|
-
name: string;
|
2733
|
-
tableFrom: string;
|
2734
|
-
columnsFrom: string[];
|
2735
|
-
tableTo: string;
|
2736
|
-
columnsTo: string[];
|
2737
|
-
}>;
|
2738
|
-
compositePrimaryKeys: Record<string, {
|
2739
|
-
name?: string | undefined;
|
2740
|
-
columns: string[];
|
2741
|
-
}>;
|
2742
|
-
uniqueConstraints: Record<string, {
|
2743
|
-
name: string;
|
2744
|
-
columns: string[];
|
2745
|
-
}>;
|
2746
|
-
}>;
|
2747
|
-
id: string;
|
2748
|
-
prevId: string;
|
2749
|
-
version: "5";
|
2750
|
-
dialect: "sqlite";
|
2751
|
-
_meta: {
|
2752
|
-
columns: Record<string, string>;
|
2753
|
-
tables: Record<string, string>;
|
2754
|
-
};
|
2755
|
-
enums: {};
|
2756
|
-
}, {
|
2757
|
-
tables: Record<string, {
|
2758
|
-
uniqueConstraints?: Record<string, {
|
2759
|
-
name: string;
|
2760
|
-
columns: string[];
|
2761
|
-
}> | undefined;
|
2762
|
-
name: string;
|
2763
|
-
columns: Record<string, {
|
2764
|
-
default?: any;
|
2765
|
-
autoincrement?: boolean | undefined;
|
2766
|
-
name: string;
|
2767
|
-
type: string;
|
2768
|
-
primaryKey: boolean;
|
2769
|
-
notNull: boolean;
|
2770
|
-
}>;
|
2771
|
-
indexes: Record<string, {
|
2772
|
-
where?: string | undefined;
|
2773
|
-
name: string;
|
2774
|
-
columns: string[];
|
2775
|
-
isUnique: boolean;
|
2776
|
-
}>;
|
2777
|
-
foreignKeys: Record<string, {
|
2778
|
-
onUpdate?: string | undefined;
|
2779
|
-
onDelete?: string | undefined;
|
2780
|
-
name: string;
|
2781
|
-
tableFrom: string;
|
2782
|
-
columnsFrom: string[];
|
2783
|
-
tableTo: string;
|
2784
|
-
columnsTo: string[];
|
2785
|
-
}>;
|
2786
|
-
compositePrimaryKeys: Record<string, {
|
2787
|
-
name?: string | undefined;
|
2788
|
-
columns: string[];
|
2789
|
-
}>;
|
2790
|
-
}>;
|
2791
|
-
id: string;
|
2792
|
-
prevId: string;
|
2793
|
-
version: "5";
|
2794
|
-
dialect: "sqlite";
|
2795
|
-
_meta: {
|
2796
|
-
columns: Record<string, string>;
|
2797
|
-
tables: Record<string, string>;
|
2798
|
-
};
|
2799
|
-
enums: {};
|
2800
|
-
}>;
|
2801
|
-
export {};
|