@c15t/backend 0.0.1-rc.21 → 0.0.1-rc.22

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 (132) hide show
  1. package/.turbo/turbo-build.log +28 -28
  2. package/.turbo/turbo-fmt.log +3 -3
  3. package/.turbo/turbo-test.log +382 -35
  4. package/coverage/coverage-final.json +83 -0
  5. package/coverage/coverage-summary.json +84 -0
  6. package/coverage/html/backend/index.html +116 -0
  7. package/coverage/html/backend/rslib.config.ts.html +424 -0
  8. package/coverage/html/backend/src/core.ts.html +796 -0
  9. package/coverage/html/backend/src/index.html +131 -0
  10. package/coverage/html/backend/src/init.ts.html +1072 -0
  11. package/coverage/html/backend/src/integrations/cloudflare.ts.html +889 -0
  12. package/coverage/html/backend/src/integrations/index.html +146 -0
  13. package/coverage/html/backend/src/integrations/next.ts.html +691 -0
  14. package/coverage/html/backend/src/integrations/node.ts.html +505 -0
  15. package/coverage/html/backend/src/pkgs/api-router/hooks/index.html +116 -0
  16. package/coverage/html/backend/src/pkgs/api-router/hooks/processor.ts.html +538 -0
  17. package/coverage/html/backend/src/pkgs/api-router/index.html +131 -0
  18. package/coverage/html/backend/src/pkgs/api-router/index.ts.html +529 -0
  19. package/coverage/html/backend/src/pkgs/api-router/telemetry.ts.html +334 -0
  20. package/coverage/html/backend/src/pkgs/api-router/utils/cors.ts.html +304 -0
  21. package/coverage/html/backend/src/pkgs/api-router/utils/define-route.ts.html +1315 -0
  22. package/coverage/html/backend/src/pkgs/api-router/utils/index.html +146 -0
  23. package/coverage/html/backend/src/pkgs/api-router/utils/ip.ts.html +361 -0
  24. package/coverage/html/backend/src/pkgs/data-model/fields/field-factory.ts.html +709 -0
  25. package/coverage/html/backend/src/pkgs/data-model/fields/id-generator.ts.html +256 -0
  26. package/coverage/html/backend/src/pkgs/data-model/fields/index.html +161 -0
  27. package/coverage/html/backend/src/pkgs/data-model/fields/superjson-utils.ts.html +136 -0
  28. package/coverage/html/backend/src/pkgs/data-model/fields/zod-fields.ts.html +496 -0
  29. package/coverage/html/backend/src/pkgs/data-model/hooks/create-hooks.ts.html +349 -0
  30. package/coverage/html/backend/src/pkgs/data-model/hooks/index.html +176 -0
  31. package/coverage/html/backend/src/pkgs/data-model/hooks/update-hooks.ts.html +358 -0
  32. package/coverage/html/backend/src/pkgs/data-model/hooks/update-many-hooks.ts.html +613 -0
  33. package/coverage/html/backend/src/pkgs/data-model/hooks/utils.ts.html +538 -0
  34. package/coverage/html/backend/src/pkgs/data-model/hooks/with-hooks-factory.ts.html +289 -0
  35. package/coverage/html/backend/src/pkgs/db-adapters/adapter-factory.ts.html +277 -0
  36. package/coverage/html/backend/src/pkgs/db-adapters/adapters/drizzle-adapter/drizzle-adapter.ts.html +2212 -0
  37. package/coverage/html/backend/src/pkgs/db-adapters/adapters/drizzle-adapter/index.html +116 -0
  38. package/coverage/html/backend/src/pkgs/db-adapters/adapters/index.html +116 -0
  39. package/coverage/html/backend/src/pkgs/db-adapters/adapters/kysely-adapter/dialect.ts.html +676 -0
  40. package/coverage/html/backend/src/pkgs/db-adapters/adapters/kysely-adapter/index.html +131 -0
  41. package/coverage/html/backend/src/pkgs/db-adapters/adapters/kysely-adapter/kysely-adapter.ts.html +3637 -0
  42. package/coverage/html/backend/src/pkgs/db-adapters/adapters/kysely-adapter/tests/index.html +116 -0
  43. package/coverage/html/backend/src/pkgs/db-adapters/adapters/kysely-adapter/tests/test-utils.ts.html +1417 -0
  44. package/coverage/html/backend/src/pkgs/db-adapters/adapters/memory-adapter/index.html +116 -0
  45. package/coverage/html/backend/src/pkgs/db-adapters/adapters/memory-adapter/memory-adapter.ts.html +2074 -0
  46. package/coverage/html/backend/src/pkgs/db-adapters/adapters/prisma-adapter/index.html +116 -0
  47. package/coverage/html/backend/src/pkgs/db-adapters/adapters/prisma-adapter/prisma-adapter.ts.html +1837 -0
  48. package/coverage/html/backend/src/pkgs/db-adapters/adapters/test.ts.html +316 -0
  49. package/coverage/html/backend/src/pkgs/db-adapters/index.html +131 -0
  50. package/coverage/html/backend/src/pkgs/db-adapters/utils.ts.html +238 -0
  51. package/coverage/html/backend/src/pkgs/logger/console-formatter.ts.html +310 -0
  52. package/coverage/html/backend/src/pkgs/logger/index.html +176 -0
  53. package/coverage/html/backend/src/pkgs/logger/log-levels.ts.html +223 -0
  54. package/coverage/html/backend/src/pkgs/logger/logger-factory.ts.html +448 -0
  55. package/coverage/html/backend/src/pkgs/logger/result-logging.ts.html +487 -0
  56. package/coverage/html/backend/src/pkgs/logger/telemetry.ts.html +373 -0
  57. package/coverage/html/backend/src/pkgs/migrations/get-migration.ts.html +343 -0
  58. package/coverage/html/backend/src/pkgs/migrations/get-schema/get-schema.ts.html +217 -0
  59. package/coverage/html/backend/src/pkgs/migrations/get-schema/index.html +146 -0
  60. package/coverage/html/backend/src/pkgs/migrations/get-schema/process-fields.ts.html +280 -0
  61. package/coverage/html/backend/src/pkgs/migrations/get-schema/process-tables.ts.html +289 -0
  62. package/coverage/html/backend/src/pkgs/migrations/index.html +176 -0
  63. package/coverage/html/backend/src/pkgs/migrations/migration-builders.ts.html +595 -0
  64. package/coverage/html/backend/src/pkgs/migrations/migration-execution.ts.html +301 -0
  65. package/coverage/html/backend/src/pkgs/migrations/schema-comparison.ts.html +691 -0
  66. package/coverage/html/backend/src/pkgs/migrations/type-mapping.ts.html +817 -0
  67. package/coverage/html/backend/src/pkgs/results/core/error-class.ts.html +1012 -0
  68. package/coverage/html/backend/src/pkgs/results/core/error-codes.ts.html +703 -0
  69. package/coverage/html/backend/src/pkgs/results/core/index.html +146 -0
  70. package/coverage/html/backend/src/pkgs/results/core/tracing.ts.html +280 -0
  71. package/coverage/html/backend/src/pkgs/results/create-telemetry-options.ts.html +271 -0
  72. package/coverage/html/backend/src/pkgs/results/h3-integration.ts.html +511 -0
  73. package/coverage/html/backend/src/pkgs/results/index.html +131 -0
  74. package/coverage/html/backend/src/pkgs/results/pipeline/index.html +131 -0
  75. package/coverage/html/backend/src/pkgs/results/pipeline/retrieval-pipeline.ts.html +649 -0
  76. package/coverage/html/backend/src/pkgs/results/pipeline/validation-pipeline.ts.html +577 -0
  77. package/coverage/html/backend/src/pkgs/results/results/index.html +131 -0
  78. package/coverage/html/backend/src/pkgs/results/results/recovery-utils.ts.html +628 -0
  79. package/coverage/html/backend/src/pkgs/results/results/result-helpers.ts.html +1234 -0
  80. package/coverage/html/backend/src/pkgs/utils/env.ts.html +337 -0
  81. package/coverage/html/backend/src/pkgs/utils/index.html +131 -0
  82. package/coverage/html/backend/src/pkgs/utils/url.ts.html +400 -0
  83. package/coverage/html/backend/src/routes/index.html +176 -0
  84. package/coverage/html/backend/src/routes/index.ts.html +121 -0
  85. package/coverage/html/backend/src/routes/set-consent.ts.html +832 -0
  86. package/coverage/html/backend/src/routes/show-consent-banner.ts.html +478 -0
  87. package/coverage/html/backend/src/routes/status.ts.html +268 -0
  88. package/coverage/html/backend/src/routes/verify-consent.ts.html +703 -0
  89. package/coverage/html/backend/src/schema/audit-log/index.html +146 -0
  90. package/coverage/html/backend/src/schema/audit-log/registry.ts.html +436 -0
  91. package/coverage/html/backend/src/schema/audit-log/schema.ts.html +223 -0
  92. package/coverage/html/backend/src/schema/audit-log/table.ts.html +640 -0
  93. package/coverage/html/backend/src/schema/consent/index.html +146 -0
  94. package/coverage/html/backend/src/schema/consent/registry.ts.html +616 -0
  95. package/coverage/html/backend/src/schema/consent/schema.ts.html +238 -0
  96. package/coverage/html/backend/src/schema/consent/table.ts.html +748 -0
  97. package/coverage/html/backend/src/schema/consent-policy/index.html +146 -0
  98. package/coverage/html/backend/src/schema/consent-policy/registry.ts.html +1063 -0
  99. package/coverage/html/backend/src/schema/consent-policy/schema.ts.html +265 -0
  100. package/coverage/html/backend/src/schema/consent-policy/table.ts.html +535 -0
  101. package/coverage/html/backend/src/schema/consent-purpose/index.html +146 -0
  102. package/coverage/html/backend/src/schema/consent-purpose/registry.ts.html +589 -0
  103. package/coverage/html/backend/src/schema/consent-purpose/schema.ts.html +259 -0
  104. package/coverage/html/backend/src/schema/consent-purpose/table.ts.html +547 -0
  105. package/coverage/html/backend/src/schema/consent-record/index.html +131 -0
  106. package/coverage/html/backend/src/schema/consent-record/schema.ts.html +211 -0
  107. package/coverage/html/backend/src/schema/consent-record/table.ts.html +457 -0
  108. package/coverage/html/backend/src/schema/create-registry.ts.html +148 -0
  109. package/coverage/html/backend/src/schema/definition.ts.html +685 -0
  110. package/coverage/html/backend/src/schema/domain/index.html +146 -0
  111. package/coverage/html/backend/src/schema/domain/registry.ts.html +973 -0
  112. package/coverage/html/backend/src/schema/domain/schema.ts.html +214 -0
  113. package/coverage/html/backend/src/schema/domain/table.ts.html +496 -0
  114. package/coverage/html/backend/src/schema/index.html +146 -0
  115. package/coverage/html/backend/src/schema/schemas.ts.html +166 -0
  116. package/coverage/html/backend/src/schema/subject/index.html +146 -0
  117. package/coverage/html/backend/src/schema/subject/registry.ts.html +973 -0
  118. package/coverage/html/backend/src/schema/subject/schema.ts.html +208 -0
  119. package/coverage/html/backend/src/schema/subject/table.ts.html +499 -0
  120. package/coverage/html/base.css +224 -0
  121. package/coverage/html/block-navigation.js +87 -0
  122. package/coverage/html/favicon.png +0 -0
  123. package/coverage/html/index.html +581 -0
  124. package/coverage/html/prettify.css +1 -0
  125. package/coverage/html/prettify.js +2 -0
  126. package/coverage/html/sort-arrow-sprite.png +0 -0
  127. package/coverage/html/sorter.js +196 -0
  128. package/dist/index.cjs +1 -1
  129. package/dist/index.js +1 -1
  130. package/package.json +8 -6
  131. package/vitest.config.ts +14 -11
  132. package/.turbo/turbo-lint.log +0 -6
