attraverso 0.0.1 → 0.1.1

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 (71) hide show
  1. package/README.txt +9 -0
  2. package/assets/migrations/0000_burly_firestar.sql +76 -0
  3. package/assets/migrations/0001_sleepy_gorilla_man.sql +27 -0
  4. package/assets/migrations/0002_smart_ikaris.sql +14 -0
  5. package/assets/migrations/0003_pink_zodiak.sql +17 -0
  6. package/assets/migrations/0004_loose_hitman.sql +14 -0
  7. package/assets/migrations/0005_glamorous_typhoid_mary.sql +5 -0
  8. package/assets/migrations/0006_slow_deadpool.sql +1 -0
  9. package/assets/migrations/0007_jittery_tag.sql +8 -0
  10. package/assets/migrations/0008_daily_firestar.sql +1 -0
  11. package/assets/migrations/0009_cute_marvex.sql +13 -0
  12. package/assets/migrations/0010_acoustic_pixie.sql +10 -0
  13. package/assets/migrations/0011_orange_rawhide_kid.sql +1 -0
  14. package/assets/migrations/0012_smiling_butterfly.sql +23 -0
  15. package/assets/migrations/0013_kind_bloodscream.sql +9 -0
  16. package/assets/migrations/meta/0000_snapshot.json +629 -0
  17. package/assets/migrations/meta/0001_snapshot.json +852 -0
  18. package/assets/migrations/meta/0002_snapshot.json +972 -0
  19. package/assets/migrations/meta/0003_snapshot.json +1130 -0
  20. package/assets/migrations/meta/0004_snapshot.json +1244 -0
  21. package/assets/migrations/meta/0005_snapshot.json +1275 -0
  22. package/assets/migrations/meta/0006_snapshot.json +1276 -0
  23. package/assets/migrations/meta/0007_snapshot.json +1376 -0
  24. package/assets/migrations/meta/0008_snapshot.json +1241 -0
  25. package/assets/migrations/meta/0009_snapshot.json +1241 -0
  26. package/assets/migrations/meta/0010_snapshot.json +1329 -0
  27. package/assets/migrations/meta/0011_snapshot.json +1322 -0
  28. package/assets/migrations/meta/0012_snapshot.json +1516 -0
  29. package/assets/migrations/meta/0013_snapshot.json +1576 -0
  30. package/assets/migrations/meta/_journal.json +104 -0
  31. package/assets/nodefs-BbnD6x79.js +33 -0
  32. package/assets/opfs-ahp-CFnUNF4E.js +308 -0
  33. package/assets/postgres-X5RxLyOz.js +5438 -0
  34. package/initdb.wasm +0 -0
  35. package/migrations/0000_burly_firestar.sql +76 -0
  36. package/migrations/0001_sleepy_gorilla_man.sql +27 -0
  37. package/migrations/0002_smart_ikaris.sql +14 -0
  38. package/migrations/0003_pink_zodiak.sql +17 -0
  39. package/migrations/0004_loose_hitman.sql +14 -0
  40. package/migrations/0005_glamorous_typhoid_mary.sql +5 -0
  41. package/migrations/0006_slow_deadpool.sql +1 -0
  42. package/migrations/0007_jittery_tag.sql +8 -0
  43. package/migrations/0008_daily_firestar.sql +1 -0
  44. package/migrations/0009_cute_marvex.sql +13 -0
  45. package/migrations/0010_acoustic_pixie.sql +10 -0
  46. package/migrations/0011_orange_rawhide_kid.sql +1 -0
  47. package/migrations/0012_smiling_butterfly.sql +23 -0
  48. package/migrations/0013_kind_bloodscream.sql +9 -0
  49. package/migrations/meta/0000_snapshot.json +629 -0
  50. package/migrations/meta/0001_snapshot.json +852 -0
  51. package/migrations/meta/0002_snapshot.json +972 -0
  52. package/migrations/meta/0003_snapshot.json +1130 -0
  53. package/migrations/meta/0004_snapshot.json +1244 -0
  54. package/migrations/meta/0005_snapshot.json +1275 -0
  55. package/migrations/meta/0006_snapshot.json +1276 -0
  56. package/migrations/meta/0007_snapshot.json +1376 -0
  57. package/migrations/meta/0008_snapshot.json +1241 -0
  58. package/migrations/meta/0009_snapshot.json +1241 -0
  59. package/migrations/meta/0010_snapshot.json +1329 -0
  60. package/migrations/meta/0011_snapshot.json +1322 -0
  61. package/migrations/meta/0012_snapshot.json +1516 -0
  62. package/migrations/meta/0013_snapshot.json +1576 -0
  63. package/migrations/meta/_journal.json +104 -0
  64. package/package.json +28 -4
  65. package/pglite.data +37667 -8
  66. package/pglite.wasm +0 -0
  67. package/server.js +47451 -0
  68. package/viewer/assets/index-BW6lgiAa.css +1 -0
  69. package/viewer/assets/index-CBMcK_jK.js +90 -0
  70. package/viewer/index.html +13 -0
  71. package/README.md +0 -19
