@axiom-lattice/pg-stores 1.0.41 → 1.0.42
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/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +9 -0
- package/dist/index.js +7 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +2 -1
- package/src/stores/ChannelIdentityMappingStore.ts +2 -1
- package/src/stores/PostgreSQLAssistantStore.ts +2 -1
- package/src/stores/PostgreSQLChannelInstallationStore.ts +2 -1
- package/src/stores/PostgreSQLDatabaseConfigStore.ts +2 -1
- package/src/stores/PostgreSQLMcpServerConfigStore.ts +2 -1
- package/src/stores/PostgreSQLMetricsServerConfigStore.ts +2 -1
- package/src/stores/PostgreSQLProjectStore.ts +2 -1
- package/src/stores/PostgreSQLScheduleStorage.ts +2 -1
- package/src/stores/PostgreSQLSkillStore.ts +2 -1
- package/src/stores/PostgreSQLTenantStore.ts +2 -1
- package/src/stores/PostgreSQLThreadStore.ts +2 -1
- package/src/stores/PostgreSQLUserStore.ts +2 -1
- package/src/stores/PostgreSQLUserTenantLinkStore.ts +2 -1
- package/src/stores/PostgreSQLWorkspaceStore.ts +2 -1
- package/src/stores/ThreadMessageQueueStore.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axiom-lattice/pg-stores",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.42",
|
|
4
4
|
"description": "PG stores implementation for Axiom Lattice framework",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"pg": "^8.16.3",
|
|
24
|
-
"@axiom-lattice/protocols": "2.1.
|
|
25
|
-
"@axiom-lattice/core": "2.1.
|
|
24
|
+
"@axiom-lattice/protocols": "2.1.29",
|
|
25
|
+
"@axiom-lattice/core": "2.1.52"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^20.11.24",
|
package/src/index.ts
CHANGED
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Re-export pg types for convenience
|
|
8
|
-
export { Pool
|
|
8
|
+
export { Pool } from "pg";
|
|
9
|
+
export type { PoolConfig } from "pg";
|
|
9
10
|
|
|
10
11
|
export * from "./stores/PostgreSQLThreadStore";
|
|
11
12
|
export * from "./stores/PostgreSQLAssistantStore";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Pool
|
|
1
|
+
import { Pool } from "pg";
|
|
2
|
+
import type { PoolConfig } from "pg";
|
|
2
3
|
import { MigrationManager } from "../migrations/migration";
|
|
3
4
|
import { createChannelIdentityMappingTables } from "../migrations/channel_identity_mapping_migration";
|
|
4
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Pool
|
|
1
|
+
import { Pool } from "pg";
|
|
2
|
+
import type { PoolConfig } from "pg";
|
|
2
3
|
import { UserStore, User, CreateUserRequest, UpdateUserRequest } from "@axiom-lattice/protocols";
|
|
3
4
|
import { MigrationManager } from "../migrations/migration";
|
|
4
5
|
import { createUsersTable } from "../migrations/user_migrations";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
import { Pool, PoolClient } from "pg";
|
|
8
8
|
import crypto from "crypto";
|
|
9
|
-
import {
|
|
9
|
+
import type {
|
|
10
10
|
IMessageQueueStore,
|
|
11
11
|
PendingMessage,
|
|
12
12
|
AddMessageParams,
|
|
@@ -18,7 +18,7 @@ import { addPriorityAndCommandColumns } from "../migrations/add_priority_command
|
|
|
18
18
|
import { addCustomRunConfigColumn } from "../migrations/add_custom_run_config_column";
|
|
19
19
|
import { alterMessageQueueIdColumn } from "../migrations/alter_message_queue_id_column";
|
|
20
20
|
|
|
21
|
-
export { PendingMessage, AddMessageParams, ThreadInfo };
|
|
21
|
+
export type { PendingMessage, AddMessageParams, ThreadInfo };
|
|
22
22
|
|
|
23
23
|
export class ThreadMessageQueueStore implements IMessageQueueStore {
|
|
24
24
|
private static _instance: ThreadMessageQueueStore;
|