@morpho-dev/router 0.1.11 → 0.1.12

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.
Files changed (32) hide show
  1. package/README.md +7 -7
  2. package/dist/drizzle/{offers_v1.1 → router_v1.1}/0000_init.sql +47 -39
  3. package/dist/drizzle/{offers_v1.1/meta/0007_snapshot.json → router_v1.1/meta/0000_snapshot.json} +21 -21
  4. package/dist/drizzle/router_v1.1/meta/_journal.json +13 -0
  5. package/dist/index.browser.d.cts +186 -159
  6. package/dist/index.browser.d.ts +186 -159
  7. package/dist/index.browser.js +807 -491
  8. package/dist/index.browser.js.map +1 -1
  9. package/dist/index.browser.mjs +809 -493
  10. package/dist/index.browser.mjs.map +1 -1
  11. package/dist/index.node.d.cts +1795 -1759
  12. package/dist/index.node.d.ts +1795 -1759
  13. package/dist/index.node.js +2923 -2495
  14. package/dist/index.node.js.map +1 -1
  15. package/dist/index.node.mjs +2925 -2496
  16. package/dist/index.node.mjs.map +1 -1
  17. package/package.json +4 -4
  18. package/dist/drizzle/offers_v1.1/0001_new_table_for_collectors_block_numbers.sql +0 -5
  19. package/dist/drizzle/offers_v1.1/0002_update-liquidity-tables.sql +0 -8
  20. package/dist/drizzle/offers_v1.1/0003_add-not-null-for-queue-id.sql +0 -1
  21. package/dist/drizzle/offers_v1.1/0004_add-callback-id-to-offer.sql +0 -1
  22. package/dist/drizzle/offers_v1.1/0005_add-missing-indices-to-liquidity-tables.sql +0 -2
  23. package/dist/drizzle/offers_v1.1/0006_add-callback-amount-to-queues-table.sql +0 -1
  24. package/dist/drizzle/offers_v1.1/0007_add-index-to-created-at.sql +0 -2
  25. package/dist/drizzle/offers_v1.1/meta/0000_snapshot.json +0 -827
  26. package/dist/drizzle/offers_v1.1/meta/0001_snapshot.json +0 -827
  27. package/dist/drizzle/offers_v1.1/meta/0002_snapshot.json +0 -833
  28. package/dist/drizzle/offers_v1.1/meta/0003_snapshot.json +0 -833
  29. package/dist/drizzle/offers_v1.1/meta/0004_snapshot.json +0 -839
  30. package/dist/drizzle/offers_v1.1/meta/0005_snapshot.json +0 -877
  31. package/dist/drizzle/offers_v1.1/meta/0006_snapshot.json +0 -884
  32. package/dist/drizzle/offers_v1.1/meta/_journal.json +0 -62
