@knpkv/codecommit-core 0.16.0 → 0.17.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.
- package/dist/AwsClient/createApprovalRule.d.ts +1 -1
- package/dist/AwsClient/createApprovalRule.d.ts.map +1 -1
- package/dist/AwsClient/createPullRequest.d.ts +1 -1
- package/dist/AwsClient/createPullRequest.d.ts.map +1 -1
- package/dist/AwsClient/deleteApprovalRule.d.ts +1 -1
- package/dist/AwsClient/deleteApprovalRule.d.ts.map +1 -1
- package/dist/AwsClient/getCallerIdentity.d.ts +1 -1
- package/dist/AwsClient/getCallerIdentity.d.ts.map +1 -1
- package/dist/AwsClient/getCommentsForPullRequest.d.ts +1 -1
- package/dist/AwsClient/getCommentsForPullRequest.d.ts.map +1 -1
- package/dist/AwsClient/getDifferences.d.ts +1 -1
- package/dist/AwsClient/getDifferences.d.ts.map +1 -1
- package/dist/AwsClient/getPullRequest.d.ts +1 -1
- package/dist/AwsClient/getPullRequest.d.ts.map +1 -1
- package/dist/AwsClient/getPullRequests.d.ts +1 -1
- package/dist/AwsClient/getPullRequests.d.ts.map +1 -1
- package/dist/AwsClient/getPullRequests.js +1 -1
- package/dist/AwsClient/getPullRequests.js.map +1 -1
- package/dist/AwsClient/index.d.ts +1 -1
- package/dist/AwsClient/index.d.ts.map +1 -1
- package/dist/AwsClient/index.js +1 -1
- package/dist/AwsClient/index.js.map +1 -1
- package/dist/AwsClient/internal.d.ts +1 -1
- package/dist/AwsClient/internal.d.ts.map +1 -1
- package/dist/AwsClient/internal.js +1 -1
- package/dist/AwsClient/internal.js.map +1 -1
- package/dist/AwsClient/listBranches.d.ts +1 -1
- package/dist/AwsClient/listBranches.d.ts.map +1 -1
- package/dist/AwsClient/updateApprovalRule.d.ts +1 -1
- package/dist/AwsClient/updateApprovalRule.d.ts.map +1 -1
- package/dist/AwsClient/updatePullRequestDescription.d.ts +1 -1
- package/dist/AwsClient/updatePullRequestDescription.d.ts.map +1 -1
- package/dist/AwsClient/updatePullRequestTitle.d.ts +1 -1
- package/dist/AwsClient/updatePullRequestTitle.d.ts.map +1 -1
- package/dist/CacheService/Database.d.ts +3 -3
- package/dist/CacheService/Database.d.ts.map +1 -1
- package/dist/CacheService/Database.js +1 -1
- package/dist/CacheService/migrations/0001_initial.d.ts +2 -2
- package/dist/CacheService/migrations/0001_initial.d.ts.map +1 -1
- package/dist/CacheService/migrations/0001_initial.js +1 -1
- package/dist/CacheService/migrations/0001_initial.js.map +1 -1
- package/dist/CacheService/migrations/0002_indexes.d.ts +2 -2
- package/dist/CacheService/migrations/0002_indexes.d.ts.map +1 -1
- package/dist/CacheService/migrations/0002_indexes.js +1 -1
- package/dist/CacheService/migrations/0002_indexes.js.map +1 -1
- package/dist/CacheService/migrations/0003_add_health_score.d.ts +2 -2
- package/dist/CacheService/migrations/0003_add_health_score.d.ts.map +1 -1
- package/dist/CacheService/migrations/0003_add_health_score.js +1 -1
- package/dist/CacheService/migrations/0003_add_health_score.js.map +1 -1
- package/dist/CacheService/migrations/0004_unify_notifications.d.ts +1 -1
- package/dist/CacheService/migrations/0004_unify_notifications.d.ts.map +1 -1
- package/dist/CacheService/migrations/0004_unify_notifications.js +1 -1
- package/dist/CacheService/migrations/0004_unify_notifications.js.map +1 -1
- package/dist/CacheService/migrations/0005_add_sandboxes.d.ts +2 -2
- package/dist/CacheService/migrations/0005_add_sandboxes.d.ts.map +1 -1
- package/dist/CacheService/migrations/0005_add_sandboxes.js +1 -1
- package/dist/CacheService/migrations/0005_add_sandboxes.js.map +1 -1
- package/dist/CacheService/migrations/0006_sandbox_logs.d.ts +2 -2
- package/dist/CacheService/migrations/0006_sandbox_logs.d.ts.map +1 -1
- package/dist/CacheService/migrations/0006_sandbox_logs.js +1 -1
- package/dist/CacheService/migrations/0006_sandbox_logs.js.map +1 -1
- package/dist/CacheService/migrations/0007_stats_columns.d.ts +1 -1
- package/dist/CacheService/migrations/0007_stats_columns.d.ts.map +1 -1
- package/dist/CacheService/migrations/0007_stats_columns.js +1 -1
- package/dist/CacheService/migrations/0007_stats_columns.js.map +1 -1
- package/dist/CacheService/migrations/0008_merged_by.d.ts +2 -2
- package/dist/CacheService/migrations/0008_merged_by.d.ts.map +1 -1
- package/dist/CacheService/migrations/0008_merged_by.js +1 -1
- package/dist/CacheService/migrations/0008_merged_by.js.map +1 -1
- package/dist/CacheService/migrations/0009_approved_by.d.ts +2 -2
- package/dist/CacheService/migrations/0009_approved_by.d.ts.map +1 -1
- package/dist/CacheService/migrations/0009_approved_by.js +1 -1
- package/dist/CacheService/migrations/0009_approved_by.js.map +1 -1
- package/dist/CacheService/migrations/0010_commented_by.d.ts +2 -2
- package/dist/CacheService/migrations/0010_commented_by.d.ts.map +1 -1
- package/dist/CacheService/migrations/0010_commented_by.js +1 -1
- package/dist/CacheService/migrations/0010_commented_by.js.map +1 -1
- package/dist/CacheService/migrations/0011_audit_log.d.ts +2 -2
- package/dist/CacheService/migrations/0011_audit_log.d.ts.map +1 -1
- package/dist/CacheService/migrations/0011_audit_log.js +1 -1
- package/dist/CacheService/migrations/0011_audit_log.js.map +1 -1
- package/dist/CacheService/migrations/0012_audit_log_indexes.d.ts +2 -2
- package/dist/CacheService/migrations/0012_audit_log_indexes.d.ts.map +1 -1
- package/dist/CacheService/migrations/0012_audit_log_indexes.js +1 -1
- package/dist/CacheService/migrations/0012_audit_log_indexes.js.map +1 -1
- package/dist/CacheService/migrations/0013_approval_rules.d.ts +2 -2
- package/dist/CacheService/migrations/0013_approval_rules.d.ts.map +1 -1
- package/dist/CacheService/migrations/0013_approval_rules.js +1 -1
- package/dist/CacheService/migrations/0013_approval_rules.js.map +1 -1
- package/dist/CacheService/migrations/0014_approved_by_arns.d.ts +2 -2
- package/dist/CacheService/migrations/0014_approved_by_arns.d.ts.map +1 -1
- package/dist/CacheService/migrations/0014_approved_by_arns.js +1 -1
- package/dist/CacheService/migrations/0014_approved_by_arns.js.map +1 -1
- package/dist/CacheService/migrations/0015_repo_account_id.d.ts +2 -2
- package/dist/CacheService/migrations/0015_repo_account_id.d.ts.map +1 -1
- package/dist/CacheService/migrations/0015_repo_account_id.js +1 -1
- package/dist/CacheService/migrations/0015_repo_account_id.js.map +1 -1
- package/dist/CacheService/migrations/0016_sandbox_access_password.d.ts +2 -2
- package/dist/CacheService/migrations/0016_sandbox_access_password.d.ts.map +1 -1
- package/dist/CacheService/migrations/0016_sandbox_access_password.js +1 -1
- package/dist/CacheService/migrations/0016_sandbox_access_password.js.map +1 -1
- package/dist/CacheService/migrations/0017_sandbox_region.d.ts +2 -2
- package/dist/CacheService/migrations/0017_sandbox_region.d.ts.map +1 -1
- package/dist/CacheService/migrations/0017_sandbox_region.js +1 -1
- package/dist/CacheService/migrations/0017_sandbox_region.js.map +1 -1
- package/dist/CacheService/migrations/0018_pull_request_coordinates.d.ts +2 -2
- package/dist/CacheService/migrations/0018_pull_request_coordinates.d.ts.map +1 -1
- package/dist/CacheService/migrations/0018_pull_request_coordinates.js +1 -1
- package/dist/CacheService/migrations/0018_pull_request_coordinates.js.map +1 -1
- package/dist/CacheService/migrations/0019_dependent_pr_coordinates.d.ts +2 -2
- package/dist/CacheService/migrations/0019_dependent_pr_coordinates.d.ts.map +1 -1
- package/dist/CacheService/migrations/0019_dependent_pr_coordinates.js +1 -1
- package/dist/CacheService/migrations/0019_dependent_pr_coordinates.js.map +1 -1
- package/dist/CacheService/migrations/0020_notification_coordinates.d.ts +1 -1
- package/dist/CacheService/migrations/0020_notification_coordinates.d.ts.map +1 -1
- package/dist/CacheService/migrations/0020_notification_coordinates.js +2 -2
- package/dist/CacheService/migrations/0020_notification_coordinates.js.map +1 -1
- package/dist/CacheService/migrations/0021_sandbox_legacy_retirement.d.ts +2 -2
- package/dist/CacheService/migrations/0021_sandbox_legacy_retirement.d.ts.map +1 -1
- package/dist/CacheService/migrations/0021_sandbox_legacy_retirement.js +1 -1
- package/dist/CacheService/migrations/0021_sandbox_legacy_retirement.js.map +1 -1
- package/dist/CacheService/repos/CommentRepo.d.ts +2 -2
- package/dist/CacheService/repos/CommentRepo.d.ts.map +1 -1
- package/dist/CacheService/repos/CommentRepo.js +2 -2
- package/dist/CacheService/repos/CommentRepo.js.map +1 -1
- package/dist/CacheService/repos/NotificationRepo.d.ts +2 -2
- package/dist/CacheService/repos/NotificationRepo.d.ts.map +1 -1
- package/dist/CacheService/repos/NotificationRepo.js +2 -2
- package/dist/CacheService/repos/NotificationRepo.js.map +1 -1
- package/dist/CacheService/repos/PullRequestRepo/index.d.ts +2 -2
- package/dist/CacheService/repos/PullRequestRepo/index.d.ts.map +1 -1
- package/dist/CacheService/repos/PullRequestRepo/index.js +1 -1
- package/dist/CacheService/repos/PullRequestRepo/index.js.map +1 -1
- package/dist/CacheService/repos/PullRequestRepo/mutations.d.ts +1 -1
- package/dist/CacheService/repos/PullRequestRepo/mutations.d.ts.map +1 -1
- package/dist/CacheService/repos/PullRequestRepo/mutations.js +1 -1
- package/dist/CacheService/repos/PullRequestRepo/mutations.js.map +1 -1
- package/dist/CacheService/repos/PullRequestRepo/queries.d.ts +1 -1
- package/dist/CacheService/repos/PullRequestRepo/queries.d.ts.map +1 -1
- package/dist/CacheService/repos/PullRequestRepo/queries.js +1 -1
- package/dist/CacheService/repos/PullRequestRepo/queries.js.map +1 -1
- package/dist/CacheService/repos/SandboxRepo.d.ts +10 -10
- package/dist/CacheService/repos/SandboxRepo.d.ts.map +1 -1
- package/dist/CacheService/repos/SandboxRepo.js +2 -2
- package/dist/CacheService/repos/SandboxRepo.js.map +1 -1
- package/dist/CacheService/repos/StatsRepo/index.d.ts +2 -2
- package/dist/CacheService/repos/StatsRepo/index.d.ts.map +1 -1
- package/dist/CacheService/repos/StatsRepo/index.js +1 -1
- package/dist/CacheService/repos/StatsRepo/index.js.map +1 -1
- package/dist/CacheService/repos/StatsRepo/internal.d.ts +4 -4
- package/dist/CacheService/repos/StatsRepo/internal.d.ts.map +1 -1
- package/dist/CacheService/repos/StatsRepo/queries.d.ts +1 -1
- package/dist/CacheService/repos/StatsRepo/queries.d.ts.map +1 -1
- package/dist/CacheService/repos/StatsRepo/reviewerData.d.ts +1 -1
- package/dist/CacheService/repos/StatsRepo/reviewerData.d.ts.map +1 -1
- package/dist/CacheService/repos/SubscriptionRepo.d.ts +2 -2
- package/dist/CacheService/repos/SubscriptionRepo.d.ts.map +1 -1
- package/dist/CacheService/repos/SubscriptionRepo.js +2 -2
- package/dist/CacheService/repos/SubscriptionRepo.js.map +1 -1
- package/dist/CacheService/repos/SyncMetadataRepo.d.ts +2 -2
- package/dist/CacheService/repos/SyncMetadataRepo.d.ts.map +1 -1
- package/dist/CacheService/repos/SyncMetadataRepo.js +2 -2
- package/dist/CacheService/repos/SyncMetadataRepo.js.map +1 -1
- package/dist/ConfigService/index.js +2 -2
- package/dist/Domain.d.ts +27 -0
- package/dist/Domain.d.ts.map +1 -1
- package/dist/Domain.js +22 -1
- package/dist/Domain.js.map +1 -1
- package/dist/MockTransport.d.ts +2 -2
- package/dist/MockTransport.d.ts.map +1 -1
- package/dist/MockTransport.js +2 -2
- package/dist/MockTransport.js.map +1 -1
- package/dist/PRService/index.d.ts +1 -0
- package/dist/PRService/index.d.ts.map +1 -1
- package/dist/PRService/index.js +14 -2
- package/dist/PRService/index.js.map +1 -1
- package/dist/PRService/refresh.d.ts.map +1 -1
- package/dist/PRService/refresh.js +28 -9
- package/dist/PRService/refresh.js.map +1 -1
- package/dist/PRService/refreshHistory.d.ts.map +1 -1
- package/dist/PRService/refreshHistory.js +22 -4
- package/dist/PRService/refreshHistory.js.map +1 -1
- package/dist/PRService/refreshResolve.d.ts.map +1 -1
- package/dist/PRService/refreshResolve.js +7 -3
- package/dist/PRService/refreshResolve.js.map +1 -1
- package/dist/PRService/visibility.d.ts +51 -0
- package/dist/PRService/visibility.d.ts.map +1 -0
- package/dist/PRService/visibility.js +46 -0
- package/dist/PRService/visibility.js.map +1 -0
- package/dist/PermissionService/AuditLog.d.ts +1 -1
- package/dist/PermissionService/AuditLog.d.ts.map +1 -1
- package/dist/PermissionService/AuditLog.js +3 -3
- package/dist/PermissionService/AuditLog.js.map +1 -1
- package/dist/PermissionService/index.js +1 -1
- package/dist/ReadClient/ReadClient.d.ts +1 -1
- package/dist/ReadClient/ReadClient.d.ts.map +1 -1
- package/dist/ReadClient/ReadClient.js +1 -1
- package/dist/ReadClient/ReadProvider.d.ts +1 -1
- package/dist/ReadClient/ReadProvider.d.ts.map +1 -1
- package/dist/ReadClient/ReadProvider.js +1 -1
- package/dist/ReadClient/ReadProvider.js.map +1 -1
- package/dist/ReviewClient/ReviewClient.d.ts +1 -1
- package/dist/ReviewClient/ReviewClient.d.ts.map +1 -1
- package/dist/ReviewClient/ReviewProvider.d.ts +1 -1
- package/dist/ReviewClient/ReviewProvider.d.ts.map +1 -1
- package/dist/ReviewClient/ReviewProvider.js +1 -1
- package/dist/ReviewClient/ReviewProvider.js.map +1 -1
- package/dist/SandboxService/DockerService.d.ts +1 -1
- package/dist/SandboxService/DockerService.d.ts.map +1 -1
- package/dist/SandboxService/DockerService.js +1 -1
- package/dist/SandboxService/DockerService.js.map +1 -1
- package/dist/SandboxService/SandboxService.d.ts +2 -2
- package/dist/SandboxService/SandboxService.d.ts.map +1 -1
- package/dist/SandboxService/SandboxService.js +2 -2
- package/dist/SandboxService/SandboxService.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => Effect.all([
|
|
4
4
|
sql `ALTER TABLE sandboxes ADD COLUMN status_detail TEXT`,
|
|
5
5
|
sql `ALTER TABLE sandboxes ADD COLUMN logs TEXT`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0006_sandbox_logs.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0006_sandbox_logs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0006_sandbox_logs.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0006_sandbox_logs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
declare const _default: Effect.Effect<void, any, SqlClient.SqlClient>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=0007_stats_columns.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0007_stats_columns.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0007_stats_columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0007_stats_columns.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0007_stats_columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => Effect.all([
|
|
4
4
|
sql `ALTER TABLE pull_requests ADD COLUMN files_added INTEGER`.pipe(Effect.catchIf(() => true, () => Effect.void)),
|
|
5
5
|
sql `ALTER TABLE pull_requests ADD COLUMN files_modified INTEGER`.pipe(Effect.catchIf(() => true, () => Effect.void)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0007_stats_columns.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0007_stats_columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0007_stats_columns.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0007_stats_columns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,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,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC9C;IACD,GAAG,CAAA,6DAA6D,CAAC,IAAI,CACnE,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC9C;IACD,GAAG,CAAA,4DAA4D,CAAC,IAAI,CAClE,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC9C;IACD,GAAG,CAAA,qDAAqD,CAAC,IAAI,CAC3D,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC9C;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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
declare const _default: Effect.Effect<void | readonly import("effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
declare const _default: Effect.Effect<void | readonly import("effect/sql/SqlConnection").Row[], import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=0008_merged_by.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0008_merged_by.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0008_merged_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0008_merged_by.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0008_merged_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE pull_requests ADD COLUMN merged_by TEXT`.pipe(Effect.catchIf(() => true, () => Effect.void)));
|
|
4
4
|
//# sourceMappingURL=0008_merged_by.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0008_merged_by.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0008_merged_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0008_merged_by.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0008_merged_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,GAAG,CAAA,qDAAqD,CAAC,IAAI,CAC3D,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC9C,CACJ,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
declare const _default: Effect.Effect<void | readonly import("effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
declare const _default: Effect.Effect<void | readonly import("effect/sql/SqlConnection").Row[], import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=0009_approved_by.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0009_approved_by.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0009_approved_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0009_approved_by.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0009_approved_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE pull_requests ADD COLUMN approved_by TEXT`.pipe(Effect.catchIf(() => true, () => Effect.void)));
|
|
4
4
|
//# sourceMappingURL=0009_approved_by.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0009_approved_by.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0009_approved_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0009_approved_by.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0009_approved_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,GAAG,CAAA,uDAAuD,CAAC,IAAI,CAC7D,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC9C,CACJ,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
declare const _default: Effect.Effect<void | readonly import("effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
declare const _default: Effect.Effect<void | readonly import("effect/sql/SqlConnection").Row[], import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=0010_commented_by.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0010_commented_by.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0010_commented_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0010_commented_by.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0010_commented_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE pull_requests ADD COLUMN commented_by TEXT`.pipe(Effect.catchIf(() => true, () => Effect.void)));
|
|
4
4
|
//# sourceMappingURL=0010_commented_by.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0010_commented_by.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0010_commented_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0010_commented_by.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0010_commented_by.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,GAAG,CAAA,wDAAwD,CAAC,IAAI,CAC9D,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC9C,CACJ,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
declare const _default: Effect.Effect<void, import("effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
declare const _default: Effect.Effect<void, import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=0011_audit_log.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0011_audit_log.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0011_audit_log.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0011_audit_log.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0011_audit_log.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => Effect.all([
|
|
4
4
|
sql `CREATE TABLE IF NOT EXISTS audit_log (
|
|
5
5
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0011_audit_log.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0011_audit_log.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0011_audit_log.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0011_audit_log.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,MAAM,CAAC,GAAG,CAAC;IACT,GAAG,CAAA;;;;;;;;;QASD;IACF,GAAG,CAAA,4EAA4E;IAC/E,GAAG,CAAA,4EAA4E;IAC/E,GAAG,CAAA,0FAA0F;IAC7F,GAAG,CAAA,wFAAwF;CAC5F,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CACxE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
declare const _default: Effect.Effect<void, import("effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
declare const _default: Effect.Effect<void, import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=0012_audit_log_indexes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0012_audit_log_indexes.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0012_audit_log_indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0012_audit_log_indexes.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0012_audit_log_indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => Effect.all([
|
|
4
4
|
sql `CREATE INDEX IF NOT EXISTS idx_audit_log_permission_state ON audit_log(permission_state)`,
|
|
5
5
|
sql `CREATE INDEX IF NOT EXISTS idx_audit_log_account_profile ON audit_log(account_profile)`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0012_audit_log_indexes.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0012_audit_log_indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0012_audit_log_indexes.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0012_audit_log_indexes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,MAAM,CAAC,GAAG,CAAC;IACT,GAAG,CAAA,0FAA0F;IAC7F,GAAG,CAAA,wFAAwF;CAC5F,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CACxE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
declare const _default: Effect.Effect<void, import("effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
declare const _default: Effect.Effect<void, import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=0013_approval_rules.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0013_approval_rules.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0013_approval_rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0013_approval_rules.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0013_approval_rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE pull_requests ADD COLUMN approval_rules TEXT DEFAULT '[]'`.pipe(Effect.asVoid, Effect.catchIf(() => true, () => Effect.void)));
|
|
4
4
|
//# sourceMappingURL=0013_approval_rules.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0013_approval_rules.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0013_approval_rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0013_approval_rules.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0013_approval_rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,GAAG,CAAA,uEAAuE,CAAC,IAAI,CAC7E,MAAM,CAAC,MAAM,EACb,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC9C,CACJ,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
declare const _default: Effect.Effect<void, import("effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
declare const _default: Effect.Effect<void, import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=0014_approved_by_arns.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0014_approved_by_arns.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0014_approved_by_arns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0014_approved_by_arns.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0014_approved_by_arns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE pull_requests ADD COLUMN approved_by_arns TEXT`.pipe(Effect.asVoid, Effect.catchIf(() => true, () => Effect.void)));
|
|
4
4
|
//# sourceMappingURL=0014_approved_by_arns.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0014_approved_by_arns.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0014_approved_by_arns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0014_approved_by_arns.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0014_approved_by_arns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,GAAG,CAAA,4DAA4D,CAAC,IAAI,CAClE,MAAM,CAAC,MAAM,EACb,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC9C,CACJ,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
declare const _default: Effect.Effect<void, import("effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
declare const _default: Effect.Effect<void, import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=0015_repo_account_id.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0015_repo_account_id.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0015_repo_account_id.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0015_repo_account_id.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0015_repo_account_id.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE pull_requests ADD COLUMN repo_account_id TEXT`.pipe(Effect.asVoid, Effect.catchIf(() => true, () => Effect.void)));
|
|
4
4
|
//# sourceMappingURL=0015_repo_account_id.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0015_repo_account_id.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0015_repo_account_id.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0015_repo_account_id.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0015_repo_account_id.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,GAAG,CAAA,2DAA2D,CAAC,IAAI,CACjE,MAAM,CAAC,MAAM,EACb,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC9C,CACJ,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
declare const _default: Effect.Effect<readonly import("effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
declare const _default: Effect.Effect<readonly import("effect/sql/SqlConnection").Row[], import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=0016_sandbox_access_password.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0016_sandbox_access_password.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0016_sandbox_access_password.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0016_sandbox_access_password.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0016_sandbox_access_password.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE sandboxes ADD COLUMN access_password TEXT`);
|
|
4
4
|
//# sourceMappingURL=0016_sandbox_access_password.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0016_sandbox_access_password.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0016_sandbox_access_password.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0016_sandbox_access_password.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0016_sandbox_access_password.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAA,uDAAuD,CACpE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
declare const _default: Effect.Effect<readonly import("effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
declare const _default: Effect.Effect<readonly import("effect/sql/SqlConnection").Row[], import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=0017_sandbox_region.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0017_sandbox_region.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0017_sandbox_region.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0017_sandbox_region.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0017_sandbox_region.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE sandboxes ADD COLUMN region TEXT`);
|
|
4
4
|
//# sourceMappingURL=0017_sandbox_region.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0017_sandbox_region.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0017_sandbox_region.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0017_sandbox_region.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0017_sandbox_region.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAA,8CAA8C,CAC3D,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
/** Re-key cached PR rows so repository and region are part of durable identity. */
|
|
4
|
-
declare const _default: Effect.Effect<void, import("effect/
|
|
4
|
+
declare const _default: Effect.Effect<void, import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=0018_pull_request_coordinates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0018_pull_request_coordinates.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0018_pull_request_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0018_pull_request_coordinates.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0018_pull_request_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,mFAAmF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
/** Re-key cached PR rows so repository and region are part of durable identity. */
|
|
4
4
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => Effect.gen(function* () {
|
|
5
5
|
yield* sql `DROP TRIGGER IF EXISTS pull_requests_ai`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0018_pull_request_coordinates.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0018_pull_request_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0018_pull_request_coordinates.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0018_pull_request_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,mFAAmF;AACnF,eAAe,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,EAAE,CACzD,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,KAAK,CAAC,CAAC,GAAG,CAAA,yCAAyC,CAAA;IACnD,KAAK,CAAC,CAAC,GAAG,CAAA,yCAAyC,CAAA;IACnD,KAAK,CAAC,CAAC,GAAG,CAAA,yCAAyC,CAAA;IACnD,KAAK,CAAC,CAAC,GAAG,CAAA,wCAAwC,CAAA;IAClD,KAAK,CAAC,CAAC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+BR,CAAA;IACF,KAAK,CAAC,CAAC,GAAG,CAAA;;;;;;;;;;;;;;yBAcW,CAAA;IACrB,KAAK,CAAC,CAAC,GAAG,CAAA,0BAA0B,CAAA;IACpC,KAAK,CAAC,CAAC,GAAG,CAAA,mEAAmE,CAAA;IAC7E,KAAK,CAAC,CAAC,GAAG,CAAA,iFAAiF,CAAA;IAC3F,KAAK,CAAC,CAAC,GAAG,CAAA,mEAAmE,CAAA;IAC7E,KAAK,CAAC,CAAC,GAAG,CAAA,mEAAmE,CAAA;IAC7E,KAAK,CAAC,CAAC,GAAG,CAAA,sFAAsF,CAAA;IAChG,KAAK,CAAC,CAAC,GAAG,CAAA;;;MAGR,CAAA;IACF,KAAK,CAAC,CAAC,GAAG,CAAA;;;QAGN,CAAA;IACJ,KAAK,CAAC,CAAC,GAAG,CAAA;;;QAGN,CAAA;IACJ,KAAK,CAAC,CAAC,GAAG,CAAA;;;;;QAKN,CAAA;IACJ,KAAK,CAAC,CAAC,GAAG,CAAA,qEAAqE,CAAA;AACjF,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
/** Backfill uniquely attributable dependent rows while retaining ambiguous/orphan sentinels. */
|
|
4
|
-
declare const _default: Effect.Effect<void, import("effect/
|
|
4
|
+
declare const _default: Effect.Effect<void, import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=0019_dependent_pr_coordinates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0019_dependent_pr_coordinates.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0019_dependent_pr_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0019_dependent_pr_coordinates.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0019_dependent_pr_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,gGAAgG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
/** Backfill uniquely attributable dependent rows while retaining ambiguous/orphan sentinels. */
|
|
4
4
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => Effect.gen(function* () {
|
|
5
5
|
yield* sql `CREATE TABLE pr_comments_coordinates_new (
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0019_dependent_pr_coordinates.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0019_dependent_pr_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0019_dependent_pr_coordinates.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0019_dependent_pr_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,gGAAgG;AAChG,eAAe,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC,GAAG,EAAE,EAAE,CACzD,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,KAAK,CAAC,CAAC,GAAG,CAAA;;;;;;;;MAQR,CAAA;IACF,KAAK,CAAC,CAAC,GAAG,CAAA;;;;;;;;;;;;;;uBAcS,CAAA;IACnB,KAAK,CAAC,CAAC,GAAG,CAAA,wBAAwB,CAAA;IAClC,KAAK,CAAC,CAAC,GAAG,CAAA,+DAA+D,CAAA;IAEzE,KAAK,CAAC,CAAC,GAAG,CAAA;;;;;;;MAOR,CAAA;IACF,KAAK,CAAC,CAAC,GAAG,CAAA;;;;;;;;;;;;;;4BAcc,CAAA;IACxB,KAAK,CAAC,CAAC,GAAG,CAAA,6BAA6B,CAAA;IACvC,KAAK,CAAC,CAAC,GAAG,CAAA,yEAAyE,CAAA;AACrF,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
/** Add exact PR coordinates to notifications while retaining legacy rows as unqualified. */
|
|
4
4
|
declare const _default: Effect.Effect<void, any, SqlClient.SqlClient>;
|
|
5
5
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0020_notification_coordinates.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0020_notification_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0020_notification_coordinates.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0020_notification_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAgBjD,4FAA4F"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
2
|
import * as Predicate from "effect/Predicate";
|
|
3
|
-
import * as SqlClient from "effect/
|
|
4
|
-
import * as SqlError from "effect/
|
|
3
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
4
|
+
import * as SqlError from "effect/sql/SqlError";
|
|
5
5
|
/** Only an already-present column is safe to treat as migration idempotence. */
|
|
6
6
|
const isDuplicateColumnError = (error) => {
|
|
7
7
|
if (!SqlError.isSqlError(error))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0020_notification_coordinates.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0020_notification_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,kBAAkB,CAAA;AAC7C,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0020_notification_coordinates.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0020_notification_coordinates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,kBAAkB,CAAA;AAC7C,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAA;AAE/C,gFAAgF;AAChF,MAAM,sBAAsB,GAAqD,CAC/E,KAAK,EACuB,EAAE;IAC9B,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAA;IAC7C,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,CAAC,OAAO,CAAA;IAC1C,IAAI,aAAa,KAAK,SAAS,IAAI,wBAAwB,CAAC,IAAI,CAAC,aAAa,CAAC;QAAE,OAAO,IAAI,CAAA;IAC5F,MAAM,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAA;IAChC,OAAO,SAAS,CAAC,WAAW,CAAC,KAAK,EAAE,SAAS,CAAC;QAC5C,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,OAAO,CAAC;QACjC,wBAAwB,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChD,CAAC,CAAA;AAED,4FAA4F;AAC5F,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CACN,MAAM,CAAC,GAAG,CAAC;IACT,GAAG,CAAA,+EAA+E,CAAC,IAAI,CACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC1D;IACD,GAAG,CAAA,8EAA8E,CAAC,IAAI,CACpF,MAAM,CAAC,OAAO,CAAC,sBAAsB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAC1D;CACF,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CACzB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
/** Persist the retirement boundary so a recreated service cannot restart a migrated legacy row. */
|
|
4
|
-
declare const _default: Effect.Effect<readonly import("effect/
|
|
4
|
+
declare const _default: Effect.Effect<readonly import("effect/sql/SqlConnection").Row[], import("effect/sql/SqlError").SqlError, SqlClient.SqlClient>;
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=0021_sandbox_legacy_retirement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0021_sandbox_legacy_retirement.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0021_sandbox_legacy_retirement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0021_sandbox_legacy_retirement.d.ts","sourceRoot":"","sources":["../../../src/CacheService/migrations/0021_sandbox_legacy_retirement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,mGAAmG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from "effect/Effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
3
|
/** Persist the retirement boundary so a recreated service cannot restart a migrated legacy row. */
|
|
4
4
|
export default Effect.flatMap(SqlClient.SqlClient, (sql) => sql `ALTER TABLE sandboxes ADD COLUMN legacy_retired_at TEXT`);
|
|
5
5
|
//# sourceMappingURL=0021_sandbox_legacy_retirement.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"0021_sandbox_legacy_retirement.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0021_sandbox_legacy_retirement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"0021_sandbox_legacy_retirement.js","sourceRoot":"","sources":["../../../src/CacheService/migrations/0021_sandbox_legacy_retirement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AACvC,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,mGAAmG;AACnG,eAAe,MAAM,CAAC,OAAO,CAC3B,SAAS,CAAC,SAAS,EACnB,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAA,yDAAyD,CACtE,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Context, Effect, Layer, Option } from "effect";
|
|
2
2
|
import type { Success } from "effect/Effect";
|
|
3
|
-
import * as SqlClient from "effect/
|
|
3
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
4
4
|
import type { PRCommentLocation } from "../../Domain.js";
|
|
5
5
|
import { CacheError } from "../CacheError.js";
|
|
6
6
|
import { EventsHub } from "../EventsHub.js";
|
|
@@ -16,7 +16,7 @@ export interface CommentRepoContract extends Success<typeof makeCommentRepo> {
|
|
|
16
16
|
}
|
|
17
17
|
declare const CommentRepo_base: Context.ServiceClass<CommentRepo, "CommentRepo", CommentRepoContract>;
|
|
18
18
|
export declare class CommentRepo extends CommentRepo_base {
|
|
19
|
-
static readonly Default: Layer.Layer<CommentRepo, CacheError | import("effect/Config").ConfigError | import("
|
|
19
|
+
static readonly Default: Layer.Layer<CommentRepo, CacheError | import("effect/Config").ConfigError | import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
|
|
20
20
|
}
|
|
21
21
|
export {};
|
|
22
22
|
//# sourceMappingURL=CommentRepo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentRepo.d.ts","sourceRoot":"","sources":["../../../src/CacheService/repos/CommentRepo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAA;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"CommentRepo.d.ts","sourceRoot":"","sources":["../../../src/CacheService/repos/CommentRepo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAA;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE7C,OAAO,EAAE,SAAS,EAAc,MAAM,iBAAiB,CAAA;AAOvD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAA;IAC/B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAA;CAC/B;AAUD,QAAA,MAAM,eAAe;yBAyDI,MAAM,QAAQ,MAAM,gBAAgB,kBAAkB;2BAoBpD,MAAM,QAAQ,MAAM,iBAAiB,MAAM,gBAAgB,kBAAkB;0CAKtG,CAAA;AAEF,MAAM,WAAW,mBAAoB,SAAQ,OAAO,CAAC,OAAO,eAAe,CAAC;CAAG;;AAE/E,qBAAa,WAAY,SAAQ,gBAGf;IAChB,MAAM,CAAC,QAAQ,CAAC,OAAO,4KAEtB;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Context, Effect, Layer, Option, Schema } from "effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
import * as SqlSchema from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
import * as SqlSchema from "effect/sql/SqlSchema";
|
|
4
4
|
import { CacheError } from "../CacheError.js";
|
|
5
5
|
import { DatabaseLive } from "../Database.js";
|
|
6
6
|
import { EventsHub, RepoChange } from "../EventsHub.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommentRepo.js","sourceRoot":"","sources":["../../../src/CacheService/repos/CommentRepo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAE/D,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"CommentRepo.js","sourceRoot":"","sources":["../../../src/CacheService/repos/CommentRepo.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
2
2
|
import type { Success } from "effect/Effect";
|
|
3
|
-
import * as SqlClient from "effect/
|
|
3
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
4
4
|
import { CacheError } from "../CacheError.js";
|
|
5
5
|
import type { NewNotification } from "../diff.js";
|
|
6
6
|
import { EventsHub } from "../EventsHub.js";
|
|
@@ -47,6 +47,6 @@ export interface NotificationRepoContract extends Success<typeof makeNotificatio
|
|
|
47
47
|
}
|
|
48
48
|
declare const NotificationRepo_base: Context.ServiceClass<NotificationRepo, "NotificationRepo", NotificationRepoContract>;
|
|
49
49
|
export declare class NotificationRepo extends NotificationRepo_base {
|
|
50
|
-
static readonly Default: Layer.Layer<NotificationRepo, CacheError | import("effect/Config").ConfigError | import("
|
|
50
|
+
static readonly Default: Layer.Layer<NotificationRepo, CacheError | import("effect/Config").ConfigError | import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
|
|
51
51
|
}
|
|
52
52
|
//# sourceMappingURL=NotificationRepo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationRepo.d.ts","sourceRoot":"","sources":["../../../src/CacheService/repos/NotificationRepo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,OAAO,EAAE,MAAM,EAAE,KAAK,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"NotificationRepo.d.ts","sourceRoot":"","sources":["../../../src/CacheService/repos/NotificationRepo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,OAAO,EAAE,MAAM,EAAE,KAAK,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAA;AAEjD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAE7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,SAAS,EAAc,MAAM,iBAAiB,CAAA;AAEvD,QAAA,MAAM,eAAe;;;;;;;;;;;;EAYnB,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAA;AACzD,YAAY,EAAE,eAAe,EAAE,CAAA;AAM/B,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,eAAe,CAAC,CAAA;IAC9C,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAC7B;AAiBD,QAAA,MAAM,oBAAoB;qBA4EL;QACf,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAA;QAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;QACvB,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;QACxB,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAA;KACnC,KAAG,MAAM,CAAC,MAAM,CAAC,sBAAsB,EAAE,UAAU,CAAC;aAoB5C,eAAe;mBAET;QACb,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;QACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;QACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;QACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;QACzB,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAA;KAC/B;mBAwBc,MAAM;qBAEJ,MAAM;;;0CAWzB,CAAA;AAEF,MAAM,WAAW,wBAAyB,SAAQ,OAAO,CAAC,OAAO,oBAAoB,CAAC;CAAG;;AAEzF,qBAAa,gBAAiB,SAAQ,qBAGf;IACrB,MAAM,CAAC,QAAQ,CAAC,OAAO,iLAEtB;CACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Array as Arr, Clock, Context, Effect, Layer, Option, Schema } from "effect";
|
|
2
|
-
import * as SqlClient from "effect/
|
|
3
|
-
import * as SqlSchema from "effect/
|
|
2
|
+
import * as SqlClient from "effect/sql/SqlClient";
|
|
3
|
+
import * as SqlSchema from "effect/sql/SqlSchema";
|
|
4
4
|
import { CacheError } from "../CacheError.js";
|
|
5
5
|
import { DatabaseLive } from "../Database.js";
|
|
6
6
|
import { EventsHub, RepoChange } from "../EventsHub.js";
|