@c15t/backend 1.2.0-canary.2 → 1.2.0-canary.3

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 (133) hide show
  1. package/.turbo/turbo-build.log +9 -9
  2. package/.turbo/turbo-test.log +16 -502
  3. package/coverage/coverage-final.json +63 -63
  4. package/coverage/coverage-summary.json +29 -29
  5. package/coverage/html/backend/index.html +1 -1
  6. package/coverage/html/backend/rslib.config.ts.html +1 -1
  7. package/coverage/html/backend/src/contracts/consent/index.html +1 -1
  8. package/coverage/html/backend/src/contracts/consent/index.ts.html +2 -2
  9. package/coverage/html/backend/src/contracts/consent/post.contract.ts.html +17 -11
  10. package/coverage/html/backend/src/contracts/consent/show-banner.contract.ts.html +2 -2
  11. package/coverage/html/backend/src/contracts/consent/verify.contract.ts.html +4 -4
  12. package/coverage/html/backend/src/contracts/index.html +13 -13
  13. package/coverage/html/backend/src/contracts/index.ts.html +10 -10
  14. package/coverage/html/backend/src/contracts/meta/index.html +1 -1
  15. package/coverage/html/backend/src/contracts/meta/index.ts.html +2 -2
  16. package/coverage/html/backend/src/contracts/meta/status.contract.ts.html +2 -2
  17. package/coverage/html/backend/src/contracts/shared/index.html +1 -1
  18. package/coverage/html/backend/src/contracts/shared/jurisdiction.schema.ts.html +4 -4
  19. package/coverage/html/backend/src/core.ts.html +255 -165
  20. package/coverage/html/backend/src/handlers/consent/index.html +24 -24
  21. package/coverage/html/backend/src/handlers/consent/index.ts.html +8 -8
  22. package/coverage/html/backend/src/handlers/consent/post.handler.ts.html +28 -13
  23. package/coverage/html/backend/src/handlers/consent/show-banner.handler.ts.html +18 -18
  24. package/coverage/html/backend/src/handlers/consent/verify.handler.ts.html +7 -7
  25. package/coverage/html/backend/src/handlers/meta/index.html +18 -18
  26. package/coverage/html/backend/src/handlers/meta/index.ts.html +8 -8
  27. package/coverage/html/backend/src/handlers/meta/status.handler.ts.html +7 -7
  28. package/coverage/html/backend/src/index.html +39 -39
  29. package/coverage/html/backend/src/init.ts.html +107 -107
  30. package/coverage/html/backend/src/pkgs/api-router/hooks/index.html +1 -1
  31. package/coverage/html/backend/src/pkgs/api-router/hooks/processor.ts.html +1 -1
  32. package/coverage/html/backend/src/pkgs/api-router/index.html +21 -21
  33. package/coverage/html/backend/src/pkgs/api-router/telemetry.ts.html +46 -46
  34. package/coverage/html/backend/src/pkgs/api-router/utils/cors.ts.html +28 -28
  35. package/coverage/html/backend/src/pkgs/api-router/utils/index.html +27 -27
  36. package/coverage/html/backend/src/pkgs/api-router/utils/ip.ts.html +22 -22
  37. package/coverage/html/backend/src/pkgs/data-model/fields/field-factory.ts.html +3 -3
  38. package/coverage/html/backend/src/pkgs/data-model/fields/id-generator.ts.html +2 -2
  39. package/coverage/html/backend/src/pkgs/data-model/fields/index.html +1 -1
  40. package/coverage/html/backend/src/pkgs/data-model/fields/superjson-utils.ts.html +2 -2
  41. package/coverage/html/backend/src/pkgs/data-model/fields/zod-fields.ts.html +11 -11
  42. package/coverage/html/backend/src/pkgs/data-model/hooks/create-hooks.ts.html +1 -1
  43. package/coverage/html/backend/src/pkgs/data-model/hooks/index.html +15 -15
  44. package/coverage/html/backend/src/pkgs/data-model/hooks/update-hooks.ts.html +1 -1
  45. package/coverage/html/backend/src/pkgs/data-model/hooks/update-many-hooks.ts.html +1 -1
  46. package/coverage/html/backend/src/pkgs/data-model/hooks/utils.ts.html +1 -1
  47. package/coverage/html/backend/src/pkgs/data-model/hooks/with-hooks-factory.ts.html +10 -10
  48. package/coverage/html/backend/src/pkgs/db-adapters/adapter-factory.ts.html +29 -29
  49. package/coverage/html/backend/src/pkgs/db-adapters/adapters/drizzle-adapter/drizzle-adapter.ts.html +3 -3
  50. package/coverage/html/backend/src/pkgs/db-adapters/adapters/drizzle-adapter/index.html +1 -1
  51. package/coverage/html/backend/src/pkgs/db-adapters/adapters/index.html +1 -1
  52. package/coverage/html/backend/src/pkgs/db-adapters/adapters/kysely-adapter/dialect.ts.html +2 -2
  53. package/coverage/html/backend/src/pkgs/db-adapters/adapters/kysely-adapter/index.html +1 -1
  54. package/coverage/html/backend/src/pkgs/db-adapters/adapters/kysely-adapter/kysely-adapter.ts.html +3 -3
  55. package/coverage/html/backend/src/pkgs/db-adapters/adapters/kysely-adapter/tests/index.html +1 -1
  56. package/coverage/html/backend/src/pkgs/db-adapters/adapters/kysely-adapter/tests/test-utils.ts.html +1 -1
  57. package/coverage/html/backend/src/pkgs/db-adapters/adapters/memory-adapter/index.html +19 -19
  58. package/coverage/html/backend/src/pkgs/db-adapters/adapters/memory-adapter/memory-adapter.ts.html +29 -29
  59. package/coverage/html/backend/src/pkgs/db-adapters/adapters/prisma-adapter/index.html +1 -1
  60. package/coverage/html/backend/src/pkgs/db-adapters/adapters/prisma-adapter/prisma-adapter.ts.html +3 -3
  61. package/coverage/html/backend/src/pkgs/db-adapters/adapters/test.ts.html +1 -1
  62. package/coverage/html/backend/src/pkgs/db-adapters/index.html +21 -21
  63. package/coverage/html/backend/src/pkgs/db-adapters/utils.ts.html +1 -1
  64. package/coverage/html/backend/src/pkgs/migrations/get-migration.ts.html +1 -1
  65. package/coverage/html/backend/src/pkgs/migrations/get-schema/get-schema.ts.html +1 -1
  66. package/coverage/html/backend/src/pkgs/migrations/get-schema/index.html +1 -1
  67. package/coverage/html/backend/src/pkgs/migrations/get-schema/process-fields.ts.html +1 -1
  68. package/coverage/html/backend/src/pkgs/migrations/get-schema/process-tables.ts.html +1 -1
  69. package/coverage/html/backend/src/pkgs/migrations/index.html +1 -1
  70. package/coverage/html/backend/src/pkgs/migrations/migration-builders.ts.html +1 -1
  71. package/coverage/html/backend/src/pkgs/migrations/migration-execution.ts.html +1 -1
  72. package/coverage/html/backend/src/pkgs/migrations/schema-comparison.ts.html +1 -1
  73. package/coverage/html/backend/src/pkgs/migrations/type-mapping.ts.html +1 -1
  74. package/coverage/html/backend/src/pkgs/results/core/error-class.ts.html +1 -1
  75. package/coverage/html/backend/src/pkgs/results/core/error-codes.ts.html +3 -3
  76. package/coverage/html/backend/src/pkgs/results/core/index.html +1 -1
  77. package/coverage/html/backend/src/pkgs/results/core/tracing.ts.html +9 -9
  78. package/coverage/html/backend/src/pkgs/results/create-telemetry-options.ts.html +17 -17
  79. package/coverage/html/backend/src/pkgs/results/index.html +20 -20
  80. package/coverage/html/backend/src/pkgs/results/orpc-error-handler.ts.html +1 -1
  81. package/coverage/html/backend/src/pkgs/results/results/index.html +15 -15
  82. package/coverage/html/backend/src/pkgs/results/results/recovery-utils.ts.html +3 -3
  83. package/coverage/html/backend/src/pkgs/results/results/result-helpers.ts.html +17 -17
  84. package/coverage/html/backend/src/pkgs/utils/env.ts.html +16 -16
  85. package/coverage/html/backend/src/pkgs/utils/index.html +38 -38
  86. package/coverage/html/backend/src/pkgs/utils/logger.ts.html +15 -15
  87. package/coverage/html/backend/src/pkgs/utils/url.ts.html +21 -21
  88. package/coverage/html/backend/src/router.ts.html +8 -8
  89. package/coverage/html/backend/src/schema/audit-log/index.html +16 -16
  90. package/coverage/html/backend/src/schema/audit-log/registry.ts.html +12 -12
  91. package/coverage/html/backend/src/schema/audit-log/schema.ts.html +2 -2
  92. package/coverage/html/backend/src/schema/audit-log/table.ts.html +4 -4
  93. package/coverage/html/backend/src/schema/consent/index.html +15 -15
  94. package/coverage/html/backend/src/schema/consent/registry.ts.html +14 -14
  95. package/coverage/html/backend/src/schema/consent/schema.ts.html +2 -2
  96. package/coverage/html/backend/src/schema/consent/table.ts.html +6 -6
  97. package/coverage/html/backend/src/schema/consent-policy/index.html +15 -15
  98. package/coverage/html/backend/src/schema/consent-policy/registry.ts.html +14 -14
  99. package/coverage/html/backend/src/schema/consent-policy/schema.ts.html +3 -3
  100. package/coverage/html/backend/src/schema/consent-policy/table.ts.html +3 -3
  101. package/coverage/html/backend/src/schema/consent-purpose/index.html +15 -15
  102. package/coverage/html/backend/src/schema/consent-purpose/registry.ts.html +12 -12
  103. package/coverage/html/backend/src/schema/consent-purpose/schema.ts.html +2 -2
  104. package/coverage/html/backend/src/schema/consent-purpose/table.ts.html +3 -3
  105. package/coverage/html/backend/src/schema/consent-record/index.html +1 -1
  106. package/coverage/html/backend/src/schema/consent-record/schema.ts.html +2 -2
  107. package/coverage/html/backend/src/schema/consent-record/table.ts.html +5 -5
  108. package/coverage/html/backend/src/schema/create-registry.ts.html +12 -12
  109. package/coverage/html/backend/src/schema/definition.ts.html +4 -4
  110. package/coverage/html/backend/src/schema/domain/index.html +15 -15
  111. package/coverage/html/backend/src/schema/domain/registry.ts.html +14 -14
  112. package/coverage/html/backend/src/schema/domain/schema.ts.html +2 -2
  113. package/coverage/html/backend/src/schema/domain/table.ts.html +3 -3
  114. package/coverage/html/backend/src/schema/index.html +16 -16
  115. package/coverage/html/backend/src/schema/schemas.ts.html +2 -2
  116. package/coverage/html/backend/src/schema/subject/index.html +15 -15
  117. package/coverage/html/backend/src/schema/subject/registry.ts.html +12 -12
  118. package/coverage/html/backend/src/schema/subject/schema.ts.html +2 -2
  119. package/coverage/html/backend/src/schema/subject/table.ts.html +3 -3
  120. package/coverage/html/backend/src/server.ts.html +1 -1
  121. package/coverage/html/backend/src/testing/contract-testing.ts.html +70 -22
  122. package/coverage/html/backend/src/testing/index.html +14 -14
  123. package/coverage/html/index.html +182 -182
  124. package/dist/__tests__/cors.test.d.ts +2 -0
  125. package/dist/__tests__/cors.test.d.ts.map +1 -0
  126. package/dist/core.cjs +24 -35
  127. package/dist/core.d.ts.map +1 -1
  128. package/dist/core.js +24 -35
  129. package/dist/router.cjs +1 -1
  130. package/dist/router.js +1 -1
  131. package/package.json +2 -1
  132. package/src/__tests__/cors.test.ts +150 -0
  133. package/src/core.ts +20 -28