@@ -0,0 +1,1130 @@
1
+ {
2
+ "id": "d3cf23dc-a63a-434c-8084-5d4bfec4f260",
3
+ "prevId": "ea0d4628-d8b5-495a-a4b0-b36309b3e57d",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.areas": {
8
+ "name": "areas",
9
+ "schema": "",
10
+ "columns": {
11
+ "id": {
12
+ "name": "id",
13
+ "type": "text",
14
+ "primaryKey": true,
15
+ "notNull": true
16
+ },
17
+ "project_id": {
18
+ "name": "project_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true
22
+ },
23
+ "key": {
24
+ "name": "key",
25
+ "type": "text",
26
+ "primaryKey": false,
27
+ "notNull": true
28
+ },
29
+ "name": {
30
+ "name": "name",
31
+ "type": "text",
32
+ "primaryKey": false,
33
+ "notNull": true
34
+ },
35
+ "description": {
36
+ "name": "description",
37
+ "type": "text",
38
+ "primaryKey": false,
39
+ "notNull": false
40
+ },
41
+ "colour": {
42
+ "name": "colour",
43
+ "type": "text",
44
+ "primaryKey": false,
45
+ "notNull": false
46
+ },
47
+ "sort_order": {
48
+ "name": "sort_order",
49
+ "type": "integer",
50
+ "primaryKey": false,
51
+ "notNull": true,
52
+ "default": 0
53
+ },
54
+ "created_at": {
55
+ "name": "created_at",
56
+ "type": "text",
57
+ "primaryKey": false,
58
+ "notNull": true
59
+ }
60
+ },
61
+ "indexes": {
62
+ "areas_project_key": {
63
+ "name": "areas_project_key",
64
+ "columns": [
65
+ {
66
+ "expression": "project_id",
67
+ "isExpression": false,
68
+ "asc": true,
69
+ "nulls": "last"
70
+ },
71
+ {
72
+ "expression": "key",
73
+ "isExpression": false,
74
+ "asc": true,
75
+ "nulls": "last"
76
+ }
77
+ ],
78
+ "isUnique": true,
79
+ "concurrently": false,
80
+ "method": "btree",
81
+ "with": {}
82
+ }
83
+ },
84
+ "foreignKeys": {
85
+ "areas_project_id_projects_id_fk": {
86
+ "name": "areas_project_id_projects_id_fk",
87
+ "tableFrom": "areas",
88
+ "tableTo": "projects",
89
+ "columnsFrom": [
90
+ "project_id"
91
+ ],
92
+ "columnsTo": [
93
+ "id"
94
+ ],
95
+ "onDelete": "cascade",
96
+ "onUpdate": "no action"
97
+ }
98
+ },
99
+ "compositePrimaryKeys": {},
100
+ "uniqueConstraints": {},
101
+ "policies": {},
102
+ "checkConstraints": {},
103
+ "isRLSEnabled": false
104
+ },
105
+ "public.attachments": {
106
+ "name": "attachments",
107
+ "schema": "",
108
+ "columns": {
109
+ "id": {
110
+ "name": "id",
111
+ "type": "text",
112
+ "primaryKey": true,
113
+ "notNull": true
114
+ },
115
+ "project_id": {
116
+ "name": "project_id",
117
+ "type": "text",
118
+ "primaryKey": false,
119
+ "notNull": true
120
+ },
121
+ "item_id": {
122
+ "name": "item_id",
123
+ "type": "text",
124
+ "primaryKey": false,
125
+ "notNull": false
126
+ },
127
+ "hash": {
128
+ "name": "hash",
129
+ "type": "text",
130
+ "primaryKey": false,
131
+ "notNull": true
132
+ },
133
+ "mime": {
134
+ "name": "mime",
135
+ "type": "text",
136
+ "primaryKey": false,
137
+ "notNull": true
138
+ },
139
+ "bytes": {
140
+ "name": "bytes",
141
+ "type": "integer",
142
+ "primaryKey": false,
143
+ "notNull": true
144
+ },
145
+ "caption": {
146
+ "name": "caption",
147
+ "type": "text",
148
+ "primaryKey": false,
149
+ "notNull": false
150
+ },
151
+ "actor": {
152
+ "name": "actor",
153
+ "type": "text",
154
+ "primaryKey": false,
155
+ "notNull": true
156
+ },
157
+ "created_at": {
158
+ "name": "created_at",
159
+ "type": "text",
160
+ "primaryKey": false,
161
+ "notNull": true
162
+ }
163
+ },
164
+ "indexes": {
165
+ "attachments_project_item": {
166
+ "name": "attachments_project_item",
167
+ "columns": [
168
+ {
169
+ "expression": "project_id",
170
+ "isExpression": false,
171
+ "asc": true,
172
+ "nulls": "last"
173
+ },
174
+ {
175
+ "expression": "item_id",
176
+ "isExpression": false,
177
+ "asc": true,
178
+ "nulls": "last"
179
+ }
180
+ ],
181
+ "isUnique": false,
182
+ "concurrently": false,
183
+ "method": "btree",
184
+ "with": {}
185
+ },
186
+ "attachments_hash": {
187
+ "name": "attachments_hash",
188
+ "columns": [
189
+ {
190
+ "expression": "hash",
191
+ "isExpression": false,
192
+ "asc": true,
193
+ "nulls": "last"
194
+ }
195
+ ],
196
+ "isUnique": false,
197
+ "concurrently": false,
198
+ "method": "btree",
199
+ "with": {}
200
+ },
201
+ "attachments_item_hash": {
202
+ "name": "attachments_item_hash",
203
+ "columns": [
204
+ {
205
+ "expression": "project_id",
206
+ "isExpression": false,
207
+ "asc": true,
208
+ "nulls": "last"
209
+ },
210
+ {
211
+ "expression": "item_id",
212
+ "isExpression": false,
213
+ "asc": true,
214
+ "nulls": "last"
215
+ },
216
+ {
217
+ "expression": "hash",
218
+ "isExpression": false,
219
+ "asc": true,
220
+ "nulls": "last"
221
+ }
222
+ ],
223
+ "isUnique": true,
224
+ "concurrently": false,
225
+ "method": "btree",
226
+ "with": {}
227
+ }
228
+ },
229
+ "foreignKeys": {
230
+ "attachments_project_id_projects_id_fk": {
231
+ "name": "attachments_project_id_projects_id_fk",
232
+ "tableFrom": "attachments",
233
+ "tableTo": "projects",
234
+ "columnsFrom": [
235
+ "project_id"
236
+ ],
237
+ "columnsTo": [
238
+ "id"
239
+ ],
240
+ "onDelete": "cascade",
241
+ "onUpdate": "no action"
242
+ },
243
+ "attachments_item_id_items_id_fk": {
244
+ "name": "attachments_item_id_items_id_fk",
245
+ "tableFrom": "attachments",
246
+ "tableTo": "items",
247
+ "columnsFrom": [
248
+ "item_id"
249
+ ],
250
+ "columnsTo": [
251
+ "id"
252
+ ],
253
+ "onDelete": "cascade",
254
+ "onUpdate": "no action"
255
+ }
256
+ },
257
+ "compositePrimaryKeys": {},
258
+ "uniqueConstraints": {},
259
+ "policies": {},
260
+ "checkConstraints": {},
261
+ "isRLSEnabled": false
262
+ },
263
+ "public.context_sections": {
264
+ "name": "context_sections",
265
+ "schema": "",
266
+ "columns": {
267
+ "id": {
268
+ "name": "id",
269
+ "type": "text",
270
+ "primaryKey": true,
271
+ "notNull": true
272
+ },
273
+ "project_id": {
274
+ "name": "project_id",
275
+ "type": "text",
276
+ "primaryKey": false,
277
+ "notNull": true
278
+ },
279
+ "heading": {
280
+ "name": "heading",
281
+ "type": "text",
282
+ "primaryKey": false,
283
+ "notNull": true
284
+ },
285
+ "content": {
286
+ "name": "content",
287
+ "type": "text",
288
+ "primaryKey": false,
289
+ "notNull": true
290
+ },
291
+ "sort_order": {
292
+ "name": "sort_order",
293
+ "type": "integer",
294
+ "primaryKey": false,
295
+ "notNull": true,
296
+ "default": 0
297
+ },
298
+ "created_at": {
299
+ "name": "created_at",
300
+ "type": "text",
301
+ "primaryKey": false,
302
+ "notNull": true
303
+ },
304
+ "updated_at": {
305
+ "name": "updated_at",
306
+ "type": "text",
307
+ "primaryKey": false,
308
+ "notNull": true
309
+ }
310
+ },
311
+ "indexes": {
312
+ "context_sections_project_heading": {
313
+ "name": "context_sections_project_heading",
314
+ "columns": [
315
+ {
316
+ "expression": "project_id",
317
+ "isExpression": false,
318
+ "asc": true,
319
+ "nulls": "last"
320
+ },
321
+ {
322
+ "expression": "heading",
323
+ "isExpression": false,
324
+ "asc": true,
325
+ "nulls": "last"
326
+ }
327
+ ],
328
+ "isUnique": true,
329
+ "concurrently": false,
330
+ "method": "btree",
331
+ "with": {}
332
+ },
333
+ "context_sections_project_order": {
334
+ "name": "context_sections_project_order",
335
+ "columns": [
336
+ {
337
+ "expression": "project_id",
338
+ "isExpression": false,
339
+ "asc": true,
340
+ "nulls": "last"
341
+ },
342
+ {
343
+ "expression": "sort_order",
344
+ "isExpression": false,
345
+ "asc": true,
346
+ "nulls": "last"
347
+ }
348
+ ],
349
+ "isUnique": false,
350
+ "concurrently": false,
351
+ "method": "btree",
352
+ "with": {}
353
+ }
354
+ },
355
+ "foreignKeys": {
356
+ "context_sections_project_id_projects_id_fk": {
357
+ "name": "context_sections_project_id_projects_id_fk",
358
+ "tableFrom": "context_sections",
359
+ "tableTo": "projects",
360
+ "columnsFrom": [
361
+ "project_id"
362
+ ],
363
+ "columnsTo": [
364
+ "id"
365
+ ],
366
+ "onDelete": "cascade",
367
+ "onUpdate": "no action"
368
+ }
369
+ },
370
+ "compositePrimaryKeys": {},
371
+ "uniqueConstraints": {},
372
+ "policies": {},
373
+ "checkConstraints": {},
374
+ "isRLSEnabled": false
375
+ },
376
+ "public.dependencies": {
377
+ "name": "dependencies",
378
+ "schema": "",
379
+ "columns": {
380
+ "item_id": {
381
+ "name": "item_id",
382
+ "type": "text",
383
+ "primaryKey": false,
384
+ "notNull": true
385
+ },
386
+ "depends_on_id": {
387
+ "name": "depends_on_id",
388
+ "type": "text",
389
+ "primaryKey": false,
390
+ "notNull": true
391
+ },
392
+ "created_at": {
393
+ "name": "created_at",
394
+ "type": "text",
395
+ "primaryKey": false,
396
+ "notNull": true
397
+ }
398
+ },
399
+ "indexes": {
400
+ "dependencies_depends_on": {
401
+ "name": "dependencies_depends_on",
402
+ "columns": [
403
+ {
404
+ "expression": "depends_on_id",
405
+ "isExpression": false,
406
+ "asc": true,
407
+ "nulls": "last"
408
+ }
409
+ ],
410
+ "isUnique": false,
411
+ "concurrently": false,
412
+ "method": "btree",
413
+ "with": {}
414
+ }
415
+ },
416
+ "foreignKeys": {
417
+ "dependencies_item_id_items_id_fk": {
418
+ "name": "dependencies_item_id_items_id_fk",
419
+ "tableFrom": "dependencies",
420
+ "tableTo": "items",
421
+ "columnsFrom": [
422
+ "item_id"
423
+ ],
424
+ "columnsTo": [
425
+ "id"
426
+ ],
427
+ "onDelete": "cascade",
428
+ "onUpdate": "no action"
429
+ },
430
+ "dependencies_depends_on_id_items_id_fk": {
431
+ "name": "dependencies_depends_on_id_items_id_fk",
432
+ "tableFrom": "dependencies",
433
+ "tableTo": "items",
434
+ "columnsFrom": [
435
+ "depends_on_id"
436
+ ],
437
+ "columnsTo": [
438
+ "id"
439
+ ],
440
+ "onDelete": "cascade",
441
+ "onUpdate": "no action"
442
+ }
443
+ },
444
+ "compositePrimaryKeys": {
445
+ "dependencies_item_id_depends_on_id_pk": {
446
+ "name": "dependencies_item_id_depends_on_id_pk",
447
+ "columns": [
448
+ "item_id",
449
+ "depends_on_id"
450
+ ]
451
+ }
452
+ },
453
+ "uniqueConstraints": {},
454
+ "policies": {},
455
+ "checkConstraints": {},
456
+ "isRLSEnabled": false
457
+ },
458
+ "public.events": {
459
+ "name": "events",
460
+ "schema": "",
461
+ "columns": {
462
+ "id": {
463
+ "name": "id",
464
+ "type": "text",
465
+ "primaryKey": true,
466
+ "notNull": true
467
+ },
468
+ "project_id": {
469
+ "name": "project_id",
470
+ "type": "text",
471
+ "primaryKey": false,
472
+ "notNull": false
473
+ },
474
+ "entity_type": {
475
+ "name": "entity_type",
476
+ "type": "text",
477
+ "primaryKey": false,
478
+ "notNull": true
479
+ },
480
+ "entity_id": {
481
+ "name": "entity_id",
482
+ "type": "text",
483
+ "primaryKey": false,
484
+ "notNull": true
485
+ },
486
+ "at": {
487
+ "name": "at",
488
+ "type": "text",
489
+ "primaryKey": false,
490
+ "notNull": true
491
+ },
492
+ "actor": {
493
+ "name": "actor",
494
+ "type": "text",
495
+ "primaryKey": false,
496
+ "notNull": true
497
+ },
498
+ "kind": {
499
+ "name": "kind",
500
+ "type": "text",
501
+ "primaryKey": false,
502
+ "notNull": true
503
+ },
504
+ "correlation_id": {
505
+ "name": "correlation_id",
506
+ "type": "text",
507
+ "primaryKey": false,
508
+ "notNull": false
509
+ },
510
+ "before": {
511
+ "name": "before",
512
+ "type": "text",
513
+ "primaryKey": false,
514
+ "notNull": false
515
+ },
516
+ "after": {
517
+ "name": "after",
518
+ "type": "text",
519
+ "primaryKey": false,
520
+ "notNull": false
521
+ }
522
+ },
523
+ "indexes": {
524
+ "events_entity": {
525
+ "name": "events_entity",
526
+ "columns": [
527
+ {
528
+ "expression": "entity_type",
529
+ "isExpression": false,
530
+ "asc": true,
531
+ "nulls": "last"
532
+ },
533
+ {
534
+ "expression": "entity_id",
535
+ "isExpression": false,
536
+ "asc": true,
537
+ "nulls": "last"
538
+ }
539
+ ],
540
+ "isUnique": false,
541
+ "concurrently": false,
542
+ "method": "btree",
543
+ "with": {}
544
+ },
545
+ "events_project_at": {
546
+ "name": "events_project_at",
547
+ "columns": [
548
+ {
549
+ "expression": "project_id",
550
+ "isExpression": false,
551
+ "asc": true,
552
+ "nulls": "last"
553
+ },
554
+ {
555
+ "expression": "at",
556
+ "isExpression": false,
557
+ "asc": true,
558
+ "nulls": "last"
559
+ }
560
+ ],
561
+ "isUnique": false,
562
+ "concurrently": false,
563
+ "method": "btree",
564
+ "with": {}
565
+ }
566
+ },
567
+ "foreignKeys": {
568
+ "events_project_id_projects_id_fk": {
569
+ "name": "events_project_id_projects_id_fk",
570
+ "tableFrom": "events",
571
+ "tableTo": "projects",
572
+ "columnsFrom": [
573
+ "project_id"
574
+ ],
575
+ "columnsTo": [
576
+ "id"
577
+ ],
578
+ "onDelete": "cascade",
579
+ "onUpdate": "no action"
580
+ }
581
+ },
582
+ "compositePrimaryKeys": {},
583
+ "uniqueConstraints": {},
584
+ "policies": {},
585
+ "checkConstraints": {},
586
+ "isRLSEnabled": false
587
+ },
588
+ "public.items": {
589
+ "name": "items",
590
+ "schema": "",
591
+ "columns": {
592
+ "id": {
593
+ "name": "id",
594
+ "type": "text",
595
+ "primaryKey": true,
596
+ "notNull": true
597
+ },
598
+ "project_id": {
599
+ "name": "project_id",
600
+ "type": "text",
601
+ "primaryKey": false,
602
+ "notNull": true
603
+ },
604
+ "ref": {
605
+ "name": "ref",
606
+ "type": "text",
607
+ "primaryKey": false,
608
+ "notNull": true
609
+ },
610
+ "area_key": {
611
+ "name": "area_key",
612
+ "type": "text",
613
+ "primaryKey": false,
614
+ "notNull": true
615
+ },
616
+ "sort_path": {
617
+ "name": "sort_path",
618
+ "type": "text",
619
+ "primaryKey": false,
620
+ "notNull": true
621
+ },
622
+ "parent_id": {
623
+ "name": "parent_id",
624
+ "type": "text",
625
+ "primaryKey": false,
626
+ "notNull": false
627
+ },
628
+ "title": {
629
+ "name": "title",
630
+ "type": "text",
631
+ "primaryKey": false,
632
+ "notNull": true
633
+ },
634
+ "body": {
635
+ "name": "body",
636
+ "type": "text",
637
+ "primaryKey": false,
638
+ "notNull": false
639
+ },
640
+ "status": {
641
+ "name": "status",
642
+ "type": "text",
643
+ "primaryKey": false,
644
+ "notNull": true
645
+ },
646
+ "priority": {
647
+ "name": "priority",
648
+ "type": "integer",
649
+ "primaryKey": false,
650
+ "notNull": true,
651
+ "default": 0
652
+ },
653
+ "created_at": {
654
+ "name": "created_at",
655
+ "type": "text",
656
+ "primaryKey": false,
657
+ "notNull": true
658
+ },
659
+ "updated_at": {
660
+ "name": "updated_at",
661
+ "type": "text",
662
+ "primaryKey": false,
663
+ "notNull": true
664
+ },
665
+ "closed_at": {
666
+ "name": "closed_at",
667
+ "type": "text",
668
+ "primaryKey": false,
669
+ "notNull": false
670
+ },
671
+ "deleted_at": {
672
+ "name": "deleted_at",
673
+ "type": "text",
674
+ "primaryKey": false,
675
+ "notNull": false
676
+ }
677
+ },
678
+ "indexes": {
679
+ "items_project_ref": {
680
+ "name": "items_project_ref",
681
+ "columns": [
682
+ {
683
+ "expression": "project_id",
684
+ "isExpression": false,
685
+ "asc": true,
686
+ "nulls": "last"
687
+ },
688
+ {
689
+ "expression": "ref",
690
+ "isExpression": false,
691
+ "asc": true,
692
+ "nulls": "last"
693
+ }
694
+ ],
695
+ "isUnique": true,
696
+ "concurrently": false,
697
+ "method": "btree",
698
+ "with": {}
699
+ },
700
+ "items_project_status": {
701
+ "name": "items_project_status",
702
+ "columns": [
703
+ {
704
+ "expression": "project_id",
705
+ "isExpression": false,
706
+ "asc": true,
707
+ "nulls": "last"
708
+ },
709
+ {
710
+ "expression": "status",
711
+ "isExpression": false,
712
+ "asc": true,
713
+ "nulls": "last"
714
+ }
715
+ ],
716
+ "isUnique": false,
717
+ "concurrently": false,
718
+ "method": "btree",
719
+ "with": {}
720
+ },
721
+ "items_project_area": {
722
+ "name": "items_project_area",
723
+ "columns": [
724
+ {
725
+ "expression": "project_id",
726
+ "isExpression": false,
727
+ "asc": true,
728
+ "nulls": "last"
729
+ },
730
+ {
731
+ "expression": "area_key",
732
+ "isExpression": false,
733
+ "asc": true,
734
+ "nulls": "last"
735
+ }
736
+ ],
737
+ "isUnique": false,
738
+ "concurrently": false,
739
+ "method": "btree",
740
+ "with": {}
741
+ },
742
+ "items_project_sort": {
743
+ "name": "items_project_sort",
744
+ "columns": [
745
+ {
746
+ "expression": "project_id",
747
+ "isExpression": false,
748
+ "asc": true,
749
+ "nulls": "last"
750
+ },
751
+ {
752
+ "expression": "sort_path",
753
+ "isExpression": false,
754
+ "asc": true,
755
+ "nulls": "last"
756
+ }
757
+ ],
758
+ "isUnique": false,
759
+ "concurrently": false,
760
+ "method": "btree",
761
+ "with": {}
762
+ },
763
+ "items_parent": {
764
+ "name": "items_parent",
765
+ "columns": [
766
+ {
767
+ "expression": "parent_id",
768
+ "isExpression": false,
769
+ "asc": true,
770
+ "nulls": "last"
771
+ }
772
+ ],
773
+ "isUnique": false,
774
+ "concurrently": false,
775
+ "method": "btree",
776
+ "with": {}
777
+ }
778
+ },
779
+ "foreignKeys": {
780
+ "items_project_id_projects_id_fk": {
781
+ "name": "items_project_id_projects_id_fk",
782
+ "tableFrom": "items",
783
+ "tableTo": "projects",
784
+ "columnsFrom": [
785
+ "project_id"
786
+ ],
787
+ "columnsTo": [
788
+ "id"
789
+ ],
790
+ "onDelete": "cascade",
791
+ "onUpdate": "no action"
792
+ },
793
+ "items_parent_id_items_id_fk": {
794
+ "name": "items_parent_id_items_id_fk",
795
+ "tableFrom": "items",
796
+ "tableTo": "items",
797
+ "columnsFrom": [
798
+ "parent_id"
799
+ ],
800
+ "columnsTo": [
801
+ "id"
802
+ ],
803
+ "onDelete": "cascade",
804
+ "onUpdate": "no action"
805
+ }
806
+ },
807
+ "compositePrimaryKeys": {},
808
+ "uniqueConstraints": {},
809
+ "policies": {},
810
+ "checkConstraints": {},
811
+ "isRLSEnabled": false
812
+ },
813
+ "public.notes": {
814
+ "name": "notes",
815
+ "schema": "",
816
+ "columns": {
817
+ "id": {
818
+ "name": "id",
819
+ "type": "text",
820
+ "primaryKey": true,
821
+ "notNull": true
822
+ },
823
+ "project_id": {
824
+ "name": "project_id",
825
+ "type": "text",
826
+ "primaryKey": false,
827
+ "notNull": true
828
+ },
829
+ "item_id": {
830
+ "name": "item_id",
831
+ "type": "text",
832
+ "primaryKey": false,
833
+ "notNull": false
834
+ },
835
+ "body": {
836
+ "name": "body",
837
+ "type": "text",
838
+ "primaryKey": false,
839
+ "notNull": true
840
+ },
841
+ "audience": {
842
+ "name": "audience",
843
+ "type": "text",
844
+ "primaryKey": false,
845
+ "notNull": true,
846
+ "default": "'user'"
847
+ },
848
+ "actor": {
849
+ "name": "actor",
850
+ "type": "text",
851
+ "primaryKey": false,
852
+ "notNull": true
853
+ },
854
+ "created_at": {
855
+ "name": "created_at",
856
+ "type": "text",
857
+ "primaryKey": false,
858
+ "notNull": true
859
+ }
860
+ },
861
+ "indexes": {
862
+ "notes_project_created": {
863
+ "name": "notes_project_created",
864
+ "columns": [
865
+ {
866
+ "expression": "project_id",
867
+ "isExpression": false,
868
+ "asc": true,
869
+ "nulls": "last"
870
+ },
871
+ {
872
+ "expression": "created_at",
873
+ "isExpression": false,
874
+ "asc": true,
875
+ "nulls": "last"
876
+ }
877
+ ],
878
+ "isUnique": false,
879
+ "concurrently": false,
880
+ "method": "btree",
881
+ "with": {}
882
+ },
883
+ "notes_item": {
884
+ "name": "notes_item",
885
+ "columns": [
886
+ {
887
+ "expression": "item_id",
888
+ "isExpression": false,
889
+ "asc": true,
890
+ "nulls": "last"
891
+ }
892
+ ],
893
+ "isUnique": false,
894
+ "concurrently": false,
895
+ "method": "btree",
896
+ "with": {}
897
+ }
898
+ },
899
+ "foreignKeys": {
900
+ "notes_project_id_projects_id_fk": {
901
+ "name": "notes_project_id_projects_id_fk",
902
+ "tableFrom": "notes",
903
+ "tableTo": "projects",
904
+ "columnsFrom": [
905
+ "project_id"
906
+ ],
907
+ "columnsTo": [
908
+ "id"
909
+ ],
910
+ "onDelete": "cascade",
911
+ "onUpdate": "no action"
912
+ },
913
+ "notes_item_id_items_id_fk": {
914
+ "name": "notes_item_id_items_id_fk",
915
+ "tableFrom": "notes",
916
+ "tableTo": "items",
917
+ "columnsFrom": [
918
+ "item_id"
919
+ ],
920
+ "columnsTo": [
921
+ "id"
922
+ ],
923
+ "onDelete": "cascade",
924
+ "onUpdate": "no action"
925
+ }
926
+ },
927
+ "compositePrimaryKeys": {},
928
+ "uniqueConstraints": {},
929
+ "policies": {},
930
+ "checkConstraints": {},
931
+ "isRLSEnabled": false
932
+ },
933
+ "public.projects": {
934
+ "name": "projects",
935
+ "schema": "",
936
+ "columns": {
937
+ "id": {
938
+ "name": "id",
939
+ "type": "text",
940
+ "primaryKey": true,
941
+ "notNull": true
942
+ },
943
+ "key": {
944
+ "name": "key",
945
+ "type": "text",
946
+ "primaryKey": false,
947
+ "notNull": true
948
+ },
949
+ "name": {
950
+ "name": "name",
951
+ "type": "text",
952
+ "primaryKey": false,
953
+ "notNull": true
954
+ },
955
+ "type": {
956
+ "name": "type",
957
+ "type": "text",
958
+ "primaryKey": false,
959
+ "notNull": true
960
+ },
961
+ "direction": {
962
+ "name": "direction",
963
+ "type": "text",
964
+ "primaryKey": false,
965
+ "notNull": false
966
+ },
967
+ "status": {
968
+ "name": "status",
969
+ "type": "text",
970
+ "primaryKey": false,
971
+ "notNull": true
972
+ },
973
+ "created_at": {
974
+ "name": "created_at",
975
+ "type": "text",
976
+ "primaryKey": false,
977
+ "notNull": true
978
+ },
979
+ "updated_at": {
980
+ "name": "updated_at",
981
+ "type": "text",
982
+ "primaryKey": false,
983
+ "notNull": true
984
+ },
985
+ "archived_at": {
986
+ "name": "archived_at",
987
+ "type": "text",
988
+ "primaryKey": false,
989
+ "notNull": false
990
+ }
991
+ },
992
+ "indexes": {},
993
+ "foreignKeys": {},
994
+ "compositePrimaryKeys": {},
995
+ "uniqueConstraints": {
996
+ "projects_key_unique": {
997
+ "name": "projects_key_unique",
998
+ "nullsNotDistinct": false,
999
+ "columns": [
1000
+ "key"
1001
+ ]
1002
+ }
1003
+ },
1004
+ "policies": {},
1005
+ "checkConstraints": {},
1006
+ "isRLSEnabled": false
1007
+ },
1008
+ "public.sessions": {
1009
+ "name": "sessions",
1010
+ "schema": "",
1011
+ "columns": {
1012
+ "id": {
1013
+ "name": "id",
1014
+ "type": "text",
1015
+ "primaryKey": true,
1016
+ "notNull": true
1017
+ },
1018
+ "project_id": {
1019
+ "name": "project_id",
1020
+ "type": "text",
1021
+ "primaryKey": false,
1022
+ "notNull": true
1023
+ },
1024
+ "started_at": {
1025
+ "name": "started_at",
1026
+ "type": "text",
1027
+ "primaryKey": false,
1028
+ "notNull": true
1029
+ },
1030
+ "ended_at": {
1031
+ "name": "ended_at",
1032
+ "type": "text",
1033
+ "primaryKey": false,
1034
+ "notNull": false
1035
+ },
1036
+ "summary": {
1037
+ "name": "summary",
1038
+ "type": "text",
1039
+ "primaryKey": false,
1040
+ "notNull": false
1041
+ },
1042
+ "actor": {
1043
+ "name": "actor",
1044
+ "type": "text",
1045
+ "primaryKey": false,
1046
+ "notNull": true
1047
+ },
1048
+ "compacted_into": {
1049
+ "name": "compacted_into",
1050
+ "type": "text",
1051
+ "primaryKey": false,
1052
+ "notNull": false
1053
+ },
1054
+ "created_at": {
1055
+ "name": "created_at",
1056
+ "type": "text",
1057
+ "primaryKey": false,
1058
+ "notNull": true
1059
+ }
1060
+ },
1061
+ "indexes": {
1062
+ "sessions_project_started": {
1063
+ "name": "sessions_project_started",
1064
+ "columns": [
1065
+ {
1066
+ "expression": "project_id",
1067
+ "isExpression": false,
1068
+ "asc": true,
1069
+ "nulls": "last"
1070
+ },
1071
+ {
1072
+ "expression": "started_at",
1073
+ "isExpression": false,
1074
+ "asc": true,
1075
+ "nulls": "last"
1076
+ }
1077
+ ],
1078
+ "isUnique": false,
1079
+ "concurrently": false,
1080
+ "method": "btree",
1081
+ "with": {}
1082
+ }
1083
+ },
1084
+ "foreignKeys": {
1085
+ "sessions_project_id_projects_id_fk": {
1086
+ "name": "sessions_project_id_projects_id_fk",
1087
+ "tableFrom": "sessions",
1088
+ "tableTo": "projects",
1089
+ "columnsFrom": [
1090
+ "project_id"
1091
+ ],
1092
+ "columnsTo": [
1093
+ "id"
1094
+ ],
1095
+ "onDelete": "cascade",
1096
+ "onUpdate": "no action"
1097
+ },
1098
+ "sessions_compacted_into_sessions_id_fk": {
1099
+ "name": "sessions_compacted_into_sessions_id_fk",
1100
+ "tableFrom": "sessions",
1101
+ "tableTo": "sessions",
1102
+ "columnsFrom": [
1103
+ "compacted_into"
1104
+ ],
1105
+ "columnsTo": [
1106
+ "id"
1107
+ ],
1108
+ "onDelete": "set null",
1109
+ "onUpdate": "no action"
1110
+ }
1111
+ },
1112
+ "compositePrimaryKeys": {},
1113
+ "uniqueConstraints": {},
1114
+ "policies": {},
1115
+ "checkConstraints": {},
1116
+ "isRLSEnabled": false
1117
+ }
1118
+ },
1119
+ "enums": {},
1120
+ "schemas": {},
1121
+ "sequences": {},
1122
+ "roles": {},
1123
+ "policies": {},
1124
+ "views": {},
1125
+ "_meta": {
1126
+ "columns": {},
1127
+ "schemas": {},
1128
+ "tables": {}
1129
+ }
1130
+ }