The best way to control Claude Code, Codex and more from any computer or phone

main
ts 872 lines 25.2 KB
Raw
1 // ⚠️ GENERATED FILE - DO NOT EDIT
2 // This file is automatically generated by 'prisma contract emit'.
3 // To regenerate, run: prisma contract emit
4 import type { QueryOperationTypes as PgAdapterQueryOps } from "@prisma/orm-postgres/adapter/operation-types";
5 import type {
6 Contract as ContractType,
7 ExecutionHashBase,
8 NamespaceId,
9 ProfileHashBase,
10 StorageHashBase,
11 } from "@prisma/orm-postgres/contract/types";
12 import type {
13 ContractWithTypeMaps,
14 RelationKeys,
15 TypeMaps as TypeMapsType,
16 } from "@prisma/orm-postgres/family-contract/types";
17 import type {
18 Bit,
19 Char,
20 CodecTypes as PgTypes,
21 Interval,
22 JsonValue,
23 Numeric,
24 Time,
25 TimeString,
26 Timestamp,
27 TimestampString,
28 Timestamptz,
29 TimestamptzString,
30 Timetz,
31 VarBit,
32 Varchar,
33 } from "@prisma/orm-postgres/target/codec-types";
34
35 export type StorageHash =
36 StorageHashBase<"7de60ab4aee8baa42480f8a2d3559ff4027deae801de73c6a93c9eeb4170f558">;
37 export type ExecutionHash =
38 ExecutionHashBase<"3d1e5ef7d0bf68e99ed01f74317c9cb4403c9f0235bcb38e447cfe4595460215">;
39 export type ProfileHash =
40 ProfileHashBase<"3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2">;
41
42 export type CodecTypes = PgTypes;
43 export type LaneCodecTypes = CodecTypes;
44 export type QueryOperationTypes = PgAdapterQueryOps<CodecTypes>;
45 export type AggregateTypes = {
46 readonly avg: {
47 readonly byCodec: {
48 readonly "pg/float@1": {
49 readonly output: "pg/float8@1";
50 readonly nullable: true;
51 };
52 readonly "pg/float4@1": {
53 readonly output: "pg/float8@1";
54 readonly nullable: true;
55 };
56 readonly "pg/float8@1": {
57 readonly output: "pg/float8@1";
58 readonly nullable: true;
59 };
60 readonly "pg/int@1": {
61 readonly output: "pg/float8@1";
62 readonly nullable: true;
63 };
64 readonly "pg/int2@1": {
65 readonly output: "pg/float8@1";
66 readonly nullable: true;
67 };
68 readonly "pg/int4@1": {
69 readonly output: "pg/float8@1";
70 readonly nullable: true;
71 };
72 readonly "pg/int8@1": {
73 readonly output: "pg/float8@1";
74 readonly nullable: true;
75 };
76 readonly "pg/int8number@1": {
77 readonly output: "pg/float8@1";
78 readonly nullable: true;
79 };
80 readonly "pg/interval@1": {
81 readonly output: "pg/interval@1";
82 readonly nullable: true;
83 };
84 readonly "pg/numeric@1": {
85 readonly output: "pg/numeric@1";
86 readonly nullable: true;
87 };
88 readonly "pg/time-string@1": {
89 readonly output: "pg/interval@1";
90 readonly nullable: true;
91 };
92 readonly "pg/time-temporal@1": {
93 readonly output: "pg/interval@1";
94 readonly nullable: true;
95 };
96 readonly "pg/unboundedint@1": {
97 readonly output: "pg/float8@1";
98 readonly nullable: true;
99 };
100 readonly "sql/float@1": {
101 readonly output: "pg/float8@1";
102 readonly nullable: true;
103 };
104 readonly "sql/int@1": {
105 readonly output: "pg/float8@1";
106 readonly nullable: true;
107 };
108 };
109 };
110 readonly avgDecimal: {
111 readonly byCodec: {
112 readonly "pg/int@1": {
113 readonly output: "pg/numeric@1";
114 readonly nullable: true;
115 };
116 readonly "pg/int2@1": {
117 readonly output: "pg/numeric@1";
118 readonly nullable: true;
119 };
120 readonly "pg/int4@1": {
121 readonly output: "pg/numeric@1";
122 readonly nullable: true;
123 };
124 readonly "pg/int8@1": {
125 readonly output: "pg/numeric@1";
126 readonly nullable: true;
127 };
128 readonly "pg/int8number@1": {
129 readonly output: "pg/numeric@1";
130 readonly nullable: true;
131 };
132 readonly "pg/numeric@1": {
133 readonly output: "pg/numeric@1";
134 readonly nullable: true;
135 };
136 readonly "pg/unboundedint@1": {
137 readonly output: "pg/numeric@1";
138 readonly nullable: true;
139 };
140 readonly "sql/int@1": {
141 readonly output: "pg/numeric@1";
142 readonly nullable: true;
143 };
144 };
145 };
146 readonly count: {
147 readonly byCodec: {};
148 readonly withoutInput: {
149 readonly output: "pg/int8number@1";
150 readonly nullable: false;
151 };
152 readonly anyInput: {
153 readonly output: "pg/int8number@1";
154 readonly nullable: false;
155 };
156 };
157 readonly countBigInt: {
158 readonly byCodec: {};
159 readonly withoutInput: {
160 readonly output: "pg/int8@1";
161 readonly nullable: false;
162 };
163 readonly anyInput: {
164 readonly output: "pg/int8@1";
165 readonly nullable: false;
166 };
167 };
168 readonly max: {
169 readonly byCodec: {
170 readonly "pg/char@1": {
171 readonly output: "pg/char@1";
172 readonly nullable: true;
173 };
174 readonly "pg/date-string@1": {
175 readonly output: "pg/date-string@1";
176 readonly nullable: true;
177 };
178 readonly "pg/date-temporal@1": {
179 readonly output: "pg/date-temporal@1";
180 readonly nullable: true;
181 };
182 readonly "pg/enum@1": {
183 readonly output: "pg/enum@1";
184 readonly nullable: true;
185 };
186 readonly "pg/float@1": {
187 readonly output: "pg/float@1";
188 readonly nullable: true;
189 };
190 readonly "pg/float4@1": {
191 readonly output: "pg/float4@1";
192 readonly nullable: true;
193 };
194 readonly "pg/float8@1": {
195 readonly output: "pg/float8@1";
196 readonly nullable: true;
197 };
198 readonly "pg/inet@1": {
199 readonly output: "pg/inet@1";
200 readonly nullable: true;
201 };
202 readonly "pg/int@1": {
203 readonly output: "pg/int@1";
204 readonly nullable: true;
205 };
206 readonly "pg/int2@1": {
207 readonly output: "pg/int2@1";
208 readonly nullable: true;
209 };
210 readonly "pg/int4@1": {
211 readonly output: "pg/int4@1";
212 readonly nullable: true;
213 };
214 readonly "pg/int8@1": {
215 readonly output: "pg/int8@1";
216 readonly nullable: true;
217 };
218 readonly "pg/int8number@1": {
219 readonly output: "pg/int8number@1";
220 readonly nullable: true;
221 };
222 readonly "pg/interval@1": {
223 readonly output: "pg/interval@1";
224 readonly nullable: true;
225 };
226 readonly "pg/numeric@1": {
227 readonly output: "pg/numeric@1";
228 readonly nullable: true;
229 };
230 readonly "pg/text-array@1": {
231 readonly output: "pg/text-array@1";
232 readonly nullable: true;
233 };
234 readonly "pg/text@1": {
235 readonly output: "pg/text@1";
236 readonly nullable: true;
237 };
238 readonly "pg/time-string@1": {
239 readonly output: "pg/time-string@1";
240 readonly nullable: true;
241 };
242 readonly "pg/time-temporal@1": {
243 readonly output: "pg/time-temporal@1";
244 readonly nullable: true;
245 };
246 readonly "pg/timestamp-string@1": {
247 readonly output: "pg/timestamp-string@1";
248 readonly nullable: true;
249 };
250 readonly "pg/timestamp-temporal@1": {
251 readonly output: "pg/timestamp-temporal@1";
252 readonly nullable: true;
253 };
254 readonly "pg/timestamptz-string@1": {
255 readonly output: "pg/timestamptz-string@1";
256 readonly nullable: true;
257 };
258 readonly "pg/timestamptz-temporal@1": {
259 readonly output: "pg/timestamptz-temporal@1";
260 readonly nullable: true;
261 };
262 readonly "pg/timetz@1": {
263 readonly output: "pg/timetz@1";
264 readonly nullable: true;
265 };
266 readonly "pg/unboundedint@1": {
267 readonly output: "pg/unboundedint@1";
268 readonly nullable: true;
269 };
270 readonly "pg/varchar@1": {
271 readonly output: "pg/text@1";
272 readonly nullable: true;
273 };
274 readonly "sql/char@1": {
275 readonly output: "sql/char@1";
276 readonly nullable: true;
277 };
278 readonly "sql/float@1": {
279 readonly output: "sql/float@1";
280 readonly nullable: true;
281 };
282 readonly "sql/int@1": {
283 readonly output: "sql/int@1";
284 readonly nullable: true;
285 };
286 readonly "sql/text@1": {
287 readonly output: "sql/text@1";
288 readonly nullable: true;
289 };
290 readonly "sql/varchar@1": {
291 readonly output: "pg/text@1";
292 readonly nullable: true;
293 };
294 };
295 };
296 readonly min: {
297 readonly byCodec: {
298 readonly "pg/char@1": {
299 readonly output: "pg/char@1";
300 readonly nullable: true;
301 };
302 readonly "pg/date-string@1": {
303 readonly output: "pg/date-string@1";
304 readonly nullable: true;
305 };
306 readonly "pg/date-temporal@1": {
307 readonly output: "pg/date-temporal@1";
308 readonly nullable: true;
309 };
310 readonly "pg/enum@1": {
311 readonly output: "pg/enum@1";
312 readonly nullable: true;
313 };
314 readonly "pg/float@1": {
315 readonly output: "pg/float@1";
316 readonly nullable: true;
317 };
318 readonly "pg/float4@1": {
319 readonly output: "pg/float4@1";
320 readonly nullable: true;
321 };
322 readonly "pg/float8@1": {
323 readonly output: "pg/float8@1";
324 readonly nullable: true;
325 };
326 readonly "pg/inet@1": {
327 readonly output: "pg/inet@1";
328 readonly nullable: true;
329 };
330 readonly "pg/int@1": {
331 readonly output: "pg/int@1";
332 readonly nullable: true;
333 };
334 readonly "pg/int2@1": {
335 readonly output: "pg/int2@1";
336 readonly nullable: true;
337 };
338 readonly "pg/int4@1": {
339 readonly output: "pg/int4@1";
340 readonly nullable: true;
341 };
342 readonly "pg/int8@1": {
343 readonly output: "pg/int8@1";
344 readonly nullable: true;
345 };
346 readonly "pg/int8number@1": {
347 readonly output: "pg/int8number@1";
348 readonly nullable: true;
349 };
350 readonly "pg/interval@1": {
351 readonly output: "pg/interval@1";
352 readonly nullable: true;
353 };
354 readonly "pg/numeric@1": {
355 readonly output: "pg/numeric@1";
356 readonly nullable: true;
357 };
358 readonly "pg/text-array@1": {
359 readonly output: "pg/text-array@1";
360 readonly nullable: true;
361 };
362 readonly "pg/text@1": {
363 readonly output: "pg/text@1";
364 readonly nullable: true;
365 };
366 readonly "pg/time-string@1": {
367 readonly output: "pg/time-string@1";
368 readonly nullable: true;
369 };
370 readonly "pg/time-temporal@1": {
371 readonly output: "pg/time-temporal@1";
372 readonly nullable: true;
373 };
374 readonly "pg/timestamp-string@1": {
375 readonly output: "pg/timestamp-string@1";
376 readonly nullable: true;
377 };
378 readonly "pg/timestamp-temporal@1": {
379 readonly output: "pg/timestamp-temporal@1";
380 readonly nullable: true;
381 };
382 readonly "pg/timestamptz-string@1": {
383 readonly output: "pg/timestamptz-string@1";
384 readonly nullable: true;
385 };
386 readonly "pg/timestamptz-temporal@1": {
387 readonly output: "pg/timestamptz-temporal@1";
388 readonly nullable: true;
389 };
390 readonly "pg/timetz@1": {
391 readonly output: "pg/timetz@1";
392 readonly nullable: true;
393 };
394 readonly "pg/unboundedint@1": {
395 readonly output: "pg/unboundedint@1";
396 readonly nullable: true;
397 };
398 readonly "pg/varchar@1": {
399 readonly output: "pg/text@1";
400 readonly nullable: true;
401 };
402 readonly "sql/char@1": {
403 readonly output: "sql/char@1";
404 readonly nullable: true;
405 };
406 readonly "sql/float@1": {
407 readonly output: "sql/float@1";
408 readonly nullable: true;
409 };
410 readonly "sql/int@1": {
411 readonly output: "sql/int@1";
412 readonly nullable: true;
413 };
414 readonly "sql/text@1": {
415 readonly output: "sql/text@1";
416 readonly nullable: true;
417 };
418 readonly "sql/varchar@1": {
419 readonly output: "pg/text@1";
420 readonly nullable: true;
421 };
422 };
423 };
424 readonly sum: {
425 readonly byCodec: {
426 readonly "pg/float@1": {
427 readonly output: "pg/float8@1";
428 readonly nullable: true;
429 };
430 readonly "pg/float4@1": {
431 readonly output: "pg/float4@1";
432 readonly nullable: true;
433 };
434 readonly "pg/float8@1": {
435 readonly output: "pg/float8@1";
436 readonly nullable: true;
437 };
438 readonly "pg/int@1": {
439 readonly output: "pg/int8number@1";
440 readonly nullable: true;
441 };
442 readonly "pg/int2@1": {
443 readonly output: "pg/int8number@1";
444 readonly nullable: true;
445 };
446 readonly "pg/int4@1": {
447 readonly output: "pg/int8number@1";
448 readonly nullable: true;
449 };
450 readonly "pg/int8@1": {
451 readonly output: "pg/int8number@1";
452 readonly nullable: true;
453 };
454 readonly "pg/int8number@1": {
455 readonly output: "pg/int8number@1";
456 readonly nullable: true;
457 };
458 readonly "pg/interval@1": {
459 readonly output: "pg/interval@1";
460 readonly nullable: true;
461 };
462 readonly "pg/numeric@1": {
463 readonly output: "pg/numeric@1";
464 readonly nullable: true;
465 };
466 readonly "pg/time-string@1": {
467 readonly output: "pg/interval@1";
468 readonly nullable: true;
469 };
470 readonly "pg/time-temporal@1": {
471 readonly output: "pg/interval@1";
472 readonly nullable: true;
473 };
474 readonly "pg/unboundedint@1": {
475 readonly output: "pg/unboundedint@1";
476 readonly nullable: true;
477 };
478 readonly "sql/float@1": {
479 readonly output: "pg/float8@1";
480 readonly nullable: true;
481 };
482 readonly "sql/int@1": {
483 readonly output: "pg/int8number@1";
484 readonly nullable: true;
485 };
486 };
487 };
488 readonly sumBigInt: {
489 readonly byCodec: {
490 readonly "pg/int@1": {
491 readonly output: "pg/int8@1";
492 readonly nullable: true;
493 };
494 readonly "pg/int2@1": {
495 readonly output: "pg/int8@1";
496 readonly nullable: true;
497 };
498 readonly "pg/int4@1": {
499 readonly output: "pg/int8@1";
500 readonly nullable: true;
501 };
502 readonly "pg/int8@1": {
503 readonly output: "pg/unboundedint@1";
504 readonly nullable: true;
505 };
506 readonly "pg/int8number@1": {
507 readonly output: "pg/unboundedint@1";
508 readonly nullable: true;
509 };
510 readonly "pg/unboundedint@1": {
511 readonly output: "pg/unboundedint@1";
512 readonly nullable: true;
513 };
514 readonly "sql/int@1": {
515 readonly output: "pg/int8@1";
516 readonly nullable: true;
517 };
518 };
519 };
520 };
521 type DefaultLiteralValue<CodecId extends string, Encoded> = CodecId extends keyof CodecTypes
522 ? Encoded extends CodecTypes[CodecId]["json"]
523 ? Encoded
524 : CodecTypes[CodecId]["json"]
525 : Encoded;
526
527 export type FieldOutputTypes = {
528 readonly public: {
529 readonly Post: {
530 readonly id: CodecTypes["pg/uuid@1"]["output"];
531 readonly title: CodecTypes["pg/text@1"]["output"];
532 readonly authorId: CodecTypes["pg/uuid@1"]["output"];
533 };
534 readonly User: {
535 readonly id: CodecTypes["pg/uuid@1"]["output"];
536 readonly email: CodecTypes["pg/text@1"]["output"];
537 readonly name: CodecTypes["pg/text@1"]["output"];
538 readonly createdAt: CodecTypes["pg/timestamptz-string@1"]["output"];
539 };
540 };
541 };
542 export type FieldInputTypes = {
543 readonly public: {
544 readonly Post: {
545 readonly id: CodecTypes["pg/uuid@1"]["input"];
546 readonly title: CodecTypes["pg/text@1"]["input"];
547 readonly authorId: CodecTypes["pg/uuid@1"]["input"];
548 };
549 readonly User: {
550 readonly id: CodecTypes["pg/uuid@1"]["input"];
551 readonly email: CodecTypes["pg/text@1"]["input"];
552 readonly name: CodecTypes["pg/text@1"]["input"];
553 readonly createdAt: CodecTypes["pg/timestamptz-string@1"]["input"];
554 };
555 };
556 };
557 export type StorageColumnTypes = {
558 readonly public: {
559 readonly Post: {
560 readonly authorId: CodecTypes["pg/uuid@1"]["output"];
561 readonly id: CodecTypes["pg/uuid@1"]["output"];
562 readonly title: CodecTypes["pg/text@1"]["output"];
563 };
564 readonly User: {
565 readonly createdAt: CodecTypes["pg/timestamptz-string@1"]["output"];
566 readonly email: CodecTypes["pg/text@1"]["output"];
567 readonly id: CodecTypes["pg/uuid@1"]["output"];
568 readonly name: CodecTypes["pg/text@1"]["output"];
569 };
570 };
571 };
572 export type StorageColumnInputTypes = {
573 readonly public: {
574 readonly Post: {
575 readonly authorId: CodecTypes["pg/uuid@1"]["input"];
576 readonly id: CodecTypes["pg/uuid@1"]["input"];
577 readonly title: CodecTypes["pg/text@1"]["input"];
578 };
579 readonly User: {
580 readonly createdAt: CodecTypes["pg/timestamptz-string@1"]["input"];
581 readonly email: CodecTypes["pg/text@1"]["input"];
582 readonly id: CodecTypes["pg/uuid@1"]["input"];
583 readonly name: CodecTypes["pg/text@1"]["input"];
584 };
585 };
586 };
587
588 export namespace Models {
589 export type public_User = {
590 id: CodecTypes["pg/uuid@1"]["output"];
591 email: CodecTypes["pg/text@1"]["output"];
592 name: CodecTypes["pg/text@1"]["output"];
593 createdAt: CodecTypes["pg/timestamptz-string@1"]["output"];
594 posts: public_Post[];
595 readonly [RelationKeys]?: "posts";
596 };
597 export type public_Post = {
598 id: CodecTypes["pg/uuid@1"]["output"];
599 title: CodecTypes["pg/text@1"]["output"];
600 authorId: CodecTypes["pg/uuid@1"]["output"];
601 author: public_User;
602 readonly [RelationKeys]?: "author";
603 };
604 }
605
606 export declare const models: {
607 public: {
608 User: Models.public_User;
609 Post: Models.public_Post;
610 };
611 };
612
613 export type TypeMaps = TypeMapsType<
614 CodecTypes,
615 QueryOperationTypes,
616 FieldOutputTypes,
617 FieldInputTypes,
618 StorageColumnTypes,
619 StorageColumnInputTypes,
620 AggregateTypes
621 >;
622
623 type ContractBase = Omit<
624 ContractType<{
625 readonly namespaces: {
626 readonly public: {
627 readonly id: "public";
628 readonly kind: "postgres-schema";
629 readonly entries: {
630 readonly table: {
631 readonly Post: {
632 columns: {
633 readonly id: {
634 readonly nativeType: "uuid";
635 readonly codecId: "pg/uuid@1";
636 readonly nullable: false;
637 };
638 readonly title: {
639 readonly nativeType: "text";
640 readonly codecId: "pg/text@1";
641 readonly nullable: false;
642 };
643 readonly authorId: {
644 readonly nativeType: "uuid";
645 readonly codecId: "pg/uuid@1";
646 readonly nullable: false;
647 };
648 };
649 primaryKey: { readonly columns: readonly ["id"] };
650 uniques: readonly [];
651 indexes: readonly [];
652 foreignKeys: readonly [];
653 };
654 readonly User: {
655 columns: {
656 readonly id: {
657 readonly nativeType: "uuid";
658 readonly codecId: "pg/uuid@1";
659 readonly nullable: false;
660 };
661 readonly email: {
662 readonly nativeType: "text";
663 readonly codecId: "pg/text@1";
664 readonly nullable: false;
665 };
666 readonly name: {
667 readonly nativeType: "text";
668 readonly codecId: "pg/text@1";
669 readonly nullable: false;
670 };
671 readonly createdAt: {
672 readonly nativeType: "timestamptz";
673 readonly codecId: "pg/timestamptz-string@1";
674 readonly nullable: false;
675 readonly default: {
676 readonly kind: "function";
677 readonly expression: "now()";
678 };
679 };
680 };
681 primaryKey: { readonly columns: readonly ["id"] };
682 uniques: readonly [{ readonly columns: readonly ["email"] }];
683 indexes: readonly [];
684 foreignKeys: readonly [];
685 };
686 };
687 };
688 };
689 };
690 readonly storageHash: StorageHash;
691 }>,
692 "roots" | "domain"
693 > & {
694 readonly target: "postgres";
695 readonly targetFamily: "sql";
696 readonly roots: {
697 readonly User: {
698 readonly namespace: "public" & NamespaceId;
699 readonly model: "User";
700 };
701 readonly Post: {
702 readonly namespace: "public" & NamespaceId;
703 readonly model: "Post";
704 };
705 };
706 readonly domain: {
707 readonly namespaces: {
708 readonly public: {
709 readonly models: {
710 readonly Post: {
711 readonly fields: {
712 readonly id: {
713 readonly nullable: false;
714 readonly type: {
715 readonly kind: "scalar";
716 readonly codecId: "pg/uuid@1";
717 };
718 };
719 readonly title: {
720 readonly nullable: false;
721 readonly type: {
722 readonly kind: "scalar";
723 readonly codecId: "pg/text@1";
724 };
725 };
726 readonly authorId: {
727 readonly nullable: false;
728 readonly type: {
729 readonly kind: "scalar";
730 readonly codecId: "pg/uuid@1";
731 };
732 };
733 };
734 readonly relations: {
735 readonly author: {
736 readonly to: {
737 readonly namespace: "public" & NamespaceId;
738 readonly model: "User";
739 };
740 readonly cardinality: "N:1";
741 readonly nullable: false;
742 readonly on: {
743 readonly localFields: readonly ["authorId"];
744 readonly targetFields: readonly ["id"];
745 };
746 };
747 };
748 readonly storage: {
749 readonly table: "Post";
750 readonly namespaceId: "public";
751 readonly fields: {
752 readonly id: { readonly column: "id" };
753 readonly title: { readonly column: "title" };
754 readonly authorId: { readonly column: "authorId" };
755 };
756 };
757 };
758 readonly User: {
759 readonly fields: {
760 readonly id: {
761 readonly nullable: false;
762 readonly type: {
763 readonly kind: "scalar";
764 readonly codecId: "pg/uuid@1";
765 };
766 };
767 readonly email: {
768 readonly nullable: false;
769 readonly type: {
770 readonly kind: "scalar";
771 readonly codecId: "pg/text@1";
772 };
773 };
774 readonly name: {
775 readonly nullable: false;
776 readonly type: {
777 readonly kind: "scalar";
778 readonly codecId: "pg/text@1";
779 };
780 };
781 readonly createdAt: {
782 readonly nullable: false;
783 readonly type: {
784 readonly kind: "scalar";
785 readonly codecId: "pg/timestamptz-string@1";
786 };
787 };
788 };
789 readonly relations: {
790 readonly posts: {
791 readonly to: {
792 readonly namespace: "public" & NamespaceId;
793 readonly model: "Post";
794 };
795 readonly cardinality: "1:N";
796 readonly on: {
797 readonly localFields: readonly ["id"];
798 readonly targetFields: readonly ["authorId"];
799 };
800 };
801 };
802 readonly storage: {
803 readonly table: "User";
804 readonly namespaceId: "public";
805 readonly fields: {
806 readonly id: { readonly column: "id" };
807 readonly email: { readonly column: "email" };
808 readonly name: { readonly column: "name" };
809 readonly createdAt: { readonly column: "createdAt" };
810 };
811 };
812 };
813 };
814 };
815 };
816 };
817 readonly capabilities: {
818 readonly postgres: {
819 readonly distinctOn: true;
820 readonly jsonAgg: true;
821 readonly lateral: true;
822 readonly limit: true;
823 readonly orderBy: true;
824 readonly returning: true;
825 };
826 readonly sql: {
827 readonly checkConstraint: true;
828 readonly defaultInInsert: true;
829 readonly enums: true;
830 readonly lateral: true;
831 readonly returning: true;
832 readonly scalarList: true;
833 };
834 };
835 readonly extensions: {};
836 readonly execution: {
837 readonly executionHash: ExecutionHash;
838 readonly mutations: {
839 readonly defaults: readonly [
840 {
841 readonly ref: {
842 readonly namespace: "public";
843 readonly table: "Post";
844 readonly column: "id";
845 };
846 readonly onCreate: {
847 readonly kind: "generator";
848 readonly id: "uuidv7";
849 };
850 },
851 {
852 readonly ref: {
853 readonly namespace: "public";
854 readonly table: "User";
855 readonly column: "id";
856 };
857 readonly onCreate: {
858 readonly kind: "generator";
859 readonly id: "uuidv7";
860 };
861 },
862 ];
863 };
864 };
865 readonly meta: {};
866
867 readonly profileHash: ProfileHash;
868 };
869
870 export type Contract = ContractWithTypeMaps<ContractBase, TypeMaps>;
871
872 export type Namespaces = Contract["storage"]["namespaces"];