@@ -1,16 +1,16 @@
1
1
 
2
2
  
3
- > @c15t/backend@1.2.0-canary.2 build /Users/christopherburns/glados/k/c15t/packages/backend
3
+ > @c15t/backend@1.2.0-canary.3 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.27 s (esm)
9
- ready  built in 0.27 s (cjs)
8
+ ready  built in 0.18 s (esm)
9
+ ready  built in 0.19 s (cjs)
10
10
  start  generating declaration files... (esm)
11
11
  start  generating declaration files... (cjs)
12
- ready  declaration files generated in 3.30 s (cjs)
13
- ready  declaration files generated in 3.32 s (esm)
12
+ ready  declaration files generated in 3.38 s (cjs)
13
+ ready  declaration files generated in 3.40 s (esm)
14
14
 
15
15
   File (esm) Size 
16
16
  dist/pkgs/types/index.js 0.00 kB
@@ -26,9 +26,9 @@
26
26
  dist/schema/index.js 60.1 kB
27
27
  dist/pkgs/data-model/index.js 60.8 kB
28
28
  dist/pkgs/db-adapters/index.js 89.6 kB
29
- dist/core.js 146.7 kB
29
+ dist/core.js 146.2 kB
30
30
 
31
- Total: 735.4 kB
31
+ Total: 734.9 kB
32
32
 
33
33
   -----
34
34
 
@@ -46,7 +46,7 @@
46
46
  dist/schema/index.cjs 63.4 kB
47
47
  dist/pkgs/data-model/index.cjs 64.9 kB
48
48
  dist/pkgs/db-adapters/index.cjs 90.9 kB
