@agentbadge/database 0.1.1 → 0.3.0

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.
@@ -4,15 +4,221 @@
4
4
  "target": "postgres",
5
5
  "profileHash": "3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2",
6
6
  "roots": {
7
+ "agentWallet": {
8
+ "model": "AgentWallet",
9
+ "namespace": "public"
10
+ },
11
+ "chatSubscription": {
12
+ "model": "ChatSubscription",
13
+ "namespace": "public"
14
+ },
7
15
  "event": {
8
16
  "model": "Event",
9
17
  "namespace": "public"
18
+ },
19
+ "scanResult": {
20
+ "model": "ScanResult",
21
+ "namespace": "public"
22
+ },
23
+ "venueJob": {
24
+ "model": "VenueJob",
25
+ "namespace": "public"
26
+ },
27
+ "venueMeta": {
28
+ "model": "VenueMeta",
29
+ "namespace": "public"
30
+ },
31
+ "venueOffer": {
32
+ "model": "VenueOffer",
33
+ "namespace": "public"
10
34
  }
11
35
  },
12
36
  "domain": {
13
37
  "namespaces": {
14
38
  "public": {
15
39
  "models": {
40
+ "AgentWallet": {
41
+ "fields": {
42
+ "active": {
43
+ "nullable": false,
44
+ "type": {
45
+ "codecId": "pg/bool@1",
46
+ "kind": "scalar"
47
+ }
48
+ },
49
+ "address": {
50
+ "nullable": false,
51
+ "type": {
52
+ "codecId": "pg/text@1",
53
+ "kind": "scalar"
54
+ }
55
+ },
56
+ "agentId": {
57
+ "nullable": true,
58
+ "type": {
59
+ "codecId": "pg/text@1",
60
+ "kind": "scalar"
61
+ }
62
+ },
63
+ "createdAt": {
64
+ "nullable": false,
65
+ "type": {
66
+ "codecId": "pg/timestamptz-string@1",
67
+ "kind": "scalar"
68
+ }
69
+ },
70
+ "id": {
71
+ "nullable": false,
72
+ "type": {
73
+ "codecId": "pg/text@1",
74
+ "kind": "scalar"
75
+ }
76
+ },
77
+ "kind": {
78
+ "nullable": false,
79
+ "type": {
80
+ "codecId": "pg/text@1",
81
+ "kind": "scalar"
82
+ }
83
+ },
84
+ "label": {
85
+ "nullable": false,
86
+ "type": {
87
+ "codecId": "pg/text@1",
88
+ "kind": "scalar"
89
+ }
90
+ },
91
+ "payload": {
92
+ "nullable": false,
93
+ "type": {
94
+ "codecId": "pg/json@1",
95
+ "kind": "scalar"
96
+ }
97
+ },
98
+ "registeredBy": {
99
+ "nullable": false,
100
+ "type": {
101
+ "codecId": "pg/text@1",
102
+ "kind": "scalar"
103
+ }
104
+ },
105
+ "updatedAt": {
106
+ "nullable": false,
107
+ "type": {
108
+ "codecId": "pg/timestamptz-string@1",
109
+ "kind": "scalar"
110
+ }
111
+ },
112
+ "venueId": {
113
+ "nullable": true,
114
+ "type": {
115
+ "codecId": "pg/text@1",
116
+ "kind": "scalar"
117
+ }
118
+ }
119
+ },
120
+ "relations": {},
121
+ "storage": {
122
+ "fields": {
123
+ "active": {
124
+ "column": "active"
125
+ },
126
+ "address": {
127
+ "column": "address"
128
+ },
129
+ "agentId": {
130
+ "column": "agentId"
131
+ },
132
+ "createdAt": {
133
+ "column": "createdAt"
134
+ },
135
+ "id": {
136
+ "column": "id"
137
+ },
138
+ "kind": {
139
+ "column": "kind"
140
+ },
141
+ "label": {
142
+ "column": "label"
143
+ },
144
+ "payload": {
145
+ "column": "payload"
146
+ },
147
+ "registeredBy": {
148
+ "column": "registeredBy"
149
+ },
150
+ "updatedAt": {
151
+ "column": "updatedAt"
152
+ },
153
+ "venueId": {
154
+ "column": "venueId"
155
+ }
156
+ },
157
+ "namespaceId": "public",
158
+ "table": "agentWallet"
159
+ }
160
+ },
161
+ "ChatSubscription": {
162
+ "fields": {
163
+ "chatId": {
164
+ "nullable": false,
165
+ "type": {
166
+ "codecId": "pg/int8@1",
167
+ "kind": "scalar"
168
+ }
169
+ },
170
+ "createdAt": {
171
+ "nullable": false,
172
+ "type": {
173
+ "codecId": "pg/timestamptz-string@1",
174
+ "kind": "scalar"
175
+ }
176
+ },
177
+ "id": {
178
+ "nullable": false,
179
+ "type": {
180
+ "codecId": "pg/text@1",
181
+ "kind": "scalar"
182
+ }
183
+ },
184
+ "updatedAt": {
185
+ "nullable": false,
186
+ "type": {
187
+ "codecId": "pg/timestamptz-string@1",
188
+ "kind": "scalar"
189
+ }
190
+ },
191
+ "username": {
192
+ "nullable": false,
193
+ "type": {
194
+ "codecId": "pg/text@1",
195
+ "kind": "scalar"
196
+ }
197
+ }
198
+ },
199
+ "relations": {},
200
+ "storage": {
201
+ "fields": {
202
+ "chatId": {
203
+ "column": "chatId"
204
+ },
205
+ "createdAt": {
206
+ "column": "createdAt"
207
+ },
208
+ "id": {
209
+ "column": "id"
210
+ },
211
+ "updatedAt": {
212
+ "column": "updatedAt"
213
+ },
214
+ "username": {
215
+ "column": "username"
216
+ }
217
+ },
218
+ "namespaceId": "public",
219
+ "table": "chatSubscription"
220
+ }
221
+ },
16
222
  "Event": {
17
223
  "fields": {
18
224
  "createdAt": {
@@ -50,51 +256,743 @@
50
256
  "kind": "scalar"
51
257
  }
52
258
  },
53
- "updatedAt": {
54
- "nullable": false,
55
- "type": {
56
- "codecId": "pg/timestamptz-string@1",
57
- "kind": "scalar"
58
- }
59
- }
259
+ "updatedAt": {
260
+ "nullable": false,
261
+ "type": {
262
+ "codecId": "pg/timestamptz-string@1",
263
+ "kind": "scalar"
264
+ }
265
+ }
266
+ },
267
+ "relations": {},
268
+ "storage": {
269
+ "fields": {
270
+ "createdAt": {
271
+ "column": "createdAt"
272
+ },
273
+ "id": {
274
+ "column": "id"
275
+ },
276
+ "payload": {
277
+ "column": "payload"
278
+ },
279
+ "source": {
280
+ "column": "source"
281
+ },
282
+ "type": {
283
+ "column": "type"
284
+ },
285
+ "updatedAt": {
286
+ "column": "updatedAt"
287
+ }
288
+ },
289
+ "namespaceId": "public",
290
+ "table": "event"
291
+ }
292
+ },
293
+ "ScanResult": {
294
+ "fields": {
295
+ "createdAt": {
296
+ "nullable": false,
297
+ "type": {
298
+ "codecId": "pg/timestamptz-string@1",
299
+ "kind": "scalar"
300
+ }
301
+ },
302
+ "domain": {
303
+ "nullable": false,
304
+ "type": {
305
+ "codecId": "pg/text@1",
306
+ "kind": "scalar"
307
+ }
308
+ },
309
+ "id": {
310
+ "nullable": false,
311
+ "type": {
312
+ "codecId": "pg/text@1",
313
+ "kind": "scalar"
314
+ }
315
+ },
316
+ "report": {
317
+ "nullable": false,
318
+ "type": {
319
+ "codecId": "pg/json@1",
320
+ "kind": "scalar"
321
+ }
322
+ },
323
+ "rulesetVersion": {
324
+ "nullable": true,
325
+ "type": {
326
+ "codecId": "pg/text@1",
327
+ "kind": "scalar"
328
+ }
329
+ },
330
+ "score": {
331
+ "nullable": true,
332
+ "type": {
333
+ "codecId": "pg/int4@1",
334
+ "kind": "scalar"
335
+ }
336
+ },
337
+ "updatedAt": {
338
+ "nullable": false,
339
+ "type": {
340
+ "codecId": "pg/timestamptz-string@1",
341
+ "kind": "scalar"
342
+ }
343
+ },
344
+ "url": {
345
+ "nullable": false,
346
+ "type": {
347
+ "codecId": "pg/text@1",
348
+ "kind": "scalar"
349
+ }
350
+ }
351
+ },
352
+ "relations": {},
353
+ "storage": {
354
+ "fields": {
355
+ "createdAt": {
356
+ "column": "createdAt"
357
+ },
358
+ "domain": {
359
+ "column": "domain"
360
+ },
361
+ "id": {
362
+ "column": "id"
363
+ },
364
+ "report": {
365
+ "column": "report"
366
+ },
367
+ "rulesetVersion": {
368
+ "column": "rulesetVersion"
369
+ },
370
+ "score": {
371
+ "column": "score"
372
+ },
373
+ "updatedAt": {
374
+ "column": "updatedAt"
375
+ },
376
+ "url": {
377
+ "column": "url"
378
+ }
379
+ },
380
+ "namespaceId": "public",
381
+ "table": "scanResult"
382
+ }
383
+ },
384
+ "VenueJob": {
385
+ "fields": {
386
+ "client": {
387
+ "nullable": false,
388
+ "type": {
389
+ "codecId": "pg/text@1",
390
+ "kind": "scalar"
391
+ }
392
+ },
393
+ "createdAt": {
394
+ "nullable": false,
395
+ "type": {
396
+ "codecId": "pg/timestamptz-string@1",
397
+ "kind": "scalar"
398
+ }
399
+ },
400
+ "id": {
401
+ "nullable": false,
402
+ "type": {
403
+ "codecId": "pg/text@1",
404
+ "kind": "scalar"
405
+ }
406
+ },
407
+ "jobId": {
408
+ "nullable": false,
409
+ "type": {
410
+ "codecId": "pg/text@1",
411
+ "kind": "scalar"
412
+ }
413
+ },
414
+ "payload": {
415
+ "nullable": false,
416
+ "type": {
417
+ "codecId": "pg/json@1",
418
+ "kind": "scalar"
419
+ }
420
+ },
421
+ "provider": {
422
+ "nullable": true,
423
+ "type": {
424
+ "codecId": "pg/text@1",
425
+ "kind": "scalar"
426
+ }
427
+ },
428
+ "status": {
429
+ "nullable": false,
430
+ "type": {
431
+ "codecId": "pg/text@1",
432
+ "kind": "scalar"
433
+ }
434
+ },
435
+ "updatedAt": {
436
+ "nullable": false,
437
+ "type": {
438
+ "codecId": "pg/timestamptz-string@1",
439
+ "kind": "scalar"
440
+ }
441
+ }
442
+ },
443
+ "relations": {},
444
+ "storage": {
445
+ "fields": {
446
+ "client": {
447
+ "column": "client"
448
+ },
449
+ "createdAt": {
450
+ "column": "createdAt"
451
+ },
452
+ "id": {
453
+ "column": "id"
454
+ },
455
+ "jobId": {
456
+ "column": "jobId"
457
+ },
458
+ "payload": {
459
+ "column": "payload"
460
+ },
461
+ "provider": {
462
+ "column": "provider"
463
+ },
464
+ "status": {
465
+ "column": "status"
466
+ },
467
+ "updatedAt": {
468
+ "column": "updatedAt"
469
+ }
470
+ },
471
+ "namespaceId": "public",
472
+ "table": "venueJob"
473
+ }
474
+ },
475
+ "VenueMeta": {
476
+ "fields": {
477
+ "key": {
478
+ "nullable": false,
479
+ "type": {
480
+ "codecId": "pg/text@1",
481
+ "kind": "scalar"
482
+ }
483
+ },
484
+ "updatedAt": {
485
+ "nullable": false,
486
+ "type": {
487
+ "codecId": "pg/timestamptz-string@1",
488
+ "kind": "scalar"
489
+ }
490
+ },
491
+ "value": {
492
+ "nullable": false,
493
+ "type": {
494
+ "codecId": "pg/json@1",
495
+ "kind": "scalar"
496
+ }
497
+ }
498
+ },
499
+ "relations": {},
500
+ "storage": {
501
+ "fields": {
502
+ "key": {
503
+ "column": "key"
504
+ },
505
+ "updatedAt": {
506
+ "column": "updatedAt"
507
+ },
508
+ "value": {
509
+ "column": "value"
510
+ }
511
+ },
512
+ "namespaceId": "public",
513
+ "table": "venueMeta"
514
+ }
515
+ },
516
+ "VenueOffer": {
517
+ "fields": {
518
+ "active": {
519
+ "nullable": false,
520
+ "type": {
521
+ "codecId": "pg/bool@1",
522
+ "kind": "scalar"
523
+ }
524
+ },
525
+ "createdAt": {
526
+ "nullable": false,
527
+ "type": {
528
+ "codecId": "pg/timestamptz-string@1",
529
+ "kind": "scalar"
530
+ }
531
+ },
532
+ "id": {
533
+ "nullable": false,
534
+ "type": {
535
+ "codecId": "pg/text@1",
536
+ "kind": "scalar"
537
+ }
538
+ },
539
+ "payload": {
540
+ "nullable": false,
541
+ "type": {
542
+ "codecId": "pg/json@1",
543
+ "kind": "scalar"
544
+ }
545
+ },
546
+ "providerAddress": {
547
+ "nullable": false,
548
+ "type": {
549
+ "codecId": "pg/text@1",
550
+ "kind": "scalar"
551
+ }
552
+ },
553
+ "updatedAt": {
554
+ "nullable": false,
555
+ "type": {
556
+ "codecId": "pg/timestamptz-string@1",
557
+ "kind": "scalar"
558
+ }
559
+ }
560
+ },
561
+ "relations": {},
562
+ "storage": {
563
+ "fields": {
564
+ "active": {
565
+ "column": "active"
566
+ },
567
+ "createdAt": {
568
+ "column": "createdAt"
569
+ },
570
+ "id": {
571
+ "column": "id"
572
+ },
573
+ "payload": {
574
+ "column": "payload"
575
+ },
576
+ "providerAddress": {
577
+ "column": "providerAddress"
578
+ },
579
+ "updatedAt": {
580
+ "column": "updatedAt"
581
+ }
582
+ },
583
+ "namespaceId": "public",
584
+ "table": "venueOffer"
585
+ }
586
+ }
587
+ }
588
+ }
589
+ }
590
+ },
591
+ "storage": {
592
+ "namespaces": {
593
+ "public": {
594
+ "entries": {
595
+ "table": {
596
+ "agentWallet": {
597
+ "columns": {
598
+ "active": {
599
+ "codecId": "pg/bool@1",
600
+ "default": {
601
+ "kind": "literal",
602
+ "value": true
603
+ },
604
+ "nativeType": "bool",
605
+ "nullable": false
606
+ },
607
+ "address": {
608
+ "codecId": "pg/text@1",
609
+ "nativeType": "text",
610
+ "nullable": false
611
+ },
612
+ "agentId": {
613
+ "codecId": "pg/text@1",
614
+ "nativeType": "text",
615
+ "nullable": true
616
+ },
617
+ "createdAt": {
618
+ "codecId": "pg/timestamptz-string@1",
619
+ "default": {
620
+ "expression": "now()",
621
+ "kind": "function"
622
+ },
623
+ "nativeType": "timestamptz",
624
+ "nullable": false
625
+ },
626
+ "id": {
627
+ "codecId": "pg/text@1",
628
+ "nativeType": "text",
629
+ "nullable": false
630
+ },
631
+ "kind": {
632
+ "codecId": "pg/text@1",
633
+ "nativeType": "text",
634
+ "nullable": false
635
+ },
636
+ "label": {
637
+ "codecId": "pg/text@1",
638
+ "nativeType": "text",
639
+ "nullable": false
640
+ },
641
+ "payload": {
642
+ "codecId": "pg/json@1",
643
+ "nativeType": "json",
644
+ "nullable": false
645
+ },
646
+ "registeredBy": {
647
+ "codecId": "pg/text@1",
648
+ "nativeType": "text",
649
+ "nullable": false
650
+ },
651
+ "updatedAt": {
652
+ "codecId": "pg/timestamptz-string@1",
653
+ "nativeType": "timestamptz",
654
+ "nullable": false
655
+ },
656
+ "venueId": {
657
+ "codecId": "pg/text@1",
658
+ "nativeType": "text",
659
+ "nullable": true
660
+ }
661
+ },
662
+ "foreignKeys": [],
663
+ "indexes": [
664
+ {
665
+ "columns": [
666
+ "active",
667
+ "createdAt"
668
+ ],
669
+ "name": "agentWallet_active_createdAt_idx_7cd57621",
670
+ "prefix": "agentWallet_active_createdAt_idx",
671
+ "unique": false
672
+ },
673
+ {
674
+ "columns": [
675
+ "agentId"
676
+ ],
677
+ "name": "agentWallet_agentId_idx_8d0ba4f0",
678
+ "prefix": "agentWallet_agentId_idx",
679
+ "unique": false
680
+ },
681
+ {
682
+ "columns": [
683
+ "venueId",
684
+ "active"
685
+ ],
686
+ "name": "agentWallet_venueId_active_idx_51915f5b",
687
+ "prefix": "agentWallet_venueId_active_idx",
688
+ "unique": false
689
+ }
690
+ ],
691
+ "primaryKey": {
692
+ "columns": [
693
+ "id"
694
+ ]
695
+ },
696
+ "uniques": [
697
+ {
698
+ "columns": [
699
+ "address"
700
+ ]
701
+ }
702
+ ]
703
+ },
704
+ "chatSubscription": {
705
+ "columns": {
706
+ "chatId": {
707
+ "codecId": "pg/int8@1",
708
+ "nativeType": "int8",
709
+ "nullable": false
710
+ },
711
+ "createdAt": {
712
+ "codecId": "pg/timestamptz-string@1",
713
+ "default": {
714
+ "expression": "now()",
715
+ "kind": "function"
716
+ },
717
+ "nativeType": "timestamptz",
718
+ "nullable": false
719
+ },
720
+ "id": {
721
+ "codecId": "pg/text@1",
722
+ "nativeType": "text",
723
+ "nullable": false
724
+ },
725
+ "updatedAt": {
726
+ "codecId": "pg/timestamptz-string@1",
727
+ "nativeType": "timestamptz",
728
+ "nullable": false
729
+ },
730
+ "username": {
731
+ "codecId": "pg/text@1",
732
+ "nativeType": "text",
733
+ "nullable": false
734
+ }
735
+ },
736
+ "foreignKeys": [],
737
+ "indexes": [],
738
+ "primaryKey": {
739
+ "columns": [
740
+ "id"
741
+ ]
742
+ },
743
+ "uniques": [
744
+ {
745
+ "columns": [
746
+ "chatId"
747
+ ]
748
+ },
749
+ {
750
+ "columns": [
751
+ "username"
752
+ ]
753
+ }
754
+ ]
755
+ },
756
+ "event": {
757
+ "columns": {
758
+ "createdAt": {
759
+ "codecId": "pg/timestamptz-string@1",
760
+ "default": {
761
+ "expression": "now()",
762
+ "kind": "function"
763
+ },
764
+ "nativeType": "timestamptz",
765
+ "nullable": false
766
+ },
767
+ "id": {
768
+ "codecId": "pg/text@1",
769
+ "nativeType": "text",
770
+ "nullable": false
771
+ },
772
+ "payload": {
773
+ "codecId": "pg/json@1",
774
+ "nativeType": "json",
775
+ "nullable": false
776
+ },
777
+ "source": {
778
+ "codecId": "pg/text@1",
779
+ "nativeType": "text",
780
+ "nullable": true
781
+ },
782
+ "type": {
783
+ "codecId": "pg/text@1",
784
+ "nativeType": "text",
785
+ "nullable": false
786
+ },
787
+ "updatedAt": {
788
+ "codecId": "pg/timestamptz-string@1",
789
+ "nativeType": "timestamptz",
790
+ "nullable": false
791
+ }
792
+ },
793
+ "foreignKeys": [],
794
+ "indexes": [
795
+ {
796
+ "columns": [
797
+ "type",
798
+ "createdAt"
799
+ ],
800
+ "name": "event_type_createdAt_idx_00d94001",
801
+ "prefix": "event_type_createdAt_idx",
802
+ "unique": false
803
+ }
804
+ ],
805
+ "primaryKey": {
806
+ "columns": [
807
+ "id"
808
+ ]
809
+ },
810
+ "uniques": []
811
+ },
812
+ "scanResult": {
813
+ "columns": {
814
+ "createdAt": {
815
+ "codecId": "pg/timestamptz-string@1",
816
+ "default": {
817
+ "expression": "now()",
818
+ "kind": "function"
819
+ },
820
+ "nativeType": "timestamptz",
821
+ "nullable": false
822
+ },
823
+ "domain": {
824
+ "codecId": "pg/text@1",
825
+ "nativeType": "text",
826
+ "nullable": false
827
+ },
828
+ "id": {
829
+ "codecId": "pg/text@1",
830
+ "nativeType": "text",
831
+ "nullable": false
832
+ },
833
+ "report": {
834
+ "codecId": "pg/json@1",
835
+ "nativeType": "json",
836
+ "nullable": false
837
+ },
838
+ "rulesetVersion": {
839
+ "codecId": "pg/text@1",
840
+ "nativeType": "text",
841
+ "nullable": true
842
+ },
843
+ "score": {
844
+ "codecId": "pg/int4@1",
845
+ "nativeType": "int4",
846
+ "nullable": true
847
+ },
848
+ "updatedAt": {
849
+ "codecId": "pg/timestamptz-string@1",
850
+ "nativeType": "timestamptz",
851
+ "nullable": false
852
+ },
853
+ "url": {
854
+ "codecId": "pg/text@1",
855
+ "nativeType": "text",
856
+ "nullable": false
857
+ }
858
+ },
859
+ "foreignKeys": [],
860
+ "indexes": [
861
+ {
862
+ "columns": [
863
+ "domain",
864
+ "createdAt"
865
+ ],
866
+ "name": "scanResult_domain_createdAt_idx_c5bd4696",
867
+ "prefix": "scanResult_domain_createdAt_idx",
868
+ "unique": false
869
+ }
870
+ ],
871
+ "primaryKey": {
872
+ "columns": [
873
+ "id"
874
+ ]
875
+ },
876
+ "uniques": []
60
877
  },
61
- "relations": {},
62
- "storage": {
63
- "fields": {
878
+ "venueJob": {
879
+ "columns": {
880
+ "client": {
881
+ "codecId": "pg/text@1",
882
+ "nativeType": "text",
883
+ "nullable": false
884
+ },
64
885
  "createdAt": {
65
- "column": "createdAt"
886
+ "codecId": "pg/timestamptz-string@1",
887
+ "default": {
888
+ "expression": "now()",
889
+ "kind": "function"
890
+ },
891
+ "nativeType": "timestamptz",
892
+ "nullable": false
66
893
  },
67
894
  "id": {
68
- "column": "id"
895
+ "codecId": "pg/text@1",
896
+ "nativeType": "text",
897
+ "nullable": false
898
+ },
899
+ "jobId": {
900
+ "codecId": "pg/text@1",
901
+ "nativeType": "text",
902
+ "nullable": false
69
903
  },
70
904
  "payload": {
71
- "column": "payload"
905
+ "codecId": "pg/json@1",
906
+ "nativeType": "json",
907
+ "nullable": false
72
908
  },
73
- "source": {
74
- "column": "source"
909
+ "provider": {
910
+ "codecId": "pg/text@1",
911
+ "nativeType": "text",
912
+ "nullable": true
75
913
  },
76
- "type": {
77
- "column": "type"
914
+ "status": {
915
+ "codecId": "pg/text@1",
916
+ "nativeType": "text",
917
+ "nullable": false
78
918
  },
79
919
  "updatedAt": {
80
- "column": "updatedAt"
920
+ "codecId": "pg/timestamptz-string@1",
921
+ "nativeType": "timestamptz",
922
+ "nullable": false
81
923
  }
82
924
  },
83
- "namespaceId": "public",
84
- "table": "event"
85
- }
86
- }
87
- }
88
- }
89
- }
90
- },
91
- "storage": {
92
- "namespaces": {
93
- "public": {
94
- "entries": {
95
- "table": {
96
- "event": {
925
+ "foreignKeys": [],
926
+ "indexes": [
927
+ {
928
+ "columns": [
929
+ "client"
930
+ ],
931
+ "name": "venueJob_client_idx_135b7ce5",
932
+ "prefix": "venueJob_client_idx",
933
+ "unique": false
934
+ },
935
+ {
936
+ "columns": [
937
+ "status",
938
+ "createdAt"
939
+ ],
940
+ "name": "venueJob_status_createdAt_idx_58610442",
941
+ "prefix": "venueJob_status_createdAt_idx",
942
+ "unique": false
943
+ }
944
+ ],
945
+ "primaryKey": {
946
+ "columns": [
947
+ "id"
948
+ ]
949
+ },
950
+ "uniques": [
951
+ {
952
+ "columns": [
953
+ "jobId"
954
+ ]
955
+ }
956
+ ]
957
+ },
958
+ "venueMeta": {
97
959
  "columns": {
960
+ "key": {
961
+ "codecId": "pg/text@1",
962
+ "nativeType": "text",
963
+ "nullable": false
964
+ },
965
+ "updatedAt": {
966
+ "codecId": "pg/timestamptz-string@1",
967
+ "nativeType": "timestamptz",
968
+ "nullable": false
969
+ },
970
+ "value": {
971
+ "codecId": "pg/json@1",
972
+ "nativeType": "json",
973
+ "nullable": false
974
+ }
975
+ },
976
+ "foreignKeys": [],
977
+ "indexes": [],
978
+ "primaryKey": {
979
+ "columns": [
980
+ "key"
981
+ ]
982
+ },
983
+ "uniques": []
984
+ },
985
+ "venueOffer": {
986
+ "columns": {
987
+ "active": {
988
+ "codecId": "pg/bool@1",
989
+ "default": {
990
+ "kind": "literal",
991
+ "value": true
992
+ },
993
+ "nativeType": "bool",
994
+ "nullable": false
995
+ },
98
996
  "createdAt": {
99
997
  "codecId": "pg/timestamptz-string@1",
100
998
  "default": {
@@ -114,12 +1012,7 @@
114
1012
  "nativeType": "json",
115
1013
  "nullable": false
116
1014
  },
117
- "source": {
118
- "codecId": "pg/text@1",
119
- "nativeType": "text",
120
- "nullable": true
121
- },
122
- "type": {
1015
+ "providerAddress": {
123
1016
  "codecId": "pg/text@1",
124
1017
  "nativeType": "text",
125
1018
  "nullable": false
@@ -134,11 +1027,11 @@
134
1027
  "indexes": [
135
1028
  {
136
1029
  "columns": [
137
- "type",
138
- "createdAt"
1030
+ "providerAddress",
1031
+ "active"
139
1032
  ],
140
- "name": "event_type_createdAt_idx_00d94001",
141
- "prefix": "event_type_createdAt_idx",
1033
+ "name": "venueOffer_providerAddress_active_idx_bf5e414c",
1034
+ "prefix": "venueOffer_providerAddress_active_idx",
142
1035
  "unique": false
143
1036
  }
144
1037
  ],
@@ -155,12 +1048,64 @@
155
1048
  "kind": "postgres-schema"
156
1049
  }
157
1050
  },
158
- "storageHash": "a5ff6d007b451cfd1899c6d722772616290d119afe49050eff5db9569aa23021"
1051
+ "storageHash": "b8e32f5ce86590030c6c80c1f24c199aae7daf9a6869951a0b1af2903d31f177"
159
1052
  },
160
1053
  "execution": {
161
- "executionHash": "d9353986428bd238a3eb9d95dc87811ed78064fca7d68d9e9fb44b10b26bc55d",
1054
+ "executionHash": "44a1f33983dd3b516b7a09d20036645e5dd41f325ead0441f78cf5b6647741a6",
162
1055
  "mutations": {
163
1056
  "defaults": [
1057
+ {
1058
+ "onCreate": {
1059
+ "id": "uuidv4",
1060
+ "kind": "generator"
1061
+ },
1062
+ "ref": {
1063
+ "column": "id",
1064
+ "namespace": "public",
1065
+ "table": "agentWallet"
1066
+ }
1067
+ },
1068
+ {
1069
+ "onCreate": {
1070
+ "id": "timestampNow",
1071
+ "kind": "generator"
1072
+ },
1073
+ "onUpdate": {
1074
+ "id": "timestampNow",
1075
+ "kind": "generator"
1076
+ },
1077
+ "ref": {
1078
+ "column": "updatedAt",
1079
+ "namespace": "public",
1080
+ "table": "agentWallet"
1081
+ }
1082
+ },
1083
+ {
1084
+ "onCreate": {
1085
+ "id": "uuidv4",
1086
+ "kind": "generator"
1087
+ },
1088
+ "ref": {
1089
+ "column": "id",
1090
+ "namespace": "public",
1091
+ "table": "chatSubscription"
1092
+ }
1093
+ },
1094
+ {
1095
+ "onCreate": {
1096
+ "id": "timestampNow",
1097
+ "kind": "generator"
1098
+ },
1099
+ "onUpdate": {
1100
+ "id": "timestampNow",
1101
+ "kind": "generator"
1102
+ },
1103
+ "ref": {
1104
+ "column": "updatedAt",
1105
+ "namespace": "public",
1106
+ "table": "chatSubscription"
1107
+ }
1108
+ },
164
1109
  {
165
1110
  "onCreate": {
166
1111
  "id": "uuidv4",
@@ -186,6 +1131,88 @@
186
1131
  "namespace": "public",
187
1132
  "table": "event"
188
1133
  }
1134
+ },
1135
+ {
1136
+ "onCreate": {
1137
+ "id": "uuidv4",
1138
+ "kind": "generator"
1139
+ },
1140
+ "ref": {
1141
+ "column": "id",
1142
+ "namespace": "public",
1143
+ "table": "scanResult"
1144
+ }
1145
+ },
1146
+ {
1147
+ "onCreate": {
1148
+ "id": "timestampNow",
1149
+ "kind": "generator"
1150
+ },
1151
+ "onUpdate": {
1152
+ "id": "timestampNow",
1153
+ "kind": "generator"
1154
+ },
1155
+ "ref": {
1156
+ "column": "updatedAt",
1157
+ "namespace": "public",
1158
+ "table": "scanResult"
1159
+ }
1160
+ },
1161
+ {
1162
+ "onCreate": {
1163
+ "id": "uuidv4",
1164
+ "kind": "generator"
1165
+ },
1166
+ "ref": {
1167
+ "column": "id",
1168
+ "namespace": "public",
1169
+ "table": "venueJob"
1170
+ }
1171
+ },
1172
+ {
1173
+ "onCreate": {
1174
+ "id": "timestampNow",
1175
+ "kind": "generator"
1176
+ },
1177
+ "onUpdate": {
1178
+ "id": "timestampNow",
1179
+ "kind": "generator"
1180
+ },
1181
+ "ref": {
1182
+ "column": "updatedAt",
1183
+ "namespace": "public",
1184
+ "table": "venueJob"
1185
+ }
1186
+ },
1187
+ {
1188
+ "onCreate": {
1189
+ "id": "timestampNow",
1190
+ "kind": "generator"
1191
+ },
1192
+ "onUpdate": {
1193
+ "id": "timestampNow",
1194
+ "kind": "generator"
1195
+ },
1196
+ "ref": {
1197
+ "column": "updatedAt",
1198
+ "namespace": "public",
1199
+ "table": "venueMeta"
1200
+ }
1201
+ },
1202
+ {
1203
+ "onCreate": {
1204
+ "id": "timestampNow",
1205
+ "kind": "generator"
1206
+ },
1207
+ "onUpdate": {
1208
+ "id": "timestampNow",
1209
+ "kind": "generator"
1210
+ },
1211
+ "ref": {
1212
+ "column": "updatedAt",
1213
+ "namespace": "public",
1214
+ "table": "venueOffer"
1215
+ }
189
1216
  }
190
1217
  ]
191
1218
  }