@@ -1,39 +1,16 @@
1
1
 
2
2
  
3
- > @c15t/backend@0.0.1-rc.21 build /Users/christopherburns/glados/k/c15t/packages/backend
3
+ > @c15t/backend@0.0.1-rc.22 build /Users/christopherburns/glados/k/c15t/packages/backend
4
4
  > rslib build
5
5
 
6
6
    Rslib v0.6.2
7
7
  
8
- ready  built in 0.37 s (esm)
9
- ready  built in 0.36 s (cjs)
10
8
  start  generating declaration files... (esm)
9
+ ready  built in 2.59 s (esm)
10
+ ready  built in 2.57 s (cjs)
11
11
  start  generating declaration files... (cjs)
12
- ready  declaration files generated in 3.12 s (cjs)
13
- ready  declaration files generated in 3.20 s (esm)
14
-
15
-  File (esm) Size 
16
- dist/pkgs/types/index.js 0.00 kB
17
- dist/pkgs/data-model/fields/index.js 5.6 kB
18
- dist/pkgs/logger/index.js 7.2 kB
19
- dist/integrations/node.js 9.1 kB
20
- dist/integrations/next.js 9.6 kB
21
- dist/integrations/cloudflare.js 11.7 kB
22
- dist/pkgs/results/index.js 22.2 kB
23
- dist/pkgs/db-adapters/adapters/memory-adapter/index.js 49.4 kB
24
- dist/pkgs/db-adapters/adapters/prisma-adapter/index.js 52.6 kB
25
- dist/pkgs/db-adapters/adapters/drizzle-adapter/index.js 55.1 kB
26
- dist/pkgs/migrations/index.js 55.5 kB
27
- dist/pkgs/db-adapters/adapters/kysely-adapter/index.js 60.4 kB
28
- dist/pkgs/data-model/schema/index.js 74.6 kB
29
- dist/schema/index.js 74.8 kB
30
- dist/pkgs/data-model/index.js 75.5 kB
31
- dist/pkgs/db-adapters/index.js 94.3 kB
32
- dist/index.js 154.4 kB
33
-
34
- Total: 811.9 kB
35
-
36
-  -----
12
+ ready  declaration files generated in 6.04 s (esm)
13
+ ready  declaration files generated in 5.83 s (cjs)
37
14
 