@@ -1,839 +0,0 @@
1
- {
2
- "id": "c19c6ac8-9181-440a-a921-ba008637a52f",
3
- "prevId": "c30f3e83-b857-4336-a922-a2cb34f2cf0d",
4
- "version": "7",
5
- "dialect": "postgresql",
6
- "tables": {
7
- "offers_v1.1.available_liquidity_pools": {
8
- "name": "available_liquidity_pools",
9
- "schema": "offers_v1.1",
10
- "columns": {
11
- "id": {
12
- "name": "id",
13
- "type": "varchar(255)",
14
- "primaryKey": true,
15
- "notNull": true
16
- },
17
- "amount": {
18
- "name": "amount",
19
- "type": "numeric(78, 0)",
20
- "primaryKey": false,
21
- "notNull": true
22
- },
23
- "updated_at": {
24
- "name": "updated_at",
25
- "type": "timestamp",
26
- "primaryKey": false,
27
- "notNull": true,
28
- "default": "now()"
29
- }
30
- },
31
- "indexes": {},
32
- "foreignKeys": {},
33
- "compositePrimaryKeys": {},
34
- "uniqueConstraints": {},
35
- "policies": {},
36
- "checkConstraints": {},
37
- "isRLSEnabled": false
38
- },
39
- "offers_v1.1.available_liquidity_queues": {
40
- "name": "available_liquidity_queues",
41
- "schema": "offers_v1.1",
42
- "columns": {
43
- "queue_id": {
44
- "name": "queue_id",
45
- "type": "varchar(255)",
46
- "primaryKey": false,
47
- "notNull": true
48
- },
49
- "available_liquidity_pool_id": {
50
- "name": "available_liquidity_pool_id",
51
- "type": "varchar(255)",
52
- "primaryKey": false,
53
- "notNull": true
54
- },
55
- "index": {
56
- "name": "index",
57
- "type": "integer",
58
- "primaryKey": false,
59
- "notNull": true
60
- },
61
- "updated_at": {
62
- "name": "updated_at",
63
- "type": "timestamp",
64
- "primaryKey": false,
65
- "notNull": true,
66
- "default": "now()"
67
- }
68
- },
69
- "indexes": {},
70
- "foreignKeys": {
71
- "available_liquidity_queues_available_liquidity_pool_id_available_liquidity_pools_id_fk": {
72
- "name": "available_liquidity_queues_available_liquidity_pool_id_available_liquidity_pools_id_fk",
73
- "tableFrom": "available_liquidity_queues",
74
- "tableTo": "available_liquidity_pools",
75
- "schemaTo": "offers_v1.1",
76
- "columnsFrom": ["available_liquidity_pool_id"],
77
- "columnsTo": ["id"],
78
- "onDelete": "cascade",
79
- "onUpdate": "no action"
80
- }
81
- },
82
- "compositePrimaryKeys": {
83
- "available_liquidity_queues_pk": {
84
- "name": "available_liquidity_queues_pk",
85
- "columns": ["queue_id", "available_liquidity_pool_id"]
86
- }
87
- },
88
- "uniqueConstraints": {},
89
- "policies": {},
90
- "checkConstraints": {},
91
- "isRLSEnabled": false
92
- },
93
- "offers_v1.1.collector_block_numbers": {
94
- "name": "collector_block_numbers",
95
- "schema": "offers_v1.1",
96
- "columns": {
97
- "chain_id": {
98
- "name": "chain_id",
99
- "type": "bigint",
100
- "primaryKey": false,
101
- "notNull": true
102
- },
103
- "name": {
104
- "name": "name",
105
- "type": "text",
106
- "primaryKey": false,
107
- "notNull": true
108
- },
109
- "block_number": {
110
- "name": "block_number",
111
- "type": "bigint",
112
- "primaryKey": false,
113
- "notNull": true
114
- },
115
- "updated_at": {
116
- "name": "updated_at",
117
- "type": "timestamp",
118
- "primaryKey": false,
119
- "notNull": true,
120
- "default": "now()"
121
- }
122
- },
123
- "indexes": {
124
- "collector_block_numbers_chain_name_idx": {
125
- "name": "collector_block_numbers_chain_name_idx",
126
- "columns": [
127
- {
128
- "expression": "chain_id",
129
- "isExpression": false,
130
- "asc": true,
131
- "nulls": "last"
132
- },
133
- {
134
- "expression": "name",
135
- "isExpression": false,
136
- "asc": true,
137
- "nulls": "last"
138
- }
139
- ],
140
- "isUnique": true,
141
- "concurrently": false,
142
- "method": "btree",
143
- "with": {}
144
- }
145
- },
146
- "foreignKeys": {},
147
- "compositePrimaryKeys": {},
148
- "uniqueConstraints": {},
149
- "policies": {},
150
- "checkConstraints": {},
151
- "isRLSEnabled": false
152
- },
153
- "offers_v1.1.consumed_per_user_and_nonce": {
154
- "name": "consumed_per_user_and_nonce",
155
- "schema": "offers_v1.1",
156
- "columns": {
157
- "id": {
158
- "name": "id",
159
- "type": "varchar(255)",
160
- "primaryKey": true,
161
- "notNull": true
162
- },
163
- "chain_id": {
164
- "name": "chain_id",
165
- "type": "bigint",
166
- "primaryKey": false,
167
- "notNull": true
168
- },
169
- "offering": {
170
- "name": "offering",
171
- "type": "varchar(42)",
172
- "primaryKey": false,
173
- "notNull": true
174
- },
175
- "nonce": {
176
- "name": "nonce",
177
- "type": "bigint",
178
- "primaryKey": false,
179
- "notNull": true
180
- },
181
- "consumed": {
182
- "name": "consumed",
183
- "type": "numeric(78, 0)",
184
- "primaryKey": false,
185
- "notNull": true
186
- },
187
- "created_at": {
188
- "name": "created_at",
189
- "type": "timestamp",
190
- "primaryKey": false,
191
- "notNull": true,
192
- "default": "now()"
193
- }
194
- },
195
- "indexes": {
196
- "consumed_per_user_and_nonce_chain_id_offering_nonce_created_at_idx": {
197
- "name": "consumed_per_user_and_nonce_chain_id_offering_nonce_created_at_idx",
198
- "columns": [
199
- {
200
- "expression": "chain_id",
201
- "isExpression": false,
202
- "asc": true,
203
- "nulls": "last"
204
- },
205
- {
206
- "expression": "offering",
207
- "isExpression": false,
208
- "asc": true,
209
- "nulls": "last"
210
- },
211
- {
212
- "expression": "nonce",
213
- "isExpression": false,
214
- "asc": true,
215
- "nulls": "last"
216
- },
217
- {
218
- "expression": "\"created_at\" desc",
219
- "asc": true,
220
- "isExpression": true,
221
- "nulls": "last"
222
- }
223
- ],
224
- "isUnique": false,
225
- "concurrently": false,
226
- "method": "btree",
227
- "with": {}
228
- }
229
- },
230
- "foreignKeys": {},
231
- "compositePrimaryKeys": {},
232
- "uniqueConstraints": {},
233
- "policies": {},
234
- "checkConstraints": {},
235
- "isRLSEnabled": false
236
- },
237
- "offers_v1.1.offer_collaterals": {
238
- "name": "offer_collaterals",
239
- "schema": "offers_v1.1",
240
- "columns": {
241
- "id": {
242
- "name": "id",
243
- "type": "serial",
244
- "primaryKey": true,
245
- "notNull": true
246
- },
247
- "offer_hash": {
248
- "name": "offer_hash",
249
- "type": "varchar(66)",
250
- "primaryKey": false,
251
- "notNull": true
252
- },
253
- "asset": {
254
- "name": "asset",
255
- "type": "varchar(42)",
256
- "primaryKey": false,
257
- "notNull": true
258
- },
259
- "oracle": {
260
- "name": "oracle",
261
- "type": "varchar(42)",
262
- "primaryKey": false,
263
- "notNull": true
264
- },
265
- "lltv": {
266
- "name": "lltv",
267
- "type": "bigint",
268
- "primaryKey": false,
269
- "notNull": true
270
- }
271
- },
272
- "indexes": {
273
- "offer_collaterals_offer_hash_idx": {
274
- "name": "offer_collaterals_offer_hash_idx",
275
- "columns": [
276
- {
277
- "expression": "offer_hash",
278
- "isExpression": false,
279
- "asc": true,
280
- "nulls": "last"
281
- }
282
- ],
283
- "isUnique": false,
284
- "concurrently": false,
285
- "method": "btree",
286
- "with": {}
287
- },
288
- "offer_collaterals_asset_idx": {
289
- "name": "offer_collaterals_asset_idx",
290
- "columns": [
291
- {
292
- "expression": "asset",
293
- "isExpression": false,
294
- "asc": true,
295
- "nulls": "last"
296
- }
297
- ],
298
- "isUnique": false,
299
- "concurrently": false,
300
- "method": "btree",
301
- "with": {}
302
- },
303
- "offer_collaterals_oracle_idx": {
304
- "name": "offer_collaterals_oracle_idx",
305
- "columns": [
306
- {
307
- "expression": "oracle",
308
- "isExpression": false,
309
- "asc": true,
310
- "nulls": "last"
311
- }
312
- ],
313
- "isUnique": false,
314
- "concurrently": false,
315
- "method": "btree",
316
- "with": {}
317
- },
318
- "offer_collaterals_tuple_idx": {
319
- "name": "offer_collaterals_tuple_idx",
320
- "columns": [
321
- {
322
- "expression": "asset",
323
- "isExpression": false,
324
- "asc": true,
325
- "nulls": "last"
326
- },
327
- {
328
- "expression": "oracle",
329
- "isExpression": false,
330
- "asc": true,
331
- "nulls": "last"
332
- },
333
- {
334
- "expression": "lltv",
335
- "isExpression": false,
336
- "asc": true,
337
- "nulls": "last"
338
- }
339
- ],
340
- "isUnique": false,
341
- "concurrently": false,
342
- "method": "btree",
343
- "with": {}
344
- }
345
- },
346
- "foreignKeys": {
347
- "offer_collaterals_offer_hash_offers_hash_fk": {
348
- "name": "offer_collaterals_offer_hash_offers_hash_fk",
349
- "tableFrom": "offer_collaterals",
350
- "tableTo": "offers",
351
- "schemaTo": "offers_v1.1",
352
- "columnsFrom": ["offer_hash"],
353
- "columnsTo": ["hash"],
354
- "onDelete": "cascade",
355
- "onUpdate": "no action"
356
- }
357
- },
358
- "compositePrimaryKeys": {},
359
- "uniqueConstraints": {},
360
- "policies": {},
361
- "checkConstraints": {},
362
- "isRLSEnabled": false
363
- },
364
- "offers_v1.1.offer_status": {
365
- "name": "offer_status",
366
- "schema": "offers_v1.1",
367
- "columns": {
368
- "id": {
369
- "name": "id",
370
- "type": "serial",
371
- "primaryKey": true,
372
- "notNull": true
373
- },
374
- "offer_hash": {
375
- "name": "offer_hash",
376
- "type": "varchar(66)",
377
- "primaryKey": false,
378
- "notNull": true
379
- },
380
- "status": {
381
- "name": "status",
382
- "type": "text",
383
- "primaryKey": false,
384
- "notNull": true
385
- },
386
- "metadata": {
387
- "name": "metadata",
388
- "type": "jsonb",
389
- "primaryKey": false,
390
- "notNull": false
391
- },
392
- "created_at": {
393
- "name": "created_at",
394
- "type": "timestamp",
395
- "primaryKey": false,
396
- "notNull": true,
397
- "default": "now()"
398
- }
399
- },
400
- "indexes": {
401
- "offer_status_offer_hash_created_at_idx": {
402
- "name": "offer_status_offer_hash_created_at_idx",
403
- "columns": [
404
- {
405
- "expression": "offer_hash",
406
- "isExpression": false,
407
- "asc": true,
408
- "nulls": "last"
409
- },
410
- {
411
- "expression": "\"created_at\" desc",
412
- "asc": true,
413
- "isExpression": true,
414
- "nulls": "last"
415
- }
416
- ],
417
- "isUnique": false,
418
- "concurrently": false,
419
- "method": "btree",
420
- "with": {}
421
- },
422
- "offer_status_status_idx": {
423
- "name": "offer_status_status_idx",
424
- "columns": [
425
- {
426
- "expression": "status",
427
- "isExpression": false,
428
- "asc": true,
429
- "nulls": "last"
430
- }
431
- ],
432
- "isUnique": false,
433
- "concurrently": false,
434
- "method": "btree",
435
- "with": {}
436
- }
437
- },
438
- "foreignKeys": {
439
- "offer_status_offer_hash_offers_hash_fk": {
440
- "name": "offer_status_offer_hash_offers_hash_fk",
441
- "tableFrom": "offer_status",
442
- "tableTo": "offers",
443
- "schemaTo": "offers_v1.1",
444
- "columnsFrom": ["offer_hash"],
445
- "columnsTo": ["hash"],
446
- "onDelete": "cascade",
447
- "onUpdate": "no action"
448
- }
449
- },
450
- "compositePrimaryKeys": {},
451
- "uniqueConstraints": {},
452
- "policies": {},
453
- "checkConstraints": {},
454
- "isRLSEnabled": false
455
- },
456
- "offers_v1.1.offers": {
457
- "name": "offers",
458
- "schema": "offers_v1.1",
459
- "columns": {
460
- "hash": {
461
- "name": "hash",
462
- "type": "varchar(66)",
463
- "primaryKey": true,
464
- "notNull": true
465
- },
466
- "offering": {
467
- "name": "offering",
468
- "type": "varchar(42)",
469
- "primaryKey": false,
470
- "notNull": true
471
- },
472
- "assets": {
473
- "name": "assets",
474
- "type": "numeric(78, 0)",
475
- "primaryKey": false,
476
- "notNull": true
477
- },
478
- "rate": {
479
- "name": "rate",
480
- "type": "bigint",
481
- "primaryKey": false,
482
- "notNull": true
483
- },
484
- "maturity": {
485
- "name": "maturity",
486
- "type": "integer",
487
- "primaryKey": false,
488
- "notNull": true
489
- },
490
- "expiry": {
491
- "name": "expiry",
492
- "type": "integer",
493
- "primaryKey": false,
494
- "notNull": true
495
- },
496
- "start": {
497
- "name": "start",
498
- "type": "integer",
499
- "primaryKey": false,
500
- "notNull": true
501
- },
502
- "nonce": {
503
- "name": "nonce",
504
- "type": "bigint",
505
- "primaryKey": false,
506
- "notNull": true
507
- },
508
- "buy": {
509
- "name": "buy",
510
- "type": "boolean",
511
- "primaryKey": false,
512
- "notNull": true
513
- },
514
- "chain_id": {
515
- "name": "chain_id",
516
- "type": "bigint",
517
- "primaryKey": false,
518
- "notNull": true
519
- },
520
- "loan_token": {
521
- "name": "loan_token",
522
- "type": "varchar(42)",
523
- "primaryKey": false,
524
- "notNull": true
525
- },
526
- "callback_address": {
527
- "name": "callback_address",
528
- "type": "varchar(42)",
529
- "primaryKey": false,
530
- "notNull": true
531
- },
532
- "callback_data": {
533
- "name": "callback_data",
534
- "type": "text",
535
- "primaryKey": false,
536
- "notNull": true
537
- },
538
- "callback_gas_limit": {
539
- "name": "callback_gas_limit",
540
- "type": "bigint",
541
- "primaryKey": false,
542
- "notNull": true
543
- },
544
- "signature": {
545
- "name": "signature",
546
- "type": "varchar(132)",
547
- "primaryKey": false,
548
- "notNull": false
549
- },
550
- "callback_id": {
551
- "name": "callback_id",
552
- "type": "varchar(256)",
553
- "primaryKey": false,
554
- "notNull": false
555
- },
556
- "created_at": {
557
- "name": "created_at",
558
- "type": "timestamp",
559
- "primaryKey": false,
560
- "notNull": true,
561
- "default": "now()"
562
- }
563
- },
564
- "indexes": {
565
- "offers_offering_idx": {
566
- "name": "offers_offering_idx",
567
- "columns": [
568
- {
569
- "expression": "offering",
570
- "isExpression": false,
571
- "asc": true,
572
- "nulls": "last"
573
- }
574
- ],
575
- "isUnique": false,
576
- "concurrently": false,
577
- "method": "btree",
578
- "with": {}
579
- },
580
- "offers_buy_idx": {
581
- "name": "offers_buy_idx",
582
- "columns": [
583
- {
584
- "expression": "buy",
585
- "isExpression": false,
586
- "asc": true,
587
- "nulls": "last"
588
- }
589
- ],
590
- "isUnique": false,
591
- "concurrently": false,
592
- "method": "btree",
593
- "with": {}
594
- },
595
- "offers_chain_id_idx": {
596
- "name": "offers_chain_id_idx",
597
- "columns": [
598
- {
599
- "expression": "chain_id",
600
- "isExpression": false,
601
- "asc": true,
602
- "nulls": "last"
603
- }
604
- ],
605
- "isUnique": false,
606
- "concurrently": false,
607
- "method": "btree",
608
- "with": {}
609
- },
610
- "offers_loan_token_idx": {
611
- "name": "offers_loan_token_idx",
612
- "columns": [
613
- {
614
- "expression": "loan_token",
615
- "isExpression": false,
616
- "asc": true,
617
- "nulls": "last"
618
- }
619
- ],
620
- "isUnique": false,
621
- "concurrently": false,
622
- "method": "btree",
623
- "with": {}
624
- },
625
- "offers_maturity_idx": {
626
- "name": "offers_maturity_idx",
627
- "columns": [
628
- {
629
- "expression": "maturity",
630
- "isExpression": false,
631
- "asc": true,
632
- "nulls": "last"
633
- }
634
- ],
635
- "isUnique": false,
636
- "concurrently": false,
637
- "method": "btree",
638
- "with": {}
639
- },
640
- "offers_expiry_idx": {
641
- "name": "offers_expiry_idx",
642
- "columns": [
643
- {
644
- "expression": "expiry",
645
- "isExpression": false,
646
- "asc": true,
647
- "nulls": "last"
648
- }
649
- ],
650
- "isUnique": false,
651
- "concurrently": false,
652
- "method": "btree",
653
- "with": {}
654
- },
655
- "offers_rate_idx": {
656
- "name": "offers_rate_idx",
657
- "columns": [
658
- {
659
- "expression": "rate",
660
- "isExpression": false,
661
- "asc": true,
662
- "nulls": "last"
663
- }
664
- ],
665
- "isUnique": false,
666
- "concurrently": false,
667
- "method": "btree",
668
- "with": {}
669
- },
670
- "offers_assets_idx": {
671
- "name": "offers_assets_idx",
672
- "columns": [
673
- {
674
- "expression": "assets",
675
- "isExpression": false,
676
- "asc": true,
677
- "nulls": "last"
678
- }
679
- ],
680
- "isUnique": false,
681
- "concurrently": false,
682
- "method": "btree",
683
- "with": {}
684
- },
685
- "offers_rate_hash_idx": {
686
- "name": "offers_rate_hash_idx",
687
- "columns": [
688
- {
689
- "expression": "rate",
690
- "isExpression": false,
691
- "asc": true,
692
- "nulls": "last"
693
- },
694
- {
695
- "expression": "hash",
696
- "isExpression": false,
697
- "asc": true,
698
- "nulls": "last"
699
- }
700
- ],
701
- "isUnique": false,
702
- "concurrently": false,
703
- "method": "btree",
704
- "with": {}
705
- },
706
- "offers_maturity_hash_idx": {
707
- "name": "offers_maturity_hash_idx",
708
- "columns": [
709
- {
710
- "expression": "maturity",
711
- "isExpression": false,
712
- "asc": true,
713
- "nulls": "last"
714
- },
715
- {
716
- "expression": "hash",
717
- "isExpression": false,
718
- "asc": true,
719
- "nulls": "last"
720
- }
721
- ],
722
- "isUnique": false,
723
- "concurrently": false,
724
- "method": "btree",
725
- "with": {}
726
- },
727
- "offers_expiry_hash_idx": {
728
- "name": "offers_expiry_hash_idx",
729
- "columns": [
730
- {
731
- "expression": "expiry",
732
- "isExpression": false,
733
- "asc": true,
734
- "nulls": "last"
735
- },
736
- {
737
- "expression": "hash",
738
- "isExpression": false,
739
- "asc": true,
740
- "nulls": "last"
741
- }
742
- ],
743
- "isUnique": false,
744
- "concurrently": false,
745
- "method": "btree",
746
- "with": {}
747
- },
748
- "offers_assets_hash_idx": {
749
- "name": "offers_assets_hash_idx",
750
- "columns": [
751
- {
752
- "expression": "assets",
753
- "isExpression": false,
754
- "asc": true,
755
- "nulls": "last"
756
- },
757
- {
758
- "expression": "hash",
759
- "isExpression": false,
760
- "asc": true,
761
- "nulls": "last"
762
- }
763
- ],
764
- "isUnique": false,
765
- "concurrently": false,
766
- "method": "btree",
767
- "with": {}
768
- }
769
- },
770
- "foreignKeys": {},
771
- "compositePrimaryKeys": {},
772
- "uniqueConstraints": {},
773
- "policies": {},
774
- "checkConstraints": {},
775
- "isRLSEnabled": false
776
- },
777
- "offers_v1.1.user_positions": {
778
- "name": "user_positions",
779
- "schema": "offers_v1.1",
780
- "columns": {
781
- "id": {
782
- "name": "id",
783
- "type": "varchar(255)",
784
- "primaryKey": true,
785
- "notNull": true
786
- },
787
- "available_liquidity_queue_id": {
788
- "name": "available_liquidity_queue_id",
789
- "type": "varchar(255)",
790
- "primaryKey": false,
791
- "notNull": true
792
- },
793
- "user": {
794
- "name": "user",
795
- "type": "varchar(255)",
796
- "primaryKey": false,
797
- "notNull": true
798
- },
799
- "chain_id": {
800
- "name": "chain_id",
801
- "type": "bigint",
802
- "primaryKey": false,
803
- "notNull": true
804
- },
805
- "amount": {
806
- "name": "amount",
807
- "type": "numeric(78, 0)",
808
- "primaryKey": false,
809
- "notNull": true
810
- },
811
- "updated_at": {
812
- "name": "updated_at",
813
- "type": "timestamp",
814
- "primaryKey": false,
815
- "notNull": true,
816
- "default": "now()"
817
- }
818
- },
819
- "indexes": {},
820
- "foreignKeys": {},
821
- "compositePrimaryKeys": {},
822
- "uniqueConstraints": {},
823
- "policies": {},
824
- "checkConstraints": {},
825
- "isRLSEnabled": false
826
- }
827
- },
828
- "enums": {},
829
- "schemas": {},
830
- "sequences": {},
831
- "roles": {},
832
- "policies": {},
833
- "views": {},
834
- "_meta": {
835
- "columns": {},
836
- "schemas": {},
837
- "tables": {}
838
- }
839
- }