@knpkv/codecommit-core 0.7.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (307) hide show
  1. package/dist/AwsClient/AwsClientGated.d.ts +1 -1
  2. package/dist/AwsClient/AwsClientGated.d.ts.map +1 -1
  3. package/dist/AwsClient/AwsClientGated.js +29 -16
  4. package/dist/AwsClient/AwsClientGated.js.map +1 -1
  5. package/dist/AwsClient/approvalRuleContent.d.ts +15 -0
  6. package/dist/AwsClient/approvalRuleContent.d.ts.map +1 -0
  7. package/dist/AwsClient/approvalRuleContent.js +39 -0
  8. package/dist/AwsClient/approvalRuleContent.js.map +1 -0
  9. package/dist/AwsClient/createApprovalRule.d.ts +1 -1
  10. package/dist/AwsClient/createApprovalRule.d.ts.map +1 -1
  11. package/dist/AwsClient/createPullRequest.d.ts +1 -1
  12. package/dist/AwsClient/createPullRequest.d.ts.map +1 -1
  13. package/dist/AwsClient/deleteApprovalRule.d.ts +1 -1
  14. package/dist/AwsClient/deleteApprovalRule.d.ts.map +1 -1
  15. package/dist/AwsClient/getCallerIdentity.d.ts +1 -1
  16. package/dist/AwsClient/getCallerIdentity.d.ts.map +1 -1
  17. package/dist/AwsClient/getCommentsForPullRequest.d.ts +1 -1
  18. package/dist/AwsClient/getCommentsForPullRequest.d.ts.map +1 -1
  19. package/dist/AwsClient/getCommentsForPullRequest.js +20 -20
  20. package/dist/AwsClient/getCommentsForPullRequest.js.map +1 -1
  21. package/dist/AwsClient/getDifferences.d.ts +1 -12
  22. package/dist/AwsClient/getDifferences.d.ts.map +1 -1
  23. package/dist/AwsClient/getDifferences.js.map +1 -1
  24. package/dist/AwsClient/getPullRequest.d.ts +2 -1
  25. package/dist/AwsClient/getPullRequest.d.ts.map +1 -1
  26. package/dist/AwsClient/getPullRequest.js +10 -10
  27. package/dist/AwsClient/getPullRequest.js.map +1 -1
  28. package/dist/AwsClient/getPullRequests.d.ts +10 -27
  29. package/dist/AwsClient/getPullRequests.d.ts.map +1 -1
  30. package/dist/AwsClient/getPullRequests.js +28 -92
  31. package/dist/AwsClient/getPullRequests.js.map +1 -1
  32. package/dist/AwsClient/index.d.ts +3 -3
  33. package/dist/AwsClient/index.d.ts.map +1 -1
  34. package/dist/AwsClient/index.js +14 -26
  35. package/dist/AwsClient/index.js.map +1 -1
  36. package/dist/AwsClient/internal.d.ts +36 -104
  37. package/dist/AwsClient/internal.d.ts.map +1 -1
  38. package/dist/AwsClient/internal.js +15 -14
  39. package/dist/AwsClient/internal.js.map +1 -1
  40. package/dist/AwsClient/listBranches.d.ts +1 -1
  41. package/dist/AwsClient/listBranches.d.ts.map +1 -1
  42. package/dist/AwsClient/listBranches.js +1 -1
  43. package/dist/AwsClient/listBranches.js.map +1 -1
  44. package/dist/AwsClient/updateApprovalRule.d.ts +1 -1
  45. package/dist/AwsClient/updateApprovalRule.d.ts.map +1 -1
  46. package/dist/AwsClient/updatePullRequestDescription.d.ts +1 -1
  47. package/dist/AwsClient/updatePullRequestDescription.d.ts.map +1 -1
  48. package/dist/AwsClient/updatePullRequestTitle.d.ts +1 -1
  49. package/dist/AwsClient/updatePullRequestTitle.d.ts.map +1 -1
  50. package/dist/AwsClientConfig.d.ts +7 -7
  51. package/dist/AwsClientConfig.d.ts.map +1 -1
  52. package/dist/AwsClientConfig.js +1 -1
  53. package/dist/AwsClientConfig.js.map +1 -1
  54. package/dist/CacheService/CacheError.d.ts +4 -6
  55. package/dist/CacheService/CacheError.d.ts.map +1 -1
  56. package/dist/CacheService/CacheError.js +2 -2
  57. package/dist/CacheService/CacheError.js.map +1 -1
  58. package/dist/CacheService/Database.d.ts +5 -5
  59. package/dist/CacheService/Database.d.ts.map +1 -1
  60. package/dist/CacheService/Database.js +3 -3
  61. package/dist/CacheService/Database.js.map +1 -1
  62. package/dist/CacheService/EventsHub.d.ts +44 -41
  63. package/dist/CacheService/EventsHub.d.ts.map +1 -1
  64. package/dist/CacheService/EventsHub.js +19 -19
  65. package/dist/CacheService/EventsHub.js.map +1 -1
  66. package/dist/CacheService/migrations/0001_initial.d.ts +2 -2
  67. package/dist/CacheService/migrations/0001_initial.d.ts.map +1 -1
  68. package/dist/CacheService/migrations/0001_initial.js +1 -1
  69. package/dist/CacheService/migrations/0001_initial.js.map +1 -1
  70. package/dist/CacheService/migrations/0002_indexes.d.ts +2 -2
  71. package/dist/CacheService/migrations/0002_indexes.d.ts.map +1 -1
  72. package/dist/CacheService/migrations/0002_indexes.js +1 -1
  73. package/dist/CacheService/migrations/0002_indexes.js.map +1 -1
  74. package/dist/CacheService/migrations/0003_add_health_score.d.ts +2 -2
  75. package/dist/CacheService/migrations/0003_add_health_score.d.ts.map +1 -1
  76. package/dist/CacheService/migrations/0003_add_health_score.js +2 -2
  77. package/dist/CacheService/migrations/0003_add_health_score.js.map +1 -1
  78. package/dist/CacheService/migrations/0004_unify_notifications.d.ts +2 -2
  79. package/dist/CacheService/migrations/0004_unify_notifications.d.ts.map +1 -1
  80. package/dist/CacheService/migrations/0004_unify_notifications.js +3 -3
  81. package/dist/CacheService/migrations/0004_unify_notifications.js.map +1 -1
  82. package/dist/CacheService/migrations/0005_add_sandboxes.d.ts +2 -2
  83. package/dist/CacheService/migrations/0005_add_sandboxes.d.ts.map +1 -1
  84. package/dist/CacheService/migrations/0005_add_sandboxes.js +1 -1
  85. package/dist/CacheService/migrations/0005_add_sandboxes.js.map +1 -1
  86. package/dist/CacheService/migrations/0006_sandbox_logs.d.ts +2 -2
  87. package/dist/CacheService/migrations/0006_sandbox_logs.d.ts.map +1 -1
  88. package/dist/CacheService/migrations/0006_sandbox_logs.js +1 -1
  89. package/dist/CacheService/migrations/0006_sandbox_logs.js.map +1 -1
  90. package/dist/CacheService/migrations/0007_stats_columns.d.ts +2 -2
  91. package/dist/CacheService/migrations/0007_stats_columns.d.ts.map +1 -1
  92. package/dist/CacheService/migrations/0007_stats_columns.js +5 -5
  93. package/dist/CacheService/migrations/0007_stats_columns.js.map +1 -1
  94. package/dist/CacheService/migrations/0008_merged_by.d.ts +2 -2
  95. package/dist/CacheService/migrations/0008_merged_by.d.ts.map +1 -1
  96. package/dist/CacheService/migrations/0008_merged_by.js +2 -2
  97. package/dist/CacheService/migrations/0008_merged_by.js.map +1 -1
  98. package/dist/CacheService/migrations/0009_approved_by.d.ts +2 -2
  99. package/dist/CacheService/migrations/0009_approved_by.d.ts.map +1 -1
  100. package/dist/CacheService/migrations/0009_approved_by.js +2 -2
  101. package/dist/CacheService/migrations/0009_approved_by.js.map +1 -1
  102. package/dist/CacheService/migrations/0010_commented_by.d.ts +2 -2
  103. package/dist/CacheService/migrations/0010_commented_by.d.ts.map +1 -1
  104. package/dist/CacheService/migrations/0010_commented_by.js +2 -2
  105. package/dist/CacheService/migrations/0010_commented_by.js.map +1 -1
  106. package/dist/CacheService/migrations/0011_audit_log.d.ts +2 -2
  107. package/dist/CacheService/migrations/0011_audit_log.d.ts.map +1 -1
  108. package/dist/CacheService/migrations/0011_audit_log.js +2 -2
  109. package/dist/CacheService/migrations/0011_audit_log.js.map +1 -1
  110. package/dist/CacheService/migrations/0012_audit_log_indexes.d.ts +2 -2
  111. package/dist/CacheService/migrations/0012_audit_log_indexes.d.ts.map +1 -1
  112. package/dist/CacheService/migrations/0012_audit_log_indexes.js +2 -2
  113. package/dist/CacheService/migrations/0012_audit_log_indexes.js.map +1 -1
  114. package/dist/CacheService/migrations/0013_approval_rules.d.ts +2 -2
  115. package/dist/CacheService/migrations/0013_approval_rules.d.ts.map +1 -1
  116. package/dist/CacheService/migrations/0013_approval_rules.js +2 -2
  117. package/dist/CacheService/migrations/0013_approval_rules.js.map +1 -1
  118. package/dist/CacheService/migrations/0014_approved_by_arns.d.ts +2 -2
  119. package/dist/CacheService/migrations/0014_approved_by_arns.d.ts.map +1 -1
  120. package/dist/CacheService/migrations/0014_approved_by_arns.js +2 -2
  121. package/dist/CacheService/migrations/0014_approved_by_arns.js.map +1 -1
  122. package/dist/CacheService/migrations/0015_repo_account_id.d.ts +2 -2
  123. package/dist/CacheService/migrations/0015_repo_account_id.d.ts.map +1 -1
  124. package/dist/CacheService/migrations/0015_repo_account_id.js +2 -2
  125. package/dist/CacheService/migrations/0015_repo_account_id.js.map +1 -1
  126. package/dist/CacheService/repos/CommentRepo.d.ts +11 -9
  127. package/dist/CacheService/repos/CommentRepo.d.ts.map +1 -1
  128. package/dist/CacheService/repos/CommentRepo.js +27 -29
  129. package/dist/CacheService/repos/CommentRepo.js.map +1 -1
  130. package/dist/CacheService/repos/NotificationRepo.d.ts +36 -34
  131. package/dist/CacheService/repos/NotificationRepo.d.ts.map +1 -1
  132. package/dist/CacheService/repos/NotificationRepo.js +92 -94
  133. package/dist/CacheService/repos/NotificationRepo.js.map +1 -1
  134. package/dist/CacheService/repos/PullRequestRepo/index.d.ts +129 -127
  135. package/dist/CacheService/repos/PullRequestRepo/index.d.ts.map +1 -1
  136. package/dist/CacheService/repos/PullRequestRepo/index.js +18 -19
  137. package/dist/CacheService/repos/PullRequestRepo/index.js.map +1 -1
  138. package/dist/CacheService/repos/PullRequestRepo/internal.d.ts +51 -54
  139. package/dist/CacheService/repos/PullRequestRepo/internal.d.ts.map +1 -1
  140. package/dist/CacheService/repos/PullRequestRepo/internal.js +22 -19
  141. package/dist/CacheService/repos/PullRequestRepo/internal.js.map +1 -1
  142. package/dist/CacheService/repos/PullRequestRepo/mutations.d.ts +1 -1
  143. package/dist/CacheService/repos/PullRequestRepo/mutations.d.ts.map +1 -1
  144. package/dist/CacheService/repos/PullRequestRepo/mutations.js +20 -4
  145. package/dist/CacheService/repos/PullRequestRepo/mutations.js.map +1 -1
  146. package/dist/CacheService/repos/PullRequestRepo/queries.d.ts +108 -108
  147. package/dist/CacheService/repos/PullRequestRepo/queries.d.ts.map +1 -1
  148. package/dist/CacheService/repos/PullRequestRepo/queries.js +11 -3
  149. package/dist/CacheService/repos/PullRequestRepo/queries.js.map +1 -1
  150. package/dist/CacheService/repos/SandboxRepo.d.ts +97 -95
  151. package/dist/CacheService/repos/SandboxRepo.d.ts.map +1 -1
  152. package/dist/CacheService/repos/SandboxRepo.js +47 -48
  153. package/dist/CacheService/repos/SandboxRepo.js.map +1 -1
  154. package/dist/CacheService/repos/StatsRepo/index.d.ts +65 -63
  155. package/dist/CacheService/repos/StatsRepo/index.d.ts.map +1 -1
  156. package/dist/CacheService/repos/StatsRepo/index.js +24 -25
  157. package/dist/CacheService/repos/StatsRepo/index.js.map +1 -1
  158. package/dist/CacheService/repos/StatsRepo/internal.d.ts +8 -13
  159. package/dist/CacheService/repos/StatsRepo/internal.d.ts.map +1 -1
  160. package/dist/CacheService/repos/StatsRepo/internal.js +11 -4
  161. package/dist/CacheService/repos/StatsRepo/internal.js.map +1 -1
  162. package/dist/CacheService/repos/StatsRepo/queries.d.ts +1 -1
  163. package/dist/CacheService/repos/StatsRepo/queries.d.ts.map +1 -1
  164. package/dist/CacheService/repos/StatsRepo/queries.js +8 -0
  165. package/dist/CacheService/repos/StatsRepo/queries.js.map +1 -1
  166. package/dist/CacheService/repos/StatsRepo/reviewerData.d.ts +1 -1
  167. package/dist/CacheService/repos/StatsRepo/reviewerData.d.ts.map +1 -1
  168. package/dist/CacheService/repos/StatsRepo/reviewerData.js +13 -3
  169. package/dist/CacheService/repos/StatsRepo/reviewerData.js.map +1 -1
  170. package/dist/CacheService/repos/SubscriptionRepo.d.ts +16 -14
  171. package/dist/CacheService/repos/SubscriptionRepo.d.ts.map +1 -1
  172. package/dist/CacheService/repos/SubscriptionRepo.js +36 -37
  173. package/dist/CacheService/repos/SubscriptionRepo.js.map +1 -1
  174. package/dist/CacheService/repos/SyncMetadataRepo.d.ts +11 -9
  175. package/dist/CacheService/repos/SyncMetadataRepo.d.ts.map +1 -1
  176. package/dist/CacheService/repos/SyncMetadataRepo.js +22 -23
  177. package/dist/CacheService/repos/SyncMetadataRepo.js.map +1 -1
  178. package/dist/CacheService/repos/commentLocations.d.ts +12 -0
  179. package/dist/CacheService/repos/commentLocations.d.ts.map +1 -0
  180. package/dist/CacheService/repos/commentLocations.js +7 -0
  181. package/dist/CacheService/repos/commentLocations.js.map +1 -0
  182. package/dist/ConfigService/backup.d.ts +1 -1
  183. package/dist/ConfigService/backup.d.ts.map +1 -1
  184. package/dist/ConfigService/backup.js +1 -1
  185. package/dist/ConfigService/backup.js.map +1 -1
  186. package/dist/ConfigService/detectProfiles.d.ts +2 -1
  187. package/dist/ConfigService/detectProfiles.d.ts.map +1 -1
  188. package/dist/ConfigService/detectProfiles.js +3 -2
  189. package/dist/ConfigService/detectProfiles.js.map +1 -1
  190. package/dist/ConfigService/index.d.ts +10 -11
  191. package/dist/ConfigService/index.d.ts.map +1 -1
  192. package/dist/ConfigService/index.js +13 -6
  193. package/dist/ConfigService/index.js.map +1 -1
  194. package/dist/ConfigService/internal.d.ts +41 -137
  195. package/dist/ConfigService/internal.d.ts.map +1 -1
  196. package/dist/ConfigService/internal.js +35 -20
  197. package/dist/ConfigService/internal.js.map +1 -1
  198. package/dist/ConfigService/load.d.ts +25 -28
  199. package/dist/ConfigService/load.d.ts.map +1 -1
  200. package/dist/ConfigService/load.js +11 -28
  201. package/dist/ConfigService/load.js.map +1 -1
  202. package/dist/ConfigService/reset.d.ts +26 -5
  203. package/dist/ConfigService/reset.d.ts.map +1 -1
  204. package/dist/ConfigService/reset.js +9 -16
  205. package/dist/ConfigService/reset.js.map +1 -1
  206. package/dist/ConfigService/save.d.ts +2 -1
  207. package/dist/ConfigService/save.d.ts.map +1 -1
  208. package/dist/ConfigService/save.js +2 -1
  209. package/dist/ConfigService/save.js.map +1 -1
  210. package/dist/ConfigService/validate.d.ts +6 -20
  211. package/dist/ConfigService/validate.d.ts.map +1 -1
  212. package/dist/ConfigService/validate.js +10 -11
  213. package/dist/ConfigService/validate.js.map +1 -1
  214. package/dist/Domain.d.ts +130 -324
  215. package/dist/Domain.d.ts.map +1 -1
  216. package/dist/Domain.js +77 -20
  217. package/dist/Domain.js.map +1 -1
  218. package/dist/Errors.d.ts +45 -65
  219. package/dist/Errors.d.ts.map +1 -1
  220. package/dist/Errors.js +20 -20
  221. package/dist/Errors.js.map +1 -1
  222. package/dist/PRService/index.d.ts +36 -33
  223. package/dist/PRService/index.d.ts.map +1 -1
  224. package/dist/PRService/index.js +44 -45
  225. package/dist/PRService/index.js.map +1 -1
  226. package/dist/PRService/internal.d.ts +86 -118
  227. package/dist/PRService/internal.d.ts.map +1 -1
  228. package/dist/PRService/internal.js +28 -25
  229. package/dist/PRService/internal.js.map +1 -1
  230. package/dist/PRService/refresh.d.ts +1 -1
  231. package/dist/PRService/refresh.d.ts.map +1 -1
  232. package/dist/PRService/refresh.js +4 -4
  233. package/dist/PRService/refresh.js.map +1 -1
  234. package/dist/PRService/refreshDiffs.d.ts +1 -1
  235. package/dist/PRService/refreshDiffs.d.ts.map +1 -1
  236. package/dist/PRService/refreshDiffs.js +3 -3
  237. package/dist/PRService/refreshDiffs.js.map +1 -1
  238. package/dist/PRService/refreshEnrich.d.ts +1 -5
  239. package/dist/PRService/refreshEnrich.d.ts.map +1 -1
  240. package/dist/PRService/refreshEnrich.js +9 -9
  241. package/dist/PRService/refreshEnrich.js.map +1 -1
  242. package/dist/PRService/refreshFetch.d.ts +1 -5
  243. package/dist/PRService/refreshFetch.d.ts.map +1 -1
  244. package/dist/PRService/refreshFetch.js +10 -10
  245. package/dist/PRService/refreshFetch.js.map +1 -1
  246. package/dist/PRService/refreshHistory.d.ts +1 -1
  247. package/dist/PRService/refreshHistory.d.ts.map +1 -1
  248. package/dist/PRService/refreshHistory.js +8 -8
  249. package/dist/PRService/refreshHistory.js.map +1 -1
  250. package/dist/PRService/refreshResolve.d.ts +6 -6
  251. package/dist/PRService/refreshResolve.d.ts.map +1 -1
  252. package/dist/PRService/refreshResolve.js +6 -6
  253. package/dist/PRService/refreshResolve.js.map +1 -1
  254. package/dist/PRService/refreshScore.d.ts +1 -2
  255. package/dist/PRService/refreshScore.d.ts.map +1 -1
  256. package/dist/PRService/refreshScore.js +5 -5
  257. package/dist/PRService/refreshScore.js.map +1 -1
  258. package/dist/PRService/refreshSinglePR.d.ts +4 -1
  259. package/dist/PRService/refreshSinglePR.d.ts.map +1 -1
  260. package/dist/PRService/refreshSinglePR.js +92 -82
  261. package/dist/PRService/refreshSinglePR.js.map +1 -1
  262. package/dist/PermissionService/AuditLog.d.ts +30 -32
  263. package/dist/PermissionService/AuditLog.d.ts.map +1 -1
  264. package/dist/PermissionService/AuditLog.js +89 -90
  265. package/dist/PermissionService/AuditLog.js.map +1 -1
  266. package/dist/PermissionService/PermissionGate.d.ts +8 -21
  267. package/dist/PermissionService/PermissionGate.d.ts.map +1 -1
  268. package/dist/PermissionService/PermissionGate.js +2 -2
  269. package/dist/PermissionService/PermissionGate.js.map +1 -1
  270. package/dist/PermissionService/PermissionGateLive.d.ts +7 -11
  271. package/dist/PermissionService/PermissionGateLive.d.ts.map +1 -1
  272. package/dist/PermissionService/PermissionGateLive.js +49 -49
  273. package/dist/PermissionService/PermissionGateLive.js.map +1 -1
  274. package/dist/PermissionService/index.d.ts +17 -17
  275. package/dist/PermissionService/index.d.ts.map +1 -1
  276. package/dist/PermissionService/index.js +50 -50
  277. package/dist/PermissionService/index.js.map +1 -1
  278. package/dist/SandboxService/DockerService.d.ts +22 -19
  279. package/dist/SandboxService/DockerService.d.ts.map +1 -1
  280. package/dist/SandboxService/DockerService.js +71 -70
  281. package/dist/SandboxService/DockerService.js.map +1 -1
  282. package/dist/SandboxService/PluginService.d.ts +11 -8
  283. package/dist/SandboxService/PluginService.d.ts.map +1 -1
  284. package/dist/SandboxService/PluginService.js +16 -16
  285. package/dist/SandboxService/PluginService.js.map +1 -1
  286. package/dist/SandboxService/SandboxService.d.ts +78 -76
  287. package/dist/SandboxService/SandboxService.d.ts.map +1 -1
  288. package/dist/SandboxService/SandboxService.js +235 -226
  289. package/dist/SandboxService/SandboxService.js.map +1 -1
  290. package/dist/SandboxService/index.d.ts +0 -1
  291. package/dist/SandboxService/index.d.ts.map +1 -1
  292. package/dist/SandboxService/index.js +0 -1
  293. package/dist/SandboxService/index.js.map +1 -1
  294. package/dist/StatsService/WeeklyStats.d.ts +112 -112
  295. package/dist/StatsService/index.d.ts +3 -8
  296. package/dist/StatsService/index.d.ts.map +1 -1
  297. package/dist/StatsService/index.js +113 -112
  298. package/dist/StatsService/index.js.map +1 -1
  299. package/dist/index.d.ts +1 -2
  300. package/dist/index.d.ts.map +1 -1
  301. package/dist/index.js +1 -2
  302. package/dist/index.js.map +1 -1
  303. package/package.json +6 -12
  304. package/dist/SandboxService/plugins/ClaudeCodePlugin.d.ts +0 -18
  305. package/dist/SandboxService/plugins/ClaudeCodePlugin.d.ts.map +0 -1
  306. package/dist/SandboxService/plugins/ClaudeCodePlugin.js +0 -24
  307. package/dist/SandboxService/plugins/ClaudeCodePlugin.js.map +0 -1