38
15
   File (cjs) Size 
39
16
  dist/pkgs/types/index.cjs 0.60 kB
@@ -56,3 +33,26 @@
56
33
 
57
34
  Total: 870.3 kB
58
35
 
36
+  -----
37
+
38
+  File (esm) Size 
39
+ dist/pkgs/types/index.js 0.00 kB
40
+ dist/pkgs/data-model/fields/index.js 5.6 kB
41
+ dist/pkgs/logger/index.js 7.2 kB
42
+ dist/integrations/node.js 9.1 kB
43
+ dist/integrations/next.js 9.6 kB
44
+ dist/integrations/cloudflare.js 11.7 kB
45
+ dist/pkgs/results/index.js 22.2 kB
46
+ dist/pkgs/db-adapters/adapters/memory-adapter/index.js 49.4 kB
47
+ dist/pkgs/db-adapters/adapters/prisma-adapter/index.js 52.6 kB
48
+ dist/pkgs/db-adapters/adapters/drizzle-adapter/index.js 55.1 kB
49
+ dist/pkgs/migrations/index.js 55.5 kB
50
+ dist/pkgs/db-adapters/adapters/kysely-adapter/index.js 60.4 kB
51
+ dist/pkgs/data-model/schema/index.js 74.6 kB
52
+ dist/schema/index.js 74.8 kB
53
+ dist/pkgs/data-model/index.js 75.5 kB
54
+ dist/pkgs/db-adapters/index.js 94.3 kB
55
+ dist/index.js 154.4 kB
56
+
57
+ Total: 811.9 kB
58
+
@@ -1,7 +1,7 @@
1
1
 
2
2
  
3
- > @c15t/backend@0.0.1-rc.20 fmt /Users/christopherburns/glados/k/c15t/packages/backend
3
+ > @c15t/backend@0.0.1-rc.21 fmt /Users/christopherburns/glados/k/c15t/packages/backend
4
4
  > pnpm biome format --write . && biome check --formatter-enabled=false --linter-enabled=false --organize-imports-enabled=true --write
5
5
 
6
- Formatted 167 files in 82ms. No fixes applied.
7
- Checked 362 files in 56ms. Fixed 28 files.
6
+ Formatted 167 files in 56ms. No fixes applied.
7
+ Checked 362 files in 92ms. Fixed 28 files.
@@ -1,78 +1,425 @@
1
1
 
2
2
  
