@knpkv/codecommit-core 0.4.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/dist/AwsClient/getDifferences.d.ts +16 -0
  2. package/dist/AwsClient/getDifferences.d.ts.map +1 -0
  3. package/dist/AwsClient/getDifferences.js +22 -0
  4. package/dist/AwsClient/getDifferences.js.map +1 -0
  5. package/dist/AwsClient/getPullRequest.d.ts.map +1 -1
  6. package/dist/AwsClient/getPullRequest.js +28 -7
  7. package/dist/AwsClient/getPullRequest.js.map +1 -1
  8. package/dist/AwsClient/getPullRequests.d.ts.map +1 -1
  9. package/dist/AwsClient/getPullRequests.js +31 -13
  10. package/dist/AwsClient/getPullRequests.js.map +1 -1
  11. package/dist/AwsClient/index.d.ts +21 -13
  12. package/dist/AwsClient/index.d.ts.map +1 -1
  13. package/dist/AwsClient/index.js +3 -1
  14. package/dist/AwsClient/index.js.map +1 -1
  15. package/dist/AwsClient/internal.d.ts +23 -0
  16. package/dist/AwsClient/internal.d.ts.map +1 -1
  17. package/dist/AwsClient/internal.js +4 -1
  18. package/dist/AwsClient/internal.js.map +1 -1
  19. package/dist/CacheService/Database.d.ts.map +1 -1
  20. package/dist/CacheService/Database.js +13 -1
  21. package/dist/CacheService/Database.js.map +1 -1
  22. package/dist/CacheService/EventsHub.d.ts +24 -4
  23. package/dist/CacheService/EventsHub.d.ts.map +1 -1
  24. package/dist/CacheService/EventsHub.js.map +1 -1
  25. package/dist/CacheService/index.d.ts +5 -2
  26. package/dist/CacheService/index.d.ts.map +1 -1
  27. package/dist/CacheService/index.js +3 -1
  28. package/dist/CacheService/index.js.map +1 -1
  29. package/dist/CacheService/migrations/0005_add_sandboxes.d.ts +5 -0
  30. package/dist/CacheService/migrations/0005_add_sandboxes.d.ts.map +1 -0
  31. package/dist/CacheService/migrations/0005_add_sandboxes.js +23 -0
  32. package/dist/CacheService/migrations/0005_add_sandboxes.js.map +1 -0
  33. package/dist/CacheService/migrations/0006_sandbox_logs.d.ts +5 -0
  34. package/dist/CacheService/migrations/0006_sandbox_logs.d.ts.map +1 -0
  35. package/dist/CacheService/migrations/0006_sandbox_logs.js +7 -0
  36. package/dist/CacheService/migrations/0006_sandbox_logs.js.map +1 -0
  37. package/dist/CacheService/migrations/0007_stats_columns.d.ts +5 -0
  38. package/dist/CacheService/migrations/0007_stats_columns.d.ts.map +1 -0
  39. package/dist/CacheService/migrations/0007_stats_columns.js +13 -0
  40. package/dist/CacheService/migrations/0007_stats_columns.js.map +1 -0
  41. package/dist/CacheService/migrations/0008_merged_by.d.ts +5 -0
  42. package/dist/CacheService/migrations/0008_merged_by.d.ts.map +1 -0
  43. package/dist/CacheService/migrations/0008_merged_by.js +4 -0
  44. package/dist/CacheService/migrations/0008_merged_by.js.map +1 -0
  45. package/dist/CacheService/migrations/0009_approved_by.d.ts +5 -0
  46. package/dist/CacheService/migrations/0009_approved_by.d.ts.map +1 -0
  47. package/dist/CacheService/migrations/0009_approved_by.js +4 -0
  48. package/dist/CacheService/migrations/0009_approved_by.js.map +1 -0
  49. package/dist/CacheService/migrations/0010_commented_by.d.ts +5 -0
  50. package/dist/CacheService/migrations/0010_commented_by.d.ts.map +1 -0
  51. package/dist/CacheService/migrations/0010_commented_by.js +4 -0
  52. package/dist/CacheService/migrations/0010_commented_by.js.map +1 -0
  53. package/dist/CacheService/repos/PullRequestRepo/index.d.ts +132 -0
  54. package/dist/CacheService/repos/PullRequestRepo/index.d.ts.map +1 -0
  55. package/dist/CacheService/repos/PullRequestRepo/index.js +35 -0
  56. package/dist/CacheService/repos/PullRequestRepo/index.js.map +1 -0
  57. package/dist/CacheService/repos/PullRequestRepo/internal.d.ts +72 -0
  58. package/dist/CacheService/repos/PullRequestRepo/internal.d.ts.map +1 -0
  59. package/dist/CacheService/repos/PullRequestRepo/internal.js +69 -0
  60. package/dist/CacheService/repos/PullRequestRepo/internal.js.map +1 -0
  61. package/dist/CacheService/repos/PullRequestRepo/mutations.d.ts +24 -0
  62. package/dist/CacheService/repos/PullRequestRepo/mutations.d.ts.map +1 -0
  63. package/dist/CacheService/repos/PullRequestRepo/mutations.js +94 -0
  64. package/dist/CacheService/repos/PullRequestRepo/mutations.js.map +1 -0
  65. package/dist/CacheService/repos/PullRequestRepo/queries.d.ts +113 -0
  66. package/dist/CacheService/repos/PullRequestRepo/queries.d.ts.map +1 -0
  67. package/dist/CacheService/repos/PullRequestRepo/queries.js +89 -0
  68. package/dist/CacheService/repos/PullRequestRepo/queries.js.map +1 -0
  69. package/dist/CacheService/repos/SandboxRepo.d.ts +116 -0
  70. package/dist/CacheService/repos/SandboxRepo.d.ts.map +1 -0
  71. package/dist/CacheService/repos/SandboxRepo.js +88 -0
  72. package/dist/CacheService/repos/SandboxRepo.js.map +1 -0
  73. package/dist/CacheService/repos/StatsRepo/index.d.ts +93 -0
  74. package/dist/CacheService/repos/StatsRepo/index.d.ts.map +1 -0
  75. package/dist/CacheService/repos/StatsRepo/index.js +41 -0
  76. package/dist/CacheService/repos/StatsRepo/index.js.map +1 -0
  77. package/dist/CacheService/repos/StatsRepo/internal.d.ts +120 -0
  78. package/dist/CacheService/repos/StatsRepo/internal.d.ts.map +1 -0
  79. package/dist/CacheService/repos/StatsRepo/internal.js +34 -0
  80. package/dist/CacheService/repos/StatsRepo/internal.js.map +1 -0
  81. package/dist/CacheService/repos/StatsRepo/queries.d.ts +42 -0
  82. package/dist/CacheService/repos/StatsRepo/queries.d.ts.map +1 -0
  83. package/dist/CacheService/repos/StatsRepo/queries.js +182 -0
  84. package/dist/CacheService/repos/StatsRepo/queries.js.map +1 -0
  85. package/dist/CacheService/repos/StatsRepo/reviewerData.d.ts +47 -0
  86. package/dist/CacheService/repos/StatsRepo/reviewerData.d.ts.map +1 -0
  87. package/dist/CacheService/repos/StatsRepo/reviewerData.js +172 -0
  88. package/dist/CacheService/repos/StatsRepo/reviewerData.js.map +1 -0
  89. package/dist/ConfigService/index.d.ts +1 -1
  90. package/dist/ConfigService/index.d.ts.map +1 -1
  91. package/dist/ConfigService/index.js +1 -1
  92. package/dist/ConfigService/index.js.map +1 -1
  93. package/dist/ConfigService/internal.d.ts +98 -0
  94. package/dist/ConfigService/internal.d.ts.map +1 -1
  95. package/dist/ConfigService/internal.js +16 -1
  96. package/dist/ConfigService/internal.js.map +1 -1
  97. package/dist/ConfigService/load.d.ts +15 -0
  98. package/dist/ConfigService/load.d.ts.map +1 -1
  99. package/dist/ConfigService/load.js +10 -3
  100. package/dist/ConfigService/load.js.map +1 -1
  101. package/dist/ConfigService/reset.d.ts.map +1 -1
  102. package/dist/ConfigService/reset.js +3 -2
  103. package/dist/ConfigService/reset.js.map +1 -1
  104. package/dist/DateUtils.d.ts +28 -0
  105. package/dist/DateUtils.d.ts.map +1 -1
  106. package/dist/DateUtils.js +69 -1
  107. package/dist/DateUtils.js.map +1 -1
  108. package/dist/Domain.d.ts +87 -5
  109. package/dist/Domain.d.ts.map +1 -1
  110. package/dist/Domain.js +38 -5
  111. package/dist/Domain.js.map +1 -1
  112. package/dist/Errors.d.ts +28 -1
  113. package/dist/Errors.d.ts.map +1 -1
  114. package/dist/Errors.js +22 -1
  115. package/dist/Errors.js.map +1 -1
  116. package/dist/PRService/index.d.ts +3 -3
  117. package/dist/PRService/index.d.ts.map +1 -1
  118. package/dist/PRService/index.js +1 -1
  119. package/dist/PRService/index.js.map +1 -1
  120. package/dist/PRService/internal.d.ts +24 -2
  121. package/dist/PRService/internal.d.ts.map +1 -1
  122. package/dist/PRService/internal.js +23 -8
  123. package/dist/PRService/internal.js.map +1 -1
  124. package/dist/PRService/refresh.d.ts +1 -1
  125. package/dist/PRService/refresh.d.ts.map +1 -1
  126. package/dist/PRService/refresh.js +2 -0
  127. package/dist/PRService/refresh.js.map +1 -1
  128. package/dist/PRService/refreshDiffs.d.ts +16 -0
  129. package/dist/PRService/refreshDiffs.d.ts.map +1 -0
  130. package/dist/PRService/refreshDiffs.js +54 -0
  131. package/dist/PRService/refreshDiffs.js.map +1 -0
  132. package/dist/PRService/refreshEnrich.d.ts +1 -1
  133. package/dist/PRService/refreshEnrich.d.ts.map +1 -1
  134. package/dist/PRService/refreshEnrich.js +3 -1
  135. package/dist/PRService/refreshEnrich.js.map +1 -1
  136. package/dist/PRService/refreshFetch.d.ts +1 -1
  137. package/dist/PRService/refreshFetch.d.ts.map +1 -1
  138. package/dist/PRService/refreshFetch.js +12 -3
  139. package/dist/PRService/refreshFetch.js.map +1 -1
  140. package/dist/PRService/refreshHistory.d.ts +19 -0
  141. package/dist/PRService/refreshHistory.d.ts.map +1 -0
  142. package/dist/PRService/refreshHistory.js +110 -0
  143. package/dist/PRService/refreshHistory.js.map +1 -0
  144. package/dist/PRService/refreshResolve.d.ts +1 -1
  145. package/dist/PRService/refreshResolve.d.ts.map +1 -1
  146. package/dist/PRService/refreshResolve.js +1 -1
  147. package/dist/PRService/refreshResolve.js.map +1 -1
  148. package/dist/PRService/refreshScore.d.ts +1 -1
  149. package/dist/PRService/refreshScore.d.ts.map +1 -1
  150. package/dist/PRService/refreshScore.js +1 -1
  151. package/dist/PRService/refreshScore.js.map +1 -1
  152. package/dist/PRService/refreshSinglePR.d.ts +1 -1
  153. package/dist/PRService/refreshSinglePR.d.ts.map +1 -1
  154. package/dist/PRService/refreshSinglePR.js +4 -3
  155. package/dist/PRService/refreshSinglePR.js.map +1 -1
  156. package/dist/SandboxService/DockerService.d.ts +57 -0
  157. package/dist/SandboxService/DockerService.d.ts.map +1 -0
  158. package/dist/SandboxService/DockerService.js +83 -0
  159. package/dist/SandboxService/DockerService.js.map +1 -0
  160. package/dist/SandboxService/PluginService.d.ts +38 -0
  161. package/dist/SandboxService/PluginService.d.ts.map +1 -0
  162. package/dist/SandboxService/PluginService.js +26 -0
  163. package/dist/SandboxService/PluginService.js.map +1 -0
  164. package/dist/SandboxService/SandboxService.d.ts +102 -0
  165. package/dist/SandboxService/SandboxService.d.ts.map +1 -0
  166. package/dist/SandboxService/SandboxService.js +272 -0
  167. package/dist/SandboxService/SandboxService.js.map +1 -0
  168. package/dist/SandboxService/index.d.ts +13 -0
  169. package/dist/SandboxService/index.d.ts.map +1 -0
  170. package/dist/SandboxService/index.js +10 -0
  171. package/dist/SandboxService/index.js.map +1 -0
  172. package/dist/SandboxService/plugins/ClaudeCodePlugin.d.ts +18 -0
  173. package/dist/SandboxService/plugins/ClaudeCodePlugin.d.ts.map +1 -0
  174. package/dist/SandboxService/plugins/ClaudeCodePlugin.js +24 -0
  175. package/dist/SandboxService/plugins/ClaudeCodePlugin.js.map +1 -0
  176. package/dist/StatsService/WeeklyStats.d.ts +174 -0
  177. package/dist/StatsService/WeeklyStats.d.ts.map +1 -0
  178. package/dist/StatsService/WeeklyStats.js +110 -0
  179. package/dist/StatsService/WeeklyStats.js.map +1 -0
  180. package/dist/StatsService/index.d.ts +45 -0
  181. package/dist/StatsService/index.d.ts.map +1 -0
  182. package/dist/StatsService/index.js +145 -0
  183. package/dist/StatsService/index.js.map +1 -0
  184. package/dist/index.d.ts +2 -0
  185. package/dist/index.d.ts.map +1 -1
  186. package/dist/index.js +2 -0
  187. package/dist/index.js.map +1 -1
  188. package/package.json +1 -1
  189. package/dist/CacheService/repos/PullRequestRepo.d.ts +0 -112
  190. package/dist/CacheService/repos/PullRequestRepo.d.ts.map +0 -1
  191. package/dist/CacheService/repos/PullRequestRepo.js +0 -146
  192. package/dist/CacheService/repos/PullRequestRepo.js.map +0 -1