package/dist/Domain.js CHANGED
@@ -40,7 +40,7 @@
40
40
  * @category Domain
41
41
  * @module
42
42
  */
43
- import { Data, Schema } from "effect";
43
+ import { Data, Effect, Schema } from "effect";
44
44
  // ---------------------------------------------------------------------------
45
45
  // Branded Types
46
46
  // ---------------------------------------------------------------------------
@@ -88,25 +88,33 @@ export const SandboxId = Schema.String.pipe(Schema.brand("SandboxId"));
88
88
  *
89
89
  * @category Domain
90
90
  */
91
- export const PullRequestStatus = Schema.Literal("OPEN", "CLOSED", "MERGED");
91
+ export const PullRequestStatus = Schema.Literals(["OPEN", "CLOSED", "MERGED"]);
92
92
  /**
93
93
  * Notification severity type.
94
94
  *
95
95
  * @category Domain
96
96
  */
97
- export const NotificationType = Schema.Literal("error", "info", "warning", "success");
97
+ export const NotificationType = Schema.Literals(["error", "info", "warning", "success"]);
98
98
  /**
99
99
  * Application loading status.
100
100
  *
101
101
  * @category Domain
102
102
  */
103
- export const AppStatus = Schema.Literal("idle", "loading", "error");
103
+ export const AppStatus = Schema.Literals(["idle", "loading", "error"]);
104
104
  /**
105
105
  * Sandbox lifecycle status.
106
106
  *
107
107
  * @category Domain
108
108
  */