49
- dist/core.cjs 145.7 kB
49
+ dist/core.cjs 145.3 kB
50
50
 
51
- Total: 755.7 kB
51
+ Total: 755.3 kB
52
52
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @c15t/backend@1.0.5 test /Users/christopherburns/glados/k/c15t/packages/backend
3
+ > @c15t/backend@1.2.0-canary.2 test /Users/christopherburns/glados/k/c15t/packages/backend
4
4
  > vitest run
5
5
 
6
6
  [?25l
@@ -8,33 +8,29 @@
8
8
  Coverage enabled with istanbul
9
9
 
10
10
  [?2026h
11
-  ❯ src/pkgs/api-router/hooks/__tests__/processor.test.ts [queued]
11
+  ❯ src/contracts/consent/post.contract.test.ts [queued]
12
12
 
13
-  Test Files 0 passed (16)
13
+  Test Files 0 passed (17)
14
14
   Tests 0 passed (0)
15
-  Start at 13:01:10
16
-  Duration 403ms
15
+  Start at 17:53:09
16
+  Duration 200ms
17
17
  [?2026l[?2026h
18
18
   ❯ src/contracts/consent/post.contract.test.ts [queued]
19
19
   ❯ src/contracts/consent/show-banner.contract.test.ts [queued]
20
-  ❯ src/contracts/meta/status.contract.test.ts [queued]
21
-  ❯ src/handlers/consent/show-banner.handler.test.ts [queued]
20
+  ❯ src/contracts/consent/verify.contract.test.ts [queued]
21
+  ❯ src/core.test.ts [queued]
22
22
   ❯ src/pkgs/api-router/hooks/__tests__/processor.test.ts [queued]
23
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
24
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
25
-  ❯ src/pkgs/results/__tests__/recovery-utils.test.ts [queued]
26
-  ❯ src/pkgs/results/__tests__/result-helpers.test.ts [queued]
27
23
 
28
-  Test Files 0 passed (16)
24
+  Test Files 0 passed (17)
29
25
   Tests 0 passed (0)
30
-  Start at 13:01:10
31
-  Duration 514ms
32
- [?2026l[?2026h
26
+  Start at 17:53:09
27
+  Duration 302ms
28
+ [?2026l[?2026h
33
29
   ❯ src/contracts/consent/post.contract.test.ts [queued]
34
30
   ❯ src/contracts/consent/show-banner.contract.test.ts [queued]
35
31
   ❯ src/contracts/consent/verify.contract.test.ts [queued]
36
32
   ❯ src/contracts/meta/status.contract.test.ts [queued]
37
-  ❯ src/handlers/consent/show-banner.handler.test.ts [queued]
33
+  ❯ src/core.test.ts [queued]
38
34
   ❯ src/pkgs/api-router/hooks/__tests__/processor.test.ts 0/6
39
35
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
40
36
   ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
@@ -42,490 +38,8 @@
42
38
   ❯ src/pkgs/results/__tests__/recovery-utils.test.ts [queued]
43
39
   ❯ src/pkgs/results/__tests__/result-helpers.test.ts [queued]
44
40
 
45
-  Test Files 0 passed (16)
41
+  Test Files 0 passed (17)
46
42
   Tests 0 passed (6)
47
-  Start at 13:01:10
48
-  Duration 721ms
49
- [?2026l[?2026h ✓ src/pkgs/api-router/hooks/__tests__/processor.test.ts (6 tests) 30ms
50
-
51
-  ❯ src/contracts/consent/post.contract.test.ts [queued]
52
-  ❯ src/contracts/consent/show-banner.contract.test.ts [queued]
53
-  ❯ src/contracts/consent/verify.contract.test.ts [queued]
54
-  ❯ src/contracts/meta/status.contract.test.ts [queued]
55
-  ❯ src/handlers/consent/show-banner.handler.test.ts [queued]
56
-  ❯ src/pkgs/api-router/hooks/__tests__/processor.test.ts 6/6
57
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
58
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
59
-  ❯ src/pkgs/results/__tests__/error-class.test.ts [queued]
60
-  ❯ src/pkgs/results/__tests__/recovery-utils.test.ts [queued]
61
-  ❯ src/pkgs/results/__tests__/result-helpers.test.ts [queued]
62
-
63
-  Test Files 1 passed (16)
64
-  Tests 6 passed (6)
65
-  Start at 13:01:10
66
-  Duration 949ms
67
- [?2026l[?2026h ✓ src/contracts/consent/show-banner.contract.test.ts (9 tests) 6ms
68
- ✓ src/handlers/consent/show-banner.handler.test.ts (9 tests) 23ms
69
-
70
-  ❯ src/contracts/consent/post.contract.test.ts [queued]
71
-  ❯ src/contracts/consent/show-banner.contract.test.ts 9/9
72
-  ❯ src/contracts/consent/verify.contract.test.ts [queued]
73
-  ❯ src/contracts/meta/status.contract.test.ts 0/17
74
-  ❯ src/handlers/consent/show-banner.handler.test.ts 9/9
75
-  ❯ src/pkgs/api-router/hooks/__tests__/processor.test.ts 6/6
76
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
77
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
78
-  ❯ src/pkgs/results/__tests__/error-class.test.ts [queued]
79
-  ❯ src/pkgs/results/__tests__/recovery-utils.test.ts [queued]
80
-  ❯ src/pkgs/results/__tests__/result-helpers.test.ts [queued]
81
-
82
-  Test Files 3 passed (16)
83
-  Tests 24 passed (41)
84
-  Start at 13:01:10
85
-  Duration 1.16s
86
- [?2026l[?2026h ✓ src/contracts/meta/status.contract.test.ts (17 tests) 5ms
87
-
88
-  ❯ src/contracts/consent/post.contract.test.ts [queued]
89
-  ❯ src/contracts/consent/show-banner.contract.test.ts 9/9
90
-  ❯ src/contracts/consent/verify.contract.test.ts [queued]
91
-  ❯ src/contracts/meta/status.contract.test.ts 17/17
92
-  ❯ src/handlers/consent/show-banner.handler.test.ts 9/9
93
-  ❯ src/pkgs/api-router/utils/core.test.ts [queued]
94
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
95
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
96
-  ❯ src/pkgs/results/__tests__/error-class.test.ts 0/12
97
-  ❯ src/pkgs/results/__tests__/recovery-utils.test.ts [queued]
98
-  ❯ src/pkgs/results/__tests__/result-helpers.test.ts [queued]
99
-
100
-  Test Files 4 passed (16)
101
-  Tests 41 passed (53)
102
-  Start at 13:01:10
103
-  Duration 1.48s
104
- [?2026l[?2026h
105
-  ❯ src/contracts/consent/post.contract.test.ts [queued]
106
-  ❯ src/contracts/consent/verify.contract.test.ts [queued]
107
-  ❯ src/contracts/meta/status.contract.test.ts 17/17
108
-  ❯ src/handlers/consent/show-banner.handler.test.ts 9/9
109
-  ❯ src/pkgs/api-router/utils/core.test.ts 0/11
110
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
111
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
112
-  ❯ src/pkgs/results/__tests__/error-class.test.ts 0/12
113
-  ❯ src/pkgs/results/__tests__/neverthrow-integration.test.ts [queued]
114
-  ❯ src/pkgs/results/__tests__/recovery-utils.test.ts 0/7
115
-  ❯ src/pkgs/results/__tests__/result-helpers.test.ts [queued]
116
-
117
-  Test Files 4 passed (16)
118
-  Tests 41 passed (71)
119
-  Start at 13:01:10
120
-  Duration 1.68s
121
- [?2026l[?2026h ✓ src/pkgs/api-router/utils/core.test.ts (11 tests) 6ms
122
- ✓ src/pkgs/results/__tests__/error-class.test.ts (12 tests) 35ms
123
- ✓ src/pkgs/results/__tests__/recovery-utils.test.ts (7 tests) 8ms
124
-
125
-
126
-  ❯ src/contracts/consent/post.contract.test.ts [queued]
127
-  ❯ src/contracts/consent/verify.contract.test.ts [queued]
128
-  ❯ src/contracts/meta/index.test.ts [queued]
129
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
130
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
131
-  ❯ src/pkgs/results/__tests__/error-codes.test.ts [queued]
132
-  ❯ src/pkgs/results/__tests__/neverthrow-integration.test.ts [queued]
133
-  ❯ src/pkgs/results/__tests__/result-helpers.test.ts 1/11
134
-
135
-  Test Files 7 passed (16)
136
-  Tests 72 passed (82)
137
-  Start at 13:01:10
138
-  Duration 1.79s
139
- [?2026l[?2026h ✓ src/pkgs/results/__tests__/result-helpers.test.ts (11 tests) 10ms
140
-
141
-
142
-  ❯ src/contracts/consent/post.contract.test.ts [queued]
143
-  ❯ src/contracts/consent/verify.contract.test.ts [queued]
144
-  ❯ src/contracts/meta/index.test.ts [queued]
145
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
146
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
147
-  ❯ src/pkgs/results/__tests__/error-codes.test.ts 1/6
148
-  ❯ src/pkgs/results/__tests__/neverthrow-integration.test.ts [queued]
149
-
150
-  Test Files 8 passed (16)
151
-  Tests 83 passed (88)
152
-  Start at 13:01:10
153
-  Duration 1.89s
154
- [?2026l[?2026h ✓ src/pkgs/results/__tests__/error-codes.test.ts (6 tests) 5ms
155
-
156
-
157
-  ❯ src/contracts/consent/post.contract.test.ts [queued]
158
-  ❯ src/contracts/consent/verify.contract.test.ts [queued]
159
-  ❯ src/contracts/meta/index.test.ts 1/5
160
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
161
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
162
-  ❯ src/pkgs/results/__tests__/neverthrow-integration.test.ts [queued]
163
-
164
-  Test Files 9 passed (16)
165
-  Tests 89 passed (93)
166
-  Start at 13:01:10
167
-  Duration 1.99s
168
- [?2026l[?2026h ✓ src/contracts/meta/index.test.ts (5 tests) 3ms
169
- ✓ src/pkgs/results/__tests__/neverthrow-integration.test.ts (5 tests) 5ms
170
-
171
-  ❯ src/contracts/consent/index.test.ts [queued]
172
-  ❯ src/contracts/consent/post.contract.test.ts [queued]
173
-  ❯ src/contracts/consent/verify.contract.test.ts 0/17
174
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
175
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
176
-
177
-  Test Files 11 passed (16)
178
-  Tests 98 passed (115)
179
-  Start at 13:01:10
180
-  Duration 2.50s
181
- [?2026l[?2026h
182
-  ❯ src/contracts/consent/index.test.ts 0/5
183
-  ❯ src/contracts/consent/post.contract.test.ts 0/41
184
-  ❯ src/contracts/consent/verify.contract.test.ts 1/17
185
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
186
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
187
-
188
-  Test Files 11 passed (16)
189
-  Tests 99 passed (161)
190
-  Start at 13:01:10
191
-  Duration 2.71s
192
- [?2026l[?2026h ✓ src/contracts/consent/verify.contract.test.ts (17 tests) 7ms
193
- ✓ src/contracts/consent/index.test.ts (5 tests) 2ms
194
- ✓ src/contracts/consent/post.contract.test.ts (41 tests) 12ms
195
-
196
-
197
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts [queued]
198
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
199
-
200
-  Test Files 14 passed (16)
201
-  Tests 161 passed (161)
202
-  Start at 13:01:10
203
-  Duration 2.93s
204
- [?2026l[?2026h
205
-
206
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts 0/9
207
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts [queued]
208
-
209
-  Test Files 14 passed (16)
210
-  Tests 161 passed (170)
211
-  Start at 13:01:10
212
-  Duration 3.14s
213
- [?2026l[?2026hstdout | src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts > Kysely Adapter Tests > SQLite Tests
214
-  INFO [c15t] Creating table subject with fields: isIdentified, externalId, identityProvider, lastIpAddress, createdAt, updatedAt, subjectTimezone
215
- INFO [c15t] Adding column isIdentified (fieldName: isIdentified) to table subject
216
- INFO [c15t] Adding column externalId (fieldName: externalId) to table subject
217
- INFO [c15t] Adding column identityProvider (fieldName: identityProvider) to table subject
218
- INFO [c15t] Adding column lastIpAddress (fieldName: lastIpAddress) to table subject
219
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table subject
220
- INFO [c15t] Adding column updatedAt (fieldName: updatedAt) to table subject
221
- INFO [c15t] Adding column subjectTimezone (fieldName: subjectTimezone) to table subject
222
- INFO [c15t] SQL for table subject:
223
- create table "subject" ("id" text not null primary key, "isIdentified" integer not null, "externalId" text, "identityProvider" text, "lastIpAddress" text, "createdAt" date not null, "updatedAt" date not null, "subjectTimezone" text)
224
- INFO [c15t] Creating table consentPurpose with fields: code, name, description, isEssential, dataCategory, legalBasis, isActive, createdAt, updatedAt
225
- INFO [c15t] Adding column code (fieldName: code) to table consentPurpose
226
- INFO [c15t] Adding column name (fieldName: name) to table consentPurpose
227
- INFO [c15t] Adding column description (fieldName: description) to table consentPurpose
228
- INFO [c15t] Adding column isEssential (fieldName: isEssential) to table consentPurpose
229
- INFO [c15t] Adding column dataCategory (fieldName: dataCategory) to table consentPurpose
230
- INFO [c15t] Adding column legalBasis (fieldName: legalBasis) to table consentPurpose
231
- INFO [c15t] Adding column isActive (fieldName: isActive) to table consentPurpose
232
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table consentPurpose
233
- INFO [c15t] Adding column updatedAt (fieldName: updatedAt) to table consentPurpose
234
- INFO [c15t] SQL for table consentPurpose:
235
- create table "consentPurpose" ("id" text not null primary key, "code" text not null, "name" text not null, "description" text not null, "isEssential" integer not null, "dataCategory" text, "legalBasis" text, "isActive" integer not null, "createdAt" date not null, "updatedAt" date not null)
236
- INFO [c15t] Creating table domain with fields: name, description, allowedOrigins, isVerified, isActive, createdAt, updatedAt
237
- INFO [c15t] Adding column name (fieldName: name) to table domain
238
- INFO [c15t] Adding column description (fieldName: description) to table domain
239
- INFO [c15t] Adding column allowedOrigins (fieldName: allowedOrigins) to table domain
240
- INFO [c15t] Adding column isVerified (fieldName: isVerified) to table domain
241
- INFO [c15t] Adding column isActive (fieldName: isActive) to table domain
242
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table domain
243
- INFO [c15t] Adding column updatedAt (fieldName: updatedAt) to table domain
244
- INFO [c15t] SQL for table domain:
245
- create table "domain" ("id" text not null primary key, "name" text not null unique, "description" text, "allowedOrigins" text, "isVerified" integer not null, "isActive" integer not null, "createdAt" date not null, "updatedAt" date)
246
- INFO [c15t] Creating table consentPolicy with fields: version, type, name, effectiveDate, expirationDate, content, contentHash, isActive, createdAt
247
- INFO [c15t] Adding column version (fieldName: version) to table consentPolicy
248
- INFO [c15t] Adding column type (fieldName: type) to table consentPolicy
249
- INFO [c15t] Adding column name (fieldName: name) to table consentPolicy
250
- INFO [c15t] Adding column effectiveDate (fieldName: effectiveDate) to table consentPolicy
251
- INFO [c15t] Adding column expirationDate (fieldName: expirationDate) to table consentPolicy
252
- INFO [c15t] Adding column content (fieldName: content) to table consentPolicy
253
- INFO [c15t] Adding column contentHash (fieldName: contentHash) to table consentPolicy
254
- INFO [c15t] Adding column isActive (fieldName: isActive) to table consentPolicy
255
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table consentPolicy
256
- INFO [c15t] SQL for table consentPolicy:
257
- create table "consentPolicy" ("id" text not null primary key, "version" text not null, "type" text not null, "name" text not null, "effectiveDate" date not null, "expirationDate" date, "content" text not null, "contentHash" text not null, "isActive" integer not null, "createdAt" date not null)
258
- INFO [c15t] Creating table consent with fields: subjectId, domainId, purposeIds, metadata, policyId, ipAddress, userAgent, status, withdrawalReason, givenAt, validUntil, isActive
259
- INFO [c15t] Adding column subjectId (fieldName: subjectId) to table consent
260
- INFO [c15t] Adding column domainId (fieldName: domainId) to table consent
261
- INFO [c15t] Adding column purposeIds (fieldName: purposeIds) to table consent
262
- INFO [c15t] Adding column metadata (fieldName: metadata) to table consent
263
- INFO [c15t] Adding column policyId (fieldName: policyId) to table consent
264
- INFO [c15t] Adding column ipAddress (fieldName: ipAddress) to table consent
265
- INFO [c15t] Adding column userAgent (fieldName: userAgent) to table consent
266
- INFO [c15t] Adding column status (fieldName: status) to table consent
267
- INFO [c15t] Adding column withdrawalReason (fieldName: withdrawalReason) to table consent
268
- INFO [c15t] Adding column givenAt (fieldName: givenAt) to table consent
269
- INFO [c15t] Adding column validUntil (fieldName: validUntil) to table consent
270
- INFO [c15t] Adding column isActive (fieldName: isActive) to table consent
271
- INFO [c15t] SQL for table consent:
272
- create table "consent" ("id" text not null primary key, "subjectId" text not null references "subject" ("id"), "domainId" text not null references "domain" ("id"), "purposeIds" text, "metadata" text, "policyId" text references "consentPolicy" ("id"), "ipAddress" text, "userAgent" text, "status" text not null, "withdrawalReason" text, "givenAt" date not null, "validUntil" date, "isActive" integer not null)
273
- INFO [c15t] Creating table consentRecord with fields: subjectId, consentId, actionType, details, createdAt
274
- INFO [c15t] Adding column subjectId (fieldName: subjectId) to table consentRecord
275
- INFO [c15t] Adding column consentId (fieldName: consentId) to table consentRecord
276
- INFO [c15t] Adding column actionType (fieldName: actionType) to table consentRecord
277
- INFO [c15t] Adding column details (fieldName: details) to table consentRecord
278
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table consentRecord
279
- INFO [c15t] SQL for table consentRecord:
280
- create table "consentRecord" ("id" text not null primary key, "subjectId" text not null references "subject" ("id"), "consentId" text references "consent" ("id"), "actionType" text not null, "details" text, "createdAt" date not null)
281
- INFO [c15t] Creating table auditLog with fields: entityType, entityId, actionType, subjectId, ipAddress, userAgent, changes, metadata, createdAt, eventTimezone
282
- INFO [c15t] Adding column entityType (fieldName: entityType) to table auditLog
283
- INFO [c15t] Adding column entityId (fieldName: entityId) to table auditLog
284
- INFO [c15t] Adding column actionType (fieldName: actionType) to table auditLog
285
- INFO [c15t] Adding column subjectId (fieldName: subjectId) to table auditLog
286
- INFO [c15t] Adding column ipAddress (fieldName: ipAddress) to table auditLog
287
- INFO [c15t] Adding column userAgent (fieldName: userAgent) to table auditLog
288
- INFO [c15t] Adding column changes (fieldName: changes) to table auditLog
289
- INFO [c15t] Adding column metadata (fieldName: metadata) to table auditLog
290
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table auditLog
291
- INFO [c15t] Adding column eventTimezone (fieldName: eventTimezone) to table auditLog
292
- INFO [c15t] SQL for table auditLog:
293
- create table "auditLog" ("id" text not null primary key, "entityType" text not null, "entityId" text not null, "actionType" text not null, "subjectId" text references "subject" ("id"), "ipAddress" text, "userAgent" text, "changes" text, "metadata" text, "createdAt" date not null, "eventTimezone" text not null)
294
-
295
-
296
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts 0/9
297
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts 1/9
298
-
299
-  Test Files 14 passed (16)
300
-  Tests 162 passed (179)
301
-  Start at 13:01:10
302
-  Duration 3.34s
303
- [?2026l[?2026h ✓ src/pkgs/db-adapters/adapters/kysely-adapter/tests/sqlite.test.ts (9 tests | 1 skipped) 42ms
304
-
305
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts 0/9
306
-
307
-  Test Files 15 passed (16)
308
-  Tests 169 passed | 1 skipped (179)
309
-  Start at 13:01:10
310
-  Duration 3.95s
311
- [?2026l[?2026hstdout | src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts > Kysely Adapter Tests > Postgres Tests
312
-  INFO [c15t] Creating table subject with fields: isIdentified, externalId, identityProvider, lastIpAddress, createdAt, updatedAt, subjectTimezone
313
- INFO [c15t] Adding column isIdentified (fieldName: isIdentified) to table subject
314
- INFO [c15t] Adding column externalId (fieldName: externalId) to table subject
315
- INFO [c15t] Adding column identityProvider (fieldName: identityProvider) to table subject
316
- INFO [c15t] Adding column lastIpAddress (fieldName: lastIpAddress) to table subject
317
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table subject
318
- INFO [c15t] Adding column updatedAt (fieldName: updatedAt) to table subject
319
- INFO [c15t] Adding column subjectTimezone (fieldName: subjectTimezone) to table subject
320
- INFO [c15t] SQL for table subject:
321
- create table "subject" ("id" text not null primary key, "isIdentified" boolean not null, "externalId" text, "identityProvider" text, "lastIpAddress" text, "createdAt" timestamp not null, "updatedAt" timestamp not null, "subjectTimezone" text)
322
- INFO [c15t] Creating table consentPurpose with fields: code, name, description, isEssential, dataCategory, legalBasis, isActive, createdAt, updatedAt
323
- INFO [c15t] Adding column code (fieldName: code) to table consentPurpose
324
- INFO [c15t] Adding column name (fieldName: name) to table consentPurpose
325
- INFO [c15t] Adding column description (fieldName: description) to table consentPurpose
326
- INFO [c15t] Adding column isEssential (fieldName: isEssential) to table consentPurpose
327
- INFO [c15t] Adding column dataCategory (fieldName: dataCategory) to table consentPurpose
328
- INFO [c15t] Adding column legalBasis (fieldName: legalBasis) to table consentPurpose
329
- INFO [c15t] Adding column isActive (fieldName: isActive) to table consentPurpose
330
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table consentPurpose
331
- INFO [c15t] Adding column updatedAt (fieldName: updatedAt) to table consentPurpose
332
- INFO [c15t] SQL for table consentPurpose:
333
- create table "consentPurpose" ("id" text not null primary key, "code" text not null, "name" text not null, "description" text not null, "isEssential" boolean not null, "dataCategory" text, "legalBasis" text, "isActive" boolean not null, "createdAt" timestamp not null, "updatedAt" timestamp not null)
334
- INFO [c15t] Creating table domain with fields: name, description, allowedOrigins, isVerified, isActive, createdAt, updatedAt
335
- INFO [c15t] Adding column name (fieldName: name) to table domain
336
- INFO [c15t] Adding column description (fieldName: description) to table domain
337
- INFO [c15t] Adding column allowedOrigins (fieldName: allowedOrigins) to table domain
338
- INFO [c15t] Adding column isVerified (fieldName: isVerified) to table domain
339
- INFO [c15t] Adding column isActive (fieldName: isActive) to table domain
340
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table domain
341
- INFO [c15t] Adding column updatedAt (fieldName: updatedAt) to table domain
342
- INFO [c15t] SQL for table domain:
343
- create table "domain" ("id" text not null primary key, "name" text not null unique, "description" text, "allowedOrigins" jsonb, "isVerified" boolean not null, "isActive" boolean not null, "createdAt" timestamp not null, "updatedAt" timestamp)
344
- INFO [c15t] Creating table consentPolicy with fields: version, type, name, effectiveDate, expirationDate, content, contentHash, isActive, createdAt
345
- INFO [c15t] Adding column version (fieldName: version) to table consentPolicy
346
- INFO [c15t] Adding column type (fieldName: type) to table consentPolicy
347
- INFO [c15t] Adding column name (fieldName: name) to table consentPolicy
348
- INFO [c15t] Adding column effectiveDate (fieldName: effectiveDate) to table consentPolicy
349
- INFO [c15t] Adding column expirationDate (fieldName: expirationDate) to table consentPolicy
350
- INFO [c15t] Adding column content (fieldName: content) to table consentPolicy
351
- INFO [c15t] Adding column contentHash (fieldName: contentHash) to table consentPolicy
352
- INFO [c15t] Adding column isActive (fieldName: isActive) to table consentPolicy
353
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table consentPolicy
354
- INFO [c15t] SQL for table consentPolicy:
355
- create table "consentPolicy" ("id" text not null primary key, "version" text not null, "type" text not null, "name" text not null, "effectiveDate" timestamp not null, "expirationDate" timestamp, "content" text not null, "contentHash" text not null, "isActive" boolean not null, "createdAt" timestamp not null)
356
- INFO [c15t] Creating table consent with fields: subjectId, domainId, purposeIds, metadata, policyId, ipAddress, userAgent, status, withdrawalReason, givenAt, validUntil, isActive
357
- INFO [c15t] Adding column subjectId (fieldName: subjectId) to table consent
358
- INFO [c15t] Adding column domainId (fieldName: domainId) to table consent
359
- INFO [c15t] Adding column purposeIds (fieldName: purposeIds) to table consent
360
- INFO [c15t] Adding column metadata (fieldName: metadata) to table consent
361
- INFO [c15t] Adding column policyId (fieldName: policyId) to table consent
362
- INFO [c15t] Adding column ipAddress (fieldName: ipAddress) to table consent
363
- INFO [c15t] Adding column userAgent (fieldName: userAgent) to table consent
364
- INFO [c15t] Adding column status (fieldName: status) to table consent
365
- INFO [c15t] Adding column withdrawalReason (fieldName: withdrawalReason) to table consent
366
- INFO [c15t] Adding column givenAt (fieldName: givenAt) to table consent
367
- INFO [c15t] Adding column validUntil (fieldName: validUntil) to table consent
368
- INFO [c15t] Adding column isActive (fieldName: isActive) to table consent
369
- INFO [c15t] SQL for table consent:
370
- create table "consent" ("id" text not null primary key, "subjectId" text not null references "subject" ("id"), "domainId" text not null references "domain" ("id"), "purposeIds" jsonb, "metadata" jsonb, "policyId" text references "consentPolicy" ("id"), "ipAddress" text, "userAgent" text, "status" text not null, "withdrawalReason" text, "givenAt" timestamp not null, "validUntil" timestamp, "isActive" boolean not null)
371
- INFO [c15t] Creating table consentRecord with fields: subjectId, consentId, actionType, details, createdAt
372
- INFO [c15t] Adding column subjectId (fieldName: subjectId) to table consentRecord
373
- INFO [c15t] Adding column consentId (fieldName: consentId) to table consentRecord
374
- INFO [c15t] Adding column actionType (fieldName: actionType) to table consentRecord
375
- INFO [c15t] Adding column details (fieldName: details) to table consentRecord
376
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table consentRecord
377
- INFO [c15t] SQL for table consentRecord:
378
- create table "consentRecord" ("id" text not null primary key, "subjectId" text not null references "subject" ("id"), "consentId" text references "consent" ("id"), "actionType" text not null, "details" jsonb, "createdAt" timestamp not null)
379
- INFO [c15t] Creating table auditLog with fields: entityType, entityId, actionType, subjectId, ipAddress, userAgent, changes, metadata, createdAt, eventTimezone
380
- INFO [c15t] Adding column entityType (fieldName: entityType) to table auditLog
381
- INFO [c15t] Adding column entityId (fieldName: entityId) to table auditLog
382
- INFO [c15t] Adding column actionType (fieldName: actionType) to table auditLog
383
- INFO [c15t] Adding column subjectId (fieldName: subjectId) to table auditLog
384
- INFO [c15t] Adding column ipAddress (fieldName: ipAddress) to table auditLog
385
- INFO [c15t] Adding column userAgent (fieldName: userAgent) to table auditLog
386
- INFO [c15t] Adding column changes (fieldName: changes) to table auditLog
387
- INFO [c15t] Adding column metadata (fieldName: metadata) to table auditLog
388
- INFO [c15t] Adding column createdAt (fieldName: createdAt) to table auditLog
389
- INFO [c15t] Adding column eventTimezone (fieldName: eventTimezone) to table auditLog
390
- INFO [c15t] SQL for table auditLog:
391
- create table "auditLog" ("id" text not null primary key, "entityType" text not null, "entityId" text not null, "actionType" text not null, "subjectId" text references "subject" ("id"), "ipAddress" text, "userAgent" text, "changes" jsonb, "metadata" jsonb, "createdAt" timestamp not null, "eventTimezone" text not null)
392
-
393
-
394
-  ❯ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts 1/9
395
-
396
-  Test Files 15 passed (16)
397
-  Tests 170 passed | 1 skipped (179)
398
-  Start at 13:01:10
399
-  Duration 4.15s
400
- [?2026l ✓ src/pkgs/db-adapters/adapters/kysely-adapter/tests/postgres.test.ts (9 tests) 957ms
401
-
402
-  Test Files  16 passed (16)
403
-  Tests  178 passed | 1 skipped (179)
404
-  Start at  13:01:10
405
-  Duration  4.92s (transform 5.22s, setup 0ms, collect 16.43s, tests 1.16s, environment 2ms, prepare 2.80s)
406
-
407
-  % Coverage report from istanbul
408
- ----------------------------------|---------|----------|---------|---------|-------------------
409
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
410
- ----------------------------------|---------|----------|---------|---------|-------------------
411
- All files  |  31.44 |  31.37 |  30.85 |  31.55 |  
412
-  backend  |  0 |  100 |  100 |  0 |  
413
-  rslib.config.ts  |  0 |  100 |  100 |  0 | 3 
414
-  backend/src  |  0 |  0 |  0 |  0 |  
415
-  core.ts  |  0 |  0 |  0 |  0 | 116-494 
416
-  init.ts  |  0 |  0 |  0 |  0 | 80-310 
417
-  router.ts  |  0 |  100 |  100 |  0 | 5 
418
-  server.ts  |  0 |  0 |  0 |  0 | 7-129 
419
-  backend/src/contracts  |  0 |  100 |  100 |  0 |  
420
-  index.ts  |  0 |  100 |  100 |  0 | 10-15 
421
-  backend/src/contracts/consent  |  100 |  100 |  100 |  100 |  
422
-  index.ts  |  100 |  100 |  100 |  100 |  
423
-  post.contract.ts  |  100 |  100 |  100 |  100 |  
424
-  show-banner.contract.ts  |  100 |  100 |  100 |  100 |  
425
-  verify.contract.ts  |  100 |  100 |  100 |  100 |  
426
-  backend/src/contracts/meta  |  100 |  100 |  100 |  100 |  
427
-  index.ts  |  100 |  100 |  100 |  100 |  
428
-  status.contract.ts  |  100 |  100 |  100 |  100 |  
429
-  backend/src/contracts/shared  |  100 |  100 |  100 |  100 |  
430
-  jurisdiction.schema.ts  |  100 |  100 |  100 |  100 |  
431
-  backend/src/handlers/consent  |  28.05 |  24.78 |  17.64 |  28.26 |  
432
-  index.ts  |  0 |  100 |  100 |  0 | 5 
433
-  post.handler.ts  |  0 |  0 |  0 |  0 | 32-248 
434
-  show-banner.handler.ts  |  97.5 |  87.87 |  100 |  97.5 | 20 
435
-  verify.handler.ts  |  0 |  0 |  0 |  0 | 72-287 
436
-  backend/src/handlers/meta  |  0 |  0 |  0 |  0 |  
437
-  index.ts  |  0 |  100 |  100 |  0 | 3 
438
-  status.handler.ts  |  0 |  0 |  0 |  0 | 6-9 
439
-  backend/src/pkgs/api-router  |  0 |  0 |  0 |  0 |  
440
-  telemetry.ts  |  0 |  0 |  0 |  0 | 4-80 
441
-  ...end/src/pkgs/api-router/hooks |  93.54 |  96.66 |  66.66 |  100 |  
442
-  processor.ts  |  93.54 |  96.66 |  66.66 |  100 | 54 
443
-  ...end/src/pkgs/api-router/utils |  54.54 |  38.46 |  66.66 |  54.54 |  
444
-  cors.ts  |  85.71 |  83.33 |  100 |  85.71 | 31-32,43-44 
445
-  ip.ts  |  0 |  0 |  0 |  0 | 4-91 
446
-  ...nd/src/pkgs/data-model/fields |  70 |  0 |  14.28 |  70 |  
447
-  field-factory.ts  |  16.66 |  0 |  0 |  16.66 | 139-206 
448
-  id-generator.ts  |  100 |  100 |  100 |  100 |  
449
-  superjson-utils.ts  |  50 |  100 |  0 |  50 | 16 
450
-  zod-fields.ts  |  90.9 |  100 |  0 |  90.9 | 136 
451
-  ...end/src/pkgs/data-model/hooks |  0 |  0 |  0 |  0 |  
452
-  create-hooks.ts  |  0 |  0 |  0 |  0 | 42-87 
453
-  update-hooks.ts  |  0 |  0 |  0 |  0 | 43-90 
454
-  update-many-hooks.ts  |  0 |  0 |  0 |  0 | 31-175 
455
-  utils.ts  |  0 |  0 |  0 |  0 | 45-142 
456
-  with-hooks-factory.ts  |  0 |  100 |  0 |  0 | 37-66 
457
-  backend/src/pkgs/db-adapters  |  28.57 |  42.1 |  33.33 |  28.57 |  
458
-  adapter-factory.ts  |  0 |  0 |  0 |  0 | 29-65 
459
-  utils.ts  |  85.71 |  88.88 |  100 |  85.71 | 46 
460
-  ...src/pkgs/db-adapters/adapters |  0 |  100 |  0 |  0 |  
461
-  test.ts  |  0 |  100 |  0 |  0 | 19-55 
462
-  ...ters/adapters/drizzle-adapter |  1.19 |  0 |  0 |  1.22 |  
463
-  drizzle-adapter.ts  |  1.19 |  0 |  0 |  1.22 | 52-457,531-701 
464
-  ...pters/adapters/kysely-adapter |  42.39 |  33.1 |  41.66 |  42.39 |  
465
-  dialect.ts  |  15 |  7.57 |  50 |  15 | 36-67,142,156-191
466
-  kysely-adapter.ts  |  46.02 |  40.43 |  41.37 |  46.02 | ...1153,1170-1176
467
-  ...adapters/kysely-adapter/tests |  46.23 |  25 |  38.23 |  46.23 |  
468
-  test-utils.ts  |  46.23 |  25 |  38.23 |  46.23 | 66-233 
469
-  ...pters/adapters/memory-adapter |  1.38 |  0 |  0 |  1.41 |  
470
-  memory-adapter.ts  |  1.38 |  0 |  0 |  1.41 | 127-304,342-659 
471
-  ...pters/adapters/prisma-adapter |  1.73 |  0 |  0 |  1.8 |  
472
-  prisma-adapter.ts  |  1.73 |  0 |  0 |  1.8 | 89-292,330-577 
473
-  backend/src/pkgs/migrations  |  59.84 |  46.34 |  59.09 |  60.93 |  
474
-  get-migration.ts  |  73.33 |  50 |  100 |  73.33 | 47-50,55-58 
475
-  migration-builders.ts  |  69.23 |  54.16 |  80 |  69.23 | 33-63,100,109 
476
-  migration-execution.ts  |  45.45 |  100 |  50 |  50 | 52-68 
477
-  schema-comparison.ts  |  51.35 |  30 |  57.14 |  52.94 | ...10-112,167-197
478
-  type-mapping.ts  |  56.66 |  50 |  40 |  56.66 | ...53,224,227-234
479
-  ...rc/pkgs/migrations/get-schema |  68.42 |  60 |  100 |  68.42 |  
480
-  get-schema.ts  |  60 |  0 |  100 |  60 | 39-40 
481
-  process-fields.ts  |  75 |  72.72 |  100 |  75 | 25,55-59 
482
-  process-tables.ts  |  64.7 |  58.33 |  100 |  64.7 | 24,33-36,41-42,51
483
-  backend/src/pkgs/results  |  0 |  0 |  0 |  0 |  
484
-  create-telemetry-options.ts  |  0 |  0 |  0 |  0 | 39-61 
485
-  orpc-error-handler.ts  |  0 |  0 |  0 |  0 | 27-131 
486
-  backend/src/pkgs/results/core  |  71.21 |  56.52 |  82.35 |  71.21 |  
487
-  error-class.ts  |  76.08 |  65.51 |  76.92 |  76.08 | 183,275-295 
488
-  error-codes.ts  |  100 |  100 |  100 |  100 |  
489
-  tracing.ts  |  50 |  9.09 |  100 |  50 | 34-62 
490
-  backend/src/pkgs/results/results |  89.55 |  55.55 |  82.75 |  89.55 |  
491
-  recovery-utils.ts  |  100 |  100 |  100 |  100 |  
492
-  result-helpers.ts  |  84.44 |  48.71 |  73.68 |  84.44 | 356-381 
493
-  backend/src/pkgs/utils  |  11.53 |  6.45 |  16.66 |  11.53 |  
494
-  env.ts  |  0 |  0 |  0 |  0 | 16-84 
495
-  logger.ts  |  60 |  100 |  50 |  60 | 36-37 
496
-  url.ts  |  0 |  0 |  0 |  0 | 9-104 
497
-  backend/src/schema  |  19.23 |  16.66 |  25 |  19.23 |  
498
-  create-registry.ts  |  0 |  100 |  0 |  0 | 12-13 
499
-  definition.ts  |  17.39 |  16.66 |  33.33 |  17.39 | 41-54,159-198 
500
-  schemas.ts  |  100 |  100 |  100 |  100 |  
501
-  backend/src/schema/audit-log  |  33.33 |  93.75 |  20 |  33.33 |  
502
-  registry.ts  |  0 |  0 |  0 |  0 | 42-114 
503
-  schema.ts  |  50 |  100 |  0 |  50 | 36 
504
-  table.ts  |  75 |  100 |  50 |  75 | 135 
505
-  backend/src/schema/consent  |  22.22 |  76 |  12.5 |  22.22 |  
506
-  registry.ts  |  0 |  0 |  0 |  0 | 43-176 
507
-  schema.ts  |  50 |  100 |  0 |  50 | 39 
508
-  table.ts  |  31.25 |  82.6 |  25 |  31.25 | 142-192 
509
-  ...end/src/schema/consent-policy |  10.52 |  63.41 |  8.33 |  10.52 |  
510
-  registry.ts  |  0 |  0 |  0 |  0 | 35-325 
511
-  schema.ts  |  50 |  100 |  0 |  50 | 49-50 
512
-  table.ts  |  66.66 |  100 |  50 |  66.66 | 132 
513
-  ...nd/src/schema/consent-purpose |  18.75 |  81.25 |  11.11 |  18.75 |  
514
-  registry.ts  |  0 |  0 |  0 |  0 | 44-163 
515
-  schema.ts  |  33.33 |  100 |  0 |  33.33 | 47-48 
516
-  table.ts  |  40 |  100 |  25 |  40 | 83-136 
517
-  ...end/src/schema/consent-record |  62.5 |  100 |  25 |  62.5 |  
518
-  schema.ts  |  33.33 |  100 |  0 |  33.33 | 31-32 
519
-  table.ts  |  80 |  100 |  50 |  80 | 106 
520
-  backend/src/schema/domain  |  9.09 |  59.45 |  8.33 |  9.09 |  
521
-  registry.ts  |  0 |  0 |  0 |  0 | 49-295 
522
-  schema.ts  |  33.33 |  100 |  0 |  33.33 | 32-33 
523
-  table.ts  |  50 |  100 |  33.33 |  50 | 76-109 
524
-  backend/src/schema/subject  |  6 |  36.06 |  9.09 |  6 |  
525
-  registry.ts  |  0 |  0 |  0 |  0 | 34-291 
526
-  schema.ts  |  33.33 |  100 |  0 |  33.33 | 30-31 
527
-  table.ts  |  40 |  100 |  25 |  40 | 57-110 
528
-  backend/src/testing  |  71.42 |  63.52 |  70 |  73.23 |  
529
-  contract-testing.ts  |  71.42 |  63.52 |  70 |  73.23 | ...33,363-367,400
530
- ----------------------------------|---------|----------|---------|---------|-------------------
531
- [?25h
43
+  Start at 17:53:09
44
+  Duration 514ms
45
+ [?2026l