@@ -7,6 +7,7 @@ export type RepoChange = Data.TaggedEnum<{
7
7
  Config: {};
8
8
  AppState: {};
9
9
  SystemNotifications: {};
10
+ Sandboxes: {};
10
11
  }>;
11
12
  export declare const RepoChange: {
12
13
  readonly Comments: Data.Case.Constructor<{
@@ -30,7 +31,10 @@ export declare const RepoChange: {
30
31
  readonly SystemNotifications: Data.Case.Constructor<{
31
32
  readonly _tag: "SystemNotifications";
32
33
  }, "_tag">;
33
- readonly $is: <Tag extends "Comments" | "PullRequests" | "Notifications" | "Subscriptions" | "Config" | "AppState" | "SystemNotifications">(tag: Tag) => (u: unknown) => u is Extract<{
34
+ readonly Sandboxes: Data.Case.Constructor<{
35
+ readonly _tag: "Sandboxes";
36
+ }, "_tag">;
37
+ readonly $is: <Tag extends "Comments" | "PullRequests" | "Notifications" | "Subscriptions" | "Config" | "AppState" | "SystemNotifications" | "Sandboxes">(tag: Tag) => (u: unknown) => u is Extract<{
34
38
  readonly _tag: "Comments";
35
39
  }, {
36
40
  readonly _tag: Tag;
@@ -58,6 +62,10 @@ export declare const RepoChange: {
58
62
  readonly _tag: "SystemNotifications";
59
63
  }, {
60
64
  readonly _tag: Tag;
65
+ }> | Extract<{
66
+ readonly _tag: "Sandboxes";
67
+ }, {
68
+ readonly _tag: Tag;
61
69
  }>;
62
70
  readonly $match: {
63
71
  <const Cases extends {
@@ -82,7 +90,10 @@ export declare const RepoChange: {
82
90
  readonly SystemNotifications: (args: {
83
91
  readonly _tag: "SystemNotifications";
84
92
  }) => any;
85
- }>(cases: Cases & { [K in Exclude<keyof Cases, "Comments" | "PullRequests" | "Notifications" | "Subscriptions" | "Config" | "AppState" | "SystemNotifications">]: never; }): (value: {
93
+ readonly Sandboxes: (args: {
94
+ readonly _tag: "Sandboxes";
95
+ }) => any;
96
+ }>(cases: Cases & { [K in Exclude<keyof Cases, "Comments" | "PullRequests" | "Notifications" | "Subscriptions" | "Config" | "AppState" | "SystemNotifications" | "Sandboxes">]: never; }): (value: {
86
97
  readonly _tag: "Comments";
87
98
  } | {
88
99
  readonly _tag: "PullRequests";
@@ -96,7 +107,9 @@ export declare const RepoChange: {
96
107
  readonly _tag: "AppState";
97
108
  } | {
98
109
  readonly _tag: "SystemNotifications";
99
- }) => import("effect/Unify").Unify<ReturnType<Cases["Comments" | "PullRequests" | "Notifications" | "Subscriptions" | "Config" | "AppState" | "SystemNotifications"]>>;
110
+ } | {
111
+ readonly _tag: "Sandboxes";
112
+ }) => import("effect/Unify").Unify<ReturnType<Cases["Comments" | "PullRequests" | "Notifications" | "Subscriptions" | "Config" | "AppState" | "SystemNotifications" | "Sandboxes"]>>;
100
113
  <const Cases extends {
101
114
  readonly Comments: (args: {
102
115
  readonly _tag: "Comments";
@@ -119,6 +132,9 @@ export declare const RepoChange: {
119
132
  readonly SystemNotifications: (args: {
120
133
  readonly _tag: "SystemNotifications";
121
134
  }) => any;
135
+ readonly Sandboxes: (args: {
136
+ readonly _tag: "Sandboxes";
137
+ }) => any;
122
138
  }>(value: {
123
139
  readonly _tag: "Comments";
124
140
  } | {
@@ -133,7 +149,9 @@ export declare const RepoChange: {
133
149
  readonly _tag: "AppState";
134
150
  } | {
135
151
  readonly _tag: "SystemNotifications";
136
- }, cases: Cases & { [K in Exclude<keyof Cases, "Comments" | "PullRequests" | "Notifications" | "Subscriptions" | "Config" | "AppState" | "SystemNotifications">]: never; }): import("effect/Unify").Unify<ReturnType<Cases["Comments" | "PullRequests" | "Notifications" | "Subscriptions" | "Config" | "AppState" | "SystemNotifications"]>>;
152
+ } | {
153
+ readonly _tag: "Sandboxes";
154
+ }, cases: Cases & { [K in Exclude<keyof Cases, "Comments" | "PullRequests" | "Notifications" | "Subscriptions" | "Config" | "AppState" | "SystemNotifications" | "Sandboxes">]: never; }): import("effect/Unify").Unify<ReturnType<Cases["Comments" | "PullRequests" | "Notifications" | "Subscriptions" | "Config" | "AppState" | "SystemNotifications" | "Sandboxes"]>>;
137
155
  };
138
156
  };
139
157
  declare const EventsHub_base: Effect.Service.Class<EventsHub, "EventsHub", {
@@ -154,6 +172,8 @@ declare const EventsHub_base: Effect.Service.Class<EventsHub, "EventsHub", {
154
172
  readonly _tag: "AppState";
155
173
  } | {
156
174
  readonly _tag: "SystemNotifications";
175
+ } | {
176
+ readonly _tag: "Sandboxes";
157
177
  }, never, never>;
158
178
  }, never, never>;
159
179
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"EventsHub.d.ts","sourceRoot":"","sources":["../../src/CacheService/EventsHub.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,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o.js";
11
11
  export { NotificationRepo } from "./repos/NotificationRepo.js";
12
12
  export type { NotificationRow, PaginatedNotifications } from "./repos/NotificationRepo.js";
13
- export { CachedPullRequest, PullRequestRepo } from "./repos/PullRequestRepo.js";
14
- export type { SearchResult } from "./repos/PullRequestRepo.js";
13
+ export { CachedPullRequest, PullRequestRepo } from "./repos/PullRequestRepo/index.js";
14
+ export type { SearchResult } from "./repos/PullRequestRepo/index.js";
15
+ export { SandboxRepo } from "./repos/SandboxRepo.js";
16
+ export type { InsertSandbox, SandboxRow } from "./repos/SandboxRepo.js";
17
+ export { StatsRepo } from "./repos/StatsRepo/index.js";
15
18
  export { SubscriptionRepo } from "./repos/SubscriptionRepo.js";
16
19
  export { SyncMetadataRepo } from "./repos/SyncMetadataRepo.js";
17
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/CacheService/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC9D,YAAY,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AAC1F,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC/E,YAAY,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/CacheService/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC9D,YAAY,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AAC1F,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACrF,YAAY,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA"}
@@ -9,7 +9,9 @@ export { diffComments, diffPR } from "./diff.js";
9
9
  export { EventsHub, RepoChange } from "./EventsHub.js";
10
10
  export { CommentRepo } from "./repos/CommentRepo.js";
11
11
  export { NotificationRepo } from "./repos/NotificationRepo.js";
12
- export { CachedPullRequest, PullRequestRepo } from "./repos/PullRequestRepo.js";
12
+ export { CachedPullRequest, PullRequestRepo } from "./repos/PullRequestRepo/index.js";
13
+ export { SandboxRepo } from "./repos/SandboxRepo.js";
14
+ export { StatsRepo } from "./repos/StatsRepo/index.js";
13
15
  export { SubscriptionRepo } from "./repos/SubscriptionRepo.js";
14
16
  export { SyncMetadataRepo } from "./repos/SyncMetadataRepo.js";
15
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/CacheService/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAE9D,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/CacheService/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAE9D,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAErF,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAEpD,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA"}
@@ -0,0 +1,5 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ declare const _default: Effect.Effect<void, import("@effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
4
+ export default _default;
5
+ //# sourceMappingURL=0005_add_sandboxes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0005_add_sandboxes.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0005_add_sandboxes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;;AAEvC,wBAuBC"}
@@ -0,0 +1,23 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ export default Effect.flatMap(SqlClient.SqlClient, (sql) => Effect.all([
4
+ sql `CREATE TABLE IF NOT EXISTS sandboxes (
5
+ id TEXT PRIMARY KEY,
6
+ pull_request_id TEXT NOT NULL,
7
+ aws_account_id TEXT NOT NULL,
8
+ repository_name TEXT NOT NULL,
9
+ source_branch TEXT NOT NULL,
10
+ container_id TEXT,
11
+ port INTEGER,
12
+ workspace_path TEXT NOT NULL,
13
+ status TEXT NOT NULL DEFAULT 'creating',
14
+ error TEXT,
15
+ created_at TEXT NOT NULL,
16
+ last_activity_at TEXT NOT NULL
17
+ )`,
18
+ sql `CREATE INDEX IF NOT EXISTS idx_sandboxes_pr
19
+ ON sandboxes(aws_account_id, pull_request_id)`,
20
+ sql `CREATE INDEX IF NOT EXISTS idx_sandboxes_status
21
+ ON sandboxes(status)`
22
+ ]).pipe(Effect.asVoid));
23
+ //# sourceMappingURL=0005_add_sandboxes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0005_add_sandboxes.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0005_add_sandboxes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,MAAM,CAAC,GAAG,CAAC;IACT,GAAG,CAAA;;;;;;;;;;;;;QAaD;IACF,GAAG,CAAA;sDAC6C;IAChD,GAAG,CAAA;6BACoB;CACxB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CACzB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ declare const _default: Effect.Effect<void, import("@effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
4
+ export default _default;
5
+ //# sourceMappingURL=0006_sandbox_logs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0006_sandbox_logs.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0006_sandbox_logs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;;AAEvC,wBAOC"}
@@ -0,0 +1,7 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ export default Effect.flatMap(SqlClient.SqlClient, (sql) => Effect.all([
4
+ sql `ALTER TABLE sandboxes ADD COLUMN status_detail TEXT`,
5
+ sql `ALTER TABLE sandboxes ADD COLUMN logs TEXT`
6
+ ]).pipe(Effect.asVoid));
7
+ //# sourceMappingURL=0006_sandbox_logs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0006_sandbox_logs.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0006_sandbox_logs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,MAAM,CAAC,GAAG,CAAC;IACT,GAAG,CAAA,qDAAqD;IACxD,GAAG,CAAA,4CAA4C;CAChD,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CACzB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ declare const _default: Effect.Effect<void, import("@effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
4
+ export default _default;
5
+ //# sourceMappingURL=0007_stats_columns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0007_stats_columns.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0007_stats_columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;;AAEvC,wBAqBC"}
@@ -0,0 +1,13 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ export default Effect.flatMap(SqlClient.SqlClient, (sql) => Effect.all([
4
+ sql `ALTER TABLE pull_requests ADD COLUMN files_added INTEGER`.pipe(Effect.catchAll(() => Effect.void)),
5
+ sql `ALTER TABLE pull_requests ADD COLUMN files_modified INTEGER`.pipe(Effect.catchAll(() => Effect.void)),
6
+ sql `ALTER TABLE pull_requests ADD COLUMN files_deleted INTEGER`.pipe(Effect.catchAll(() => Effect.void)),
7
+ sql `ALTER TABLE pull_requests ADD COLUMN closed_at TEXT`.pipe(Effect.catchAll(() => Effect.void)),
8
+ sql `CREATE INDEX IF NOT EXISTS idx_pr_creation_date ON pull_requests(creation_date)`,
9
+ sql `CREATE INDEX IF NOT EXISTS idx_pr_status ON pull_requests(status)`,
10
+ sql `CREATE INDEX IF NOT EXISTS idx_pr_author ON pull_requests(author)`,
11
+ sql `CREATE INDEX IF NOT EXISTS idx_pr_last_modified ON pull_requests(last_modified_date)`
12
+ ]).pipe(Effect.asVoid));
13
+ //# sourceMappingURL=0007_stats_columns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0007_stats_columns.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0007_stats_columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,MAAM,CAAC,GAAG,CAAC;IACT,GAAG,CAAA,0DAA0D,CAAC,IAAI,CAChE,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CACnC;IACD,GAAG,CAAA,6DAA6D,CAAC,IAAI,CACnE,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CACnC;IACD,GAAG,CAAA,4DAA4D,CAAC,IAAI,CAClE,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CACnC;IACD,GAAG,CAAA,qDAAqD,CAAC,IAAI,CAC3D,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CACnC;IACD,GAAG,CAAA,iFAAiF;IACpF,GAAG,CAAA,mEAAmE;IACtE,GAAG,CAAA,mEAAmE;IACtE,GAAG,CAAA,sFAAsF;CAC1F,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CACzB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ declare const _default: Effect.Effect<void | readonly import("@effect/sql/SqlConnection").Row[], never, SqlClient.SqlClient>;
4
+ export default _default;
5
+ //# sourceMappingURL=0008_merged_by.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0008_merged_by.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0008_merged_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;;AAEvC,wBAMC"}
@@ -0,0 +1,4 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE pull_requests ADD COLUMN merged_by TEXT`.pipe(Effect.catchAll(() => Effect.void)));
4
+ //# sourceMappingURL=0008_merged_by.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0008_merged_by.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0008_merged_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,GAAG,CAAA,qDAAqD,CAAC,IAAI,CAC3D,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CACnC,CACJ,CAAA"}
@@ -0,0 +1,5 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ declare const _default: Effect.Effect<void | readonly import("@effect/sql/SqlConnection").Row[], never, SqlClient.SqlClient>;
4
+ export default _default;
5
+ //# sourceMappingURL=0009_approved_by.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0009_approved_by.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0009_approved_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;;AAEvC,wBAMC"}
@@ -0,0 +1,4 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE pull_requests ADD COLUMN approved_by TEXT`.pipe(Effect.catchAll(() => Effect.void)));
4
+ //# sourceMappingURL=0009_approved_by.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0009_approved_by.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0009_approved_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,GAAG,CAAA,uDAAuD,CAAC,IAAI,CAC7D,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CACnC,CACJ,CAAA"}
@@ -0,0 +1,5 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ declare const _default: Effect.Effect<void | readonly import("@effect/sql/SqlConnection").Row[], never, SqlClient.SqlClient>;
4
+ export default _default;
5
+ //# sourceMappingURL=0010_commented_by.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0010_commented_by.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0010_commented_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;;AAEvC,wBAMC"}
@@ -0,0 +1,4 @@
1
+ import * as SqlClient from "@effect/sql/SqlClient";
2
+ import * as Effect from "effect/Effect";
3
+ export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE pull_requests ADD COLUMN commented_by TEXT`.pipe(Effect.catchAll(() => Effect.void)));
4
+ //# sourceMappingURL=0010_commented_by.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"0010_commented_by.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0010_commented_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,GAAG,CAAA,wDAAwD,CAAC,IAAI,CAC9D,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CACnC,CACJ,CAAA"}
@@ -0,0 +1,132 @@
1
+ /**
2
+ * @module PullRequestRepo
3
+ *
4
+ * SQLite-backed cache for CodeCommit pull requests.
5
+ * Assembles query methods from `./queries` and mutation methods from
6
+ * `./mutations` into a single Effect.Service.
7
+ *
8
+ * @category CacheService
9
+ */
10
+ import * as SqlClient from "@effect/sql/SqlClient";
11
+ import { Effect } from "effect";
12
+ import { EventsHub } from "../../EventsHub.js";
13
+ export { CachedPullRequest, type SearchResult, UpsertInput } from "./internal.js";
14
+ export type { CachedPullRequest as CachedPullRequestType } from "./internal.js";
15
+ declare const PullRequestRepo_base: Effect.Service.Class<PullRequestRepo, "PullRequestRepo", {
16
+ readonly dependencies: readonly [import("effect/Layer").Layer<SqlClient.SqlClient | import("@effect/sql-libsql/LibsqlClient").LibsqlClient, import("@effect/sql/SqlError").SqlError | import("effect/ConfigError").ConfigError | import("@effect/sql/Migrator").MigrationError, import("@effect/platform/FileSystem").FileSystem>, import("effect/Layer").Layer<EventsHub, never, never>];
17
+ readonly effect: Effect.Effect<{
18
+ readonly upsert: (input: import("./internal.js").UpsertInput) => Effect.Effect<void, import("../../CacheError.ts").CacheError, never>;
19
+ readonly upsertMany: (prs: ReadonlyArray<import("./internal.js").UpsertInput>) => Effect.Effect<void, import("../../CacheError.ts").CacheError, never>;
20
+ readonly deleteStale: (olderThan: string) => Effect.Effect<void, import("../../CacheError.ts").CacheError, never>;
21
+ readonly deleteStaleOpen: (olderThan: string) => Effect.Effect<void, import("../../CacheError.ts").CacheError, never>;
22
+ readonly deleteOne: (awsAccountId: string, id: string) => Effect.Effect<void, import("../../CacheError.ts").CacheError, never>;
23
+ readonly updateDiffStats: (awsAccountId: string, id: string, filesAdded: number, filesModified: number, filesDeleted: number) => Effect.Effect<void, import("../../CacheError.ts").CacheError, never>;
24
+ readonly updateStatusAndClosedAt: (awsAccountId: string, id: string, status: string, closedAt: string, mergedBy?: string, approvedBy?: ReadonlyArray<string>) => Effect.Effect<void, import("../../CacheError.ts").CacheError, never>;
25
+ readonly updateCommentCount: (awsAccountId: string, id: string, count: number | null) => Effect.Effect<void, import("../../CacheError.ts").CacheError, never>;
26
+ readonly updateHealthScore: (awsAccountId: string, id: string, score: number) => Effect.Effect<void, import("../../CacheError.ts").CacheError, never>;
27
+ readonly refreshCommentedBy: () => Effect.Effect<void, import("../../CacheError.ts").CacheError, never>;
28
+ readonly findAll: () => Effect.Effect<readonly {
29
+ readonly link: string;
30
+ readonly awsAccountId: string;
31
+ readonly id: string & import("effect/Brand").Brand<"PullRequestId">;
32
+ readonly title: string;
33
+ readonly author: string;
34
+ readonly repositoryName: string & import("effect/Brand").Brand<"RepositoryName">;
35
+ readonly creationDate: Date;
36
+ readonly lastModifiedDate: Date;
37
+ readonly status: "OPEN" | "CLOSED" | "MERGED";
38
+ readonly sourceBranch: string;
39
+ readonly destinationBranch: string;
40
+ readonly isMergeable: boolean;
41
+ readonly isApproved: boolean;
42
+ readonly description: string | null;
43
+ readonly commentCount: number | null;
44
+ readonly healthScore: number | null;
45
+ readonly fetchedAt: string;
46
+ readonly approvedBy: readonly string[];
47
+ readonly commentedBy: readonly string[];
48
+ readonly mergedBy: string | null;
49
+ readonly accountProfile: string & import("effect/Brand").Brand<"AwsProfileName">;
50
+ readonly accountRegion: string & import("effect/Brand").Brand<"AwsRegion">;
51
+ readonly filesAdded: number | null;
52
+ readonly filesModified: number | null;
53
+ readonly filesDeleted: number | null;
54
+ readonly closedAt: string | null;
55
+ }[], import("../../CacheError.ts").CacheError, never>;
56
+ readonly findMissingDiffStats: () => Effect.Effect<readonly {
57
+ readonly link: string;
58
+ readonly awsAccountId: string;
59
+ readonly id: string & import("effect/Brand").Brand<"PullRequestId">;
60
+ readonly title: string;
61
+ readonly author: string;
62
+ readonly repositoryName: string & import("effect/Brand").Brand<"RepositoryName">;
63
+ readonly creationDate: Date;
64
+ readonly lastModifiedDate: Date;
65
+ readonly status: "OPEN" | "CLOSED" | "MERGED";
66
+ readonly sourceBranch: string;
67
+ readonly destinationBranch: string;
68
+ readonly isMergeable: boolean;
69
+ readonly isApproved: boolean;
70
+ readonly description: string | null;
71
+ readonly commentCount: number | null;
72
+ readonly healthScore: number | null;
73
+ readonly fetchedAt: string;
74
+ readonly approvedBy: readonly string[];
75
+ readonly commentedBy: readonly string[];
76
+ readonly mergedBy: string | null;
77
+ readonly accountProfile: string & import("effect/Brand").Brand<"AwsProfileName">;
78
+ readonly accountRegion: string & import("effect/Brand").Brand<"AwsRegion">;
79
+ readonly filesAdded: number | null;
80
+ readonly filesModified: number | null;
81
+ readonly filesDeleted: number | null;
82
+ readonly closedAt: string | null;
83
+ }[], import("../../CacheError.ts").CacheError, never>;
84
+ readonly findByAccountAndId: (awsAccountId: string, id: string) => Effect.Effect<import("effect/Option").Option<{
85
+ readonly link: string;
86
+ readonly awsAccountId: string;
87
+ readonly id: string & import("effect/Brand").Brand<"PullRequestId">;
88
+ readonly title: string;
89
+ readonly author: string;
90
+ readonly repositoryName: string & import("effect/Brand").Brand<"RepositoryName">;
91
+ readonly creationDate: Date;
92
+ readonly lastModifiedDate: Date;
93
+ readonly status: "OPEN" | "CLOSED" | "MERGED";
94
+ readonly sourceBranch: string;
95
+ readonly destinationBranch: string;
96
+ readonly isMergeable: boolean;
97
+ readonly isApproved: boolean;
98
+ readonly description: string | null;
99
+ readonly commentCount: number | null;
100
+ readonly healthScore: number | null;
101
+ readonly fetchedAt: string;
102
+ readonly approvedBy: readonly string[];
103
+ readonly commentedBy: readonly string[];
104
+ readonly mergedBy: string | null;
105
+ readonly accountProfile: string & import("effect/Brand").Brand<"AwsProfileName">;
106
+ readonly accountRegion: string & import("effect/Brand").Brand<"AwsRegion">;
107
+ readonly filesAdded: number | null;
108
+ readonly filesModified: number | null;
109
+ readonly filesDeleted: number | null;
110
+ readonly closedAt: string | null;
111
+ }>, import("../../CacheError.ts").CacheError, never>;
112
+ readonly search: (query: string, opts?: {
113
+ readonly limit?: number;
114
+ readonly offset?: number;
115
+ }) => Effect.Effect<import("./internal.js").SearchResult, import("../../CacheError.ts").CacheError>;
116
+ readonly findStaleOpen: (olderThan: string) => Effect.Effect<readonly {
117
+ readonly awsAccountId: string;
118
+ readonly id: string;
119
+ readonly accountProfile: string & import("effect/Brand").Brand<"AwsProfileName">;
120
+ readonly accountRegion: string & import("effect/Brand").Brand<"AwsRegion">;
121
+ }[], import("../../CacheError.ts").CacheError, never>;
122
+ readonly findOpenInRange: (weekStart: string, weekEnd: string) => Effect.Effect<readonly {
123
+ readonly awsAccountId: string;
124
+ readonly id: string;
125
+ readonly accountProfile: string & import("effect/Brand").Brand<"AwsProfileName">;
126
+ readonly accountRegion: string & import("effect/Brand").Brand<"AwsRegion">;
127
+ }[], import("../../CacheError.ts").CacheError, never>;
128
+ }, never, SqlClient.SqlClient | EventsHub>;
129
+ }>;
130
+ export declare class PullRequestRepo extends PullRequestRepo_base {
131
+ }
132
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/CacheService/repos/PullRequestRepo/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAE/B,OAAO,EAAE,SAAS,EAAc,MAAM,oBAAoB,CAAA;AAI1D,OAAO,EAAE,iBAAiB,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AACjF,YAAY,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,eAAe,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAoBk6C,CAAC;2BAAyB,CAAC;;;;;;;;;;;;;;;;AAlB5gD,qBAAa,eAAgB,SAAQ,oBAiBnC;CAAG"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @module PullRequestRepo
3
+ *
4
+ * SQLite-backed cache for CodeCommit pull requests.
5
+ * Assembles query methods from `./queries` and mutation methods from
6
+ * `./mutations` into a single Effect.Service.
7
+ *
8
+ * @category CacheService
9
+ */
10
+ import * as SqlClient from "@effect/sql/SqlClient";
11
+ import { Effect } from "effect";
12
+ import { DatabaseLive } from "../../Database.js";
13
+ import { EventsHub, RepoChange } from "../../EventsHub.js";
14
+ import { mutations } from "./mutations.js";
15
+ import * as Q from "./queries.js";
16
+ export { CachedPullRequest, UpsertInput } from "./internal.js";
17
+ export class PullRequestRepo extends Effect.Service()("PullRequestRepo", {
18
+ dependencies: [DatabaseLive, EventsHub.Default],
19
+ effect: Effect.gen(function* () {
20
+ const sql = yield* SqlClient.SqlClient;
21
+ const hub = yield* EventsHub;
22
+ const publish = hub.publish(RepoChange.PullRequests());
23
+ return {
24
+ findAll: Q.findAll(sql),
25
+ findMissingDiffStats: Q.findMissingDiffStats(sql),
26
+ findByAccountAndId: Q.findByAccountAndId(sql),
27
+ search: Q.search(sql),
28
+ findStaleOpen: Q.findStaleOpen(sql),
29
+ findOpenInRange: Q.findOpenInRange(sql),
30
+ ...mutations(sql, publish)
31
+ };
32
+ })
33
+ }) {
34
+ }
35
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/CacheService/repos/PullRequestRepo/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,SAAS,MAAM,uBAAuB,CAAA;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,KAAK,CAAC,MAAM,cAAc,CAAA;AAEjC,OAAO,EAAE,iBAAiB,EAAqB,WAAW,EAAE,MAAM,eAAe,CAAA;AAGjF,MAAM,OAAO,eAAgB,SAAQ,MAAM,CAAC,OAAO,EAAmB,CAAC,iBAAiB,EAAE;IACxF,YAAY,EAAE,CAAC,YAAY,EAAE,SAAS,CAAC,OAAO,CAAC;IAC/C,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;QAC1B,MAAM,GAAG,GAAG,KAAK,CAAC,CAAC,SAAS,CAAC,SAAS,CAAA;QACtC,MAAM,GAAG,GAAG,KAAK,CAAC,CAAC,SAAS,CAAA;QAC5B,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,EAAE,CAAC,CAAA;QAEtD,OAAO;YACL,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACvB,oBAAoB,EAAE,CAAC,CAAC,oBAAoB,CAAC,GAAG,CAAC;YACjD,kBAAkB,EAAE,CAAC,CAAC,kBAAkB,CAAC,GAAG,CAAC;YAC7C,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC;YACrB,aAAa,EAAE,CAAC,CAAC,aAAa,CAAC,GAAG,CAAC;YACnC,eAAe,EAAE,CAAC,CAAC,eAAe,CAAC,GAAG,CAAC;YACvC,GAAG,SAAS,CAAC,GAAG,EAAE,OAAO,CAAC;SAClB,CAAA;IACZ,CAAC,CAAC;CACH,CAAC;CAAG"}
@@ -0,0 +1,72 @@
1
+ /**
2
+ * @module PullRequestRepo/internal
3
+ *
4
+ * Schemas, types, and helpers shared across the PullRequestRepo modules.
5
+ *
6
+ * @category CacheService
7
+ */
8
+ import * as Model from "@effect/sql/Model";
9
+ import { Effect, Schema } from "effect";
10
+ import { CacheError } from "../../CacheError.js";
11
+ /** DB column `TEXT` (comma-separated) <-> `readonly string[]` */
12
+ export declare const CommaSeparatedArray: Schema.transform<Schema.NullOr<typeof Schema.String>, Schema.Array$<typeof Schema.String>>;
13
+ export declare const CachedPullRequest: Schema.Struct<{
14
+ id: Schema.brand<typeof Schema.String, "PullRequestId">;
15
+ awsAccountId: typeof Schema.String;
16
+ accountProfile: Schema.brand<typeof Schema.String, "AwsProfileName">;
17
+ accountRegion: Schema.brand<typeof Schema.String, "AwsRegion">;
18
+ title: typeof Schema.String;
19
+ description: Schema.NullOr<typeof Schema.String>;
20
+ author: typeof Schema.String;
21
+ repositoryName: Schema.brand<typeof Schema.String, "RepositoryName">;
22
+ creationDate: typeof Schema.DateFromString;
23
+ lastModifiedDate: typeof Schema.DateFromString;
24
+ status: Schema.Literal<["OPEN", "CLOSED", "MERGED"]>;
25
+ sourceBranch: typeof Schema.String;
26
+ destinationBranch: typeof Schema.String;
27
+ isMergeable: typeof Model.BooleanFromNumber;
28
+ isApproved: typeof Model.BooleanFromNumber;
29
+ commentCount: Schema.NullOr<typeof Schema.Number>;
30
+ healthScore: Schema.NullOr<typeof Schema.Number>;
31
+ link: typeof Schema.String;
32
+ fetchedAt: typeof Schema.String;
33
+ filesAdded: Schema.NullOr<typeof Schema.Number>;
34
+ filesModified: Schema.NullOr<typeof Schema.Number>;
35
+ filesDeleted: Schema.NullOr<typeof Schema.Number>;
36
+ closedAt: Schema.NullOr<typeof Schema.String>;
37
+ mergedBy: Schema.NullOr<typeof Schema.String>;
38
+ approvedBy: Schema.transform<Schema.NullOr<typeof Schema.String>, Schema.Array$<typeof Schema.String>>;
39
+ commentedBy: Schema.transform<Schema.NullOr<typeof Schema.String>, Schema.Array$<typeof Schema.String>>;
40
+ }>;
41
+ export type CachedPullRequest = typeof CachedPullRequest.Type;
42
+ export interface SearchResult {
43
+ readonly items: ReadonlyArray<CachedPullRequest>;
44
+ readonly total: number;
45
+ readonly hasMore: boolean;
46
+ }
47
+ export declare const UpsertInput: Schema.Struct<{
48
+ id: typeof Schema.String;
49
+ awsAccountId: typeof Schema.String;
50
+ accountProfile: typeof Schema.String;
51
+ accountRegion: typeof Schema.String;
52
+ title: typeof Schema.String;
53
+ description: Schema.NullOr<typeof Schema.String>;
54
+ author: typeof Schema.String;
55
+ repositoryName: typeof Schema.String;
56
+ creationDate: typeof Schema.String;
57
+ lastModifiedDate: typeof Schema.String;
58
+ status: typeof Schema.String;
59
+ sourceBranch: typeof Schema.String;
60
+ destinationBranch: typeof Schema.String;
61
+ isMergeable: typeof Schema.Number;
62
+ isApproved: typeof Schema.Number;
63
+ commentCount: Schema.NullOr<typeof Schema.Number>;
64
+ link: typeof Schema.String;
65
+ approvedBy: Schema.Array$<typeof Schema.String>;
66
+ }>;
67
+ export type UpsertInput = typeof UpsertInput.Type;
68
+ /** Wrap an Effect with CacheError mapping and a span. */
69
+ export declare const cacheError: (op: string) => <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, CacheError, Exclude<R, import("effect/Tracer").ParentSpan>>;
70
+ /** Join a string array for the approved_by TEXT column. */
71
+ export declare const joinApprovedBy: (arr: ReadonlyArray<string>) => string | null;
72
+ //# sourceMappingURL=internal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../../src/CacheService/repos/PullRequestRepo/internal.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAEvC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAEhD,iEAAiE;AACjE,eAAO,MAAM,mBAAmB,4FAO/B,CAAA;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2B5B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAA;AAE7D,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;CAC1B;AAED,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;EAmBtB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC,IAAI,CAAA;AAEjD,yDAAyD;AACzD,eAAO,MAAM,UAAU,GAAI,IAAI,MAAM,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,QAAQ,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,iFAI/E,CAAA;AAEH,2DAA2D;AAC3D,eAAO,MAAM,cAAc,GAAI,KAAK,aAAa,CAAC,MAAM,CAAC,kBAA4C,CAAA"}