109
- export const SandboxStatus = Schema.Literal("creating", "cloning", "starting", "running", "stopping", "stopped", "error");
109
+ export const SandboxStatus = Schema.Literals([
110
+ "creating",
111
+ "cloning",
112
+ "starting",
113
+ "running",
114
+ "stopping",
115
+ "stopped",
116
+ "error"
117
+ ]);
110
118
  // ---------------------------------------------------------------------------
111
119
  // Domain Models
112
120
  // ---------------------------------------------------------------------------
@@ -131,7 +139,7 @@ export class ApprovalRule extends Schema.Class("ApprovalRule")({
131
139
  ruleName: Schema.String,
132
140
  requiredApprovals: Schema.Number,
133
141
  poolMembers: Schema.Array(Schema.String),
134
- poolMemberArns: Schema.optionalWith(Schema.Array(Schema.String), { default: () => [] }),
142
+ poolMemberArns: Schema.Array(Schema.String).pipe(Schema.withDecodingDefaultTypeKey(Effect.succeed([]))),
135
143
  satisfied: Schema.Boolean,
136
144
  fromTemplate: Schema.optional(Schema.String)
137
145
  }) {
@@ -147,8 +155,8 @@ export class PullRequest extends Schema.Class("PullRequest")({
147
155
  description: Schema.optional(Schema.String),
148
156
  author: Schema.String,
149
157
  repositoryName: RepositoryName,
150
- creationDate: Schema.DateFromSelf,
151
- lastModifiedDate: Schema.DateFromSelf,
158
+ creationDate: Schema.Date,
159
+ lastModifiedDate: Schema.Date,
152
160
  link: Schema.String,
153
161
  account: Account,
154
162
  status: PullRequestStatus,
@@ -158,27 +166,63 @@ export class PullRequest extends Schema.Class("PullRequest")({
158
166
  isApproved: Schema.Boolean,
159
167
  commentCount: Schema.optional(Schema.Number),
160
168
  healthScore: Schema.optional(Schema.Number),
161
- fetchedAt: Schema.optional(Schema.DateFromSelf),
169
+ fetchedAt: Schema.optional(Schema.Date),
162
170
  approvedBy: Schema.Array(Schema.String),
163
- approvedByArns: Schema.optionalWith(Schema.Array(Schema.String), { default: () => [] }),
171
+ approvedByArns: Schema.Array(Schema.String).pipe(Schema.withDecodingDefaultTypeKey(Effect.succeed([]))),
164
172
  commentedBy: Schema.Array(Schema.String),
165
173
  filesChanged: Schema.optional(Schema.Number),
166
- approvalRules: Schema.optionalWith(Schema.Array(ApprovalRule), { default: () => [] })
174
+ approvalRules: Schema.Array(ApprovalRule).pipe(Schema.withDecodingDefaultTypeKey(Effect.succeed([])))
167
175
  }) {
168
176
  get consoleUrl() {
169
177
  return codecommitConsoleUrl(this.account.region, this.repositoryName, this.id);
170
178
  }
171
179
  }
180
+ /**
181
+ * Robust identity comparison for matching a caller against an author or
182
+ * approval-pool member.
183
+ *
184
+ * Both sides normally arrive already normalised by `normalizeAuthor`
185
+ * (ARN → trailing `/`-segment), so the happy path is a plain equality. Under
186
+ * cross-account SSO / assumed-role setups the two strings can still diverge —
187
+ * e.g. one side is a full ARN or `AWSReservedSSO_<perm>_<id>/<user>` form while
188
+ * the other is the bare username, or they differ only in case. This is a
189
+ * SUPERSET of exact match: it still matches when the strings are equal, and
190
+ * additionally matches when, after case-folding and reducing each side to its
191
+ * final `/`- or `:`-segment (the username), the username segments are equal.
192
+ * It deliberately anchors on the username segment so unrelated users never match.
193
+ *
194
+ * @category Domain
195
+ */
196
+ export const identityMatches = (callerUsername, prAuthor) => {
197
+ const norm = (s) => s.trim().toLowerCase();
198
+ const tail = (s) => {
199
+ const segments = norm(s).split(/[/:]/).filter((seg) => seg.length > 0);
200
+ return segments[segments.length - 1] ?? "";
201
+ };
202
+ const a = norm(callerUsername);
203
+ const b = norm(prAuthor);
204
+ if (a === "" || b === "")
205
+ return false;
206
+ if (a === b)
207
+ return true;
208
+ const ta = tail(callerUsername);
209
+ const tb = tail(prAuthor);
210
+ return ta !== "" && ta === tb;
211
+ };
172
212
  /**
173
213
  * Check if a PR needs review from the given user.
174
214
  * Standalone function so it works with both Schema.Class instances and plain wire objects.
215
+ *
216
+ * Uses {@link identityMatches} (a superset of exact equality) for the
217
+ * caller-vs-pool-member and caller-vs-approver comparisons so SSO/ARN identity
218
+ * forms still match when they refer to the same user.
175
219
  */
176
220
  export const needsMyReview = (pr, currentUser) => {
177
221
  if (!currentUser)
178
222
  return false;
179
- if (pr.approvedBy.includes(currentUser))
223
+ if (pr.approvedBy.some((approver) => identityMatches(currentUser, approver)))
180
224
  return false;
181
- return pr.approvalRules.some((rule) => !rule.satisfied && rule.poolMembers.includes(currentUser));
225
+ return pr.approvalRules.some((rule) => !rule.satisfied && rule.poolMembers.some((member) => identityMatches(currentUser, member)));
182
226
  };
183
227
  export const codecommitConsoleUrl = (region, repo, prId) => `https://${region}.console.aws.amazon.com/codesuite/codecommit/repositories/${repo}/pull-requests/${prId}?region=${region}`;
184
228
  /**
@@ -197,8 +241,8 @@ export class Sandbox extends Schema.Class("Sandbox")({
197
241
  workspacePath: Schema.String,
198
242
  status: SandboxStatus,
199
243
  error: Schema.optional(Schema.String),
200
- createdAt: Schema.DateFromSelf,
201
- lastActivityAt: Schema.DateFromSelf
244
+ createdAt: Schema.Date,
245
+ lastActivityAt: Schema.Date
202
246
  }) {
203
247
  }
204
248
  /**
@@ -210,7 +254,7 @@ export class PRComment extends Schema.Class("PRComment")({
210
254
  id: CommentId,
211
255
  content: Schema.String,
212
256
  author: Schema.String,
213
- creationDate: Schema.DateFromSelf,
257
+ creationDate: Schema.Date,
214
258
  inReplyTo: Schema.optional(CommentId),
215
259
  deleted: Schema.Boolean,
216
260
  filePath: Schema.optional(Schema.String),
@@ -275,14 +319,27 @@ export const encodeCommentLocations = (locations) => locations.map((loc) => ({
275
319
  // ---------------------------------------------------------------------------
276
320
  // Persistent Notification Types
277
321
  // ---------------------------------------------------------------------------
278
- export const PersistentNotificationType = Schema.Literal("new_comment", "comment_edited", "comment_deleted", "approval_changed", "approval_requested", "review_reminder", "merge_changed", "title_changed", "description_changed", "pr_merged", "pr_closed", "pr_reopened");
322
+ export const PersistentNotificationType = Schema.Literals([
323
+ "new_comment",
324
+ "comment_edited",
325
+ "comment_deleted",
326
+ "approval_changed",
327
+ "approval_requested",
328
+ "review_reminder",
329
+ "merge_changed",
330
+ "title_changed",
331
+ "description_changed",
332
+ "pr_merged",
333
+ "pr_closed",
334
+ "pr_reopened"
335
+ ]);
279
336
  export class PersistentNotification extends Schema.Class("PersistentNotification")({
280
337
  id: Schema.Number,
281
338
  pullRequestId: PullRequestId,
282
339
  awsAccountId: Schema.String,
283
340
  type: PersistentNotificationType,
284
341
  message: Schema.String,
285
- createdAt: Schema.DateFromSelf,
342
+ createdAt: Schema.Date,
286
343
  read: Schema.Boolean
287
344
  }) {
288
345
  }
@@ -299,8 +356,8 @@ export class NotificationItem extends Schema.Class("NotificationItem")({
299
356
  type: NotificationType,
300
357
  title: Schema.String,
301
358
  message: Schema.String,
302
- timestamp: Schema.DateFromSelf,
303
- profile: Schema.optionalWith(Schema.String, { exact: true })
359
+ timestamp: Schema.Date,
360
+ profile: Schema.optionalKey(Schema.String)
304
361
  }) {
305
362
  }
306
363
  //# sourceMappingURL=Domain.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Domain.js","sourceRoot":"","sources":["../src/Domain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAErC,8EAA8E;AAC9E,gBAAgB;AAChB,8EAA8E;AAE9E;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAA;AAG9E;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAA;AAGhF;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAA;AAGhF;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,C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AAa;IAC5B,YAAY,EAAE,MAAM,CAAC,MAAM;IAC3B,IAAI,EAAE,0BAA0B;IAChC,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,SAAS,EAAE,MAAM,CAAC,IAAI;IACtB,IAAI,EAAE,MAAM,CAAC,OAAO;CACrB,CAAC;CAAG;AAQL,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,UAAU,EAAgB,CAAA;AAE3D,8EAA8E;AAC9E,eAAe;AACf,8EAA8E;AAE9E;;;;GAIG;AACH,MAAM,OAAO,gBAAiB,SAAQ,MAAM,CAAC,KAAK,CAAmB,kBAAkB,CAAC,CAAC;IACvF,IAAI,EAAE,gBAAgB;IACtB,KAAK,EAAE,MAAM,CAAC,MAAM;IACpB,OAAO,EAAE,MAAM,CAAC,MAAM;IACtB,SAAS,EAAE,MAAM,CAAC,IAAI;IACtB,OAAO,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC;CAC3C,CAAC;CAAG"}
package/dist/Errors.d.ts CHANGED
@@ -24,13 +24,11 @@
24
24
  * @module
25
25
  */
26
26
  import { Schema } from "effect";
27
- declare const AwsCredentialError_base: Schema.TaggedErrorClass<AwsCredentialError, "AwsCredentialError", {
28
- readonly _tag: Schema.tag<"AwsCredentialError">;
29
- } & {
30
- profile: Schema.brand<typeof Schema.String, "AwsProfileName">;
31
- region: Schema.brand<typeof Schema.String, "AwsRegion">;
32
- cause: typeof Schema.Defect;
33
- }>;
27
+ declare const AwsCredentialError_base: Schema.Class<AwsCredentialError, Schema.TaggedStruct<"AwsCredentialError", {
28
+ readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
29
+ readonly region: Schema.brand<Schema.String, "AwsRegion">;
30
+ readonly cause: Schema.Defect;
31
+ }>, import("effect/Cause").YieldableError>;
34
32
  /**
35
33
  * AWS credential acquisition failure.
36
34
  *
@@ -38,13 +36,11 @@ declare const AwsCredentialError_base: Schema.TaggedErrorClass<AwsCredentialErro
38
36
  */
39
37
  export declare class AwsCredentialError extends AwsCredentialError_base {
40
38
  }
41
- declare const AwsThrottleError_base: Schema.TaggedErrorClass<AwsThrottleError, "AwsThrottleError", {
42
- readonly _tag: Schema.tag<"AwsThrottleError">;
43
- } & {
44
- operation: typeof Schema.String;
45
- retryCount: typeof Schema.Number;
46
- cause: typeof Schema.Defect;
47
- }>;
39
+ declare const AwsThrottleError_base: Schema.Class<AwsThrottleError, Schema.TaggedStruct<"AwsThrottleError", {
40
+ readonly operation: Schema.String;
41
+ readonly retryCount: Schema.Number;
42
+ readonly cause: Schema.Defect;
43
+ }>, import("effect/Cause").YieldableError>;
48
44
  /**
49
45
  * AWS API throttling / rate limiting.
50
46
  *
@@ -52,14 +48,12 @@ declare const AwsThrottleError_base: Schema.TaggedErrorClass<AwsThrottleError, "
52
48
  */
53
49
  export declare class AwsThrottleError extends AwsThrottleError_base {
54
50
  }
55
- declare const AwsApiError_base: Schema.TaggedErrorClass<AwsApiError, "AwsApiError", {
56
- readonly _tag: Schema.tag<"AwsApiError">;
57
- } & {
58
- operation: typeof Schema.String;
59
- profile: Schema.brand<typeof Schema.String, "AwsProfileName">;
60
- region: Schema.brand<typeof Schema.String, "AwsRegion">;
61
- cause: typeof Schema.Defect;
62
- }>;
51
+ declare const AwsApiError_base: Schema.Class<AwsApiError, Schema.TaggedStruct<"AwsApiError", {
52
+ readonly operation: Schema.String;
53
+ readonly profile: Schema.brand<Schema.String, "AwsProfileName">;
54
+ readonly region: Schema.brand<Schema.String, "AwsRegion">;
55
+ readonly cause: Schema.Defect;
56
+ }>, import("effect/Cause").YieldableError>;
63
57
  /**
64
58
  * AWS API call failure.
65
59
  *
@@ -67,12 +61,10 @@ declare const AwsApiError_base: Schema.TaggedErrorClass<AwsApiError, "AwsApiErro
67
61
  */
68
62
  export declare class AwsApiError extends AwsApiError_base {
69
63
  }
70
- declare const ConfigError_base: Schema.TaggedErrorClass<ConfigError, "ConfigError", {
71
- readonly _tag: Schema.tag<"ConfigError">;
72
- } & {
73
- message: typeof Schema.String;
74
- cause: Schema.optional<typeof Schema.Defect>;
75
- }>;
64
+ declare const ConfigError_base: Schema.Class<ConfigError, Schema.TaggedStruct<"ConfigError", {
65
+ readonly message: Schema.String;
66
+ readonly cause: Schema.optional<Schema.Defect>;
67
+ }>, import("effect/Cause").YieldableError>;
76
68
  /**
77
69
  * Configuration load/save failure.
78
70
  *
@@ -80,12 +72,10 @@ declare const ConfigError_base: Schema.TaggedErrorClass<ConfigError, "ConfigErro
80
72
  */
81
73
  export declare class ConfigError extends ConfigError_base {
82
74
  }
83
- declare const ConfigParseError_base: Schema.TaggedErrorClass<ConfigParseError, "ConfigParseError", {
84
- readonly _tag: Schema.tag<"ConfigParseError">;
85
- } & {
86
- path: typeof Schema.String;
87
- cause: typeof Schema.Defect;
88
- }>;
75
+ declare const ConfigParseError_base: Schema.Class<ConfigParseError, Schema.TaggedStruct<"ConfigParseError", {
76
+ readonly path: Schema.String;
77
+ readonly cause: Schema.Defect;
78
+ }>, import("effect/Cause").YieldableError>;
89
79
  /**
90
80
  * Configuration file parse failure (JSON or Schema validation).
91
81
  *
@@ -93,12 +83,10 @@ declare const ConfigParseError_base: Schema.TaggedErrorClass<ConfigParseError, "
93
83
  */
94
84
  export declare class ConfigParseError extends ConfigParseError_base {
95
85
  }
96
- declare const ProfileDetectionError_base: Schema.TaggedErrorClass<ProfileDetectionError, "ProfileDetectionError", {
97
- readonly _tag: Schema.tag<"ProfileDetectionError">;
98
- } & {
99
- message: typeof Schema.String;
100
- cause: Schema.optional<typeof Schema.Defect>;
101
- }>;
86
+ declare const ProfileDetectionError_base: Schema.Class<ProfileDetectionError, Schema.TaggedStruct<"ProfileDetectionError", {
87
+ readonly message: Schema.String;
88
+ readonly cause: Schema.optional<Schema.Defect>;
89
+ }>, import("effect/Cause").YieldableError>;
102
90
  /**
103
91
  * AWS profile detection failure.
104
92
  *
@@ -106,12 +94,10 @@ declare const ProfileDetectionError_base: Schema.TaggedErrorClass<ProfileDetecti
106
94
  */
107
95
  export declare class ProfileDetectionError extends ProfileDetectionError_base {
108
96
  }
109
- declare const RefreshError_base: Schema.TaggedErrorClass<RefreshError, "RefreshError", {
110
- readonly _tag: Schema.tag<"RefreshError">;
111
- } & {
112
- failedAccounts: Schema.Array$<typeof Schema.String>;
113
- cause: Schema.optional<typeof Schema.Defect>;
114
- }>;
97
+ declare const RefreshError_base: Schema.Class<RefreshError, Schema.TaggedStruct<"RefreshError", {
98
+ readonly failedAccounts: Schema.$Array<Schema.String>;
99
+ readonly cause: Schema.optional<Schema.Defect>;
100
+ }>, import("effect/Cause").YieldableError>;
115
101
  /**
116
102
  * Refresh orchestration failure — one or more accounts failed.
117
103
  *
@@ -119,12 +105,10 @@ declare const RefreshError_base: Schema.TaggedErrorClass<RefreshError, "RefreshE
119
105
  */
120
106
  export declare class RefreshError extends RefreshError_base {
121
107
  }
122
- declare const DockerError_base: Schema.TaggedErrorClass<DockerError, "DockerError", {
123
- readonly _tag: Schema.tag<"DockerError">;
124
- } & {
125
- operation: typeof Schema.String;
126
- cause: Schema.optional<typeof Schema.Defect>;
127
- }>;
108
+ declare const DockerError_base: Schema.Class<DockerError, Schema.TaggedStruct<"DockerError", {
109
+ readonly operation: Schema.String;
110
+ readonly cause: Schema.optional<Schema.Defect>;
111
+ }>, import("effect/Cause").YieldableError>;
128
112
  /**
129
113
  * Docker Engine interaction failure.
130
114
  *
@@ -132,13 +116,11 @@ declare const DockerError_base: Schema.TaggedErrorClass<DockerError, "DockerErro
132
116
  */
133
117
  export declare class DockerError extends DockerError_base {
134
118
  }
135
- declare const SandboxError_base: Schema.TaggedErrorClass<SandboxError, "SandboxError", {
136
- readonly _tag: Schema.tag<"SandboxError">;
137
- } & {
138
- sandboxId: Schema.optional<Schema.brand<typeof Schema.String, "SandboxId">>;
139
- message: typeof Schema.String;
140
- cause: Schema.optional<typeof Schema.Defect>;
141
- }>;
119
+ declare const SandboxError_base: Schema.Class<SandboxError, Schema.TaggedStruct<"SandboxError", {
120
+ readonly sandboxId: Schema.optional<Schema.brand<Schema.String, "SandboxId">>;
121
+ readonly message: Schema.String;
122
+ readonly cause: Schema.optional<Schema.Defect>;
123
+ }>, import("effect/Cause").YieldableError>;
142
124
  /**
143
125
  * Sandbox lifecycle failure.
144
126
  *
@@ -146,12 +128,10 @@ declare const SandboxError_base: Schema.TaggedErrorClass<SandboxError, "SandboxE
146
128
  */
147
129
  export declare class SandboxError extends SandboxError_base {
148
130
  }
149
- declare const PermissionDeniedError_base: Schema.TaggedErrorClass<PermissionDeniedError, "PermissionDeniedError", {
150
- readonly _tag: Schema.tag<"PermissionDeniedError">;
151
- } & {
152
- operation: typeof Schema.String;
153
- reason: Schema.Literal<["denied", "timeout"]>;
154
- }>;
131
+ declare const PermissionDeniedError_base: Schema.Class<PermissionDeniedError, Schema.TaggedStruct<"PermissionDeniedError", {
132
+ readonly operation: Schema.String;
133
+ readonly reason: Schema.Literals<readonly ["denied", "timeout"]>;
134
+ }>, import("effect/Cause").YieldableError>;
155
135
  /**
156
136
  * API call blocked by permission gate.
157
137
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../src/Errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;;;;;;;;AAG/B;;;;GAIG;AACH,qBAAa,kBAAmB,SAAQ,uBAOvC;CAAG;;;;;;;;AAEJ;;;;GAIG;AACH,qBAAa,gBAAiB,SAAQ,qBAOrC;CAAG;;;;;;;;;AAEJ;;;;GAIG;AACH,qBAAa,WAAY,SAAQ,gBAQhC;CAAG;;;;;;;AAEJ;;;;GAIG;AACH,qBAAa,WAAY,SAAQ,gBAMhC;CAAG;;;;;;;AAEJ;;;;GAIG;AACH,qBAAa,gBAAiB,SAAQ,qBAMrC;CAAG;;;;;;;AAEJ;;;;GAIG;AACH,qBAAa,qBAAsB,SAAQ,0BAM1C;CAAG;;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,iBAOjC;CAAG;;;;;AAEJ;;;;GAIG;AACH,qBAAa,qBAAsB,SAAQ,0BAM1C;CAAG;AAEJ;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,gBAAgB,GAAG,WAAW,CAAA;AAEhF;;;;GAIG;AACH,MAAM,MAAM,eAAe,GACvB,kBAAkB,GAClB,gBAAgB,GAChB,WAAW,GACX,WAAW,GACX,gBAAgB,GAChB,qBAAqB,GACrB,YAAY,GACZ,WAAW,GACX,YAAY,GACZ,qBAAqB,CAAA"}
package/dist/Errors.js CHANGED
@@ -30,10 +30,10 @@ import { AwsProfileName, AwsRegion, SandboxId } from "./Domain.js";
30
30
  *
31
31
  * @category Errors
32
32
  */
33
- export class AwsCredentialError extends Schema.TaggedError()("AwsCredentialError", {
33
+ export class AwsCredentialError extends Schema.TaggedErrorClass()("AwsCredentialError", {
34
34
  profile: AwsProfileName,
35
35
  region: AwsRegion,
36
- cause: Schema.Defect
36
+ cause: Schema.Defect()
37
37
  }) {
38
38
  }
39
39
  /**
@@ -41,10 +41,10 @@ export class AwsCredentialError extends Schema.TaggedError()("AwsCredentialError
41
41
  *
42
42
  * @category Errors
43
43
  */
44
- export class AwsThrottleError extends Schema.TaggedError()("AwsThrottleError", {
44
+ export class AwsThrottleError extends Schema.TaggedErrorClass()("AwsThrottleError", {
45
45
  operation: Schema.String,
46
46
  retryCount: Schema.Number,
47
- cause: Schema.Defect
47
+ cause: Schema.Defect()
48
48
  }) {
49
49
  }
50
50
  /**
@@ -52,11 +52,11 @@ export class AwsThrottleError extends Schema.TaggedError()("AwsThrottleError", {
52
52
  *
53
53
  * @category Errors
54
54
  */
55
- export class AwsApiError extends Schema.TaggedError()("AwsApiError", {
55
+ export class AwsApiError extends Schema.TaggedErrorClass()("AwsApiError", {
56
56
  operation: Schema.String,
57
57
  profile: AwsProfileName,
58
58
  region: AwsRegion,
59
- cause: Schema.Defect
59
+ cause: Schema.Defect()
60
60
  }) {
61
61
  }
62
62
  /**
@@ -64,9 +64,9 @@ export class AwsApiError extends Schema.TaggedError()("AwsApiError", {
64
64
  *
65
65
  * @category Errors
66
66
  */
67
- export class ConfigError extends Schema.TaggedError()("ConfigError", {
67
+ export class ConfigError extends Schema.TaggedErrorClass()("ConfigError", {
68
68
  message: Schema.String,
69
- cause: Schema.optional(Schema.Defect)
69
+ cause: Schema.optional(Schema.Defect())
70
70
  }) {
71
71
  }
72
72
  /**
@@ -74,9 +74,9 @@ export class ConfigError extends Schema.TaggedError()("ConfigError", {
74
74
  *
75
75
  * @category Errors
76
76
  */
77
- export class ConfigParseError extends Schema.TaggedError()("ConfigParseError", {
77
+ export class ConfigParseError extends Schema.TaggedErrorClass()("ConfigParseError", {
78
78
  path: Schema.String,
79
- cause: Schema.Defect
79
+ cause: Schema.Defect()
80
80
  }) {
81
81
  }
82
82
  /**
@@ -84,9 +84,9 @@ export class ConfigParseError extends Schema.TaggedError()("ConfigParseError", {
84
84
  *
85
85
  * @category Errors
86
86
  */
87
- export class ProfileDetectionError extends Schema.TaggedError()("ProfileDetectionError", {
87
+ export class ProfileDetectionError extends Schema.TaggedErrorClass()("ProfileDetectionError", {
88
88
  message: Schema.String,
89
- cause: Schema.optional(Schema.Defect)
89
+ cause: Schema.optional(Schema.Defect())
90
90
  }) {
91
91
  }
92
92
  /**
@@ -94,9 +94,9 @@ export class ProfileDetectionError extends Schema.TaggedError()("ProfileDetectio
94
94
  *
95
95
  * @category Errors
96
96
  */
97
- export class RefreshError extends Schema.TaggedError()("RefreshError", {
97
+ export class RefreshError extends Schema.TaggedErrorClass()("RefreshError", {
98
98
  failedAccounts: Schema.Array(Schema.String),
99
- cause: Schema.optional(Schema.Defect)
99
+ cause: Schema.optional(Schema.Defect())
100
100
  }) {
101
101
  }
102
102
  /**
@@ -104,9 +104,9 @@ export class RefreshError extends Schema.TaggedError()("RefreshError", {
104
104
  *
105
105
  * @category Errors
106
106
  */
107
- export class DockerError extends Schema.TaggedError()("DockerError", {
107
+ export class DockerError extends Schema.TaggedErrorClass()("DockerError", {
108
108
  operation: Schema.String,
109
- cause: Schema.optional(Schema.Defect)
109
+ cause: Schema.optional(Schema.Defect())
110
110
  }) {
111
111
  }
112
112
  /**
@@ -114,10 +114,10 @@ export class DockerError extends Schema.TaggedError()("DockerError", {
114
114
  *
115
115
  * @category Errors
116
116
  */
117
- export class SandboxError extends Schema.TaggedError()("SandboxError", {
117
+ export class SandboxError extends Schema.TaggedErrorClass()("SandboxError", {
118
118
  sandboxId: Schema.optional(SandboxId),
119
119
  message: Schema.String,
120
- cause: Schema.optional(Schema.Defect)
120
+ cause: Schema.optional(Schema.Defect())
121
121
  }) {
122
122
  }
123
123
  /**
@@ -125,9 +125,9 @@ export class SandboxError extends Schema.TaggedError()("SandboxError", {
125
125
  *
126
126
  * @category Errors
127
127
  */
128
- export class PermissionDeniedError extends Schema.TaggedError()("PermissionDeniedError", {
128
+ export class PermissionDeniedError extends Schema.TaggedErrorClass()("PermissionDeniedError", {
129
129
  operation: Schema.String,
130
- reason: Schema.Literal("denied", "timeout")
130
+ reason: Schema.Literals(["denied", "timeout"])
131
131
  }) {
132
132
  }
133
133
  //# sourceMappingURL=Errors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Errors.js","sourceRoot":"","sources":["../src/Errors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAElE;;;;GAIG;AACH,MAAM,OAAO,kBAAmB,SAAQ,MAAM,CAAC,WAAW,EAAsB,CAC9E,oBAAoB,EACpB;IACE,OAAO,EAAE,cAAc;IACvB,MAAM,EAAE,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC,MAAM;CACrB,CACF;CAAG;AAEJ;;;;GAIG;AACH,MAAM,OAAO,gBAAiB,SAAQ,MAAM,CAAC,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