cogsbox-shape 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1104 @@
1
+ declare const schemas: {
2
+ user: {
3
+ _tableName: string;
4
+ id: {
5
+ sql: {
6
+ type: "int";
7
+ pk: true;
8
+ };
9
+ dbType: import("zod").ZodNumber;
10
+ zodDbSchema: import("zod").ZodNumber;
11
+ zodClientSchema: import("zod").ZodString;
12
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
13
+ $schema?: string | undefined;
14
+ definitions?: {
15
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
16
+ } | undefined;
17
+ };
18
+ defaultValue: number;
19
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
20
+ zod: import("zod").ZodTypeAny;
21
+ serverType?: never;
22
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
23
+ default: "CURRENT_TIMESTAMP";
24
+ defaultValue: Date;
25
+ } : never) | undefined) => {
26
+ sql: {
27
+ type: "int";
28
+ pk: true;
29
+ };
30
+ zodDbSchema: import("zod").ZodTypeAny;
31
+ zodClientSchema: import("zod").ZodTypeAny;
32
+ jsonSchema: any;
33
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
34
+ default: "CURRENT_TIMESTAMP";
35
+ defaultValue: Date;
36
+ } : never);
37
+ transform: (transforms: {
38
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
39
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
40
+ }) => {
41
+ sql: {
42
+ type: "int";
43
+ pk: true;
44
+ };
45
+ zodDbSchema: import("zod").ZodTypeAny;
46
+ zodClientSchema: import("zod").ZodTypeAny;
47
+ jsonSchema: any;
48
+ defaultValue: DefaultValue;
49
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
50
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
51
+ transforms: {
52
+ toClient: string;
53
+ toDb: string;
54
+ };
55
+ };
56
+ };
57
+ db: <ServerType extends import("zod").ZodTypeAny>(assert: (tools: {
58
+ zod: import("zod").ZodNumber;
59
+ }) => ServerType) => {
60
+ sql: {
61
+ type: "int";
62
+ pk: true;
63
+ };
64
+ dbType: ServerType;
65
+ zodDbSchema: ServerType;
66
+ zodClientSchema: ServerType;
67
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
68
+ $schema?: string | undefined;
69
+ definitions?: {
70
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
71
+ } | undefined;
72
+ };
73
+ defaultValue: import("zod").TypeOf<ServerType>;
74
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
75
+ zod: import("zod").ZodTypeAny;
76
+ serverType?: ServerType;
77
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
78
+ default: "CURRENT_TIMESTAMP";
79
+ defaultValue: Date;
80
+ } : never) | undefined) => {
81
+ sql: {
82
+ type: "int";
83
+ pk: true;
84
+ };
85
+ zodDbSchema: import("zod").ZodTypeAny;
86
+ zodClientSchema: import("zod").ZodTypeAny;
87
+ jsonSchema: any;
88
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
89
+ default: "CURRENT_TIMESTAMP";
90
+ defaultValue: Date;
91
+ } : never);
92
+ transform: (transforms: {
93
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
94
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
95
+ }) => {
96
+ sql: {
97
+ type: "int";
98
+ pk: true;
99
+ };
100
+ zodDbSchema: import("zod").ZodTypeAny;
101
+ zodClientSchema: import("zod").ZodTypeAny;
102
+ jsonSchema: any;
103
+ defaultValue: DefaultValue;
104
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
105
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
106
+ transforms: {
107
+ toClient: string;
108
+ toDb: string;
109
+ };
110
+ };
111
+ };
112
+ };
113
+ };
114
+ firstname: {
115
+ sql: {
116
+ type: "varchar";
117
+ length: number;
118
+ };
119
+ dbType: import("zod").ZodString;
120
+ zodDbSchema: import("zod").ZodString;
121
+ zodClientSchema: import("zod").ZodString;
122
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
123
+ $schema?: string | undefined;
124
+ definitions?: {
125
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
126
+ } | undefined;
127
+ };
128
+ defaultValue: string;
129
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
130
+ zod: import("zod").ZodTypeAny;
131
+ serverType?: import("zod").ZodString;
132
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
133
+ default: "CURRENT_TIMESTAMP";
134
+ defaultValue: Date;
135
+ } : never) | undefined) => {
136
+ sql: {
137
+ type: "varchar";
138
+ length: number;
139
+ };
140
+ zodDbSchema: import("zod").ZodTypeAny;
141
+ zodClientSchema: import("zod").ZodTypeAny;
142
+ jsonSchema: any;
143
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
144
+ default: "CURRENT_TIMESTAMP";
145
+ defaultValue: Date;
146
+ } : never);
147
+ transform: (transforms: {
148
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
149
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
150
+ }) => {
151
+ sql: {
152
+ type: "varchar";
153
+ length: number;
154
+ };
155
+ zodDbSchema: import("zod").ZodTypeAny;
156
+ zodClientSchema: import("zod").ZodTypeAny;
157
+ jsonSchema: any;
158
+ defaultValue: DefaultValue;
159
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
160
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
161
+ transforms: {
162
+ toClient: string;
163
+ toDb: string;
164
+ };
165
+ };
166
+ };
167
+ };
168
+ surname: {
169
+ sql: {
170
+ type: "varchar";
171
+ length: number;
172
+ };
173
+ dbType: import("zod").ZodString;
174
+ zodDbSchema: import("zod").ZodString;
175
+ zodClientSchema: import("zod").ZodString;
176
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
177
+ $schema?: string | undefined;
178
+ definitions?: {
179
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
180
+ } | undefined;
181
+ };
182
+ defaultValue: string;
183
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
184
+ zod: import("zod").ZodTypeAny;
185
+ serverType?: import("zod").ZodString;
186
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
187
+ default: "CURRENT_TIMESTAMP";
188
+ defaultValue: Date;
189
+ } : never) | undefined) => {
190
+ sql: {
191
+ type: "varchar";
192
+ length: number;
193
+ };
194
+ zodDbSchema: import("zod").ZodTypeAny;
195
+ zodClientSchema: import("zod").ZodTypeAny;
196
+ jsonSchema: any;
197
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
198
+ default: "CURRENT_TIMESTAMP";
199
+ defaultValue: Date;
200
+ } : never);
201
+ transform: (transforms: {
202
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
203
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
204
+ }) => {
205
+ sql: {
206
+ type: "varchar";
207
+ length: number;
208
+ };
209
+ zodDbSchema: import("zod").ZodTypeAny;
210
+ zodClientSchema: import("zod").ZodTypeAny;
211
+ jsonSchema: any;
212
+ defaultValue: DefaultValue;
213
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
214
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
215
+ transforms: {
216
+ toClient: string;
217
+ toDb: string;
218
+ };
219
+ };
220
+ };
221
+ };
222
+ email: {
223
+ sql: {
224
+ type: "varchar";
225
+ length: number;
226
+ };
227
+ dbType: import("zod").ZodString;
228
+ zodDbSchema: import("zod").ZodString;
229
+ zodClientSchema: import("zod").ZodString;
230
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
231
+ $schema?: string | undefined;
232
+ definitions?: {
233
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
234
+ } | undefined;
235
+ };
236
+ defaultValue: string;
237
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
238
+ zod: import("zod").ZodTypeAny;
239
+ serverType?: import("zod").ZodString;
240
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
241
+ default: "CURRENT_TIMESTAMP";
242
+ defaultValue: Date;
243
+ } : never) | undefined) => {
244
+ sql: {
245
+ type: "varchar";
246
+ length: number;
247
+ };
248
+ zodDbSchema: import("zod").ZodTypeAny;
249
+ zodClientSchema: import("zod").ZodTypeAny;
250
+ jsonSchema: any;
251
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
252
+ default: "CURRENT_TIMESTAMP";
253
+ defaultValue: Date;
254
+ } : never);
255
+ transform: (transforms: {
256
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
257
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
258
+ }) => {
259
+ sql: {
260
+ type: "varchar";
261
+ length: number;
262
+ };
263
+ zodDbSchema: import("zod").ZodTypeAny;
264
+ zodClientSchema: import("zod").ZodTypeAny;
265
+ jsonSchema: any;
266
+ defaultValue: DefaultValue;
267
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
268
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
269
+ transforms: {
270
+ toClient: string;
271
+ toDb: string;
272
+ };
273
+ };
274
+ };
275
+ };
276
+ pets: () => {
277
+ type: "hasMany";
278
+ fromKey: string;
279
+ toKey: string | {
280
+ sql: {
281
+ type: "int";
282
+ pk: true;
283
+ };
284
+ zodDbSchema: import("zod").ZodTypeAny;
285
+ zodClientSchema: import("zod").ZodTypeAny;
286
+ jsonSchema: any;
287
+ defaultValue: any;
288
+ transform: (transforms: {
289
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => any;
290
+ toDb: (clientValue: any) => import("zod").TypeOf<import("zod").ZodTypeAny>;
291
+ }) => {
292
+ sql: {
293
+ type: "int";
294
+ pk: true;
295
+ };
296
+ zodDbSchema: import("zod").ZodTypeAny;
297
+ zodClientSchema: import("zod").ZodTypeAny;
298
+ jsonSchema: any;
299
+ defaultValue: any;
300
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => any;
301
+ toDb: (clientValue: any) => import("zod").TypeOf<import("zod").ZodTypeAny>;
302
+ transforms: {
303
+ toClient: string;
304
+ toDb: string;
305
+ };
306
+ };
307
+ } | {
308
+ sql: {
309
+ type: "varchar";
310
+ length: number;
311
+ };
312
+ dbType: import("zod").ZodString;
313
+ zodDbSchema: import("zod").ZodString;
314
+ zodClientSchema: import("zod").ZodString;
315
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
316
+ $schema?: string | undefined;
317
+ definitions?: {
318
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
319
+ } | undefined;
320
+ };
321
+ defaultValue: string;
322
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
323
+ zod: import("zod").ZodTypeAny;
324
+ serverType?: never;
325
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
326
+ default: "CURRENT_TIMESTAMP";
327
+ defaultValue: Date;
328
+ } : never) | undefined) => {
329
+ sql: {
330
+ type: "varchar";
331
+ length: number;
332
+ };
333
+ zodDbSchema: import("zod").ZodTypeAny;
334
+ zodClientSchema: import("zod").ZodTypeAny;
335
+ jsonSchema: any;
336
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
337
+ default: "CURRENT_TIMESTAMP";
338
+ defaultValue: Date;
339
+ } : never);
340
+ transform: (transforms: {
341
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
342
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
343
+ }) => {
344
+ sql: {
345
+ type: "varchar";
346
+ length: number;
347
+ };
348
+ zodDbSchema: import("zod").ZodTypeAny;
349
+ zodClientSchema: import("zod").ZodTypeAny;
350
+ jsonSchema: any;
351
+ defaultValue: DefaultValue;
352
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
353
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
354
+ transforms: {
355
+ toClient: string;
356
+ toDb: string;
357
+ };
358
+ };
359
+ };
360
+ db: <ServerType extends import("zod").ZodTypeAny>(assert: (tools: {
361
+ zod: import("zod").ZodString;
362
+ }) => ServerType) => {
363
+ sql: {
364
+ type: "varchar";
365
+ length: number;
366
+ };
367
+ dbType: ServerType;
368
+ zodDbSchema: ServerType;
369
+ zodClientSchema: ServerType;
370
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
371
+ $schema?: string | undefined;
372
+ definitions?: {
373
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
374
+ } | undefined;
375
+ };
376
+ defaultValue: import("zod").TypeOf<ServerType>;
377
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
378
+ zod: import("zod").ZodTypeAny;
379
+ serverType?: ServerType;
380
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
381
+ default: "CURRENT_TIMESTAMP";
382
+ defaultValue: Date;
383
+ } : never) | undefined) => {
384
+ sql: {
385
+ type: "varchar";
386
+ length: number;
387
+ };
388
+ zodDbSchema: import("zod").ZodTypeAny;
389
+ zodClientSchema: import("zod").ZodTypeAny;
390
+ jsonSchema: any;
391
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
392
+ default: "CURRENT_TIMESTAMP";
393
+ defaultValue: Date;
394
+ } : never);
395
+ transform: (transforms: {
396
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
397
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
398
+ }) => {
399
+ sql: {
400
+ type: "varchar";
401
+ length: number;
402
+ };
403
+ zodDbSchema: import("zod").ZodTypeAny;
404
+ zodClientSchema: import("zod").ZodTypeAny;
405
+ jsonSchema: any;
406
+ defaultValue: DefaultValue;
407
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
408
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
409
+ transforms: {
410
+ toClient: string;
411
+ toDb: string;
412
+ };
413
+ };
414
+ };
415
+ };
416
+ } | {
417
+ sql: {
418
+ type: "int";
419
+ };
420
+ dbType: import("zod").ZodNumber;
421
+ zodDbSchema: import("zod").ZodNumber;
422
+ zodClientSchema: import("zod").ZodNumber;
423
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
424
+ $schema?: string | undefined;
425
+ definitions?: {
426
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
427
+ } | undefined;
428
+ };
429
+ defaultValue: number;
430
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
431
+ zod: import("zod").ZodTypeAny;
432
+ serverType?: never;
433
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
434
+ default: "CURRENT_TIMESTAMP";
435
+ defaultValue: Date;
436
+ } : never) | undefined) => {
437
+ sql: {
438
+ type: "int";
439
+ };
440
+ zodDbSchema: import("zod").ZodTypeAny;
441
+ zodClientSchema: import("zod").ZodTypeAny;
442
+ jsonSchema: any;
443
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
444
+ default: "CURRENT_TIMESTAMP";
445
+ defaultValue: Date;
446
+ } : never);
447
+ transform: (transforms: {
448
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
449
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
450
+ }) => {
451
+ sql: {
452
+ type: "int";
453
+ };
454
+ zodDbSchema: import("zod").ZodTypeAny;
455
+ zodClientSchema: import("zod").ZodTypeAny;
456
+ jsonSchema: any;
457
+ defaultValue: DefaultValue;
458
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
459
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
460
+ transforms: {
461
+ toClient: string;
462
+ toDb: string;
463
+ };
464
+ };
465
+ };
466
+ db: <ServerType extends import("zod").ZodTypeAny>(assert: (tools: {
467
+ zod: import("zod").ZodNumber;
468
+ }) => ServerType) => {
469
+ sql: {
470
+ type: "int";
471
+ };
472
+ dbType: ServerType;
473
+ zodDbSchema: ServerType;
474
+ zodClientSchema: ServerType;
475
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
476
+ $schema?: string | undefined;
477
+ definitions?: {
478
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
479
+ } | undefined;
480
+ };
481
+ defaultValue: import("zod").TypeOf<ServerType>;
482
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
483
+ zod: import("zod").ZodTypeAny;
484
+ serverType?: ServerType;
485
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
486
+ default: "CURRENT_TIMESTAMP";
487
+ defaultValue: Date;
488
+ } : never) | undefined) => {
489
+ sql: {
490
+ type: "int";
491
+ };
492
+ zodDbSchema: import("zod").ZodTypeAny;
493
+ zodClientSchema: import("zod").ZodTypeAny;
494
+ jsonSchema: any;
495
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
496
+ default: "CURRENT_TIMESTAMP";
497
+ defaultValue: Date;
498
+ } : never);
499
+ transform: (transforms: {
500
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
501
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
502
+ }) => {
503
+ sql: {
504
+ type: "int";
505
+ };
506
+ zodDbSchema: import("zod").ZodTypeAny;
507
+ zodClientSchema: import("zod").ZodTypeAny;
508
+ jsonSchema: any;
509
+ defaultValue: DefaultValue;
510
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
511
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
512
+ transforms: {
513
+ toClient: string;
514
+ toDb: string;
515
+ };
516
+ };
517
+ };
518
+ };
519
+ } | {
520
+ sql: {
521
+ type: "text";
522
+ };
523
+ zodDbSchema: import("zod").ZodTypeAny;
524
+ zodClientSchema: import("zod").ZodTypeAny;
525
+ jsonSchema: any;
526
+ defaultValue: ("bald" | "fuzzy" | "fluffy" | "poof")[];
527
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => ("bald" | "fuzzy" | "fluffy" | "poof")[];
528
+ toDb: (clientValue: ("bald" | "fuzzy" | "fluffy" | "poof")[]) => import("zod").TypeOf<import("zod").ZodTypeAny>;
529
+ transforms: {
530
+ toClient: string;
531
+ toDb: string;
532
+ };
533
+ } | {
534
+ sql: {
535
+ type: "int";
536
+ };
537
+ zodDbSchema: import("zod").ZodTypeAny;
538
+ zodClientSchema: import("zod").ZodTypeAny;
539
+ jsonSchema: any;
540
+ defaultValue: boolean;
541
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => boolean;
542
+ toDb: (clientValue: boolean) => import("zod").TypeOf<import("zod").ZodTypeAny>;
543
+ transforms: {
544
+ toClient: string;
545
+ toDb: string;
546
+ };
547
+ };
548
+ schema: {
549
+ _tableName: string;
550
+ id: {
551
+ sql: {
552
+ type: "int";
553
+ pk: true;
554
+ };
555
+ zodDbSchema: import("zod").ZodTypeAny;
556
+ zodClientSchema: import("zod").ZodTypeAny;
557
+ jsonSchema: any;
558
+ defaultValue: any;
559
+ transform: (transforms: {
560
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => any;
561
+ toDb: (clientValue: any) => import("zod").TypeOf<import("zod").ZodTypeAny>;
562
+ }) => {
563
+ sql: {
564
+ type: "int";
565
+ pk: true;
566
+ };
567
+ zodDbSchema: import("zod").ZodTypeAny;
568
+ zodClientSchema: import("zod").ZodTypeAny;
569
+ jsonSchema: any;
570
+ defaultValue: any;
571
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => any;
572
+ toDb: (clientValue: any) => import("zod").TypeOf<import("zod").ZodTypeAny>;
573
+ transforms: {
574
+ toClient: string;
575
+ toDb: string;
576
+ };
577
+ };
578
+ };
579
+ name: {
580
+ sql: {
581
+ type: "varchar";
582
+ length: number;
583
+ };
584
+ dbType: import("zod").ZodString;
585
+ zodDbSchema: import("zod").ZodString;
586
+ zodClientSchema: import("zod").ZodString;
587
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
588
+ $schema?: string | undefined;
589
+ definitions?: {
590
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
591
+ } | undefined;
592
+ };
593
+ defaultValue: string;
594
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
595
+ zod: import("zod").ZodTypeAny;
596
+ serverType?: never;
597
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
598
+ default: "CURRENT_TIMESTAMP";
599
+ defaultValue: Date;
600
+ } : never) | undefined) => {
601
+ sql: {
602
+ type: "varchar";
603
+ length: number;
604
+ };
605
+ zodDbSchema: import("zod").ZodTypeAny;
606
+ zodClientSchema: import("zod").ZodTypeAny;
607
+ jsonSchema: any;
608
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
609
+ default: "CURRENT_TIMESTAMP";
610
+ defaultValue: Date;
611
+ } : never);
612
+ transform: (transforms: {
613
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
614
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
615
+ }) => {
616
+ sql: {
617
+ type: "varchar";
618
+ length: number;
619
+ };
620
+ zodDbSchema: import("zod").ZodTypeAny;
621
+ zodClientSchema: import("zod").ZodTypeAny;
622
+ jsonSchema: any;
623
+ defaultValue: DefaultValue;
624
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
625
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
626
+ transforms: {
627
+ toClient: string;
628
+ toDb: string;
629
+ };
630
+ };
631
+ };
632
+ db: <ServerType extends import("zod").ZodTypeAny>(assert: (tools: {
633
+ zod: import("zod").ZodString;
634
+ }) => ServerType) => {
635
+ sql: {
636
+ type: "varchar";
637
+ length: number;
638
+ };
639
+ dbType: ServerType;
640
+ zodDbSchema: ServerType;
641
+ zodClientSchema: ServerType;
642
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
643
+ $schema?: string | undefined;
644
+ definitions?: {
645
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
646
+ } | undefined;
647
+ };
648
+ defaultValue: import("zod").TypeOf<ServerType>;
649
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
650
+ zod: import("zod").ZodTypeAny;
651
+ serverType?: ServerType;
652
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
653
+ default: "CURRENT_TIMESTAMP";
654
+ defaultValue: Date;
655
+ } : never) | undefined) => {
656
+ sql: {
657
+ type: "varchar";
658
+ length: number;
659
+ };
660
+ zodDbSchema: import("zod").ZodTypeAny;
661
+ zodClientSchema: import("zod").ZodTypeAny;
662
+ jsonSchema: any;
663
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
664
+ default: "CURRENT_TIMESTAMP";
665
+ defaultValue: Date;
666
+ } : never);
667
+ transform: (transforms: {
668
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
669
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
670
+ }) => {
671
+ sql: {
672
+ type: "varchar";
673
+ length: number;
674
+ };
675
+ zodDbSchema: import("zod").ZodTypeAny;
676
+ zodClientSchema: import("zod").ZodTypeAny;
677
+ jsonSchema: any;
678
+ defaultValue: DefaultValue;
679
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
680
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
681
+ transforms: {
682
+ toClient: string;
683
+ toDb: string;
684
+ };
685
+ };
686
+ };
687
+ };
688
+ };
689
+ userId: {
690
+ sql: {
691
+ type: "int";
692
+ };
693
+ dbType: import("zod").ZodNumber;
694
+ zodDbSchema: import("zod").ZodNumber;
695
+ zodClientSchema: import("zod").ZodNumber;
696
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
697
+ $schema?: string | undefined;
698
+ definitions?: {
699
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
700
+ } | undefined;
701
+ };
702
+ defaultValue: number;
703
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
704
+ zod: import("zod").ZodTypeAny;
705
+ serverType?: never;
706
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
707
+ default: "CURRENT_TIMESTAMP";
708
+ defaultValue: Date;
709
+ } : never) | undefined) => {
710
+ sql: {
711
+ type: "int";
712
+ };
713
+ zodDbSchema: import("zod").ZodTypeAny;
714
+ zodClientSchema: import("zod").ZodTypeAny;
715
+ jsonSchema: any;
716
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
717
+ default: "CURRENT_TIMESTAMP";
718
+ defaultValue: Date;
719
+ } : never);
720
+ transform: (transforms: {
721
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
722
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
723
+ }) => {
724
+ sql: {
725
+ type: "int";
726
+ };
727
+ zodDbSchema: import("zod").ZodTypeAny;
728
+ zodClientSchema: import("zod").ZodTypeAny;
729
+ jsonSchema: any;
730
+ defaultValue: DefaultValue;
731
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
732
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
733
+ transforms: {
734
+ toClient: string;
735
+ toDb: string;
736
+ };
737
+ };
738
+ };
739
+ db: <ServerType extends import("zod").ZodTypeAny>(assert: (tools: {
740
+ zod: import("zod").ZodNumber;
741
+ }) => ServerType) => {
742
+ sql: {
743
+ type: "int";
744
+ };
745
+ dbType: ServerType;
746
+ zodDbSchema: ServerType;
747
+ zodClientSchema: ServerType;
748
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
749
+ $schema?: string | undefined;
750
+ definitions?: {
751
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
752
+ } | undefined;
753
+ };
754
+ defaultValue: import("zod").TypeOf<ServerType>;
755
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
756
+ zod: import("zod").ZodTypeAny;
757
+ serverType?: ServerType;
758
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
759
+ default: "CURRENT_TIMESTAMP";
760
+ defaultValue: Date;
761
+ } : never) | undefined) => {
762
+ sql: {
763
+ type: "int";
764
+ };
765
+ zodDbSchema: import("zod").ZodTypeAny;
766
+ zodClientSchema: import("zod").ZodTypeAny;
767
+ jsonSchema: any;
768
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
769
+ default: "CURRENT_TIMESTAMP";
770
+ defaultValue: Date;
771
+ } : never);
772
+ transform: (transforms: {
773
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
774
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
775
+ }) => {
776
+ sql: {
777
+ type: "int";
778
+ };
779
+ zodDbSchema: import("zod").ZodTypeAny;
780
+ zodClientSchema: import("zod").ZodTypeAny;
781
+ jsonSchema: any;
782
+ defaultValue: DefaultValue;
783
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
784
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
785
+ transforms: {
786
+ toClient: string;
787
+ toDb: string;
788
+ };
789
+ };
790
+ };
791
+ };
792
+ };
793
+ fluffynessScale: {
794
+ sql: {
795
+ type: "text";
796
+ };
797
+ zodDbSchema: import("zod").ZodTypeAny;
798
+ zodClientSchema: import("zod").ZodTypeAny;
799
+ jsonSchema: any;
800
+ defaultValue: ("bald" | "fuzzy" | "fluffy" | "poof")[];
801
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => ("bald" | "fuzzy" | "fluffy" | "poof")[];
802
+ toDb: (clientValue: ("bald" | "fuzzy" | "fluffy" | "poof")[]) => import("zod").TypeOf<import("zod").ZodTypeAny>;
803
+ transforms: {
804
+ toClient: string;
805
+ toDb: string;
806
+ };
807
+ };
808
+ favourite: {
809
+ sql: {
810
+ type: "int";
811
+ };
812
+ zodDbSchema: import("zod").ZodTypeAny;
813
+ zodClientSchema: import("zod").ZodTypeAny;
814
+ jsonSchema: any;
815
+ defaultValue: boolean;
816
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => boolean;
817
+ toDb: (clientValue: boolean) => import("zod").TypeOf<import("zod").ZodTypeAny>;
818
+ transforms: {
819
+ toClient: string;
820
+ toDb: string;
821
+ };
822
+ };
823
+ };
824
+ defaultCount: number | undefined;
825
+ };
826
+ };
827
+ pet: {
828
+ _tableName: string;
829
+ id: {
830
+ sql: {
831
+ type: "int";
832
+ pk: true;
833
+ };
834
+ zodDbSchema: import("zod").ZodTypeAny;
835
+ zodClientSchema: import("zod").ZodTypeAny;
836
+ jsonSchema: any;
837
+ defaultValue: any;
838
+ transform: (transforms: {
839
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => any;
840
+ toDb: (clientValue: any) => import("zod").TypeOf<import("zod").ZodTypeAny>;
841
+ }) => {
842
+ sql: {
843
+ type: "int";
844
+ pk: true;
845
+ };
846
+ zodDbSchema: import("zod").ZodTypeAny;
847
+ zodClientSchema: import("zod").ZodTypeAny;
848
+ jsonSchema: any;
849
+ defaultValue: any;
850
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => any;
851
+ toDb: (clientValue: any) => import("zod").TypeOf<import("zod").ZodTypeAny>;
852
+ transforms: {
853
+ toClient: string;
854
+ toDb: string;
855
+ };
856
+ };
857
+ };
858
+ name: {
859
+ sql: {
860
+ type: "varchar";
861
+ length: number;
862
+ };
863
+ dbType: import("zod").ZodString;
864
+ zodDbSchema: import("zod").ZodString;
865
+ zodClientSchema: import("zod").ZodString;
866
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
867
+ $schema?: string | undefined;
868
+ definitions?: {
869
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
870
+ } | undefined;
871
+ };
872
+ defaultValue: string;
873
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
874
+ zod: import("zod").ZodTypeAny;
875
+ serverType?: never;
876
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
877
+ default: "CURRENT_TIMESTAMP";
878
+ defaultValue: Date;
879
+ } : never) | undefined) => {
880
+ sql: {
881
+ type: "varchar";
882
+ length: number;
883
+ };
884
+ zodDbSchema: import("zod").ZodTypeAny;
885
+ zodClientSchema: import("zod").ZodTypeAny;
886
+ jsonSchema: any;
887
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
888
+ default: "CURRENT_TIMESTAMP";
889
+ defaultValue: Date;
890
+ } : never);
891
+ transform: (transforms: {
892
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
893
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
894
+ }) => {
895
+ sql: {
896
+ type: "varchar";
897
+ length: number;
898
+ };
899
+ zodDbSchema: import("zod").ZodTypeAny;
900
+ zodClientSchema: import("zod").ZodTypeAny;
901
+ jsonSchema: any;
902
+ defaultValue: DefaultValue;
903
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
904
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
905
+ transforms: {
906
+ toClient: string;
907
+ toDb: string;
908
+ };
909
+ };
910
+ };
911
+ db: <ServerType extends import("zod").ZodTypeAny>(assert: (tools: {
912
+ zod: import("zod").ZodString;
913
+ }) => ServerType) => {
914
+ sql: {
915
+ type: "varchar";
916
+ length: number;
917
+ };
918
+ dbType: ServerType;
919
+ zodDbSchema: ServerType;
920
+ zodClientSchema: ServerType;
921
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
922
+ $schema?: string | undefined;
923
+ definitions?: {
924
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
925
+ } | undefined;
926
+ };
927
+ defaultValue: import("zod").TypeOf<ServerType>;
928
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
929
+ zod: import("zod").ZodTypeAny;
930
+ serverType?: ServerType;
931
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
932
+ default: "CURRENT_TIMESTAMP";
933
+ defaultValue: Date;
934
+ } : never) | undefined) => {
935
+ sql: {
936
+ type: "varchar";
937
+ length: number;
938
+ };
939
+ zodDbSchema: import("zod").ZodTypeAny;
940
+ zodClientSchema: import("zod").ZodTypeAny;
941
+ jsonSchema: any;
942
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
943
+ default: "CURRENT_TIMESTAMP";
944
+ defaultValue: Date;
945
+ } : never);
946
+ transform: (transforms: {
947
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
948
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
949
+ }) => {
950
+ sql: {
951
+ type: "varchar";
952
+ length: number;
953
+ };
954
+ zodDbSchema: import("zod").ZodTypeAny;
955
+ zodClientSchema: import("zod").ZodTypeAny;
956
+ jsonSchema: any;
957
+ defaultValue: DefaultValue;
958
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
959
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
960
+ transforms: {
961
+ toClient: string;
962
+ toDb: string;
963
+ };
964
+ };
965
+ };
966
+ };
967
+ };
968
+ userId: {
969
+ sql: {
970
+ type: "int";
971
+ };
972
+ dbType: import("zod").ZodNumber;
973
+ zodDbSchema: import("zod").ZodNumber;
974
+ zodClientSchema: import("zod").ZodNumber;
975
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
976
+ $schema?: string | undefined;
977
+ definitions?: {
978
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
979
+ } | undefined;
980
+ };
981
+ defaultValue: number;
982
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
983
+ zod: import("zod").ZodTypeAny;
984
+ serverType?: never;
985
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
986
+ default: "CURRENT_TIMESTAMP";
987
+ defaultValue: Date;
988
+ } : never) | undefined) => {
989
+ sql: {
990
+ type: "int";
991
+ };
992
+ zodDbSchema: import("zod").ZodTypeAny;
993
+ zodClientSchema: import("zod").ZodTypeAny;
994
+ jsonSchema: any;
995
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
996
+ default: "CURRENT_TIMESTAMP";
997
+ defaultValue: Date;
998
+ } : never);
999
+ transform: (transforms: {
1000
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
1001
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
1002
+ }) => {
1003
+ sql: {
1004
+ type: "int";
1005
+ };
1006
+ zodDbSchema: import("zod").ZodTypeAny;
1007
+ zodClientSchema: import("zod").ZodTypeAny;
1008
+ jsonSchema: any;
1009
+ defaultValue: DefaultValue;
1010
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
1011
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
1012
+ transforms: {
1013
+ toClient: string;
1014
+ toDb: string;
1015
+ };
1016
+ };
1017
+ };
1018
+ db: <ServerType extends import("zod").ZodTypeAny>(assert: (tools: {
1019
+ zod: import("zod").ZodNumber;
1020
+ }) => ServerType) => {
1021
+ sql: {
1022
+ type: "int";
1023
+ };
1024
+ dbType: ServerType;
1025
+ zodDbSchema: ServerType;
1026
+ zodClientSchema: ServerType;
1027
+ jsonSchema: import("zod-to-json-schema").JsonSchema7Type & {
1028
+ $schema?: string | undefined;
1029
+ definitions?: {
1030
+ [key: string]: import("zod-to-json-schema").JsonSchema7Type;
1031
+ } | undefined;
1032
+ };
1033
+ defaultValue: import("zod").TypeOf<ServerType>;
1034
+ client: <ClientType extends import("zod").ZodTypeAny, DefaultValue extends import("zod").TypeOf<ClientType>>(assert?: ClientType | ((tools: {
1035
+ zod: import("zod").ZodTypeAny;
1036
+ serverType?: ServerType;
1037
+ }) => ClientType) | undefined, defaultValue?: DefaultValue | (DefaultValue extends Date ? {
1038
+ default: "CURRENT_TIMESTAMP";
1039
+ defaultValue: Date;
1040
+ } : never) | undefined) => {
1041
+ sql: {
1042
+ type: "int";
1043
+ };
1044
+ zodDbSchema: import("zod").ZodTypeAny;
1045
+ zodClientSchema: import("zod").ZodTypeAny;
1046
+ jsonSchema: any;
1047
+ defaultValue: DefaultValue | (DefaultValue extends Date ? {
1048
+ default: "CURRENT_TIMESTAMP";
1049
+ defaultValue: Date;
1050
+ } : never);
1051
+ transform: (transforms: {
1052
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
1053
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
1054
+ }) => {
1055
+ sql: {
1056
+ type: "int";
1057
+ };
1058
+ zodDbSchema: import("zod").ZodTypeAny;
1059
+ zodClientSchema: import("zod").ZodTypeAny;
1060
+ jsonSchema: any;
1061
+ defaultValue: DefaultValue;
1062
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => import("zod").TypeOf<ClientType>;
1063
+ toDb: (clientValue: import("zod").TypeOf<ClientType>) => import("zod").TypeOf<import("zod").ZodTypeAny>;
1064
+ transforms: {
1065
+ toClient: string;
1066
+ toDb: string;
1067
+ };
1068
+ };
1069
+ };
1070
+ };
1071
+ };
1072
+ fluffynessScale: {
1073
+ sql: {
1074
+ type: "text";
1075
+ };
1076
+ zodDbSchema: import("zod").ZodTypeAny;
1077
+ zodClientSchema: import("zod").ZodTypeAny;
1078
+ jsonSchema: any;
1079
+ defaultValue: ("bald" | "fuzzy" | "fluffy" | "poof")[];
1080
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => ("bald" | "fuzzy" | "fluffy" | "poof")[];
1081
+ toDb: (clientValue: ("bald" | "fuzzy" | "fluffy" | "poof")[]) => import("zod").TypeOf<import("zod").ZodTypeAny>;
1082
+ transforms: {
1083
+ toClient: string;
1084
+ toDb: string;
1085
+ };
1086
+ };
1087
+ favourite: {
1088
+ sql: {
1089
+ type: "int";
1090
+ };
1091
+ zodDbSchema: import("zod").ZodTypeAny;
1092
+ zodClientSchema: import("zod").ZodTypeAny;
1093
+ jsonSchema: any;
1094
+ defaultValue: boolean;
1095
+ toClient: (dbValue: import("zod").TypeOf<import("zod").ZodTypeAny>) => boolean;
1096
+ toDb: (clientValue: boolean) => import("zod").TypeOf<import("zod").ZodTypeAny>;
1097
+ transforms: {
1098
+ toClient: string;
1099
+ toDb: string;
1100
+ };
1101
+ };
1102
+ };
1103
+ };
1104
+ export { schemas };