@checkstack/integration-backend 0.1.5 → 0.1.7
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/CHANGELOG.md +26 -0
- package/package.json +1 -1
- package/src/delivery-coordinator.ts +2 -2
- package/src/router.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @checkstack/integration-backend
|
|
2
2
|
|
|
3
|
+
## 0.1.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [db1f56f]
|
|
8
|
+
- @checkstack/common@0.6.0
|
|
9
|
+
- @checkstack/backend-api@0.5.1
|
|
10
|
+
- @checkstack/command-backend@0.1.7
|
|
11
|
+
- @checkstack/integration-common@0.2.3
|
|
12
|
+
- @checkstack/signal-common@0.1.4
|
|
13
|
+
- @checkstack/queue-api@0.2.1
|
|
14
|
+
|
|
15
|
+
## 0.1.6
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 66a3963: Update database types to use SafeDatabase
|
|
20
|
+
|
|
21
|
+
- Updated all database type declarations from `NodePgDatabase` to `SafeDatabase` for compile-time safety
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [2c0822d]
|
|
24
|
+
- Updated dependencies [66a3963]
|
|
25
|
+
- @checkstack/queue-api@0.2.0
|
|
26
|
+
- @checkstack/backend-api@0.5.0
|
|
27
|
+
- @checkstack/command-backend@0.1.6
|
|
28
|
+
|
|
3
29
|
## 0.1.5
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SafeDatabase } from "@checkstack/backend-api";
|
|
2
2
|
import type { Logger } from "@checkstack/backend-api";
|
|
3
3
|
import type { QueueManager } from "@checkstack/queue-api";
|
|
4
4
|
import type { SignalService } from "@checkstack/signal-common";
|
|
@@ -55,7 +55,7 @@ export interface DeliveryCoordinator {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
interface DeliveryCoordinatorDeps {
|
|
58
|
-
db:
|
|
58
|
+
db: SafeDatabase<typeof schema>;
|
|
59
59
|
providerRegistry: IntegrationProviderRegistry;
|
|
60
60
|
connectionStore: ConnectionStore;
|
|
61
61
|
queueManager: QueueManager;
|
package/src/router.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { implement, ORPCError } from "@orpc/server";
|
|
2
|
-
import type {
|
|
2
|
+
import type { SafeDatabase } from "@checkstack/backend-api";
|
|
3
3
|
import {
|
|
4
4
|
autoAuthMiddleware,
|
|
5
5
|
type RpcContext,
|
|
@@ -96,7 +96,7 @@ function extractJsonSchemaProperties(
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
interface RouterDeps {
|
|
99
|
-
db:
|
|
99
|
+
db: SafeDatabase<typeof schema>;
|
|
100
100
|
eventRegistry: IntegrationEventRegistry;
|
|
101
101
|
providerRegistry: IntegrationProviderRegistry;
|
|
102
102
|
deliveryCoordinator: DeliveryCoordinator;
|