3
- > @c15t/backend@0.0.1-rc.19 test /Users/christopherburns/glados/k/c15t/packages/backend
4
- > vitest
3
+ > @c15t/backend@0.0.1-rc.21 test /Users/christopherburns/glados/k/c15t/packages/backend
4
+ > vitest run
5
5
 
6
6
  [?25l
7
-  DEV  v3.1.1 /Users/christopherburns/glados/k/c15t/packages/backend
7
+  RUN  v3.1.1 /Users/christopherburns/glados/k/c15t/packages/backend
8
+ Coverage enabled with istanbul
8
9
 
9
10
  [?2026h
11
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
12
+
13
+  Test Files 0 passed (23)
14
+  Tests 0 passed (0)
15
+  Start at 02:06:10
16
+  Duration 411ms
17
+ [?2026l[?2026h
18
+  ❯ src/init.test.ts [queued]
19
+  ❯ src/pkgs/api-router/hooks/__tests__/processor.test.ts [queued]
20
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
21
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
22
+  ❯ src/pkgs/logger/__tests__/integration.test.ts [queued]
23
+  ❯ src/pkgs/logger/__tests__/logger-factory.test.ts [queued]
24
+  ❯ src/pkgs/logger/__tests__/result-logging.test.ts [queued]
25
+  ❯ src/pkgs/results/__tests__/error-class.test.ts [queued]
26
+  ❯ src/pkgs/results/__tests__/result-helpers.test.ts [queued]
27
+  ❯ src/routes/__test__/set-consent.test.ts [queued]
10
28
   ❯ src/routes/__test__/verify-consent.test.ts [queued]
11
29
 
12
30
   Test Files 0 passed (23)
13
31
   Tests 0 passed (0)
14
-  Start at 19:43:01
15
-  Duration 307ms
16
- [?2026l[?2026h
32
+  Start at 02:06:10
33
+  Duration 952ms
34
+ [?2026l[?2026h
35
+  ❯ src/init.test.ts [queued]
17
36
   ❯ src/pkgs/api-router/hooks/__tests__/processor.test.ts 0/6
18
37
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
19
38
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
39
+  ❯ src/pkgs/logger/__tests__/integration.test.ts [queued]
40
+  ❯ src/pkgs/logger/__tests__/logger-factory.test.ts [queued]
41
+  ❯ src/pkgs/logger/__tests__/result-logging.test.ts 0/7
42
+  ❯ src/pkgs/results/__tests__/error-class.test.ts [queued]
20
43
   ❯ src/pkgs/results/__tests__/result-helpers.test.ts [queued]
21
44
   ❯ src/routes/__test__/set-consent.test.ts [queued]
22
45
   ❯ src/routes/__test__/verify-consent.test.ts [queued]
23
46
 
24
47
   Test Files 0 passed (23)
25
-  Tests 0 passed (6)
26
-  Start at 19:43:01
27
-  Duration 418ms
28
- [?2026l[?2026h ✓ src/pkgs/api-router/hooks/__tests__/processor.test.ts (6 tests) 20ms
48
+  Tests 0 passed (13)
49
+  Start at 02:06:10
50
+  Duration 1.19s
51
+ [?2026l[?2026h ✓ src/pkgs/api-router/hooks/__tests__/processor.test.ts (6 tests) 24ms
52
+ ✓ src/pkgs/logger/__tests__/result-logging.test.ts (7 tests) 10ms
53
+ ✓ src/pkgs/logger/__tests__/logger-factory.test.ts (7 tests) 9ms
29
54
 
55
+  ❯ src/init.test.ts [queued]
30
56
   ❯ src/pkgs/api-router/hooks/__tests__/processor.test.ts 6/6
31
57
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
32
58
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
59
+  ❯ src/pkgs/logger/__tests__/integration.test.ts 1/5
60
+  ❯ src/pkgs/logger/__tests__/logger-factory.test.ts 7/7
61
+  ❯ src/pkgs/logger/__tests__/result-logging.test.ts 7/7
62
+  ❯ src/pkgs/results/__tests__/error-class.test.ts [queued]
63
+  ❯ src/pkgs/results/__tests__/result-helpers.test.ts [queued]
64
+  ❯ src/routes/__test__/set-consent.test.ts [queued]
65
+  ❯ src/routes/__test__/verify-consent.test.ts [queued]
66
+
67
+  Test Files 3 passed (23)
68
+  Tests 21 passed (25)
69
+  Start at 02:06:10
70
+  Duration 1.29s
71
+ [?2026l[?2026h ✓ src/pkgs/logger/__tests__/integration.test.ts (5 tests) 5ms
72
+
73
+  ❯ src/init.test.ts [queued]
74
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
75
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
76
+  ❯ src/pkgs/logger/__tests__/integration.test.ts 5/5
77
+  ❯ src/pkgs/logger/__tests__/logger-factory.test.ts 7/7
78
+  ❯ src/pkgs/logger/__tests__/result-logging.test.ts 7/7
79
+  ❯ src/pkgs/results/__tests__/error-class.test.ts [queued]
80
+  ❯ src/pkgs/results/__tests__/result-helpers.test.ts [queued]
81
+  ❯ src/pkgs/results/__tests__/retrieval-pipeline.test.ts [queued]
82
+  ❯ src/routes/__test__/set-consent.test.ts [queued]
83
+  ❯ src/routes/__test__/verify-consent.test.ts [queued]
84
+
85
+  Test Files 4 passed (23)
86
+  Tests 25 passed (25)
87
+  Start at 02:06:10
88
+  Duration 1.49s
89
+ [?2026l[?2026h ✓ src/pkgs/results/__tests__/error-class.test.ts (12 tests) 13ms
90
+
91
+  ❯ src/init.test.ts [queued]
92
+  ❯ src/pkgs/api-router/utils/core.test.ts [queued]
93
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
94
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
95
+  ❯ src/pkgs/results/__tests__/error-class.test.ts 12/12
96
+  ❯ src/pkgs/results/__tests__/recovery-utils.test.ts [queued]
33
97
   ❯ src/pkgs/results/__tests__/result-helpers.test.ts 0/11
98
+  ❯ src/pkgs/results/__tests__/retrieval-pipeline.test.ts [queued]
99
+  ❯ src/pkgs/results/__tests__/validation-pipeline.test.ts [queued]
34
100
   ❯ src/routes/__test__/set-consent.test.ts [queued]
35
101
   ❯ src/routes/__test__/verify-consent.test.ts [queued]
36
102
 
37
-  Test Files 1 passed (23)
38
-  Tests 6 passed (17)
39
-  Start at 19:43:01
40
-  Duration 619ms
41
- [?2026l[?2026h ✓ src/pkgs/results/__tests__/result-helpers.test.ts (11 tests) 14ms
103
+  Test Files 5 passed (23)
104
+  Tests 37 passed (48)
105
+  Start at 02:06:10
106
+  Duration 1.69s
107
+ [?2026l[?2026h ✓ src/pkgs/results/__tests__/result-helpers.test.ts (11 tests) 5ms
42
108
 
109
+  ❯ src/init.test.ts [queued]
110
+  ❯ src/pkgs/api-router/utils/core.test.ts [queued]
43
111
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
44
112
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
45
-  ❯ src/pkgs/logger/__tests__/integration.test.ts [queued]
113
+  ❯ src/pkgs/results/__tests__/error-class.test.ts 12/12
114
+  ❯ src/pkgs/results/__tests__/recovery-utils.test.ts [queued]
46
115
   ❯ src/pkgs/results/__tests__/result-helpers.test.ts 11/11
116
+  ❯ src/pkgs/results/__tests__/retrieval-pipeline.test.ts [queued]
117
+  ❯ src/pkgs/results/__tests__/validation-pipeline.test.ts [queued]
47
118
   ❯ src/routes/__test__/set-consent.test.ts [queued]
48
119
   ❯ src/routes/__test__/verify-consent.test.ts [queued]
49
120
 
50
-  Test Files 2 passed (23)
51
-  Tests 17 passed (17)
52
-  Start at 19:43:01
53
-  Duration 826ms
54
- [?2026l[?2026h
121
+  Test Files 6 passed (23)
122
+  Tests 48 passed (48)
123
+  Start at 02:06:10
124
+  Duration 1.95s
125
+ [?2026l[?2026h ✓ src/pkgs/results/__tests__/recovery-utils.test.ts (7 tests) 4ms
126
+ ✓ src/pkgs/api-router/utils/core.test.ts (11 tests) 5ms
127
+ ✓ src/pkgs/logger/__tests__/types.test.ts (4 tests) 2ms
128
+
129
+  ❯ src/init.test.ts [queued]
130
+  ❯ src/pkgs/api-router/utils/core.test.ts 11/11
55
131
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
56
132
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
57
-  ❯ src/pkgs/logger/__tests__/integration.test.ts [queued]
58
-  ❯ src/pkgs/results/__tests__/error-class.test.ts [queued]
133
+  ❯ src/pkgs/logger/__tests__/log-levels.test.ts [queued]
134
+  ❯ src/pkgs/logger/__tests__/types.test.ts 4/4
135
+  ❯ src/pkgs/results/__tests__/recovery-utils.test.ts 7/7
136
+  ❯ src/pkgs/results/__tests__/retrieval-pipeline.test.ts 1/8
137
+  ❯ src/pkgs/results/__tests__/validation-pipeline.test.ts 0/5
59
138
   ❯ src/routes/__test__/set-consent.test.ts [queued]
60
139
   ❯ src/routes/__test__/verify-consent.test.ts [queued]
61
140
 
62
-  Test Files 2 passed (23)
63
-  Tests 17 passed (17)
64
-  Start at 19:43:01
65
-  Duration 944ms
66
- [?2026l[?2026h
141
+  Test Files 9 passed (23)
142
+  Tests 71 passed (83)
143
+  Start at 02:06:10
144
+  Duration 2.05s
145
+ [?2026l[?2026h ✓ src/pkgs/results/__tests__/retrieval-pipeline.test.ts (8 tests) 8ms
146
+ ✓ src/pkgs/logger/__tests__/log-levels.test.ts (4 tests) 3ms
147
+ ✓ src/pkgs/results/__tests__/validation-pipeline.test.ts (5 tests) 6ms
148
+
149
+  ❯ src/init.test.ts [queued]
150
+  ❯ src/pkgs/api-router/utils/core.test.ts 11/11
67
151
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
68
152
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
69
-  ❯ src/pkgs/logger/__tests__/integration.test.ts 0/5
70
-  ❯ src/pkgs/results/__tests__/error-class.test.ts [queued]
153
+  ❯ src/pkgs/logger/__tests__/log-levels.test.ts 4/4
154
+  ❯ src/pkgs/logger/__tests__/types.test.ts 4/4
155
+  ❯ src/pkgs/results/__tests__/retrieval-pipeline.test.ts 8/8
156
+  ❯ src/routes/__test__/index.test.ts [queued]
157
+  ❯ src/routes/__test__/set-consent.test.ts [queued]
158
+  ❯ src/routes/__test__/verify-consent.test.ts [queued]
159
+
160
+  Test Files 12 passed (23)
161
+  Tests 87 passed (87)
162
+  Start at 02:06:10
163
+  Duration 2.28s
164
+ [?2026l[?2026h ✓ src/pkgs/logger/__tests__/console-formatter.test.ts (5 tests) 2ms
165
+
166
+  ❯ src/init.test.ts [queued]
167
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
168
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
169
+  ❯ src/pkgs/results/__tests__/error-codes.test.ts 0/6
170
+  ❯ src/pkgs/results/__tests__/neverthrow-integration.test.ts [queued]
171
+  ❯ src/routes/__test__/index.test.ts [queued]
71
172
   ❯ src/routes/__test__/set-consent.test.ts [queued]
173
+  ❯ src/routes/__test__/show-consent-banner.test.ts [queued]
72
174
   ❯ src/routes/__test__/verify-consent.test.ts [queued]
73
175
 
74
-  Test Files 2 passed (23)
75
-  Tests 17 passed (22)
76
-  Start at 19:43:01
77
-  Duration 1.47s
78
- [?2026l
176
+  Test Files 13 passed (23)
177
+  Tests 92 passed (98)
178
+  Start at 02:06:10
179
+  Duration 2.49s
180
+ [?2026l[?2026h ✓ src/pkgs/results/__tests__/error-codes.test.ts (6 tests) 3ms
181
+
182
+  ❯ src/init.test.ts [queued]
183
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
184
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
185
+  ❯ src/pkgs/results/__tests__/neverthrow-integration.test.ts 0/5
186
+  ❯ src/routes/__test__/index.test.ts [queued]
187
+  ❯ src/routes/__test__/set-consent.test.ts [queued]
188
+  ❯ src/routes/__test__/show-consent-banner.test.ts [queued]
189
+  ❯ src/routes/__test__/status.test.ts [queued]
190
+  ❯ src/routes/__test__/verify-consent.test.ts [queued]
191
+
192
+  Test Files 14 passed (23)
193
+  Tests 98 passed (103)
194
+  Start at 02:06:10
195
+  Duration 2.59s
196
+ [?2026l[?2026h ✓ src/pkgs/results/__tests__/neverthrow-integration.test.ts (5 tests) 8ms
197
+
198
+  ❯ src/init.test.ts [queued]
199
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
200
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
201
+  ❯ src/routes/__test__/index.test.ts [queued]
202
+  ❯ src/routes/__test__/set-consent.test.ts [queued]
203
+  ❯ src/routes/__test__/show-consent-banner.test.ts 1/3
204
+  ❯ src/routes/__test__/status.test.ts [queued]
205
+  ❯ src/routes/__test__/verify-consent.test.ts [queued]
206
+
207
+  Test Files 15 passed (23)
208
+  Tests 104 passed (106)
209
+  Start at 02:06:10
210
+  Duration 2.69s
211
+ [?2026l[?2026h ✓ src/routes/__test__/show-consent-banner.test.ts (3 tests) 2ms
212
+ ✓ src/routes/__test__/status.test.ts (2 tests) 4ms
213
+
214
+  ❯ src/init.test.ts [queued]
215
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
216
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
217
+  ❯ src/routes/__test__/index.test.ts [queued]
218
+  ❯ src/routes/__test__/set-consent.test.ts 0/6
219
+  ❯ src/routes/__test__/verify-consent.test.ts [queued]
220
+
221
+  Test Files 17 passed (23)
222
+  Tests 108 passed (114)
223
+  Start at 02:06:10
224
+  Duration 2.89s
225
+ [?2026l[?2026h
226
+  ❯ src/init.test.ts [queued]
227
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
228
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
229
+  ❯ src/routes/__test__/index.test.ts 0/20
230
+  ❯ src/routes/__test__/set-consent.test.ts 1/6
231
+  ❯ src/routes/__test__/verify-consent.test.ts 0/9
232
+
233
+  Test Files 17 passed (23)
234
+  Tests 109 passed (143)
235
+  Start at 02:06:10
236
+  Duration 3.00s
237
+ [?2026l[?2026h ✓ src/routes/__test__/set-consent.test.ts (6 tests) 4ms
238
+ ✓ src/routes/__test__/verify-consent.test.ts (9 tests) 5ms
239
+
240
+  ❯ src/init.test.ts [queued]
241
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
242
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
243
+  ❯ src/routes/__test__/index.test.ts 1/20
244
+
245
+  Test Files 19 passed (23)
246
+  Tests 124 passed (143)
247
+  Start at 02:06:10
248
+  Duration 3.12s
249
+ [?2026l[?2026h ✓ src/routes/__test__/index.test.ts (20 tests) 12ms
250
+
251
+
252
+  ❯ src/init.test.ts [queued]
253
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts 0/9
254
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
255
+
256
+  Test Files 20 passed (23)
257
+  Tests 143 passed (152)
258
+  Start at 02:06:10
259
+  Duration 3.42s
260
+ [?2026l[?2026h
261
+
262
+
263
+  ❯ src/init.test.ts [queued]
264
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts 0/9
265
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts 1/9
266
+
267
+  Test Files 20 passed (23)
268
+  Tests 144 passed (161)
269
+  Start at 02:06:10
270
+  Duration 3.52s
271
+ [?2026l[?2026h ✓ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts (9 tests | 1 skipped) 26ms
272
+
273
+
274
+  ❯ src/init.test.ts 0/11
275
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts 0/9
276
+
277
+  Test Files 21 passed (23)
278
+  Tests 151 passed | 1 skipped (172)
279
+  Start at 02:06:10
280
+  Duration 3.72s
281
+ [?2026l[?2026h ✓ src/init.test.ts (11 tests) 28ms
282
+
283
+
284
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts 0/9
285
+
286
+  Test Files 22 passed (23)
287
+  Tests 162 passed | 1 skipped (172)
288
+  Start at 02:06:10
289
+  Duration 3.93s
290
+ [?2026l[?2026h
291
+
292
+  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts 1/9
293
+
294
+  Test Files 22 passed (23)
295
+  Tests 163 passed | 1 skipped (172)
296
+  Start at 02:06:10
297
+  Duration 4.33s
298
+ [?2026l ✓ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts (9 tests) 826ms
299
+
300
+  Test Files  23 passed (23)
301
+  Tests  171 passed | 1 skipped (172)
302
+  Start at  02:06:09
303
+  Duration  4.91s (transform 5.46s, setup 0ms, collect 21.76s, tests 1.01s, environment 3ms, prepare 3.62s)
304
+
305
+  % Coverage report from istanbul
306
+ -------------|---------|----------|---------|---------|-------------------
307
+ File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
308
+ -------------|---------|----------|---------|---------|-------------------
309
+ All files  |  34.66 |  33.99 |  34.8 |  34.89 |  
310
+  backend  |  0 |  100 |  100 |  0 |  
311
+  ...nfig.ts |  0 |  100 |  100 |  0 | 3 
312
+  backend/src |  60.86 |  50.64 |  30.76 |  60.86 |  
313
+  core.ts  |  0 |  0 |  0 |  0 | 137-228 
314
+  init.ts  |  82.35 |  56.52 |  80 |  82.35 | ...98,218,251-257
315
+  ...grations |  0 |  0 |  0 |  0 |  
316
+  ...lare.ts |  0 |  0 |  0 |  0 | 34-265 
317
+  next.ts  |  0 |  0 |  0 |  0 | 43-198 
318
+  node.ts  |  0 |  0 |  0 |  0 | 32-130 
319
+  ...i-router |  0 |  0 |  0 |  0 |  
320
+  index.ts  |  0 |  0 |  0 |  0 | 25-147 
321
+  ...etry.ts |  0 |  0 |  0 |  0 | 4-80 
322
+  ...er/hooks |  93.54 |  96.66 |  66.66 |  100 |  
323
+  ...ssor.ts |  93.54 |  96.66 |  66.66 |  100 | 53 
324
+  ...er/utils |  39.47 |  34.72 |  25 |  39.47 |  
325
+  cors.ts  |  85.71 |  83.33 |  100 |  85.71 | 31-32,43-44 
326
+  ...oute.ts |  30 |  32.6 |  15.38 |  30 | ...27-363,405-409
327
+  ip.ts  |  0 |  0 |  0 |  0 | 4-91 
328
+  ...l/fields |  70 |  0 |  14.28 |  70 |  
329
+  ...tory.ts |  16.66 |  0 |  0 |  16.66 | 139-206 
330
+  ...ator.ts |  100 |  100 |  100 |  100 |  
331
+  ...tils.ts |  50 |  100 |  0 |  50 | 16 
332
+  ...elds.ts |  90.9 |  100 |  0 |  90.9 | 136 
333
+  ...el/hooks |  1.16 |  0 |  9.09 |  1.16 |  
334
+  ...ooks.ts |  0 |  0 |  0 |  0 | 42-87 
335
+  ...ooks.ts |  0 |  0 |  0 |  0 | 43-90 
336
+  ...ooks.ts |  0 |  0 |  0 |  0 | 31-175 
337
+  utils.ts  |  0 |  0 |  0 |  0 | 45-142 
338
+  ...tory.ts |  25 |  100 |  25 |  25 | 47-66 
339
+  ...adapters |  76.19 |  64.7 |  100 |  76.19 |  
340
+  ...tory.ts |  71.42 |  37.5 |  100 |  71.42 | 53-61 
341
+  utils.ts  |  85.71 |  88.88 |  100 |  85.71 | 46 
342
+  ...adapters |  0 |  100 |  0 |  0 |  
343
+  test.ts  |  0 |  100 |  0 |  0 | 19-55 
344
+  ...-adapter |  1.19 |  0 |  0 |  1.22 |  
345
+  ...pter.ts |  1.19 |  0 |  0 |  1.22 | 52-457,534-704 
346
+  ...-adapter |  42.39 |  33.1 |  41.66 |  42.39 |  
347
+  dialect.ts |  15 |  7.57 |  50 |  15 | 36-67,144,158-193
348
+  ...pter.ts |  46.02 |  40.43 |  41.37 |  46.02 | ...1154,1171-1177
349
+  ...er/tests |  46.23 |  25 |  38.23 |  46.23 |  
350
+  ...tils.ts |  46.23 |  25 |  38.23 |  46.23 | 66-233 
351
+  ...-adapter |  7.63 |  1.68 |  13.04 |  7.8 |  
352
+  ...pter.ts |  7.63 |  1.68 |  13.04 |  7.8 | ...69-304,376-660
353
+  ...-adapter |  1.73 |  0 |  0 |  1.8 |  
354
+  ...pter.ts |  1.73 |  0 |  0 |  1.8 | 89-292,331-578 
355
+  ...s/logger |  87.5 |  77.96 |  93.75 |  87.5 |  
356
+  ...tter.ts |  100 |  100 |  100 |  100 |  
357
+  ...vels.ts |  100 |  100 |  100 |  100 |  
358
+  ...tory.ts |  80.64 |  76.66 |  85.71 |  80.64 | 35,76-82,98 
359
+  ...ging.ts |  100 |  100 |  100 |  100 |  
360
+  ...etry.ts |  82.14 |  75 |  100 |  82.14 | 22,37,81,88-92 
361
+  ...grations |  59.84 |  46.34 |  59.09 |  60.93 |  
362
+  ...tion.ts |  73.33 |  50 |  100 |  73.33 | 47-50,55-58 
363
+  ...ders.ts |  69.23 |  54.16 |  80 |  69.23 | 33-63,100,109 
364
+  ...tion.ts |  45.45 |  100 |  50 |  50 | 52-68 
365
+  ...ison.ts |  51.35 |  30 |  57.14 |  52.94 | ...09-111,166-196
366
+  ...ping.ts |  56.66 |  50 |  40 |  56.66 | ...53,224,227-234
367
+  ...t-schema |  68.42 |  60 |  100 |  68.42 |  
368
+  ...hema.ts |  60 |  0 |  100 |  60 | 39-40 
369
+  ...elds.ts |  75 |  72.72 |  100 |  75 | 25,55-59 
370
+  ...bles.ts |  64.7 |  58.33 |  100 |  64.7 | 24,33-36,41-42,51
371
+  .../results |  10.71 |  20 |  14.28 |  10.71 |  
372
+  ...ions.ts |  100 |  71.42 |  100 |  100 | 35-39 
373
+  ...tion.ts |  0 |  0 |  0 |  0 | 35-139 
374
+  ...lts/core |  72.05 |  55.22 |  82.35 |  72.05 |  
375
+  ...lass.ts |  77.08 |  64.28 |  76.92 |  77.08 | 195,287-307 
376
+  ...odes.ts |  100 |  100 |  100 |  100 |  
377
+  tracing.ts |  50 |  9.09 |  100 |  50 | 34-62 
378
+  ...pipeline |  89.13 |  73.46 |  100 |  89.13 |  
379
+  ...line.ts |  100 |  76 |  100 |  100 | ...49-155,176-182
380
+  ...line.ts |  82.75 |  70.83 |  100 |  82.75 | ...08,111,115-119
381
+  .../results |  95.52 |  55.55 |  93.1 |  95.52 |  
382
+  ...tils.ts |  100 |  100 |  100 |  100 |  
383
+  ...pers.ts |  93.33 |  48.71 |  89.47 |  93.33 | 357-366 
384
+  ...gs/utils |  80.95 |  48.27 |  75 |  80.95 |  
385
+  env.ts  |  80 |  58.33 |  0 |  80 | 54 
386
+  url.ts  |  81.25 |  41.17 |  100 |  81.25 | 26,56,104 
387
+  ...c/routes |  8.45 |  2.04 |  6.25 |  8.51 |  
388
+  index.ts  |  0 |  100 |  100 |  0 | 7 
389
+  ...sent.ts |  10.9 |  0 |  0 |  10.9 | 52-246 
390
+  ...nner.ts |  2.56 |  0 |  0 |  2.56 | 20-126 
391
+  status.ts  |  100 |  100 |  100 |  100 |  
392
+  ...sent.ts |  4.54 |  0 |  0 |  4.65 | 35-202 
393
+  ...c/schema |  38.46 |  25 |  75 |  38.46 |  
394
+  ...stry.ts |  100 |  100 |  100 |  100 |  
395
+  ...tion.ts |  30.43 |  25 |  66.66 |  30.43 | 45-54,159-198 
396
+  schemas.ts |  100 |  100 |  100 |  100 |  
397
+  ...udit-log |  50 |  93.75 |  40 |  50 |  
398
+  ...stry.ts |  33.33 |  0 |  50 |  33.33 | 94-114 
399
+  schema.ts  |  50 |  100 |  0 |  50 | 36 
400
+  table.ts  |  75 |  100 |  50 |  75 | 135 
401
+  .../consent |  33.33 |  76 |  25 |  33.33 |  
402
+  ...stry.ts |  33.33 |  0 |  33.33 |  33.33 | 84-170 
403
+  schema.ts  |  50 |  100 |  0 |  50 | 39 
404
+  table.ts  |  31.25 |  82.6 |  25 |  31.25 | 142-192 
405
+  ...t-policy |  18.42 |  63.41 |  16.66 |  18.42 |  
406
+  ...stry.ts |  9.67 |  0 |  12.5 |  9.67 | 35-37,109-309 
407
+  schema.ts  |  50 |  100 |  0 |  50 | 49-50 
408
+  table.ts  |  66.66 |  100 |  50 |  66.66 | 132 
409
+  ...-purpose |  31.25 |  81.25 |  22.22 |  31.25 |  
410
+  ...stry.ts |  25 |  0 |  33.33 |  25 | 100-163 
411
+  schema.ts  |  33.33 |  100 |  0 |  33.33 | 47-48 
412
+  table.ts  |  40 |  100 |  25 |  40 | 83-136 
413
+  ...t-record |  62.5 |  100 |  25 |  62.5 |  
414
+  schema.ts  |  33.33 |  100 |  0 |  33.33 | 31-32 
415
+  table.ts  |  80 |  100 |  50 |  80 | 106 
416
+  ...a/domain |  18.18 |  59.45 |  16.66 |  18.18 |  
417
+  ...stry.ts |  11.53 |  0 |  14.28 |  11.53 | 88-289 
418
+  schema.ts  |  33.33 |  100 |  0 |  33.33 | 32-33 
419
+  table.ts  |  50 |  100 |  33.33 |  50 | 76-109 
420
+  .../subject |  10 |  36.06 |  18.18 |  10 |  
421
+  ...stry.ts |  4.76 |  0 |  20 |  4.76 | 54-291 
422
+  schema.ts  |  33.33 |  100 |  0 |  33.33 | 30-31 
423
+  table.ts  |  40 |  100 |  25 |  40 | 57-110 
424
+ -------------|---------|----------|---------|---------|-------------------
425
+ [?25h